diff --git a/static/web/404.html b/static/web/404.html index d28b7a80e..8c4f97bd8 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

+ }

404

This page could not be found.

diff --git a/static/web/404/index.html b/static/web/404/index.html index d28b7a80e..8c4f97bd8 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

+ }

404

This page could not be found.

diff --git a/static/web/_next/static/6nuxX57E_ooIV1F0k_whI/_buildManifest.js b/static/web/_next/static/6nuxX57E_ooIV1F0k_whI/_buildManifest.js new file mode 100644 index 000000000..fd7522d47 --- /dev/null +++ b/static/web/_next/static/6nuxX57E_ooIV1F0k_whI/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a,c,e,t,i,n,d,f,h,b,u,o,m,k,j,r,g,p,l,_,w,v,y,I,B,F,A,D,E,L,M,N,S,T,U,C,x,P,q,z,G,H,J){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[F,c,s,a,e,t,k,_,v,A,D,S,"static/chunks/5314-884f8bccd1813650.js",i,y,"static/css/cffb1f74813988a3.css","static/chunks/pages/index-2e3ccd1279c8e32b.js"],"/_error":["static/chunks/pages/_error-173a35eca8c80b7b.js"],"/admin":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,l,w,_,I,D,i,u,o,"static/chunks/pages/admin-c57606e23e1286e2.js"],"/admin/access-tokens":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,i,u,o,"static/chunks/pages/admin/access-tokens-fa0bbc52d91d41db.js"],"/admin/actions":[E,n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,T,L,i,u,o,"static/chunks/pages/admin/actions-a26d33774a62b1a5.js"],"/admin/chat/emojis":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,B,U,i,u,o,"static/chunks/pages/admin/chat/emojis-d9a7c82b4d08dc61.js"],"/admin/chat/messages":[E,n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,_,L,i,u,C,o,"static/chunks/pages/admin/chat/messages-47b8234a552d1ee7.js"],"/admin/chat/users":[E,n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,l,_,L,i,u,C,o,"static/chunks/pages/admin/chat/users-ccb9d54a9ae737a9.js"],"/admin/config/general":["static/chunks/4ad82c5e-6dc0896ff091a49a.js",F,n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,l,B,A,x,U,P,q,"static/chunks/4550-c5e7144ea8fa801b.js",u,"static/css/8f3c1acb703369d5.css","static/chunks/pages/admin/config/general-cfa01b99bc647da1.js"],"/admin/config/server":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,l,T,"static/chunks/7882-ef8ff3dc020d61a9.js",i,u,o,"static/chunks/pages/admin/config/server-1d1f12e93f2bf66b.js"],"/admin/config-chat":[n,c,s,a,e,t,d,f,m,h,b,i,u,o,"static/chunks/pages/admin/config-chat-b54ae891e0a065f1.js"],"/admin/config-federation":[n,c,s,a,e,t,d,f,m,h,b,i,u,o,"static/chunks/pages/admin/config-federation-b77fc76362bd8a45.js"],"/admin/config-notify":[n,c,s,a,e,t,d,f,m,h,b,i,u,o,"static/chunks/pages/admin/config-notify-6c6beba43e6239e1.js"],"/admin/config-social-items":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,q,i,u,o,"static/chunks/pages/admin/config-social-items-74c54b8ca49d48a9.js"],"/admin/config-video":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,x,i,u,o,"static/chunks/pages/admin/config-video-89f56da3965858c6.js"],"/admin/federation/actions":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,i,u,o,"static/chunks/pages/admin/federation/actions-e05410bdb12eafd2.js"],"/admin/federation/followers":[n,c,s,a,e,t,d,f,h,b,j,r,k,g,p,l,i,u,o,"static/chunks/pages/admin/federation/followers-495fd6487ce14a62.js"],"/admin/hardware-info":[M,n,c,s,a,e,t,d,f,m,h,b,p,l,w,B,I,N,i,u,o,"static/chunks/pages/admin/hardware-info-759b8ed9e74abd79.js"],"/admin/help":[F,n,c,s,a,e,t,d,f,h,b,l,w,A,P,"static/chunks/3859-83b96ed2022bff07.js",i,u,o,"static/chunks/pages/admin/help-a7f47af95f7308b3.js"],"/admin/logs":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,D,i,u,o,"static/chunks/pages/admin/logs-c9a18bcd2e64f8d9.js"],"/admin/stream-health":[M,n,c,s,a,e,t,d,f,m,h,b,p,l,w,I,N,i,u,o,"static/chunks/pages/admin/stream-health-07b16b54f0028f65.js"],"/admin/upgrade":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,"static/chunks/4114-925fde4982026c1e.js",i,u,o,"static/chunks/pages/admin/upgrade-b9c388b539dcac4d.js"],"/admin/viewer-info":[M,n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,p,l,w,_,B,I,N,i,u,o,"static/chunks/pages/admin/viewer-info-2ea5dd9041979895.js"],"/admin/webhooks":[n,c,s,a,e,t,d,f,m,h,b,j,r,k,g,i,u,o,"static/chunks/pages/admin/webhooks-d00942bb82a0b800.js"],"/embed/chat/readonly":[z,G,s,a,v,H,y,J,"static/css/b40fc7fbab54fd8a.css","static/chunks/pages/embed/chat/readonly-0340a27ad956ef89.js"],"/embed/chat/readwrite":[z,G,s,a,v,H,i,y,J,"static/css/06292f6365e6ca3c.css","static/chunks/pages/embed/chat/readwrite-4fbad1a560a893b3.js"],"/embed/video":["static/chunks/d6e1aeb5-eff6e062cc9809b0.js",_,v,"static/css/726eb804d4057c2a.css","static/chunks/7689-b5af84013c20ba42.js",S,y,"static/chunks/2239-dcdb812dfd4dc787.js","static/css/6037fa87da2bd61f.css","static/chunks/pages/embed/video-33c54af143a52501.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/general","/admin/config/server","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-social-items","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/2138-e8118743e123efc0.js","static/chunks/31-854a0ad187f0b4e1.js","static/chunks/164-a679867cb0600afa.js","static/chunks/4931-39f633fc7b9a7263.js","static/chunks/5402-c19b9d3c7b78e3b5.js","static/chunks/710-65427a04fd0b5717.js","static/chunks/173-ccbfb20ad361599e.js","static/chunks/2231-7d1e01f3ca739e91.js","static/chunks/7118-0b606f46aa3a6309.js","static/chunks/9915-3844dc939eb68532.js","static/chunks/8883-e38610c0af2d7da6.js","static/chunks/6960-9b43acc035d01270.js","static/css/e867652ad65748d1.css","static/chunks/5818-5d2f19ec7578930b.js","static/chunks/3013-ff285a46c58657fc.js","static/chunks/6386-df7a58da9a640f6a.js","static/chunks/3698-20d8ea2bc8bb10f5.js","static/chunks/4398-a871d27200b41c0e.js","static/chunks/8091-dd576812fb9b0014.js","static/chunks/4381-b9da0200acc090c5.js","static/chunks/5938-137262d4c43b66ca.js","static/chunks/5101-83cb053b1dfb13cb.js","static/chunks/6395-ceb42db9637da589.js","static/chunks/7466-d5003dbfa946fbc8.js","static/chunks/4763-896a5acefd86724f.js","static/chunks/7910-f7484eb6c70bd1b2.js","static/chunks/2074-81826410b5f7445a.js","static/chunks/1082-abd2b44b946a39e2.js","static/chunks/9863-2c27b9f19c540099.js","static/chunks/29107295-c6268410185fa188.js","static/chunks/3403-72526ae1cb6a07e6.js","static/chunks/ee8b1517-2d287d36db8884e0.js","static/chunks/5160-4abf61089b08971c.js","static/chunks/4252-33d0a02cabba39b8.js","static/chunks/9292-ebff729218467b75.js","static/chunks/7916-c216dfab5a4e78a4.js","static/chunks/7188-291d0b5825f4ab45.js","static/chunks/9816-738bc05dfd8ce817.js","static/chunks/1700-6fd26cabc8dc1f60.js","static/chunks/1382-4e05f21aeb55b852.js","static/chunks/d3048c20-a20cfd7fe816d7d2.js","static/chunks/d2094a0f-5a1d6dfe5ccc37f5.js","static/chunks/4986-d386b983cdeb7462.js","static/chunks/4977-d9d119ca1d55fe08.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/S0pmamLjLxs5UQun2iRxQ/_ssgManifest.js b/static/web/_next/static/6nuxX57E_ooIV1F0k_whI/_ssgManifest.js similarity index 100% rename from static/web/_next/static/S0pmamLjLxs5UQun2iRxQ/_ssgManifest.js rename to static/web/_next/static/6nuxX57E_ooIV1F0k_whI/_ssgManifest.js diff --git a/static/web/_next/static/S0pmamLjLxs5UQun2iRxQ/_buildManifest.js b/static/web/_next/static/S0pmamLjLxs5UQun2iRxQ/_buildManifest.js deleted file mode 100644 index 6edf001a7..000000000 --- a/static/web/_next/static/S0pmamLjLxs5UQun2iRxQ/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,b,o,m,u,k,j,r,g,p,l,_,w,v,y,I,B,F,A,D,E,L){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[u,a,d,h,k,j,_,"static/chunks/9396-aa57d5109e019600.js",b,"static/css/ff2bfa471b250b0d.css","static/chunks/pages/index-56e88181749c2820.js"],"/_error":["static/chunks/pages/_error-173a35eca8c80b7b.js"],"/admin":[s,c,e,a,i,t,n,f,d,o,j,"static/chunks/1341-cd0ddc2dcfe651d1.js","static/chunks/pages/admin-b2e61d54be2a39b7.js"],"/admin/access-tokens":[s,c,e,a,i,t,"static/chunks/pages/admin/access-tokens-d95f0a6bb106bf40.js"],"/admin/actions":[r,s,c,e,a,i,w,g,"static/chunks/pages/admin/actions-7951d305d12ac78b.js"],"/admin/chat/emojis":[s,c,e,a,i,m,v,"static/chunks/pages/admin/chat/emojis-54662f3c9d9c9629.js"],"/admin/chat/messages":[r,s,c,e,a,i,t,d,g,y,"static/chunks/pages/admin/chat/messages-0a0983277da75802.js"],"/admin/chat/users":[r,s,c,e,a,i,t,n,d,g,y,"static/chunks/pages/admin/chat/users-bb486072d091e427.js"],"/admin/config/general":["static/chunks/4ad82c5e-6dc0896ff091a49a.js",u,s,c,e,a,i,n,m,k,I,v,B,F,"static/chunks/4550-c5e7144ea8fa801b.js","static/css/8682c23cb724e38a.css","static/chunks/pages/admin/config/general-b6565115ac14a4e8.js"],"/admin/config/server":[s,c,e,a,i,n,w,"static/chunks/7882-ef8ff3dc020d61a9.js","static/chunks/pages/admin/config/server-6cc5ab2b78e00abc.js"],"/admin/config-chat":[s,"static/chunks/pages/admin/config-chat-a9f9ec29e3e95273.js"],"/admin/config-federation":[s,"static/chunks/8572-ce656375f939f9f3.js","static/chunks/pages/admin/config-federation-e70fa7564a8a0986.js"],"/admin/config-notify":[s,"static/chunks/pages/admin/config-notify-3cd62029cdaadf77.js"],"/admin/config-social-items":[s,c,e,a,i,F,"static/chunks/pages/admin/config-social-items-bcc0814e25212a57.js"],"/admin/config-video":[s,c,e,a,i,I,"static/chunks/8740-ef6b1bab6a842a69.js","static/chunks/pages/admin/config-video-410e9215945004f0.js"],"/admin/federation/actions":[s,c,e,a,i,t,"static/chunks/pages/admin/federation/actions-a0754c6bde272583.js"],"/admin/federation/followers":[c,e,a,i,t,n,"static/chunks/pages/admin/federation/followers-3e73c589ef75740d.js"],"/admin/hardware-info":[p,s,t,n,f,m,o,l,"static/chunks/pages/admin/hardware-info-d973aaa1bfc55f83.js"],"/admin/help":[u,n,f,k,B,"static/chunks/3859-83b96ed2022bff07.js","static/chunks/pages/admin/help-cd0926fc266a87a8.js"],"/admin/logs":[s,c,e,a,i,t,j,"static/chunks/pages/admin/logs-188563341fa7d11f.js"],"/admin/stream-health":[p,s,t,n,f,o,l,"static/chunks/6069-76bc3ed72dd580d7.js","static/chunks/pages/admin/stream-health-7d9e35d06269e9b4.js"],"/admin/upgrade":[s,c,e,a,i,"static/chunks/4114-925fde4982026c1e.js","static/chunks/pages/admin/upgrade-b4e72e9163aad148.js"],"/admin/viewer-info":[p,s,c,e,a,i,t,n,f,d,m,o,l,"static/chunks/pages/admin/viewer-info-5f90e34ff0461d2f.js"],"/admin/webhooks":[s,c,e,a,i,"static/chunks/pages/admin/webhooks-3b3a649921b02f8b.js"],"/embed/chat/readonly":[A,D,h,E,b,L,"static/css/b40fc7fbab54fd8a.css","static/chunks/pages/embed/chat/readonly-a2731d2ac23f3132.js"],"/embed/chat/readwrite":[A,D,h,E,b,L,"static/css/fa001ed011201a20.css","static/chunks/pages/embed/chat/readwrite-6ba055e256f5e7a2.js"],"/embed/video":["static/chunks/d6e1aeb5-eff6e062cc9809b0.js",d,h,"static/css/726eb804d4057c2a.css","static/chunks/7689-b5af84013c20ba42.js",_,b,"static/chunks/2239-dcdb812dfd4dc787.js","static/css/6037fa87da2bd61f.css","static/chunks/pages/embed/video-48fa6af9d4721e5e.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/general","/admin/config/server","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-social-items","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/5818-5d2f19ec7578930b.js","static/chunks/3013-ff285a46c58657fc.js","static/chunks/6386-df7a58da9a640f6a.js","static/chunks/3698-20d8ea2bc8bb10f5.js","static/chunks/4398-a871d27200b41c0e.js","static/chunks/8091-dd576812fb9b0014.js","static/chunks/4381-b9da0200acc090c5.js","static/chunks/5938-137262d4c43b66ca.js","static/chunks/5101-83cb053b1dfb13cb.js","static/chunks/6395-ceb42db9637da589.js","static/chunks/7466-d5003dbfa946fbc8.js","static/chunks/4763-896a5acefd86724f.js","static/chunks/7910-f7484eb6c70bd1b2.js","static/chunks/2074-81826410b5f7445a.js","static/chunks/1082-abd2b44b946a39e2.js","static/chunks/9863-2c27b9f19c540099.js","static/chunks/29107295-c6268410185fa188.js","static/chunks/3403-72526ae1cb6a07e6.js","static/chunks/ee8b1517-2d287d36db8884e0.js","static/chunks/5160-4abf61089b08971c.js","static/chunks/4252-60c562fd12637bc3.js","static/chunks/9292-ebff729218467b75.js","static/chunks/7916-c216dfab5a4e78a4.js","static/chunks/7188-291d0b5825f4ab45.js","static/chunks/9816-738bc05dfd8ce817.js","static/chunks/1700-6fd26cabc8dc1f60.js","static/chunks/1382-4e05f21aeb55b852.js","static/chunks/d3048c20-a20cfd7fe816d7d2.js","static/chunks/d2094a0f-5a1d6dfe5ccc37f5.js","static/chunks/4986-d386b983cdeb7462.js","static/chunks/4977-3489d562ac3d7352.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js b/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js deleted file mode 100644 index e4a20a1f3..000000000 --- a/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1341],{54907:function(e,t,a){a.d(t,{Z:function(){return K}});var n=a(87462),r=a(4942),l=a(18073),c=a(94184),o=a.n(c),i=a(74902),s=a(15671),d=a(43144),u=a(60136),v=a(33643),p=a(71002),f=a(50344),m=a(67294),h=a(96774),Z=a.n(h),y=a(45987),C=a(62874),x=a(97685),N=m.forwardRef(function(e,t){var a,n=e.prefixCls,l=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,v=m.useState(d||l),p=(0,x.Z)(v,2),f=p[0],h=p[1];return(m.useEffect(function(){(l||d)&&h(!0)},[l,d]),f)?m.createElement("div",{ref:t,className:o()("".concat(n,"-content"),(a={},(0,r.Z)(a,"".concat(n,"-content-active"),d),(0,r.Z)(a,"".concat(n,"-content-inactive"),!d),a),c),style:i,role:u},m.createElement("div",{className:"".concat(n,"-content-box")},s)):null});N.displayName="PanelContent";var E=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],g=function(e){(0,u.Z)(a,e);var t=(0,v.Z)(a);function a(){var e;(0,s.Z)(this,a);for(var n=arguments.length,r=Array(n),l=0;l-1?t.splice(a,1):t.push(e)}n.setActiveKey(t)},n.getNewChild=function(e,t){if(!e)return null;var a=n.state.activeKey,r=n.props,l=r.prefixCls,c=r.openMotion,o=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(t),v=e.props,p=v.header,f=v.headerClass,h=v.destroyInactivePanel,Z=v.collapsible,y=!1;y=o?a[0]===u:a.indexOf(u)>-1;var C=null!=Z?Z:d,x={key:u,panelKey:u,header:p,headerClass:f,isActive:y,prefixCls:l,destroyInactivePanel:null!=h?h:i,openMotion:c,accordion:o,children:e.props.children,onItemClick:"disabled"===C?null:n.onClickItem,expandIcon:s,collapsible:C};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),m.cloneElement(e,x))},n.getItems=function(){var e=n.props.children;return(0,f.Z)(e).map(n.getNewChild)},n.setActiveKey=function(e){"activeKey"in n.props||n.setState({activeKey:e}),n.props.onChange(n.props.accordion?e[0]:e)};var n,r=e.activeKey,l=e.defaultActiveKey;return"activeKey"in e&&(l=r),n.state={activeKey:k(l)},n}return(0,d.Z)(a,[{key:"shouldComponentUpdate",value:function(e,t){return!Z()(this.props,e)||!Z()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,a=t.prefixCls,n=t.className,l=t.style,c=t.accordion,i=o()((e={},(0,r.Z)(e,a,!0),(0,r.Z)(e,n,!!n),e));return m.createElement("div",{className:i,style:l,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=k(e.activeKey)),t}}]),a}(m.Component);w.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},w.Panel=g,w.Panel;var b=a(98423),I=a(53124),P=a(33603),A=a(96159),z=function(e){var t,a,c=m.useContext(I.E_),i=c.getPrefixCls,s=c.direction,d=e.prefixCls,u=e.className,v=e.bordered,p=e.ghost,h=e.expandIconPosition,Z=void 0===h?"start":h,y=i("collapse",d),C=m.useMemo(function(){return"left"===Z?"start":"right"===Z?"end":Z},[Z]),x=o()("".concat(y,"-icon-position-").concat(C),(a={},(0,r.Z)(a,"".concat(y,"-borderless"),!(void 0===v||v)),(0,r.Z)(a,"".concat(y,"-rtl"),"rtl"===s),(0,r.Z)(a,"".concat(y,"-ghost"),!!p),a),void 0===u?"":u),N=(0,n.Z)((0,n.Z)({},P.ZP),{motionAppear:!1,leavedClassName:"".concat(y,"-content-hidden")});return m.createElement(w,(0,n.Z)({openMotion:N},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.expandIcon,n=a?a(t):m.createElement(l.Z,{rotate:t.isActive?90:void 0});return(0,A.Tm)(n,function(){return{className:o()(n.props.className,"".concat(y,"-arrow"))}})},prefixCls:y,className:x}),(t=e.children,(0,f.Z)(t).map(function(e,t){var a;if(null===(a=e.props)||void 0===a?void 0:a.disabled){var r=e.key||String(t),l=e.props,c=l.disabled,o=l.collapsible,i=(0,n.Z)((0,n.Z)({},(0,b.Z)(e.props,["disabled"])),{key:r,collapsible:null!=o?o:c?"disabled":void 0});return(0,A.Tm)(e,i)}return e})))};z.Panel=function(e){var t=m.useContext(I.E_).getPrefixCls,a=e.prefixCls,l=e.className,c=e.showArrow,i=t("collapse",a),s=o()((0,r.Z)({},"".concat(i,"-no-arrow"),!(void 0===c||c)),void 0===l?"":l);return m.createElement(w.Panel,(0,n.Z)({},e,{prefixCls:i,className:s}))};var K=z},26303:function(e,t,a){a.d(t,{Z:function(){return E}});var n=a(4942),r=a(87462),l=a(71002),c=a(94184),o=a.n(c),i=a(67294),s=a(53124),d=a(98423),u=function(e){var t,a,l=e.prefixCls,c=e.className,s=e.style,d=e.size,u=e.shape,v=o()((t={},(0,n.Z)(t,"".concat(l,"-lg"),"large"===d),(0,n.Z)(t,"".concat(l,"-sm"),"small"===d),t)),p=o()((a={},(0,n.Z)(a,"".concat(l,"-circle"),"circle"===u),(0,n.Z)(a,"".concat(l,"-square"),"square"===u),(0,n.Z)(a,"".concat(l,"-round"),"round"===u),a)),f=i.useMemo(function(){return"number"==typeof d?{width:d,height:d,lineHeight:"".concat(d,"px")}:{}},[d]);return i.createElement("span",{className:o()(l,v,p,c),style:(0,r.Z)((0,r.Z)({},f),s)})},v=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},f=a(42135),m=function(e,t){return i.createElement(f.Z,(0,v.Z)((0,v.Z)({},e),{},{ref:t,icon:p}))};m.displayName="DotChartOutlined";var h=i.forwardRef(m),Z=a(74902),y=function(e){var t=function(t){var a=e.width,n=e.rows;return Array.isArray(a)?a[t]:(void 0===n?2:n)-1===t?a:void 0},a=e.prefixCls,n=e.className,r=e.style,l=e.rows,c=(0,Z.Z)(Array(l)).map(function(e,a){return i.createElement("li",{key:a,style:{width:t(a)}})});return i.createElement("ul",{className:o()(a,n),style:r},c)},C=function(e){var t=e.prefixCls,a=e.className,n=e.width,l=e.style;return i.createElement("h3",{className:o()(t,a),style:(0,r.Z)({width:n},l)})};function x(e){return e&&"object"===(0,l.Z)(e)?e:{}}var N=function(e){var t=e.prefixCls,a=e.loading,l=e.className,c=e.style,d=e.children,v=e.avatar,p=void 0!==v&&v,f=e.title,m=void 0===f||f,h=e.paragraph,Z=void 0===h||h,N=e.active,E=e.round,g=i.useContext(s.E_),k=g.getPrefixCls,w=g.direction,b=k("skeleton",t);if(a||!("loading"in e)){var I=!!p,P=!!m,A=!!Z;if(I){var z=(0,r.Z)((0,r.Z)({prefixCls:"".concat(b,"-avatar")},P&&!A?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),x(p));R=i.createElement("div",{className:"".concat(b,"-header")},i.createElement(u,(0,r.Z)({},z)))}if(P||A){if(P){var K,R,M,q,S,_=(0,r.Z)((0,r.Z)({prefixCls:"".concat(b,"-title")},!I&&A?{width:"38%"}:I&&A?{width:"50%"}:{}),x(m));q=i.createElement(C,(0,r.Z)({},_))}if(A){var O,T=(0,r.Z)((0,r.Z)({prefixCls:"".concat(b,"-paragraph")},(O={},I&&P||(O.width="61%"),!I&&P?O.rows=3:O.rows=2,O)),x(Z));S=i.createElement(y,(0,r.Z)({},T))}M=i.createElement("div",{className:"".concat(b,"-content")},q,S)}var j=o()(b,(K={},(0,n.Z)(K,"".concat(b,"-with-avatar"),I),(0,n.Z)(K,"".concat(b,"-active"),N),(0,n.Z)(K,"".concat(b,"-rtl"),"rtl"===w),(0,n.Z)(K,"".concat(b,"-round"),E),K),l);return i.createElement("div",{className:j,style:c},R,M)}return void 0!==d?d:null};N.Button=function(e){var t,a=e.prefixCls,l=e.className,c=e.active,v=e.block,p=e.size,f=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),m=(0,d.Z)(e,["prefixCls"]),h=o()(f,"".concat(f,"-element"),(t={},(0,n.Z)(t,"".concat(f,"-active"),c),(0,n.Z)(t,"".concat(f,"-block"),void 0!==v&&v),t),l);return i.createElement("div",{className:h},i.createElement(u,(0,r.Z)({prefixCls:"".concat(f,"-button"),size:void 0===p?"default":p},m)))},N.Avatar=function(e){var t=e.prefixCls,a=e.className,l=e.active,c=e.shape,v=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=(0,d.Z)(e,["prefixCls","className"]),m=o()(p,"".concat(p,"-element"),(0,n.Z)({},"".concat(p,"-active"),l),a);return i.createElement("div",{className:m},i.createElement(u,(0,r.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===c?"circle":c,size:void 0===v?"default":v},f)))},N.Input=function(e){var t,a=e.prefixCls,l=e.className,c=e.active,v=e.block,p=e.size,f=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),m=(0,d.Z)(e,["prefixCls"]),h=o()(f,"".concat(f,"-element"),(t={},(0,n.Z)(t,"".concat(f,"-active"),c),(0,n.Z)(t,"".concat(f,"-block"),v),t),l);return i.createElement("div",{className:h},i.createElement(u,(0,r.Z)({prefixCls:"".concat(f,"-input"),size:void 0===p?"default":p},m)))},N.Image=function(e){var t=e.prefixCls,a=e.className,r=e.style,l=e.active,c=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),d=o()(c,"".concat(c,"-element"),(0,n.Z)({},"".concat(c,"-active"),l),a);return i.createElement("div",{className:d},i.createElement("div",{className:o()("".concat(c,"-image"),a),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(c,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(c,"-image-path")}))))},N.Node=function(e){var t=e.prefixCls,a=e.className,r=e.style,l=e.active,c=e.children,d=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=o()(d,"".concat(d,"-element"),(0,n.Z)({},"".concat(d,"-active"),l),a),v=null!=c?c:i.createElement(h,null);return i.createElement("div",{className:u},i.createElement("div",{className:o()("".concat(d,"-image"),a),style:r},v))};var E=N},75401:function(e,t,a){a.d(t,{Z:function(){return o}});var n=a(24262),r=a(19013),l=a(13882);function c(e){(0,l.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}function o(e,t){(0,l.Z)(2,arguments);var a=c(e),r=c(t);return Math.round((a.getTime()-(0,n.Z)(a)-(r.getTime()-(0,n.Z)(r)))/864e5)}},19642:function(e,t,a){a.d(t,{Z:function(){return v}});var n=a(84314),r=a(75401),l=a(58091),c=a(86559),o=a(92234),i=a(19013),s=a(24262),d=a(13882),u=a(83946);function v(e,t,a){(0,d.Z)(2,arguments);var v,p,f,m,h,Z,y,C,x,N,E=(0,i.Z)(e),g=(0,i.Z)(t),k=(0,n.j)(),w=null!==(v=null!==(p=null==a?void 0:a.locale)&&void 0!==p?p:k.locale)&&void 0!==v?v:c.Z,b=(0,u.Z)(null!==(f=null!==(m=null!==(h=null!==(Z=null==a?void 0:a.weekStartsOn)&&void 0!==Z?Z:null==a?void 0:null===(y=a.locale)||void 0===y?void 0:null===(C=y.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==h?h:k.weekStartsOn)&&void 0!==m?m:null===(x=k.locale)||void 0===x?void 0:null===(N=x.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==f?f:0);if(!w.localize)throw RangeError("locale must contain localize property");if(!w.formatLong)throw RangeError("locale must contain formatLong property");if(!w.formatRelative)throw RangeError("locale must contain formatRelative property");var I=(0,r.Z)(E,g);if(isNaN(I))throw RangeError("Invalid time value");var P=(0,o.Z)(E,(0,s.Z)(E)),A=(0,o.Z)(g,(0,s.Z)(g)),z=w.formatRelative(I<-6?"other":I<-1?"lastWeek":I<0?"yesterday":I<1?"today":I<2?"tomorrow":I<7?"nextWeek":"other",P,A,{locale:w,weekStartsOn:b});return(0,l.Z)(E,z,{locale:w,weekStartsOn:b})}}}]); -//# sourceMappingURL=1341-cd0ddc2dcfe651d1.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js.map b/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js.map deleted file mode 100644 index 0e98e8f36..000000000 --- a/static/web/_next/static/chunks/1341-cd0ddc2dcfe651d1.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/1341-cd0ddc2dcfe651d1.js","mappings":"wUAQAA,EAAgCC,EAAAC,UAAgB,UAAAC,CAAA,CAAAC,CAAA,EAGhD,IAFAC,EAEAC,EAAAH,EAAAG,SAAA,CACAC,EAAAJ,EAAAI,WAAA,CACAC,EAAAL,EAAAK,SAAA,CACAC,EAAAN,EAAAM,KAAA,CACAC,EAAAP,EAAAO,QAAA,CACAC,EAAAR,EAAAQ,QAAA,CACAC,EAAAT,EAAAS,IAAA,CAEAC,EAAwBZ,EAAAa,QAAc,CAAAH,GAAAJ,GACtCQ,EAAyB,GAAAC,EAAAC,CAAA,EAAcJ,EAAA,GACvCK,EAAAH,CAAA,IACAI,EAAAJ,CAAA,UAQA,CANEd,EAAAmB,SAAe,YACjBb,CAAAA,GAAAI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AA,GAAAZ,KAAA,IAAAA,EAAAA,EAAAN,MAAAA,EAAA,cAAAO,CAAAA,EAAAP,EAAAgB,MAAA,GAAAT,KAAA,IAAAA,EAAA,cAAAC,CAAAA,EAAAD,EAAAP,OAAA,GAAAQ,KAAA,IAAAA,EAAA,OAAAA,EAAAU,YAAA,GAAAb,KAAA,IAAAA,EAAAA,EAAAQ,EAAAK,YAAA,GAAAd,KAAA,IAAAA,EAAAA,EAAA,OAAAK,CAAAA,EAAAI,EAAAG,MAAA,GAAAP,KAAA,IAAAA,EAAA,cAAAC,CAAAA,EAAAD,EAAAT,OAAA,GAAAU,KAAA,IAAAA,EAAA,OAAAA,EAAAQ,YAAA,GAAAf,KAAA,IAAAA,EAAAA,EAAA,GAE9B,IAAAa,EAAAI,QAAA,CACA,0DAGA,IAAAJ,EAAAK,UAAA,CACA,4DAGA,IAAAL,EAAAlB,cAAA,CACA,gEAGA,IAAAwB,EAAa,GAAAC,EAAA1P,CAAA,EAAwBqN,EAAA0B,GAErC,GAAAY,MAAAF,GACA,uCAqBA,IAAAG,EAAgB,GAAAC,EAAA7P,CAAA,EAAeqN,EAAO,GAAAyC,EAAA9P,CAAA,EAA+BqN,IACrE0C,EAAoB,GAAAF,EAAA7P,CAAA,EAAe+O,EAAW,GAAAe,EAAA9P,CAAA,EAA+B+O,IAC7EiB,EAAAb,EAAAlB,cAAA,CAlBAwB,EAAA,GACA,QACIA,EAAA,GACJ,WACIA,EAAA,EACJ,YACIA,EAAA,EACJ,QACIA,EAAA,EACJ,WACIA,EAAA,EACJ,WAEA,QAKAG,EAAAG,EAAA,CACAZ,OAAAA,EACAE,aAAAA,CACA,GACA,MAAS,GAAAY,EAAAjQ,CAAA,EAAMqN,EAAA2C,EAAA,CACfb,OAAAA,EACAE,aAAAA,CACA,EACA","sources":["webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/date-fns/esm/startOfDay/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/formatRelative/index.js","webpack://_N_E/"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","import { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport differenceInCalendarDays from \"../differenceInCalendarDays/index.js\";\nimport format from \"../format/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name formatRelative\n * @category Common Helpers\n * @summary Represent the date in words relative to the given base date.\n *\n * @description\n * Represent the date in words relative to the given base date.\n *\n * | Distance to the base date | Result |\n * |---------------------------|---------------------------|\n * | Previous 6 days | last Sunday at 04:30 AM |\n * | Last day | yesterday at 04:30 AM |\n * | Same day | today at 04:30 AM |\n * | Next day | tomorrow at 04:30 AM |\n * | Next 6 days | Sunday at 04:30 AM |\n * | Other | 12/31/2017 |\n *\n * @param {Date|Number} date - the date to format\n * @param {Date|Number} baseDate - the date to compare with\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {String} the date in words\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `baseDate` must not be Invalid Date\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.locale` must contain `formatRelative` property\n *\n * @example\n * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday\n * const result = formatRelative(addDays(new Date(), -6), new Date())\n * //=> \"last Thursday at 12:45 AM\"\n */\n\nexport default function formatRelative(dirtyDate, dirtyBaseDate, options) {\n var _ref, _options$locale, _ref2, _ref3, _ref4, _options$weekStartsOn, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var baseDate = toDate(dirtyBaseDate);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n var weekStartsOn = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.weekStartsOn) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : 0);\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n if (!locale.formatRelative) {\n throw new RangeError('locale must contain formatRelative property');\n }\n\n var diff = differenceInCalendarDays(date, baseDate);\n\n if (isNaN(diff)) {\n throw new RangeError('Invalid time value');\n }\n\n var token;\n\n if (diff < -6) {\n token = 'other';\n } else if (diff < -1) {\n token = 'lastWeek';\n } else if (diff < 0) {\n token = 'yesterday';\n } else if (diff < 1) {\n token = 'today';\n } else if (diff < 2) {\n token = 'tomorrow';\n } else if (diff < 7) {\n token = 'nextWeek';\n } else {\n token = 'other';\n }\n\n var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));\n var utcBaseDate = subMilliseconds(baseDate, getTimezoneOffsetInMilliseconds(baseDate));\n var formatStr = locale.formatRelative(token, utcDate, utcBaseDate, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n return format(date, formatStr, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n}"],"names":["PanelContent","react","forwardRef","props","ref","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","Z","rendered","setRendered","useEffect","createElement","classnames_default","concat","defineProperty","displayName","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","key","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","Object","keys","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","icon","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","skeleton_Element","size","shape","sizeCls","shapeCls","sizeStyle","width","height","lineHeight","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","AntdIcon","objectSpread2","icons_DotChartOutlined","skeleton_Paragraph","getWidth","_props$rows","rows","rowList","_","skeleton_Title","getComponentProps","prop","Skeleton","loading","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","cls","Button","_props$block","block","_props$size","otherProps","Avatar","_props$shape","Input","Image","viewBox","xmlns","d","Node","content","skeleton","startOfDay","dirtyDate","requiredArgs","date","toDate","setHours","differenceInCalendarDays","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","Math","timestampLeft","getTime","getTimezoneOffsetInMilliseconds","formatRelative","dirtyBaseDate","options","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","_options$locale","_ref2","_ref3","_ref4","_options$weekStartsOn","_options$locale2","_options$locale2$opti","_defaultOptions$local","_defaultOptions$local2","_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__","baseDate","defaultOptions","_lib_defaultOptions_index_js__WEBPACK_IMPORTED_MODULE_2__","j","locale","_lib_defaultLocale_index_js__WEBPACK_IMPORTED_MODULE_3__","weekStartsOn","_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_4__","localize","formatLong","diff","_differenceInCalendarDays_index_js__WEBPACK_IMPORTED_MODULE_5__","isNaN","utcDate","_subMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_6__","_lib_getTimezoneOffsetInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_7__","utcBaseDate","formatStr","_format_index_js__WEBPACK_IMPORTED_MODULE_8__"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/164-a679867cb0600afa.js b/static/web/_next/static/chunks/164-a679867cb0600afa.js new file mode 100644 index 000000000..db32b382f --- /dev/null +++ b/static/web/_next/static/chunks/164-a679867cb0600afa.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{89739:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},o=r(42135),s=function(e,t){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};s.displayName="CheckCircleFilled";var u=i.forwardRef(s)},4340:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},o=r(42135),s=function(e,t){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};s.displayName="CloseCircleFilled";var u=i.forwardRef(s)},21640:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(1413),i=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},o=r(42135),s=function(e,t){return i.createElement(o.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};s.displayName="ExclamationCircleFilled";var u=i.forwardRef(s)},74228:function(e,t,r){var n=r(87206);t.Z=n.Z},87206:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(87462),i=r(42115),a={lang:(0,n.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,n.Z)({},i.Z)}},65223:function(e,t,r){r.d(t,{RV:function(){return l},Rk:function(){return c},Ux:function(){return d},aM:function(){return f},q3:function(){return s},qI:function(){return u}});var n=r(87462),i=r(71990),a=r(98423),o=r(67294),s=o.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),u=o.createContext(null),l=function(e){var t=(0,a.Z)(e,["prefixCls"]);return o.createElement(i.FormProvider,(0,n.Z)({},t))},c=o.createContext({prefixCls:""}),f=o.createContext({}),d=function(e){var t=e.children,r=e.status,i=e.override,a=(0,o.useContext)(f),s=(0,o.useMemo)(function(){var e=(0,n.Z)({},a);return i&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[r,i,a]);return o.createElement(f.Provider,{value:s},t)}},23715:function(e,t,r){r.d(t,{Z:function(){return s},E:function(){return u}});var n=r(87462),i=r(67294),a=r(67178),o=r(7734).Z,s=function(e){var t=e.componentName,r=void 0===t?"global":t,s=e.defaultLocale,u=e.children,l=i.useContext(a.Z);return u(i.useMemo(function(){var e,t=s||o[r],i=null!==(e=null==l?void 0:l[r])&&void 0!==e?e:{};return(0,n.Z)((0,n.Z)({},t instanceof Function?t():t),i||{})},[r,s,l]),i.useMemo(function(){var e=l&&l.locale;return l&&l.exist&&!e?o.locale:e},[l]),l)},u=function(e,t){var r=i.useContext(a.Z);return[i.useMemo(function(){var i,a=t||o[e],s=null!==(i=null==r?void 0:r[e])&&void 0!==i?i:{};return(0,n.Z)((0,n.Z)({},"function"==typeof a?a():a),s||{})},[e,t,r])]}},67178:function(e,t,r){var n=(0,r(67294).createContext)(void 0);t.Z=n},7734:function(e,t,r){var n=r(62906),i=r(74228),a=r(87206),o=r(42115),s="${label} is not a valid ${type}",u={locale:"en",Pagination:n.Z,DatePicker:a.Z,TimePicker:o.Z,Calendar:i.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.Z=u},42115:function(e,t){t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},71990:function(e,t,r){r.r(t),r.d(t,{Field:function(){return ey},FieldContext:function(){return F},FormProvider:function(){return eO},List:function(){return eb},ListContext:function(){return eF},default:function(){return eR},useForm:function(){return eV},useWatch:function(){return eA}});var n,i=r(67294),a=r(87462),o=r(45987),s=r(4942),u=r(1413),l=r(74902),c=r(15671),f=r(43144),d=r(97326),g=r(60136),h=r(33643),v=r(50344),p=r(80334),m="RC_FORM_INTERNAL_HOOKS",y=function(){(0,p.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},F=i.createContext({getFieldValue:y,getFieldsValue:y,getFieldError:y,getFieldWarning:y,getFieldsError:y,isFieldsTouched:y,isFieldTouched:y,isFieldValidating:y,isFieldsValidating:y,resetFields:y,setFields:y,setFieldValue:y,setFieldsValue:y,validateFields:y,submit:y,getInternalHooks:function(){return y(),{dispatch:y,initEntityValue:y,registerField:y,useSubscribe:y,setInitialValues:y,destroyForm:y,setCallbacks:y,registerWatch:y,getFields:y,setValidateMessages:y,setPreserve:y,getInitialValue:y}}});function b(e){return null==e?[]:Array.isArray(e)?e:[e]}var P=r(74165),Z=r(15861),w=r(34155);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),n=1;n=a)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(t){return"[Circular]"}break;default:return e}}):e}function A(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function N(e,t,r){var n=0,i=e.length;!function a(o){if(o&&o.length){r(o);return}var s=n;n+=1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(e){return _.number(e)&&parseInt(e,10)===e},float:function(e){return _.number(e)&&!_.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return RegExp(e),!0}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!_.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(T.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(I())},hex:function(e){return"string"==typeof e&&!!e.match(T.hex)}},L="enum",U={required:j,whitespace:function(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(q(i.messages.whitespace,e.fullField))},type:function(e,t,r,n,i){if(e.required&&void 0===t){j(e,t,r,n,i);return}var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?_[a](t)||n.push(q(i.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(q(i.messages.types[a],e.fullField,e.type))},range:function(e,t,r,n,i){var a="number"==typeof e.len,o="number"==typeof e.min,s="number"==typeof e.max,u=t,l=null,c="string"==typeof t,f=Array.isArray(t);if("number"==typeof t?l="number":c?l="string":f&&(l="array"),!l)return!1;f&&(u=t.length),c&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==e.len&&n.push(q(i.messages[l].len,e.fullField,e.len)):o&&!s&&ue.max?n.push(q(i.messages[l].max,e.fullField,e.max)):o&&s&&(ue.max)&&n.push(q(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,i){e[L]=Array.isArray(e[L])?e[L]:[],-1===e[L].indexOf(t)&&n.push(q(i.messages[L],e.fullField,e[L].join(", ")))},pattern:function(e,t,r,n,i){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(q(i.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||RegExp(e.pattern).test(t)||n.push(q(i.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},D=function(e,t,r,n,i){var a=e.type,o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t,a)&&!e.required)return r();U.required(e,t,n,o,i,a),A(t,a)||U.type(e,t,n,o,i)}r(o)},W={string:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return r();U.required(e,t,n,a,i,"string"),A(t,"string")||(U.type(e,t,n,a,i),U.range(e,t,n,a,i),U.pattern(e,t,n,a,i),!0===e.whitespace&&U.whitespace(e,t,n,a,i))}r(a)},method:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&U.type(e,t,n,a,i)}r(a)},number:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&(U.type(e,t,n,a,i),U.range(e,t,n,a,i))}r(a)},boolean:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&U.type(e,t,n,a,i)}r(a)},regexp:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),A(t)||U.type(e,t,n,a,i)}r(a)},integer:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&(U.type(e,t,n,a,i),U.range(e,t,n,a,i))}r(a)},float:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&(U.type(e,t,n,a,i),U.range(e,t,n,a,i))}r(a)},array:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();U.required(e,t,n,a,i,"array"),null!=t&&(U.type(e,t,n,a,i),U.range(e,t,n,a,i))}r(a)},object:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&U.type(e,t,n,a,i)}r(a)},enum:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i),void 0!==t&&U.enum(e,t,n,a,i)}r(a)},pattern:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return r();U.required(e,t,n,a,i),A(t,"string")||U.pattern(e,t,n,a,i)}r(a)},date:function(e,t,r,n,i){var a,o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t,"date")&&!e.required)return r();U.required(e,t,n,o,i),!A(t,"date")&&(a=t instanceof Date?t:new Date(t),U.type(e,a,n,o,i),a&&U.range(e,a.getTime(),n,o,i))}r(o)},url:D,hex:D,email:D,required:function(e,t,r,n,i){var a=[],o=Array.isArray(t)?"array":typeof t;U.required(e,t,n,a,i,o),r(a)},any:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(A(t)&&!e.required)return r();U.required(e,t,n,a,i)}r(a)}};function H(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var z=H(),Y=function(){function e(e){this.rules=null,this._messages=z,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]})},t.messages=function(e){return e&&(this._messages=S(H(),e)),this._messages},t.validate=function(t,r,n){var i=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var a=t,o=r,s=n;if("function"==typeof o&&(s=o,o={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,a),Promise.resolve(a);if(o.messages){var u=this.messages();u===z&&(u=H()),S(u,o.messages),o.messages=u}else o.messages=this.messages();var l={};(o.keys||Object.keys(this.rules)).forEach(function(e){var r=i.rules[e],n=a[e];r.forEach(function(r){var o=r;"function"==typeof o.transform&&(a===t&&(a=x({},a)),n=a[e]=o.transform(n)),(o="function"==typeof o?{validator:o}:x({},o)).validator=i.getValidationMethod(o),o.validator&&(o.field=e,o.fullField=o.fullField||e,o.type=i.getType(o),l[e]=l[e]||[],l[e].push({rule:o,value:n,source:a,field:e}))})});var c={};return function(e,t,r,n,i){if(t.first){var a=new Promise(function(t,a){var o;N((o=[],Object.keys(e).forEach(function(t){o.push.apply(o,e[t]||[])}),o),r,function(e){return n(e),e.length?a(new R(e,$(e))):t(i)})});return a.catch(function(e){return e}),a}var o=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),u=s.length,l=0,c=[],f=new Promise(function(t,a){var f=function(e){if(c.push.apply(c,e),++l===u)return n(c),c.length?a(new R(c,$(c))):t(i)};s.length||(n(c),t(i)),s.forEach(function(t){var n=e[t];-1!==o.indexOf(t)?N(n,r,f):function(e,t,r){var n=[],i=0,a=e.length;function o(e){n.push.apply(n,e||[]),++i===a&&r(n)}e.forEach(function(e){t(e,o)})}(n,r,f)})});return f.catch(function(e){return e}),f}(l,o,function(t,r){var n,i=t.rule,s=("object"===i.type||"array"===i.type)&&("object"==typeof i.fields||"object"==typeof i.defaultField);function u(e,t){return x({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function l(n){void 0===n&&(n=[]);var l=Array.isArray(n)?n:[n];!o.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==i.message&&(l=[].concat(i.message));var f=l.map(M(i,a));if(o.first&&f.length)return c[i.field]=1,r(f);if(s){if(i.required&&!t.value)return void 0!==i.message?f=[].concat(i.message).map(M(i,a)):o.error&&(f=[o.error(i,q(o.messages.required,i.field))]),r(f);var d={};i.defaultField&&Object.keys(t.value).map(function(e){d[e]=i.defaultField});var g={};Object.keys(d=x({},d,t.rule.fields)).forEach(function(e){var t=d[e],r=Array.isArray(t)?t:[t];g[e]=r.map(u.bind(null,e))});var h=new e(g);h.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),h.validate(t.value,t.rule.options||o,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)})}else r(f)}if(s=s&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)n=i.asyncValidator(i,t.value,l,t.source,o);else if(i.validator){try{n=i.validator(i,t.value,l,t.source,o)}catch(f){null==console.error||console.error(f),o.suppressValidatorError||setTimeout(function(){throw f},0),l(f.message)}!0===n?l():!1===n?l("function"==typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):n instanceof Array?l(n):n instanceof Error&&l(n.message)}n&&n.then&&n.then(function(){return l()},function(e){return l(e)})},function(e){!function(e){for(var t=[],r={},n=0;n3&&void 0!==arguments[3]&&arguments[3];return function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!G(e,t.slice(0,-1))?e:function e(t,r,n,i){if(!r.length)return n;var a,o=(0,Q.Z)(r),s=o[0],c=o.slice(1);return a=t||"number"!=typeof s?Array.isArray(t)?(0,l.Z)(t):(0,u.Z)({},t):[],i&&void 0===n&&1===c.length?delete a[s][c[0]]:a[s]=e(a[s],c,n,i),a}(e,t,r,n)}(e,t,r,n)}function er(e,t){var r={};return t.forEach(function(t){var n=G(e,t);r=et(r,t,n)}),r}function en(e,t){return e&&e.some(function(e){return eo(e,t)})}function ei(e){return"object"===(0,J.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ea(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n=n||r<0||r>=n)return e;var i=e[t],a=t-r;return a>0?[].concat((0,l.Z)(e.slice(0,r)),[i],(0,l.Z)(e.slice(r,t)),(0,l.Z)(e.slice(t+1,n))):a<0?[].concat((0,l.Z)(e.slice(0,t)),(0,l.Z)(e.slice(t+1,r+1)),[i],(0,l.Z)(e.slice(r+1,n))):e}var el="CODE_LOGIC_ERROR";function ec(e,t,r,n,i){return ef.apply(this,arguments)}function ef(){return(ef=(0,Z.Z)((0,P.Z)().mark(function e(t,r,n,a,o){var c,f,d,g,h,v,p,m,y;return(0,P.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete(c=(0,u.Z)({},n)).ruleIndex,c.validator&&(f=c.validator,c.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(el)}}),d=null,c&&"array"===c.type&&c.defaultField&&(d=c.defaultField,delete c.defaultField),g=new Y((0,s.Z)({},t,[c])),h=ea({},K,a.validateMessages),g.messages(h),v=[],e.prev=9,e.next=12,Promise.resolve(g.validate((0,s.Z)({},t,r),(0,u.Z)({},a)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(v=e.t0.errors.map(function(e,t){var r=e.message,n=r===el?h.default:r;return i.isValidElement(n)?i.cloneElement(n,{key:"error_".concat(t)}):n}));case 17:if(!(!v.length&&d)){e.next=22;break}return e.next=20,Promise.all(r.map(function(e,r){return ec("".concat(t,".").concat(r),e,d,a,o)}));case 20:return p=e.sent,e.abrupt("return",p.reduce(function(e,t){return[].concat((0,l.Z)(e),(0,l.Z)(t))},[]));case 22:return m=(0,u.Z)((0,u.Z)({},n),{},{name:t,enum:(n.enum||[]).join(", ")},o),y=v.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\$\{\w+\}/g,function(e){return t[e.slice(2,-1)]})}(e,m):e}),e.abrupt("return",y);case 25:case"end":return e.stop()}},e,null,[[9,14]])}))).apply(this,arguments)}function ed(){return(ed=(0,Z.Z)((0,P.Z)().mark(function e(t){return(0,P.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,l.Z)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function eg(){return(eg=(0,Z.Z)((0,P.Z)().mark(function e(t){var r;return(0,P.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=0,e.abrupt("return",new Promise(function(e){t.forEach(function(n){n.then(function(n){n.errors.length&&e([n]),(r+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var eh=["name"],ev=[];function ep(e,t,r,n,i,a){return"function"==typeof e?e(t,r,"source"in a?{source:a.source}:{}):n!==i}var em=function(e){(0,g.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n;return(0,c.Z)(this,r),(n=t.call(this,e)).state={resetCount:0},n.cancelRegisterFunc=null,n.mounted=!1,n.touched=!1,n.dirty=!1,n.validatePromise=null,n.prevValidating=void 0,n.errors=ev,n.warnings=ev,n.cancelRegister=function(){var e=n.props,t=e.preserve,r=e.isListField,i=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,ee(i)),n.cancelRegisterFunc=null},n.getNamePath=function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName;return void 0!==t?[].concat((0,l.Z)(void 0===r?[]:r),(0,l.Z)(t)):[]},n.getRules=function(){var e=n.props,t=e.rules,r=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(r):e})},n.refresh=function(){n.mounted&&n.setState(function(e){return{resetCount:e.resetCount+1}})},n.triggerMetaEvent=function(e){var t=n.props.onMetaChange;null==t||t((0,u.Z)((0,u.Z)({},n.getMeta()),{},{destroy:e}))},n.onStoreChange=function(e,t,r){var i=n.props,a=i.shouldUpdate,o=i.dependencies,s=void 0===o?[]:o,u=i.onReset,l=r.store,c=n.getNamePath(),f=n.getValue(e),d=n.getValue(l),g=t&&en(t,c);switch("valueUpdate"===r.type&&"external"===r.source&&f!==d&&(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=ev,n.warnings=ev,n.triggerMetaEvent()),r.type){case"reset":if(!t||g){n.touched=!1,n.dirty=!1,n.validatePromise=null,n.errors=ev,n.warnings=ev,n.triggerMetaEvent(),null==u||u(),n.refresh();return}break;case"remove":if(a){n.reRender();return}break;case"setField":if(g){var h=r.data;"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||ev),"warnings"in h&&(n.warnings=h.warnings||ev),n.dirty=!0,n.triggerMetaEvent(),n.reRender();return}if(a&&!c.length&&ep(a,e,l,f,d,r)){n.reRender();return}break;case"dependenciesUpdate":if(s.map(ee).some(function(e){return en(r.relatedFields,e)})){n.reRender();return}break;default:if(g||(!s.length||c.length||a)&&ep(a,e,l,f,d,r)){n.reRender();return}}!0===a&&n.reRender()},n.validateRules=function(e){var t=n.getNamePath(),r=n.getValue(),i=Promise.resolve().then(function(){if(!n.mounted)return[];var a=n.props,o=a.validateFirst,s=a.messageVariables,c=(e||{}).triggerName,f=n.getRules();c&&(f=f.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||b(t).includes(c)}));var d=function(e,t,r,n,i,a){var o,s,l=e.join("."),c=r.map(function(e,t){var r=e.validator,n=(0,u.Z)((0,u.Z)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var i=!1,a=r(e,t,function(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:ev;if(n.validatePromise===i){n.validatePromise=null;var t,r=[],a=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,n=e.errors,i=void 0===n?ev:n;t?a.push.apply(a,(0,l.Z)(i)):r.push.apply(r,(0,l.Z)(i))}),n.errors=r,n.warnings=a,n.triggerMetaEvent(),n.reRender()}}),d});return n.validatePromise=i,n.dirty=!0,n.errors=ev,n.warnings=ev,n.triggerMetaEvent(),n.reRender(),i},n.isFieldValidating=function(){return!!n.validatePromise},n.isFieldTouched=function(){return n.touched},n.isFieldDirty=function(){return!!n.dirty||void 0!==n.props.initialValue||void 0!==(0,n.props.fieldContext.getInternalHooks(m).getInitialValue)(n.getNamePath())},n.getErrors=function(){return n.errors},n.getWarnings=function(){return n.warnings},n.isListField=function(){return n.props.isListField},n.isList=function(){return n.props.isList},n.isPreserve=function(){return n.props.preserve},n.getMeta=function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath()}},n.getOnlyChild=function(e){if("function"==typeof e){var t=n.getMeta();return(0,u.Z)((0,u.Z)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,v.Z)(e);return 1===r.length&&i.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}},n.getValue=function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return G(e||t(!0),r)},n.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,o=t.normalize,l=t.valuePropName,c=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,g=n.getNamePath(),h=f.getInternalHooks,v=f.getFieldsValue,p=h(m).dispatch,y=n.getValue(),F=e[r],P=(0,u.Z)((0,u.Z)({},e),(c||function(e){return(0,s.Z)({},l,e)})(y));return P[r]=function(){n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var e,t=arguments.length,r=Array(t),i=0;i=0&&t<=r.length?(c.keys=[].concat((0,l.Z)(c.keys.slice(0,t)),[c.id],(0,l.Z)(c.keys.slice(t))),i([].concat((0,l.Z)(r.slice(0,t)),[e],(0,l.Z)(r.slice(t))))):(c.keys=[].concat((0,l.Z)(c.keys),[c.id]),i([].concat((0,l.Z)(r),[e]))),c.id+=1},remove:function(e){var t=o(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(c.keys=c.keys.filter(function(e,t){return!r.has(t)}),i(t.filter(function(e,t){return!r.has(t)})))},move:function(e,t){if(e!==t){var r=o();e<0||e>=r.length||t<0||t>=r.length||(c.keys=eu(c.keys,e,t),i(eu(r,e,t)))}}},t)})))},eP=r(97685),eZ="__@field_split__";function ew(e){return e.map(function(e){return"".concat((0,J.Z)(e),":").concat(e)}).join(eZ)}var ex=function(){function e(){(0,c.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(ew(e),t)}},{key:"get",value:function(e){return this.kvs.get(ew(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(ew(e))}},{key:"map",value:function(e){return(0,l.Z)(this.kvs.entries()).map(function(t){var r=(0,eP.Z)(t,2),n=r[0],i=r[1];return e({key:n.split(eZ).map(function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,eP.Z)(t,3),n=r[1],i=r[2];return"number"===n?Number(i):i}),value:i})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null}),e}}]),e}(),eE=["name","errors"],ek=(0,f.Z)(function e(t){var r=this;(0,c.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}},this.getInternalHooks=function(e){return e===m?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,p.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){r.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(r.initialValues=e||{},t){var n,i=ea({},e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map(function(t){var r=t.key;i=et(i,r,G(e,r))}),r.prevWithoutPreserves=null,r.updateStore(i)}},this.destroyForm=function(){var e=new ex;r.getFieldEntities(!0).forEach(function(t){r.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),r.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=G(r.initialValues,e);return e.length?X(t):t},this.setCallbacks=function(e){r.callbacks=e},this.setValidateMessages=function(e){r.validateMessages=e},this.setPreserve=function(e){r.preserve=e},this.watchList=[],this.registerWatch=function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue();r.watchList.forEach(function(r){r(t,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){r.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?r.fieldEntities.filter(function(e){return e.getNamePath().length}):r.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new ex;return r.getFieldEntities(e).forEach(function(e){var r=e.getNamePath();t.set(r,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map(function(e){var r=ee(e);return t.get(r)||{INVALIDATE_NAME_PATH:ee(e)}})},this.getFieldsValue=function(e,t){if(r.warningUnhooked(),!0===e&&!t)return r.store;var n=r.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),i=[];return n.forEach(function(r){var n,a="INVALIDATE_NAME_PATH"in r?r.INVALIDATE_NAME_PATH:r.getNamePath();!(!e&&(null===(n=r.isListField)||void 0===n?void 0:n.call(r)))&&(t?t("getMeta"in r?r.getMeta():null)&&i.push(a):i.push(a))}),er(r.store,i.map(ee))},this.getFieldValue=function(e){r.warningUnhooked();var t=ee(e);return G(r.store,t)},this.getFieldsError=function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map(function(t,r){return!t||"INVALIDATE_NAME_PATH"in t?{name:ee(e[r]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){r.warningUnhooked();var t=ee(e);return r.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){r.warningUnhooked();var t=ee(e);return r.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){r.warningUnhooked();for(var e,t=arguments.length,n=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=new ex,i=r.getFieldEntities(!0);i.forEach(function(e){var t=e.props.initialValue,r=e.getNamePath();if(void 0!==t){var i=n.get(r)||new Set;i.add({entity:e,value:t}),n.set(r,i)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var r,i=n.get(t);i&&(r=e).push.apply(r,(0,l.Z)((0,l.Z)(i).map(function(e){return e.entity})))})):e=i,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var i=e.getNamePath();if(void 0!==r.getInitialValue(i))(0,p.ZP)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var a=n.get(i);if(a&&a.size>1)(0,p.ZP)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(a){var o=r.getFieldValue(i);t.skipExist&&void 0!==o||r.updateStore(et(r.store,i,(0,l.Z)(a)[0].value))}}}})}(e)},this.resetFields=function(e){r.warningUnhooked();var t=r.store;if(!e){r.updateStore(ea({},r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),r.notifyWatch();return}var n=e.map(ee);n.forEach(function(e){var t=r.getInitialValue(e);r.updateStore(et(r.store,e,t))}),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)},this.setFields=function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach(function(e){var i=e.name,a=(e.errors,(0,o.Z)(e,eE)),s=ee(i);n.push(s),"value"in a&&r.updateStore(et(r.store,s,a.value)),r.notifyObservers(t,[s],{type:"setField",data:e})}),r.notifyWatch(n)},this.getFields=function(){return r.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,u.Z)((0,u.Z)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===G(r.store,n)&&r.updateStore(et(r.store,n,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:r.preserve;return null==t||t},this.registerField=function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter(function(t){return t!==e}),!r.isMergedPreserve(i)&&(!n||a.length>1)){var o=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==o&&r.fieldEntities.every(function(e){return!eo(e.getNamePath(),t)})){var s=r.store;r.updateStore(et(s,t,o,!0)),r.notifyObservers(s,[t],{type:"remove"}),r.triggerDependenciesUpdate(s,t)}}r.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var i=e.namePath,a=e.triggerName;r.validateFields([i],{triggerName:a})}},this.notifyObservers=function(e,t,n){if(r.subscribable){var i=(0,u.Z)((0,u.Z)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach(function(r){(0,r.onStoreChange)(e,t,i)})}else r.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,l.Z)(n))}),n},this.updateValue=function(e,t){var n=ee(e),i=r.store;r.updateStore(et(r.store,n,t)),r.notifyObservers(i,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var a=r.triggerDependenciesUpdate(i,n),o=r.callbacks.onValuesChange;o&&o(er(r.store,[n]),r.getFieldsValue()),r.triggerOnFieldsChange([n].concat((0,l.Z)(a)))},this.setFieldsValue=function(e){r.warningUnhooked();var t=r.store;if(e){var n=ea(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()},this.setFieldValue=function(e,t){r.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,n=[],i=new ex;return r.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var r=ee(t);i.update(r,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(r){(i.get(r)||new Set).forEach(function(r){if(!t.has(r)){t.add(r);var i=r.getNamePath();r.isFieldDirty()&&i.length&&(n.push(i),e(i))}})}(e),n},this.triggerOnFieldsChange=function(e,t){var n=r.callbacks.onFieldsChange;if(n){var i=r.getFields();if(t){var a=new ex;t.forEach(function(e){var t=e.name,r=e.errors;a.set(t,r)}),i.forEach(function(e){e.errors=a.get(e.name)||e.errors})}n(i.filter(function(t){return en(e,t.name)}),i)}},this.validateFields=function(e,t){r.warningUnhooked();var n,i,a,o=!!e,s=o?e.map(ee):[],c=[];r.getFieldEntities(!0).forEach(function(n){if(o||s.push(n.getNamePath()),(null==t?void 0:t.recursive)&&o){var i=n.getNamePath();i.every(function(t,r){return e[r]===t||void 0===e[r]})&&s.push(i)}if(n.props.rules&&n.props.rules.length){var a=n.getNamePath();if(!o||en(s,a)){var f=n.validateRules((0,u.Z)({validateMessages:(0,u.Z)((0,u.Z)({},K),r.validateMessages)},t));c.push(f.then(function(){return{name:a,errors:[],warnings:[]}}).catch(function(e){var t,r=[],n=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,i=e.errors;t?n.push.apply(n,(0,l.Z)(i)):r.push.apply(r,(0,l.Z)(i))}),r.length)?Promise.reject({name:a,errors:r,warnings:n}):{name:a,errors:r,warnings:n}}))}}});var f=(n=!1,i=c.length,a=[],c.length?new Promise(function(e,t){c.forEach(function(r,o){r.catch(function(e){return n=!0,e}).then(function(r){i-=1,a[o]=r,i>0||(n&&t(a),e(a))})})}):Promise.resolve([]));r.lastValidatePromise=f,f.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)});var d=f.then(function(){return r.lastValidatePromise===f?Promise.resolve(r.getFieldsValue(s)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:r.getFieldsValue(s),errorFields:t,outOfDate:r.lastValidatePromise!==f})});return d.catch(function(e){return e}),d},this.submit=function(){r.warningUnhooked(),r.validateFields().then(function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(n){console.error(n)}}).catch(function(e){var t=r.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eV=function(e){var t=i.useRef(),r=i.useState({}),n=(0,eP.Z)(r,2)[1];if(!t.current){if(e)t.current=e;else{var a=new ek(function(){n({})});t.current=a.getForm()}}return[t.current]},eC=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eO=function(e){var t=e.validateMessages,r=e.onFormChange,n=e.onFormFinish,a=e.children,o=i.useContext(eC),l=i.useRef({});return i.createElement(eC.Provider,{value:(0,u.Z)((0,u.Z)({},o),{},{validateMessages:(0,u.Z)((0,u.Z)({},o.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:l.current}),o.triggerFormChange(e,t)},triggerFormFinish:function(e,t){n&&n(e,{values:t,forms:l.current}),o.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,u.Z)((0,u.Z)({},l.current),{},(0,s.Z)({},e,t))),o.registerForm(e,t)},unregisterForm:function(e){var t=(0,u.Z)({},l.current);delete t[e],l.current=t,o.unregisterForm(e)}})},a)},e$=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eq(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var eA=function(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),i=1;i"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckCircleFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z\" } }] }, \"name\": \"check-circle\", \"theme\": \"filled\" };\nexport default CheckCircleFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckCircleFilledSvg from \"@ant-design/icons-svg/es/asn/CheckCircleFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckCircleFilled = function CheckCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckCircleFilledSvg\n }));\n};\nCheckCircleFilled.displayName = 'CheckCircleFilled';\nexport default /*#__PURE__*/React.forwardRef(CheckCircleFilled);","// This icon file is generated automatically.\nvar CloseCircleFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z\" } }] }, \"name\": \"close-circle\", \"theme\": \"filled\" };\nexport default CloseCircleFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CloseCircleFilledSvg from \"@ant-design/icons-svg/es/asn/CloseCircleFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar CloseCircleFilled = function CloseCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CloseCircleFilledSvg\n }));\n};\nCloseCircleFilled.displayName = 'CloseCircleFilled';\nexport default /*#__PURE__*/React.forwardRef(CloseCircleFilled);","// This icon file is generated automatically.\nvar ExclamationCircleFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\" } }] }, \"name\": \"exclamation-circle\", \"theme\": \"filled\" };\nexport default ExclamationCircleFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ExclamationCircleFilledSvg from \"@ant-design/icons-svg/es/asn/ExclamationCircleFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar ExclamationCircleFilled = function ExclamationCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ExclamationCircleFilledSvg\n }));\n};\nExclamationCircleFilled.displayName = 'ExclamationCircleFilled';\nexport default /*#__PURE__*/React.forwardRef(ExclamationCircleFilled);","import enUS from '../../date-picker/locale/en_US';\nexport default enUS;","var locale = {\n locale: 'en_US',\n today: 'Today',\n now: 'Now',\n backToToday: 'Back to today',\n ok: 'OK',\n clear: 'Clear',\n month: 'Month',\n year: 'Year',\n timeSelect: 'select time',\n dateSelect: 'select date',\n weekSelect: 'Choose a week',\n monthSelect: 'Choose a month',\n yearSelect: 'Choose a year',\n decadeSelect: 'Choose a decade',\n yearFormat: 'YYYY',\n dateFormat: 'M/D/YYYY',\n dayFormat: 'D',\n dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n monthBeforeYear: true,\n previousMonth: 'Previous month (PageUp)',\n nextMonth: 'Next month (PageDown)',\n previousYear: 'Last year (Control + left)',\n nextYear: 'Next year (Control + right)',\n previousDecade: 'Last decade',\n nextDecade: 'Next decade',\n previousCentury: 'Last century',\n nextCentury: 'Next century'\n};\nexport default locale;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport CalendarLocale from \"rc-picker/es/locale/en_US\";\nimport TimePickerLocale from '../../time-picker/locale/en_US';\n// Merge into a locale object\nvar locale = {\n lang: _extends({\n placeholder: 'Select date',\n yearPlaceholder: 'Select year',\n quarterPlaceholder: 'Select quarter',\n monthPlaceholder: 'Select month',\n weekPlaceholder: 'Select week',\n rangePlaceholder: ['Start date', 'End date'],\n rangeYearPlaceholder: ['Start year', 'End year'],\n rangeQuarterPlaceholder: ['Start quarter', 'End quarter'],\n rangeMonthPlaceholder: ['Start month', 'End month'],\n rangeWeekPlaceholder: ['Start week', 'End week']\n }, CalendarLocale),\n timePickerLocale: _extends({}, TimePickerLocale)\n};\n// All settings at:\n// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json\nexport default locale;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { FormProvider as RcFormProvider } from 'rc-field-form';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nexport var FormContext = /*#__PURE__*/React.createContext({\n labelAlign: 'right',\n vertical: false,\n itemRef: function itemRef() {}\n});\nexport var NoStyleItemContext = /*#__PURE__*/React.createContext(null);\nexport var FormProvider = function FormProvider(props) {\n var providerProps = omit(props, ['prefixCls']);\n return /*#__PURE__*/React.createElement(RcFormProvider, _extends({}, providerProps));\n};\nexport var FormItemPrefixContext = /*#__PURE__*/React.createContext({\n prefixCls: ''\n});\nexport var FormItemInputContext = /*#__PURE__*/React.createContext({});\nexport var NoFormStyle = function NoFormStyle(_ref) {\n var children = _ref.children,\n status = _ref.status,\n override = _ref.override;\n var formItemInputContext = useContext(FormItemInputContext);\n var newFormItemInputContext = useMemo(function () {\n var newContext = _extends({}, formItemInputContext);\n if (override) {\n delete newContext.isFormItemInput;\n }\n if (status) {\n delete newContext.status;\n delete newContext.hasFeedback;\n delete newContext.feedbackIcon;\n }\n return newContext;\n }, [status, override, formItemInputContext]);\n return /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: newFormItemInputContext\n }, children);\n};","import locale from '../locale/default';\nexport default locale;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport LocaleContext from './context';\nimport defaultLocaleData from './default';\nvar LocaleReceiver = function LocaleReceiver(props) {\n var _props$componentName = props.componentName,\n componentName = _props$componentName === void 0 ? 'global' : _props$componentName,\n defaultLocale = props.defaultLocale,\n children = props.children;\n var antLocale = React.useContext(LocaleContext);\n var getLocale = React.useMemo(function () {\n var _a;\n var locale = defaultLocale || defaultLocaleData[componentName];\n var localeFromContext = (_a = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a !== void 0 ? _a : {};\n return _extends(_extends({}, locale instanceof Function ? locale() : locale), localeFromContext || {});\n }, [componentName, defaultLocale, antLocale]);\n var getLocaleCode = React.useMemo(function () {\n var localeCode = antLocale && antLocale.locale;\n // Had use LocaleProvide but didn't set locale\n if (antLocale && antLocale.exist && !localeCode) {\n return defaultLocaleData.locale;\n }\n return localeCode;\n }, [antLocale]);\n return children(getLocale, getLocaleCode, antLocale);\n};\nexport default LocaleReceiver;\nexport var useLocaleReceiver = function useLocaleReceiver(componentName, defaultLocale) {\n var antLocale = React.useContext(LocaleContext);\n var getLocale = React.useMemo(function () {\n var _a;\n var locale = defaultLocale || defaultLocaleData[componentName];\n var localeFromContext = (_a = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a !== void 0 ? _a : {};\n return _extends(_extends({}, typeof locale === 'function' ? locale() : locale), localeFromContext || {});\n }, [componentName, defaultLocale, antLocale]);\n return [getLocale];\n};","import { createContext } from 'react';\nvar LocaleContext = /*#__PURE__*/createContext(undefined);\nexport default LocaleContext;","/* eslint-disable no-template-curly-in-string */\nimport Pagination from \"rc-pagination/es/locale/en_US\";\nimport Calendar from '../calendar/locale/en_US';\nimport DatePicker from '../date-picker/locale/en_US';\nimport TimePicker from '../time-picker/locale/en_US';\nvar typeTemplate = '${label} is not a valid ${type}';\nvar localeValues = {\n locale: 'en',\n Pagination: Pagination,\n DatePicker: DatePicker,\n TimePicker: TimePicker,\n Calendar: Calendar,\n global: {\n placeholder: 'Please select'\n },\n Table: {\n filterTitle: 'Filter menu',\n filterConfirm: 'OK',\n filterReset: 'Reset',\n filterEmptyText: 'No filters',\n filterCheckall: 'Select all items',\n filterSearchPlaceholder: 'Search in filters',\n emptyText: 'No data',\n selectAll: 'Select current page',\n selectInvert: 'Invert current page',\n selectNone: 'Clear all data',\n selectionAll: 'Select all data',\n sortTitle: 'Sort',\n expand: 'Expand row',\n collapse: 'Collapse row',\n triggerDesc: 'Click to sort descending',\n triggerAsc: 'Click to sort ascending',\n cancelSort: 'Click to cancel sorting'\n },\n Modal: {\n okText: 'OK',\n cancelText: 'Cancel',\n justOkText: 'OK'\n },\n Popconfirm: {\n okText: 'OK',\n cancelText: 'Cancel'\n },\n Transfer: {\n titles: ['', ''],\n searchPlaceholder: 'Search here',\n itemUnit: 'item',\n itemsUnit: 'items',\n remove: 'Remove',\n selectCurrent: 'Select current page',\n removeCurrent: 'Remove current page',\n selectAll: 'Select all data',\n removeAll: 'Remove all data',\n selectInvert: 'Invert current page'\n },\n Upload: {\n uploading: 'Uploading...',\n removeFile: 'Remove file',\n uploadError: 'Upload error',\n previewFile: 'Preview file',\n downloadFile: 'Download file'\n },\n Empty: {\n description: 'No data'\n },\n Icon: {\n icon: 'icon'\n },\n Text: {\n edit: 'Edit',\n copy: 'Copy',\n copied: 'Copied',\n expand: 'Expand'\n },\n PageHeader: {\n back: 'Back'\n },\n Form: {\n optional: '(optional)',\n defaultValidateMessages: {\n \"default\": 'Field validation error for ${label}',\n required: 'Please enter ${label}',\n \"enum\": '${label} must be one of [${enum}]',\n whitespace: '${label} cannot be a blank character',\n date: {\n format: '${label} date format is invalid',\n parse: '${label} cannot be converted to a date',\n invalid: '${label} is an invalid date'\n },\n types: {\n string: typeTemplate,\n method: typeTemplate,\n array: typeTemplate,\n object: typeTemplate,\n number: typeTemplate,\n date: typeTemplate,\n \"boolean\": typeTemplate,\n integer: typeTemplate,\n \"float\": typeTemplate,\n regexp: typeTemplate,\n email: typeTemplate,\n url: typeTemplate,\n hex: typeTemplate\n },\n string: {\n len: '${label} must be ${len} characters',\n min: '${label} must be at least ${min} characters',\n max: '${label} must be up to ${max} characters',\n range: '${label} must be between ${min}-${max} characters'\n },\n number: {\n len: '${label} must be equal to ${len}',\n min: '${label} must be minimum ${min}',\n max: '${label} must be maximum ${max}',\n range: '${label} must be between ${min}-${max}'\n },\n array: {\n len: 'Must be ${len} ${label}',\n min: 'At least ${min} ${label}',\n max: 'At most ${max} ${label}',\n range: 'The amount of ${label} must be between ${min}-${max}'\n },\n pattern: {\n mismatch: '${label} does not match the pattern ${pattern}'\n }\n }\n },\n Image: {\n preview: 'Preview'\n }\n};\nexport default localeValues;","var locale = {\n placeholder: 'Select time',\n rangePlaceholder: ['Start time', 'End time']\n};\nexport default locale;","import warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nexport var HOOK_MARK = 'RC_FORM_INTERNAL_HOOKS';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nvar warningFunc = function warningFunc() {\n warning(false, 'Can not find FormContext. Please make sure you wrap Field under Form.');\n};\nvar Context = /*#__PURE__*/React.createContext({\n getFieldValue: warningFunc,\n getFieldsValue: warningFunc,\n getFieldError: warningFunc,\n getFieldWarning: warningFunc,\n getFieldsError: warningFunc,\n isFieldsTouched: warningFunc,\n isFieldTouched: warningFunc,\n isFieldValidating: warningFunc,\n isFieldsValidating: warningFunc,\n resetFields: warningFunc,\n setFields: warningFunc,\n setFieldValue: warningFunc,\n setFieldsValue: warningFunc,\n validateFields: warningFunc,\n submit: warningFunc,\n getInternalHooks: function getInternalHooks() {\n warningFunc();\n return {\n dispatch: warningFunc,\n initEntityValue: warningFunc,\n registerField: warningFunc,\n useSubscribe: warningFunc,\n setInitialValues: warningFunc,\n destroyForm: warningFunc,\n setCallbacks: warningFunc,\n registerWatch: warningFunc,\n getFields: warningFunc,\n setValidateMessages: warningFunc,\n setPreserve: warningFunc,\n getInitialValue: warningFunc\n };\n }\n});\nexport default Context;","export function toArray(value) {\n if (value === undefined || value === null) {\n return [];\n }\n return Array.isArray(value) ? value : [value];\n}","function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n\n _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\n/* eslint no-console:0 */\nvar formatRegExp = /%[sdj%]/g;\nvar warning = function warning() {}; // don't print warning message when in production env or node runtime\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {\n warning = function warning(type, errors) {\n if (typeof console !== 'undefined' && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === 'undefined') {\n if (errors.every(function (e) {\n return typeof e === 'string';\n })) {\n console.warn(type, errors);\n }\n }\n };\n}\n\nfunction convertFieldsError(errors) {\n if (!errors || !errors.length) return null;\n var fields = {};\n errors.forEach(function (error) {\n var field = error.field;\n fields[field] = fields[field] || [];\n fields[field].push(error);\n });\n return fields;\n}\nfunction format(template) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var i = 0;\n var len = args.length;\n\n if (typeof template === 'function') {\n return template.apply(null, args);\n }\n\n if (typeof template === 'string') {\n var str = template.replace(formatRegExp, function (x) {\n if (x === '%%') {\n return '%';\n }\n\n if (i >= len) {\n return x;\n }\n\n switch (x) {\n case '%s':\n return String(args[i++]);\n\n case '%d':\n return Number(args[i++]);\n\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n\n break;\n\n default:\n return x;\n }\n });\n return str;\n }\n\n return template;\n}\n\nfunction isNativeStringType(type) {\n return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'date' || type === 'pattern';\n}\n\nfunction isEmptyValue(value, type) {\n if (value === undefined || value === null) {\n return true;\n }\n\n if (type === 'array' && Array.isArray(value) && !value.length) {\n return true;\n }\n\n if (isNativeStringType(type) && typeof value === 'string' && !value) {\n return true;\n }\n\n return false;\n}\n\nfunction asyncParallelArray(arr, func, callback) {\n var results = [];\n var total = 0;\n var arrLength = arr.length;\n\n function count(errors) {\n results.push.apply(results, errors || []);\n total++;\n\n if (total === arrLength) {\n callback(results);\n }\n }\n\n arr.forEach(function (a) {\n func(a, count);\n });\n}\n\nfunction asyncSerialArray(arr, func, callback) {\n var index = 0;\n var arrLength = arr.length;\n\n function next(errors) {\n if (errors && errors.length) {\n callback(errors);\n return;\n }\n\n var original = index;\n index = index + 1;\n\n if (original < arrLength) {\n func(arr[original], next);\n } else {\n callback([]);\n }\n }\n\n next([]);\n}\n\nfunction flattenObjArr(objArr) {\n var ret = [];\n Object.keys(objArr).forEach(function (k) {\n ret.push.apply(ret, objArr[k] || []);\n });\n return ret;\n}\n\nvar AsyncValidationError = /*#__PURE__*/function (_Error) {\n _inheritsLoose(AsyncValidationError, _Error);\n\n function AsyncValidationError(errors, fields) {\n var _this;\n\n _this = _Error.call(this, 'Async Validation Error') || this;\n _this.errors = errors;\n _this.fields = fields;\n return _this;\n }\n\n return AsyncValidationError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\nfunction asyncMap(objArr, option, func, callback, source) {\n if (option.first) {\n var _pending = new Promise(function (resolve, reject) {\n var next = function next(errors) {\n callback(errors);\n return errors.length ? reject(new AsyncValidationError(errors, convertFieldsError(errors))) : resolve(source);\n };\n\n var flattenArr = flattenObjArr(objArr);\n asyncSerialArray(flattenArr, func, next);\n });\n\n _pending[\"catch\"](function (e) {\n return e;\n });\n\n return _pending;\n }\n\n var firstFields = option.firstFields === true ? Object.keys(objArr) : option.firstFields || [];\n var objArrKeys = Object.keys(objArr);\n var objArrLength = objArrKeys.length;\n var total = 0;\n var results = [];\n var pending = new Promise(function (resolve, reject) {\n var next = function next(errors) {\n results.push.apply(results, errors);\n total++;\n\n if (total === objArrLength) {\n callback(results);\n return results.length ? reject(new AsyncValidationError(results, convertFieldsError(results))) : resolve(source);\n }\n };\n\n if (!objArrKeys.length) {\n callback(results);\n resolve(source);\n }\n\n objArrKeys.forEach(function (key) {\n var arr = objArr[key];\n\n if (firstFields.indexOf(key) !== -1) {\n asyncSerialArray(arr, func, next);\n } else {\n asyncParallelArray(arr, func, next);\n }\n });\n });\n pending[\"catch\"](function (e) {\n return e;\n });\n return pending;\n}\n\nfunction isErrorObj(obj) {\n return !!(obj && obj.message !== undefined);\n}\n\nfunction getValue(value, path) {\n var v = value;\n\n for (var i = 0; i < path.length; i++) {\n if (v == undefined) {\n return v;\n }\n\n v = v[path[i]];\n }\n\n return v;\n}\n\nfunction complementError(rule, source) {\n return function (oe) {\n var fieldValue;\n\n if (rule.fullFields) {\n fieldValue = getValue(source, rule.fullFields);\n } else {\n fieldValue = source[oe.field || rule.fullField];\n }\n\n if (isErrorObj(oe)) {\n oe.field = oe.field || rule.fullField;\n oe.fieldValue = fieldValue;\n return oe;\n }\n\n return {\n message: typeof oe === 'function' ? oe() : oe,\n fieldValue: fieldValue,\n field: oe.field || rule.fullField\n };\n };\n}\nfunction deepMerge(target, source) {\n if (source) {\n for (var s in source) {\n if (source.hasOwnProperty(s)) {\n var value = source[s];\n\n if (typeof value === 'object' && typeof target[s] === 'object') {\n target[s] = _extends({}, target[s], value);\n } else {\n target[s] = value;\n }\n }\n }\n }\n\n return target;\n}\n\nvar required$1 = function required(rule, value, source, errors, options, type) {\n if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {\n errors.push(format(options.messages.required, rule.fullField));\n }\n};\n\n/**\n * Rule for validating whitespace.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nvar whitespace = function whitespace(rule, value, source, errors, options) {\n if (/^\\s+$/.test(value) || value === '') {\n errors.push(format(options.messages.whitespace, rule.fullField));\n }\n};\n\n// https://github.com/kevva/url-regex/blob/master/index.js\nvar urlReg;\nvar getUrlRegex = (function () {\n if (urlReg) {\n return urlReg;\n }\n\n var word = '[a-fA-F\\\\d:]';\n\n var b = function b(options) {\n return options && options.includeBoundaries ? \"(?:(?<=\\\\s|^)(?=\" + word + \")|(?<=\" + word + \")(?=\\\\s|$))\" : '';\n };\n\n var v4 = '(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}';\n var v6seg = '[a-fA-F\\\\d]{1,4}';\n var v6 = (\"\\n(?:\\n(?:\" + v6seg + \":){7}(?:\" + v6seg + \"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\\n(?:\" + v6seg + \":){6}(?:\" + v4 + \"|:\" + v6seg + \"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\\n(?:\" + v6seg + \":){5}(?::\" + v4 + \"|(?::\" + v6seg + \"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\\n(?:\" + v6seg + \":){4}(?:(?::\" + v6seg + \"){0,1}:\" + v4 + \"|(?::\" + v6seg + \"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\\n(?:\" + v6seg + \":){3}(?:(?::\" + v6seg + \"){0,2}:\" + v4 + \"|(?::\" + v6seg + \"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){2}(?:(?::\" + v6seg + \"){0,3}:\" + v4 + \"|(?::\" + v6seg + \"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){1}(?:(?::\" + v6seg + \"){0,4}:\" + v4 + \"|(?::\" + v6seg + \"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\\n(?::(?:(?::\" + v6seg + \"){0,5}:\" + v4 + \"|(?::\" + v6seg + \"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\\n\").replace(/\\s*\\/\\/.*$/gm, '').replace(/\\n/g, '').trim(); // Pre-compile only the exact regexes because adding a global flag make regexes stateful\n\n var v46Exact = new RegExp(\"(?:^\" + v4 + \"$)|(?:^\" + v6 + \"$)\");\n var v4exact = new RegExp(\"^\" + v4 + \"$\");\n var v6exact = new RegExp(\"^\" + v6 + \"$\");\n\n var ip = function ip(options) {\n return options && options.exact ? v46Exact : new RegExp(\"(?:\" + b(options) + v4 + b(options) + \")|(?:\" + b(options) + v6 + b(options) + \")\", 'g');\n };\n\n ip.v4 = function (options) {\n return options && options.exact ? v4exact : new RegExp(\"\" + b(options) + v4 + b(options), 'g');\n };\n\n ip.v6 = function (options) {\n return options && options.exact ? v6exact : new RegExp(\"\" + b(options) + v6 + b(options), 'g');\n };\n\n var protocol = \"(?:(?:[a-z]+:)?//)\";\n var auth = '(?:\\\\S+(?::\\\\S*)?@)?';\n var ipv4 = ip.v4().source;\n var ipv6 = ip.v6().source;\n var host = \"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\";\n var domain = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\";\n var tld = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\";\n var port = '(?::\\\\d{2,5})?';\n var path = '(?:[/?#][^\\\\s\"]*)?';\n var regex = \"(?:\" + protocol + \"|www\\\\.)\" + auth + \"(?:localhost|\" + ipv4 + \"|\" + ipv6 + \"|\" + host + domain + tld + \")\" + port + path;\n urlReg = new RegExp(\"(?:^\" + regex + \"$)\", 'i');\n return urlReg;\n});\n\n/* eslint max-len:0 */\n\nvar pattern$2 = {\n // http://emailregex.com/\n email: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+\\.)+[a-zA-Z\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}))$/,\n // url: new RegExp(\n // '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\\\S+(?::\\\\S*)?@)?(?:(?:(?:[1-9]\\\\d?|1\\\\d\\\\d|2[01]\\\\d|22[0-3])(?:\\\\.(?:1?\\\\d{1,2}|2[0-4]\\\\d|25[0-5])){2}(?:\\\\.(?:[0-9]\\\\d?|1\\\\d\\\\d|2[0-4]\\\\d|25[0-4]))|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,})))|localhost)(?::\\\\d{2,5})?(?:(/|\\\\?|#)[^\\\\s]*)?$',\n // 'i',\n // ),\n hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i\n};\nvar types = {\n integer: function integer(value) {\n return types.number(value) && parseInt(value, 10) === value;\n },\n \"float\": function float(value) {\n return types.number(value) && !types.integer(value);\n },\n array: function array(value) {\n return Array.isArray(value);\n },\n regexp: function regexp(value) {\n if (value instanceof RegExp) {\n return true;\n }\n\n try {\n return !!new RegExp(value);\n } catch (e) {\n return false;\n }\n },\n date: function date(value) {\n return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function' && !isNaN(value.getTime());\n },\n number: function number(value) {\n if (isNaN(value)) {\n return false;\n }\n\n return typeof value === 'number';\n },\n object: function object(value) {\n return typeof value === 'object' && !types.array(value);\n },\n method: function method(value) {\n return typeof value === 'function';\n },\n email: function email(value) {\n return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email);\n },\n url: function url(value) {\n return typeof value === 'string' && value.length <= 2048 && !!value.match(getUrlRegex());\n },\n hex: function hex(value) {\n return typeof value === 'string' && !!value.match(pattern$2.hex);\n }\n};\n\nvar type$1 = function type(rule, value, source, errors, options) {\n if (rule.required && value === undefined) {\n required$1(rule, value, source, errors, options);\n return;\n }\n\n var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];\n var ruleType = rule.type;\n\n if (custom.indexOf(ruleType) > -1) {\n if (!types[ruleType](value)) {\n errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n } // straight typeof check\n\n } else if (ruleType && typeof value !== rule.type) {\n errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n }\n};\n\nvar range = function range(rule, value, source, errors, options) {\n var len = typeof rule.len === 'number';\n var min = typeof rule.min === 'number';\n var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)\n\n var spRegexp = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n var val = value;\n var key = null;\n var num = typeof value === 'number';\n var str = typeof value === 'string';\n var arr = Array.isArray(value);\n\n if (num) {\n key = 'number';\n } else if (str) {\n key = 'string';\n } else if (arr) {\n key = 'array';\n } // if the value is not of a supported type for range validation\n // the validation rule rule should use the\n // type property to also test for a particular type\n\n\n if (!key) {\n return false;\n }\n\n if (arr) {\n val = value.length;\n }\n\n if (str) {\n // 处理码点大于U+010000的文字length属性不准确的bug,如\"𠮷𠮷𠮷\".lenght !== 3\n val = value.replace(spRegexp, '_').length;\n }\n\n if (len) {\n if (val !== rule.len) {\n errors.push(format(options.messages[key].len, rule.fullField, rule.len));\n }\n } else if (min && !max && val < rule.min) {\n errors.push(format(options.messages[key].min, rule.fullField, rule.min));\n } else if (max && !min && val > rule.max) {\n errors.push(format(options.messages[key].max, rule.fullField, rule.max));\n } else if (min && max && (val < rule.min || val > rule.max)) {\n errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));\n }\n};\n\nvar ENUM$1 = 'enum';\n\nvar enumerable$1 = function enumerable(rule, value, source, errors, options) {\n rule[ENUM$1] = Array.isArray(rule[ENUM$1]) ? rule[ENUM$1] : [];\n\n if (rule[ENUM$1].indexOf(value) === -1) {\n errors.push(format(options.messages[ENUM$1], rule.fullField, rule[ENUM$1].join(', ')));\n }\n};\n\nvar pattern$1 = function pattern(rule, value, source, errors, options) {\n if (rule.pattern) {\n if (rule.pattern instanceof RegExp) {\n // if a RegExp instance is passed, reset `lastIndex` in case its `global`\n // flag is accidentally set to `true`, which in a validation scenario\n // is not necessary and the result might be misleading\n rule.pattern.lastIndex = 0;\n\n if (!rule.pattern.test(value)) {\n errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n } else if (typeof rule.pattern === 'string') {\n var _pattern = new RegExp(rule.pattern);\n\n if (!_pattern.test(value)) {\n errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n }\n }\n};\n\nvar rules = {\n required: required$1,\n whitespace: whitespace,\n type: type$1,\n range: range,\n \"enum\": enumerable$1,\n pattern: pattern$1\n};\n\nvar string = function string(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'string');\n\n if (!isEmptyValue(value, 'string')) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n rules.pattern(rule, value, source, errors, options);\n\n if (rule.whitespace === true) {\n rules.whitespace(rule, value, source, errors, options);\n }\n }\n }\n\n callback(errors);\n};\n\nvar method = function method(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar number = function number(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (value === '') {\n value = undefined;\n }\n\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar _boolean = function _boolean(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar regexp = function regexp(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar integer = function integer(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar floatFn = function floatFn(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar array = function array(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if ((value === undefined || value === null) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'array');\n\n if (value !== undefined && value !== null) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar object = function object(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar ENUM = 'enum';\n\nvar enumerable = function enumerable(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules[ENUM](rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar pattern = function pattern(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value, 'string')) {\n rules.pattern(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar date = function date(rule, value, callback, source, options) {\n // console.log('integer rule called %j', rule);\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value);\n\n if (validate) {\n if (isEmptyValue(value, 'date') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value, 'date')) {\n var dateObject;\n\n if (value instanceof Date) {\n dateObject = value;\n } else {\n dateObject = new Date(value);\n }\n\n rules.type(rule, dateObject, source, errors, options);\n\n if (dateObject) {\n rules.range(rule, dateObject.getTime(), source, errors, options);\n }\n }\n }\n\n callback(errors);\n};\n\nvar required = function required(rule, value, callback, source, options) {\n var errors = [];\n var type = Array.isArray(value) ? 'array' : typeof value;\n rules.required(rule, value, source, errors, options, type);\n callback(errors);\n};\n\nvar type = function type(rule, value, callback, source, options) {\n var ruleType = rule.type;\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, ruleType) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, ruleType);\n\n if (!isEmptyValue(value, ruleType)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar any = function any(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n }\n\n callback(errors);\n};\n\nvar validators = {\n string: string,\n method: method,\n number: number,\n \"boolean\": _boolean,\n regexp: regexp,\n integer: integer,\n \"float\": floatFn,\n array: array,\n object: object,\n \"enum\": enumerable,\n pattern: pattern,\n date: date,\n url: type,\n hex: type,\n email: type,\n required: required,\n any: any\n};\n\nfunction newMessages() {\n return {\n \"default\": 'Validation error on field %s',\n required: '%s is required',\n \"enum\": '%s must be one of %s',\n whitespace: '%s cannot be empty',\n date: {\n format: '%s date %s is invalid for format %s',\n parse: '%s date could not be parsed, %s is invalid ',\n invalid: '%s date %s is invalid'\n },\n types: {\n string: '%s is not a %s',\n method: '%s is not a %s (function)',\n array: '%s is not an %s',\n object: '%s is not an %s',\n number: '%s is not a %s',\n date: '%s is not a %s',\n \"boolean\": '%s is not a %s',\n integer: '%s is not an %s',\n \"float\": '%s is not a %s',\n regexp: '%s is not a valid %s',\n email: '%s is not a valid %s',\n url: '%s is not a valid %s',\n hex: '%s is not a valid %s'\n },\n string: {\n len: '%s must be exactly %s characters',\n min: '%s must be at least %s characters',\n max: '%s cannot be longer than %s characters',\n range: '%s must be between %s and %s characters'\n },\n number: {\n len: '%s must equal %s',\n min: '%s cannot be less than %s',\n max: '%s cannot be greater than %s',\n range: '%s must be between %s and %s'\n },\n array: {\n len: '%s must be exactly %s in length',\n min: '%s cannot be less than %s in length',\n max: '%s cannot be greater than %s in length',\n range: '%s must be between %s and %s in length'\n },\n pattern: {\n mismatch: '%s value %s does not match pattern %s'\n },\n clone: function clone() {\n var cloned = JSON.parse(JSON.stringify(this));\n cloned.clone = this.clone;\n return cloned;\n }\n };\n}\nvar messages = newMessages();\n\n/**\n * Encapsulates a validation schema.\n *\n * @param descriptor An object declaring validation rules\n * for this schema.\n */\n\nvar Schema = /*#__PURE__*/function () {\n // ========================= Static =========================\n // ======================== Instance ========================\n function Schema(descriptor) {\n this.rules = null;\n this._messages = messages;\n this.define(descriptor);\n }\n\n var _proto = Schema.prototype;\n\n _proto.define = function define(rules) {\n var _this = this;\n\n if (!rules) {\n throw new Error('Cannot configure a schema with no rules');\n }\n\n if (typeof rules !== 'object' || Array.isArray(rules)) {\n throw new Error('Rules must be an object');\n }\n\n this.rules = {};\n Object.keys(rules).forEach(function (name) {\n var item = rules[name];\n _this.rules[name] = Array.isArray(item) ? item : [item];\n });\n };\n\n _proto.messages = function messages(_messages) {\n if (_messages) {\n this._messages = deepMerge(newMessages(), _messages);\n }\n\n return this._messages;\n };\n\n _proto.validate = function validate(source_, o, oc) {\n var _this2 = this;\n\n if (o === void 0) {\n o = {};\n }\n\n if (oc === void 0) {\n oc = function oc() {};\n }\n\n var source = source_;\n var options = o;\n var callback = oc;\n\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n if (!this.rules || Object.keys(this.rules).length === 0) {\n if (callback) {\n callback(null, source);\n }\n\n return Promise.resolve(source);\n }\n\n function complete(results) {\n var errors = [];\n var fields = {};\n\n function add(e) {\n if (Array.isArray(e)) {\n var _errors;\n\n errors = (_errors = errors).concat.apply(_errors, e);\n } else {\n errors.push(e);\n }\n }\n\n for (var i = 0; i < results.length; i++) {\n add(results[i]);\n }\n\n if (!errors.length) {\n callback(null, source);\n } else {\n fields = convertFieldsError(errors);\n callback(errors, fields);\n }\n }\n\n if (options.messages) {\n var messages$1 = this.messages();\n\n if (messages$1 === messages) {\n messages$1 = newMessages();\n }\n\n deepMerge(messages$1, options.messages);\n options.messages = messages$1;\n } else {\n options.messages = this.messages();\n }\n\n var series = {};\n var keys = options.keys || Object.keys(this.rules);\n keys.forEach(function (z) {\n var arr = _this2.rules[z];\n var value = source[z];\n arr.forEach(function (r) {\n var rule = r;\n\n if (typeof rule.transform === 'function') {\n if (source === source_) {\n source = _extends({}, source);\n }\n\n value = source[z] = rule.transform(value);\n }\n\n if (typeof rule === 'function') {\n rule = {\n validator: rule\n };\n } else {\n rule = _extends({}, rule);\n } // Fill validator. Skip if nothing need to validate\n\n\n rule.validator = _this2.getValidationMethod(rule);\n\n if (!rule.validator) {\n return;\n }\n\n rule.field = z;\n rule.fullField = rule.fullField || z;\n rule.type = _this2.getType(rule);\n series[z] = series[z] || [];\n series[z].push({\n rule: rule,\n value: value,\n source: source,\n field: z\n });\n });\n });\n var errorFields = {};\n return asyncMap(series, options, function (data, doIt) {\n var rule = data.rule;\n var deep = (rule.type === 'object' || rule.type === 'array') && (typeof rule.fields === 'object' || typeof rule.defaultField === 'object');\n deep = deep && (rule.required || !rule.required && data.value);\n rule.field = data.field;\n\n function addFullField(key, schema) {\n return _extends({}, schema, {\n fullField: rule.fullField + \".\" + key,\n fullFields: rule.fullFields ? [].concat(rule.fullFields, [key]) : [key]\n });\n }\n\n function cb(e) {\n if (e === void 0) {\n e = [];\n }\n\n var errorList = Array.isArray(e) ? e : [e];\n\n if (!options.suppressWarning && errorList.length) {\n Schema.warning('async-validator:', errorList);\n }\n\n if (errorList.length && rule.message !== undefined) {\n errorList = [].concat(rule.message);\n } // Fill error info\n\n\n var filledErrors = errorList.map(complementError(rule, source));\n\n if (options.first && filledErrors.length) {\n errorFields[rule.field] = 1;\n return doIt(filledErrors);\n }\n\n if (!deep) {\n doIt(filledErrors);\n } else {\n // if rule is required but the target object\n // does not exist fail at the rule level and don't\n // go deeper\n if (rule.required && !data.value) {\n if (rule.message !== undefined) {\n filledErrors = [].concat(rule.message).map(complementError(rule, source));\n } else if (options.error) {\n filledErrors = [options.error(rule, format(options.messages.required, rule.field))];\n }\n\n return doIt(filledErrors);\n }\n\n var fieldsSchema = {};\n\n if (rule.defaultField) {\n Object.keys(data.value).map(function (key) {\n fieldsSchema[key] = rule.defaultField;\n });\n }\n\n fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);\n var paredFieldsSchema = {};\n Object.keys(fieldsSchema).forEach(function (field) {\n var fieldSchema = fieldsSchema[field];\n var fieldSchemaList = Array.isArray(fieldSchema) ? fieldSchema : [fieldSchema];\n paredFieldsSchema[field] = fieldSchemaList.map(addFullField.bind(null, field));\n });\n var schema = new Schema(paredFieldsSchema);\n schema.messages(options.messages);\n\n if (data.rule.options) {\n data.rule.options.messages = options.messages;\n data.rule.options.error = options.error;\n }\n\n schema.validate(data.value, data.rule.options || options, function (errs) {\n var finalErrors = [];\n\n if (filledErrors && filledErrors.length) {\n finalErrors.push.apply(finalErrors, filledErrors);\n }\n\n if (errs && errs.length) {\n finalErrors.push.apply(finalErrors, errs);\n }\n\n doIt(finalErrors.length ? finalErrors : null);\n });\n }\n }\n\n var res;\n\n if (rule.asyncValidator) {\n res = rule.asyncValidator(rule, data.value, cb, data.source, options);\n } else if (rule.validator) {\n try {\n res = rule.validator(rule, data.value, cb, data.source, options);\n } catch (error) {\n console.error == null ? void 0 : console.error(error); // rethrow to report error\n\n if (!options.suppressValidatorError) {\n setTimeout(function () {\n throw error;\n }, 0);\n }\n\n cb(error.message);\n }\n\n if (res === true) {\n cb();\n } else if (res === false) {\n cb(typeof rule.message === 'function' ? rule.message(rule.fullField || rule.field) : rule.message || (rule.fullField || rule.field) + \" fails\");\n } else if (res instanceof Array) {\n cb(res);\n } else if (res instanceof Error) {\n cb(res.message);\n }\n }\n\n if (res && res.then) {\n res.then(function () {\n return cb();\n }, function (e) {\n return cb(e);\n });\n }\n }, function (results) {\n complete(results);\n }, source);\n };\n\n _proto.getType = function getType(rule) {\n if (rule.type === undefined && rule.pattern instanceof RegExp) {\n rule.type = 'pattern';\n }\n\n if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {\n throw new Error(format('Unknown rule type %s', rule.type));\n }\n\n return rule.type || 'string';\n };\n\n _proto.getValidationMethod = function getValidationMethod(rule) {\n if (typeof rule.validator === 'function') {\n return rule.validator;\n }\n\n var keys = Object.keys(rule);\n var messageIndex = keys.indexOf('message');\n\n if (messageIndex !== -1) {\n keys.splice(messageIndex, 1);\n }\n\n if (keys.length === 1 && keys[0] === 'required') {\n return validators.required;\n }\n\n return validators[this.getType(rule)] || undefined;\n };\n\n return Schema;\n}();\n\nSchema.register = function register(type, validator) {\n if (typeof validator !== 'function') {\n throw new Error('Cannot register a validator by type, validator is not a function');\n }\n\n validators[type] = validator;\n};\n\nSchema.warning = warning;\nSchema.messages = messages;\nSchema.validators = validators;\n\nexport { Schema as default };\n//# sourceMappingURL=index.js.map\n","var typeTemplate = \"'${name}' is not a valid ${type}\";\nexport var defaultValidateMessages = {\n default: \"Validation error on field '${name}'\",\n required: \"'${name}' is required\",\n enum: \"'${name}' must be one of [${enum}]\",\n whitespace: \"'${name}' cannot be empty\",\n date: {\n format: \"'${name}' is invalid for format date\",\n parse: \"'${name}' could not be parsed as date\",\n invalid: \"'${name}' is invalid date\"\n },\n types: {\n string: typeTemplate,\n method: typeTemplate,\n array: typeTemplate,\n object: typeTemplate,\n number: typeTemplate,\n date: typeTemplate,\n boolean: typeTemplate,\n integer: typeTemplate,\n float: typeTemplate,\n regexp: typeTemplate,\n email: typeTemplate,\n url: typeTemplate,\n hex: typeTemplate\n },\n string: {\n len: \"'${name}' must be exactly ${len} characters\",\n min: \"'${name}' must be at least ${min} characters\",\n max: \"'${name}' cannot be longer than ${max} characters\",\n range: \"'${name}' must be between ${min} and ${max} characters\"\n },\n number: {\n len: \"'${name}' must equal ${len}\",\n min: \"'${name}' cannot be less than ${min}\",\n max: \"'${name}' cannot be greater than ${max}\",\n range: \"'${name}' must be between ${min} and ${max}\"\n },\n array: {\n len: \"'${name}' must be exactly ${len} in length\",\n min: \"'${name}' cannot be less than ${min} in length\",\n max: \"'${name}' cannot be greater than ${max} in length\",\n range: \"'${name}' must be between ${min} and ${max} in length\"\n },\n pattern: {\n mismatch: \"'${name}' does not match pattern ${pattern}\"\n }\n};","export default function get(entity, path) {\n var current = entity;\n for (var i = 0; i < path.length; i += 1) {\n if (current === null || current === undefined) {\n return undefined;\n }\n current = current[path[i]];\n }\n return current;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport get from './get';\nfunction internalSet(entity, paths, value, removeIfUndefined) {\n if (!paths.length) {\n return value;\n }\n var _paths = _toArray(paths),\n path = _paths[0],\n restPath = _paths.slice(1);\n var clone;\n if (!entity && typeof path === 'number') {\n clone = [];\n } else if (Array.isArray(entity)) {\n clone = _toConsumableArray(entity);\n } else {\n clone = _objectSpread({}, entity);\n }\n // Delete prop if `removeIfUndefined` and value is undefined\n if (removeIfUndefined && value === undefined && restPath.length === 1) {\n delete clone[path][restPath[0]];\n } else {\n clone[path] = internalSet(clone[path], restPath, value, removeIfUndefined);\n }\n return clone;\n}\nexport default function set(entity, paths, value) {\n var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n // Do nothing if `removeIfUndefined` and parent object not exist\n if (paths.length && removeIfUndefined && value === undefined && !get(entity, paths.slice(0, -1))) {\n return entity;\n }\n return internalSet(entity, paths, value, removeIfUndefined);\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nfunction cloneDeep(val) {\n if (Array.isArray(val)) {\n return cloneArrayDeep(val);\n } else if (_typeof(val) === 'object' && val !== null) {\n return cloneObjectDeep(val);\n }\n return val;\n}\nfunction cloneObjectDeep(val) {\n if (Object.getPrototypeOf(val) === Object.prototype) {\n var res = {};\n for (var key in val) {\n res[key] = cloneDeep(val[key]);\n }\n return res;\n }\n return val;\n}\nfunction cloneArrayDeep(val) {\n return val.map(function (item) {\n return cloneDeep(item);\n });\n}\nexport default cloneDeep;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport get from \"rc-util/es/utils/get\";\nimport set from \"rc-util/es/utils/set\";\nimport { toArray } from './typeUtil';\nimport cloneDeep from '../utils/cloneDeep';\n/**\n * Convert name to internal supported format.\n * This function should keep since we still thinking if need support like `a.b.c` format.\n * 'a' => ['a']\n * 123 => [123]\n * ['a', 123] => ['a', 123]\n */\nexport function getNamePath(path) {\n return toArray(path);\n}\nexport function getValue(store, namePath) {\n var value = get(store, namePath);\n return value;\n}\nexport function setValue(store, namePath, value) {\n var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var newStore = set(store, namePath, value, removeIfUndefined);\n return newStore;\n}\nexport function cloneByNamePathList(store, namePathList) {\n var newStore = {};\n namePathList.forEach(function (namePath) {\n var value = getValue(store, namePath);\n newStore = setValue(newStore, namePath, value);\n });\n return newStore;\n}\nexport function containsNamePath(namePathList, namePath) {\n return namePathList && namePathList.some(function (path) {\n return matchNamePath(path, namePath);\n });\n}\nfunction isObject(obj) {\n return _typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;\n}\n/**\n * Copy values into store and return a new values object\n * ({ a: 1, b: { c: 2 } }, { a: 4, b: { d: 5 } }) => { a: 4, b: { c: 2, d: 5 } }\n */\nfunction internalSetValues(store, values) {\n var newStore = Array.isArray(store) ? _toConsumableArray(store) : _objectSpread({}, store);\n if (!values) {\n return newStore;\n }\n Object.keys(values).forEach(function (key) {\n var prevValue = newStore[key];\n var value = values[key];\n // If both are object (but target is not array), we use recursion to set deep value\n var recursive = isObject(prevValue) && isObject(value);\n newStore[key] = recursive ? internalSetValues(prevValue, value || {}) : cloneDeep(value); // Clone deep for arrays\n });\n\n return newStore;\n}\nexport function setValues(store) {\n for (var _len = arguments.length, restValues = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n restValues[_key - 1] = arguments[_key];\n }\n return restValues.reduce(function (current, newStore) {\n return internalSetValues(current, newStore);\n }, store);\n}\nexport function matchNamePath(namePath, changedNamePath) {\n if (!namePath || !changedNamePath || namePath.length !== changedNamePath.length) {\n return false;\n }\n return namePath.every(function (nameUnit, i) {\n return changedNamePath[i] === nameUnit;\n });\n}\nexport function isSimilar(source, target) {\n if (source === target) {\n return true;\n }\n if (!source && target || source && !target) {\n return false;\n }\n if (!source || !target || _typeof(source) !== 'object' || _typeof(target) !== 'object') {\n return false;\n }\n var sourceKeys = Object.keys(source);\n var targetKeys = Object.keys(target);\n var keys = new Set([].concat(sourceKeys, targetKeys));\n return _toConsumableArray(keys).every(function (key) {\n var sourceValue = source[key];\n var targetValue = target[key];\n if (typeof sourceValue === 'function' && typeof targetValue === 'function') {\n return true;\n }\n return sourceValue === targetValue;\n });\n}\nexport function defaultGetValueFromEvent(valuePropName) {\n var event = arguments.length <= 1 ? undefined : arguments[1];\n if (event && event.target && _typeof(event.target) === 'object' && valuePropName in event.target) {\n return event.target[valuePropName];\n }\n return event;\n}\n/**\n * Moves an array item from one position in an array to another.\n *\n * Note: This is a pure function so a new array will be returned, instead\n * of altering the array argument.\n *\n * @param array Array in which to move an item. (required)\n * @param moveIndex The index of the item to move. (required)\n * @param toIndex The index to move item at moveIndex to. (required)\n */\nexport function move(array, moveIndex, toIndex) {\n var length = array.length;\n if (moveIndex < 0 || moveIndex >= length || toIndex < 0 || toIndex >= length) {\n return array;\n }\n var item = array[moveIndex];\n var diff = moveIndex - toIndex;\n if (diff > 0) {\n // move left\n return [].concat(_toConsumableArray(array.slice(0, toIndex)), [item], _toConsumableArray(array.slice(toIndex, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, length)));\n }\n if (diff < 0) {\n // move right\n return [].concat(_toConsumableArray(array.slice(0, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], _toConsumableArray(array.slice(toIndex + 1, length)));\n }\n return array;\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport RawAsyncValidator from 'async-validator';\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\";\nimport { defaultValidateMessages } from './messages';\nimport { setValues } from './valueUtil';\n// Remove incorrect original ts define\nvar AsyncValidator = RawAsyncValidator;\n/**\n * Replace with template.\n * `I'm ${name}` + { name: 'bamboo' } = I'm bamboo\n */\nfunction replaceMessage(template, kv) {\n return template.replace(/\\$\\{\\w+\\}/g, function (str) {\n var key = str.slice(2, -1);\n return kv[key];\n });\n}\nvar CODE_LOGIC_ERROR = 'CODE_LOGIC_ERROR';\nfunction validateRule(_x, _x2, _x3, _x4, _x5) {\n return _validateRule.apply(this, arguments);\n}\n/**\n * We use `async-validator` to validate the value.\n * But only check one value in a time to avoid namePath validate issue.\n */\nfunction _validateRule() {\n _validateRule = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(name, value, rule, options, messageVariables) {\n var cloneRule, originValidator, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n cloneRule = _objectSpread({}, rule); // Bug of `async-validator`\n // https://github.com/react-component/field-form/issues/316\n // https://github.com/react-component/field-form/issues/313\n delete cloneRule.ruleIndex;\n if (cloneRule.validator) {\n originValidator = cloneRule.validator;\n cloneRule.validator = function () {\n try {\n return originValidator.apply(void 0, arguments);\n } catch (error) {\n console.error(error);\n return Promise.reject(CODE_LOGIC_ERROR);\n }\n };\n }\n // We should special handle array validate\n subRuleField = null;\n if (cloneRule && cloneRule.type === 'array' && cloneRule.defaultField) {\n subRuleField = cloneRule.defaultField;\n delete cloneRule.defaultField;\n }\n validator = new AsyncValidator(_defineProperty({}, name, [cloneRule]));\n messages = setValues({}, defaultValidateMessages, options.validateMessages);\n validator.messages(messages);\n result = [];\n _context2.prev = 9;\n _context2.next = 12;\n return Promise.resolve(validator.validate(_defineProperty({}, name, value), _objectSpread({}, options)));\n case 12:\n _context2.next = 17;\n break;\n case 14:\n _context2.prev = 14;\n _context2.t0 = _context2[\"catch\"](9);\n if (_context2.t0.errors) {\n result = _context2.t0.errors.map(function (_ref4, index) {\n var message = _ref4.message;\n var mergedMessage = message === CODE_LOGIC_ERROR ? messages.default : message;\n return /*#__PURE__*/React.isValidElement(mergedMessage) ?\n /*#__PURE__*/\n // Wrap ReactNode with `key`\n React.cloneElement(mergedMessage, {\n key: \"error_\".concat(index)\n }) : mergedMessage;\n });\n }\n case 17:\n if (!(!result.length && subRuleField)) {\n _context2.next = 22;\n break;\n }\n _context2.next = 20;\n return Promise.all(value.map(function (subValue, i) {\n return validateRule(\"\".concat(name, \".\").concat(i), subValue, subRuleField, options, messageVariables);\n }));\n case 20:\n subResults = _context2.sent;\n return _context2.abrupt(\"return\", subResults.reduce(function (prev, errors) {\n return [].concat(_toConsumableArray(prev), _toConsumableArray(errors));\n }, []));\n case 22:\n // Replace message with variables\n kv = _objectSpread(_objectSpread({}, rule), {}, {\n name: name,\n enum: (rule.enum || []).join(', ')\n }, messageVariables);\n fillVariableResult = result.map(function (error) {\n if (typeof error === 'string') {\n return replaceMessage(error, kv);\n }\n return error;\n });\n return _context2.abrupt(\"return\", fillVariableResult);\n case 25:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[9, 14]]);\n }));\n return _validateRule.apply(this, arguments);\n}\nexport function validateRules(namePath, value, rules, options, validateFirst, messageVariables) {\n var name = namePath.join('.');\n // Fill rule with context\n var filledRules = rules.map(function (currentRule, ruleIndex) {\n var originValidatorFunc = currentRule.validator;\n var cloneRule = _objectSpread(_objectSpread({}, currentRule), {}, {\n ruleIndex: ruleIndex\n });\n // Replace validator if needed\n if (originValidatorFunc) {\n cloneRule.validator = function (rule, val, callback) {\n var hasPromise = false;\n // Wrap callback only accept when promise not provided\n var wrappedCallback = function wrappedCallback() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n // Wait a tick to make sure return type is a promise\n Promise.resolve().then(function () {\n warning(!hasPromise, 'Your validator function has already return a promise. `callback` will be ignored.');\n if (!hasPromise) {\n callback.apply(void 0, args);\n }\n });\n };\n // Get promise\n var promise = originValidatorFunc(rule, val, wrappedCallback);\n hasPromise = promise && typeof promise.then === 'function' && typeof promise.catch === 'function';\n /**\n * 1. Use promise as the first priority.\n * 2. If promise not exist, use callback with warning instead\n */\n warning(hasPromise, '`callback` is deprecated. Please return a promise instead.');\n if (hasPromise) {\n promise.then(function () {\n callback();\n }).catch(function (err) {\n callback(err || ' ');\n });\n }\n };\n }\n return cloneRule;\n }).sort(function (_ref, _ref2) {\n var w1 = _ref.warningOnly,\n i1 = _ref.ruleIndex;\n var w2 = _ref2.warningOnly,\n i2 = _ref2.ruleIndex;\n if (!!w1 === !!w2) {\n // Let keep origin order\n return i1 - i2;\n }\n if (w1) {\n return 1;\n }\n return -1;\n });\n // Do validate rules\n var summaryPromise;\n if (validateFirst === true) {\n // >>>>> Validate by serialization\n summaryPromise = new Promise( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {\n var i, rule, errors;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n i = 0;\n case 1:\n if (!(i < filledRules.length)) {\n _context.next = 12;\n break;\n }\n rule = filledRules[i];\n _context.next = 5;\n return validateRule(name, value, rule, options, messageVariables);\n case 5:\n errors = _context.sent;\n if (!errors.length) {\n _context.next = 9;\n break;\n }\n reject([{\n errors: errors,\n rule: rule\n }]);\n return _context.abrupt(\"return\");\n case 9:\n i += 1;\n _context.next = 1;\n break;\n case 12:\n /* eslint-enable */\n resolve([]);\n case 13:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return function (_x6, _x7) {\n return _ref3.apply(this, arguments);\n };\n }());\n } else {\n // >>>>> Validate by parallel\n var rulePromises = filledRules.map(function (rule) {\n return validateRule(name, value, rule, options, messageVariables).then(function (errors) {\n return {\n errors: errors,\n rule: rule\n };\n });\n });\n summaryPromise = (validateFirst ? finishOnFirstFailed(rulePromises) : finishOnAllFailed(rulePromises)).then(function (errors) {\n // Always change to rejection for Field to catch\n return Promise.reject(errors);\n });\n }\n // Internal catch error to avoid console error log.\n summaryPromise.catch(function (e) {\n return e;\n });\n return summaryPromise;\n}\nfunction finishOnAllFailed(_x8) {\n return _finishOnAllFailed.apply(this, arguments);\n}\nfunction _finishOnAllFailed() {\n _finishOnAllFailed = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(rulePromises) {\n return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n return _context3.abrupt(\"return\", Promise.all(rulePromises).then(function (errorsList) {\n var _ref5;\n var errors = (_ref5 = []).concat.apply(_ref5, _toConsumableArray(errorsList));\n return errors;\n }));\n case 1:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n return _finishOnAllFailed.apply(this, arguments);\n}\nfunction finishOnFirstFailed(_x9) {\n return _finishOnFirstFailed.apply(this, arguments);\n}\nfunction _finishOnFirstFailed() {\n _finishOnFirstFailed = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(rulePromises) {\n var count;\n return _regeneratorRuntime().wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n count = 0;\n return _context4.abrupt(\"return\", new Promise(function (resolve) {\n rulePromises.forEach(function (promise) {\n promise.then(function (ruleError) {\n if (ruleError.errors.length) {\n resolve([ruleError]);\n }\n count += 1;\n if (count === rulePromises.length) {\n resolve([]);\n }\n });\n });\n }));\n case 2:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }));\n return _finishOnFirstFailed.apply(this, arguments);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"name\"];\nimport toChildrenArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport FieldContext, { HOOK_MARK } from './FieldContext';\nimport { toArray } from './utils/typeUtil';\nimport { validateRules } from './utils/validateUtil';\nimport { containsNamePath, defaultGetValueFromEvent, getNamePath, getValue } from './utils/valueUtil';\nvar EMPTY_ERRORS = [];\nfunction requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {\n if (typeof shouldUpdate === 'function') {\n return shouldUpdate(prev, next, 'source' in info ? {\n source: info.source\n } : {});\n }\n return prevValue !== nextValue;\n}\n// We use Class instead of Hooks here since it will cost much code by using Hooks.\nvar Field = /*#__PURE__*/function (_React$Component) {\n _inherits(Field, _React$Component);\n var _super = _createSuper(Field);\n /**\n * Follow state should not management in State since it will async update by React.\n * This makes first render of form can not get correct state value.\n */\n\n /**\n * Mark when touched & validated. Currently only used for `dependencies`.\n * Note that we do not think field with `initialValue` is dirty\n * but this will be by `isFieldDirty` func.\n */\n\n // ============================== Subscriptions ==============================\n function Field(props) {\n var _this;\n _classCallCheck(this, Field);\n _this = _super.call(this, props);\n // Register on init\n _this.state = {\n resetCount: 0\n };\n _this.cancelRegisterFunc = null;\n _this.mounted = false;\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.prevValidating = void 0;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.cancelRegister = function () {\n var _this$props = _this.props,\n preserve = _this$props.preserve,\n isListField = _this$props.isListField,\n name = _this$props.name;\n if (_this.cancelRegisterFunc) {\n _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));\n }\n _this.cancelRegisterFunc = null;\n };\n _this.getNamePath = function () {\n var _this$props2 = _this.props,\n name = _this$props2.name,\n fieldContext = _this$props2.fieldContext;\n var _fieldContext$prefixN = fieldContext.prefixName,\n prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;\n return name !== undefined ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];\n };\n _this.getRules = function () {\n var _this$props3 = _this.props,\n _this$props3$rules = _this$props3.rules,\n rules = _this$props3$rules === void 0 ? [] : _this$props3$rules,\n fieldContext = _this$props3.fieldContext;\n return rules.map(function (rule) {\n if (typeof rule === 'function') {\n return rule(fieldContext);\n }\n return rule;\n });\n };\n _this.refresh = function () {\n if (!_this.mounted) return;\n /**\n * Clean up current node.\n */\n _this.setState(function (_ref) {\n var resetCount = _ref.resetCount;\n return {\n resetCount: resetCount + 1\n };\n });\n };\n _this.triggerMetaEvent = function (destroy) {\n var onMetaChange = _this.props.onMetaChange;\n onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(_objectSpread(_objectSpread({}, _this.getMeta()), {}, {\n destroy: destroy\n }));\n };\n _this.onStoreChange = function (prevStore, namePathList, info) {\n var _this$props4 = _this.props,\n shouldUpdate = _this$props4.shouldUpdate,\n _this$props4$dependen = _this$props4.dependencies,\n dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen,\n onReset = _this$props4.onReset;\n var store = info.store;\n var namePath = _this.getNamePath();\n var prevValue = _this.getValue(prevStore);\n var curValue = _this.getValue(store);\n var namePathMatch = namePathList && containsNamePath(namePathList, namePath);\n // `setFieldsValue` is a quick access to update related status\n if (info.type === 'valueUpdate' && info.source === 'external' && prevValue !== curValue) {\n _this.touched = true;\n _this.dirty = true;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n }\n switch (info.type) {\n case 'reset':\n if (!namePathList || namePathMatch) {\n // Clean up state\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n onReset === null || onReset === void 0 ? void 0 : onReset();\n _this.refresh();\n return;\n }\n break;\n /**\n * In case field with `preserve = false` nest deps like:\n * - A = 1 => show B\n * - B = 1 => show C\n * - Reset A, need clean B, C\n */\n case 'remove':\n {\n if (shouldUpdate) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'setField':\n {\n if (namePathMatch) {\n var data = info.data;\n if ('touched' in data) {\n _this.touched = data.touched;\n }\n if ('validating' in data && !('originRCField' in data)) {\n _this.validatePromise = data.validating ? Promise.resolve([]) : null;\n }\n if ('errors' in data) {\n _this.errors = data.errors || EMPTY_ERRORS;\n }\n if ('warnings' in data) {\n _this.warnings = data.warnings || EMPTY_ERRORS;\n }\n _this.dirty = true;\n _this.triggerMetaEvent();\n _this.reRender();\n return;\n }\n // Handle update by `setField` with `shouldUpdate`\n if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'dependenciesUpdate':\n {\n /**\n * Trigger when marked `dependencies` updated. Related fields will all update\n */\n var dependencyList = dependencies.map(getNamePath);\n // No need for `namePathMath` check and `shouldUpdate` check, since `valueUpdate` will be\n // emitted earlier and they will work there\n // If set it may cause unnecessary twice rerendering\n if (dependencyList.some(function (dependency) {\n return containsNamePath(info.relatedFields, dependency);\n })) {\n _this.reRender();\n return;\n }\n break;\n }\n default:\n // 1. If `namePath` exists in `namePathList`, means it's related value and should update\n // For example \n // If `namePathList` is [['list']] (List value update), Field should be updated\n // If `namePathList` is [['list', 0]] (Field value update), List shouldn't be updated\n // 2.\n // 2.1 If `dependencies` is set, `name` is not set and `shouldUpdate` is not set,\n // don't use `shouldUpdate`. `dependencies` is view as a shortcut if `shouldUpdate`\n // is not provided\n // 2.2 If `shouldUpdate` provided, use customize logic to update the field\n // else to check if value changed\n if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n if (shouldUpdate === true) {\n _this.reRender();\n }\n };\n _this.validateRules = function (options) {\n // We should fixed namePath & value to avoid developer change then by form function\n var namePath = _this.getNamePath();\n var currentValue = _this.getValue();\n // Force change to async to avoid rule OOD under renderProps field\n var rootPromise = Promise.resolve().then(function () {\n if (!_this.mounted) {\n return [];\n }\n var _this$props5 = _this.props,\n _this$props5$validate = _this$props5.validateFirst,\n validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate,\n messageVariables = _this$props5.messageVariables;\n var _ref2 = options || {},\n triggerName = _ref2.triggerName;\n var filteredRules = _this.getRules();\n if (triggerName) {\n filteredRules = filteredRules.filter(function (rule) {\n return rule;\n }).filter(function (rule) {\n var validateTrigger = rule.validateTrigger;\n if (!validateTrigger) {\n return true;\n }\n var triggerList = toArray(validateTrigger);\n return triggerList.includes(triggerName);\n });\n }\n var promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);\n promise.catch(function (e) {\n return e;\n }).then(function () {\n var ruleErrors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EMPTY_ERRORS;\n if (_this.validatePromise === rootPromise) {\n var _ruleErrors$forEach;\n _this.validatePromise = null;\n // Get errors & warnings\n var nextErrors = [];\n var nextWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref3) {\n var warningOnly = _ref3.rule.warningOnly,\n _ref3$errors = _ref3.errors,\n errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;\n if (warningOnly) {\n nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));\n } else {\n nextErrors.push.apply(nextErrors, _toConsumableArray(errors));\n }\n });\n _this.errors = nextErrors;\n _this.warnings = nextWarnings;\n _this.triggerMetaEvent();\n _this.reRender();\n }\n });\n return promise;\n });\n _this.validatePromise = rootPromise;\n _this.dirty = true;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n // Force trigger re-render since we need sync renderProps with new meta\n _this.reRender();\n return rootPromise;\n };\n _this.isFieldValidating = function () {\n return !!_this.validatePromise;\n };\n _this.isFieldTouched = function () {\n return _this.touched;\n };\n _this.isFieldDirty = function () {\n // Touched or validate or has initialValue\n if (_this.dirty || _this.props.initialValue !== undefined) {\n return true;\n }\n // Form set initialValue\n var fieldContext = _this.props.fieldContext;\n var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK),\n getInitialValue = _fieldContext$getInte.getInitialValue;\n if (getInitialValue(_this.getNamePath()) !== undefined) {\n return true;\n }\n return false;\n };\n _this.getErrors = function () {\n return _this.errors;\n };\n _this.getWarnings = function () {\n return _this.warnings;\n };\n _this.isListField = function () {\n return _this.props.isListField;\n };\n _this.isList = function () {\n return _this.props.isList;\n };\n _this.isPreserve = function () {\n return _this.props.preserve;\n };\n _this.getMeta = function () {\n // Make error & validating in cache to save perf\n _this.prevValidating = _this.isFieldValidating();\n var meta = {\n touched: _this.isFieldTouched(),\n validating: _this.prevValidating,\n errors: _this.errors,\n warnings: _this.warnings,\n name: _this.getNamePath()\n };\n return meta;\n };\n _this.getOnlyChild = function (children) {\n // Support render props\n if (typeof children === 'function') {\n var meta = _this.getMeta();\n return _objectSpread(_objectSpread({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {\n isFunction: true\n });\n }\n // Filed element only\n var childList = toChildrenArray(children);\n if (childList.length !== 1 || ! /*#__PURE__*/React.isValidElement(childList[0])) {\n return {\n child: childList,\n isFunction: false\n };\n }\n return {\n child: childList[0],\n isFunction: false\n };\n };\n _this.getValue = function (store) {\n var getFieldsValue = _this.props.fieldContext.getFieldsValue;\n var namePath = _this.getNamePath();\n return getValue(store || getFieldsValue(true), namePath);\n };\n _this.getControlled = function () {\n var childProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _this$props6 = _this.props,\n trigger = _this$props6.trigger,\n validateTrigger = _this$props6.validateTrigger,\n getValueFromEvent = _this$props6.getValueFromEvent,\n normalize = _this$props6.normalize,\n valuePropName = _this$props6.valuePropName,\n getValueProps = _this$props6.getValueProps,\n fieldContext = _this$props6.fieldContext;\n var mergedValidateTrigger = validateTrigger !== undefined ? validateTrigger : fieldContext.validateTrigger;\n var namePath = _this.getNamePath();\n var getInternalHooks = fieldContext.getInternalHooks,\n getFieldsValue = fieldContext.getFieldsValue;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n dispatch = _getInternalHooks.dispatch;\n var value = _this.getValue();\n var mergedGetValueProps = getValueProps || function (val) {\n return _defineProperty({}, valuePropName, val);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var originTriggerFunc = childProps[trigger];\n var control = _objectSpread(_objectSpread({}, childProps), mergedGetValueProps(value));\n // Add trigger\n control[trigger] = function () {\n // Mark as touched\n _this.touched = true;\n _this.dirty = true;\n _this.triggerMetaEvent();\n var newValue;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (getValueFromEvent) {\n newValue = getValueFromEvent.apply(void 0, args);\n } else {\n newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));\n }\n if (normalize) {\n newValue = normalize(newValue, value, getFieldsValue(true));\n }\n dispatch({\n type: 'updateValue',\n namePath: namePath,\n value: newValue\n });\n if (originTriggerFunc) {\n originTriggerFunc.apply(void 0, args);\n }\n };\n // Add validateTrigger\n var validateTriggerList = toArray(mergedValidateTrigger || []);\n validateTriggerList.forEach(function (triggerName) {\n // Wrap additional function of component, so that we can get latest value from store\n var originTrigger = control[triggerName];\n control[triggerName] = function () {\n if (originTrigger) {\n originTrigger.apply(void 0, arguments);\n }\n // Always use latest rules\n var rules = _this.props.rules;\n if (rules && rules.length) {\n // We dispatch validate to root,\n // since it will update related data with other field with same name\n dispatch({\n type: 'validateField',\n namePath: namePath,\n triggerName: triggerName\n });\n }\n };\n });\n return control;\n };\n if (props.fieldContext) {\n var getInternalHooks = props.fieldContext.getInternalHooks;\n var _getInternalHooks2 = getInternalHooks(HOOK_MARK),\n initEntityValue = _getInternalHooks2.initEntityValue;\n initEntityValue(_assertThisInitialized(_this));\n }\n return _this;\n }\n _createClass(Field, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props7 = this.props,\n shouldUpdate = _this$props7.shouldUpdate,\n fieldContext = _this$props7.fieldContext;\n this.mounted = true;\n // Register on init\n if (fieldContext) {\n var getInternalHooks = fieldContext.getInternalHooks;\n var _getInternalHooks3 = getInternalHooks(HOOK_MARK),\n registerField = _getInternalHooks3.registerField;\n this.cancelRegisterFunc = registerField(this);\n }\n // One more render for component in case fields not ready\n if (shouldUpdate === true) {\n this.reRender();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cancelRegister();\n this.triggerMetaEvent(true);\n this.mounted = false;\n }\n }, {\n key: \"reRender\",\n value: function reRender() {\n if (!this.mounted) return;\n this.forceUpdate();\n }\n }, {\n key: \"render\",\n value: function render() {\n var resetCount = this.state.resetCount;\n var children = this.props.children;\n var _this$getOnlyChild = this.getOnlyChild(children),\n child = _this$getOnlyChild.child,\n isFunction = _this$getOnlyChild.isFunction;\n // Not need to `cloneElement` since user can handle this in render function self\n var returnChildNode;\n if (isFunction) {\n returnChildNode = child;\n } else if ( /*#__PURE__*/React.isValidElement(child)) {\n returnChildNode = /*#__PURE__*/React.cloneElement(child, this.getControlled(child.props));\n } else {\n warning(!child, '`children` of Field is not validate ReactElement.');\n returnChildNode = child;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: resetCount\n }, returnChildNode);\n }\n }]);\n return Field;\n}(React.Component);\nField.contextType = FieldContext;\nField.defaultProps = {\n trigger: 'onChange',\n valuePropName: 'value'\n};\nfunction WrapperField(_ref5) {\n var name = _ref5.name,\n restProps = _objectWithoutProperties(_ref5, _excluded);\n var fieldContext = React.useContext(FieldContext);\n var namePath = name !== undefined ? getNamePath(name) : undefined;\n var key = 'keep';\n if (!restProps.isListField) {\n key = \"_\".concat((namePath || []).join('_'));\n }\n // Warning if it's a directly list field.\n // We can still support multiple level field preserve.\n if (process.env.NODE_ENV !== 'production' && restProps.preserve === false && restProps.isListField && namePath.length <= 1) {\n warning(false, '`preserve` should not apply on Form.List fields.');\n }\n return /*#__PURE__*/React.createElement(Field, _extends({\n key: key,\n name: namePath\n }, restProps, {\n fieldContext: fieldContext\n }));\n}\nexport default WrapperField;","import * as React from 'react';\nvar ListContext = /*#__PURE__*/React.createContext(null);\nexport default ListContext;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\";\nimport FieldContext from './FieldContext';\nimport Field from './Field';\nimport { move as _move, getNamePath } from './utils/valueUtil';\nimport ListContext from './ListContext';\nvar List = function List(_ref) {\n var name = _ref.name,\n initialValue = _ref.initialValue,\n children = _ref.children,\n rules = _ref.rules,\n validateTrigger = _ref.validateTrigger;\n var context = React.useContext(FieldContext);\n var keyRef = React.useRef({\n keys: [],\n id: 0\n });\n var keyManager = keyRef.current;\n var prefixName = React.useMemo(function () {\n var parentPrefixName = getNamePath(context.prefixName) || [];\n return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));\n }, [context.prefixName, name]);\n var fieldContext = React.useMemo(function () {\n return _objectSpread(_objectSpread({}, context), {}, {\n prefixName: prefixName\n });\n }, [context, prefixName]);\n // List context\n var listContext = React.useMemo(function () {\n return {\n getKey: function getKey(namePath) {\n var len = prefixName.length;\n var pathName = namePath[len];\n return [keyManager.keys[pathName], namePath.slice(len + 1)];\n }\n };\n }, [prefixName]);\n // User should not pass `children` as other type.\n if (typeof children !== 'function') {\n warning(false, 'Form.List only accepts function as children.');\n return null;\n }\n var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {\n var source = _ref2.source;\n if (source === 'internal') {\n return false;\n }\n return prevValue !== nextValue;\n };\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: listContext\n }, /*#__PURE__*/React.createElement(FieldContext.Provider, {\n value: fieldContext\n }, /*#__PURE__*/React.createElement(Field, {\n name: [],\n shouldUpdate: shouldUpdate,\n rules: rules,\n validateTrigger: validateTrigger,\n initialValue: initialValue,\n isList: true\n }, function (_ref3, meta) {\n var _ref3$value = _ref3.value,\n value = _ref3$value === void 0 ? [] : _ref3$value,\n onChange = _ref3.onChange;\n var getFieldValue = context.getFieldValue;\n var getNewValue = function getNewValue() {\n var values = getFieldValue(prefixName || []);\n return values || [];\n };\n /**\n * Always get latest value in case user update fields by `form` api.\n */\n var operations = {\n add: function add(defaultValue, index) {\n // Mapping keys\n var newValue = getNewValue();\n if (index >= 0 && index <= newValue.length) {\n keyManager.keys = [].concat(_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], _toConsumableArray(keyManager.keys.slice(index)));\n onChange([].concat(_toConsumableArray(newValue.slice(0, index)), [defaultValue], _toConsumableArray(newValue.slice(index))));\n } else {\n if (process.env.NODE_ENV !== 'production' && (index < 0 || index > newValue.length)) {\n warning(false, 'The second parameter of the add function should be a valid positive number.');\n }\n keyManager.keys = [].concat(_toConsumableArray(keyManager.keys), [keyManager.id]);\n onChange([].concat(_toConsumableArray(newValue), [defaultValue]));\n }\n keyManager.id += 1;\n },\n remove: function remove(index) {\n var newValue = getNewValue();\n var indexSet = new Set(Array.isArray(index) ? index : [index]);\n if (indexSet.size <= 0) {\n return;\n }\n keyManager.keys = keyManager.keys.filter(function (_, keysIndex) {\n return !indexSet.has(keysIndex);\n });\n // Trigger store change\n onChange(newValue.filter(function (_, valueIndex) {\n return !indexSet.has(valueIndex);\n }));\n },\n move: function move(from, to) {\n if (from === to) {\n return;\n }\n var newValue = getNewValue();\n // Do not handle out of range\n if (from < 0 || from >= newValue.length || to < 0 || to >= newValue.length) {\n return;\n }\n keyManager.keys = _move(keyManager.keys, from, to);\n // Trigger store change\n onChange(_move(newValue, from, to));\n }\n };\n var listValue = value || [];\n if (!Array.isArray(listValue)) {\n listValue = [];\n if (process.env.NODE_ENV !== 'production') {\n warning(false, \"Current value of '\".concat(prefixName.join(' > '), \"' is not an array type.\"));\n }\n }\n return children(listValue.map(function (__, index) {\n var key = keyManager.keys[index];\n if (key === undefined) {\n keyManager.keys[index] = keyManager.id;\n key = keyManager.keys[index];\n keyManager.id += 1;\n }\n return {\n name: index,\n key: key,\n isListField: true\n };\n }), operations, meta);\n })));\n};\nexport default List;","export function allPromiseFinish(promiseList) {\n var hasError = false;\n var count = promiseList.length;\n var results = [];\n if (!promiseList.length) {\n return Promise.resolve([]);\n }\n return new Promise(function (resolve, reject) {\n promiseList.forEach(function (promise, index) {\n promise.catch(function (e) {\n hasError = true;\n return e;\n }).then(function (result) {\n count -= 1;\n results[index] = result;\n if (count > 0) {\n return;\n }\n if (hasError) {\n reject(results);\n }\n resolve(results);\n });\n });\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar SPLIT = '__@field_split__';\n/**\n * Convert name path into string to fast the fetch speed of Map.\n */\nfunction normalize(namePath) {\n return namePath.map(function (cell) {\n return \"\".concat(_typeof(cell), \":\").concat(cell);\n })\n // Magic split\n .join(SPLIT);\n}\n/**\n * NameMap like a `Map` but accepts `string[]` as key.\n */\nvar NameMap = /*#__PURE__*/function () {\n function NameMap() {\n _classCallCheck(this, NameMap);\n this.kvs = new Map();\n }\n _createClass(NameMap, [{\n key: \"set\",\n value: function set(key, value) {\n this.kvs.set(normalize(key), value);\n }\n }, {\n key: \"get\",\n value: function get(key) {\n return this.kvs.get(normalize(key));\n }\n }, {\n key: \"update\",\n value: function update(key, updater) {\n var origin = this.get(key);\n var next = updater(origin);\n if (!next) {\n this.delete(key);\n } else {\n this.set(key, next);\n }\n }\n }, {\n key: \"delete\",\n value: function _delete(key) {\n this.kvs.delete(normalize(key));\n }\n // Since we only use this in test, let simply realize this\n }, {\n key: \"map\",\n value: function map(callback) {\n return _toConsumableArray(this.kvs.entries()).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n var cells = key.split(SPLIT);\n return callback({\n key: cells.map(function (cell) {\n var _cell$match = cell.match(/^([^:]*):(.*)$/),\n _cell$match2 = _slicedToArray(_cell$match, 3),\n type = _cell$match2[1],\n unit = _cell$match2[2];\n return type === 'number' ? Number(unit) : unit;\n }),\n value: value\n });\n });\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var json = {};\n this.map(function (_ref3) {\n var key = _ref3.key,\n value = _ref3.value;\n json[key.join('.')] = value;\n return null;\n });\n return json;\n }\n }]);\n return NameMap;\n}();\nexport default NameMap;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nvar _excluded = [\"name\", \"errors\"];\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport { HOOK_MARK } from './FieldContext';\nimport { allPromiseFinish } from './utils/asyncUtil';\nimport cloneDeep from './utils/cloneDeep';\nimport { defaultValidateMessages } from './utils/messages';\nimport NameMap from './utils/NameMap';\nimport { cloneByNamePathList, containsNamePath, getNamePath, getValue, matchNamePath, setValue, setValues } from './utils/valueUtil';\nexport var FormStore = /*#__PURE__*/_createClass(function FormStore(forceRootUpdate) {\n var _this = this;\n _classCallCheck(this, FormStore);\n this.formHooked = false;\n this.forceRootUpdate = void 0;\n this.subscribable = true;\n this.store = {};\n this.fieldEntities = [];\n this.initialValues = {};\n this.callbacks = {};\n this.validateMessages = null;\n this.preserve = null;\n this.lastValidatePromise = null;\n this.getForm = function () {\n return {\n getFieldValue: _this.getFieldValue,\n getFieldsValue: _this.getFieldsValue,\n getFieldError: _this.getFieldError,\n getFieldWarning: _this.getFieldWarning,\n getFieldsError: _this.getFieldsError,\n isFieldsTouched: _this.isFieldsTouched,\n isFieldTouched: _this.isFieldTouched,\n isFieldValidating: _this.isFieldValidating,\n isFieldsValidating: _this.isFieldsValidating,\n resetFields: _this.resetFields,\n setFields: _this.setFields,\n setFieldValue: _this.setFieldValue,\n setFieldsValue: _this.setFieldsValue,\n validateFields: _this.validateFields,\n submit: _this.submit,\n _init: true,\n getInternalHooks: _this.getInternalHooks\n };\n };\n this.getInternalHooks = function (key) {\n if (key === HOOK_MARK) {\n _this.formHooked = true;\n return {\n dispatch: _this.dispatch,\n initEntityValue: _this.initEntityValue,\n registerField: _this.registerField,\n useSubscribe: _this.useSubscribe,\n setInitialValues: _this.setInitialValues,\n destroyForm: _this.destroyForm,\n setCallbacks: _this.setCallbacks,\n setValidateMessages: _this.setValidateMessages,\n getFields: _this.getFields,\n setPreserve: _this.setPreserve,\n getInitialValue: _this.getInitialValue,\n registerWatch: _this.registerWatch\n };\n }\n warning(false, '`getInternalHooks` is internal usage. Should not call directly.');\n return null;\n };\n this.useSubscribe = function (subscribable) {\n _this.subscribable = subscribable;\n };\n this.prevWithoutPreserves = null;\n this.setInitialValues = function (initialValues, init) {\n _this.initialValues = initialValues || {};\n if (init) {\n var _this$prevWithoutPres;\n var nextStore = setValues({}, initialValues, _this.store);\n // We will take consider prev form unmount fields.\n // When the field is not `preserve`, we need fill this with initialValues instead of store.\n // eslint-disable-next-line array-callback-return\n (_this$prevWithoutPres = _this.prevWithoutPreserves) === null || _this$prevWithoutPres === void 0 ? void 0 : _this$prevWithoutPres.map(function (_ref) {\n var namePath = _ref.key;\n nextStore = setValue(nextStore, namePath, getValue(initialValues, namePath));\n });\n _this.prevWithoutPreserves = null;\n _this.updateStore(nextStore);\n }\n };\n this.destroyForm = function () {\n var prevWithoutPreserves = new NameMap();\n _this.getFieldEntities(true).forEach(function (entity) {\n if (!_this.isMergedPreserve(entity.isPreserve())) {\n prevWithoutPreserves.set(entity.getNamePath(), true);\n }\n });\n _this.prevWithoutPreserves = prevWithoutPreserves;\n };\n this.getInitialValue = function (namePath) {\n var initValue = getValue(_this.initialValues, namePath);\n // Not cloneDeep when without `namePath`\n return namePath.length ? cloneDeep(initValue) : initValue;\n };\n this.setCallbacks = function (callbacks) {\n _this.callbacks = callbacks;\n };\n this.setValidateMessages = function (validateMessages) {\n _this.validateMessages = validateMessages;\n };\n this.setPreserve = function (preserve) {\n _this.preserve = preserve;\n };\n this.watchList = [];\n this.registerWatch = function (callback) {\n _this.watchList.push(callback);\n return function () {\n _this.watchList = _this.watchList.filter(function (fn) {\n return fn !== callback;\n });\n };\n };\n this.notifyWatch = function () {\n var namePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n // No need to cost perf when nothing need to watch\n if (_this.watchList.length) {\n var values = _this.getFieldsValue();\n _this.watchList.forEach(function (callback) {\n callback(values, namePath);\n });\n }\n };\n this.timeoutId = null;\n this.warningUnhooked = function () {\n if (process.env.NODE_ENV !== 'production' && !_this.timeoutId && typeof window !== 'undefined') {\n _this.timeoutId = setTimeout(function () {\n _this.timeoutId = null;\n if (!_this.formHooked) {\n warning(false, 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?');\n }\n });\n }\n };\n this.updateStore = function (nextStore) {\n _this.store = nextStore;\n };\n this.getFieldEntities = function () {\n var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n if (!pure) {\n return _this.fieldEntities;\n }\n return _this.fieldEntities.filter(function (field) {\n return field.getNamePath().length;\n });\n };\n this.getFieldsMap = function () {\n var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var cache = new NameMap();\n _this.getFieldEntities(pure).forEach(function (field) {\n var namePath = field.getNamePath();\n cache.set(namePath, field);\n });\n return cache;\n };\n this.getFieldEntitiesForNamePathList = function (nameList) {\n if (!nameList) {\n return _this.getFieldEntities(true);\n }\n var cache = _this.getFieldsMap(true);\n return nameList.map(function (name) {\n var namePath = getNamePath(name);\n return cache.get(namePath) || {\n INVALIDATE_NAME_PATH: getNamePath(name)\n };\n });\n };\n this.getFieldsValue = function (nameList, filterFunc) {\n _this.warningUnhooked();\n if (nameList === true && !filterFunc) {\n return _this.store;\n }\n var fieldEntities = _this.getFieldEntitiesForNamePathList(Array.isArray(nameList) ? nameList : null);\n var filteredNameList = [];\n fieldEntities.forEach(function (entity) {\n var _entity$isListField;\n var namePath = 'INVALIDATE_NAME_PATH' in entity ? entity.INVALIDATE_NAME_PATH : entity.getNamePath();\n // Ignore when it's a list item and not specific the namePath,\n // since parent field is already take in count\n if (!nameList && ((_entity$isListField = entity.isListField) === null || _entity$isListField === void 0 ? void 0 : _entity$isListField.call(entity))) {\n return;\n }\n if (!filterFunc) {\n filteredNameList.push(namePath);\n } else {\n var meta = 'getMeta' in entity ? entity.getMeta() : null;\n if (filterFunc(meta)) {\n filteredNameList.push(namePath);\n }\n }\n });\n return cloneByNamePathList(_this.store, filteredNameList.map(getNamePath));\n };\n this.getFieldValue = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n return getValue(_this.store, namePath);\n };\n this.getFieldsError = function (nameList) {\n _this.warningUnhooked();\n var fieldEntities = _this.getFieldEntitiesForNamePathList(nameList);\n return fieldEntities.map(function (entity, index) {\n if (entity && !('INVALIDATE_NAME_PATH' in entity)) {\n return {\n name: entity.getNamePath(),\n errors: entity.getErrors(),\n warnings: entity.getWarnings()\n };\n }\n return {\n name: getNamePath(nameList[index]),\n errors: [],\n warnings: []\n };\n });\n };\n this.getFieldError = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n var fieldError = _this.getFieldsError([namePath])[0];\n return fieldError.errors;\n };\n this.getFieldWarning = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n var fieldError = _this.getFieldsError([namePath])[0];\n return fieldError.warnings;\n };\n this.isFieldsTouched = function () {\n _this.warningUnhooked();\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var arg0 = args[0],\n arg1 = args[1];\n var namePathList;\n var isAllFieldsTouched = false;\n if (args.length === 0) {\n namePathList = null;\n } else if (args.length === 1) {\n if (Array.isArray(arg0)) {\n namePathList = arg0.map(getNamePath);\n isAllFieldsTouched = false;\n } else {\n namePathList = null;\n isAllFieldsTouched = arg0;\n }\n } else {\n namePathList = arg0.map(getNamePath);\n isAllFieldsTouched = arg1;\n }\n var fieldEntities = _this.getFieldEntities(true);\n var isFieldTouched = function isFieldTouched(field) {\n return field.isFieldTouched();\n };\n // ===== Will get fully compare when not config namePathList =====\n if (!namePathList) {\n return isAllFieldsTouched ? fieldEntities.every(isFieldTouched) : fieldEntities.some(isFieldTouched);\n }\n // Generate a nest tree for validate\n var map = new NameMap();\n namePathList.forEach(function (shortNamePath) {\n map.set(shortNamePath, []);\n });\n fieldEntities.forEach(function (field) {\n var fieldNamePath = field.getNamePath();\n // Find matched entity and put into list\n namePathList.forEach(function (shortNamePath) {\n if (shortNamePath.every(function (nameUnit, i) {\n return fieldNamePath[i] === nameUnit;\n })) {\n map.update(shortNamePath, function (list) {\n return [].concat(_toConsumableArray(list), [field]);\n });\n }\n });\n });\n // Check if NameMap value is touched\n var isNamePathListTouched = function isNamePathListTouched(entities) {\n return entities.some(isFieldTouched);\n };\n var namePathListEntities = map.map(function (_ref2) {\n var value = _ref2.value;\n return value;\n });\n return isAllFieldsTouched ? namePathListEntities.every(isNamePathListTouched) : namePathListEntities.some(isNamePathListTouched);\n };\n this.isFieldTouched = function (name) {\n _this.warningUnhooked();\n return _this.isFieldsTouched([name]);\n };\n this.isFieldsValidating = function (nameList) {\n _this.warningUnhooked();\n var fieldEntities = _this.getFieldEntities();\n if (!nameList) {\n return fieldEntities.some(function (testField) {\n return testField.isFieldValidating();\n });\n }\n var namePathList = nameList.map(getNamePath);\n return fieldEntities.some(function (testField) {\n var fieldNamePath = testField.getNamePath();\n return containsNamePath(namePathList, fieldNamePath) && testField.isFieldValidating();\n });\n };\n this.isFieldValidating = function (name) {\n _this.warningUnhooked();\n return _this.isFieldsValidating([name]);\n };\n this.resetWithFieldInitialValue = function () {\n var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Create cache\n var cache = new NameMap();\n var fieldEntities = _this.getFieldEntities(true);\n fieldEntities.forEach(function (field) {\n var initialValue = field.props.initialValue;\n var namePath = field.getNamePath();\n // Record only if has `initialValue`\n if (initialValue !== undefined) {\n var records = cache.get(namePath) || new Set();\n records.add({\n entity: field,\n value: initialValue\n });\n cache.set(namePath, records);\n }\n });\n // Reset\n var resetWithFields = function resetWithFields(entities) {\n entities.forEach(function (field) {\n var initialValue = field.props.initialValue;\n if (initialValue !== undefined) {\n var namePath = field.getNamePath();\n var formInitialValue = _this.getInitialValue(namePath);\n if (formInitialValue !== undefined) {\n // Warning if conflict with form initialValues and do not modify value\n warning(false, \"Form already set 'initialValues' with path '\".concat(namePath.join('.'), \"'. Field can not overwrite it.\"));\n } else {\n var records = cache.get(namePath);\n if (records && records.size > 1) {\n // Warning if multiple field set `initialValue`and do not modify value\n warning(false, \"Multiple Field with path '\".concat(namePath.join('.'), \"' set 'initialValue'. Can not decide which one to pick.\"));\n } else if (records) {\n var originValue = _this.getFieldValue(namePath);\n // Set `initialValue`\n if (!info.skipExist || originValue === undefined) {\n _this.updateStore(setValue(_this.store, namePath, _toConsumableArray(records)[0].value));\n }\n }\n }\n }\n });\n };\n var requiredFieldEntities;\n if (info.entities) {\n requiredFieldEntities = info.entities;\n } else if (info.namePathList) {\n requiredFieldEntities = [];\n info.namePathList.forEach(function (namePath) {\n var records = cache.get(namePath);\n if (records) {\n var _requiredFieldEntitie;\n (_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, _toConsumableArray(_toConsumableArray(records).map(function (r) {\n return r.entity;\n })));\n }\n });\n } else {\n requiredFieldEntities = fieldEntities;\n }\n resetWithFields(requiredFieldEntities);\n };\n this.resetFields = function (nameList) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n if (!nameList) {\n _this.updateStore(setValues({}, _this.initialValues));\n _this.resetWithFieldInitialValue();\n _this.notifyObservers(prevStore, null, {\n type: 'reset'\n });\n _this.notifyWatch();\n return;\n }\n // Reset by `nameList`\n var namePathList = nameList.map(getNamePath);\n namePathList.forEach(function (namePath) {\n var initialValue = _this.getInitialValue(namePath);\n _this.updateStore(setValue(_this.store, namePath, initialValue));\n });\n _this.resetWithFieldInitialValue({\n namePathList: namePathList\n });\n _this.notifyObservers(prevStore, namePathList, {\n type: 'reset'\n });\n _this.notifyWatch(namePathList);\n };\n this.setFields = function (fields) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n var namePathList = [];\n fields.forEach(function (fieldData) {\n var name = fieldData.name,\n errors = fieldData.errors,\n data = _objectWithoutProperties(fieldData, _excluded);\n var namePath = getNamePath(name);\n namePathList.push(namePath);\n // Value\n if ('value' in data) {\n _this.updateStore(setValue(_this.store, namePath, data.value));\n }\n _this.notifyObservers(prevStore, [namePath], {\n type: 'setField',\n data: fieldData\n });\n });\n _this.notifyWatch(namePathList);\n };\n this.getFields = function () {\n var entities = _this.getFieldEntities(true);\n var fields = entities.map(function (field) {\n var namePath = field.getNamePath();\n var meta = field.getMeta();\n var fieldData = _objectSpread(_objectSpread({}, meta), {}, {\n name: namePath,\n value: _this.getFieldValue(namePath)\n });\n Object.defineProperty(fieldData, 'originRCField', {\n value: true\n });\n return fieldData;\n });\n return fields;\n };\n this.initEntityValue = function (entity) {\n var initialValue = entity.props.initialValue;\n if (initialValue !== undefined) {\n var namePath = entity.getNamePath();\n var prevValue = getValue(_this.store, namePath);\n if (prevValue === undefined) {\n _this.updateStore(setValue(_this.store, namePath, initialValue));\n }\n }\n };\n this.isMergedPreserve = function (fieldPreserve) {\n var mergedPreserve = fieldPreserve !== undefined ? fieldPreserve : _this.preserve;\n return mergedPreserve !== null && mergedPreserve !== void 0 ? mergedPreserve : true;\n };\n this.registerField = function (entity) {\n _this.fieldEntities.push(entity);\n var namePath = entity.getNamePath();\n _this.notifyWatch([namePath]);\n // Set initial values\n if (entity.props.initialValue !== undefined) {\n var prevStore = _this.store;\n _this.resetWithFieldInitialValue({\n entities: [entity],\n skipExist: true\n });\n _this.notifyObservers(prevStore, [entity.getNamePath()], {\n type: 'valueUpdate',\n source: 'internal'\n });\n }\n // un-register field callback\n return function (isListField, preserve) {\n var subNamePath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n _this.fieldEntities = _this.fieldEntities.filter(function (item) {\n return item !== entity;\n });\n // Clean up store value if not preserve\n if (!_this.isMergedPreserve(preserve) && (!isListField || subNamePath.length > 1)) {\n var defaultValue = isListField ? undefined : _this.getInitialValue(namePath);\n if (namePath.length && _this.getFieldValue(namePath) !== defaultValue && _this.fieldEntities.every(function (field) {\n return (\n // Only reset when no namePath exist\n !matchNamePath(field.getNamePath(), namePath)\n );\n })) {\n var _prevStore = _this.store;\n _this.updateStore(setValue(_prevStore, namePath, defaultValue, true));\n // Notify that field is unmount\n _this.notifyObservers(_prevStore, [namePath], {\n type: 'remove'\n });\n // Dependencies update\n _this.triggerDependenciesUpdate(_prevStore, namePath);\n }\n }\n _this.notifyWatch([namePath]);\n };\n };\n this.dispatch = function (action) {\n switch (action.type) {\n case 'updateValue':\n {\n var namePath = action.namePath,\n value = action.value;\n _this.updateValue(namePath, value);\n break;\n }\n case 'validateField':\n {\n var _namePath = action.namePath,\n triggerName = action.triggerName;\n _this.validateFields([_namePath], {\n triggerName: triggerName\n });\n break;\n }\n default:\n // Currently we don't have other action. Do nothing.\n }\n };\n this.notifyObservers = function (prevStore, namePathList, info) {\n if (_this.subscribable) {\n var mergedInfo = _objectSpread(_objectSpread({}, info), {}, {\n store: _this.getFieldsValue(true)\n });\n _this.getFieldEntities().forEach(function (_ref3) {\n var onStoreChange = _ref3.onStoreChange;\n onStoreChange(prevStore, namePathList, mergedInfo);\n });\n } else {\n _this.forceRootUpdate();\n }\n };\n this.triggerDependenciesUpdate = function (prevStore, namePath) {\n var childrenFields = _this.getDependencyChildrenFields(namePath);\n if (childrenFields.length) {\n _this.validateFields(childrenFields);\n }\n _this.notifyObservers(prevStore, childrenFields, {\n type: 'dependenciesUpdate',\n relatedFields: [namePath].concat(_toConsumableArray(childrenFields))\n });\n return childrenFields;\n };\n this.updateValue = function (name, value) {\n var namePath = getNamePath(name);\n var prevStore = _this.store;\n _this.updateStore(setValue(_this.store, namePath, value));\n _this.notifyObservers(prevStore, [namePath], {\n type: 'valueUpdate',\n source: 'internal'\n });\n _this.notifyWatch([namePath]);\n // Dependencies update\n var childrenFields = _this.triggerDependenciesUpdate(prevStore, namePath);\n // trigger callback function\n var onValuesChange = _this.callbacks.onValuesChange;\n if (onValuesChange) {\n var changedValues = cloneByNamePathList(_this.store, [namePath]);\n onValuesChange(changedValues, _this.getFieldsValue());\n }\n _this.triggerOnFieldsChange([namePath].concat(_toConsumableArray(childrenFields)));\n };\n this.setFieldsValue = function (store) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n if (store) {\n var nextStore = setValues(_this.store, store);\n _this.updateStore(nextStore);\n }\n _this.notifyObservers(prevStore, null, {\n type: 'valueUpdate',\n source: 'external'\n });\n _this.notifyWatch();\n };\n this.setFieldValue = function (name, value) {\n _this.setFields([{\n name: name,\n value: value\n }]);\n };\n this.getDependencyChildrenFields = function (rootNamePath) {\n var children = new Set();\n var childrenFields = [];\n var dependencies2fields = new NameMap();\n /**\n * Generate maps\n * Can use cache to save perf if user report performance issue with this\n */\n _this.getFieldEntities().forEach(function (field) {\n var dependencies = field.props.dependencies;\n (dependencies || []).forEach(function (dependency) {\n var dependencyNamePath = getNamePath(dependency);\n dependencies2fields.update(dependencyNamePath, function () {\n var fields = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Set();\n fields.add(field);\n return fields;\n });\n });\n });\n var fillChildren = function fillChildren(namePath) {\n var fields = dependencies2fields.get(namePath) || new Set();\n fields.forEach(function (field) {\n if (!children.has(field)) {\n children.add(field);\n var fieldNamePath = field.getNamePath();\n if (field.isFieldDirty() && fieldNamePath.length) {\n childrenFields.push(fieldNamePath);\n fillChildren(fieldNamePath);\n }\n }\n });\n };\n fillChildren(rootNamePath);\n return childrenFields;\n };\n this.triggerOnFieldsChange = function (namePathList, filedErrors) {\n var onFieldsChange = _this.callbacks.onFieldsChange;\n if (onFieldsChange) {\n var fields = _this.getFields();\n /**\n * Fill errors since `fields` may be replaced by controlled fields\n */\n if (filedErrors) {\n var cache = new NameMap();\n filedErrors.forEach(function (_ref4) {\n var name = _ref4.name,\n errors = _ref4.errors;\n cache.set(name, errors);\n });\n fields.forEach(function (field) {\n // eslint-disable-next-line no-param-reassign\n field.errors = cache.get(field.name) || field.errors;\n });\n }\n var changedFields = fields.filter(function (_ref5) {\n var fieldName = _ref5.name;\n return containsNamePath(namePathList, fieldName);\n });\n onFieldsChange(changedFields, fields);\n }\n };\n this.validateFields = function (nameList, options) {\n _this.warningUnhooked();\n var provideNameList = !!nameList;\n var namePathList = provideNameList ? nameList.map(getNamePath) : [];\n // Collect result in promise list\n var promiseList = [];\n _this.getFieldEntities(true).forEach(function (field) {\n // Add field if not provide `nameList`\n if (!provideNameList) {\n namePathList.push(field.getNamePath());\n }\n /**\n * Recursive validate if configured.\n * TODO: perf improvement @zombieJ\n */\n if ((options === null || options === void 0 ? void 0 : options.recursive) && provideNameList) {\n var namePath = field.getNamePath();\n if (\n // nameList[i] === undefined 说明是以 nameList 开头的\n // ['name'] -> ['name','list']\n namePath.every(function (nameUnit, i) {\n return nameList[i] === nameUnit || nameList[i] === undefined;\n })) {\n namePathList.push(namePath);\n }\n }\n // Skip if without rule\n if (!field.props.rules || !field.props.rules.length) {\n return;\n }\n var fieldNamePath = field.getNamePath();\n // Add field validate rule in to promise list\n if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {\n var promise = field.validateRules(_objectSpread({\n validateMessages: _objectSpread(_objectSpread({}, defaultValidateMessages), _this.validateMessages)\n }, options));\n // Wrap promise with field\n promiseList.push(promise.then(function () {\n return {\n name: fieldNamePath,\n errors: [],\n warnings: []\n };\n }).catch(function (ruleErrors) {\n var _ruleErrors$forEach;\n var mergedErrors = [];\n var mergedWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref6) {\n var warningOnly = _ref6.rule.warningOnly,\n errors = _ref6.errors;\n if (warningOnly) {\n mergedWarnings.push.apply(mergedWarnings, _toConsumableArray(errors));\n } else {\n mergedErrors.push.apply(mergedErrors, _toConsumableArray(errors));\n }\n });\n if (mergedErrors.length) {\n return Promise.reject({\n name: fieldNamePath,\n errors: mergedErrors,\n warnings: mergedWarnings\n });\n }\n return {\n name: fieldNamePath,\n errors: mergedErrors,\n warnings: mergedWarnings\n };\n }));\n }\n });\n var summaryPromise = allPromiseFinish(promiseList);\n _this.lastValidatePromise = summaryPromise;\n // Notify fields with rule that validate has finished and need update\n summaryPromise.catch(function (results) {\n return results;\n }).then(function (results) {\n var resultNamePathList = results.map(function (_ref7) {\n var name = _ref7.name;\n return name;\n });\n _this.notifyObservers(_this.store, resultNamePathList, {\n type: 'validateFinish'\n });\n _this.triggerOnFieldsChange(resultNamePathList, results);\n });\n var returnPromise = summaryPromise.then(function () {\n if (_this.lastValidatePromise === summaryPromise) {\n return Promise.resolve(_this.getFieldsValue(namePathList));\n }\n return Promise.reject([]);\n }).catch(function (results) {\n var errorList = results.filter(function (result) {\n return result && result.errors.length;\n });\n return Promise.reject({\n values: _this.getFieldsValue(namePathList),\n errorFields: errorList,\n outOfDate: _this.lastValidatePromise !== summaryPromise\n });\n });\n // Do not throw in console\n returnPromise.catch(function (e) {\n return e;\n });\n return returnPromise;\n };\n this.submit = function () {\n _this.warningUnhooked();\n _this.validateFields().then(function (values) {\n var onFinish = _this.callbacks.onFinish;\n if (onFinish) {\n try {\n onFinish(values);\n } catch (err) {\n // Should print error if user `onFinish` callback failed\n console.error(err);\n }\n }\n }).catch(function (e) {\n var onFinishFailed = _this.callbacks.onFinishFailed;\n if (onFinishFailed) {\n onFinishFailed(e);\n }\n });\n };\n this.forceRootUpdate = forceRootUpdate;\n});\nfunction useForm(form) {\n var formRef = React.useRef();\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n forceUpdate = _React$useState2[1];\n if (!formRef.current) {\n if (form) {\n formRef.current = form;\n } else {\n // Create a new FormStore if not provided\n var forceReRender = function forceReRender() {\n forceUpdate({});\n };\n var formStore = new FormStore(forceReRender);\n formRef.current = formStore.getForm();\n }\n }\n return [formRef.current];\n}\nexport default useForm;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nvar FormContext = /*#__PURE__*/React.createContext({\n triggerFormChange: function triggerFormChange() {},\n triggerFormFinish: function triggerFormFinish() {},\n registerForm: function registerForm() {},\n unregisterForm: function unregisterForm() {}\n});\nvar FormProvider = function FormProvider(_ref) {\n var validateMessages = _ref.validateMessages,\n onFormChange = _ref.onFormChange,\n onFormFinish = _ref.onFormFinish,\n children = _ref.children;\n var formContext = React.useContext(FormContext);\n var formsRef = React.useRef({});\n return /*#__PURE__*/React.createElement(FormContext.Provider, {\n value: _objectSpread(_objectSpread({}, formContext), {}, {\n validateMessages: _objectSpread(_objectSpread({}, formContext.validateMessages), validateMessages),\n // =========================================================\n // = Global Form Control =\n // =========================================================\n triggerFormChange: function triggerFormChange(name, changedFields) {\n if (onFormChange) {\n onFormChange(name, {\n changedFields: changedFields,\n forms: formsRef.current\n });\n }\n formContext.triggerFormChange(name, changedFields);\n },\n triggerFormFinish: function triggerFormFinish(name, values) {\n if (onFormFinish) {\n onFormFinish(name, {\n values: values,\n forms: formsRef.current\n });\n }\n formContext.triggerFormFinish(name, values);\n },\n registerForm: function registerForm(name, form) {\n if (name) {\n formsRef.current = _objectSpread(_objectSpread({}, formsRef.current), {}, _defineProperty({}, name, form));\n }\n formContext.registerForm(name, form);\n },\n unregisterForm: function unregisterForm(name) {\n var newForms = _objectSpread({}, formsRef.current);\n delete newForms[name];\n formsRef.current = newForms;\n formContext.unregisterForm(name);\n }\n })\n }, children);\n};\nexport { FormProvider };\nexport default FormContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"name\", \"initialValues\", \"fields\", \"form\", \"preserve\", \"children\", \"component\", \"validateMessages\", \"validateTrigger\", \"onValuesChange\", \"onFieldsChange\", \"onFinish\", \"onFinishFailed\"];\nimport * as React from 'react';\nimport useForm from './useForm';\nimport FieldContext, { HOOK_MARK } from './FieldContext';\nimport FormContext from './FormContext';\nimport { isSimilar } from './utils/valueUtil';\nvar Form = function Form(_ref, ref) {\n var name = _ref.name,\n initialValues = _ref.initialValues,\n fields = _ref.fields,\n form = _ref.form,\n preserve = _ref.preserve,\n children = _ref.children,\n _ref$component = _ref.component,\n Component = _ref$component === void 0 ? 'form' : _ref$component,\n validateMessages = _ref.validateMessages,\n _ref$validateTrigger = _ref.validateTrigger,\n validateTrigger = _ref$validateTrigger === void 0 ? 'onChange' : _ref$validateTrigger,\n onValuesChange = _ref.onValuesChange,\n _onFieldsChange = _ref.onFieldsChange,\n _onFinish = _ref.onFinish,\n onFinishFailed = _ref.onFinishFailed,\n restProps = _objectWithoutProperties(_ref, _excluded);\n var formContext = React.useContext(FormContext);\n // We customize handle event since Context will makes all the consumer re-render:\n // https://reactjs.org/docs/context.html#contextprovider\n var _useForm = useForm(form),\n _useForm2 = _slicedToArray(_useForm, 1),\n formInstance = _useForm2[0];\n var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK),\n useSubscribe = _formInstance$getInte.useSubscribe,\n setInitialValues = _formInstance$getInte.setInitialValues,\n setCallbacks = _formInstance$getInte.setCallbacks,\n setValidateMessages = _formInstance$getInte.setValidateMessages,\n setPreserve = _formInstance$getInte.setPreserve,\n destroyForm = _formInstance$getInte.destroyForm;\n // Pass ref with form instance\n React.useImperativeHandle(ref, function () {\n return formInstance;\n });\n // Register form into Context\n React.useEffect(function () {\n formContext.registerForm(name, formInstance);\n return function () {\n formContext.unregisterForm(name);\n };\n }, [formContext, formInstance, name]);\n // Pass props to store\n setValidateMessages(_objectSpread(_objectSpread({}, formContext.validateMessages), validateMessages));\n setCallbacks({\n onValuesChange: onValuesChange,\n onFieldsChange: function onFieldsChange(changedFields) {\n formContext.triggerFormChange(name, changedFields);\n if (_onFieldsChange) {\n for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rest[_key - 1] = arguments[_key];\n }\n _onFieldsChange.apply(void 0, [changedFields].concat(rest));\n }\n },\n onFinish: function onFinish(values) {\n formContext.triggerFormFinish(name, values);\n if (_onFinish) {\n _onFinish(values);\n }\n },\n onFinishFailed: onFinishFailed\n });\n setPreserve(preserve);\n // Set initial value, init store value when first mount\n var mountRef = React.useRef(null);\n setInitialValues(initialValues, !mountRef.current);\n if (!mountRef.current) {\n mountRef.current = true;\n }\n React.useEffect(function () {\n return destroyForm;\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n []);\n // Prepare children by `children` type\n var childrenNode;\n var childrenRenderProps = typeof children === 'function';\n if (childrenRenderProps) {\n var values = formInstance.getFieldsValue(true);\n childrenNode = children(values, formInstance);\n } else {\n childrenNode = children;\n }\n // Not use subscribe when using render props\n useSubscribe(!childrenRenderProps);\n // Listen if fields provided. We use ref to save prev data here to avoid additional render\n var prevFieldsRef = React.useRef();\n React.useEffect(function () {\n if (!isSimilar(prevFieldsRef.current || [], fields || [])) {\n formInstance.setFields(fields || []);\n }\n prevFieldsRef.current = fields;\n }, [fields, formInstance]);\n var formContextValue = React.useMemo(function () {\n return _objectSpread(_objectSpread({}, formInstance), {}, {\n validateTrigger: validateTrigger\n });\n }, [formInstance, validateTrigger]);\n var wrapperNode = /*#__PURE__*/React.createElement(FieldContext.Provider, {\n value: formContextValue\n }, childrenNode);\n if (Component === false) {\n return wrapperNode;\n }\n return /*#__PURE__*/React.createElement(Component, _extends({}, restProps, {\n onSubmit: function onSubmit(event) {\n event.preventDefault();\n event.stopPropagation();\n formInstance.submit();\n },\n onReset: function onReset(event) {\n var _restProps$onReset;\n event.preventDefault();\n formInstance.resetFields();\n (_restProps$onReset = restProps.onReset) === null || _restProps$onReset === void 0 ? void 0 : _restProps$onReset.call(restProps, event);\n }\n }), wrapperNode);\n};\nexport default Form;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { FieldContext } from '.';\nimport warning from \"rc-util/es/warning\";\nimport { HOOK_MARK } from './FieldContext';\nimport { useState, useContext, useEffect, useRef, useMemo } from 'react';\nimport { getNamePath, getValue } from './utils/valueUtil';\nexport function stringify(value) {\n try {\n return JSON.stringify(value);\n } catch (err) {\n return Math.random();\n }\n}\nfunction useWatch() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var _args$ = args[0],\n dependencies = _args$ === void 0 ? [] : _args$,\n form = args[1];\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n value = _useState2[0],\n setValue = _useState2[1];\n var valueStr = useMemo(function () {\n return stringify(value);\n }, [value]);\n var valueStrRef = useRef(valueStr);\n valueStrRef.current = valueStr;\n var fieldContext = useContext(FieldContext);\n var formInstance = form || fieldContext;\n var isValidForm = formInstance && formInstance._init;\n // Warning if not exist form instance\n if (process.env.NODE_ENV !== 'production') {\n warning(args.length === 2 ? form ? isValidForm : true : isValidForm, 'useWatch requires a form instance since it can not auto detect from context.');\n }\n var namePath = getNamePath(dependencies);\n var namePathRef = useRef(namePath);\n namePathRef.current = namePath;\n useEffect(function () {\n // Skip if not exist form instance\n if (!isValidForm) {\n return;\n }\n var getFieldsValue = formInstance.getFieldsValue,\n getInternalHooks = formInstance.getInternalHooks;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n registerWatch = _getInternalHooks.registerWatch;\n var cancelRegister = registerWatch(function (store) {\n var newValue = getValue(store, namePathRef.current);\n var nextValueStr = stringify(newValue);\n // Compare stringify in case it's nest object\n if (valueStrRef.current !== nextValueStr) {\n valueStrRef.current = nextValueStr;\n setValue(newValue);\n }\n });\n // TODO: We can improve this perf in future\n var initialValue = getValue(getFieldsValue(), namePathRef.current);\n setValue(initialValue);\n return cancelRegister;\n },\n // We do not need re-register since namePath content is the same\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [isValidForm]);\n return value;\n}\nexport default useWatch;","import * as React from 'react';\nimport Field from './Field';\nimport List from './List';\nimport useForm from './useForm';\nimport FieldForm from './Form';\nimport { FormProvider } from './FormContext';\nimport FieldContext from './FieldContext';\nimport ListContext from './ListContext';\nimport useWatch from './useWatch';\nvar InternalForm = /*#__PURE__*/React.forwardRef(FieldForm);\nvar RefForm = InternalForm;\nRefForm.FormProvider = FormProvider;\nRefForm.Field = Field;\nRefForm.List = List;\nRefForm.useForm = useForm;\nRefForm.useWatch = useWatch;\nexport { Field, List, useForm, FormProvider, FieldContext, ListContext, useWatch };\nexport default RefForm;","export default {\n // Options.jsx\n items_per_page: '/ page',\n jump_to: 'Go to',\n jump_to_confirm: 'confirm',\n page: 'Page',\n // Pagination.jsx\n prev_page: 'Previous Page',\n next_page: 'Next Page',\n prev_5: 'Previous 5 Pages',\n next_5: 'Next 5 Pages',\n prev_3: 'Previous 3 Pages',\n next_3: 'Next 3 Pages',\n page_size: 'Page Size'\n};","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}"],"names":["asn_CheckCircleFilled","CheckCircleFilled_CheckCircleFilled","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckCircleFilled","forwardRef","asn_CloseCircleFilled","CloseCircleFilled_CloseCircleFilled","icons_CloseCircleFilled","asn_ExclamationCircleFilled","ExclamationCircleFilled_ExclamationCircleFilled","icons_ExclamationCircleFilled","__webpack_exports__","_date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_0__","date_picker_locale_en_US","lang","esm_extends","placeholder","yearPlaceholder","quarterPlaceholder","monthPlaceholder","weekPlaceholder","rangePlaceholder","rangeYearPlaceholder","rangeQuarterPlaceholder","rangeMonthPlaceholder","rangeWeekPlaceholder","locale","today","now","backToToday","ok","clear","month","year","timeSelect","dateSelect","weekSelect","monthSelect","yearSelect","decadeSelect","yearFormat","dateFormat","dayFormat","dateTimeFormat","monthBeforeYear","previousMonth","nextMonth","previousYear","nextYear","previousDecade","nextDecade","previousCentury","nextCentury","timePickerLocale","locale_en_US","FormContext","react__WEBPACK_IMPORTED_MODULE_1__","createContext","labelAlign","vertical","itemRef","NoStyleItemContext","FormProvider","providerProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__","rc_field_form__WEBPACK_IMPORTED_MODULE_0__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","FormItemPrefixContext","prefixCls","FormItemInputContext","NoFormStyle","_ref","children","status","override","formItemInputContext","useContext","newFormItemInputContext","useMemo","newContext","isFormItemInput","hasFeedback","feedbackIcon","Provider","value","locale_provider_default","locale_default","locale_provider_LocaleReceiver","_props$componentName","componentName","defaultLocale","antLocale","context","_a","localeFromContext","Function","localeCode","exist","useLocaleReceiver","LocaleContext","react__WEBPACK_IMPORTED_MODULE_0__","undefined","typeTemplate","localeValues","Pagination","rc_pagination_es_locale_en_US__WEBPACK_IMPORTED_MODULE_0__","DatePicker","_date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_1__","TimePicker","_time_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_2__","Calendar","_calendar_locale_en_US__WEBPACK_IMPORTED_MODULE_3__","global","Table","filterTitle","filterConfirm","filterReset","filterEmptyText","filterCheckall","filterSearchPlaceholder","emptyText","selectAll","selectInvert","selectNone","selectionAll","sortTitle","expand","collapse","triggerDesc","triggerAsc","cancelSort","Modal","okText","cancelText","justOkText","Popconfirm","Transfer","titles","searchPlaceholder","itemUnit","itemsUnit","remove","selectCurrent","removeCurrent","removeAll","Upload","uploading","removeFile","uploadError","previewFile","downloadFile","Empty","description","Icon","Text","edit","copy","copied","PageHeader","back","Form","optional","defaultValidateMessages","required","whitespace","date","format","parse","invalid","types","string","method","array","object","number","integer","regexp","email","url","hex","len","min","max","range","pattern","mismatch","Image","preview","urlReg","HOOK_MARK","warningFunc","warning","ZP","FieldContext","getFieldValue","getFieldsValue","getFieldError","getFieldWarning","getFieldsError","isFieldsTouched","isFieldTouched","isFieldValidating","isFieldsValidating","resetFields","setFields","setFieldValue","setFieldsValue","validateFields","submit","getInternalHooks","dispatch","initEntityValue","registerField","useSubscribe","setInitialValues","destroyForm","setCallbacks","registerWatch","getFields","setValidateMessages","setPreserve","getInitialValue","typeUtil_toArray","Array","isArray","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","p","_construct","Parent","args","Class","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","e","a","push","instance","_wrapNativeSuper","_cache","Map","toString","indexOf","has","get","set","Wrapper","constructor","create","enumerable","writable","configurable","formatRegExp","convertFieldsError","errors","fields","forEach","error","field","template","_len","_key","replace","x","String","Number","JSON","stringify","_","isEmptyValue","type","isNativeStringType","asyncSerialArray","arr","func","callback","index","arrLength","next","original","process","env","AsyncValidationError","_Error","subClass","_this","superClass","Error","complementError","rule","oe","fieldValue","fullFields","getValue","path","v","fullField","obj","message","deepMerge","s","required$1","options","messages","getUrlRegex","word","b","includeBoundaries","v4","v6seg","v6","trim","v46Exact","v4exact","v6exact","ip","exact","pattern$2","parseInt","RegExp","getTime","getMonth","getYear","isNaN","match","ENUM$1","rules","test","ruleType","custom","val","str","join","lastIndex","_pattern","validators","dateObject","Date","any","newMessages","clone","cloned","Schema","descriptor","_messages","define","_proto","keys","name","item","validate","source_","oc","_this2","Promise","resolve","messages$1","series","z","r","transform","validator","getValidationMethod","getType","errorFields","asyncMap","objArr","option","first","_pending","reject","ret","k","firstFields","objArrKeys","objArrLength","total","results","pending","asyncParallelArray","count","data","doIt","res","deep","defaultField","addFullField","schema","concat","cb","errorList","suppressWarning","filledErrors","map","fieldsSchema","paredFieldsSchema","fieldSchema","fieldSchemaList","errs","finalErrors","asyncValidator","console","suppressValidatorError","setTimeout","then","complete","add","_errors","messageIndex","splice","register","default","enum","boolean","float","entity","current","cloneDeep","esm_typeof","cloneObjectDeep","getNamePath","setValue","store","namePath","removeIfUndefined","paths","slice","internalSet","_paths","esm_toArray","restPath","toConsumableArray","cloneByNamePathList","namePathList","newStore","containsNamePath","some","matchNamePath","isObject","setValues","restValues","reduce","internalSetValues","values","prevValue","recursive","utils_cloneDeep","changedNamePath","every","nameUnit","defaultGetValueFromEvent","valuePropName","event","valueUtil_move","moveIndex","toIndex","diff","CODE_LOGIC_ERROR","validateRule","_x","_x2","_x3","_x4","_x5","_validateRule","asyncToGenerator","regeneratorRuntime","mark","_callee2","messageVariables","cloneRule","originValidator","subRuleField","result","subResults","kv","fillVariableResult","wrap","_context2","prev","ruleIndex","defineProperty","validateMessages","t0","_ref4","mergedMessage","isValidElement","cloneElement","all","subValue","sent","abrupt","replaceMessage","stop","_finishOnAllFailed","_callee3","rulePromises","_context3","errorsList","_ref5","_finishOnFirstFailed","_callee4","_context4","promise","ruleError","_excluded","EMPTY_ERRORS","requireUpdate","shouldUpdate","nextValue","info","Field","_React$Component","inherits","_super","createSuper","classCallCheck","state","resetCount","cancelRegisterFunc","mounted","touched","dirty","validatePromise","prevValidating","warnings","cancelRegister","_this$props","preserve","isListField","_this$props2","_fieldContext$prefixN","fieldContext","prefixName","getRules","_this$props3","_this$props3$rules","refresh","setState","triggerMetaEvent","destroy","onMetaChange","getMeta","onStoreChange","prevStore","_this$props4","_this$props4$dependen","dependencies","onReset","curValue","namePathMatch","reRender","validating","dependencyList","dependency","relatedFields","validateRules","currentValue","rootPromise","_this$props5","_this$props5$validate","validateFirst","triggerName","_ref2","filteredRules","filter","validateTrigger","triggerList","includes","_ref3","summaryPromise","filledRules","currentRule","originValidatorFunc","hasPromise","catch","err","sort","w1","warningOnly","i1","w2","i2","_callee","_context","_x6","_x7","finishOnFirstFailed","_x9","finishOnAllFailed","_x8","ruleErrors","_ruleErrors$forEach","nextErrors","nextWarnings","_ref3$errors","isFieldDirty","initialValue","_fieldContext$getInte","getErrors","getWarnings","isList","isPreserve","getOnlyChild","meta","getControlled","isFunction","childList","toArray","child","childProps","_this$props6","trigger","getValueFromEvent","normalize","getValueProps","mergedValidateTrigger","_getInternalHooks","originTriggerFunc","control","mergedGetValueProps","newValue","validateTriggerList","originTrigger","_getInternalHooks2","assertThisInitialized","createClass","_this$props7","_getInternalHooks3","forceUpdate","returnChildNode","_this$getOnlyChild","Fragment","Component","contextType","defaultProps","es_Field","restProps","objectWithoutProperties","es_ListContext","es_List","keyManager","keyRef","useRef","id","parentPrefixName","listContext","getKey","pathName","_ref3$value","onChange","getNewValue","listValue","__","defaultValue","indexSet","Set","size","keysIndex","valueIndex","move","from","to","SPLIT","cell","NameMap","kvs","updater","delete","entries","slicedToArray","cells","split","_cell$match","_cell$match2","unit","json","useForm_excluded","FormStore","forceRootUpdate","formHooked","subscribable","fieldEntities","initialValues","callbacks","lastValidatePromise","getForm","_init","prevWithoutPreserves","init","_this$prevWithoutPres","nextStore","updateStore","getFieldEntities","isMergedPreserve","initValue","watchList","fn","notifyWatch","timeoutId","warningUnhooked","pure","getFieldsMap","cache","getFieldEntitiesForNamePathList","nameList","INVALIDATE_NAME_PATH","filterFunc","filteredNameList","_entity$isListField","fieldError","arg0","arg1","isAllFieldsTouched","shortNamePath","fieldNamePath","update","list","isNamePathListTouched","entities","namePathListEntities","testField","resetWithFieldInitialValue","requiredFieldEntities","records","_requiredFieldEntitie","resetWithFields","formInitialValue","originValue","skipExist","notifyObservers","fieldData","fieldPreserve","mergedPreserve","subNamePath","_prevStore","triggerDependenciesUpdate","action","updateValue","_namePath","mergedInfo","childrenFields","getDependencyChildrenFields","onValuesChange","triggerOnFieldsChange","rootNamePath","dependencies2fields","dependencyNamePath","fillChildren","filedErrors","onFieldsChange","hasError","provideNameList","promiseList","mergedErrors","mergedWarnings","_ref6","resultNamePathList","_ref7","returnPromise","outOfDate","onFinish","onFinishFailed","es_useForm","form","formRef","_React$useState","useState","_React$useState2","formStore","triggerFormChange","triggerFormFinish","registerForm","unregisterForm","onFormChange","onFormFinish","formContext","formsRef","changedFields","forms","newForms","Form_excluded","Math","random","es_useWatch","_args$","_useState","_useState2","valueStr","valueStrRef","formInstance","isValidForm","namePathRef","useEffect","nextValueStr","RefForm","childrenNode","_ref$component","component","_ref$validateTrigger","_onFieldsChange","_onFinish","_useForm","_useForm2","_formInstance$getInte","useImperativeHandle","rest","mountRef","childrenRenderProps","prevFieldsRef","isSimilar","sourceKeys","targetKeys","sourceValue","targetValue","formContextValue","wrapperNode","onSubmit","preventDefault","stopPropagation","_restProps$onReset","List","useForm","useWatch","es","items_per_page","jump_to","jump_to_confirm","page","prev_page","next_page","prev_5","next_5","prev_3","next_3","page_size","_toArray","_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__","_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__","_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/173-ccbfb20ad361599e.js b/static/web/_next/static/chunks/173-ccbfb20ad361599e.js new file mode 100644 index 000000000..23fce5885 --- /dev/null +++ b/static/web/_next/static/chunks/173-ccbfb20ad361599e.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[173],{9708:function(e,t,n){n.d(t,{F:function(){return u},Z:function(){return l}});var r=n(4942),a=n(94184),o=n.n(a);function l(e,t,n){var a;return o()((a={},(0,r.Z)(a,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(a,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(a,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(a,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(a,"".concat(e,"-has-feedback"),n),a))}(0,n(93355).b)("warning","error","");var u=function(e,t){return t||e}},82586:function(e,t,n){n.d(t,{ZP:function(){return y},D7:function(){return Z},rJ:function(){return C},nH:function(){return w}});var r=n(4942),a=n(87462),o=n(71002),l=n(4340),u=n(94184),i=n.n(u),c=n(59775),s=n(42550),f=n(67294),d=n(53124),p=n(98866),v=n(97647),m=n(65223),g=n(4173),h=n(9708),b=n(72922),x=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);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function Z(e){return null==e?"":String(e)}function C(e,t,n,r){if(n){var a=t;if("click"===t.type){var o=e.cloneNode(!0);a=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",n(a);return}if(void 0!==r){a=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(a);return}n(a)}}function w(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var y=(0,f.forwardRef)(function(e,t){var n,u,Z,C,w=e.prefixCls,y=e.bordered,E=void 0===y||y,N=e.status,S=e.size,z=e.disabled,A=e.onBlur,R=e.onFocus,k=e.suffix,T=e.allowClear,O=e.addonAfter,P=e.addonBefore,F=e.className,I=e.onChange,j=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),B=f.useContext(d.E_),V=B.getPrefixCls,D=B.direction,H=B.input,M=V("input",w),K=(0,f.useRef)(null),L=(0,g.ri)(M,D),_=L.compactSize,W=L.compactItemClassnames,J=f.useContext(v.Z),U=_||S||J,Y=f.useContext(p.Z),Q=(0,f.useContext)(m.aM),X=Q.status,q=Q.hasFeedback,G=Q.feedbackIcon,$=(0,h.F)(X,N),ee=!!(e.prefix||e.suffix||e.allowClear)||!!q,et=(0,f.useRef)(ee);(0,f.useEffect)(function(){ee&&et.current,et.current=ee},[ee]);var en=(0,b.Z)(K,!0),er=(q||k)&&f.createElement(f.Fragment,null,k,q&&G);return"object"===(0,o.Z)(T)&&(null==T?void 0:T.clearIcon)?C=T:T&&(C={clearIcon:f.createElement(l.Z,null)}),f.createElement(c.default,(0,a.Z)({ref:(0,s.sQ)(t,K),prefixCls:M,autoComplete:null==H?void 0:H.autoComplete},j,{disabled:(null!=z?z:Y)||void 0,onBlur:function(e){en(),null==A||A(e)},onFocus:function(e){en(),null==R||R(e)},suffix:er,allowClear:C,className:i()(F,W),onChange:function(e){en(),null==I||I(e)},addonAfter:O&&f.createElement(g.BR,null,f.createElement(m.Ux,{override:!0,status:!0},O)),addonBefore:P&&f.createElement(g.BR,null,f.createElement(m.Ux,{override:!0,status:!0},P)),inputClassName:i()((n={},(0,r.Z)(n,"".concat(M,"-sm"),"small"===U),(0,r.Z)(n,"".concat(M,"-lg"),"large"===U),(0,r.Z)(n,"".concat(M,"-rtl"),"rtl"===D),(0,r.Z)(n,"".concat(M,"-borderless"),!E),n),!ee&&(0,h.Z)(M,$)),affixWrapperClassName:i()((u={},(0,r.Z)(u,"".concat(M,"-affix-wrapper-sm"),"small"===U),(0,r.Z)(u,"".concat(M,"-affix-wrapper-lg"),"large"===U),(0,r.Z)(u,"".concat(M,"-affix-wrapper-rtl"),"rtl"===D),(0,r.Z)(u,"".concat(M,"-affix-wrapper-borderless"),!E),u),(0,h.Z)("".concat(M,"-affix-wrapper"),$,q)),wrapperClassName:i()((0,r.Z)({},"".concat(M,"-group-rtl"),"rtl"===D)),groupClassName:i()((Z={},(0,r.Z)(Z,"".concat(M,"-group-wrapper-sm"),"small"===U),(0,r.Z)(Z,"".concat(M,"-group-wrapper-lg"),"large"===U),(0,r.Z)(Z,"".concat(M,"-group-wrapper-rtl"),"rtl"===D),Z),(0,h.Z)("".concat(M,"-group-wrapper"),$,q))}))})},80173:function(e,t,n){n.d(t,{Z:function(){return T}});var r=n(71002),a=n(4942),o=n(87462),l=n(97685),u=n(74902),i=n(94184),c=n.n(i),s=n(57239),f=n(21770),d=n(98423),p=n(67294),v=n(53124),m=n(98866),g=n(97647),h=n(65223),b=n(9708),x=n(15671),Z=n(43144),C=n(60136),w=n(33643),y=n(4340),E=n(96159),N=(0,n(93355).b)("text","input"),S=function(e){(0,C.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,x.Z)(this,n),t.apply(this,arguments)}return(0,Z.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,o=n.disabled,l=n.readOnly,u=n.handleReset,i=n.suffix,s="".concat(e,"-clear-icon");return p.createElement(y.Z,{onClick:u,onMouseDown:function(e){return e.preventDefault()},className:c()((t={},(0,a.Z)(t,"".concat(s,"-hidden"),!(!o&&!l&&r)),(0,a.Z)(t,"".concat(s,"-has-suffix"),!!i),t),s),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,o,l=this.props,u=l.value,i=l.allowClear,s=l.className,f=l.style,d=l.direction,v=l.bordered,m=l.hidden,g=l.status,h=n.status,x=n.hasFeedback;if(!i)return(0,E.Tm)(t,{value:u});var Z=c()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,b.Z)("".concat(e,"-affix-wrapper"),(0,b.F)(h,g),x),(o={},(0,a.Z)(o,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,a.Z)(o,"".concat(e,"-affix-wrapper-borderless"),!v),(0,a.Z)(o,"".concat(s),!((r=this.props).addonBefore||r.addonAfter)&&s),o));return p.createElement("span",{className:Z,style:f,hidden:m},(0,E.Tm)(t,{style:null,value:u}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(h.aM.Consumer,null,function(t){var n=e.props,r=n.prefixCls,a=n.inputType,o=n.element;if(a===N[0])return e.renderTextAreaWithClearIcon(r,o,t)})}}]),n}(p.Component),z=n(82586),A=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);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function R(e,t){return(0,u.Z)(e||"").slice(0,t).join("")}function k(e,t,n,r){var a=n;return e?a=R(n,r):(0,u.Z)(t||"").lengthr&&(a=t),a}var T=p.forwardRef(function(e,t){var n=e.prefixCls,i=e.bordered,x=void 0===i||i,Z=e.showCount,C=void 0!==Z&&Z,w=e.maxLength,y=e.className,E=e.style,N=e.size,T=e.disabled,O=e.onCompositionStart,P=e.onCompositionEnd,F=e.onChange,I=e.status,j=A(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),B=p.useContext(v.E_),V=B.getPrefixCls,D=B.direction,H=p.useContext(g.Z),M=p.useContext(m.Z),K=null!=T?T:M,L=p.useContext(h.aM),_=L.status,W=L.hasFeedback,J=L.isFormItemInput,U=L.feedbackIcon,Y=(0,b.F)(_,I),Q=p.useRef(null),X=p.useRef(null),q=p.useState(!1),G=(0,l.Z)(q,2),$=G[0],ee=G[1],et=p.useRef(),en=p.useRef(0),er=(0,f.Z)(j.defaultValue,{value:j.value}),ea=(0,l.Z)(er,2),eo=ea[0],el=ea[1],eu=j.hidden,ei=function(e,t){void 0===j.value&&(el(e),null==t||t())},ec=Number(w)>0,es=V("input",n);p.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=Q.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,z.nH)(null===(n=null===(t=Q.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Q.current)||void 0===e?void 0:e.blur()}}});var ef=p.createElement(s.default,(0,o.Z)({},(0,d.Z)(j,["allowClear"]),{disabled:K,className:c()((ev={},(0,a.Z)(ev,"".concat(es,"-borderless"),!x),(0,a.Z)(ev,y,y&&!C),(0,a.Z)(ev,"".concat(es,"-sm"),"small"===H||"small"===N),(0,a.Z)(ev,"".concat(es,"-lg"),"large"===H||"large"===N),ev),(0,b.Z)(es,Y)),style:C?{resize:null==E?void 0:E.resize}:E,prefixCls:es,onCompositionStart:function(e){ee(!0),et.current=eo,en.current=e.currentTarget.selectionStart,null==O||O(e)},onChange:function(e){var t=e.target.value;!$&&ec&&(t=k(e.target.selectionStart>=w+1||e.target.selectionStart===t.length||!e.target.selectionStart,eo,t,w)),ei(t),(0,z.rJ)(e.currentTarget,e,F,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;ec&&(n=k(en.current>=w+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,w)),n!==eo&&(ei(n),(0,z.rJ)(e.currentTarget,e,F,n)),null==P||P(e)},ref:Q})),ed=(0,z.D7)(eo);!$&&ec&&(null===j.value||void 0===j.value)&&(ed=R(ed,w));var ep=p.createElement(S,(0,o.Z)({disabled:K},j,{prefixCls:es,direction:D,inputType:"text",value:ed,element:ef,handleReset:function(e){var t,n,r;ei(""),null===(t=Q.current)||void 0===t||t.focus(),(0,z.rJ)(null===(r=null===(n=Q.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,F)},ref:X,bordered:x,status:I,style:C?void 0:E}));if(C||W){var ev,em,eg=(0,u.Z)(ed).length,eh="";return eh="object"===(0,r.Z)(C)?C.formatter({value:ed,count:eg,maxLength:w}):"".concat(eg).concat(ec?" / ".concat(w):""),p.createElement("div",{hidden:eu,className:c()("".concat(es,"-textarea"),(em={},(0,a.Z)(em,"".concat(es,"-textarea-rtl"),"rtl"===D),(0,a.Z)(em,"".concat(es,"-textarea-show-count"),C),(0,a.Z)(em,"".concat(es,"-textarea-in-form-item"),J),em),(0,b.Z)("".concat(es,"-textarea"),Y,W),y),style:E,"data-count":eh},ep,W&&p.createElement("span",{className:"".concat(es,"-textarea-suffix")},U))}return ep})},72922:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(67294);function a(e,t){var n=(0,r.useRef)([]),a=function(){n.current.push(setTimeout(function(){var t,n,r,a;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(a=e.current)||void 0===a||a.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&a(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),a}},59775:function(e,t,n){n.r(t),n.d(t,{BaseInput:function(){return d},default:function(){return Z}});var r=n(4942),a=n(71002),o=n(67294),l=n(94184),u=n.n(l);function i(e){return!!(e.addonBefore||e.addonAfter)}function c(e){return!!(e.prefix||e.suffix||e.allowClear)}function s(e,t,n,r){if(n){var a=t;if("click"===t.type){var o=e.cloneNode(!0);a=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",n(a);return}if(void 0!==r){a=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(a);return}n(a)}}function f(e){return null==e?"":String(e)}var d=function(e){var t=e.inputElement,n=e.prefixCls,l=e.prefix,s=e.suffix,f=e.addonBefore,d=e.addonAfter,p=e.className,v=e.style,m=e.affixWrapperClassName,g=e.groupClassName,h=e.wrapperClassName,b=e.disabled,x=e.readOnly,Z=e.focused,C=e.triggerFocus,w=e.allowClear,y=e.value,E=e.handleReset,N=e.hidden,S=(0,o.useRef)(null),z=(0,o.cloneElement)(t,{value:y,hidden:N});if(c(e)){var A,R="".concat(n,"-affix-wrapper"),k=u()(R,(A={},(0,r.Z)(A,"".concat(R,"-disabled"),b),(0,r.Z)(A,"".concat(R,"-focused"),Z),(0,r.Z)(A,"".concat(R,"-readonly"),x),(0,r.Z)(A,"".concat(R,"-input-with-clear-btn"),s&&w&&y),A),!i(e)&&p,m),T=(s||w)&&o.createElement("span",{className:"".concat(n,"-suffix")},function(){if(!w)return null;var e,t="".concat(n,"-clear-icon"),l="object"===(0,a.Z)(w)&&null!=w&&w.clearIcon?w.clearIcon:"✖";return o.createElement("span",{onClick:E,onMouseDown:function(e){return e.preventDefault()},className:u()(t,(e={},(0,r.Z)(e,"".concat(t,"-hidden"),!(!b&&!x&&y)),(0,r.Z)(e,"".concat(t,"-has-suffix"),!!s),e)),role:"button",tabIndex:-1},l)}(),s);z=o.createElement("span",{className:k,style:v,hidden:!i(e)&&N,onClick:function(e){var t;null!==(t=S.current)&&void 0!==t&&t.contains(e.target)&&(null==C||C())},ref:S},l&&o.createElement("span",{className:"".concat(n,"-prefix")},l),(0,o.cloneElement)(t,{style:null,value:y,hidden:null}),T)}if(i(e)){var O="".concat(n,"-group"),P="".concat(O,"-addon"),F=u()("".concat(n,"-wrapper"),O,h),I=u()("".concat(n,"-group-wrapper"),p,g);return o.createElement("span",{className:I,style:v,hidden:N},o.createElement("span",{className:F},f&&o.createElement("span",{className:P},f),(0,o.cloneElement)(z,{style:null,hidden:null}),d&&o.createElement("span",{className:P},d)))}return z},p=n(74902),v=n(87462),m=n(97685),g=n(45987),h=n(98423),b=n(21770),x=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],Z=(0,o.forwardRef)(function(e,t){var n,l=e.autoComplete,Z=e.onChange,C=e.onFocus,w=e.onBlur,y=e.onPressEnter,E=e.onKeyDown,N=e.prefixCls,S=void 0===N?"rc-input":N,z=e.disabled,A=e.htmlSize,R=e.className,k=e.maxLength,T=e.suffix,O=e.showCount,P=e.type,F=e.inputClassName,I=(0,g.Z)(e,x),j=(0,b.Z)(e.defaultValue,{value:e.value}),B=(0,m.Z)(j,2),V=B[0],D=B[1],H=(0,o.useState)(!1),M=(0,m.Z)(H,2),K=M[0],L=M[1],_=(0,o.useRef)(null),W=function(e){_.current&&function(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}(_.current,e)};return(0,o.useImperativeHandle)(t,function(){return{focus:W,blur:function(){var e;null===(e=_.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=_.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=_.current)||void 0===e||e.select()},input:_.current}}),(0,o.useEffect)(function(){L(function(e){return(!e||!z)&&e})},[z]),o.createElement(d,(0,v.Z)({},I,{prefixCls:S,className:R,inputElement:(n=(0,h.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]),o.createElement("input",(0,v.Z)({autoComplete:l},n,{onChange:function(t){void 0===e.value&&D(t.target.value),_.current&&s(_.current,t,Z)},onFocus:function(e){L(!0),null==C||C(e)},onBlur:function(e){L(!1),null==w||w(e)},onKeyDown:function(e){y&&"Enter"===e.key&&y(e),null==E||E(e)},className:u()(S,(0,r.Z)({},"".concat(S,"-disabled"),z),F,!i(e)&&!c(e)&&R),ref:_,size:A,type:void 0===P?"text":P}))),handleReset:function(e){D(""),W(),_.current&&s(_.current,e,Z)},value:f(V),focused:K,triggerFocus:W,suffix:function(){var e=Number(k)>0;if(T||O){var t=f(V),n=(0,p.Z)(t).length,l="object"===(0,a.Z)(O)?O.formatter({value:t,count:n,maxLength:k}):"".concat(n).concat(e?" / ".concat(k):"");return o.createElement(o.Fragment,null,!!O&&o.createElement("span",{className:u()("".concat(S,"-show-count-suffix"),(0,r.Z)({},"".concat(S,"-show-count-has-suffix"),!!T))},l),T)}return null}(),disabled:z}))})},57239:function(e,t,n){n.r(t),n.d(t,{ResizableTextArea:function(){return E},default:function(){return N}});var r,a=n(87462),o=n(15671),l=n(43144),u=n(60136),i=n(33643),c=n(67294),s=n(4942),f=n(1413),d=n(71002),p=n(97685),v=n(45987),m=n(48555),g=n(8410),h=n(75164),b=n(21770),x=n(94184),Z=n.n(x),C=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],w={},y=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],E=c.forwardRef(function(e,t){var n=e.prefixCls,o=void 0===n?"rc-textarea":n,l=(e.onPressEnter,e.defaultValue),u=e.value,i=e.autoSize,x=e.onResize,E=e.className,N=e.style,S=e.disabled,z=e.onChange,A=(e.onInternalAutoSize,(0,v.Z)(e,y)),R=(0,b.Z)(l,{value:u,postState:function(e){return null!=e?e:""}}),k=(0,p.Z)(R,2),T=k[0],O=k[1],P=c.useRef();c.useImperativeHandle(t,function(){return{textArea:P.current}});var F=c.useMemo(function(){return i&&"object"===(0,d.Z)(i)?[i.minRows,i.maxRows]:[]},[i]),I=(0,p.Z)(F,2),j=I[0],B=I[1],V=!!i,D=function(){try{if(document.activeElement===P.current){var e=P.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;P.current.setSelectionRange(t,n),P.current.scrollTop=r}}catch(a){}},H=c.useState(2),M=(0,p.Z)(H,2),K=M[0],L=M[1],_=c.useState(),W=(0,p.Z)(_,2),J=W[0],U=W[1],Y=function(){L(0)};(0,g.Z)(function(){V&&Y()},[u,j,B,V]),(0,g.Z)(function(){if(0===K)L(1);else if(1===K){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&w[n])return w[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),l=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u={sizingStyle:C.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:o,borderSize:l,boxSizing:a};return t&&n&&(w[n]=u),u}(e,n),u=l.paddingSize,i=l.borderSize,c=l.boxSizing,s=l.sizingStyle;r.setAttribute("style","".concat(s,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===c?p+=i:"content-box"===c&&(p-=u),null!==a||null!==o){r.value=" ";var v=r.scrollHeight-u;null!==a&&(f=v*a,"border-box"===c&&(f=f+u+i),p=Math.max(f,p)),null!==o&&(d=v*o,"border-box"===c&&(d=d+u+i),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(P.current,!1,j,B);L(2),U(e)}else D()},[K]);var Q=c.useRef(),X=function(){h.Z.cancel(Q.current)};c.useEffect(function(){return X},[]);var q=(0,f.Z)((0,f.Z)({},N),V?J:null);return(0===K||1===K)&&(q.overflowY="hidden",q.overflowX="hidden"),c.createElement(m.default,{onResize:function(e){2===K&&(null==x||x(e),i&&(X(),Q.current=(0,h.Z)(function(){Y()})))},disabled:!(i||x)},c.createElement("textarea",(0,a.Z)({},A,{ref:P,style:q,className:Z()(o,E,(0,s.Z)({},"".concat(o,"-disabled"),S)),disabled:S,value:T,onChange:function(e){O(e.target.value),null==z||z(e)}})))}),N=function(e){(0,u.Z)(n,e);var t=(0,i.Z)(n);function n(e){(0,o.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,a=t.onKeyDown;13===e.keyCode&&n&&n(e),a&&a(e)};var r,a=void 0===e.value||null===e.value?e.defaultValue:e.value;return r.state={value:a},r}return(0,l.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c.createElement(E,(0,a.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c.Component)}}]); +//# sourceMappingURL=173-ccbfb20ad361599e.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/173-ccbfb20ad361599e.js.map b/static/web/_next/static/chunks/173-ccbfb20ad361599e.js.map new file mode 100644 index 000000000..b855016d5 --- /dev/null +++ b/static/web/_next/static/chunks/173-ccbfb20ad361599e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/173-ccbfb20ad361599e.js","mappings":"0LAIO,SAAAA,EAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,EACP,IAAAC,EACA,OAASC,IAAUD,CAAAA,EAAA,GAAoB,GAAAE,EAAAC,CAAA,EAAeH,EAAA,GAAAI,MAAA,CAAAP,EAAA,mBAAAC,YAAAA,GAA8E,GAAAI,EAAAC,CAAA,EAAeH,EAAA,GAAAI,MAAA,CAAAP,EAAA,mBAAAC,YAAAA,GAA8E,GAAAI,EAAAC,CAAA,EAAeH,EAAA,GAAAI,MAAA,CAAAP,EAAA,iBAAAC,UAAAA,GAA0E,GAAAI,EAAAC,CAAA,EAAeH,EAAA,GAAAI,MAAA,CAAAP,EAAA,sBAAAC,eAAAA,GAAoF,GAAAI,EAAAC,CAAA,EAAeH,EAAA,GAAAI,MAAA,CAAAP,EAAA,iBAAAE,GAAAC,CAAA,EAC5a,CAJoB,GAAAK,SAAAC,CAAA,EAAK,sBAKlB,IAAAC,EAAA,SAAAC,CAAA,CAAAC,CAAA,EACP,OAAAA,GAAAD,CACA,gTEPAE,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IA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UAAAlU,CAAA,EACA,IAAAwH,EAAAe,EAAAnG,KAAA,CACAkM,EAAA9G,EAAA8G,YAAA,CACAC,EAAA/G,EAAA+G,SAAA,CACA,KAAAvO,EAAAmU,OAAA,EAAA7F,GACAA,EAAAtO,GAEAuO,GACAA,EAAAvO,EAEA,EACA,IA5BAuI,EA4BA1H,EAAA,SAAAuB,EAAAvB,KAAA,EAAAuB,IAAA,GAAAA,EAAAvB,KAAA,CAAAuB,EAAAyI,YAAA,CAAAzI,EAAAvB,KAAA,CAIA,OAHA0H,EAAA6L,KAAA,EACAvT,MAAAA,CACA,EACA0H,CACA,CAoCA,MAnCE,GAAAjB,EAAA/H,CAAA,EAAYwU,EAAA,EACdxM,IAAA,WACA1G,MAAA,SAAAA,CAAA,CAAAqK,CAAA,EACA,eAAA9I,KAAA,EACA,KAAAiS,QAAA,EACAxT,MAAAA,CACA,EAASqK,EAET,CACA,EAAG,CACH3D,IAAA,OACA1G,MAAA,WACA,KAAAyK,iBAAA,CAAAI,QAAA,CAAAC,IAAA,EACA,CACA,EAAG,CACHpE,IAAA,SACA1G,MAAA,WACA,OAA0BqB,EAAAuD,aAAmB,CAACiK,EAAmB,GAAA3J,EAAAxG,CAAA,EAAQ,GAAG,KAAA6C,KAAA,EAC5EvB,MAAA,KAAAuT,KAAA,CAAAvT,KAAA,CACA0N,UAAA,KAAA2F,aAAA,CACAjT,SAAA,KAAAgT,YAAA,CACA5R,IAAA,KAAA2R,YAAA,GAEA,CACA,EAAG,GACHzM,IAAA,2BACA1G,MAAA,SAAAyT,CAAA,QACA,UAAAA,EACA,CACAzT,MAAAyT,EAAAzT,KAAA,EAGA,KAEA,EAAG,EACHkT,CACA,EAAE7R,EAAA0G,SAAe","sources":["webpack://_N_E/./node_modules/antd/es/_util/statusUtils.js","webpack://_N_E/./node_modules/antd/es/input/utils.js","webpack://_N_E/./node_modules/antd/es/input/Input.js","webpack://_N_E/./node_modules/antd/es/input/ClearableLabeledInput.js","webpack://_N_E/./node_modules/antd/es/input/TextArea.js","webpack://_N_E/./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js","webpack://_N_E/./node_modules/rc-input/es/utils/commonUtils.js","webpack://_N_E/./node_modules/rc-input/es/BaseInput.js","webpack://_N_E/./node_modules/rc-input/es/Input.js","webpack://_N_E/./node_modules/rc-input/es/index.js","webpack://_N_E/./node_modules/rc-textarea/es/calculateNodeHeight.js","webpack://_N_E/./node_modules/rc-textarea/es/ResizableTextArea.js","webpack://_N_E/./node_modules/rc-textarea/es/index.js","webpack://_N_E/"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport { tuple } from './type';\nvar InputStatuses = tuple('warning', 'error', '');\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n var _classNames;\n return classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-success\"), status === 'success'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-warning\"), status === 'warning'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-error\"), status === 'error'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-validating\"), status === 'validating'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-feedback\"), hasFeedback), _classNames));\n}\nexport var getMergedStatus = function getMergedStatus(contextStatus, customStatus) {\n return customStatus || contextStatus;\n};","// eslint-disable-next-line import/prefer-default-export\nexport function hasPrefixSuffix(props) {\n return !!(props.prefix || props.suffix || props.allowClear);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport classNames from 'classnames';\nimport RcInput from 'rc-input';\nimport { composeRef } from \"rc-util/es/ref\";\nimport React, { forwardRef, useContext, useEffect, useRef } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { FormItemInputContext, NoFormStyle } from '../form/context';\nimport { NoCompactStyle, useCompactItemContext } from '../space/Compact';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nimport useRemovePasswordTimeout from './hooks/useRemovePasswordTimeout';\nimport { hasPrefixSuffix } from './utils';\nexport function fixControlledValue(value) {\n if (typeof value === 'undefined' || value === null) {\n return '';\n }\n return String(value);\n}\nexport function resolveOnChange(target, e, onChange, targetValue) {\n if (!onChange) {\n return;\n }\n var event = e;\n if (e.type === 'click') {\n // Clone a new target for event.\n // Avoid the following usage, the setQuery method gets the original value.\n //\n // const [query, setQuery] = React.useState('');\n // {\n // setQuery((prevStatus) => e.target.value);\n // }}\n // />\n var currentTarget = target.cloneNode(true);\n // click clear icon\n event = Object.create(e, {\n target: {\n value: currentTarget\n },\n currentTarget: {\n value: currentTarget\n }\n });\n currentTarget.value = '';\n onChange(event);\n return;\n }\n // Trigger by composition event, this means we need force change the input value\n if (targetValue !== undefined) {\n event = Object.create(e, {\n target: {\n value: target\n },\n currentTarget: {\n value: target\n }\n });\n target.value = targetValue;\n onChange(event);\n return;\n }\n onChange(event);\n}\nexport function triggerFocus(element, option) {\n if (!element) {\n return;\n }\n element.focus(option);\n // Selection content\n var _ref = option || {},\n cursor = _ref.cursor;\n if (cursor) {\n var len = element.value.length;\n switch (cursor) {\n case 'start':\n element.setSelectionRange(0, 0);\n break;\n case 'end':\n element.setSelectionRange(len, len);\n break;\n default:\n element.setSelectionRange(0, len);\n break;\n }\n }\n}\nvar Input = /*#__PURE__*/forwardRef(function (props, ref) {\n var _classNames, _classNames2, _classNames4;\n var customizePrefixCls = props.prefixCls,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n customStatus = props.status,\n customSize = props.size,\n customDisabled = props.disabled,\n onBlur = props.onBlur,\n onFocus = props.onFocus,\n suffix = props.suffix,\n allowClear = props.allowClear,\n addonAfter = props.addonAfter,\n addonBefore = props.addonBefore,\n className = props.className,\n onChange = props.onChange,\n rest = __rest(props, [\"prefixCls\", \"bordered\", \"status\", \"size\", \"disabled\", \"onBlur\", \"onFocus\", \"suffix\", \"allowClear\", \"addonAfter\", \"addonBefore\", \"className\", \"onChange\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction,\n input = _React$useContext.input;\n var prefixCls = getPrefixCls('input', customizePrefixCls);\n var inputRef = useRef(null);\n // ===================== Compact Item =====================\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== Status =====================\n var _useContext = useContext(FormItemInputContext),\n contextStatus = _useContext.status,\n hasFeedback = _useContext.hasFeedback,\n feedbackIcon = _useContext.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n // ===================== Focus warning =====================\n var inputHasPrefixSuffix = hasPrefixSuffix(props) || !!hasFeedback;\n var prevHasPrefixSuffix = useRef(inputHasPrefixSuffix);\n useEffect(function () {\n var _a;\n if (inputHasPrefixSuffix && !prevHasPrefixSuffix.current) {\n process.env.NODE_ENV !== \"production\" ? warning(document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input), 'Input', \"When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ\") : void 0;\n }\n prevHasPrefixSuffix.current = inputHasPrefixSuffix;\n }, [inputHasPrefixSuffix]);\n // ===================== Remove Password value =====================\n var removePasswordTimeout = useRemovePasswordTimeout(inputRef, true);\n var handleBlur = function handleBlur(e) {\n removePasswordTimeout();\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n };\n var handleFocus = function handleFocus(e) {\n removePasswordTimeout();\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);\n };\n var handleChange = function handleChange(e) {\n removePasswordTimeout();\n onChange === null || onChange === void 0 ? void 0 : onChange(e);\n };\n var suffixNode = (hasFeedback || suffix) && /*#__PURE__*/React.createElement(React.Fragment, null, suffix, hasFeedback && feedbackIcon);\n // Allow clear\n var mergedAllowClear;\n if (_typeof(allowClear) === 'object' && (allowClear === null || allowClear === void 0 ? void 0 : allowClear.clearIcon)) {\n mergedAllowClear = allowClear;\n } else if (allowClear) {\n mergedAllowClear = {\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null)\n };\n }\n return /*#__PURE__*/React.createElement(RcInput, _extends({\n ref: composeRef(ref, inputRef),\n prefixCls: prefixCls,\n autoComplete: input === null || input === void 0 ? void 0 : input.autoComplete\n }, rest, {\n disabled: mergedDisabled || undefined,\n onBlur: handleBlur,\n onFocus: handleFocus,\n suffix: suffixNode,\n allowClear: mergedAllowClear,\n className: classNames(className, compactItemClassnames),\n onChange: handleChange,\n addonAfter: addonAfter && /*#__PURE__*/React.createElement(NoCompactStyle, null, /*#__PURE__*/React.createElement(NoFormStyle, {\n override: true,\n status: true\n }, addonAfter)),\n addonBefore: addonBefore && /*#__PURE__*/React.createElement(NoCompactStyle, null, /*#__PURE__*/React.createElement(NoFormStyle, {\n override: true,\n status: true\n }, addonBefore)),\n inputClassName: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _classNames), !inputHasPrefixSuffix && getStatusClassNames(prefixCls, mergedStatus)),\n affixWrapperClassName: classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-sm\"), mergedSize === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-lg\"), mergedSize === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-borderless\"), !bordered), _classNames2), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), mergedStatus, hasFeedback)),\n wrapperClassName: classNames(_defineProperty({}, \"\".concat(prefixCls, \"-group-rtl\"), direction === 'rtl')),\n groupClassName: classNames((_classNames4 = {}, _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-sm\"), mergedSize === 'small'), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-lg\"), mergedSize === 'large'), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-rtl\"), direction === 'rtl'), _classNames4), getStatusClassNames(\"\".concat(prefixCls, \"-group-wrapper\"), mergedStatus, hasFeedback))\n }));\n});\nexport default Input;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { FormItemInputContext } from '../form/context';\nimport { cloneElement } from '../_util/reactNode';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { tuple } from '../_util/type';\nvar ClearableInputType = tuple('text', 'input');\nfunction hasAddon(props) {\n return !!(props.addonBefore || props.addonAfter);\n}\nvar ClearableLabeledInput = /*#__PURE__*/function (_React$Component) {\n _inherits(ClearableLabeledInput, _React$Component);\n var _super = _createSuper(ClearableLabeledInput);\n function ClearableLabeledInput() {\n _classCallCheck(this, ClearableLabeledInput);\n return _super.apply(this, arguments);\n }\n _createClass(ClearableLabeledInput, [{\n key: \"renderClearIcon\",\n value: function renderClearIcon(prefixCls) {\n var _classNames;\n var _this$props = this.props,\n value = _this$props.value,\n disabled = _this$props.disabled,\n readOnly = _this$props.readOnly,\n handleReset = _this$props.handleReset,\n suffix = _this$props.suffix;\n var needClear = !disabled && !readOnly && value;\n var className = \"\".concat(prefixCls, \"-clear-icon\");\n return /*#__PURE__*/React.createElement(CloseCircleFilled, {\n onClick: handleReset,\n // Do not trigger onBlur when clear input\n // https://github.com/ant-design/ant-design/issues/31200\n onMouseDown: function onMouseDown(e) {\n return e.preventDefault();\n },\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(className, \"-hidden\"), !needClear), _defineProperty(_classNames, \"\".concat(className, \"-has-suffix\"), !!suffix), _classNames), className),\n role: \"button\"\n });\n }\n }, {\n key: \"renderTextAreaWithClearIcon\",\n value: function renderTextAreaWithClearIcon(prefixCls, element, statusContext) {\n var _classNames2;\n var _this$props2 = this.props,\n value = _this$props2.value,\n allowClear = _this$props2.allowClear,\n className = _this$props2.className,\n style = _this$props2.style,\n direction = _this$props2.direction,\n bordered = _this$props2.bordered,\n hidden = _this$props2.hidden,\n customStatus = _this$props2.status;\n var contextStatus = statusContext.status,\n hasFeedback = statusContext.hasFeedback;\n if (!allowClear) {\n return cloneElement(element, {\n value: value\n });\n }\n var affixWrapperCls = classNames(\"\".concat(prefixCls, \"-affix-wrapper\"), \"\".concat(prefixCls, \"-affix-wrapper-textarea-with-clear-btn\"), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), getMergedStatus(contextStatus, customStatus), hasFeedback), (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(className), !hasAddon(this.props) && className), _classNames2));\n return /*#__PURE__*/React.createElement(\"span\", {\n className: affixWrapperCls,\n style: style,\n hidden: hidden\n }, cloneElement(element, {\n style: null,\n value: value\n }), this.renderClearIcon(prefixCls));\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this = this;\n return /*#__PURE__*/React.createElement(FormItemInputContext.Consumer, null, function (statusContext) {\n var _this$props3 = _this.props,\n prefixCls = _this$props3.prefixCls,\n inputType = _this$props3.inputType,\n element = _this$props3.element;\n if (inputType === ClearableInputType[0]) {\n return _this.renderTextAreaWithClearIcon(prefixCls, element, statusContext);\n }\n });\n }\n }]);\n return ClearableLabeledInput;\n}(React.Component);\nexport default ClearableLabeledInput;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcTextArea from 'rc-textarea';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { FormItemInputContext } from '../form/context';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport ClearableLabeledInput from './ClearableLabeledInput';\nimport { fixControlledValue, resolveOnChange, triggerFocus } from './Input';\nfunction fixEmojiLength(value, maxLength) {\n return _toConsumableArray(value || '').slice(0, maxLength).join('');\n}\nfunction setTriggerValue(isCursorInEnd, preValue, triggerValue, maxLength) {\n var newTriggerValue = triggerValue;\n if (isCursorInEnd) {\n // 光标在尾部,直接截断\n newTriggerValue = fixEmojiLength(triggerValue, maxLength);\n } else if (_toConsumableArray(preValue || '').length < triggerValue.length && _toConsumableArray(triggerValue || '').length > maxLength) {\n // 光标在中间,如果最后的值超过最大值,则采用原先的值\n newTriggerValue = preValue;\n }\n return newTriggerValue;\n}\nvar TextArea = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? true : _a$bordered,\n _a$showCount = _a.showCount,\n showCount = _a$showCount === void 0 ? false : _a$showCount,\n maxLength = _a.maxLength,\n className = _a.className,\n style = _a.style,\n customizeSize = _a.size,\n customDisabled = _a.disabled,\n onCompositionStart = _a.onCompositionStart,\n onCompositionEnd = _a.onCompositionEnd,\n onChange = _a.onChange,\n customStatus = _a.status,\n props = __rest(_a, [\"prefixCls\", \"bordered\", \"showCount\", \"maxLength\", \"className\", \"style\", \"size\", \"disabled\", \"onCompositionStart\", \"onCompositionEnd\", \"onChange\", \"status\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var size = React.useContext(SizeContext);\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n var _React$useContext2 = React.useContext(FormItemInputContext),\n contextStatus = _React$useContext2.status,\n hasFeedback = _React$useContext2.hasFeedback,\n isFormItemInput = _React$useContext2.isFormItemInput,\n feedbackIcon = _React$useContext2.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var innerRef = React.useRef(null);\n var clearableInputRef = React.useRef(null);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n compositing = _React$useState2[0],\n setCompositing = _React$useState2[1];\n var oldCompositionValueRef = React.useRef();\n var oldSelectionStartRef = React.useRef(0);\n var _useMergedState = useMergedState(props.defaultValue, {\n value: props.value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n value = _useMergedState2[0],\n setValue = _useMergedState2[1];\n var hidden = props.hidden;\n var handleSetValue = function handleSetValue(val, callback) {\n if (props.value === undefined) {\n setValue(val);\n callback === null || callback === void 0 ? void 0 : callback();\n }\n };\n // =========================== Value Update ===========================\n // Max length value\n var hasMaxLength = Number(maxLength) > 0;\n var onInternalCompositionStart = function onInternalCompositionStart(e) {\n setCompositing(true);\n // 拼音输入前保存一份旧值\n oldCompositionValueRef.current = value;\n // 保存旧的光标位置\n oldSelectionStartRef.current = e.currentTarget.selectionStart;\n onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);\n };\n var onInternalCompositionEnd = function onInternalCompositionEnd(e) {\n var _a;\n setCompositing(false);\n var triggerValue = e.currentTarget.value;\n if (hasMaxLength) {\n var isCursorInEnd = oldSelectionStartRef.current >= maxLength + 1 || oldSelectionStartRef.current === ((_a = oldCompositionValueRef.current) === null || _a === void 0 ? void 0 : _a.length);\n triggerValue = setTriggerValue(isCursorInEnd, oldCompositionValueRef.current, triggerValue, maxLength);\n }\n // Patch composition onChange when value changed\n if (triggerValue !== value) {\n handleSetValue(triggerValue);\n resolveOnChange(e.currentTarget, e, onChange, triggerValue);\n }\n onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);\n };\n var handleChange = function handleChange(e) {\n var triggerValue = e.target.value;\n if (!compositing && hasMaxLength) {\n // 1. 复制粘贴超过maxlength的情况 2.未超过maxlength的情况\n var isCursorInEnd = e.target.selectionStart >= maxLength + 1 || e.target.selectionStart === triggerValue.length || !e.target.selectionStart;\n triggerValue = setTriggerValue(isCursorInEnd, value, triggerValue, maxLength);\n }\n handleSetValue(triggerValue);\n resolveOnChange(e.currentTarget, e, onChange, triggerValue);\n };\n // ============================== Reset ===============================\n var handleReset = function handleReset(e) {\n var _a, _b, _c;\n handleSetValue('');\n (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n resolveOnChange((_c = (_b = innerRef.current) === null || _b === void 0 ? void 0 : _b.resizableTextArea) === null || _c === void 0 ? void 0 : _c.textArea, e, onChange);\n };\n var prefixCls = getPrefixCls('input', customizePrefixCls);\n React.useImperativeHandle(ref, function () {\n var _a;\n return {\n resizableTextArea: (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.resizableTextArea,\n focus: function focus(option) {\n var _a, _b;\n triggerFocus((_b = (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.resizableTextArea) === null || _b === void 0 ? void 0 : _b.textArea, option);\n },\n blur: function blur() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n }\n };\n });\n var textArea = /*#__PURE__*/React.createElement(RcTextArea, _extends({}, omit(props, ['allowClear']), {\n disabled: mergedDisabled,\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, className, className && !showCount), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small' || customizeSize === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large' || customizeSize === 'large'), _classNames), getStatusClassNames(prefixCls, mergedStatus)),\n style: showCount ? {\n resize: style === null || style === void 0 ? void 0 : style.resize\n } : style,\n prefixCls: prefixCls,\n onCompositionStart: onInternalCompositionStart,\n onChange: handleChange,\n onCompositionEnd: onInternalCompositionEnd,\n ref: innerRef\n }));\n var val = fixControlledValue(value);\n if (!compositing && hasMaxLength && (props.value === null || props.value === undefined)) {\n // fix #27612 将value转为数组进行截取,解决 '😂'.length === 2 等emoji表情导致的截取乱码的问题\n val = fixEmojiLength(val, maxLength);\n }\n // TextArea\n var textareaNode = /*#__PURE__*/React.createElement(ClearableLabeledInput, _extends({\n disabled: mergedDisabled\n }, props, {\n prefixCls: prefixCls,\n direction: direction,\n inputType: \"text\",\n value: val,\n element: textArea,\n handleReset: handleReset,\n ref: clearableInputRef,\n bordered: bordered,\n status: customStatus,\n style: showCount ? undefined : style\n }));\n // Only show text area wrapper when needed\n if (showCount || hasFeedback) {\n var _classNames2;\n var valueLength = _toConsumableArray(val).length;\n var dataCount = '';\n if (_typeof(showCount) === 'object') {\n dataCount = showCount.formatter({\n value: val,\n count: valueLength,\n maxLength: maxLength\n });\n } else {\n dataCount = \"\".concat(valueLength).concat(hasMaxLength ? \" / \".concat(maxLength) : '');\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n hidden: hidden,\n className: classNames(\"\".concat(prefixCls, \"-textarea\"), (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-textarea-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-textarea-show-count\"), showCount), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-textarea-in-form-item\"), isFormItemInput), _classNames2), getStatusClassNames(\"\".concat(prefixCls, \"-textarea\"), mergedStatus, hasFeedback), className),\n style: style,\n \"data-count\": dataCount\n }, textareaNode, hasFeedback && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-textarea-suffix\")\n }, feedbackIcon));\n }\n return textareaNode;\n});\nexport default TextArea;","import { useEffect, useRef } from 'react';\nexport default function useRemovePasswordTimeout(inputRef, triggerOnMount) {\n var removePasswordTimeoutRef = useRef([]);\n var removePasswordTimeout = function removePasswordTimeout() {\n removePasswordTimeoutRef.current.push(setTimeout(function () {\n var _a, _b, _c, _d;\n if (((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) && ((_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.input.getAttribute('type')) === 'password' && ((_c = inputRef.current) === null || _c === void 0 ? void 0 : _c.input.hasAttribute('value'))) {\n (_d = inputRef.current) === null || _d === void 0 ? void 0 : _d.input.removeAttribute('value');\n }\n }));\n };\n useEffect(function () {\n if (triggerOnMount) {\n removePasswordTimeout();\n }\n return function () {\n return removePasswordTimeoutRef.current.forEach(function (timer) {\n if (timer) {\n clearTimeout(timer);\n }\n });\n };\n }, []);\n return removePasswordTimeout;\n}","export function hasAddon(props) {\n return !!(props.addonBefore || props.addonAfter);\n}\nexport function hasPrefixSuffix(props) {\n return !!(props.prefix || props.suffix || props.allowClear);\n}\nexport function resolveOnChange(target, e, onChange, targetValue) {\n if (!onChange) {\n return;\n }\n\n var event = e;\n\n if (e.type === 'click') {\n // Clone a new target for event.\n // Avoid the following usage, the setQuery method gets the original value.\n //\n // const [query, setQuery] = React.useState('');\n // {\n // setQuery((prevStatus) => e.target.value);\n // }}\n // />\n var currentTarget = target.cloneNode(true); // click clear icon\n\n event = Object.create(e, {\n target: {\n value: currentTarget\n },\n currentTarget: {\n value: currentTarget\n }\n });\n currentTarget.value = '';\n onChange(event);\n return;\n } // Trigger by composition event, this means we need force change the input value\n\n\n if (targetValue !== undefined) {\n event = Object.create(e, {\n target: {\n value: target\n },\n currentTarget: {\n value: target\n }\n });\n target.value = targetValue;\n onChange(event);\n return;\n }\n\n onChange(event);\n}\nexport function triggerFocus(element, option) {\n if (!element) return;\n element.focus(option); // Selection content\n\n var _ref = option || {},\n cursor = _ref.cursor;\n\n if (cursor) {\n var len = element.value.length;\n\n switch (cursor) {\n case 'start':\n element.setSelectionRange(0, 0);\n break;\n\n case 'end':\n element.setSelectionRange(len, len);\n break;\n\n default:\n element.setSelectionRange(0, len);\n }\n }\n}\nexport function fixControlledValue(value) {\n if (typeof value === 'undefined' || value === null) {\n return '';\n }\n\n return String(value);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport React, { cloneElement, useRef } from 'react';\nimport classNames from 'classnames';\nimport { hasAddon, hasPrefixSuffix } from \"./utils/commonUtils\";\n\nvar BaseInput = function BaseInput(props) {\n var inputElement = props.inputElement,\n prefixCls = props.prefixCls,\n prefix = props.prefix,\n suffix = props.suffix,\n addonBefore = props.addonBefore,\n addonAfter = props.addonAfter,\n className = props.className,\n style = props.style,\n affixWrapperClassName = props.affixWrapperClassName,\n groupClassName = props.groupClassName,\n wrapperClassName = props.wrapperClassName,\n disabled = props.disabled,\n readOnly = props.readOnly,\n focused = props.focused,\n triggerFocus = props.triggerFocus,\n allowClear = props.allowClear,\n value = props.value,\n handleReset = props.handleReset,\n hidden = props.hidden;\n var containerRef = useRef(null);\n\n var onInputClick = function onInputClick(e) {\n var _containerRef$current;\n\n if ((_containerRef$current = containerRef.current) !== null && _containerRef$current !== void 0 && _containerRef$current.contains(e.target)) {\n triggerFocus === null || triggerFocus === void 0 ? void 0 : triggerFocus();\n }\n }; // ================== Clear Icon ================== //\n\n\n var getClearIcon = function getClearIcon() {\n var _classNames;\n\n if (!allowClear) {\n return null;\n }\n\n var needClear = !disabled && !readOnly && value;\n var clearIconCls = \"\".concat(prefixCls, \"-clear-icon\");\n var iconNode = _typeof(allowClear) === 'object' && allowClear !== null && allowClear !== void 0 && allowClear.clearIcon ? allowClear.clearIcon : '✖';\n return /*#__PURE__*/React.createElement(\"span\", {\n onClick: handleReset // Do not trigger onBlur when clear input\n // https://github.com/ant-design/ant-design/issues/31200\n ,\n onMouseDown: function onMouseDown(e) {\n return e.preventDefault();\n },\n className: classNames(clearIconCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(clearIconCls, \"-hidden\"), !needClear), _defineProperty(_classNames, \"\".concat(clearIconCls, \"-has-suffix\"), !!suffix), _classNames)),\n role: \"button\",\n tabIndex: -1\n }, iconNode);\n };\n\n var element = /*#__PURE__*/cloneElement(inputElement, {\n value: value,\n hidden: hidden\n }); // ================== Prefix & Suffix ================== //\n\n if (hasPrefixSuffix(props)) {\n var _classNames2;\n\n var affixWrapperPrefixCls = \"\".concat(prefixCls, \"-affix-wrapper\");\n var affixWrapperCls = classNames(affixWrapperPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-disabled\"), disabled), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-focused\"), focused), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-readonly\"), readOnly), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-input-with-clear-btn\"), suffix && allowClear && value), _classNames2), !hasAddon(props) && className, affixWrapperClassName);\n var suffixNode = (suffix || allowClear) && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, getClearIcon(), suffix);\n element = /*#__PURE__*/React.createElement(\"span\", {\n className: affixWrapperCls,\n style: style,\n hidden: !hasAddon(props) && hidden,\n onClick: onInputClick,\n ref: containerRef\n }, prefix && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prefix\")\n }, prefix), /*#__PURE__*/cloneElement(inputElement, {\n style: null,\n value: value,\n hidden: null\n }), suffixNode);\n } // ================== Addon ================== //\n\n\n if (hasAddon(props)) {\n var wrapperCls = \"\".concat(prefixCls, \"-group\");\n var addonCls = \"\".concat(wrapperCls, \"-addon\");\n var mergedWrapperClassName = classNames(\"\".concat(prefixCls, \"-wrapper\"), wrapperCls, wrapperClassName);\n var mergedGroupClassName = classNames(\"\".concat(prefixCls, \"-group-wrapper\"), className, groupClassName); // Need another wrapper for changing display:table to display:inline-block\n // and put style prop in wrapper\n\n return /*#__PURE__*/React.createElement(\"span\", {\n className: mergedGroupClassName,\n style: style,\n hidden: hidden\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: mergedWrapperClassName\n }, addonBefore && /*#__PURE__*/React.createElement(\"span\", {\n className: addonCls\n }, addonBefore), /*#__PURE__*/cloneElement(element, {\n style: null,\n hidden: null\n }), addonAfter && /*#__PURE__*/React.createElement(\"span\", {\n className: addonCls\n }, addonAfter)));\n }\n\n return element;\n};\n\nexport default BaseInput;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"autoComplete\", \"onChange\", \"onFocus\", \"onBlur\", \"onPressEnter\", \"onKeyDown\", \"prefixCls\", \"disabled\", \"htmlSize\", \"className\", \"maxLength\", \"suffix\", \"showCount\", \"type\", \"inputClassName\"];\nimport React, { useRef, useState, forwardRef, useImperativeHandle, useEffect } from 'react';\nimport BaseInput from \"./BaseInput\";\nimport omit from \"rc-util/es/omit\";\nimport { fixControlledValue, hasAddon, hasPrefixSuffix, resolveOnChange, triggerFocus } from \"./utils/commonUtils\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nvar Input = /*#__PURE__*/forwardRef(function (props, ref) {\n var autoComplete = props.autoComplete,\n onChange = props.onChange,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPressEnter = props.onPressEnter,\n onKeyDown = props.onKeyDown,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-input' : _props$prefixCls,\n disabled = props.disabled,\n htmlSize = props.htmlSize,\n className = props.className,\n maxLength = props.maxLength,\n suffix = props.suffix,\n showCount = props.showCount,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n inputClassName = props.inputClassName,\n rest = _objectWithoutProperties(props, _excluded);\n\n var _useMergedState = useMergedState(props.defaultValue, {\n value: props.value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n value = _useMergedState2[0],\n setValue = _useMergedState2[1];\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n focused = _useState2[0],\n setFocused = _useState2[1];\n\n var inputRef = useRef(null);\n\n var focus = function focus(option) {\n if (inputRef.current) {\n triggerFocus(inputRef.current, option);\n }\n };\n\n useImperativeHandle(ref, function () {\n return {\n focus: focus,\n blur: function blur() {\n var _inputRef$current;\n\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.blur();\n },\n setSelectionRange: function setSelectionRange(start, end, direction) {\n var _inputRef$current2;\n\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.setSelectionRange(start, end, direction);\n },\n select: function select() {\n var _inputRef$current3;\n\n (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.select();\n },\n input: inputRef.current\n };\n });\n useEffect(function () {\n setFocused(function (prev) {\n return prev && disabled ? false : prev;\n });\n }, [disabled]);\n\n var handleChange = function handleChange(e) {\n if (props.value === undefined) {\n setValue(e.target.value);\n }\n\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange);\n }\n };\n\n var handleKeyDown = function handleKeyDown(e) {\n if (onPressEnter && e.key === 'Enter') {\n onPressEnter(e);\n }\n\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);\n };\n\n var handleFocus = function handleFocus(e) {\n setFocused(true);\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);\n };\n\n var handleBlur = function handleBlur(e) {\n setFocused(false);\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n };\n\n var handleReset = function handleReset(e) {\n setValue('');\n focus();\n\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange);\n }\n };\n\n var getInputElement = function getInputElement() {\n // Fix https://fb.me/react-unknown-prop\n var otherProps = omit(props, ['prefixCls', 'onPressEnter', 'addonBefore', 'addonAfter', 'prefix', 'suffix', 'allowClear', // Input elements must be either controlled or uncontrolled,\n // specify either the value prop, or the defaultValue prop, but not both.\n 'defaultValue', 'showCount', 'affixWrapperClassName', 'groupClassName', 'inputClassName', 'wrapperClassName', 'htmlSize']);\n return /*#__PURE__*/React.createElement(\"input\", _extends({\n autoComplete: autoComplete\n }, otherProps, {\n onChange: handleChange,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onKeyDown: handleKeyDown,\n className: classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled), inputClassName, !hasAddon(props) && !hasPrefixSuffix(props) && className),\n ref: inputRef,\n size: htmlSize,\n type: type\n }));\n };\n\n var getSuffix = function getSuffix() {\n // Max length value\n var hasMaxLength = Number(maxLength) > 0;\n\n if (suffix || showCount) {\n var val = fixControlledValue(value);\n\n var valueLength = _toConsumableArray(val).length;\n\n var dataCount = _typeof(showCount) === 'object' ? showCount.formatter({\n value: val,\n count: valueLength,\n maxLength: maxLength\n }) : \"\".concat(valueLength).concat(hasMaxLength ? \" / \".concat(maxLength) : '');\n return /*#__PURE__*/React.createElement(React.Fragment, null, !!showCount && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-show-count-suffix\"), _defineProperty({}, \"\".concat(prefixCls, \"-show-count-has-suffix\"), !!suffix))\n }, dataCount), suffix);\n }\n\n return null;\n };\n\n return /*#__PURE__*/React.createElement(BaseInput, _extends({}, rest, {\n prefixCls: prefixCls,\n className: className,\n inputElement: getInputElement(),\n handleReset: handleReset,\n value: fixControlledValue(value),\n focused: focused,\n triggerFocus: focus,\n suffix: getSuffix(),\n disabled: disabled\n }));\n});\nexport default Input;","import BaseInput from \"./BaseInput\";\nimport Input from \"./Input\";\nexport { BaseInput };\nexport default Input;","// Thanks to https://github.com/andreypopp/react-textarea-autosize/\n/**\n * calculateNodeHeight(uiTextNode, useCache = false)\n */\nvar HIDDEN_TEXTAREA_STYLE = \"\\n min-height:0 !important;\\n max-height:none !important;\\n height:0 !important;\\n visibility:hidden !important;\\n overflow:hidden !important;\\n position:absolute !important;\\n z-index:-1000 !important;\\n top:0 !important;\\n right:0 !important;\\n pointer-events: none !important;\\n\";\nvar SIZING_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'font-variant', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing', 'word-break'];\nvar computedStyleCache = {};\nvar hiddenTextarea;\nexport function calculateNodeStyling(node) {\n var useCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var nodeRef = node.getAttribute('id') || node.getAttribute('data-reactid') || node.getAttribute('name');\n if (useCache && computedStyleCache[nodeRef]) {\n return computedStyleCache[nodeRef];\n }\n var style = window.getComputedStyle(node);\n var boxSizing = style.getPropertyValue('box-sizing') || style.getPropertyValue('-moz-box-sizing') || style.getPropertyValue('-webkit-box-sizing');\n var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));\n var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));\n var sizingStyle = SIZING_STYLE.map(function (name) {\n return \"\".concat(name, \":\").concat(style.getPropertyValue(name));\n }).join(';');\n var nodeInfo = {\n sizingStyle: sizingStyle,\n paddingSize: paddingSize,\n borderSize: borderSize,\n boxSizing: boxSizing\n };\n if (useCache && nodeRef) {\n computedStyleCache[nodeRef] = nodeInfo;\n }\n return nodeInfo;\n}\nexport default function calculateAutoSizeStyle(uiTextNode) {\n var useCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var minRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var maxRows = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement('textarea');\n hiddenTextarea.setAttribute('tab-index', '-1');\n hiddenTextarea.setAttribute('aria-hidden', 'true');\n document.body.appendChild(hiddenTextarea);\n }\n // Fix wrap=\"off\" issue\n // https://github.com/ant-design/ant-design/issues/6577\n if (uiTextNode.getAttribute('wrap')) {\n hiddenTextarea.setAttribute('wrap', uiTextNode.getAttribute('wrap'));\n } else {\n hiddenTextarea.removeAttribute('wrap');\n }\n // Copy all CSS properties that have an impact on the height of the content in\n // the textbox\n var _calculateNodeStyling = calculateNodeStyling(uiTextNode, useCache),\n paddingSize = _calculateNodeStyling.paddingSize,\n borderSize = _calculateNodeStyling.borderSize,\n boxSizing = _calculateNodeStyling.boxSizing,\n sizingStyle = _calculateNodeStyling.sizingStyle;\n // Need to have the overflow attribute to hide the scrollbar otherwise\n // text-lines will not calculated properly as the shadow will technically be\n // narrower for content\n hiddenTextarea.setAttribute('style', \"\".concat(sizingStyle, \";\").concat(HIDDEN_TEXTAREA_STYLE));\n hiddenTextarea.value = uiTextNode.value || uiTextNode.placeholder || '';\n var minHeight = undefined;\n var maxHeight = undefined;\n var overflowY;\n var height = hiddenTextarea.scrollHeight;\n if (boxSizing === 'border-box') {\n // border-box: add border, since height = content + padding + border\n height += borderSize;\n } else if (boxSizing === 'content-box') {\n // remove padding, since height = content\n height -= paddingSize;\n }\n if (minRows !== null || maxRows !== null) {\n // measure height of a textarea with a single row\n hiddenTextarea.value = ' ';\n var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n if (minRows !== null) {\n minHeight = singleRowHeight * minRows;\n if (boxSizing === 'border-box') {\n minHeight = minHeight + paddingSize + borderSize;\n }\n height = Math.max(minHeight, height);\n }\n if (maxRows !== null) {\n maxHeight = singleRowHeight * maxRows;\n if (boxSizing === 'border-box') {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n overflowY = height > maxHeight ? '' : 'hidden';\n height = Math.min(maxHeight, height);\n }\n }\n var style = {\n height: height,\n overflowY: overflowY,\n resize: 'none'\n };\n if (minHeight) {\n style.minHeight = minHeight;\n }\n if (maxHeight) {\n style.maxHeight = maxHeight;\n }\n return style;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"onPressEnter\", \"defaultValue\", \"value\", \"autoSize\", \"onResize\", \"className\", \"style\", \"disabled\", \"onChange\", \"onInternalAutoSize\"];\nimport * as React from 'react';\nimport ResizeObserver from 'rc-resize-observer';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport raf from \"rc-util/es/raf\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport classNames from 'classnames';\nimport calculateAutoSizeStyle from './calculateNodeHeight';\nvar RESIZE_START = 0;\nvar RESIZE_MEASURING = 1;\nvar RESIZE_STABLE = 2;\nvar ResizableTextArea = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-textarea' : _props$prefixCls,\n onPressEnter = props.onPressEnter,\n defaultValue = props.defaultValue,\n value = props.value,\n autoSize = props.autoSize,\n onResize = props.onResize,\n className = props.className,\n style = props.style,\n disabled = props.disabled,\n onChange = props.onChange,\n onInternalAutoSize = props.onInternalAutoSize,\n restProps = _objectWithoutProperties(props, _excluded);\n // =============================== Value ================================\n var _useMergedState = useMergedState(defaultValue, {\n value: value,\n postState: function postState(val) {\n return val !== null && val !== void 0 ? val : '';\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1];\n var onInternalChange = function onInternalChange(event) {\n setMergedValue(event.target.value);\n onChange === null || onChange === void 0 ? void 0 : onChange(event);\n };\n // ================================ Ref =================================\n var textareaRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n textArea: textareaRef.current\n };\n });\n // ============================== AutoSize ==============================\n var _React$useMemo = React.useMemo(function () {\n if (autoSize && _typeof(autoSize) === 'object') {\n return [autoSize.minRows, autoSize.maxRows];\n }\n return [];\n }, [autoSize]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n minRows = _React$useMemo2[0],\n maxRows = _React$useMemo2[1];\n var needAutoSize = !!autoSize;\n // =============================== Scroll ===============================\n // https://github.com/ant-design/ant-design/issues/21870\n var fixFirefoxAutoScroll = function fixFirefoxAutoScroll() {\n try {\n // FF has bug with jump of scroll to top. We force back here.\n if (document.activeElement === textareaRef.current) {\n var _textareaRef$current = textareaRef.current,\n selectionStart = _textareaRef$current.selectionStart,\n selectionEnd = _textareaRef$current.selectionEnd,\n scrollTop = _textareaRef$current.scrollTop;\n // Fix Safari bug which not rollback when break line\n // This makes Chinese IME can't input. Do not fix this\n // const { value: tmpValue } = textareaRef.current;\n // textareaRef.current.value = '';\n // textareaRef.current.value = tmpValue;\n textareaRef.current.setSelectionRange(selectionStart, selectionEnd);\n textareaRef.current.scrollTop = scrollTop;\n }\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n // =============================== Resize ===============================\n var _React$useState = React.useState(RESIZE_STABLE),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n resizeState = _React$useState2[0],\n setResizeState = _React$useState2[1];\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n autoSizeStyle = _React$useState4[0],\n setAutoSizeStyle = _React$useState4[1];\n var startResize = function startResize() {\n setResizeState(RESIZE_START);\n if (process.env.NODE_ENV === 'test') {\n onInternalAutoSize === null || onInternalAutoSize === void 0 ? void 0 : onInternalAutoSize();\n }\n };\n // Change to trigger resize measure\n useLayoutEffect(function () {\n if (needAutoSize) {\n startResize();\n }\n }, [value, minRows, maxRows, needAutoSize]);\n useLayoutEffect(function () {\n if (resizeState === RESIZE_START) {\n setResizeState(RESIZE_MEASURING);\n } else if (resizeState === RESIZE_MEASURING) {\n var textareaStyles = calculateAutoSizeStyle(textareaRef.current, false, minRows, maxRows);\n // Safari has bug that text will keep break line on text cut when it's prev is break line.\n // ZombieJ: This not often happen. So we just skip it.\n // const { selectionStart, selectionEnd, scrollTop } = textareaRef.current;\n // const { value: tmpValue } = textareaRef.current;\n // textareaRef.current.value = '';\n // textareaRef.current.value = tmpValue;\n // if (document.activeElement === textareaRef.current) {\n // textareaRef.current.scrollTop = scrollTop;\n // textareaRef.current.setSelectionRange(selectionStart, selectionEnd);\n // }\n setResizeState(RESIZE_STABLE);\n setAutoSizeStyle(textareaStyles);\n } else {\n fixFirefoxAutoScroll();\n }\n }, [resizeState]);\n // We lock resize trigger by raf to avoid Safari warning\n var resizeRafRef = React.useRef();\n var cleanRaf = function cleanRaf() {\n raf.cancel(resizeRafRef.current);\n };\n var onInternalResize = function onInternalResize(size) {\n if (resizeState === RESIZE_STABLE) {\n onResize === null || onResize === void 0 ? void 0 : onResize(size);\n if (autoSize) {\n cleanRaf();\n resizeRafRef.current = raf(function () {\n startResize();\n });\n }\n }\n };\n React.useEffect(function () {\n return cleanRaf;\n }, []);\n // =============================== Render ===============================\n var mergedAutoSizeStyle = needAutoSize ? autoSizeStyle : null;\n var mergedStyle = _objectSpread(_objectSpread({}, style), mergedAutoSizeStyle);\n if (resizeState === RESIZE_START || resizeState === RESIZE_MEASURING) {\n mergedStyle.overflowY = 'hidden';\n mergedStyle.overflowX = 'hidden';\n }\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onInternalResize,\n disabled: !(autoSize || onResize)\n }, /*#__PURE__*/React.createElement(\"textarea\", _extends({}, restProps, {\n ref: textareaRef,\n style: mergedStyle,\n className: classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled)),\n disabled: disabled,\n value: mergedValue,\n onChange: onInternalChange\n })));\n});\nexport default ResizableTextArea;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\nimport ResizableTextArea from './ResizableTextArea';\nvar TextArea = /*#__PURE__*/function (_React$Component) {\n _inherits(TextArea, _React$Component);\n var _super = _createSuper(TextArea);\n function TextArea(props) {\n var _this;\n _classCallCheck(this, TextArea);\n _this = _super.call(this, props);\n _this.resizableTextArea = void 0;\n _this.focus = function () {\n _this.resizableTextArea.textArea.focus();\n };\n _this.saveTextArea = function (resizableTextArea) {\n _this.resizableTextArea = resizableTextArea;\n };\n _this.handleChange = function (e) {\n var onChange = _this.props.onChange;\n _this.setValue(e.target.value);\n if (onChange) {\n onChange(e);\n }\n };\n _this.handleKeyDown = function (e) {\n var _this$props = _this.props,\n onPressEnter = _this$props.onPressEnter,\n onKeyDown = _this$props.onKeyDown;\n if (e.keyCode === 13 && onPressEnter) {\n onPressEnter(e);\n }\n if (onKeyDown) {\n onKeyDown(e);\n }\n };\n var value = typeof props.value === 'undefined' || props.value === null ? props.defaultValue : props.value;\n _this.state = {\n value: value\n };\n return _this;\n }\n _createClass(TextArea, [{\n key: \"setValue\",\n value: function setValue(value, callback) {\n if (!('value' in this.props)) {\n this.setState({\n value: value\n }, callback);\n }\n }\n }, {\n key: \"blur\",\n value: function blur() {\n this.resizableTextArea.textArea.blur();\n }\n }, {\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(ResizableTextArea, _extends({}, this.props, {\n value: this.state.value,\n onKeyDown: this.handleKeyDown,\n onChange: this.handleChange,\n ref: this.saveTextArea\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n if ('value' in nextProps) {\n return {\n value: nextProps.value\n };\n }\n return null;\n }\n }]);\n return TextArea;\n}(React.Component);\nexport { ResizableTextArea };\nexport default TextArea;"],"names":["getStatusClassNames","prefixCls","status","hasFeedback","_classNames","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","Z","concat","_type__WEBPACK_IMPORTED_MODULE_1__","b","getMergedStatus","contextStatus","customStatus","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","fixControlledValue","value","String","resolveOnChange","target","onChange","targetValue","event","type","currentTarget","cloneNode","create","undefined","triggerFocus","element","option","focus","cursor","_ref","len","setSelectionRange","input_Input","react","forwardRef","props","ref","_classNames2","_classNames4","mergedAllowClear","customizePrefixCls","_props$bordered","bordered","customSize","size","customDisabled","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","rest","_React$useContext","useContext","context","E_","getPrefixCls","direction","input","inputRef","useRef","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","SizeContext","mergedSize","DisabledContext","_useContext","form_context","aM","feedbackIcon","mergedStatus","statusUtils","F","inputHasPrefixSuffix","hasPrefixSuffix","prefix","prevHasPrefixSuffix","useEffect","current","removePasswordTimeout","useRemovePasswordTimeout","suffixNode","createElement","Fragment","esm_typeof","clearIcon","CloseCircleFilled","es","esm_extends","es_ref","sQ","autoComplete","mergedDisabled","classnames_default","BR","Ux","override","inputClassName","defineProperty","affixWrapperClassName","wrapperClassName","groupClassName","ClearableInputType","ClearableLabeledInput","_React$Component","inherits","_super","createSuper","classCallCheck","apply","arguments","createClass","key","_this$props","readOnly","handleReset","onClick","onMouseDown","preventDefault","role","statusContext","_this$props2","style","hidden","reactNode","Tm","affixWrapperCls","renderClearIcon","_this","Consumer","_this$props3","inputType","renderTextAreaWithClearIcon","Component","fixEmojiLength","maxLength","toConsumableArray","slice","join","setTriggerValue","isCursorInEnd","preValue","triggerValue","newTriggerValue","input_TextArea","_a","_a$bordered","_a$showCount","showCount","customizeSize","onCompositionStart","onCompositionEnd","_React$useContext2","isFormItemInput","innerRef","clearableInputRef","_React$useState","useState","_React$useState2","slicedToArray","compositing","setCompositing","oldCompositionValueRef","oldSelectionStartRef","_useMergedState","useMergedState","defaultValue","_useMergedState2","setValue","handleSetValue","val","callback","hasMaxLength","Number","useImperativeHandle","resizableTextArea","_b","Input","nH","textArea","blur","omit","resize","selectionStart","rJ","D7","textareaNode","_c","valueLength","dataCount","formatter","count","triggerOnMount","removePasswordTimeoutRef","react__WEBPACK_IMPORTED_MODULE_0__","push","setTimeout","_d","getAttribute","hasAttribute","removeAttribute","forEach","timer","clearTimeout","hasAddon","es_BaseInput","inputElement","focused","containerRef","cloneElement","affixWrapperPrefixCls","getClearIcon","clearIconCls","iconNode","tabIndex","_containerRef$current","contains","wrapperCls","addonCls","mergedWrapperClassName","mergedGroupClassName","_excluded","otherProps","onPressEnter","onKeyDown","_props$prefixCls","htmlSize","_props$type","objectWithoutProperties","_useState","_useState2","setFocused","_inputRef$current","start","end","_inputRef$current2","select","_inputRef$current3","prev","getSuffix","hiddenTextarea","SIZING_STYLE","computedStyleCache","es_ResizableTextArea","autoSize","onResize","restProps","onInternalAutoSize","postState","mergedValue","setMergedValue","textareaRef","_React$useMemo","useMemo","minRows","maxRows","_React$useMemo2","needAutoSize","fixFirefoxAutoScroll","document","activeElement","_textareaRef$current","selectionEnd","scrollTop","resizeState","setResizeState","_React$useState3","_React$useState4","autoSizeStyle","setAutoSizeStyle","startResize","useLayoutEffect","textareaStyles","calculateAutoSizeStyle","uiTextNode","overflowY","useCache","setAttribute","body","appendChild","_calculateNodeStyling","calculateNodeStyling","node","nodeRef","window","getComputedStyle","boxSizing","getPropertyValue","paddingSize","parseFloat","borderSize","nodeInfo","sizingStyle","map","name","placeholder","minHeight","maxHeight","height","scrollHeight","singleRowHeight","Math","max","min","resizeRafRef","cleanRaf","raf","cancel","mergedStyle","objectSpread2","overflowX","rc_textarea_es","TextArea","saveTextArea","handleChange","handleKeyDown","keyCode","state","setState","nextProps"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js b/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js new file mode 100644 index 000000000..1b3baecba --- /dev/null +++ b/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2033],{8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},c=n(42135),o=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};o.displayName="CheckCircleOutlined";var s=r.forwardRef(o)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},c=n(42135),o=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};o.displayName="CloseCircleOutlined";var s=r.forwardRef(o)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},c=n(42135),o=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};o.displayName="ExclamationCircleOutlined";var s=r.forwardRef(o)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=n(42135),o=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};o.displayName="InfoCircleFilled";var s=r.forwardRef(o)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},c=n(42135),o=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};o.displayName="InfoCircleOutlined";var s=r.forwardRef(o)},54907:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var a=n(87462),r=n(4942),i=n(18073),c=n(94184),o=n.n(c),s=n(74902),l=n(15671),d=n(43144),u=n(60136),p=n(33643),h=n(71002),f=n(50344),m=n(67294),v=n(96774),y=n.n(v),g=n(45987),x=n(62874),Z=n(97685),C=m.forwardRef(function(e,t){var n,a=e.prefixCls,i=e.forceRender,c=e.className,s=e.style,l=e.children,d=e.isActive,u=e.role,p=m.useState(d||i),h=(0,Z.Z)(p,2),f=h[0],v=h[1];return(m.useEffect(function(){(i||d)&&v(!0)},[i,d]),f)?m.createElement("div",{ref:t,className:o()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),c),style:s,role:u},m.createElement("div",{className:"".concat(a,"-content-box")},l)):null});C.displayName="PanelContent";var b=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],N=function(e){(0,u.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,l.Z)(this,n);for(var a=arguments.length,r=Array(a),i=0;i-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,i=r.prefixCls,c=r.openMotion,o=r.accordion,s=r.destroyInactivePanel,l=r.expandIcon,d=r.collapsible,u=e.key||String(t),p=e.props,h=p.header,f=p.headerClass,v=p.destroyInactivePanel,y=p.collapsible,g=!1;g=o?n[0]===u:n.indexOf(u)>-1;var x=null!=y?y:d,Z={key:u,panelKey:u,header:h,headerClass:f,isActive:g,prefixCls:i,destroyInactivePanel:null!=v?v:s,openMotion:c,accordion:o,children:e.props.children,onItemClick:"disabled"===x?null:a.onClickItem,expandIcon:l,collapsible:x};return"string"==typeof e.type?e:(Object.keys(Z).forEach(function(e){void 0===Z[e]&&delete Z[e]}),m.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,f.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,i=e.defaultActiveKey;return"activeKey"in e&&(i=r),a.state={activeKey:w(i)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!y()(this.props,e)||!y()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,i=t.style,c=t.accordion,s=o()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return m.createElement("div",{className:s,style:i,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=w(e.activeKey)),t}}]),n}(m.Component);j.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},j.Panel=N,j.Panel;var I=n(98423),k=n(53124),E=n(33603),A=n(96159),P=function(e){var t,n,c=m.useContext(k.E_),s=c.getPrefixCls,l=c.direction,d=e.prefixCls,u=e.className,p=e.bordered,h=e.ghost,v=e.expandIconPosition,y=void 0===v?"start":v,g=s("collapse",d),x=m.useMemo(function(){return"left"===y?"start":"right"===y?"end":y},[y]),Z=o()("".concat(g,"-icon-position-").concat(x),(n={},(0,r.Z)(n,"".concat(g,"-borderless"),!(void 0===p||p)),(0,r.Z)(n,"".concat(g,"-rtl"),"rtl"===l),(0,r.Z)(n,"".concat(g,"-ghost"),!!h),n),void 0===u?"":u),C=(0,a.Z)((0,a.Z)({},E.ZP),{motionAppear:!1,leavedClassName:"".concat(g,"-content-hidden")});return m.createElement(j,(0,a.Z)({openMotion:C},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):m.createElement(i.Z,{rotate:t.isActive?90:void 0});return(0,A.Tm)(a,function(){return{className:o()(a.props.className,"".concat(g,"-arrow"))}})},prefixCls:g,className:Z}),(t=e.children,(0,f.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),i=e.props,c=i.disabled,o=i.collapsible,s=(0,a.Z)((0,a.Z)({},(0,I.Z)(e.props,["disabled"])),{key:r,collapsible:null!=o?o:c?"disabled":void 0});return(0,A.Tm)(e,s)}return e})))};P.Panel=function(e){var t=m.useContext(k.E_).getPrefixCls,n=e.prefixCls,i=e.className,c=e.showArrow,s=t("collapse",n),l=o()((0,r.Z)({},"".concat(s,"-no-arrow"),!(void 0===c||c)),void 0===i?"":i);return m.createElement(j.Panel,(0,a.Z)({},e,{prefixCls:s,className:l}))};var S=P},11382:function(e,t,n){"use strict";var a=n(87462),r=n(4942),i=n(97685),c=n(94184),o=n.n(c),s=n(23279),l=n.n(s),d=n(98423),u=n(67294),p=n(53124),h=n(96159),f=n(93355),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,f.b)("small","default","large");var v=null,y=function(e){var t=e.spinPrefixCls,n=e.spinning,c=void 0===n||n,s=e.delay,f=e.className,y=e.size,g=void 0===y?"default":y,x=e.tip,Z=e.wrapperClassName,C=e.style,b=e.children,N=m(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),w=u.useState(function(){return c&&(!c||!s||!!isNaN(Number(s)))}),j=(0,i.Z)(w,2),I=j[0],k=j[1];return u.useEffect(function(){var e=l()(function(){k(c)},s);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[s,c]),u.createElement(p.C,null,function(n){var i,c,s,l=n.direction,p=o()(t,(s={},(0,r.Z)(s,"".concat(t,"-sm"),"small"===g),(0,r.Z)(s,"".concat(t,"-lg"),"large"===g),(0,r.Z)(s,"".concat(t,"-spinning"),I),(0,r.Z)(s,"".concat(t,"-show-text"),!!x),(0,r.Z)(s,"".concat(t,"-rtl"),"rtl"===l),s),f),m=(0,d.Z)(N,["indicator","prefixCls"]),y=u.createElement("div",(0,a.Z)({},m,{style:C,className:p,"aria-live":"polite","aria-busy":I}),(i=e.indicator,c="".concat(t,"-dot"),null===i?null:(0,h.l$)(i)?(0,h.Tm)(i,{className:o()(i.props.className,c)}):(0,h.l$)(v)?(0,h.Tm)(v,{className:o()(v.props.className,c)}):u.createElement("span",{className:o()(c,"".concat(t,"-dot-spin"))},u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}))),x?u.createElement("div",{className:"".concat(t,"-text")},x):null);if(void 0!==b){var w=o()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),I));return u.createElement("div",(0,a.Z)({},m,{className:o()("".concat(t,"-nested-loading"),Z)}),I&&u.createElement("div",{key:"loading"},y),u.createElement("div",{className:w,key:"container"},b))}return y})},g=function(e){var t=e.prefixCls,n=(0,u.useContext(p.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return u.createElement(y,(0,a.Z)({},r))};g.setDefaultIndicator=function(e){v=e},t.Z=g},50261:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthModal:function(){return A}});var a=n(85893),r=n(84381),i=n(4480),c=n(54907),o=n(85818),s=n(11382),l=n(26713),d=n(14670),u=n(79531),p=n(71577),h=n(5152),f=n.n(h),m=n(67294),v=n(37174);let{Panel:y}=c.Z,{Link:g}=o.Z,x=f()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),Z=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,o]=(0,m.useState)(null),[h,f]=(0,m.useState)(!1),[Z,C]=(0,m.useState)(!1),[b,N]=(0,m.useState)(""),w=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Use your own domain to authenticate ",(0,a.jsx)("span",{children:n})," or login as a previously"," ","authenticated chat user using IndieAuth."]}),j=i;j&&j.includes("url does not support indieauth")&&(j="The provided URL is either invalid or does not support IndieAuth.");let I=e=>{if(!(0,v.jv)(e)||!e.includes(".")){C(!1);return}C(!0)},k=e=>{let t=e.nativeEvent.data;if(":"===t)return;N(e.target.value);let n="https://".concat(e.target.value);I(n)},E=async()=>{if(Z){f(!0);try{let e=await fetch("/api/auth/indieauth?accessToken=".concat(r),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({authHost:"https://".concat(b)})}),t=await e.json();if(t.message){o(t.message),f(!1);return}if(!t.redirect){o("Auth provider did not return a redirect URL."),f(!1);return}if(t.redirect){let{redirect:n}=t;window.location=n}}catch(a){o(a.message)}f(!1)}};return(0,a.jsx)(s.Z,{spinning:h,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[w,j&&(0,a.jsx)(d.Z,{message:"Error",description:j,type:"error",showIcon:!0}),(0,a.jsx)("div",{children:"Your domain"}),(0,a.jsx)(u.Z.Search,{addonBefore:"https://",onInput:k,type:"url",value:b,placeholder:"yoursite.com",status:!Z&&b.length>0?"error":void 0,onSearch:E,enterButton:(0,a.jsx)(p.Z,{type:Z?"primary":"default",disabled:!Z||0===b.length,children:(0,a.jsx)(x,{})})}),(0,a.jsx)(c.Z,{ghost:!0,children:(0,a.jsxs)(y,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,a.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,a.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,a.jsx)(g,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var C=n(50501),b=n.n(C);let{Panel:N}=c.Z,w=f()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),j=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,o]=(0,m.useState)(null),[h,f]=(0,m.useState)(!1),[v,y]=(0,m.useState)(!1),[g,x]=(0,m.useState)(""),[Z,C]=(0,m.useState)(""),[j,I]=(0,m.useState)(!1),k=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,a.jsx)("strong",{children:n}),", or login as a previously linked chat user."]}),E=i;E&&E.includes("url does not support indieauth")&&(E="The provided URL is either invalid or does not support IndieAuth.");let A=e=>{y(function(e){let t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e))},P=e=>{x(e.target.value),A(e.target.value)},S=async(e,t)=>{let n=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}),a=await n.json();a.message&&(o(a.message),f(!1))},z=async()=>{f(!0);try{await S("/api/auth/fediverse/verify?accessToken=".concat(r),{code:Z}),window.location.href="/"}catch(e){console.error(e),o(e)}f(!1)},M=async()=>{if(!v)return;f(!0),o(null);let e=g.replace(/^@+/,"");try{await S("/api/auth/fediverse?accessToken=".concat(r),{account:e}),I(!0)}catch(t){console.error(t),o(t)}f(!1)},O=(0,a.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,a.jsxs)("div",{className:b().codeInputContainer,children:[(0,a.jsx)(u.Z,{value:Z,onChange:e=>C(e.target.value),className:b().codeInput,placeholder:"123456",maxLength:6}),(0,a.jsx)(p.Z,{type:"primary",onClick:z,disabled:Z.length<6,className:b().submitButton,children:"Verify Code"})]})]}),_=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"Your Fediverse Account"}),(0,a.jsx)(u.Z.Search,{addonBefore:"@",onInput:P,value:g,placeholder:"youraccount@yourserver.com",status:!v&&g.length>0?"error":void 0,onSearch:M,enterButton:(0,a.jsx)(p.Z,{type:v?"primary":"default",disabled:!v||0===g.length,children:(0,a.jsx)(w,{})})})]});return(0,a.jsx)(s.Z,{spinning:h,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[k,E&&(0,a.jsx)(d.Z,{message:"Error",description:E,type:"error",showIcon:!0}),j?O:_,(0,a.jsx)(c.Z,{ghost:!0,children:(0,a.jsx)(N,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,a.jsx)("p",{children:"You can link your chat identity with your Fediverse identity. Next time you want to use this chat identity you can again go through the Fediverse authentication."})},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var I=n(54639),k=n.n(I),E=n(77466);let A=e=>{let{forceTabs:t}=e,n=(0,i.sJ)(E.L4),c=(0,i.sJ)(E.FI),o=(0,i.sJ)(E.db),s=(0,i.sJ)(E.g1);if(!o)return null;let{displayName:l}=o,{federation:d}=s,{enabled:u}=d,p=(0,a.jsxs)("span",{className:k().tabContent,children:[(0,a.jsx)("img",{className:k().icon,src:"/img/indieauth.png",alt:"IndieAuth"}),"IndieAuth"]}),h=(0,a.jsx)(Z,{authenticated:n,displayName:l,accessToken:c}),f=(0,a.jsxs)("span",{className:k().tabContent,children:[(0,a.jsx)("img",{className:k().icon,src:"/img/fediverse-black.png",alt:"Fediverse auth"}),"FediAuth"]}),m=(0,a.jsx)(j,{authenticated:n,displayName:l,accessToken:c});return(0,a.jsx)("div",{children:(0,a.jsx)(r.Z,{defaultActiveKey:"1",items:[{label:p,key:"1",children:h},{label:f,key:"2",children:m}],type:"card",size:"small",renderTabBar:u||t?null:()=>null})})}},37174:function(e,t,n){"use strict";n.d(t,{Kf:function(){return i},ax:function(){return a},bu:function(){return c},jv:function(){return r}});let a="https?://.*";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["http:","https:"];try{let n=new URL(e);if(""===n.protocol||""===n.hostname||!t.includes(n.protocol))return!1}catch(a){return!1}return!0}function i(e,t){e.startsWith("@")&&(e=e.slice(1));let n=e.split(/:|@/),[a,r,i]=n;return console.log({account:e,protocol:t,service:a,user:r,host:i}),a===t&&3===n.length&&!!a&&!!r&&!!i}function c(e){if(!e.startsWith("matrix:"))return!1;(e=e.slice(7)).startsWith("@")&&(e=e.slice(1));let t=e.split(":"),[n,a]=t;return 2===t.length&&!!n&&!!a}},54639:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},50501:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}}}]); +//# sourceMappingURL=2033.9e1703a58c5bc142.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js.map b/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js.map new file mode 100644 index 000000000..0bcfb6855 --- /dev/null +++ b/static/web/_next/static/chunks/2033.9e1703a58c5bc142.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/2033.9e1703a58c5bc142.js","mappings":"2JAEAA,EADA,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,iMAAqM,CAAI,kBAA0B,oLAAwL,EAAG,iDCKtjBC,EAAmB,SAAAC,CAAA,CAAAC,CAAA,EACvB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAmBS,WAAA,uBACnB,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,gGCX7CY,EADA,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,6RAAiS,CAAI,kBAA0B,oLAAwL,EAAG,iDCKlpBC,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AAQ,CAACyF,EAAiBE,QAAQ,EAElD,MAAO,EACR,CACD,MAAOlS,EAAG,CACV,MAAO,EACT,CAEA,MAAO,EACT,CASO,SAASoS,EAAerD,CAAe,CAAEmD,CAAgB,CAAW,CACrEnD,EAAQsD,UAAU,CAAC,MAErBtD,CAAAA,EAAUA,EAAQuD,KAAK,CAAC,IAG1B,IAAMC,EAAaxD,EAAQyD,KAAK,CAAC,OAC3B,CAACC,EAASC,EAAM3G,EAAK,CAAGwG,SAG9B,QADQI,GAAG,CAAC,CAAE5D,QAAAA,EAASmD,SAAAA,EAAUO,QAAAA,EAASC,KAAAA,EAAM3G,KAAAA,CAAK,GACjD0G,IAAYP,GAIZK,IAAAA,EAAWhT,MAAM,IAAWkT,KAAYC,KAAS3G,CAFpD,CAeI,SAAS6G,EAAqB7D,CAAe,CAAW,CAC7D,IAAIA,EAAQsD,UAAU,CAAC,WAIrB,MAAO,EACR,CAEGtD,CALFA,EAAUA,EAAQuD,KAAK,CAAC,IAKdD,UAAU,CAAC,MAErBtD,CAAAA,EAAUA,EAAQuD,KAAK,CAAC,IAG1B,IAAMC,EAAaxD,EAAQyD,KAAK,CAAC,KAC3B,CAACE,EAAM3G,EAAK,CAAGwG,SAEjBA,IAAAA,EAAWhT,MAAM,IAAWmT,KAAS3G,CAK3C,qBCjFA8G,EAAAC,OAAA,EAAkB,0FCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.js","webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./components/modals/IndieAuthModal/IndieAuthModal.tsx","webpack://_N_E/./utils/validators.ts","webpack://_N_E/./components/modals/FediAuthModal/FediAuthModal.tsx","webpack://_N_E/./components/modals/AuthModal/AuthModal.tsx","webpack://_N_E/./utils/urls.ts","webpack://_N_E/./components/modals/AuthModal/AuthModal.module.scss","webpack://_N_E/./components/modals/FediAuthModal/FediAuthModal.module.scss","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"check-circle\", \"theme\": \"outlined\" };\nexport default CheckCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckCircleOutlined = function CheckCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckCircleOutlinedSvg\n }));\n};\nCheckCircleOutlined.displayName = 'CheckCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckCircleOutlined);","// This icon file is generated automatically.\nvar CloseCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"close-circle\", \"theme\": \"outlined\" };\nexport default CloseCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CloseCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CloseCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CloseCircleOutlined = function CloseCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CloseCircleOutlinedSvg\n }));\n};\nCloseCircleOutlined.displayName = 'CloseCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(CloseCircleOutlined);","// This icon file is generated automatically.\nvar ExclamationCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z\" } }] }, \"name\": \"exclamation-circle\", \"theme\": \"outlined\" };\nexport default ExclamationCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ExclamationCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/ExclamationCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ExclamationCircleOutlinedSvg\n }));\n};\nExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(ExclamationCircleOutlined);","// This icon file is generated automatically.\nvar InfoCircleFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\" } }] }, \"name\": \"info-circle\", \"theme\": \"filled\" };\nexport default InfoCircleFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport InfoCircleFilledSvg from \"@ant-design/icons-svg/es/asn/InfoCircleFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar InfoCircleFilled = function InfoCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: InfoCircleFilledSvg\n }));\n};\nInfoCircleFilled.displayName = 'InfoCircleFilled';\nexport default /*#__PURE__*/React.forwardRef(InfoCircleFilled);","// This icon file is generated automatically.\nvar InfoCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"info-circle\", \"theme\": \"outlined\" };\nexport default InfoCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport InfoCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/InfoCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar InfoCircleOutlined = function InfoCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: InfoCircleOutlinedSvg\n }));\n};\nInfoCircleOutlined.displayName = 'InfoCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(InfoCircleOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","import { Alert, Input, Space, Spin, Collapse, Typography, Button } from 'antd';\nimport dynamic from 'next/dynamic';\nimport React, { FC, useState } from 'react';\nimport { isValidUrl } from '../../../utils/urls';\n\nconst { Panel } = Collapse;\nconst { Link } = Typography;\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nexport type IndieAuthModalProps = {\n authenticated: boolean;\n displayName: string;\n accessToken: string;\n};\n\nexport const IndieAuthModal: FC = ({\n authenticated,\n displayName: username,\n accessToken,\n}) => {\n const [errorMessage, setErrorMessage] = useState(null);\n const [loading, setLoading] = useState(false);\n const [valid, setValid] = useState(false);\n const [host, setHost] = useState('');\n\n const message = !authenticated ? (\n \n Use your own domain to authenticate {username} or login as a previously{' '}\n authenticated chat user using IndieAuth.\n \n ) : (\n \n You are already authenticated. However, you can add other domains or log in as a\n different user.\n \n );\n\n let errorMessageText = errorMessage;\n if (errorMessageText) {\n if (errorMessageText.includes('url does not support indieauth')) {\n errorMessageText = 'The provided URL is either invalid or does not support IndieAuth.';\n }\n }\n\n const validate = (url: string) => {\n if (!isValidUrl(url)) {\n setValid(false);\n return;\n }\n\n if (!url.includes('.')) {\n setValid(false);\n return;\n }\n\n setValid(true);\n };\n\n const onInput = (e: React.ChangeEvent) => {\n // Don't allow people to type custom ports or protocols.\n const char = (e.nativeEvent as any).data;\n if (char === ':') {\n return;\n }\n\n setHost(e.target.value);\n const h = `https://${e.target.value}`;\n validate(h);\n };\n\n const submitButtonPressed = async () => {\n if (!valid) {\n return;\n }\n\n setLoading(true);\n\n try {\n const url = `/api/auth/indieauth?accessToken=${accessToken}`;\n const h = `https://${host}`;\n const data = { authHost: h };\n const rawResponse = await fetch(url, {\n method: 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n const content = await rawResponse.json();\n if (content.message) {\n setErrorMessage(content.message);\n setLoading(false);\n return;\n }\n if (!content.redirect) {\n setErrorMessage('Auth provider did not return a redirect URL.');\n setLoading(false);\n return;\n }\n\n if (content.redirect) {\n const { redirect } = content;\n window.location = redirect;\n }\n } catch (e) {\n setErrorMessage(e.message);\n }\n\n setLoading(false);\n };\n\n return (\n \n \n {message}\n {errorMessageText && (\n \n )}\n
Your domain
\n 0 ? 'error' : undefined}\n onSearch={submitButtonPressed}\n enterButton={\n \n }\n />\n\n \n \n

\n IndieAuth allows for a completely independent and decentralized way of identifying\n yourself using your own domain.\n

\n\n

\n If you run an Owncast instance, you can use that domain here. Otherwise,{' '}\n \n learn more about how you can support IndieAuth\n \n .\n

\n
\n
\n
\n Note: This is for authentication purposes only, and no personal\n information will be accessed or stored.\n
\n
\n
\n );\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport function validateAccount(account) {\n const a = account.replace(/^@+/, '');\n const regex =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return regex.test(String(a).toLowerCase());\n}\n","import { Alert, Button, Input, Space, Spin, Collapse } from 'antd';\nimport React, { FC, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport styles from './FediAuthModal.module.scss';\nimport { validateAccount } from '../../../utils/validators';\n\nconst { Panel } = Collapse;\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nexport type FediAuthModalProps = {\n authenticated: boolean;\n displayName: string;\n accessToken: string;\n};\n\nexport const FediAuthModal: FC = ({\n authenticated,\n displayName,\n accessToken,\n}) => {\n const [errorMessage, setErrorMessage] = useState(null);\n const [loading, setLoading] = useState(false);\n const [valid, setValid] = useState(false);\n const [account, setAccount] = useState('');\n const [code, setCode] = useState('');\n const [verifyingCode, setVerifyingCode] = useState(false);\n\n const message = !authenticated ? (\n \n Receive a direct message on the Fediverse to link your account to{' '}\n {displayName}, or login as a previously linked chat user.\n \n ) : (\n \n You are already authenticated. However, you can add other domains or log in as a\n different user.\n \n );\n\n let errorMessageText = errorMessage;\n if (errorMessageText) {\n if (errorMessageText.includes('url does not support indieauth')) {\n errorMessageText = 'The provided URL is either invalid or does not support IndieAuth.';\n }\n }\n\n const validate = (acct: string) => {\n setValid(validateAccount(acct));\n };\n\n const onInput = (e: React.ChangeEvent) => {\n setAccount(e.target.value);\n validate(e.target.value);\n };\n\n const makeRequest = async (url, data) => {\n const rawResponse = await fetch(url, {\n method: 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n const content = await rawResponse.json();\n if (content.message) {\n setErrorMessage(content.message);\n setLoading(false);\n }\n };\n\n const submitCodePressed = async () => {\n setLoading(true);\n const url = `/api/auth/fediverse/verify?accessToken=${accessToken}`;\n const data = { code };\n\n try {\n await makeRequest(url, data);\n\n // Success. Reload the page.\n window.location.href = '/';\n } catch (e) {\n console.error(e);\n setErrorMessage(e);\n }\n setLoading(false);\n };\n\n const submitAccountPressed = async () => {\n if (!valid) {\n return;\n }\n\n setLoading(true);\n setErrorMessage(null);\n const url = `/api/auth/fediverse?accessToken=${accessToken}`;\n const normalizedAccount = account.replace(/^@+/, '');\n const data = { account: normalizedAccount };\n\n try {\n await makeRequest(url, data);\n setVerifyingCode(true);\n } catch (e) {\n console.error(e);\n setErrorMessage(e);\n }\n setLoading(false);\n };\n\n const inputCodeStep = (\n
\n Paste in the code that was sent to your Fediverse account. If you did not receive a code, make\n sure you can accept direct messages.\n
\n setCode(e.target.value)}\n className={styles.codeInput}\n placeholder=\"123456\"\n maxLength={6}\n />\n \n Verify Code\n \n
\n
\n );\n\n const inputAccountStep = (\n <>\n
Your Fediverse Account
\n 0 ? 'error' : undefined}\n onSearch={submitAccountPressed}\n enterButton={\n \n }\n />\n \n );\n\n return (\n \n \n {message}\n {errorMessageText && (\n \n )}\n {verifyingCode ? inputCodeStep : inputAccountStep}\n \n \n

\n You can link your chat identity with your Fediverse identity. Next time you want to\n use this chat identity you can again go through the Fediverse authentication.\n

\n \n
\n
\n Note: This is for authentication purposes only, and no personal\n information will be accessed or stored.\n
\n
\n
\n );\n};\n","import { Tabs } from 'antd';\nimport { useRecoilValue } from 'recoil';\nimport { FC } from 'react';\nimport { IndieAuthModal } from '../IndieAuthModal/IndieAuthModal';\nimport { FediAuthModal } from '../FediAuthModal/FediAuthModal';\n\nimport styles from './AuthModal.module.scss';\nimport {\n currentUserAtom,\n chatAuthenticatedAtom,\n accessTokenAtom,\n clientConfigStateAtom,\n} from '../../stores/ClientConfigStore';\nimport { ClientConfig } from '../../../interfaces/client-config.model';\n\nexport type AuthModalProps = {\n forceTabs?: boolean;\n};\n\nexport const AuthModal: FC = ({ forceTabs }) => {\n const authenticated = useRecoilValue(chatAuthenticatedAtom);\n const accessToken = useRecoilValue(accessTokenAtom);\n const currentUser = useRecoilValue(currentUserAtom);\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n\n if (!currentUser) {\n return null;\n }\n const { displayName } = currentUser;\n const { federation } = clientConfig;\n const { enabled: fediverseEnabled } = federation;\n\n const indieAuthTabTitle = (\n \n \"IndieAuth\"\n IndieAuth\n \n );\n\n const indieAuthTab = (\n \n );\n\n const fediAuthTabTitle = (\n \n \"Fediverse\n FediAuth\n \n );\n\n const fediAuthTab = (\n \n );\n\n const items = [\n { label: indieAuthTabTitle, key: '1', children: indieAuthTab },\n { label: fediAuthTabTitle, key: '2', children: fediAuthTab },\n ];\n\n return (\n
\n null}\n />\n
\n );\n};\n","// to use with fields, as the default pattern only checks for `:`,\nexport const DEFAULT_TEXTFIELD_URL_PATTERN = 'https?://.*';\n\n/**\n * Determines if a URL is valid\n * @param {string} url - A URL to validate.\n * @param {string[]} validProtocols - An array of valid protocols. Defaults to web.\n * @returns {boolean} - True if the URI is valid, false otherwise.\n */\nexport function isValidUrl(url: string, validProtocols: string[] = ['http:', 'https:']): boolean {\n try {\n const validationObject = new URL(url);\n\n if (\n validationObject.protocol === '' ||\n validationObject.hostname === '' ||\n !validProtocols.includes(validationObject.protocol)\n ) {\n return false;\n }\n } catch (e) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @param {string} protocol - The protocol we expect the account to be using.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidAccount(account: string, protocol: string): boolean {\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(/:|@/);\n const [service, user, host] = components;\n\n console.log({ account, protocol, service, user, host });\n if (service !== protocol) {\n return false;\n }\n\n if (components.length !== 3 || !service || !user || !host) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidMatrixAccount(account: string): boolean {\n if (account.startsWith('matrix:')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(7);\n } else {\n return false;\n }\n\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(':');\n const [user, host] = components;\n\n if (components.length !== 2 || !user || !host) {\n return false;\n }\n\n return true;\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabContent\":\"AuthModal_tabContent__KgMU3\",\"icon\":\"AuthModal_icon__kpEuV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"codeInputContainer\":\"FediAuthModal_codeInputContainer__M_dAD\",\"codeInput\":\"FediAuthModal_codeInput__dIE6u\",\"submitButton\":\"FediAuthModal_submitButton__iuF9R\"};"],"names":["asn_CheckCircleOutlined","CheckCircleOutlined_CheckCircleOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckCircleOutlined","forwardRef","asn_CloseCircleOutlined","CloseCircleOutlined_CloseCircleOutlined","icons_CloseCircleOutlined","asn_ExclamationCircleOutlined","ExclamationCircleOutlined_ExclamationCircleOutlined","icons_ExclamationCircleOutlined","asn_InfoCircleFilled","InfoCircleFilled_InfoCircleFilled","icons_InfoCircleFilled","asn_InfoCircleOutlined","InfoCircleOutlined_InfoCircleOutlined","icons_InfoCircleOutlined","PanelContent","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","rendered","setRendered","useEffect","classnames_default","concat","defineProperty","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","key","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","Object","keys","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","__rest","s","t","p","prototype","hasOwnProperty","getOwnPropertySymbols","i","propertyIsEnumerable","_util_type__WEBPACK_IMPORTED_MODULE_3__","b","defaultIndicator","Spin","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","_props$size","size","tip","wrapperClassName","restProps","react__WEBPACK_IMPORTED_MODULE_2__","isNaN","Number","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","cancel","_config_provider__WEBPACK_IMPORTED_MODULE_9__","C","indicator","dotClassName","spinClassName","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","containerClassName","SpinFC","spinClassProps","setDefaultIndicator","__webpack_exports__","Link","Typography","CheckCircleOutlined","dynamic","Promise","all","__webpack_require__","then","bind","ssr","IndieAuthModal","authenticated","username","accessToken","param","errorMessage","setErrorMessage","loading","setLoading","valid","setValid","host","setHost","message","jsx_runtime","jsxs","span","jsx","errorMessageText","includes","validate","isValidUrl","url","onInput","char","nativeEvent","data","target","h","submitButtonPressed","rawResponse","fetch","method","headers","Accept","body","JSON","stringify","authHost","content","json","redirect","window","location","Space","Alert","description","showIcon","div","Input","addonBefore","placeholder","status","onSearch","enterButton","Button","href","strong","FediAuthModal","account","setAccount","code","setCode","verifyingCode","setVerifyingCode","validateAccount","a","replace","regex","test","toLowerCase","acct","makeRequest","submitCodePressed","console","error","submitAccountPressed","normalizedAccount","inputCodeStep","styles","maxLength","inputAccountStep","Fragment","AuthModal","forceTabs","useRecoilValue","chatAuthenticatedAtom","accessTokenAtom","currentUser","currentUserAtom","clientConfig","clientConfigStateAtom","federation","enabled","fediverseEnabled","indieAuthTabTitle","img","src","alt","indieAuthTab","fediAuthTabTitle","fediAuthTab","Tabs","items","label","renderTabBar","DEFAULT_TEXTFIELD_URL_PATTERN","validProtocols","validationObject","URL","protocol","hostname","isValidAccount","startsWith","slice","components","split","service","user","log","isValidMatrixAccount","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/2097.6a5af9901ea565df.js b/static/web/_next/static/chunks/2097.6a5af9901ea565df.js deleted file mode 100644 index f8a6b83e7..000000000 --- a/static/web/_next/static/chunks/2097.6a5af9901ea565df.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2097],{63606:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(1413),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},c=r(42135),l=function(e,t){return o.createElement(c.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};l.displayName="CheckOutlined";var s=o.forwardRef(l)},81643:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e){return e?"function"==typeof e?e():e:null}},24093:function(e,t,r){"use strict";r.d(t,{C:function(){return j}});var n=r(87462),o=r(4942),a=r(71002),c=r(97685),l=r(94184),s=r.n(l),i=r(48555),f=r(42550),u=r(67294),p=r(53124),d=r(25378),m=r(24308),v=u.createContext("default"),g=function(e){var t=e.children,r=e.size;return u.createElement(v.Consumer,null,function(e){return u.createElement(v.Provider,{value:r||e},t)})},y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},h=u.forwardRef(function(e,t){var r,l,g,h=u.useContext(v),x=u.useState(1),Z=(0,c.Z)(x,2),w=Z[0],b=Z[1],j=u.useState(!1),E=(0,c.Z)(j,2),O=E[0],C=E[1],S=u.useState(!0),_=(0,c.Z)(S,2),N=_[0],P=_[1],k=u.useRef(null),F=u.useRef(null),R=(0,f.sQ)(t,k),z=u.useContext(p.E_).getPrefixCls,L=function(){if(F.current&&k.current){var t=F.current.offsetWidth,r=k.current.offsetWidth;if(0!==t&&0!==r){var n=e.gap,o=void 0===n?4:n;2*ot.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},p=["xs","sm","md","lg","xl","xxl"],d=s.forwardRef(function(e,t){var r,c=s.useContext(i.E_),d=c.getPrefixCls,m=c.direction,v=s.useContext(f.Z),g=v.gutter,y=v.wrap,h=v.supportFlexGap,x=e.prefixCls,Z=e.span,w=e.order,b=e.offset,j=e.push,E=e.pull,O=e.className,C=e.children,S=e.flex,_=e.style,N=u(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=d("col",x),k={};p.forEach(function(t){var r,c={},l=e[t];"number"==typeof l?c.span=l:"object"===(0,a.Z)(l)&&(c=l||{}),delete N[t],k=(0,o.Z)((0,o.Z)({},k),(r={},(0,n.Z)(r,"".concat(P,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,n.Z)(r,"".concat(P,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,n.Z)(r,"".concat(P,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,n.Z)(r,"".concat(P,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,n.Z)(r,"".concat(P,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,n.Z)(r,"".concat(P,"-rtl"),"rtl"===m),r))});var F=l()(P,(r={},(0,n.Z)(r,"".concat(P,"-").concat(Z),void 0!==Z),(0,n.Z)(r,"".concat(P,"-order-").concat(w),w),(0,n.Z)(r,"".concat(P,"-offset-").concat(b),b),(0,n.Z)(r,"".concat(P,"-push-").concat(j),j),(0,n.Z)(r,"".concat(P,"-pull-").concat(E),E),r),O,k),R={};if(g&&g[0]>0){var z=g[0]/2;R.paddingLeft=z,R.paddingRight=z}if(g&&g[1]>0&&!h){var L=g[1]/2;R.paddingTop=L,R.paddingBottom=L}return S&&(R.flex="number"==typeof S?"".concat(S," ").concat(S," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(S)?"0 0 ".concat(S):S,!1!==y||R.minWidth||(R.minWidth=0)),s.createElement("div",(0,o.Z)({},N,{style:(0,o.Z)((0,o.Z)({},R),_),className:F,ref:t}),C)});t.Z=d},92820:function(e,t,r){"use strict";var n=r(87462),o=r(4942),a=r(71002),c=r(97685),l=r(94184),s=r.n(l),i=r(67294),f=r(53124),u=r(98082),p=r(24308),d=r(93355),m=r(99134),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function g(e,t){var r=i.useState("string"==typeof e?e:""),n=(0,c.Z)(r,2),o=n[0],l=n[1],s=function(){if("object"===(0,a.Z)(e))for(var r=0;r0?-(H[0]/2):void 0,J=null!=H[1]&&H[1]>0?-(H[1]/2):void 0;if(V&&(M.marginLeft=V,M.marginRight=V),B){var U=(0,c.Z)(H,2);M.rowGap=U[1]}else J&&(M.marginTop=J,M.marginBottom=J);var Q=(0,c.Z)(H,2),X=Q[0],$=Q[1],q=i.useMemo(function(){return{gutter:[X,$],wrap:E,supportFlexGap:B}},[X,$,E,B]);return i.createElement(m.Z.Provider,{value:q},i.createElement("div",(0,n.Z)({},O,{className:I,style:(0,n.Z)((0,n.Z)({},M),Z),ref:t}),w))});t.Z=y},55241:function(e,t,r){"use strict";var n=r(87462),o=r(67294),a=r(53124),c=r(94199),l=r(81643),s=r(33603),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},f=function(e){var t=e.title,r=e.content,n=e.prefixCls;return t||r?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(n,"-title")},(0,l.Z)(t)),o.createElement("div",{className:"".concat(n,"-inner-content")},(0,l.Z)(r))):null},u=o.forwardRef(function(e,t){var r=e.prefixCls,l=e.title,u=e.content,p=e._overlay,d=e.placement,m=e.trigger,v=e.mouseEnterDelay,g=e.mouseLeaveDelay,y=e.overlayStyle,h=i(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),x=o.useContext(a.E_).getPrefixCls,Z=x("popover",r),w=x();return o.createElement(c.Z,(0,n.Z)({placement:void 0===d?"top":d,trigger:void 0===m?"hover":m,mouseEnterDelay:void 0===v?.1:v,mouseLeaveDelay:void 0===g?.1:g,overlayStyle:void 0===y?{}:y},h,{prefixCls:Z,ref:t,overlay:p||o.createElement(f,{prefixCls:Z,title:l,content:u}),transitionName:(0,s.mL)(w,"zoom-big",h.transitionName)}))});t.Z=u},71230:function(e,t,r){"use strict";var n=r(92820);t.Z=n.Z},15508:function(e,t,r){"use strict";r.r(t),r.d(t,{FollowerCollection:function(){return h}});var n=r(85893),o=r(67294),a=r(26303),c=r(71230),l=r(15746),s=r(3698),i=r(24093),f=r(94184),u=r.n(f),p=r(69833),d=r.n(p);let m=e=>{let{follower:t}=e;return(0,n.jsx)("div",{className:u()([d().follower,"followers-follower"]),children:(0,n.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,n.jsxs)(c.Z,{wrap:!1,children:[(0,n.jsx)(l.Z,{span:6,children:(0,n.jsx)(i.C,{src:t.image,alt:"Avatar",className:d().avatar,children:(0,n.jsx)("img",{src:"/logo",alt:"Logo",className:d().placeholder})})}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(c.Z,{children:t.name}),(0,n.jsx)(c.Z,{className:d().account,children:t.username})]})]})})})};var v=r(21890),g=r.n(v),y=r(78696);let h=e=>{let{name:t,onFollowButtonClick:r}=e,[i,f]=(0,o.useState)([]),[u,p]=(0,o.useState)(0),[d,v]=(0,o.useState)(1),[h,x]=(0,o.useState)(!0),Z=async()=>{try{let e=await fetch("".concat("/api/followers","?page=").concat(d)),t=await e.json(),{results:r,total:n}=t;f(r),p(n),x(!1)}catch(o){console.error(o)}};(0,o.useEffect)(()=>{Z()},[d]);let w=(0,n.jsxs)("div",{className:g().noFollowers,id:"followers-collection",children:[(0,n.jsx)("h2",{children:"Be the first follower!"}),(0,n.jsxs)("p",{children:["Owncast"!==t?t:"This server"," is a part of the"," ",(0,n.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,n.jsxs)("p",{children:["By following ","Owncast"!==t?t:"this server"," you'll be able to get updates from the stream, share it with others, and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,n.jsx)(y.e,{onClick:r})]}),b=(0,n.jsx)(a.Z,{active:!0,paragraph:{rows:3}});return h?b:(null==i?void 0:i.length)?(0,n.jsxs)("div",{className:g().followers,id:"followers-collection",children:[(0,n.jsx)(c.Z,{wrap:!0,gutter:[10,10],className:g().followerRow,children:i.map(e=>(0,n.jsx)(l.Z,{children:(0,n.jsx)(m,{follower:e},e.link)},e.link))}),(0,n.jsx)(s.Z,{current:d,pageSize:24,total:Math.ceil(u/24)||1,onChange:e=>{v(e)},hideOnSinglePage:!0})]}):w}},21890:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",followerRow:"FollowerCollection_followerRow__T1mFd",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},69833:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}}]); -//# sourceMappingURL=2097.6a5af9901ea565df.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/2097.6a5af9901ea565df.js.map b/static/web/_next/static/chunks/2097.6a5af9901ea565df.js.map deleted file mode 100644 index 8ceaef49d..000000000 --- a/static/web/_next/static/chunks/2097.6a5af9901ea565df.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/2097.6a5af9901ea565df.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAA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iH,EAAAC,GAAA,EAACJ,EAAcA,CAAqBC,SAAUA,GAAzBA,EAASS,IAAI,GAD1BT,EAASS,IAAI,KAM3B,GAAAP,EAAAC,GAAA,EAAC0C,EAAAA,CAAUA,CAAAA,CACTvP,QAASiO,EACTuB,SAnEiB,GAoEjBzB,MAAO0B,KA7DMC,IAAI,CAAC3B,EAPD,KAoED,EAChB4B,SAAUpS,GAAK,CACb2Q,EAAQ3Q,EACV,EACAqS,iBAAgB,QApBbf,CAHR,qBC9DHgB,EAAAC,OAAA,EAAkB,4KCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/antd/es/_util/getRenderPropValue.js","webpack://_N_E/./node_modules/antd/es/avatar/SizeContext.js","webpack://_N_E/./node_modules/antd/es/avatar/avatar.js","webpack://_N_E/./node_modules/antd/es/avatar/group.js","webpack://_N_E/./node_modules/antd/es/avatar/index.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/popover/index.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./components/ui/followers/SingleFollower/SingleFollower.tsx","webpack://_N_E/./components/ui/followers/FollowerCollection/FollowerCollection.tsx","webpack://_N_E/./components/ui/followers/FollowerCollection/FollowerCollection.module.scss","webpack://_N_E/./components/ui/followers/SingleFollower/SingleFollower.module.scss","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","export var getRenderPropValue = function getRenderPropValue(propValue) {\n if (!propValue) {\n return null;\n }\n if (typeof propValue === 'function') {\n return propValue();\n }\n return propValue;\n};","import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext('default');\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n var children = _ref.children,\n size = _ref.size;\n return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n });\n};\nexport default SizeContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport SizeContext from './SizeContext';\nvar InternalAvatar = function InternalAvatar(props, ref) {\n var _classNames, _classNames2;\n var groupSize = React.useContext(SizeContext);\n var _React$useState = React.useState(1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n scale = _React$useState2[0],\n setScale = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n mounted = _React$useState4[0],\n setMounted = _React$useState4[1];\n var _React$useState5 = React.useState(true),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n isImgExist = _React$useState6[0],\n setIsImgExist = _React$useState6[1];\n var avatarNodeRef = React.useRef(null);\n var avatarChildrenRef = React.useRef(null);\n var avatarNodeMergeRef = composeRef(ref, avatarNodeRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var setScaleParam = function setScaleParam() {\n if (!avatarChildrenRef.current || !avatarNodeRef.current) {\n return;\n }\n var childrenWidth = avatarChildrenRef.current.offsetWidth; // offsetWidth avoid affecting be transform scale\n var nodeWidth = avatarNodeRef.current.offsetWidth;\n // denominator is 0 is no meaning\n if (childrenWidth !== 0 && nodeWidth !== 0) {\n var _props$gap = props.gap,\n gap = _props$gap === void 0 ? 4 : _props$gap;\n if (gap * 2 < nodeWidth) {\n setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n setIsImgExist(true);\n setScale(1);\n }, [props.src]);\n React.useEffect(function () {\n setScaleParam();\n }, [props.gap]);\n var handleImgLoadError = function handleImgLoadError() {\n var onError = props.onError;\n var errorFlag = onError ? onError() : undefined;\n if (errorFlag !== false) {\n setIsImgExist(false);\n }\n };\n var customizePrefixCls = props.prefixCls,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'default' : _props$size,\n src = props.src,\n srcSet = props.srcSet,\n icon = props.icon,\n className = props.className,\n alt = props.alt,\n draggable = props.draggable,\n children = props.children,\n crossOrigin = props.crossOrigin,\n others = __rest(props, [\"prefixCls\", \"shape\", \"size\", \"src\", \"srcSet\", \"icon\", \"className\", \"alt\", \"draggable\", \"children\", \"crossOrigin\"]);\n var size = customSize === 'default' ? groupSize : customSize;\n var needResponsive = Object.keys(_typeof(size) === 'object' ? size || {} : {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var responsiveSizeStyle = React.useMemo(function () {\n if (_typeof(size) !== 'object') {\n return {};\n }\n var currentBreakpoint = responsiveArray.find(function (screen) {\n return screens[screen];\n });\n var currentSize = size[currentBreakpoint];\n return currentSize ? {\n width: currentSize,\n height: currentSize,\n lineHeight: \"\".concat(currentSize, \"px\"),\n fontSize: icon ? currentSize / 2 : 18\n } : {};\n }, [screens, size]);\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Avatar', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n var prefixCls = getPrefixCls('avatar', customizePrefixCls);\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var hasImageElement = /*#__PURE__*/React.isValidElement(src);\n var classString = classNames(prefixCls, sizeCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-\").concat(shape), !!shape), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-image\"), hasImageElement || src && isImgExist), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon\"), !!icon), _classNames2), className);\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\"),\n fontSize: icon ? size / 2 : 18\n } : {};\n var childrenToRender;\n if (typeof src === 'string' && isImgExist) {\n childrenToRender = /*#__PURE__*/React.createElement(\"img\", {\n src: src,\n draggable: draggable,\n srcSet: srcSet,\n onError: handleImgLoadError,\n alt: alt,\n crossOrigin: crossOrigin\n });\n } else if (hasImageElement) {\n childrenToRender = src;\n } else if (icon) {\n childrenToRender = icon;\n } else if (mounted || scale !== 1) {\n var transformString = \"scale(\".concat(scale, \") translateX(-50%)\");\n var childrenStyle = {\n msTransform: transformString,\n WebkitTransform: transformString,\n transform: transformString\n };\n var sizeChildrenStyle = typeof size === 'number' ? {\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n childrenToRender = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: setScaleParam\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n ref: avatarChildrenRef,\n style: _extends(_extends({}, sizeChildrenStyle), childrenStyle)\n }, children));\n } else {\n childrenToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n style: {\n opacity: 0\n },\n ref: avatarChildrenRef\n }, children);\n }\n // The event is triggered twice from bubbling up the DOM tree.\n // see https://codesandbox.io/s/kind-snow-9lidz\n delete others.onError;\n delete others.gap;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, others, {\n style: _extends(_extends(_extends({}, sizeStyle), responsiveSizeStyle), others.style),\n className: classString,\n ref: avatarNodeMergeRef\n }), childrenToRender);\n};\nvar Avatar = /*#__PURE__*/React.forwardRef(InternalAvatar);\nif (process.env.NODE_ENV !== 'production') {\n Avatar.displayName = 'Avatar';\n}\nexport default Avatar;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport Avatar from './avatar';\nimport { SizeContextProvider } from './SizeContext';\nvar Group = function Group(props) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n maxCount = props.maxCount,\n maxStyle = props.maxStyle,\n size = props.size;\n var prefixCls = getPrefixCls('avatar-group', customizePrefixCls);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var children = props.children,\n _props$maxPopoverPlac = props.maxPopoverPlacement,\n maxPopoverPlacement = _props$maxPopoverPlac === void 0 ? 'top' : _props$maxPopoverPlac,\n _props$maxPopoverTrig = props.maxPopoverTrigger,\n maxPopoverTrigger = _props$maxPopoverTrig === void 0 ? 'hover' : _props$maxPopoverTrig;\n var childrenWithProps = toArray(children).map(function (child, index) {\n return cloneElement(child, {\n key: \"avatar-key-\".concat(index)\n });\n });\n var numOfChildren = childrenWithProps.length;\n if (maxCount && maxCount < numOfChildren) {\n var childrenShow = childrenWithProps.slice(0, maxCount);\n var childrenHidden = childrenWithProps.slice(maxCount, numOfChildren);\n childrenShow.push( /*#__PURE__*/React.createElement(Popover, {\n key: \"avatar-popover-key\",\n content: childrenHidden,\n trigger: maxPopoverTrigger,\n placement: maxPopoverPlacement,\n overlayClassName: \"\".concat(prefixCls, \"-popover\")\n }, /*#__PURE__*/React.createElement(Avatar, {\n style: maxStyle\n }, \"+\".concat(numOfChildren - maxCount))));\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenShow));\n }\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenWithProps));\n};\nexport default Group;","import InternalAvatar from './avatar';\nimport Group from './group';\nexport { Group };\nvar Avatar = InternalAvatar;\nAvatar.Group = Group;\nexport default Avatar;","import { Col } from '../grid';\nexport default Col;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nvar Overlay = function Overlay(_ref) {\n var title = _ref.title,\n content = _ref.content,\n prefixCls = _ref.prefixCls;\n if (!title && !content) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, getRenderPropValue(content)));\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n title = props.title,\n content = props.content,\n _overlay = props._overlay,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n _props$overlayStyle = props.overlayStyle,\n overlayStyle = _props$overlayStyle === void 0 ? {} : _props$overlayStyle,\n otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"_overlay\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(Tooltip, _extends({\n placement: placement,\n trigger: trigger,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n overlayStyle: overlayStyle\n }, otherProps, {\n prefixCls: prefixCls,\n ref: ref,\n overlay: _overlay || /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n title: title,\n content: content\n }),\n transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName)\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popover.displayName = 'Popover';\n}\nexport default Popover;","import { Row } from '../grid';\nexport default Row;","import { Avatar, Col, Row } from 'antd';\nimport React, { FC } from 'react';\nimport cn from 'classnames';\nimport { Follower } from '../../../../interfaces/follower';\nimport styles from './SingleFollower.module.scss';\n\nexport type SingleFollowerProps = {\n follower: Follower;\n};\n\nexport const SingleFollower: FC = ({ follower }) => (\n \n);\n","import { FC, useEffect, useState } from 'react';\nimport { Col, Pagination, Row, Skeleton } from 'antd';\nimport { Follower } from '../../../../interfaces/follower';\nimport { SingleFollower } from '../SingleFollower/SingleFollower';\nimport styles from './FollowerCollection.module.scss';\nimport { FollowButton } from '../../../action-buttons/FollowButton';\n\nexport type FollowerCollectionProps = {\n name: string;\n onFollowButtonClick: () => void;\n};\n\nexport const FollowerCollection: FC = ({ name, onFollowButtonClick }) => {\n const ENDPOINT = '/api/followers';\n const ITEMS_PER_PAGE = 24;\n\n const [followers, setFollowers] = useState([]);\n const [total, setTotal] = useState(0);\n const [page, setPage] = useState(1);\n const [loading, setLoading] = useState(true);\n\n const pages = Math.ceil(total / ITEMS_PER_PAGE);\n\n const getFollowers = async () => {\n try {\n const response = await fetch(`${ENDPOINT}?page=${page}`);\n\n const data = await response.json();\n const { results, total: totalResults } = data;\n\n setFollowers(results);\n setTotal(totalResults);\n setLoading(false);\n } catch (error) {\n console.error(error);\n }\n };\n\n useEffect(() => {\n getFollowers();\n }, [page]);\n\n const noFollowers = (\n
\n

Be the first follower!

\n

\n {name !== 'Owncast' ? name : 'This server'} is a part of the{' '}\n Fediverse, an interconnected network of\n independent users and servers.\n

\n

\n By following {name !== 'Owncast' ? name : 'this server'} you'll be able to get updates\n from the stream, share it with others, and show your appreciation when it goes live, all\n from your own Fediverse account.\n

\n \n
\n );\n\n const loadingSkeleton = ;\n\n if (loading) {\n return loadingSkeleton;\n }\n\n if (!followers?.length) {\n return noFollowers;\n }\n\n return (\n
\n \n {followers.map(follower => (\n \n \n \n ))}\n \n\n {\n setPage(p);\n }}\n hideOnSinglePage\n />\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"followers\":\"FollowerCollection_followers__e_EUS\",\"followerRow\":\"FollowerCollection_followerRow__T1mFd\",\"noFollowers\":\"FollowerCollection_noFollowers__UaCVW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"follower\":\"SingleFollower_follower__EyBDI\",\"avatar\":\"SingleFollower_avatar__V9jHG\",\"account\":\"SingleFollower_account__Z66vo\",\"placeholder\":\"SingleFollower_placeholder__CgsfJ\"};"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","getRenderPropValue","propValue","SizeContext","createContext","SizeContextProvider","_ref","children","size","Consumer","originSize","Provider","value","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Avatar","_classNames","_classNames2","childrenToRender","groupSize","useContext","_React$useState","useState","_React$useState2","slicedToArray","scale","setScale","_React$useState3","_React$useState4","mounted","setMounted","_React$useState5","_React$useState6","isImgExist","setIsImgExist","avatarNodeRef","useRef","avatarChildrenRef","avatarNodeMergeRef","es_ref","sQ","getPrefixCls","_React$useContext","context","E_","setScaleParam","current","childrenWidth","offsetWidth","nodeWidth","_props$gap","gap","useEffect","src","customizePrefixCls","prefixCls","_props$shape","shape","_props$size","customSize","srcSet","className","alt","draggable","crossOrigin","others","needResponsive","keys","esm_typeof","some","key","includes","screens","useBreakpoint","responsiveSizeStyle","useMemo","currentSize","responsiveObserve","c4","find","screen","width","height","lineHeight","concat","fontSize","sizeCls","classnames_default","defineProperty","hasImageElement","isValidElement","classString","onError","undefined","transformString","es","onResize","style","esm_extends","msTransform","WebkitTransform","transform","opacity","avatar_Avatar","Group","direction","_props$className","maxCount","maxStyle","cls","_props$maxPopoverPlac","maxPopoverPlacement","_props$maxPopoverTrig","maxPopoverTrigger","childrenWithProps","toArray","map","child","index","reactNode","Tm","numOfChildren","childrenShow","slice","childrenHidden","push","popover","content","trigger","placement","overlayClassName","es_avatar","__webpack_exports__","_grid__WEBPACK_IMPORTED_MODULE_0__","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","span","order","offset","pull","flex","sizeClassObj","forEach","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","breakpoint","curVal","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","xs","sm","md","lg","xl","xxl","setScreens","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","token","ZP","subscribe","currentGutter","Array","isArray","unsubscribe","gutters","normalizedGutter","g","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","_RowContext__WEBPACK_IMPORTED_MODULE_9__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","Overlay","title","Fragment","_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_1__","Popover","_overlay","_props$placement","_props$trigger","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","_props$overlayStyle","overlayStyle","otherProps","rootPrefixCls","_tooltip__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","overlay","transitionName","_util_motion__WEBPACK_IMPORTED_MODULE_5__","mL","SingleFollower","follower","param","jsx_runtime","jsx","div","cn","styles","a","href","link","target","rel","jsxs","image","img","name","username","FollowerCollection","onFollowButtonClick","followers","setFollowers","total","setTotal","page","setPage","loading","setLoading","getFollowers","response","fetch","data","json","totalResults","error","console","noFollowers","id","h2","FollowButton","onClick","loadingSkeleton","Skeleton","active","paragraph","rows","Pagination","pageSize","pages","ceil","onChange","hideOnSinglePage","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/2138-e8118743e123efc0.js b/static/web/_next/static/chunks/2138-e8118743e123efc0.js new file mode 100644 index 000000000..9792fd5b0 --- /dev/null +++ b/static/web/_next/static/chunks/2138-e8118743e123efc0.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2138],{92138:function(e,r,n){n.r(r),n.d(r,{blue:function(){return A},cyan:function(){return F},geekblue:function(){return w},generate:function(){return d},gold:function(){return p},green:function(){return x},grey:function(){return D},lime:function(){return k},magenta:function(){return S},orange:function(){return v},presetDarkPalettes:function(){return g},presetPalettes:function(){return s},presetPrimaryColors:function(){return h},purple:function(){return M},red:function(){return b},volcano:function(){return m},yellow:function(){return y}});var a=n(86500),t=n(1350),f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function o(e){var r=e.r,n=e.g,t=e.b,f=(0,a.py)(r,n,t);return{h:360*f.h,s:f.s,v:f.v}}function u(e){var r=e.r,n=e.g,t=e.b;return"#".concat((0,a.vq)(r,n,t,!1))}function i(e,r,n){var a;return(a=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*r:Math.round(e.h)+2*r:n?Math.round(e.h)+2*r:Math.round(e.h)-2*r)<0?a+=360:a>=360&&(a-=360),a}function c(e,r,n){var a;return 0===e.h&&0===e.s?e.s:((a=n?e.s-.16*r:4===r?e.s+.16:e.s+.05*r)>1&&(a=1),n&&5===r&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2)))}function l(e,r,n){var a;return(a=n?e.v+.05*r:e.v-.15*r)>1&&(a=1),Number(a.toFixed(2))}function d(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],a=(0,t.uA)(e),d=5;d>0;d-=1){var h=o(a),s=u((0,t.uA)({h:i(h,d,!0),s:c(h,d,!0),v:l(h,d,!0)}));n.push(s)}n.push(u(a));for(var g=1;g<=4;g+=1){var b=o(a),m=u((0,t.uA)({h:i(b,g),s:c(b,g),v:l(b,g)}));n.push(m)}return"dark"===r.theme?f.map(function(e){var a,f,o,i=e.index,c=e.opacity;return u((a=(0,t.uA)(r.backgroundColor||"#141414"),f=(0,t.uA)(n[i]),o=100*c/100,{r:(f.r-a.r)*o+a.r,g:(f.g-a.g)*o+a.g,b:(f.b-a.b)*o+a.b}))}):n}var h={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},s={},g={};Object.keys(h).forEach(function(e){s[e]=d(h[e]),s[e].primary=s[e][5],g[e]=d(h[e],{theme:"dark",backgroundColor:"#141414"}),g[e].primary=g[e][5]});var b=s.red,m=s.volcano,p=s.gold,v=s.orange,y=s.yellow,k=s.lime,x=s.green,F=s.cyan,A=s.blue,w=s.geekblue,M=s.purple,S=s.magenta,D=s.grey},86500:function(e,r,n){n.d(r,{GC:function(){return h},T6:function(){return g},VD:function(){return b},WE:function(){return c},Wl:function(){return s},Yt:function(){return m},lC:function(){return f},py:function(){return i},rW:function(){return t},s:function(){return d},ve:function(){return u},vq:function(){return l}});var a=n(90279);function t(e,r,n){return{r:255*(0,a.sh)(e,255),g:255*(0,a.sh)(r,255),b:255*(0,a.sh)(n,255)}}function f(e,r,n){var t=Math.max(e=(0,a.sh)(e,255),r=(0,a.sh)(r,255),n=(0,a.sh)(n,255)),f=Math.min(e,r,n),o=0,u=0,i=(t+f)/2;if(t===f)u=0,o=0;else{var c=t-f;switch(u=i>.5?c/(2-t-f):c/(t+f),t){case e:o=(r-n)/c+(r1&&(n-=1),n<1/6)?e+(r-e)*(6*n):n<.5?r:n<2/3?e+(r-e)*(2/3-n)*6:e}function u(e,r,n){if(e=(0,a.sh)(e,360),r=(0,a.sh)(r,100),n=(0,a.sh)(n,100),0===r)f=n,u=n,t=n;else{var t,f,u,i=n<.5?n*(1+r):n+r-n*r,c=2*n-i;t=o(c,i,e+1/3),f=o(c,i,e),u=o(c,i,e-1/3)}return{r:255*t,g:255*f,b:255*u}}function i(e,r,n){var t=Math.max(e=(0,a.sh)(e,255),r=(0,a.sh)(r,255),n=(0,a.sh)(n,255)),f=Math.min(e,r,n),o=0,u=t-f;if(t===f)o=0;else{switch(t){case e:o=(r-n)/u+(r>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,r,n){n.d(r,{R:function(){return a}});var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,r,n){n.d(r,{ky:function(){return h},uA:function(){return o},uz:function(){return d}});var a=n(86500),t=n(48701),f=n(90279);function o(e){var r={r:0,g:0,b:0},n=1,t=null,o=null,u=null,i=!1,c=!1;return"string"==typeof e&&(e=d(e)),"object"==typeof e&&(h(e.r)&&h(e.g)&&h(e.b)?(r=(0,a.rW)(e.r,e.g,e.b),i=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):h(e.h)&&h(e.s)&&h(e.v)?(t=(0,f.JX)(e.s),o=(0,f.JX)(e.v),r=(0,a.WE)(e.h,t,o),i=!0,c="hsv"):h(e.h)&&h(e.s)&&h(e.l)&&(t=(0,f.JX)(e.s),u=(0,f.JX)(e.l),r=(0,a.ve)(e.h,t,u),i=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,f.Yq)(n),{ok:i,format:e.format||c,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:n}}var u="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),i="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),c="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),l={CSS_UNIT:RegExp(u),rgb:RegExp("rgb"+i),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+i),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+i),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var r=!1;if(t.R[e])e=t.R[e],r=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=l.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=l.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=l.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=l.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=l.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=l.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=l.hex8.exec(e))?{r:(0,a.VD)(n[1]),g:(0,a.VD)(n[2]),b:(0,a.VD)(n[3]),a:(0,a.T6)(n[4]),format:r?"name":"hex8"}:(n=l.hex6.exec(e))?{r:(0,a.VD)(n[1]),g:(0,a.VD)(n[2]),b:(0,a.VD)(n[3]),format:r?"name":"hex"}:(n=l.hex4.exec(e))?{r:(0,a.VD)(n[1]+n[1]),g:(0,a.VD)(n[2]+n[2]),b:(0,a.VD)(n[3]+n[3]),a:(0,a.T6)(n[4]+n[4]),format:r?"name":"hex8"}:!!(n=l.hex3.exec(e))&&{r:(0,a.VD)(n[1]+n[1]),g:(0,a.VD)(n[2]+n[2]),b:(0,a.VD)(n[3]+n[3]),format:r?"name":"hex"}}function h(e){return Boolean(l.CSS_UNIT.exec(String(e)))}},90279:function(e,r,n){function a(e,r){"string"==typeof(n=e)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n,a,t="string"==typeof(a=e)&&-1!==a.indexOf("%");return(e=360===r?e:Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*r),10)/100),1e-6>Math.abs(e-r))?1:e=360===r?(e<0?e%r+r:e%r)/parseFloat(String(r)):e%r/parseFloat(String(r))}function t(e){return Math.min(1,Math.max(0,e))}function f(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function o(e){return e<=1?"".concat(100*Number(e),"%"):e}function u(e){return 1===e.length?"0"+e:String(e)}n.d(r,{FZ:function(){return u},JX:function(){return o},V2:function(){return t},Yq:function(){return f},sh:function(){return a}})}}]); +//# sourceMappingURL=2138-e8118743e123efc0.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/2138-e8118743e123efc0.js.map b/static/web/_next/static/chunks/2138-e8118743e123efc0.js.map new file mode 100644 index 000000000..8529ee590 --- /dev/null +++ b/static/web/_next/static/chunks/2138-e8118743e123efc0.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/2138-e8118743e123efc0.js","mappings":"ioBAiBAA,EAAA,EACAC,MAAA,EACAC,QAAA,GACA,EAAC,CACDD,MAAA,EACAC,QAAA,GACA,EAAC,CACDD,MAAA,EACAC,QAAA,EACA,EAAC,CACDD,MAAA,EACAC,QAAA,GACA,EAAC,CACDD,MAAA,EACAC,QAAA,GACA,EAAC,CACDD,M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A,QAEA,IAoCOA,EAOAA,EA3CPE,EA4CA,iBADOF,EA3CPA,IA4CAA,KAAAA,EAAAC,OAAA,YArCA,CANAD,EAAAnN,MAAAA,EAAAmN,EAAAhR,KAAA8D,GAAA,CAAAD,EAAA7D,KAAA6D,GAAA,GAAA0B,WAAAyL,IAAA,CAEAE,GACAF,CAAAA,EAAArL,SAAAoJ,OAAAiC,EAAAnN,GAAA,SAGA7D,KAAAA,KAAAmR,GAAA,CAAAH,EAAAnN,IACA,EAOAmN,EAJAnN,MAAAA,EAIA,CAAAmN,EAAA,IAAAnN,EAAAA,EAAAmN,EAAAnN,CAAA,EAAA0B,WAAAwJ,OAAAlL,IAKA,EAAAA,EAAA0B,WAAAwJ,OAAAlL,GAXA,CAmBO,SAAAuN,EAAA1L,CAAA,EACP,OAAA1F,KAAA8D,GAAA,GAAA9D,KAAA6D,GAAA,GAAA6B,GACA,CAoBO,SAAA2L,EAAAlM,CAAA,EAKP,MAHAmM,CAAAA,MADAnM,EAAAI,WAAAJ,KACAA,EAAA,GAAAA,EAAA,IACAA,CAAAA,EAAA,GAEAA,CACA,CAKO,SAAAoM,EAAAP,CAAA,SACP,KACA,GAAAtR,MAAA,CAAAa,IAAAA,OAAAyQ,GAAA,KAEAA,CADA,CAOO,SAAAQ,EAAAC,CAAA,EACP,OAAAA,IAAAA,EAAAxQ,MAAA,KAAAwQ,EAAA1C,OAAA0C,EAAA,AACA","sources":["webpack://_N_E/./node_modules/@ant-design/colors/dist/index.esm.js","webpack://_N_E/./node_modules/@ctrl/tinycolor/dist/module/conversion.js","webpack://_N_E/./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","webpack://_N_E/./node_modules/@ctrl/tinycolor/dist/module/format-input.js","webpack://_N_E/./node_modules/@ctrl/tinycolor/dist/module/util.js","webpack://_N_E/"],"sourcesContent":["import { inputToRGB, rgbToHex, rgbToHsv } from '@ctrl/tinycolor';\n\nvar hueStep = 2; // 色相阶梯\n\nvar saturationStep = 0.16; // 饱和度阶梯,浅色部分\n\nvar saturationStep2 = 0.05; // 饱和度阶梯,深色部分\n\nvar brightnessStep1 = 0.05; // 亮度阶梯,浅色部分\n\nvar brightnessStep2 = 0.15; // 亮度阶梯,深色部分\n\nvar lightColorCount = 5; // 浅色数量,主色上\n\nvar darkColorCount = 4; // 深色数量,主色下\n// 暗色主题颜色映射关系表\n\nvar darkColorMap = [{\n index: 7,\n opacity: 0.15\n}, {\n index: 6,\n opacity: 0.25\n}, {\n index: 5,\n opacity: 0.3\n}, {\n index: 5,\n opacity: 0.45\n}, {\n index: 5,\n opacity: 0.65\n}, {\n index: 5,\n opacity: 0.85\n}, {\n index: 4,\n opacity: 0.9\n}, {\n index: 3,\n opacity: 0.95\n}, {\n index: 2,\n opacity: 0.97\n}, {\n index: 1,\n opacity: 0.98\n}]; // Wrapper function ported from TinyColor.prototype.toHsv\n// Keep it here because of `hsv.h * 360`\n\nfunction toHsv(_ref) {\n var r = _ref.r,\n g = _ref.g,\n b = _ref.b;\n var hsv = rgbToHsv(r, g, b);\n return {\n h: hsv.h * 360,\n s: hsv.s,\n v: hsv.v\n };\n} // Wrapper function ported from TinyColor.prototype.toHexString\n// Keep it here because of the prefix `#`\n\n\nfunction toHex(_ref2) {\n var r = _ref2.r,\n g = _ref2.g,\n b = _ref2.b;\n return \"#\".concat(rgbToHex(r, g, b, false));\n} // Wrapper function ported from TinyColor.prototype.mix, not treeshakable.\n// Amount in range [0, 1]\n// Assume color1 & color2 has no alpha, since the following src code did so.\n\n\nfunction mix(rgb1, rgb2, amount) {\n var p = amount / 100;\n var rgb = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b\n };\n return rgb;\n}\n\nfunction getHue(hsv, i, light) {\n var hue; // 根据色相不同,色相转向不同\n\n if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {\n hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;\n } else {\n hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;\n }\n\n if (hue < 0) {\n hue += 360;\n } else if (hue >= 360) {\n hue -= 360;\n }\n\n return hue;\n}\n\nfunction getSaturation(hsv, i, light) {\n // grey color don't change saturation\n if (hsv.h === 0 && hsv.s === 0) {\n return hsv.s;\n }\n\n var saturation;\n\n if (light) {\n saturation = hsv.s - saturationStep * i;\n } else if (i === darkColorCount) {\n saturation = hsv.s + saturationStep;\n } else {\n saturation = hsv.s + saturationStep2 * i;\n } // 边界值修正\n\n\n if (saturation > 1) {\n saturation = 1;\n } // 第一格的 s 限制在 0.06-0.1 之间\n\n\n if (light && i === lightColorCount && saturation > 0.1) {\n saturation = 0.1;\n }\n\n if (saturation < 0.06) {\n saturation = 0.06;\n }\n\n return Number(saturation.toFixed(2));\n}\n\nfunction getValue(hsv, i, light) {\n var value;\n\n if (light) {\n value = hsv.v + brightnessStep1 * i;\n } else {\n value = hsv.v - brightnessStep2 * i;\n }\n\n if (value > 1) {\n value = 1;\n }\n\n return Number(value.toFixed(2));\n}\n\nfunction generate(color) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var patterns = [];\n var pColor = inputToRGB(color);\n\n for (var i = lightColorCount; i > 0; i -= 1) {\n var hsv = toHsv(pColor);\n var colorString = toHex(inputToRGB({\n h: getHue(hsv, i, true),\n s: getSaturation(hsv, i, true),\n v: getValue(hsv, i, true)\n }));\n patterns.push(colorString);\n }\n\n patterns.push(toHex(pColor));\n\n for (var _i = 1; _i <= darkColorCount; _i += 1) {\n var _hsv = toHsv(pColor);\n\n var _colorString = toHex(inputToRGB({\n h: getHue(_hsv, _i),\n s: getSaturation(_hsv, _i),\n v: getValue(_hsv, _i)\n }));\n\n patterns.push(_colorString);\n } // dark theme patterns\n\n\n if (opts.theme === 'dark') {\n return darkColorMap.map(function (_ref3) {\n var index = _ref3.index,\n opacity = _ref3.opacity;\n var darkColorString = toHex(mix(inputToRGB(opts.backgroundColor || '#141414'), inputToRGB(patterns[index]), opacity * 100));\n return darkColorString;\n });\n }\n\n return patterns;\n}\n\nvar presetPrimaryColors = {\n red: '#F5222D',\n volcano: '#FA541C',\n orange: '#FA8C16',\n gold: '#FAAD14',\n yellow: '#FADB14',\n lime: '#A0D911',\n green: '#52C41A',\n cyan: '#13C2C2',\n blue: '#1890FF',\n geekblue: '#2F54EB',\n purple: '#722ED1',\n magenta: '#EB2F96',\n grey: '#666666'\n};\nvar presetPalettes = {};\nvar presetDarkPalettes = {};\nObject.keys(presetPrimaryColors).forEach(function (key) {\n presetPalettes[key] = generate(presetPrimaryColors[key]);\n presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes\n\n presetDarkPalettes[key] = generate(presetPrimaryColors[key], {\n theme: 'dark',\n backgroundColor: '#141414'\n });\n presetDarkPalettes[key].primary = presetDarkPalettes[key][5];\n});\nvar red = presetPalettes.red;\nvar volcano = presetPalettes.volcano;\nvar gold = presetPalettes.gold;\nvar orange = presetPalettes.orange;\nvar yellow = presetPalettes.yellow;\nvar lime = presetPalettes.lime;\nvar green = presetPalettes.green;\nvar cyan = presetPalettes.cyan;\nvar blue = presetPalettes.blue;\nvar geekblue = presetPalettes.geekblue;\nvar purple = presetPalettes.purple;\nvar magenta = presetPalettes.magenta;\nvar grey = presetPalettes.grey;\n\nexport { blue, cyan, geekblue, generate, gold, green, grey, lime, magenta, orange, presetDarkPalettes, presetPalettes, presetPrimaryColors, purple, red, volcano, yellow };\n","import { bound01, pad2 } from './util';\n// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n// \n/**\n * Handle bounds / percentage checking to conform to CSS color spec\n * \n * *Assumes:* r, g, b in [0, 255] or [0, 1]\n * *Returns:* { r, g, b } in [0, 255]\n */\nexport function rgbToRgb(r, g, b) {\n return {\n r: bound01(r, 255) * 255,\n g: bound01(g, 255) * 255,\n b: bound01(b, 255) * 255,\n };\n}\n/**\n * Converts an RGB color value to HSL.\n * *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n * *Returns:* { h, s, l } in [0,1]\n */\nexport function rgbToHsl(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = 0; // achromatic\n }\n else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, l: l };\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * (6 * t);\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n/**\n * Converts an HSL color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hslToRgb(h, s, l) {\n var r;\n var g;\n var b;\n h = bound01(h, 360);\n s = bound01(s, 100);\n l = bound01(l, 100);\n if (s === 0) {\n // achromatic\n g = l;\n b = l;\n r = l;\n }\n else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color value to HSV\n *\n * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n * *Returns:* { h, s, v } in [0,1]\n */\nexport function rgbToHsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var v = max;\n var d = max - min;\n var s = max === 0 ? 0 : d / max;\n if (max === min) {\n h = 0; // achromatic\n }\n else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, v: v };\n}\n/**\n * Converts an HSV color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hsvToRgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color to hex\n *\n * Assumes r, g, and b are contained in the set [0, 255]\n * Returns a 3 or 6 character hex\n */\nexport function rgbToHex(r, g, b, allow3Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n // Return a 3 character hex if possible\n if (allow3Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color plus alpha transparency to hex\n *\n * Assumes r, g, b are contained in the set [0, 255] and\n * a in [0, 1]. Returns a 4 or 8 character rgba hex\n */\n// eslint-disable-next-line max-params\nexport function rgbaToHex(r, g, b, a, allow4Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n pad2(convertDecimalToHex(a)),\n ];\n // Return a 4 character hex if possible\n if (allow4Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1)) &&\n hex[3].startsWith(hex[3].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color to an ARGB Hex8 string\n * Rarely used, but required for \"toFilter()\"\n */\nexport function rgbaToArgbHex(r, g, b, a) {\n var hex = [\n pad2(convertDecimalToHex(a)),\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n return hex.join('');\n}\n/** Converts a decimal to a hex value */\nexport function convertDecimalToHex(d) {\n return Math.round(parseFloat(d) * 255).toString(16);\n}\n/** Converts a hex value to a decimal */\nexport function convertHexToDecimal(h) {\n return parseIntFromHex(h) / 255;\n}\n/** Parse a base-16 hex value into a base-10 integer */\nexport function parseIntFromHex(val) {\n return parseInt(val, 16);\n}\nexport function numberInputToObject(color) {\n return {\n r: color >> 16,\n g: (color & 0xff00) >> 8,\n b: color & 0xff,\n };\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToRgb } from './conversion';\nimport { names } from './css-color-names';\nimport { boundAlpha, convertToPercentage } from './util';\n/**\n * Given a string or object, convert that input to RGB\n *\n * Possible string inputs:\n * ```\n * \"red\"\n * \"#f00\" or \"f00\"\n * \"#ff0000\" or \"ff0000\"\n * \"#ff000000\" or \"ff000000\"\n * \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n * \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n * \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n * \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n * \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n * \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n * \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n * ```\n */\nexport function inputToRGB(color) {\n var rgb = { r: 0, g: 0, b: 0 };\n var a = 1;\n var s = null;\n var v = null;\n var l = null;\n var ok = false;\n var format = false;\n if (typeof color === 'string') {\n color = stringInputToObject(color);\n }\n if (typeof color === 'object') {\n if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {\n rgb = rgbToRgb(color.r, color.g, color.b);\n ok = true;\n format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {\n s = convertToPercentage(color.s);\n v = convertToPercentage(color.v);\n rgb = hsvToRgb(color.h, s, v);\n ok = true;\n format = 'hsv';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {\n s = convertToPercentage(color.s);\n l = convertToPercentage(color.l);\n rgb = hslToRgb(color.h, s, l);\n ok = true;\n format = 'hsl';\n }\n if (Object.prototype.hasOwnProperty.call(color, 'a')) {\n a = color.a;\n }\n }\n a = boundAlpha(a);\n return {\n ok: ok,\n format: color.format || format,\n r: Math.min(255, Math.max(rgb.r, 0)),\n g: Math.min(255, Math.max(rgb.g, 0)),\n b: Math.min(255, Math.max(rgb.b, 0)),\n a: a,\n };\n}\n// \nvar CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n// \nvar CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.\nvar CSS_UNIT = \"(?:\".concat(CSS_NUMBER, \")|(?:\").concat(CSS_INTEGER, \")\");\n// Actual matching.\n// Parentheses and commas are optional, but not required.\n// Whitespace can take the place of commas or opening paren\nvar PERMISSIVE_MATCH3 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar PERMISSIVE_MATCH4 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar matchers = {\n CSS_UNIT: new RegExp(CSS_UNIT),\n rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n};\n/**\n * Permissive string parsing. Take in a number of formats, and output an object\n * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n */\nexport function stringInputToObject(color) {\n color = color.trim().toLowerCase();\n if (color.length === 0) {\n return false;\n }\n var named = false;\n if (names[color]) {\n color = names[color];\n named = true;\n }\n else if (color === 'transparent') {\n return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n }\n // Try to match string input using regular expressions.\n // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n // Just return an object and let the conversion functions handle that.\n // This way the result will be the same whether the tinycolor is initialized with string or object.\n var match = matchers.rgb.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3] };\n }\n match = matchers.rgba.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3], a: match[4] };\n }\n match = matchers.hsl.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3] };\n }\n match = matchers.hsla.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3], a: match[4] };\n }\n match = matchers.hsv.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3] };\n }\n match = matchers.hsva.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3], a: match[4] };\n }\n match = matchers.hex8.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n a: convertHexToDecimal(match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex6.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n match = matchers.hex4.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n a: convertHexToDecimal(match[4] + match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex3.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n return false;\n}\n/**\n * Check to see if it looks like a CSS unit\n * (see `matchers` above for definition).\n */\nexport function isValidCSSUnit(color) {\n return Boolean(matchers.CSS_UNIT.exec(String(color)));\n}\n","/**\n * Take input from [0, n] and return it as [0, 1]\n * @hidden\n */\nexport function bound01(n, max) {\n if (isOnePointZero(n)) {\n n = '100%';\n }\n var isPercent = isPercentage(n);\n n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));\n // Automatically convert percentage into number\n if (isPercent) {\n n = parseInt(String(n * max), 10) / 100;\n }\n // Handle floating point rounding errors\n if (Math.abs(n - max) < 0.000001) {\n return 1;\n }\n // Convert into [0, 1] range if it isn't already\n if (max === 360) {\n // If n is a hue given in degrees,\n // wrap around out-of-range values into [0, 360] range\n // then convert into [0, 1].\n n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));\n }\n else {\n // If n not a hue given in degrees\n // Convert into [0, 1] range if it isn't already.\n n = (n % max) / parseFloat(String(max));\n }\n return n;\n}\n/**\n * Force a number between 0 and 1\n * @hidden\n */\nexport function clamp01(val) {\n return Math.min(1, Math.max(0, val));\n}\n/**\n * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n * \n * @hidden\n */\nexport function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n}\n/**\n * Check to see if string passed in is a percentage\n * @hidden\n */\nexport function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n}\n/**\n * Return a valid alpha value [0,1] with all invalid values being set to 1\n * @hidden\n */\nexport function boundAlpha(a) {\n a = parseFloat(a);\n if (isNaN(a) || a < 0 || a > 1) {\n a = 1;\n }\n return a;\n}\n/**\n * Replace a decimal with it's percentage value\n * @hidden\n */\nexport function convertToPercentage(n) {\n if (n <= 1) {\n return \"\".concat(Number(n) * 100, \"%\");\n }\n return n;\n}\n/**\n * Force a hex value to have 2 characters\n * @hidden\n */\nexport function pad2(c) {\n return c.length === 1 ? '0' + c : String(c);\n}\n"],"names":["darkColorMap","index","opacity","toHsv","_ref","r","g","b","hsv","_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__","py","h","s","v","toHex","_ref2","concat","vq","getHue","i","light","hue","Math","round","hueStep","getSaturation","saturation","saturationStep","saturationStep2","Number","toFixed","getValue","value","brightnessStep1","brightnessStep2","generate","color","opts","arguments","length","undefined","patterns","pColor","_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__","uA","colorString","push","_i","_hsv","_colorString","theme","map","_ref3","rgb1","rgb2","p","backgroundColor","amount","presetPrimaryColors","red","volcano","orange","gold","yellow","lime","green","cyan","blue","geekblue","purple","magenta","grey","presetPalettes","presetDarkPalettes","Object","keys","forEach","key","primary","rgbToRgb","_util__WEBPACK_IMPORTED_MODULE_0__","sh","rgbToHsl","max","min","l","d","hue2rgb","q","t","hslToRgb","rgbToHsv","hsvToRgb","floor","f","mod","rgbToHex","allow3Char","hex","FZ","toString","startsWith","charAt","join","rgbaToHex","a","allow4Char","convertDecimalToHex","rgbaToArgbHex","parseFloat","convertHexToDecimal","parseIntFromHex","val","parseInt","numberInputToObject","names","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gray","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellowgreen","inputToRGB","rgb","ok","format","stringInputToObject","isValidCSSUnit","_conversion__WEBPACK_IMPORTED_MODULE_0__","rW","String","substr","_util__WEBPACK_IMPORTED_MODULE_1__","JX","WE","ve","prototype","hasOwnProperty","call","Yq","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","rgba","hsl","hsla","hsva","hex3","hex6","hex4","hex8","trim","toLowerCase","named","_css_color_names__WEBPACK_IMPORTED_MODULE_2__","R","match","exec","VD","T6","Boolean","bound01","n","indexOf","isPercent","abs","clamp01","boundAlpha","isNaN","convertToPercentage","pad2","c"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js b/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js new file mode 100644 index 000000000..ab4bee709 --- /dev/null +++ b/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2231],{99611:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},c=t(42135),i=function(e,n){return r.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:a}))};i.displayName="EyeOutlined";var l=r.forwardRef(i)},68795:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),r=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},c=t(42135),i=function(e,n){return r.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:a}))};i.displayName="SearchOutlined";var l=r.forwardRef(i)},5467:function(e,n,t){t.d(n,{Z:function(){return o}});function o(e){return Object.keys(e).reduce(function(n,t){return(t.startsWith("data-")||t.startsWith("aria-")||"role"===t)&&!t.startsWith("data-__")&&(n[t]=e[t]),n},{})}},14670:function(e,n,t){t.d(n,{Z:function(){return I}});var o=t(87462),r=t(97685),a=t(4942),c=t(89739),i=t(8751),l=t(4340),s=t(18429),u=t(97937),f=t(21640),p=t(11475),d=t(78860),m=t(45605),v=t(94184),Z=t.n(v),C=t(62874),y=t(67294),b=t(53124),E=t(5467),g=t(96159),h=t(15671),x=t(43144),w=t(60136),N=t(33643),O=function(e){(0,w.Z)(t,e);var n=(0,N.Z)(t);function t(){var e;return(0,h.Z)(this,t),e=n.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,x.Z)(t,[{key:"componentDidCatch",value:function(e,n){this.setState({error:e,info:n})}},{key:"render",value:function(){var e=this.props,n=e.message,t=e.description,o=e.children,r=this.state,a=r.error,c=r.info,i=c&&c.componentStack?c.componentStack:null,l=void 0===n?(a||"").toString():n;return a?y.createElement(I,{type:"error",message:l,description:y.createElement("pre",null,void 0===t?i:t)}):o}}]),t}(y.Component),k=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t},M={success:c.Z,info:d.Z,error:l.Z,warning:f.Z},P={success:i.Z,info:m.Z,error:s.Z,warning:p.Z},S=function(e){var n=e.description,t=e.icon,o=e.prefixCls,r=(n?P:M)[e.type]||null;return t?(0,g.wm)(t,y.createElement("span",{className:"".concat(o,"-icon")},t),function(){return{className:Z()("".concat(o,"-icon"),(0,a.Z)({},t.props.className,t.props.className))}}):y.createElement(r,{className:"".concat(o,"-icon")})},z=function(e){var n=e.isClosable,t=e.closeText,o=e.prefixCls,r=e.closeIcon,a=e.handleClose;return n?y.createElement("button",{type:"button",onClick:a,className:"".concat(o,"-close-icon"),tabIndex:0},t?y.createElement("span",{className:"".concat(o,"-close-text")},t):r):null},j=function(e){var n,t,c=e.description,i=e.prefixCls,l=e.message,s=e.banner,f=e.className,p=e.style,d=e.onMouseEnter,m=e.onMouseLeave,v=e.onClick,g=e.afterClose,h=e.showIcon,x=e.closable,w=e.closeText,N=e.closeIcon,O=void 0===N?y.createElement(u.Z,null):N,M=e.action,P=k(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),j=y.useState(!1),I=(0,r.Z)(j,2),L=I[0],T=I[1],_=y.useRef(),B=y.useContext(b.E_),R=B.getPrefixCls,A=B.direction,D=R("alert",i),Q=function(e){var n;T(!0),null===(n=P.onClose)||void 0===n||n.call(P,e)},q=!!w||x,F=void 0!==(n=P.type)?n:s?"warning":"info",W=!!s&&void 0===h||h,H=Z()(D,"".concat(D,"-").concat(F),(t={},(0,a.Z)(t,"".concat(D,"-with-description"),!!c),(0,a.Z)(t,"".concat(D,"-no-icon"),!W),(0,a.Z)(t,"".concat(D,"-banner"),!!s),(0,a.Z)(t,"".concat(D,"-rtl"),"rtl"===A),t),void 0===f?"":f),U=(0,E.Z)(P);return y.createElement(C.Z,{visible:!L,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:g},function(e){var n=e.className,t=e.style;return y.createElement("div",(0,o.Z)({ref:_,"data-show":!L,className:Z()(H,n),style:(0,o.Z)((0,o.Z)({},p),t),onMouseEnter:d,onMouseLeave:m,onClick:v,role:"alert"},U),W?y.createElement(S,{description:c,icon:P.icon,prefixCls:D,type:F}):null,y.createElement("div",{className:"".concat(D,"-content")},l?y.createElement("div",{className:"".concat(D,"-message")},l):null,c?y.createElement("div",{className:"".concat(D,"-description")},c):null),M?y.createElement("div",{className:"".concat(D,"-action")},M):null,y.createElement(z,{isClosable:!!q,closeText:w,prefixCls:D,closeIcon:O,handleClose:Q}))})};j.ErrorBoundary=O;var I=j},79531:function(e,n,t){t.d(n,{Z:function(){return T}});var o=t(87462),r=t(4942),a=t(94184),c=t.n(a),i=t(67294),l=t(53124),s=t(65223),u=t(82586),f=t(97685),p=t(71002),d=t(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},v=t(42135),Z=function(e,n){return i.createElement(v.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:m}))};Z.displayName="EyeInvisibleOutlined";var C=i.forwardRef(Z),y=t(99611),b=t(98423),E=t(42550),g=t(72922),h=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t},x=function(e){return e?i.createElement(y.Z,null):i.createElement(C,null)},w={click:"onClick",hover:"onMouseOver"},N=i.forwardRef(function(e,n){var t=e.visibilityToggle,a=void 0===t||t,s="object"===(0,p.Z)(a)&&void 0!==a.visible,d=(0,i.useState)(function(){return!!s&&a.visible}),m=(0,f.Z)(d,2),v=m[0],Z=m[1],C=(0,i.useRef)(null);i.useEffect(function(){s&&Z(a.visible)},[s,a]);var y=(0,g.Z)(C),N=function(){e.disabled||(v&&y(),Z(function(e){var n,t=!e;return"object"===(0,p.Z)(a)&&(null===(n=a.onVisibleChange)||void 0===n||n.call(a,t)),t}))},O=function(n){var t,o=e.action,a=e.iconRender,c=w[void 0===o?"click":o]||"",l=(void 0===a?x:a)(v),s=(t={},(0,r.Z)(t,c,N),(0,r.Z)(t,"className","".concat(n,"-icon")),(0,r.Z)(t,"key","passwordIcon"),(0,r.Z)(t,"onMouseDown",function(e){e.preventDefault()}),(0,r.Z)(t,"onMouseUp",function(e){e.preventDefault()}),t);return i.cloneElement(i.isValidElement(l)?l:i.createElement("span",null,l),s)};return i.createElement(l.C,null,function(t){var l=t.getPrefixCls,s=e.className,f=e.prefixCls,p=e.inputPrefixCls,d=e.size,m=h(e,["className","prefixCls","inputPrefixCls","size"]),Z=l("input",p),y=l("input-password",f),g=a&&O(y),x=c()(y,s,(0,r.Z)({},"".concat(y,"-").concat(d),!!d)),w=(0,o.Z)((0,o.Z)({},(0,b.Z)(m,["suffix","iconRender","visibilityToggle"])),{type:v?"text":"password",className:x,prefixCls:Z,suffix:g});return d&&(w.size=d),i.createElement(u.ZP,(0,o.Z)({ref:(0,E.sQ)(n,C)},w))})}),O=t(68795),k=t(71577),M=t(97647),P=t(4173),S=t(96159),z=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rn.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);return t},j=i.forwardRef(function(e,n){var t,a,s=e.prefixCls,f=e.inputPrefixCls,p=e.className,d=e.size,m=e.suffix,v=e.enterButton,Z=void 0!==v&&v,C=e.addonAfter,y=e.loading,b=e.disabled,g=e.onSearch,h=e.onChange,x=e.onCompositionStart,w=e.onCompositionEnd,N=z(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),j=i.useContext(l.E_),I=j.getPrefixCls,L=j.direction,T=i.useContext(M.Z),_=i.useRef(!1),B=I("input-search",s),R=I("input",f),A=(0,P.ri)(B,L).compactSize||d||T,D=i.useRef(null),Q=function(e){var n;document.activeElement===(null===(n=D.current)||void 0===n?void 0:n.input)&&e.preventDefault()},q=function(e){var n,t;g&&g(null===(t=null===(n=D.current)||void 0===n?void 0:n.input)||void 0===t?void 0:t.value,e)},F="boolean"==typeof Z?i.createElement(O.Z,null):null,W="".concat(B,"-button"),H=Z||{},U=H.type&&!0===H.type.__ANT_BUTTON;a=U||"button"===H.type?(0,S.Tm)(H,(0,o.Z)({onMouseDown:Q,onClick:function(e){var n,t;null===(t=null===(n=null==H?void 0:H.props)||void 0===n?void 0:n.onClick)||void 0===t||t.call(n,e),q(e)},key:"enterButton"},U?{className:W,size:A}:{})):i.createElement(k.Z,{className:W,type:Z?"primary":void 0,size:A,disabled:b,key:"enterButton",onMouseDown:Q,onClick:q,loading:y,icon:F},Z),C&&(a=[a,(0,S.Tm)(C,{key:"addonAfter"})]);var V=c()(B,(t={},(0,r.Z)(t,"".concat(B,"-rtl"),"rtl"===L),(0,r.Z)(t,"".concat(B,"-").concat(A),!!A),(0,r.Z)(t,"".concat(B,"-with-button"),!!Z),t),p);return i.createElement(u.ZP,(0,o.Z)({ref:(0,E.sQ)(D,n),onPressEnter:function(e){_.current||y||q(e)}},N,{size:A,onCompositionStart:function(e){_.current=!0,null==x||x(e)},onCompositionEnd:function(e){_.current=!1,null==w||w(e)},prefixCls:R,addonAfter:a,suffix:m,onChange:function(e){e&&e.target&&"click"===e.type&&g&&g(e.target.value,e),h&&h(e)},className:V,disabled:b}))}),I=t(80173),L=u.ZP;L.Group=function(e){var n,t=(0,i.useContext)(l.E_),a=t.getPrefixCls,u=t.direction,f=e.prefixCls,p=e.className,d=a("input-group",f),m=c()(d,(n={},(0,r.Z)(n,"".concat(d,"-lg"),"large"===e.size),(0,r.Z)(n,"".concat(d,"-sm"),"small"===e.size),(0,r.Z)(n,"".concat(d,"-compact"),e.compact),(0,r.Z)(n,"".concat(d,"-rtl"),"rtl"===u),n),void 0===p?"":p),v=(0,i.useContext)(s.aM),Z=(0,i.useMemo)(function(){return(0,o.Z)((0,o.Z)({},v),{isFormItemInput:!1})},[v]);return i.createElement("span",{className:m,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},i.createElement(s.aM.Provider,{value:Z},e.children))},L.Search=j,L.TextArea=I.Z,L.Password=N;var T=L}}]); +//# sourceMappingURL=2231-7d1e01f3ca739e91.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js.map b/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js.map new file mode 100644 index 000000000..32ba286c0 --- /dev/null +++ b/static/web/_next/static/chunks/2231-7d1e01f3ca739e91.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/2231-7d1e01f3ca739e91.js","mappings":"4JAEAA,EADA,CAAoB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,oeAAwe,EAAG,wCCK3nBC,EAAW,SAAAC,CAAA,CAAAC,CAAA,EACf,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GA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AAAzG,EAAA5E,CAAA,EAAeqL,EAAA,GAAA3G,MAAA,CAAAL,EAAA,OAAA1E,UAAAA,EAAA6K,IAAA,EAAoE,GAAA5F,EAAA5E,CAAA,EAAeqL,EAAA,GAAA3G,MAAA,CAAAL,EAAA,OAAA1E,UAAAA,EAAA6K,IAAA,EAAoE,GAAA5F,EAAA5E,CAAA,EAAeqL,EAAA,GAAA3G,MAAA,CAAAL,EAAA,YAAA1E,EAAAkO,OAAA,EAAgE,GAAAjJ,EAAA5E,CAAA,EAAeqL,EAAA,GAAA3G,MAAA,CAAAL,EAAA,QAAA0C,QAAAA,GAAAsE,CAAA,EAFzTuC,KAAA,IAAAA,EAAA,GAAAA,CAAA,EAGAE,EAAwB,GAAAjO,EAAA8G,UAAA,EAAWoH,EAAAC,EAAoB,EACvDC,EAA6B,GAAApO,EAAAqO,OAAA,EAAO,WACpC,MAAW,GAAAjG,EAAAjI,CAAA,EAAS,GAAAiI,EAAAjI,CAAA,EAAQ,GAAG8N,GAAA,CAC/BK,gBAAA,EACA,EACA,EAAG,CAAAL,EAAA,EACH,OAAsBjO,EAAAC,aAAmB,SACzC2E,UAAA6I,EACA5H,MAAA/F,EAAA+F,KAAA,CACAC,aAAAhG,EAAAgG,YAAA,CACAC,aAAAjG,EAAAiG,YAAA,CACAwI,QAAAzO,EAAAyO,OAAA,CACAC,OAAA1O,EAAA0O,MAAA,EACkBxO,EAAAC,aAAmB,CAACiO,EAAAC,EAAA,CAAAM,QAA6B,EACnEvM,MAAAkM,CACA,EAAGtO,EAAAyC,QAAA,EACH,EK1BAqL,EAAKrC,MAAA,CDoIUA,ECnIfqC,EAAKc,QAAA,CAAYA,EAAAvO,CAAQ,CACzByN,EAAK9E,QAAA,CFyGUA,EExGf,IAAAiE,EAAea","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/SearchOutlined.js","webpack://_N_E/./node_modules/antd/es/_util/getDataOrAriaProps.js","webpack://_N_E/./node_modules/antd/es/alert/ErrorBoundary.js","webpack://_N_E/./node_modules/antd/es/alert/index.js","webpack://_N_E/./node_modules/antd/es/input/Group.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/antd/es/input/Password.js","webpack://_N_E/./node_modules/antd/es/input/Search.js","webpack://_N_E/./node_modules/antd/es/input/index.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar EyeOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z\" } }] }, \"name\": \"eye\", \"theme\": \"outlined\" };\nexport default EyeOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeOutlined = function EyeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeOutlinedSvg\n }));\n};\nEyeOutlined.displayName = 'EyeOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeOutlined);","// This icon file is generated automatically.\nvar SearchOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z\" } }] }, \"name\": \"search\", \"theme\": \"outlined\" };\nexport default SearchOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SearchOutlinedSvg from \"@ant-design/icons-svg/es/asn/SearchOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SearchOutlined = function SearchOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SearchOutlinedSvg\n }));\n};\nSearchOutlined.displayName = 'SearchOutlined';\nexport default /*#__PURE__*/React.forwardRef(SearchOutlined);","export default function getDataOrAriaProps(props) {\n return Object.keys(props).reduce(function (prev, key) {\n if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {\n prev[key] = props[key];\n }\n return prev;\n }, {});\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\nimport Alert from '.';\nvar ErrorBoundary = /*#__PURE__*/function (_React$Component) {\n _inherits(ErrorBoundary, _React$Component);\n var _super = _createSuper(ErrorBoundary);\n function ErrorBoundary() {\n var _this;\n _classCallCheck(this, ErrorBoundary);\n _this = _super.apply(this, arguments);\n _this.state = {\n error: undefined,\n info: {\n componentStack: ''\n }\n };\n return _this;\n }\n _createClass(ErrorBoundary, [{\n key: \"componentDidCatch\",\n value: function componentDidCatch(error, info) {\n this.setState({\n error: error,\n info: info\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n message = _this$props.message,\n description = _this$props.description,\n children = _this$props.children;\n var _this$state = this.state,\n error = _this$state.error,\n info = _this$state.info;\n var componentStack = info && info.componentStack ? info.componentStack : null;\n var errorMessage = typeof message === 'undefined' ? (error || '').toString() : message;\n var errorDescription = typeof description === 'undefined' ? componentStack : description;\n if (error) {\n return /*#__PURE__*/React.createElement(Alert, {\n type: \"error\",\n message: errorMessage,\n description: /*#__PURE__*/React.createElement(\"pre\", null, errorDescription)\n });\n }\n return children;\n }\n }]);\n return ErrorBoundary;\n}(React.Component);\nexport default ErrorBoundary;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CheckCircleOutlined from \"@ant-design/icons/es/icons/CheckCircleOutlined\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport CloseCircleOutlined from \"@ant-design/icons/es/icons/CloseCircleOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport ExclamationCircleOutlined from \"@ant-design/icons/es/icons/ExclamationCircleOutlined\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport InfoCircleOutlined from \"@ant-design/icons/es/icons/InfoCircleOutlined\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport getDataOrAriaProps from '../_util/getDataOrAriaProps';\nimport { replaceElement } from '../_util/reactNode';\nimport ErrorBoundary from './ErrorBoundary';\nvar iconMapFilled = {\n success: CheckCircleFilled,\n info: InfoCircleFilled,\n error: CloseCircleFilled,\n warning: ExclamationCircleFilled\n};\nvar iconMapOutlined = {\n success: CheckCircleOutlined,\n info: InfoCircleOutlined,\n error: CloseCircleOutlined,\n warning: ExclamationCircleOutlined\n};\nvar IconNode = function IconNode(props) {\n var description = props.description,\n icon = props.icon,\n prefixCls = props.prefixCls,\n type = props.type;\n var iconType = (description ? iconMapOutlined : iconMapFilled)[type] || null;\n if (icon) {\n return replaceElement(icon, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icon), function () {\n return {\n className: classNames(\"\".concat(prefixCls, \"-icon\"), _defineProperty({}, icon.props.className, icon.props.className))\n };\n });\n }\n return /*#__PURE__*/React.createElement(iconType, {\n className: \"\".concat(prefixCls, \"-icon\")\n });\n};\nvar CloseIcon = function CloseIcon(props) {\n var isClosable = props.isClosable,\n closeText = props.closeText,\n prefixCls = props.prefixCls,\n closeIcon = props.closeIcon,\n handleClose = props.handleClose;\n return isClosable ? /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: handleClose,\n className: \"\".concat(prefixCls, \"-close-icon\"),\n tabIndex: 0\n }, closeText ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-text\")\n }, closeText) : closeIcon) : null;\n};\nvar Alert = function Alert(_a) {\n var _classNames2;\n var description = _a.description,\n customizePrefixCls = _a.prefixCls,\n message = _a.message,\n banner = _a.banner,\n _a$className = _a.className,\n className = _a$className === void 0 ? '' : _a$className,\n style = _a.style,\n onMouseEnter = _a.onMouseEnter,\n onMouseLeave = _a.onMouseLeave,\n onClick = _a.onClick,\n afterClose = _a.afterClose,\n showIcon = _a.showIcon,\n closable = _a.closable,\n closeText = _a.closeText,\n _a$closeIcon = _a.closeIcon,\n closeIcon = _a$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined, null) : _a$closeIcon,\n action = _a.action,\n props = __rest(_a, [\"description\", \"prefixCls\", \"message\", \"banner\", \"className\", \"style\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"afterClose\", \"showIcon\", \"closable\", \"closeText\", \"closeIcon\", \"action\"]);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n closed = _React$useState2[0],\n setClosed = _React$useState2[1];\n var ref = React.useRef();\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('alert', customizePrefixCls);\n var handleClose = function handleClose(e) {\n var _a;\n setClosed(true);\n (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);\n };\n var getType = function getType() {\n var type = props.type;\n if (type !== undefined) {\n return type;\n }\n // banner 模式默认为警告\n return banner ? 'warning' : 'info';\n };\n // closeable when closeText is assigned\n var isClosable = closeText ? true : closable;\n var type = getType();\n // banner 模式默认有 Icon\n var isShowIcon = banner && showIcon === undefined ? true : showIcon;\n var alertCls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(type), (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-with-description\"), !!description), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-no-icon\"), !isShowIcon), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-banner\"), !!banner), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2), className);\n var dataOrAriaProps = getDataOrAriaProps(props);\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: !closed,\n motionName: \"\".concat(prefixCls, \"-motion\"),\n motionAppear: false,\n motionEnter: false,\n onLeaveStart: function onLeaveStart(node) {\n return {\n maxHeight: node.offsetHeight\n };\n },\n onLeaveEnd: afterClose\n }, function (_ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n \"data-show\": !closed,\n className: classNames(alertCls, motionClassName),\n style: _extends(_extends({}, style), motionStyle),\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onClick: onClick,\n role: \"alert\"\n }, dataOrAriaProps), isShowIcon ? /*#__PURE__*/React.createElement(IconNode, {\n description: description,\n icon: props.icon,\n prefixCls: prefixCls,\n type: type\n }) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, message ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message\")\n }, message) : null, description ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-description\")\n }, description) : null), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-action\")\n }, action) : null, /*#__PURE__*/React.createElement(CloseIcon, {\n isClosable: !!isClosable,\n closeText: closeText,\n prefixCls: prefixCls,\n closeIcon: closeIcon,\n handleClose: handleClose\n }));\n });\n};\nAlert.ErrorBoundary = ErrorBoundary;\nexport default Alert;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { FormItemInputContext } from '../form/context';\nvar Group = function Group(props) {\n var _classNames;\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className;\n var prefixCls = getPrefixCls('input-group', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), props.size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), props.size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\"), props.compact), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var formItemContext = useContext(FormItemInputContext);\n var groupFormItemContext = useMemo(function () {\n return _extends(_extends({}, formItemContext), {\n isFormItemInput: false\n });\n }, [formItemContext]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: cls,\n style: props.style,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n onFocus: props.onFocus,\n onBlur: props.onBlur\n }, /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: groupFormItemContext\n }, props.children));\n};\nexport default Group;","// This icon file is generated automatically.\nvar EyeInvisibleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z\" } }] }, \"name\": \"eye-invisible\", \"theme\": \"outlined\" };\nexport default EyeInvisibleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeInvisibleOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeInvisibleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeInvisibleOutlinedSvg\n }));\n};\nEyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeInvisibleOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EyeInvisibleOutlined from \"@ant-design/icons/es/icons/EyeInvisibleOutlined\";\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { useRef, useState } from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport useRemovePasswordTimeout from './hooks/useRemovePasswordTimeout';\nimport Input from './Input';\nvar defaultIconRender = function defaultIconRender(visible) {\n return visible ? /*#__PURE__*/React.createElement(EyeOutlined, null) : /*#__PURE__*/React.createElement(EyeInvisibleOutlined, null);\n};\nvar ActionMap = {\n click: 'onClick',\n hover: 'onMouseOver'\n};\nvar Password = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$visibilityTogg = props.visibilityToggle,\n visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;\n var visibilityControlled = _typeof(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;\n var _useState = useState(function () {\n return visibilityControlled ? visibilityToggle.visible : false;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n visible = _useState2[0],\n setVisible = _useState2[1];\n var inputRef = useRef(null);\n React.useEffect(function () {\n if (visibilityControlled) {\n setVisible(visibilityToggle.visible);\n }\n }, [visibilityControlled, visibilityToggle]);\n // Remove Password value\n var removePasswordTimeout = useRemovePasswordTimeout(inputRef);\n var onVisibleChange = function onVisibleChange() {\n var disabled = props.disabled;\n if (disabled) {\n return;\n }\n if (visible) {\n removePasswordTimeout();\n }\n setVisible(function (prevState) {\n var _a;\n var newState = !prevState;\n if (_typeof(visibilityToggle) === 'object') {\n (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);\n }\n return newState;\n });\n };\n var getIcon = function getIcon(prefixCls) {\n var _iconProps;\n var _props$action = props.action,\n action = _props$action === void 0 ? 'click' : _props$action,\n _props$iconRender = props.iconRender,\n iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;\n var iconTrigger = ActionMap[action] || '';\n var icon = iconRender(visible);\n var iconProps = (_iconProps = {}, _defineProperty(_iconProps, iconTrigger, onVisibleChange), _defineProperty(_iconProps, \"className\", \"\".concat(prefixCls, \"-icon\")), _defineProperty(_iconProps, \"key\", 'passwordIcon'), _defineProperty(_iconProps, \"onMouseDown\", function onMouseDown(e) {\n // Prevent focused state lost\n // https://github.com/ant-design/ant-design/issues/15173\n e.preventDefault();\n }), _defineProperty(_iconProps, \"onMouseUp\", function onMouseUp(e) {\n // Prevent caret position change\n // https://github.com/ant-design/ant-design/issues/23524\n e.preventDefault();\n }), _iconProps);\n return /*#__PURE__*/React.cloneElement( /*#__PURE__*/React.isValidElement(icon) ? icon : /*#__PURE__*/React.createElement(\"span\", null, icon), iconProps);\n };\n var renderPassword = function renderPassword(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var className = props.className,\n customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n size = props.size,\n restProps = __rest(props, [\"className\", \"prefixCls\", \"inputPrefixCls\", \"size\"]);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var prefixCls = getPrefixCls('input-password', customizePrefixCls);\n var suffixIcon = visibilityToggle && getIcon(prefixCls);\n var inputClassName = classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-\").concat(size), !!size));\n var omittedProps = _extends(_extends({}, omit(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {\n type: visible ? 'text' : 'password',\n className: inputClassName,\n prefixCls: inputPrefixCls,\n suffix: suffixIcon\n });\n if (size) {\n omittedProps.size = size;\n }\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(ref, inputRef)\n }, omittedProps));\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderPassword);\n});\nif (process.env.NODE_ENV !== 'production') {\n Password.displayName = 'Password';\n}\nexport default Password;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport SearchOutlined from \"@ant-design/icons/es/icons/SearchOutlined\";\nimport classNames from 'classnames';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { cloneElement } from '../_util/reactNode';\nimport Input from './Input';\nvar Search = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n className = props.className,\n customizeSize = props.size,\n suffix = props.suffix,\n _props$enterButton = props.enterButton,\n enterButton = _props$enterButton === void 0 ? false : _props$enterButton,\n addonAfter = props.addonAfter,\n loading = props.loading,\n disabled = props.disabled,\n customOnSearch = props.onSearch,\n customOnChange = props.onChange,\n onCompositionStart = props.onCompositionStart,\n onCompositionEnd = props.onCompositionEnd,\n restProps = __rest(props, [\"prefixCls\", \"inputPrefixCls\", \"className\", \"size\", \"suffix\", \"enterButton\", \"addonAfter\", \"loading\", \"disabled\", \"onSearch\", \"onChange\", \"onCompositionStart\", \"onCompositionEnd\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var contextSize = React.useContext(SizeContext);\n var composedRef = React.useRef(false);\n var prefixCls = getPrefixCls('input-search', customizePrefixCls);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize;\n var size = compactSize || customizeSize || contextSize;\n var inputRef = React.useRef(null);\n var onChange = function onChange(e) {\n if (e && e.target && e.type === 'click' && customOnSearch) {\n customOnSearch(e.target.value, e);\n }\n if (customOnChange) {\n customOnChange(e);\n }\n };\n var onMouseDown = function onMouseDown(e) {\n var _a;\n if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {\n e.preventDefault();\n }\n };\n var onSearch = function onSearch(e) {\n var _a, _b;\n if (customOnSearch) {\n customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);\n }\n };\n var onPressEnter = function onPressEnter(e) {\n if (composedRef.current || loading) {\n return;\n }\n onSearch(e);\n };\n var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/React.createElement(SearchOutlined, null) : null;\n var btnClassName = \"\".concat(prefixCls, \"-button\");\n var button;\n var enterButtonAsElement = enterButton || {};\n var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;\n if (isAntdButton || enterButtonAsElement.type === 'button') {\n button = cloneElement(enterButtonAsElement, _extends({\n onMouseDown: onMouseDown,\n onClick: function onClick(e) {\n var _a, _b;\n (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n onSearch(e);\n },\n key: 'enterButton'\n }, isAntdButton ? {\n className: btnClassName,\n size: size\n } : {}));\n } else {\n button = /*#__PURE__*/React.createElement(Button, {\n className: btnClassName,\n type: enterButton ? 'primary' : undefined,\n size: size,\n disabled: disabled,\n key: \"enterButton\",\n onMouseDown: onMouseDown,\n onClick: onSearch,\n loading: loading,\n icon: searchIcon\n }, enterButton);\n }\n if (addonAfter) {\n button = [button, cloneElement(addonAfter, {\n key: 'addonAfter'\n })];\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), !!size), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-button\"), !!enterButton), _classNames), className);\n var handleOnCompositionStart = function handleOnCompositionStart(e) {\n composedRef.current = true;\n onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);\n };\n var handleOnCompositionEnd = function handleOnCompositionEnd(e) {\n composedRef.current = false;\n onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);\n };\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(inputRef, ref),\n onPressEnter: onPressEnter\n }, restProps, {\n size: size,\n onCompositionStart: handleOnCompositionStart,\n onCompositionEnd: handleOnCompositionEnd,\n prefixCls: inputPrefixCls,\n addonAfter: button,\n suffix: suffix,\n onChange: onChange,\n className: cls,\n disabled: disabled\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Search.displayName = 'Search';\n}\nexport default Search;","import Group from './Group';\nimport InternalInput from './Input';\nimport Password from './Password';\nimport Search from './Search';\nimport TextArea from './TextArea';\nvar Input = InternalInput;\nInput.Group = Group;\nInput.Search = Search;\nInput.TextArea = TextArea;\nInput.Password = Password;\nexport default Input;"],"names":["asn_EyeOutlined","EyeOutlined_EyeOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_EyeOutlined","forwardRef","asn_SearchOutlined","SearchOutlined_SearchOutlined","icons_SearchOutlined","getDataOrAriaProps","Object","keys","reduce","prev","key","startsWith","ErrorBoundary","_React$Component","inherits","_super","createSuper","_this","classCallCheck","apply","arguments","state","error","undefined","info","componentStack","createClass","value","setState","_this$props","message","description","children","_this$state","errorMessage","toString","es_alert","type","Component","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","iconMapFilled","success","CheckCircleFilled","InfoCircleFilled","CloseCircleFilled","warning","ExclamationCircleFilled","iconMapOutlined","CheckCircleOutlined","InfoCircleOutlined","CloseCircleOutlined","ExclamationCircleOutlined","IconNode","prefixCls","iconType","reactNode","wm","className","concat","classnames_default","defineProperty","CloseIcon","isClosable","closeText","closeIcon","handleClose","onClick","tabIndex","Alert","_a","_classNames2","customizePrefixCls","banner","_a$className","style","onMouseEnter","onMouseLeave","afterClose","showIcon","closable","_a$closeIcon","CloseOutlined","action","_React$useState","useState","_React$useState2","slicedToArray","closed","setClosed","useRef","_React$useContext","useContext","context","E_","getPrefixCls","direction","onClose","isShowIcon","alertCls","dataOrAriaProps","es","visible","motionName","motionAppear","motionEnter","onLeaveStart","node","maxHeight","offsetHeight","onLeaveEnd","_ref","motionClassName","motionStyle","esm_extends","role","asn_EyeInvisibleOutlined","EyeInvisibleOutlined_EyeInvisibleOutlined","icons_EyeInvisibleOutlined","defaultIconRender","EyeOutlined","ActionMap","click","hover","Password","_props$visibilityTogg","visibilityToggle","visibilityControlled","esm_typeof","_useState","_useState2","setVisible","inputRef","useEffect","removePasswordTimeout","useRemovePasswordTimeout","onVisibleChange","disabled","prevState","newState","getIcon","_iconProps","_props$action","_props$iconRender","iconRender","iconTrigger","iconProps","preventDefault","cloneElement","isValidElement","C","customizeInputPrefixCls","inputPrefixCls","size","restProps","suffixIcon","inputClassName","omittedProps","omit","suffix","Input","ZP","es_ref","sQ","Search_rest","Search","_classNames","button","customizeSize","_props$enterButton","enterButton","addonAfter","loading","customOnSearch","onSearch","customOnChange","onChange","onCompositionStart","onCompositionEnd","contextSize","SizeContext","composedRef","compactSize","Compact","ri","onMouseDown","document","activeElement","current","input","_b","searchIcon","SearchOutlined","btnClassName","enterButtonAsElement","isAntdButton","__ANT_BUTTON","Tm","es_button","cls","onPressEnter","target","input_Input","Group","_useContext","_props$className","compact","formItemContext","form_context","aM","groupFormItemContext","useMemo","isFormItemInput","onFocus","onBlur","Provider","TextArea"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/261.00b8f623acfc9912.js b/static/web/_next/static/chunks/261.00b8f623acfc9912.js deleted file mode 100644 index 91dfd1f2b..000000000 --- a/static/web/_next/static/chunks/261.00b8f623acfc9912.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[261],{54907:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var a=n(87462),r=n(4942),i=n(18073),o=n(94184),s=n.n(o),c=n(74902),l=n(15671),d=n(43144),u=n(60136),p=n(33643),h=n(71002),m=n(50344),v=n(67294),f=n(96774),y=n.n(f),x=n(45987),g=n(62874),b=n(97685),Z=v.forwardRef(function(e,t){var n,a=e.prefixCls,i=e.forceRender,o=e.className,c=e.style,l=e.children,d=e.isActive,u=e.role,p=v.useState(d||i),h=(0,b.Z)(p,2),m=h[0],f=h[1];return(v.useEffect(function(){(i||d)&&f(!0)},[i,d]),m)?v.createElement("div",{ref:t,className:s()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),o),style:c,role:u},v.createElement("div",{className:"".concat(a,"-content-box")},l)):null});Z.displayName="PanelContent";var C=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],N=function(e){(0,u.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,l.Z)(this,n);for(var a=arguments.length,r=Array(a),i=0;i-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,i=r.prefixCls,o=r.openMotion,s=r.accordion,c=r.destroyInactivePanel,l=r.expandIcon,d=r.collapsible,u=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,f=p.destroyInactivePanel,y=p.collapsible,x=!1;x=s?n[0]===u:n.indexOf(u)>-1;var g=null!=y?y:d,b={key:u,panelKey:u,header:h,headerClass:m,isActive:x,prefixCls:i,destroyInactivePanel:null!=f?f:c,openMotion:o,accordion:s,children:e.props.children,onItemClick:"disabled"===g?null:a.onClickItem,expandIcon:l,collapsible:g};return"string"==typeof e.type?e:(Object.keys(b).forEach(function(e){void 0===b[e]&&delete b[e]}),v.cloneElement(e,b))},a.getItems=function(){var e=a.props.children;return(0,m.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,i=e.defaultActiveKey;return"activeKey"in e&&(i=r),a.state={activeKey:j(i)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!y()(this.props,e)||!y()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,i=t.style,o=t.accordion,c=s()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:c,style:i,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=j(e.activeKey)),t}}]),n}(v.Component);w.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},w.Panel=N,w.Panel;var I=n(98423),k=n(53124),E=n(33603),A=n(96159),P=function(e){var t,n,o=v.useContext(k.E_),c=o.getPrefixCls,l=o.direction,d=e.prefixCls,u=e.className,p=e.bordered,h=e.ghost,f=e.expandIconPosition,y=void 0===f?"start":f,x=c("collapse",d),g=v.useMemo(function(){return"left"===y?"start":"right"===y?"end":y},[y]),b=s()("".concat(x,"-icon-position-").concat(g),(n={},(0,r.Z)(n,"".concat(x,"-borderless"),!(void 0===p||p)),(0,r.Z)(n,"".concat(x,"-rtl"),"rtl"===l),(0,r.Z)(n,"".concat(x,"-ghost"),!!h),n),void 0===u?"":u),Z=(0,a.Z)((0,a.Z)({},E.ZP),{motionAppear:!1,leavedClassName:"".concat(x,"-content-hidden")});return v.createElement(w,(0,a.Z)({openMotion:Z},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(i.Z,{rotate:t.isActive?90:void 0});return(0,A.Tm)(a,function(){return{className:s()(a.props.className,"".concat(x,"-arrow"))}})},prefixCls:x,className:b}),(t=e.children,(0,m.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),i=e.props,o=i.disabled,s=i.collapsible,c=(0,a.Z)((0,a.Z)({},(0,I.Z)(e.props,["disabled"])),{key:r,collapsible:null!=s?s:o?"disabled":void 0});return(0,A.Tm)(e,c)}return e})))};P.Panel=function(e){var t=v.useContext(k.E_).getPrefixCls,n=e.prefixCls,i=e.className,o=e.showArrow,c=t("collapse",n),l=s()((0,r.Z)({},"".concat(c,"-no-arrow"),!(void 0===o||o)),void 0===i?"":i);return v.createElement(w.Panel,(0,a.Z)({},e,{prefixCls:c,className:l}))};var S=P},11382:function(e,t,n){"use strict";var a=n(87462),r=n(4942),i=n(97685),o=n(94184),s=n.n(o),c=n(23279),l=n.n(c),d=n(98423),u=n(67294),p=n(53124),h=n(96159),m=n(93355),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,m.b)("small","default","large");var f=null,y=function(e){var t=e.spinPrefixCls,n=e.spinning,o=void 0===n||n,c=e.delay,m=e.className,y=e.size,x=void 0===y?"default":y,g=e.tip,b=e.wrapperClassName,Z=e.style,C=e.children,N=v(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),j=u.useState(function(){return o&&(!o||!c||!!isNaN(Number(c)))}),w=(0,i.Z)(j,2),I=w[0],k=w[1];return u.useEffect(function(){var e=l()(function(){k(o)},c);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[c,o]),u.createElement(p.C,null,function(n){var i,o,c,l=n.direction,p=s()(t,(c={},(0,r.Z)(c,"".concat(t,"-sm"),"small"===x),(0,r.Z)(c,"".concat(t,"-lg"),"large"===x),(0,r.Z)(c,"".concat(t,"-spinning"),I),(0,r.Z)(c,"".concat(t,"-show-text"),!!g),(0,r.Z)(c,"".concat(t,"-rtl"),"rtl"===l),c),m),v=(0,d.Z)(N,["indicator","prefixCls"]),y=u.createElement("div",(0,a.Z)({},v,{style:Z,className:p,"aria-live":"polite","aria-busy":I}),(i=e.indicator,o="".concat(t,"-dot"),null===i?null:(0,h.l$)(i)?(0,h.Tm)(i,{className:s()(i.props.className,o)}):(0,h.l$)(f)?(0,h.Tm)(f,{className:s()(f.props.className,o)}):u.createElement("span",{className:s()(o,"".concat(t,"-dot-spin"))},u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}))),g?u.createElement("div",{className:"".concat(t,"-text")},g):null);if(void 0!==C){var j=s()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),I));return u.createElement("div",(0,a.Z)({},v,{className:s()("".concat(t,"-nested-loading"),b)}),I&&u.createElement("div",{key:"loading"},y),u.createElement("div",{className:j,key:"container"},C))}return y})},x=function(e){var t=e.prefixCls,n=(0,u.useContext(p.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return u.createElement(y,(0,a.Z)({},r))};x.setDefaultIndicator=function(e){f=e},t.Z=x},50261:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthModal:function(){return A}});var a=n(85893),r=n(84381),i=n(4480),o=n(54907),s=n(85818),c=n(11382),l=n(26713),d=n(14670),u=n(79531),p=n(71577),h=n(5152),m=n.n(h),v=n(67294),f=n(37174);let{Panel:y}=o.Z,{Link:x}=s.Z,g=m()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),b=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,s]=(0,v.useState)(null),[h,m]=(0,v.useState)(!1),[b,Z]=(0,v.useState)(!1),[C,N]=(0,v.useState)(""),j=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Use your own domain to authenticate ",(0,a.jsx)("span",{children:n})," or login as a previously"," ","authenticated chat user using IndieAuth."]}),w=i;w&&w.includes("url does not support indieauth")&&(w="The provided URL is either invalid or does not support IndieAuth.");let I=e=>{if(!(0,f.jv)(e)||!e.includes(".")){Z(!1);return}Z(!0)},k=e=>{let t=e.nativeEvent.data;if(":"===t)return;N(e.target.value);let n="https://".concat(e.target.value);I(n)},E=async()=>{if(b){m(!0);try{let e=await fetch("/api/auth/indieauth?accessToken=".concat(r),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({authHost:"https://".concat(C)})}),t=await e.json();if(t.message){s(t.message),m(!1);return}if(!t.redirect){s("Auth provider did not return a redirect URL."),m(!1);return}if(t.redirect){let{redirect:n}=t;window.location=n}}catch(a){s(a.message)}m(!1)}};return(0,a.jsx)(c.Z,{spinning:h,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[j,w&&(0,a.jsx)(d.Z,{message:"Error",description:w,type:"error",showIcon:!0}),(0,a.jsx)("div",{children:"Your domain"}),(0,a.jsx)(u.Z.Search,{addonBefore:"https://",onInput:k,type:"url",value:C,placeholder:"yoursite.com",status:!b&&C.length>0?"error":void 0,onSearch:E,enterButton:(0,a.jsx)(p.Z,{type:b?"primary":"default",disabled:!b||0===C.length,children:(0,a.jsx)(g,{})})}),(0,a.jsx)(o.Z,{ghost:!0,children:(0,a.jsxs)(y,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,a.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,a.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,a.jsx)(x,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var Z=n(50501),C=n.n(Z);let{Panel:N}=o.Z,j=m()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),w=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,s]=(0,v.useState)(null),[h,m]=(0,v.useState)(!1),[f,y]=(0,v.useState)(!1),[x,g]=(0,v.useState)(""),[b,Z]=(0,v.useState)(""),[w,I]=(0,v.useState)(!1),k=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,a.jsx)("strong",{children:n}),", or login as a previously linked chat user."]}),E=i;E&&E.includes("url does not support indieauth")&&(E="The provided URL is either invalid or does not support IndieAuth.");let A=e=>{y(function(e){let t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e))},P=e=>{g(e.target.value),A(e.target.value)},S=async(e,t)=>{let n=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}),a=await n.json();a.message&&(s(a.message),m(!1))},_=async()=>{m(!0);try{await S("/api/auth/fediverse/verify?accessToken=".concat(r),{code:b}),window.location.href="/"}catch(e){console.error(e),s(e)}m(!1)},K=async()=>{if(!f)return;m(!0),s(null);let e=x.replace(/^@+/,"");try{await S("/api/auth/fediverse?accessToken=".concat(r),{account:e}),I(!0)}catch(t){console.error(t),s(t)}m(!1)},T=(0,a.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,a.jsxs)("div",{className:C().codeInputContainer,children:[(0,a.jsx)(u.Z,{value:b,onChange:e=>Z(e.target.value),className:C().codeInput,placeholder:"123456",maxLength:6}),(0,a.jsx)(p.Z,{type:"primary",onClick:_,disabled:b.length<6,className:C().submitButton,children:"Verify Code"})]})]}),O=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"Your Fediverse Account"}),(0,a.jsx)(u.Z.Search,{addonBefore:"@",onInput:P,value:x,placeholder:"youraccount@yourserver.com",status:!f&&x.length>0?"error":void 0,onSearch:K,enterButton:(0,a.jsx)(p.Z,{type:f?"primary":"default",disabled:!f||0===x.length,children:(0,a.jsx)(j,{})})})]});return(0,a.jsx)(c.Z,{spinning:h,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[k,E&&(0,a.jsx)(d.Z,{message:"Error",description:E,type:"error",showIcon:!0}),w?T:O,(0,a.jsx)(o.Z,{ghost:!0,children:(0,a.jsx)(N,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,a.jsx)("p",{children:"You can link your chat identity with your Fediverse identity. Next time you want to use this chat identity you can again go through the Fediverse authentication."})},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var I=n(54639),k=n.n(I),E=n(77466);let A=e=>{let{forceTabs:t}=e,n=(0,i.sJ)(E.L4),o=(0,i.sJ)(E.FI),s=(0,i.sJ)(E.db),c=(0,i.sJ)(E.g1);if(!s)return null;let{displayName:l}=s,{federation:d}=c,{enabled:u}=d,p=(0,a.jsxs)("span",{className:k().tabContent,children:[(0,a.jsx)("img",{className:k().icon,src:"/img/indieauth.png",alt:"IndieAuth"}),"IndieAuth"]}),h=(0,a.jsx)(b,{authenticated:n,displayName:l,accessToken:o}),m=(0,a.jsxs)("span",{className:k().tabContent,children:[(0,a.jsx)("img",{className:k().icon,src:"/img/fediverse-black.png",alt:"Fediverse auth"}),"FediAuth"]}),v=(0,a.jsx)(w,{authenticated:n,displayName:l,accessToken:o});return(0,a.jsx)("div",{children:(0,a.jsx)(r.Z,{defaultActiveKey:"1",items:[{label:p,key:"1",children:h},{label:m,key:"2",children:v}],type:"card",size:"small",renderTabBar:u||t?null:()=>null})})}},54639:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},50501:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}}}]); -//# sourceMappingURL=261.00b8f623acfc9912.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/261.00b8f623acfc9912.js.map b/static/web/_next/static/chunks/261.00b8f623acfc9912.js.map deleted file mode 100644 index 3e841e218..000000000 --- a/static/web/_next/static/chunks/261.00b8f623acfc9912.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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AW,CAAEkB,IAAI,qBAAqBC,IAAI,cAAc,eAKtEC,EACJ,GAAArF,EAAAG,GAAA,EAACjB,EAAcA,CACbC,cAAeA,EACf1M,YAAaA,EACb4M,YAAaA,IAIXiG,EACJ,GAAAtF,EAAAC,IAAA,EAACC,OAAAA,CAAK1O,UAAWyS,IAAAA,UAAiB,WAChC,GAAAjE,EAAAG,GAAA,EAAC+E,MAAAA,CAAI1T,UAAWyS,IAAAA,IAAW,CAAEkB,IAAI,2BAA2BC,IAAI,mBAAmB,cAKjFG,EACJ,GAAAvF,EAAAG,GAAA,EAACyC,EAAaA,CACZzD,cAAeA,EACf1M,YAAaA,EACb4M,YAAaA,IASjB,MACE,GAAAW,EAAAG,GAAA,EAAC+B,MAAAA,UACC,GAAAlC,EAAAG,GAAA,EAACqF,EAAAA,CAAIA,CAAAA,CACHxM,iBAAiB,IACjByM,MATQ,CACZ,CAAEC,MAAOT,EAAmBnR,IAAK,IAAKpC,SAAU2T,CAAa,EAC7D,CAAEK,MAAOJ,EAAkBxR,IAAK,IAAKpC,SAAU6T,CAAY,EAC5D,CAOKlN,KAAK,OACLqE,KAAK,QACLiJ,aAAcX,GAAoBV,EAAY,IAAI,CAAG,IAAM,IAAI,IAIvE,qBC7EAsB,EAAAC,OAAA,EAAkB,0FCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./components/modals/IndieAuthModal/IndieAuthModal.tsx","webpack://_N_E/./utils/validators.ts","webpack://_N_E/./components/modals/FediAuthModal/FediAuthModal.tsx","webpack://_N_E/./components/modals/AuthModal/AuthModal.tsx","webpack://_N_E/./components/modals/AuthModal/AuthModal.module.scss","webpack://_N_E/./components/modals/FediAuthModal/FediAuthModal.module.scss","webpack://_N_E/"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","import { Alert, Input, Space, Spin, Collapse, Typography, Button } from 'antd';\nimport dynamic from 'next/dynamic';\nimport React, { FC, useState } from 'react';\nimport { isValidUrl } from '../../../utils/urls';\n\nconst { Panel } = Collapse;\nconst { Link } = Typography;\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nexport type IndieAuthModalProps = {\n authenticated: boolean;\n displayName: string;\n accessToken: string;\n};\n\nexport const IndieAuthModal: FC = ({\n authenticated,\n displayName: username,\n accessToken,\n}) => {\n const [errorMessage, setErrorMessage] = useState(null);\n const [loading, setLoading] = useState(false);\n const [valid, setValid] = useState(false);\n const [host, setHost] = useState('');\n\n const message = !authenticated ? (\n \n Use your own domain to authenticate {username} or login as a previously{' '}\n authenticated chat user using IndieAuth.\n \n ) : (\n \n You are already authenticated. However, you can add other domains or log in as a\n different user.\n \n );\n\n let errorMessageText = errorMessage;\n if (errorMessageText) {\n if (errorMessageText.includes('url does not support indieauth')) {\n errorMessageText = 'The provided URL is either invalid or does not support IndieAuth.';\n }\n }\n\n const validate = (url: string) => {\n if (!isValidUrl(url)) {\n setValid(false);\n return;\n }\n\n if (!url.includes('.')) {\n setValid(false);\n return;\n }\n\n setValid(true);\n };\n\n const onInput = (e: React.ChangeEvent) => {\n // Don't allow people to type custom ports or protocols.\n const char = (e.nativeEvent as any).data;\n if (char === ':') {\n return;\n }\n\n setHost(e.target.value);\n const h = `https://${e.target.value}`;\n validate(h);\n };\n\n const submitButtonPressed = async () => {\n if (!valid) {\n return;\n }\n\n setLoading(true);\n\n try {\n const url = `/api/auth/indieauth?accessToken=${accessToken}`;\n const h = `https://${host}`;\n const data = { authHost: h };\n const rawResponse = await fetch(url, {\n method: 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n const content = await rawResponse.json();\n if (content.message) {\n setErrorMessage(content.message);\n setLoading(false);\n return;\n }\n if (!content.redirect) {\n setErrorMessage('Auth provider did not return a redirect URL.');\n setLoading(false);\n return;\n }\n\n if (content.redirect) {\n const { redirect } = content;\n window.location = redirect;\n }\n } catch (e) {\n setErrorMessage(e.message);\n }\n\n setLoading(false);\n };\n\n return (\n \n \n {message}\n {errorMessageText && (\n \n )}\n
Your domain
\n 0 ? 'error' : undefined}\n onSearch={submitButtonPressed}\n enterButton={\n \n }\n />\n\n \n \n

\n IndieAuth allows for a completely independent and decentralized way of identifying\n yourself using your own domain.\n

\n\n

\n If you run an Owncast instance, you can use that domain here. Otherwise,{' '}\n \n learn more about how you can support IndieAuth\n \n .\n

\n
\n
\n
\n Note: This is for authentication purposes only, and no personal\n information will be accessed or stored.\n
\n
\n
\n );\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport function validateAccount(account) {\n const a = account.replace(/^@+/, '');\n const regex =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return regex.test(String(a).toLowerCase());\n}\n","import { Alert, Button, Input, Space, Spin, Collapse } from 'antd';\nimport React, { FC, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport styles from './FediAuthModal.module.scss';\nimport { validateAccount } from '../../../utils/validators';\n\nconst { Panel } = Collapse;\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nexport type FediAuthModalProps = {\n authenticated: boolean;\n displayName: string;\n accessToken: string;\n};\n\nexport const FediAuthModal: FC = ({\n authenticated,\n displayName,\n accessToken,\n}) => {\n const [errorMessage, setErrorMessage] = useState(null);\n const [loading, setLoading] = useState(false);\n const [valid, setValid] = useState(false);\n const [account, setAccount] = useState('');\n const [code, setCode] = useState('');\n const [verifyingCode, setVerifyingCode] = useState(false);\n\n const message = !authenticated ? (\n \n Receive a direct message on the Fediverse to link your account to{' '}\n {displayName}, or login as a previously linked chat user.\n \n ) : (\n \n You are already authenticated. However, you can add other domains or log in as a\n different user.\n \n );\n\n let errorMessageText = errorMessage;\n if (errorMessageText) {\n if (errorMessageText.includes('url does not support indieauth')) {\n errorMessageText = 'The provided URL is either invalid or does not support IndieAuth.';\n }\n }\n\n const validate = (acct: string) => {\n setValid(validateAccount(acct));\n };\n\n const onInput = (e: React.ChangeEvent) => {\n setAccount(e.target.value);\n validate(e.target.value);\n };\n\n const makeRequest = async (url, data) => {\n const rawResponse = await fetch(url, {\n method: 'POST',\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(data),\n });\n\n const content = await rawResponse.json();\n if (content.message) {\n setErrorMessage(content.message);\n setLoading(false);\n }\n };\n\n const submitCodePressed = async () => {\n setLoading(true);\n const url = `/api/auth/fediverse/verify?accessToken=${accessToken}`;\n const data = { code };\n\n try {\n await makeRequest(url, data);\n\n // Success. Reload the page.\n window.location.href = '/';\n } catch (e) {\n console.error(e);\n setErrorMessage(e);\n }\n setLoading(false);\n };\n\n const submitAccountPressed = async () => {\n if (!valid) {\n return;\n }\n\n setLoading(true);\n setErrorMessage(null);\n const url = `/api/auth/fediverse?accessToken=${accessToken}`;\n const normalizedAccount = account.replace(/^@+/, '');\n const data = { account: normalizedAccount };\n\n try {\n await makeRequest(url, data);\n setVerifyingCode(true);\n } catch (e) {\n console.error(e);\n setErrorMessage(e);\n }\n setLoading(false);\n };\n\n const inputCodeStep = (\n
\n Paste in the code that was sent to your Fediverse account. If you did not receive a code, make\n sure you can accept direct messages.\n
\n setCode(e.target.value)}\n className={styles.codeInput}\n placeholder=\"123456\"\n maxLength={6}\n />\n \n Verify Code\n \n
\n
\n );\n\n const inputAccountStep = (\n <>\n
Your Fediverse Account
\n 0 ? 'error' : undefined}\n onSearch={submitAccountPressed}\n enterButton={\n \n }\n />\n \n );\n\n return (\n \n \n {message}\n {errorMessageText && (\n \n )}\n {verifyingCode ? inputCodeStep : inputAccountStep}\n \n \n

\n You can link your chat identity with your Fediverse identity. Next time you want to\n use this chat identity you can again go through the Fediverse authentication.\n

\n \n
\n
\n Note: This is for authentication purposes only, and no personal\n information will be accessed or stored.\n
\n
\n
\n );\n};\n","import { Tabs } from 'antd';\nimport { useRecoilValue } from 'recoil';\nimport { FC } from 'react';\nimport { IndieAuthModal } from '../IndieAuthModal/IndieAuthModal';\nimport { FediAuthModal } from '../FediAuthModal/FediAuthModal';\n\nimport styles from './AuthModal.module.scss';\nimport {\n currentUserAtom,\n chatAuthenticatedAtom,\n accessTokenAtom,\n clientConfigStateAtom,\n} from '../../stores/ClientConfigStore';\nimport { ClientConfig } from '../../../interfaces/client-config.model';\n\nexport type AuthModalProps = {\n forceTabs?: boolean;\n};\n\nexport const AuthModal: FC = ({ forceTabs }) => {\n const authenticated = useRecoilValue(chatAuthenticatedAtom);\n const accessToken = useRecoilValue(accessTokenAtom);\n const currentUser = useRecoilValue(currentUserAtom);\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n\n if (!currentUser) {\n return null;\n }\n const { displayName } = currentUser;\n const { federation } = clientConfig;\n const { enabled: fediverseEnabled } = federation;\n\n const indieAuthTabTitle = (\n \n \"IndieAuth\"\n IndieAuth\n \n );\n\n const indieAuthTab = (\n \n );\n\n const fediAuthTabTitle = (\n \n \"Fediverse\n FediAuth\n \n );\n\n const fediAuthTab = (\n \n );\n\n const items = [\n { label: indieAuthTabTitle, key: '1', children: indieAuthTab },\n { label: fediAuthTabTitle, key: '2', children: fediAuthTab },\n ];\n\n return (\n
\n null}\n />\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tabContent\":\"AuthModal_tabContent__KgMU3\",\"icon\":\"AuthModal_icon__kpEuV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"codeInputContainer\":\"FediAuthModal_codeInputContainer__M_dAD\",\"codeInput\":\"FediAuthModal_codeInput__dIE6u\",\"submitButton\":\"FediAuthModal_submitButton__iuF9R\"};"],"names":["PanelContent","react","forwardRef","props","ref","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","Z","rendered","setRendered","useEffect","createElement","classnames_default","concat","defineProperty","displayName","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","key","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","Object","keys","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","icon","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","__rest","s","t","p","prototype","hasOwnProperty","getOwnPropertySymbols","i","propertyIsEnumerable","_util_type__WEBPACK_IMPORTED_MODULE_3__","b","defaultIndicator","Spin","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","_props$size","size","tip","wrapperClassName","restProps","react__WEBPACK_IMPORTED_MODULE_2__","isNaN","Number","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","cancel","_config_provider__WEBPACK_IMPORTED_MODULE_9__","C","indicator","dotClassName","spinClassName","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","containerClassName","SpinFC","spinClassProps","setDefaultIndicator","__webpack_exports__","Link","Typography","CheckCircleOutlined","dynamic","Promise","all","__webpack_require__","then","bind","ssr","IndieAuthModal","authenticated","username","accessToken","param","errorMessage","setErrorMessage","loading","setLoading","valid","setValid","host","setHost","message","jsx_runtime","jsxs","span","jsx","errorMessageText","includes","validate","isValidUrl","url","onInput","char","nativeEvent","data","target","h","submitButtonPressed","rawResponse","fetch","method","headers","Accept","body","JSON","stringify","authHost","content","json","redirect","window","location","Space","Alert","description","showIcon","div","Input","addonBefore","placeholder","status","onSearch","enterButton","Button","href","strong","FediAuthModal","account","setAccount","code","setCode","verifyingCode","setVerifyingCode","validateAccount","a","replace","regex","test","toLowerCase","acct","makeRequest","submitCodePressed","console","error","submitAccountPressed","normalizedAccount","inputCodeStep","styles","maxLength","inputAccountStep","Fragment","AuthModal","forceTabs","useRecoilValue","chatAuthenticatedAtom","accessTokenAtom","currentUser","currentUserAtom","clientConfig","clientConfigStateAtom","federation","enabled","fediverseEnabled","indieAuthTabTitle","img","src","alt","indieAuthTab","fediAuthTabTitle","fediAuthTab","Tabs","items","label","renderTabBar","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js b/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js new file mode 100644 index 000000000..d8075ce00 --- /dev/null +++ b/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js @@ -0,0 +1,13 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31],{42135:function(t,e,n){"use strict";n.d(e,{Z:function(){return k}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),u=n(67294),c=n(94184),s=n.n(c),l=n(63017),f=n(71002),p=n(92138),d=n(80334),v=n(44958);function h(t){return"object"===(0,f.Z)(t)&&"string"==typeof t.name&&"string"==typeof t.theme&&("object"===(0,f.Z)(t.icon)||"function"==typeof t.icon)}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce(function(e,n){var r=t[n];return"class"===n?(e.className=r,delete e.class):e[n]=r,e},{})}function y(t){return(0,p.generate)(t)[0]}function g(t){return t?Array.isArray(t)?t:[t]:[]}var b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",e=(0,u.useContext)(l.Z).csp;(0,u.useEffect)(function(){(0,v.hq)(t,"@ant-design-icons",{prepend:!0,csp:e})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],Z={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(t){var e,n=t.icon,o=t.className,i=t.onClick,c=t.style,s=t.primaryColor,l=t.secondaryColor,f=(0,a.Z)(t,w),p=Z;if(s&&(p={primaryColor:s,secondaryColor:l||y(s)}),b(),e=h(n),(0,d.ZP)(e,"[@ant-design/icons] ".concat("icon should be icon definiton, but got ".concat(n))),!h(n))return null;var v=n;return v&&"function"==typeof v.icon&&(v=(0,r.Z)((0,r.Z)({},v),{},{icon:v.icon(p.primaryColor,p.secondaryColor)})),function t(e,n,o){return o?u.createElement(e.tag,(0,r.Z)((0,r.Z)({key:n},m(e.attrs)),o),(e.children||[]).map(function(r,o){return t(r,"".concat(n,"-").concat(e.tag,"-").concat(o))})):u.createElement(e.tag,(0,r.Z)({key:n},m(e.attrs)),(e.children||[]).map(function(r,o){return t(r,"".concat(n,"-").concat(e.tag,"-").concat(o))}))}(v.icon,"svg-".concat(v.name),(0,r.Z)({className:o,onClick:i,style:c,"data-icon":v.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};function C(t){var e=g(t),n=(0,o.Z)(e,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,r.Z)({},Z)},E.setTwoToneColors=function(t){var e=t.primaryColor,n=t.secondaryColor;Z.primaryColor=e,Z.secondaryColor=n||y(e),Z.calculated=!!n};var O=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var x=u.forwardRef(function(t,e){var n,c=t.className,f=t.icon,p=t.spin,d=t.rotate,v=t.tabIndex,h=t.onClick,m=t.twoToneColor,y=(0,a.Z)(t,O),b=u.useContext(l.Z),w=b.prefixCls,Z=void 0===w?"anticon":w,C=b.rootClassName,x=s()(C,Z,(n={},(0,i.Z)(n,"".concat(Z,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(Z,"-spin"),!!p||"loading"===f.name),n),c),k=v;void 0===k&&h&&(k=-1);var T=g(m),P=(0,o.Z)(T,2),_=P[0],S=P[1];return u.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},y),{},{ref:e,tabIndex:k,onClick:h,className:x}),u.createElement(E,{icon:f,primaryColor:_,secondaryColor:S,style:d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0}))});x.displayName="AntdIcon",x.getTwoToneColor=function(){var t=E.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor},x.setTwoToneColor=C;var k=x},63017:function(t,e,n){"use strict";var r=(0,n(67294).createContext)({});e.Z=r},50888:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),u=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:i}))};u.displayName="LoadingOutlined";var c=o.forwardRef(u)},98787:function(t,e,n){"use strict";n.d(e,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},33603:function(t,e,n){"use strict";n.d(e,{mL:function(){return c},q0:function(){return u}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(t){return{height:t.scrollHeight,opacity:1}},a=function(t,e){return(null==e?void 0:e.deadline)===!0||"height"===e.propertyName};(0,r.b)("bottomLeft","bottomRight","topLeft","topRight");var u=function(t){return void 0!==t&&("topLeft"===t||"topRight"===t)?"slide-down":"slide-up"},c=function(t,e,n){return void 0!==n?n:"".concat(t,"-").concat(e)};e.ZP={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(t){return{height:t?t.offsetHeight:0}},onLeaveActive:o,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}},80636:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},u=[0,0];function c(t){return"boolean"==typeof t?t?i:a:(0,r.Z)((0,r.Z)({},a),t)}function s(t){var e=t.arrowWidth,n=void 0===e?4:e,i=t.horizontalArrowShift,a=void 0===i?16:i,s=t.verticalArrowShift,l=void 0===s?8:s,f=t.autoAdjustOverflow,p=t.arrowPointAtCenter,d={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(l+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(l+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,l+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,l+n]}};return Object.keys(d).forEach(function(t){d[t]=p?(0,r.Z)((0,r.Z)({},d[t]),{overflow:c(f),targetOffset:u}):(0,r.Z)((0,r.Z)({},o.C[t]),{overflow:c(f)}),d[t].ignoreShake=!0}),d}},96159:function(t,e,n){"use strict";n.d(e,{M2:function(){return i},Tm:function(){return u},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(t){return t&&o(t)&&t.type===r.Fragment}function a(t,e,n){return o(t)?r.cloneElement(t,"function"==typeof n?n(t.props||{}):n):e}function u(t,e){return a(t,t,e)}},93355:function(t,e,n){"use strict";n.d(e,{a:function(){return o},b:function(){return r}});var r=function(){for(var t=arguments.length,e=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=v++,r=e;return h[n]=(0,d.Z)(function e(){(r-=1)<=0?(t(),delete h[n]):h[n]=(0,d.Z)(e)}),n}m.cancel=function(t){void 0!==t&&(d.Z.cancel(h[t]),delete h[t])},m.ids=h;var y=n(96159);function g(t){return!t||null===t.offsetParent||t.hidden}var b=function(t){(0,u.Z)(n,t);var e=(0,c.Z)(n);function n(){var t;return(0,o.Z)(this,n),t=e.apply(this,arguments),t.containerRef=f.createRef(),t.animationStart=!1,t.destroyed=!1,t.onClick=function(e,n){var o,i,u=t.props,c=u.insertExtraNode;if(!(u.disabled||!e||g(e)||e.className.includes("-leave"))){t.extraNode=document.createElement("div");var l=(0,a.Z)(t).extraNode,f=t.context.getPrefixCls;l.className="".concat(f(""),"-click-animating-node");var p=t.getAttributeName();if(e.setAttribute(p,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&(!(d=(n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/))||!d[1]||!d[2]||!d[3]||!(d[1]===d[2]&&d[2]===d[3]))&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){l.style.borderColor=n;var d,v=(null===(o=e.getRootNode)||void 0===o?void 0:o.call(e))||e.ownerDocument,h=null!==(i=v instanceof Document?v.body:Array.from(v.childNodes).find(function(t){return(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE}))&&void 0!==i?i:v;r=(0,s.hq)("\n [".concat(f(""),"-click-animating-without-extra-node='true']::after, .").concat(f(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:t.csp,attachTo:h})}c&&e.appendChild(l),["transition","animation"].forEach(function(n){e.addEventListener("".concat(n,"start"),t.onTransitionStart),e.addEventListener("".concat(n,"end"),t.onTransitionEnd)})}},t.onTransitionStart=function(e){if(!t.destroyed){var n=t.containerRef.current;e&&e.target===n&&!t.animationStart&&t.resetEffect(n)}},t.onTransitionEnd=function(e){e&&"fadeEffect"===e.animationName&&t.resetEffect(e.target)},t.bindAnimationEvent=function(e){if(!(!e||!e.getAttribute||e.getAttribute("disabled")||e.className.includes("disabled"))){var n=function(n){if(!("INPUT"===n.target.tagName||g(n.target))){t.resetEffect(e);var r=getComputedStyle(e).getPropertyValue("border-top-color")||getComputedStyle(e).getPropertyValue("border-color")||getComputedStyle(e).getPropertyValue("background-color");t.clickWaveTimeoutId=window.setTimeout(function(){return t.onClick(e,r)},0),m.cancel(t.animationStartId),t.animationStart=!0,t.animationStartId=m(function(){t.animationStart=!1},10)}};return e.addEventListener("click",n,!0),{cancel:function(){e.removeEventListener("click",n,!0)}}}},t.renderWave=function(e){var n=e.csp,r=t.props.children;if(t.csp=n,!f.isValidElement(r))return r;var o=t.containerRef;return(0,l.Yr)(r)&&(o=(0,l.sQ)(r.ref,t.containerRef)),(0,y.Tm)(r,{ref:o})},t}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var t=this.containerRef.current;t&&1===t.nodeType&&(this.instance=this.bindAnimationEvent(t))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var t=this.context.getPrefixCls;return this.props.insertExtraNode?"".concat(t(""),"-click-animating"):"".concat(t(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(t){var e=this;if(t&&t!==this.extraNode&&t instanceof Element){var n=this.props.insertExtraNode,o=this.getAttributeName();t.setAttribute(o,"false"),r&&(r.innerHTML=""),n&&this.extraNode&&t.contains(this.extraNode)&&t.removeChild(this.extraNode),["transition","animation"].forEach(function(n){t.removeEventListener("".concat(n,"start"),e.onTransitionStart),t.removeEventListener("".concat(n,"end"),e.onTransitionEnd)})}}},{key:"render",value:function(){return f.createElement(p.C,null,this.renderWave)}}]),n}(f.Component);b.contextType=p.E_;var w=b},6134:function(t,e,n){"use strict";n.d(e,{n:function(){return _},Z:function(){return M}});var r=n(87462),o=n(4942),i=n(97685),a=n(71002),u=n(94184),c=n.n(u),s=n(98423),l=n(67294),f=n(53124),p=n(98866),d=n(97647),v=n(4173),h=n(96159),m=n(93355),y=n(68349),g=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},b=l.createContext(void 0),w=n(50888),Z=n(62874),E=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(t){return{width:t.scrollWidth,opacity:1,transform:"scale(1)"}},O=function(t){var e=t.prefixCls,n=t.loading;return t.existIcon?l.createElement("span",{className:"".concat(e,"-loading-icon")},l.createElement(w.Z,null)):l.createElement(Z.Z,{visible:!!n,motionName:"".concat(e,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:E,onAppearActive:C,onEnterStart:E,onEnterActive:C,onLeaveStart:C,onLeaveActive:E},function(t,n){var r=t.className,o=t.style;return l.createElement("span",{className:"".concat(e,"-loading-icon"),style:o,ref:n},l.createElement(w.Z,{className:r}))})},x=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},k=/^[\u4e00-\u9fa5]{2}$/,T=k.test.bind(k);function P(t){return"text"===t||"link"===t}function _(t){return"danger"===t?{danger:!0}:{type:t}}(0,m.b)("default","primary","ghost","dashed","link","text"),(0,m.b)("default","circle","round"),(0,m.b)("submit","button","reset");var S=l.forwardRef(function(t,e){var n,u,m,g,w=t.loading,Z=void 0!==w&&w,E=t.prefixCls,C=t.type,k=void 0===C?"default":C,_=t.danger,S=t.shape,M=void 0===S?"default":S,N=t.size,A=t.disabled,j=t.className,L=t.children,D=t.icon,R=t.ghost,V=t.block,H=t.htmlType,I=x(t,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),z=l.useContext(d.Z),W=l.useContext(p.Z),F=null!=A?A:W,B=l.useContext(b),Y=l.useState(!!Z),$=(0,i.Z)(Y,2),X=$[0],q=$[1],G=l.useState(!1),U=(0,i.Z)(G,2),Q=U[0],K=U[1],J=l.useContext(f.E_),tt=J.getPrefixCls,te=J.autoInsertSpaceInButton,tn=J.direction,tr=e||l.createRef(),to=function(){return 1===l.Children.count(L)&&!D&&!P(k)},ti="boolean"==typeof Z?Z:(null==Z?void 0:Z.delay)||!0;l.useEffect(function(){var t=null;return"number"==typeof ti?t=window.setTimeout(function(){t=null,q(ti)},ti):q(ti),function(){t&&(window.clearTimeout(t),t=null)}},[ti]),l.useEffect(function(){if(tr&&tr.current&&!1!==te){var t=tr.current.textContent;to()&&T(t)?Q||K(!0):Q&&K(!1)}},[tr]);var ta=function(e){var n=t.onClick;if(X||F){e.preventDefault();return}null==n||n(e)},tu=tt("btn",E),tc=!1!==te,ts=(0,v.ri)(tu,tn),tl=ts.compactSize,tf=ts.compactItemClassnames,tp=tl||B||N||z,td=tp&&({large:"lg",small:"sm",middle:void 0})[tp]||"",tv=(0,s.Z)(I,["navigate"]),th=c()(tu,(g={},(0,o.Z)(g,"".concat(tu,"-").concat(M),"default"!==M&&M),(0,o.Z)(g,"".concat(tu,"-").concat(k),k),(0,o.Z)(g,"".concat(tu,"-").concat(td),td),(0,o.Z)(g,"".concat(tu,"-icon-only"),!L&&0!==L&&!!(X?"loading":D)),(0,o.Z)(g,"".concat(tu,"-background-ghost"),void 0!==R&&R&&!P(k)),(0,o.Z)(g,"".concat(tu,"-loading"),X),(0,o.Z)(g,"".concat(tu,"-two-chinese-chars"),Q&&tc&&!X),(0,o.Z)(g,"".concat(tu,"-block"),void 0!==V&&V),(0,o.Z)(g,"".concat(tu,"-dangerous"),!!_),(0,o.Z)(g,"".concat(tu,"-rtl"),"rtl"===tn),(0,o.Z)(g,"".concat(tu,"-disabled"),void 0!==tv.href&&F),g),tf,j),tm=D&&!X?D:l.createElement(O,{existIcon:!!D,prefixCls:tu,loading:!!X}),ty=L||0===L?(n=to()&&tc,u=!1,m=[],l.Children.forEach(L,function(t){var e=(0,a.Z)(t),n="string"===e||"number"===e;if(u&&n){var r=m.length-1,o=m[r];m[r]="".concat(o).concat(t)}else m.push(t);u=n}),l.Children.map(m,function(t){return function(t,e){if(null!=t){var n=e?" ":"";return"string"!=typeof t&&"number"!=typeof t&&"string"==typeof t.type&&T(t.props.children)?(0,h.Tm)(t,{children:t.props.children.split("").join(n)}):"string"==typeof t?T(t)?l.createElement("span",null,t.split("").join(n)):l.createElement("span",null,t):(0,h.M2)(t)?l.createElement("span",null,t):t}}(t,n)})):null;if(void 0!==tv.href)return l.createElement("a",(0,r.Z)({},tv,{className:th,onClick:ta,ref:tr}),tm,ty);var tg=l.createElement("button",(0,r.Z)({},I,{type:void 0===H?"button":H,className:th,onClick:ta,disabled:F,ref:tr}),tm,ty);return P(k)?tg:l.createElement(y.Z,{disabled:!!X},tg)});S.Group=function(t){var e,n=l.useContext(f.E_),i=n.getPrefixCls,a=n.direction,u=t.prefixCls,s=t.size,p=t.className,d=g(t,["prefixCls","size","className"]),v=i("btn-group",u),h="";switch(s){case"large":h="lg";break;case"small":h="sm"}var m=c()(v,(e={},(0,o.Z)(e,"".concat(v,"-").concat(h),h),(0,o.Z)(e,"".concat(v,"-rtl"),"rtl"===a),e),p);return l.createElement(b.Provider,{value:s},l.createElement("div",(0,r.Z)({},d,{className:m})))},S.__ANT_BUTTON=!0;var M=S},71577:function(t,e,n){"use strict";var r=n(6134);e.Z=r.Z},98866:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});var r=n(67294),o=r.createContext(!1),i=function(t){var e=t.children,n=t.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},e)};e.Z=o},97647:function(t,e,n){"use strict";n.d(e,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(t){var e=t.children,n=t.size;return r.createElement(o.Consumer,null,function(t){return r.createElement(o.Provider,{value:n||t},e)})};e.Z=o},53124:function(t,e,n){"use strict";n.d(e,{C:function(){return a},E_:function(){return i},PG:function(){return u}});var r=n(87462),o=n(67294),i=o.createContext({getPrefixCls:function(t,e){return e||(t?"ant-".concat(t):"ant")}}),a=i.Consumer;function u(t){return function(e){var n=e.constructor;return n&&n.displayName||e.name,function(n){return o.createElement(a,null,function(i){var a=t.prefixCls,u=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(e,(0,r.Z)({},i,n,{prefixCls:u}))})}}}},4173:function(t,e,n){"use strict";n.d(e,{BR:function(){return d},ri:function(){return p}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),u=n(50344),c=n(67294),s=n(53124),l=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},f=c.createContext(null),p=function(t,e){var n=c.useContext(f),r=c.useMemo(function(){if(!n)return"";var r,i=n.compactDirection,u=n.isFirstItem,c=n.isLastItem,s="vertical"===i?"-vertical-":"-";return a()((r={},(0,o.Z)(r,"".concat(t,"-compact").concat(s,"item"),!0),(0,o.Z)(r,"".concat(t,"-compact").concat(s,"first-item"),u),(0,o.Z)(r,"".concat(t,"-compact").concat(s,"last-item"),c),(0,o.Z)(r,"".concat(t,"-compact").concat(s,"item-rtl"),"rtl"===e),r))},[t,e,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},d=function(t){var e=t.children;return c.createElement(f.Provider,{value:null},e)},v=function(t){var e=t.children,n=l(t,["children"]);return c.createElement(f.Provider,{value:n},e)};e.ZP=function(t){var e,n=c.useContext(s.E_),i=n.getPrefixCls,p=n.direction,d=t.size,h=void 0===d?"middle":d,m=t.direction,y=t.block,g=t.prefixCls,b=t.className,w=t.children,Z=l(t,["size","direction","block","prefixCls","className","children"]),E=i("space-compact",g),C=a()(E,(e={},(0,o.Z)(e,"".concat(E,"-rtl"),"rtl"===p),(0,o.Z)(e,"".concat(E,"-block"),y),(0,o.Z)(e,"".concat(E,"-vertical"),"vertical"===m),e),b),O=c.useContext(f),x=(0,u.Z)(w),k=c.useMemo(function(){return x.map(function(t,e){var n=t&&t.key||"".concat(E,"-item-").concat(e);return c.createElement(v,{key:n,compactSize:h,compactDirection:m,isFirstItem:0===e&&(!O||(null==O?void 0:O.isFirstItem)),isLastItem:e===x.length-1&&(!O||(null==O?void 0:O.isLastItem))},t)})},[h,x,O]);return 0===x.length?null:c.createElement("div",(0,r.Z)({className:C},Z),k)}},94199:function(t,e,n){"use strict";var r=n(4942),o=n(97685),i=n(87462),a=n(94184),u=n.n(a),c=n(43763),s=n(21770),l=n(67294),f=n(53124),p=n(98787),d=n(33603),v=n(80636),h=n(96159),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},y=function(t,e){var n={},r=(0,i.Z)({},t);return e.forEach(function(e){t&&e in t&&(n[e]=t[e],delete r[e])}),{picked:n,omitted:r}},g=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),b=l.forwardRef(function(t,e){var n,a,p,b=l.useContext(f.E_),w=b.getPopupContainer,Z=b.getPrefixCls,E=b.direction,C=(0,s.Z)(!1,{value:void 0!==t.open?t.open:t.visible,defaultValue:void 0!==t.defaultOpen?t.defaultOpen:t.defaultVisible}),O=(0,o.Z)(C,2),x=O[0],k=O[1],T=function(){var e=t.title,n=t.overlay;return!e&&!n&&0!==e},P=function(){var e=t.builtinPlacements,n=t.arrowPointAtCenter,r=t.autoAdjustOverflow;return e||(0,v.Z)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},_=t.getPopupContainer,S=t.placement,M=t.mouseEnterDelay,N=t.mouseLeaveDelay,A=m(t,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),j=t.prefixCls,L=t.openClassName,D=t.getTooltipContainer,R=t.overlayClassName,V=t.color,H=t.overlayInnerStyle,I=t.children,z=Z("tooltip",j),W=Z(),F=x;!("open"in t)&&!("visible"in t)&&T()&&(F=!1);var B=function(t,e){var n=t.type;if((!0===n.__ANT_BUTTON||"button"===t.type)&&t.props.disabled||!0===n.__ANT_SWITCH&&(t.props.disabled||t.props.loading)||!0===n.__ANT_RADIO&&t.props.disabled){var r=y(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,c=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":void 0}),s=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),f=(0,h.Tm)(t,{style:s,className:null});return l.createElement("span",{style:c,className:u()(t.props.className,"".concat(e,"-disabled-compatible-wrapper"))},f)}return t}((0,h.l$)(I)&&!(0,h.M2)(I)?I:l.createElement("span",null,I),z),Y=B.props,$=Y.className&&"string"!=typeof Y.className?Y.className:u()(Y.className,(0,r.Z)({},L||"".concat(z,"-open"),!0)),X=u()(R,(p={},(0,r.Z)(p,"".concat(z,"-rtl"),"rtl"===E),(0,r.Z)(p,"".concat(z,"-").concat(V),V&&g.test(V)),p)),q=H,G={};return V&&!g.test(V)&&(q=(0,i.Z)((0,i.Z)({},H),{background:V}),G={"--antd-arrow-background-color":V}),l.createElement(c.default,(0,i.Z)({},A,{placement:void 0===S?"top":S,mouseEnterDelay:void 0===M?.1:M,mouseLeaveDelay:void 0===N?.1:N,prefixCls:z,overlayClassName:X,getTooltipContainer:_||D||w,ref:e,builtinPlacements:P(),overlay:(n=t.title,a=t.overlay,0===n?n:a||n||""),visible:F,onVisibleChange:function(e){var n,r;k(!T()&&e),T()||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(r=t.onVisibleChange)||void 0===r||r.call(t,e))},onPopupAlign:function(t,e){var n=P(),r=Object.keys(n).find(function(t){var r,o;return n[t].points[0]===(null===(r=e.points)||void 0===r?void 0:r[0])&&n[t].points[1]===(null===(o=e.points)||void 0===o?void 0:o[1])});if(r){var o=t.getBoundingClientRect(),i={top:"50%",left:"50%"};/top|Bottom/.test(r)?i.top="".concat(o.height-e.offset[1],"px"):/Top|bottom/.test(r)&&(i.top="".concat(-e.offset[1],"px")),/left|Right/.test(r)?i.left="".concat(o.width-e.offset[0],"px"):/right|Left/.test(r)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:q,arrowContent:l.createElement("span",{className:"".concat(z,"-arrow-content"),style:G}),motion:{motionName:(0,d.mL)(W,"zoom-big-fast",t.transitionName),motionDeadline:1e3}}),F?(0,h.Tm)(B,{className:$}):B)});e.Z=b},94184:function(t,e){var n;/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e{let{error:e,isLoading:n,pastDelay:r}=t;return null}};t instanceof Promise?o.loader=()=>t:"function"==typeof t?o.loader=t:"object"==typeof t&&(o=r({},o,t)),o=r({},o,e);let i=o.loader,u=()=>i().then(c);if(o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated,{loader:u})).loadableGenerated,"boolean"==typeof o.ssr){if(!o.ssr)return delete o.ssr,s(u,o);delete o.ssr}return n(o)},e.noSSR=s;var r=n(6495).Z,o=n(92648).Z,i=(0,n(91598).Z)(n(67294)),a=o(n(14588)),u=o(n(54564));function c(t){return{default:t.default||t}}function s(t,e){delete e.webpack,delete e.modules;let n=i.lazy(t),r=e.loading,o=i.default.createElement(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1});return t=>i.default.createElement(i.Suspense,{fallback:o},i.default.createElement(u.default,null,i.default.createElement(n,Object.assign({},t))))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},33644:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294));let o=r.default.createContext(null);e.LoadableContext=o},14588:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6495).Z,o=(0,n(92648).Z)(n(67294)),i=n(33644);let a=[],u=[],c=!1;function s(t){let e=t(),n={loading:!0,loaded:null,error:null};return n.promise=e.then(t=>(n.loading=!1,n.loaded=t,t)).catch(t=>{throw n.loading=!1,n.error=t,t}),n}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:t,_opts:e}=this;t.loading&&("number"==typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},e.delay)),"number"==typeof e.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},e.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(t=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(t){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},t),this._callbacks.forEach(t=>t())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(t){return this._callbacks.add(t),()=>{this._callbacks.delete(t)}}constructor(t,e){this._loadFn=t,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(t){return function(t,e){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e);n.lazy=o.default.lazy(n.loader);let r=null;function a(){if(!r){let e=new l(t,n);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}if(!c){let s=n.webpack?n.webpack():n.modules;s&&u.push(t=>{for(let e of s)if(-1!==t.indexOf(e))return a()})}function f(t){!function(){a();let t=o.default.useContext(i.LoadableContext);t&&Array.isArray(n.modules)&&n.modules.forEach(e=>{t(e)})}();let e=o.default.createElement(n.loading,{isLoading:!0,pastDelay:!0,error:null});return o.default.createElement(o.default.Suspense,{fallback:e},o.default.createElement(n.lazy,t))}return f.preload=()=>a(),f.displayName="LoadableComponent",f}(s,t)}function p(t,e){let n=[];for(;t.length;){let r=t.pop();n.push(r(e))}return Promise.all(n).then(()=>{if(t.length)return p(t,e)})}f.preloadAll=()=>new Promise((t,e)=>{p(a).then(t,e)}),f.preloadReady=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(e=>{let n=()=>(c=!0,e());p(u,t).then(n,n)})},window.__NEXT_PRELOADREADY=f.preloadReady,e.default=f},5152:function(t,e,n){t.exports=n(37645)},62874:function(t,e,n){"use strict";n.d(e,{V:function(){return ti},Z:function(){return ta}});var r,o,i,a=n(4942),u=n(1413),c=n(97685),s=n(71002),l=n(67294),f=n(34203),p=n(42550),d=n(94184),v=n.n(d),h=n(98924);function m(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}var y=(r=(0,h.Z)(),o="undefined"!=typeof window?window:{},i={animationend:m("Animation","AnimationEnd"),transitionend:m("Transition","TransitionEnd")},!r||("AnimationEvent"in o||delete i.animationend.animation,"TransitionEvent"in o||delete i.transitionend.transition),i),g={};(0,h.Z)()&&(g=document.createElement("div").style);var b={};function w(t){if(b[t])return b[t];var e=y[t];if(e)for(var n=Object.keys(e),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;e();var i=(0,D.Z)(function(){o<=1?r({isCanceled:function(){return i!==t.current}}):n(r,o-1)});t.current=i},e]},V=(0,h.Z)()?l.useLayoutEffect:l.useEffect,H=[N,A,j,"end"];function I(t){return t===j||"end"===t}var z=function(t,e){var n=(0,L.Z)(M),r=(0,c.Z)(n,2),o=r[0],i=r[1],a=R(),u=(0,c.Z)(a,2),s=u[0],f=u[1];return V(function(){if(o!==M&&"end"!==o){var t=H.indexOf(o),n=H[t+1],r=e(o);!1===r?i(n,!0):s(function(t){function e(){t.isCanceled()||i(n,!0)}!0===r?e():Promise.resolve(r).then(e)})}},[t,o]),l.useEffect(function(){return function(){f()}},[]),[function(){i(N,!0)},o]},W=function(t){var e=(0,l.useRef)(),n=(0,l.useRef)(t);n.current=t;var r=l.useCallback(function(t){n.current(t)},[]);function o(t){t&&(t.removeEventListener(x,r),t.removeEventListener(O,r))}return l.useEffect(function(){return function(){o(e.current)}},[]),[function(t){e.current&&e.current!==t&&o(e.current),t&&t!==e.current&&(t.addEventListener(x,r),t.addEventListener(O,r),e.current=t)},o]},F=n(15671),B=n(43144),Y=n(60136),$=n(33643),X=function(t){(0,Y.Z)(n,t);var e=(0,$.Z)(n);function n(){return(0,F.Z)(this,n),e.apply(this,arguments)}return(0,B.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component),q=function(t){var e=t;function n(t){return!!(t.motionName&&e)}"object"===(0,s.Z)(t)&&(e=t.transitionSupport);var r=l.forwardRef(function(t,e){var r,o,i,s=t.visible,d=void 0===s||s,h=t.removeOnLeave,m=t.forceRender,y=t.children,g=t.motionName,b=t.leavedClassName,w=t.eventProps,Z=n(t),E=(0,l.useRef)(),C=(0,l.useRef)(),O=function(t,e,n,r){var o=r.motionEnter,i=void 0===o||o,s=r.motionAppear,f=void 0===s||s,p=r.motionLeave,d=void 0===p||p,v=r.motionDeadline,h=r.motionLeaveImmediately,m=r.onAppearPrepare,y=r.onEnterPrepare,g=r.onLeavePrepare,b=r.onAppearStart,w=r.onEnterStart,Z=r.onLeaveStart,E=r.onAppearActive,C=r.onEnterActive,O=r.onLeaveActive,x=r.onAppearEnd,k=r.onEnterEnd,M=r.onLeaveEnd,D=r.onVisibleChanged,R=(0,L.Z)(),H=(0,c.Z)(R,2),F=H[0],B=H[1],Y=(0,L.Z)(T),$=(0,c.Z)(Y,2),X=$[0],q=$[1],G=(0,L.Z)(null),U=(0,c.Z)(G,2),Q=U[0],K=U[1],J=(0,l.useRef)(!1),tt=(0,l.useRef)(null),te=(0,l.useRef)(!1);function tn(t){var e,r=n();if(!t||t.deadline||t.target===r){var o=te.current;X===P&&o?e=null==x?void 0:x(r,t):X===_&&o?e=null==k?void 0:k(r,t):X===S&&o&&(e=null==M?void 0:M(r,t)),X!==T&&o&&!1!==e&&(q(T,!0),K(null,!0))}}var tr=W(tn),to=(0,c.Z)(tr,1)[0],ti=l.useMemo(function(){var t,e,n;switch(X){case P:return t={},(0,a.Z)(t,N,m),(0,a.Z)(t,A,b),(0,a.Z)(t,j,E),t;case _:return e={},(0,a.Z)(e,N,y),(0,a.Z)(e,A,w),(0,a.Z)(e,j,C),e;case S:return n={},(0,a.Z)(n,N,g),(0,a.Z)(n,A,Z),(0,a.Z)(n,j,O),n;default:return{}}},[X]),ta=z(X,function(t){if(t===N){var e,r=ti[N];return!!r&&r(n())}return ts in ti&&K((null===(e=ti[ts])||void 0===e?void 0:e.call(ti,n(),null))||null),ts===j&&(to(n()),v>0&&(clearTimeout(tt.current),tt.current=setTimeout(function(){tn({deadline:!0})},v))),!0}),tu=(0,c.Z)(ta,2),tc=tu[0],ts=tu[1],tl=I(ts);te.current=tl,V(function(){B(e);var n,r=J.current;J.current=!0,t&&(!r&&e&&f&&(n=P),r&&e&&i&&(n=_),(r&&!e&&d||!r&&h&&!e&&d)&&(n=S),n&&(q(n),tc()))},[e]),(0,l.useEffect)(function(){(X!==P||f)&&(X!==_||i)&&(X!==S||d)||q(T)},[f,i,d]),(0,l.useEffect)(function(){return function(){J.current=!1,clearTimeout(tt.current)}},[]);var tf=l.useRef(!1);(0,l.useEffect)(function(){F&&(tf.current=!0),void 0!==F&&X===T&&((tf.current||F)&&(null==D||D(F)),tf.current=!0)},[F,X]);var tp=Q;return ti[N]&&ts===A&&(tp=(0,u.Z)({transition:"none"},tp)),[X,ts,tp,null!=F?F:e]}(Z,d,function(){try{return E.current instanceof HTMLElement?E.current:(0,f.Z)(C.current)}catch(t){return null}},t),x=(0,c.Z)(O,4),M=x[0],D=x[1],R=x[2],H=x[3],F=l.useRef(H);H&&(F.current=!0);var B=l.useCallback(function(t){E.current=t,(0,p.mH)(e,t)},[e]),Y=(0,u.Z)((0,u.Z)({},w),{},{visible:d});return y?M!==T&&n(t)?(D===N?i="prepare":I(D)?i="active":D===A&&(i="start"),r=y((0,u.Z)((0,u.Z)({},Y),{},{className:v()(k(g,M),(o={},(0,a.Z)(o,k(g,"".concat(M,"-").concat(i)),i),(0,a.Z)(o,g,"string"==typeof g),o)),style:R}),B)):r=H?y((0,u.Z)({},Y),B):!(void 0===h||h)&&F.current?y((0,u.Z)((0,u.Z)({},Y),{},{className:b}),B):m?y((0,u.Z)((0,u.Z)({},Y),{},{style:{display:"none"}}),B):null:r=null,l.isValidElement(r)&&(0,p.Yr)(r)&&!r.ref&&(r=l.cloneElement(r,{ref:B})),l.createElement(X,{ref:C},r)});return r.displayName="CSSMotion",r}(C),G=n(87462),U=n(45987),Q="keep",K="remove",J="removed";function tt(t){var e;return e=t&&"object"===(0,s.Z)(t)&&"key"in t?t:{key:t},(0,u.Z)((0,u.Z)({},e),{},{key:String(e.key)})}function te(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(tt)}var tn=["component","children","onVisibleChanged","onAllRemoved"],tr=["status"],to=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ti=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,n=function(t){(0,Y.Z)(r,t);var n=(0,$.Z)(r);function r(){var t;(0,F.Z)(this,r);for(var e=arguments.length,o=Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=e.length,i=te(t),a=te(e);i.forEach(function(t){for(var e=!1,i=r;i1}).forEach(function(t){(n=n.filter(function(e){var n=e.key,r=e.status;return n!==t||r!==K})).forEach(function(e){e.key===t&&(e.status=Q)})}),n})(r,te(n)).filter(function(t){var e=r.find(function(e){var n=e.key;return t.key===n});return!e||e.status!==J||t.status!==K})}}}]),r}(l.Component);return n.defaultProps={component:"div"},n}(C),ta=q},43763:function(t,e,n){"use strict";n.r(e),n.d(e,{Popup:function(){return p},default:function(){return d}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),u=n(67294),c=n(53749),s=n(43159),l=n(94184),f=n.n(l);function p(t){var e=t.showArrow,n=t.arrowContent,r=t.children,o=t.prefixCls,i=t.id,a=t.overlayInnerStyle,c=t.className,s=t.style;return u.createElement("div",{className:f()("".concat(o,"-content"),c),style:s},!1!==e&&u.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),u.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"==typeof r?r():r))}var d=(0,u.forwardRef)(function(t,e){var n=t.overlayClassName,l=t.trigger,f=t.mouseEnterDelay,d=t.mouseLeaveDelay,v=t.overlayStyle,h=t.prefixCls,m=void 0===h?"rc-tooltip":h,y=t.children,g=t.onVisibleChange,b=t.afterVisibleChange,w=t.transitionName,Z=t.animation,E=t.motion,C=t.placement,O=t.align,x=t.destroyTooltipOnHide,k=void 0!==x&&x,T=t.defaultVisible,P=t.getTooltipContainer,_=t.overlayInnerStyle,S=t.arrowContent,M=t.overlay,N=t.id,A=t.showArrow,j=(0,a.Z)(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),L=(0,u.useRef)(null);(0,u.useImperativeHandle)(e,function(){return L.current});var D=(0,i.Z)({},j);"visible"in t&&(D.popupVisible=t.visible);var R=!1,V=!1;if("boolean"==typeof k)R=k;else if(k&&"object"===(0,o.Z)(k)){var H=k.keepParent;R=!0===H,V=!1===H}return u.createElement(c.Z,(0,r.Z)({popupClassName:n,prefixCls:m,popup:function(){return u.createElement(p,{showArrow:A,arrowContent:S,key:"content",prefixCls:m,id:N,overlayInnerStyle:_},M)},action:void 0===l?["hover"]:l,builtinPlacements:s.C,popupPlacement:void 0===C?"right":C,ref:L,popupAlign:void 0===O?{}:O,getPopupContainer:P,onPopupVisibleChange:g,afterPopupVisibleChange:b,popupTransitionName:w,popupAnimation:Z,popupMotion:E,defaultPopupVisible:T,destroyPopupOnHide:R,autoDestroy:V,mouseLeaveDelay:void 0===d?.1:d,popupStyle:v,mouseEnterDelay:void 0===f?0:f},D),y)})},43159:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},53749:function(t,e,n){"use strict";n.d(e,{Z:function(){return tK}});var r,o,i,a=n(1413),u=n(87462),c=n(15671),s=n(43144),l=n(97326),f=n(60136),p=n(33643),d=n(4942),v=n(67294),h=n(73935),m=n(75164),y=n(94999),g=n(34203),b=n(42550),w=n(64019),Z=n(98924),E=(0,v.forwardRef)(function(t,e){var n=t.didUpdate,r=t.getContainer,o=t.children,i=(0,v.useRef)(),a=(0,v.useRef)();(0,v.useImperativeHandle)(e,function(){return{}});var u=(0,v.useRef)(!1);return!u.current&&(0,Z.Z)()&&(a.current=r(),i.current=a.current.parentNode,u.current=!0),(0,v.useEffect)(function(){null==n||n(t)}),(0,v.useEffect)(function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var t,e;null===(t=a.current)||void 0===t||null===(e=t.parentNode)||void 0===e||e.removeChild(a.current)}},[]),a.current?h.createPortal(o,a.current):null}),C=n(94184),O=n.n(C),x=n(97685),k=n(45987),T=n(31131),P=n(62874);function _(t){var e=t.prefixCls,n=t.motion,r=t.animation,o=t.transitionName;return n||(r?{motionName:"".concat(e,"-").concat(r)}:o?{motionName:o}:null)}function S(t){var e=t.prefixCls,n=t.visible,r=t.zIndex,o=t.mask,i=t.maskMotion,c=t.maskAnimation,s=t.maskTransitionName;if(!o)return null;var l={};return(i||s||c)&&(l=(0,a.Z)({motionAppear:!0},_({motion:i,prefixCls:e,transitionName:s,animation:c}))),v.createElement(P.Z,(0,u.Z)({},l,{visible:n,removeOnLeave:!0}),function(t){var n=t.className;return v.createElement("div",{style:{zIndex:r},className:O()("".concat(e,"-mask"),n)})})}var M=n(71002);function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function A(t){for(var e=1;eNumber(c))&&(c=t.style[e]||0),c=Math.floor(parseFloat(c))||0),void 0===r&&(r=u?1:-1);var s=void 0!==a||u,l=a||c;return -1===r?s?l-tu(t,["border","padding"],o):c:s?1===r?l:l+(2===r?-tu(t,["border"],o):tu(t,["margin"],o)):c+tu(t,ta.slice(r),o)}to(["Width","Height"],function(t){tc["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],tc["viewport".concat(t)](n))},tc["viewport".concat(t)]=function(e){var n="client".concat(t),r=e.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var tl={position:"absolute",visibility:"hidden",display:"block"};function tf(){for(var t,e=arguments.length,n=Array(e),r=0;r=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function tg(t){if(td.isWindow(t)||9===t.nodeType){var e,n,r,o=td.getWindow(t);e={left:td.getWindowScrollLeft(o),top:td.getWindowScrollTop(o)},n=td.viewportWidth(o),r=td.viewportHeight(o)}else e=td.offset(t),n=td.outerWidth(t),r=td.outerHeight(t);return e.width=n,e.height=r,e}function tb(t,e){var n=e.charAt(0),r=e.charAt(1),o=t.width,i=t.height,a=t.left,u=t.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:u}}function tw(t,e,n,r,o){var i=tb(e,n[1]),a=tb(t,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-u[0]+r[0]-o[0]),top:Math.round(t.top-u[1]+r[1]-o[1])}}function tZ(t,e,n){return t.leftn.right}function tE(t,e,n){return t.topn.bottom}function tC(t,e,n){var r=[];return td.each(t,function(t){r.push(t.replace(e,function(t){return n[t]}))}),r}function tO(t,e){return t[e]=-t[e],t}function tx(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function tk(t,e){t[0]=tx(t[0],e.width),t[1]=tx(t[1],e.height)}function tT(t,e,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,c=n.source||t;i=[].concat(i),a=[].concat(a);var s={},l=0,f=ty(c,!!(u=u||{}).alwaysByViewport),p=tg(c);tk(i,p),tk(a,e);var d=tw(p,e,o,i,a),v=td.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&tZ(d,p,f)){var h,m,y,g,b=tC(o,/[lr]/gi,{l:"r",r:"l"}),w=tO(i,0),Z=tO(a,0);(g=tw(p,e,b,w,Z)).left>f.right||g.left+p.widthf.bottom||E.top+p.height=f.left&&m.left+y.width>f.right&&(y.width-=m.left+y.width-f.right),s.adjustX&&m.left+y.width>f.right&&(m.left=Math.max(f.right-y.width,f.left)),s.adjustY&&m.top=f.top&&m.top+y.height>f.bottom&&(y.height-=m.top+y.height-f.bottom),s.adjustY&&m.top+y.height>f.bottom&&(m.top=Math.max(f.bottom-y.height,f.top)),v=td.mix(m,y))}return v.width!==p.width&&td.css(c,"width",td.width(c)+v.width-p.width),v.height!==p.height&&td.css(c,"height",td.height(c)+v.height-p.height),td.offset(c,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function tP(t,e,n){var r,o,i=n.target||e,a=tg(i),u=(r=ty(i,n.overflow&&n.overflow.alwaysByViewport),o=tg(i),!!r&&!(o.left+o.width<=r.left)&&!(o.top+o.height<=r.top)&&!(o.left>=r.right)&&!(o.top>=r.bottom));return tT(t,a,n,u)}tP.__getOffsetParent=th,tP.__getVisibleRectForElement=ty;var t_=n(80334),tS=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function t(e,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(e);if((0,t_.ZP)(!a,"Warning: There may be circular references"),a)return!1;if(e===o)return!0;if(n&&i>1)return!1;r.add(e);var u=i+1;if(Array.isArray(e)){if(!Array.isArray(o)||e.length!==o.length)return!1;for(var c=0;c=0&&a<=d+h&&u>=0&&u<=v+m)),C!==document.activeElement&&(0,y.Z)(i,C)&&"function"==typeof C.focus&&C.focus(),o&&w&&o(i,w),!0}return!1},void 0===c?0:c),h=(0,x.Z)(d,2),m=h[0],g=h[1],Z=v.useState(),E=(0,x.Z)(Z,2),C=E[0],O=E[1],k=v.useState(),T=(0,x.Z)(k,2),P=T[0],_=T[1];return(0,tN.Z)(function(){O(tD(o)),_(tR(o))}),v.useEffect(function(){var t;s.current.element===C&&((t=s.current.point)===P||t&&P&&("pageX"in P&&"pageY"in P?t.pageX===P.pageX&&t.pageY===P.pageY:"clientX"in P&&"clientY"in P&&t.clientX===P.clientX&&t.clientY===P.clientY))&&tS(s.current.align,i)||m()}),v.useEffect(function(){return tL(l.current,m)},[l.current]),v.useEffect(function(){return tL(C,m)},[C]),v.useEffect(function(){r?g():m()},[r]),v.useEffect(function(){if(u)return(0,w.Z)(window,"resize",m).remove},[u]),v.useEffect(function(){return function(){g()}},[]),v.useImperativeHandle(e,function(){return{forceAlign:function(){return m(!0)}}}),v.isValidElement(f)&&(f=v.cloneElement(f,{ref:(0,b.sQ)(f.ref,l)})),f});tV.displayName="Align";var tH=n(74165),tI=n(15861),tz=n(30470),tW=["measure","alignPre","align",null,"motion"],tF=function(t,e){var n=(0,tz.Z)(null),r=(0,x.Z)(n,2),o=r[0],i=r[1],a=(0,v.useRef)();function u(){m.Z.cancel(a.current)}return(0,v.useEffect)(function(){i("measure",!0)},[t]),(0,v.useEffect)(function(){"measure"===o&&e(),o&&(a.current=(0,m.Z)((0,tI.Z)((0,tH.Z)().mark(function t(){var e,n;return(0,tH.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=tW.indexOf(o),(n=tW[e+1])&&-1!==e&&i(n,!0);case 3:case"end":return t.stop()}},t)}))))},[o]),(0,v.useEffect)(function(){return function(){u()}},[]),[o,function(t){u(),a.current=(0,m.Z)(function(){i(function(t){switch(o){case"align":return"motion";case"motion":return"stable"}return t},!0),null==t||t()})}]},tB=function(t){var e=v.useState({width:0,height:0}),n=(0,x.Z)(e,2),r=n[0],o=n[1];return[v.useMemo(function(){var e={};if(t){var n=r.width,o=r.height;-1!==t.indexOf("height")&&o?e.height=o:-1!==t.indexOf("minHeight")&&o&&(e.minHeight=o),-1!==t.indexOf("width")&&n?e.width=n:-1!==t.indexOf("minWidth")&&n&&(e.minWidth=n)}return e},[t,r]),function(t){var e=t.offsetWidth,n=t.offsetHeight,r=t.getBoundingClientRect(),i=r.width,a=r.height;1>Math.abs(e-i)&&1>Math.abs(n-a)&&(e=i,n=a),o({width:e,height:n})}]},tY=v.forwardRef(function(t,e){var n=t.visible,r=t.prefixCls,o=t.className,i=t.style,c=t.children,s=t.zIndex,l=t.stretch,f=t.destroyPopupOnHide,p=t.forceRender,d=t.align,h=t.point,m=t.getRootDomNode,y=t.getClassNameFromAlign,g=t.onAlign,b=t.onMouseEnter,w=t.onMouseLeave,Z=t.onMouseDown,E=t.onTouchStart,C=t.onClick,k=(0,v.useRef)(),T=(0,v.useRef)(),S=(0,v.useState)(),M=(0,x.Z)(S,2),N=M[0],A=M[1],j=tB(l),L=(0,x.Z)(j,2),D=L[0],R=L[1],V=tF(n,function(){l&&R(m())}),H=(0,x.Z)(V,2),I=H[0],z=H[1],W=(0,v.useState)(0),F=(0,x.Z)(W,2),B=F[0],Y=F[1],$=(0,v.useRef)();function X(){var t;null===(t=k.current)||void 0===t||t.forceAlign()}function q(t,e){var n=y(e);N!==n&&A(n),Y(function(t){return t+1}),"align"===I&&(null==g||g(t,e))}(0,tN.Z)(function(){"alignPre"===I&&Y(0)},[I]),(0,tN.Z)(function(){"align"===I&&(B<3?X():z(function(){var t;null===(t=$.current)||void 0===t||t.call($)}))},[B]);var G=(0,a.Z)({},_(t));function U(){return new Promise(function(t){$.current=t})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(t){var e=G[t];G[t]=function(t,n){return z(),null==e?void 0:e(t,n)}}),v.useEffect(function(){G.motionName||"motion"!==I||z()},[G.motionName,I]),v.useImperativeHandle(e,function(){return{forceAlign:X,getElement:function(){return T.current}}});var Q=(0,a.Z)((0,a.Z)({},D),{},{zIndex:s,opacity:"motion"!==I&&"stable"!==I&&n?0:void 0,pointerEvents:n||"stable"===I?void 0:"none"},i),K=!0;null!=d&&d.points&&("align"===I||"stable"===I)&&(K=!1);var J=c;return v.Children.count(c)>1&&(J=v.createElement("div",{className:"".concat(r,"-content")},c)),v.createElement(P.Z,(0,u.Z)({visible:n,ref:T,leavedClassName:"".concat(r,"-hidden")},G,{onAppearPrepare:U,onEnterPrepare:U,removeOnLeave:f,forceRender:p}),function(t,e){var n=t.className,i=t.style,u=O()(r,o,N,n);return v.createElement(tV,{target:h||m,key:"popup",ref:k,monitorWindowResize:!0,disabled:K,align:d,onAlign:q},v.createElement("div",{ref:e,className:u,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:Z,onTouchStartCapture:E,onClick:C,style:(0,a.Z)((0,a.Z)({},i),Q)},J))})});tY.displayName="PopupInner";var t$=v.forwardRef(function(t,e){var n=t.prefixCls,r=t.visible,o=t.zIndex,i=t.children,c=t.mobile,s=(c=void 0===c?{}:c).popupClassName,l=c.popupStyle,f=c.popupMotion,p=c.popupRender,d=t.onClick,h=v.useRef();v.useImperativeHandle(e,function(){return{forceAlign:function(){},getElement:function(){return h.current}}});var m=(0,a.Z)({zIndex:o},l),y=i;return v.Children.count(i)>1&&(y=v.createElement("div",{className:"".concat(n,"-content")},i)),p&&(y=p(y)),v.createElement(P.Z,(0,u.Z)({visible:r,ref:h,removeOnLeave:!0},void 0===f?{}:f),function(t,e){var r=t.className,o=t.style,i=O()(n,s,r);return v.createElement("div",{ref:e,className:i,onClick:d,style:(0,a.Z)((0,a.Z)({},o),m)},y)})});t$.displayName="MobilePopupInner";var tX=["visible","mobile"],tq=v.forwardRef(function(t,e){var n=t.visible,r=t.mobile,o=(0,k.Z)(t,tX),i=(0,v.useState)(n),c=(0,x.Z)(i,2),s=c[0],l=c[1],f=(0,v.useState)(!1),p=(0,x.Z)(f,2),d=p[0],h=p[1],m=(0,a.Z)((0,a.Z)({},o),{},{visible:s});(0,v.useEffect)(function(){l(n),n&&r&&h((0,T.Z)())},[n,r]);var y=d?v.createElement(t$,(0,u.Z)({},m,{mobile:r,ref:e})):v.createElement(tY,(0,u.Z)({},m,{ref:e}));return v.createElement("div",null,v.createElement(S,m),y)});tq.displayName="Popup";var tG=v.createContext(null);function tU(){}var tQ=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],tK=(r=function(t){(0,f.Z)(n,t);var e=(0,p.Z)(n);function n(t){var r,o;return(0,c.Z)(this,n),r=e.call(this,t),(0,d.Z)((0,l.Z)(r),"popupRef",v.createRef()),(0,d.Z)((0,l.Z)(r),"triggerRef",v.createRef()),(0,d.Z)((0,l.Z)(r),"portalContainer",void 0),(0,d.Z)((0,l.Z)(r),"attachId",void 0),(0,d.Z)((0,l.Z)(r),"clickOutsideHandler",void 0),(0,d.Z)((0,l.Z)(r),"touchOutsideHandler",void 0),(0,d.Z)((0,l.Z)(r),"contextMenuOutsideHandler1",void 0),(0,d.Z)((0,l.Z)(r),"contextMenuOutsideHandler2",void 0),(0,d.Z)((0,l.Z)(r),"mouseDownTimeout",void 0),(0,d.Z)((0,l.Z)(r),"focusTime",void 0),(0,d.Z)((0,l.Z)(r),"preClickTime",void 0),(0,d.Z)((0,l.Z)(r),"preTouchTime",void 0),(0,d.Z)((0,l.Z)(r),"delayTimer",void 0),(0,d.Z)((0,l.Z)(r),"hasPopupMouseDown",void 0),(0,d.Z)((0,l.Z)(r),"onMouseEnter",function(t){var e=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",t),r.delaySetPopupVisible(!0,e,e?null:t)}),(0,d.Z)((0,l.Z)(r),"onMouseMove",function(t){r.fireEvents("onMouseMove",t),r.setPoint(t)}),(0,d.Z)((0,l.Z)(r),"onMouseLeave",function(t){r.fireEvents("onMouseLeave",t),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,d.Z)((0,l.Z)(r),"onPopupMouseEnter",function(){r.clearDelayTimer()}),(0,d.Z)((0,l.Z)(r),"onPopupMouseLeave",function(t){var e;t.relatedTarget&&!t.relatedTarget.setTimeout&&(0,y.Z)(null===(e=r.popupRef.current)||void 0===e?void 0:e.getElement(),t.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,d.Z)((0,l.Z)(r),"onFocus",function(t){r.fireEvents("onFocus",t),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))}),(0,d.Z)((0,l.Z)(r),"onMouseDown",function(t){r.fireEvents("onMouseDown",t),r.preClickTime=Date.now()}),(0,d.Z)((0,l.Z)(r),"onTouchStart",function(t){r.fireEvents("onTouchStart",t),r.preTouchTime=Date.now()}),(0,d.Z)((0,l.Z)(r),"onBlur",function(t){r.fireEvents("onBlur",t),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)}),(0,d.Z)((0,l.Z)(r),"onContextMenu",function(t){t.preventDefault(),r.fireEvents("onContextMenu",t),r.setPopupVisible(!0,t)}),(0,d.Z)((0,l.Z)(r),"onContextMenuClose",function(){r.isContextMenuToShow()&&r.close()}),(0,d.Z)((0,l.Z)(r),"onClick",function(t){if(r.fireEvents("onClick",t),r.focusTime){var e;if(r.preClickTime&&r.preTouchTime?e=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?e=r.preClickTime:r.preTouchTime&&(e=r.preTouchTime),20>Math.abs(e-r.focusTime))return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,t)}),(0,d.Z)((0,l.Z)(r),"onPopupMouseDown",function(){if(r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout(function(){r.hasPopupMouseDown=!1},0),r.context){var t;(t=r.context).onPopupMouseDown.apply(t,arguments)}}),(0,d.Z)((0,l.Z)(r),"onDocumentClick",function(t){if(!r.props.mask||r.props.maskClosable){var e=t.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(!(0,y.Z)(n,e)||r.isContextMenuOnly())&&!(0,y.Z)(o,e)&&!r.hasPopupMouseDown&&r.close()}}),(0,d.Z)((0,l.Z)(r),"getRootDomNode",function(){var t=r.props.getTriggerDOMNode;if(t)return t(r.triggerRef.current);try{var e=(0,g.Z)(r.triggerRef.current);if(e)return e}catch(n){}return h.findDOMNode((0,l.Z)(r))}),(0,d.Z)((0,l.Z)(r),"getPopupClassNameFromAlign",function(t){var e=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,u=n.alignPoint,c=n.getPopupClassNameFromAlign;return o&&i&&e.push(function(t,e,n,r){for(var o=n.points,i=Object.keys(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(e,function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?i=i.concat(t(e)):(0,o.isFragment)(e)&&e.props?i=i.concat(t(e.props.children,n)):i.push(e))}),i}}});var r=n(67294),o=n(11805)},64019:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(73935);function o(t,e,n,o){var i=r.unstable_batchedUpdates?function(t){r.unstable_batchedUpdates(n,t)}:n;return t.addEventListener&&t.addEventListener(e,i,o),{remove:function(){t.removeEventListener&&t.removeEventListener(e,i,o)}}}},98924:function(t,e,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(e,{Z:function(){return r}})},94999:function(t,e,n){"use strict";function r(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}n.d(e,{Z:function(){return r}})},44958:function(t,e,n){"use strict";n.d(e,{hq:function(){return d},jL:function(){return p}});var r=n(98924),o=n(94999),i="data-rc-order",a=new Map;function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function c(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function s(t){return Array.from((a.get(t)||t).children).filter(function(t){return"STYLE"===t.tagName})}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=e.csp,o=e.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),(null==n?void 0:n.nonce)&&(a.nonce=null==n?void 0:n.nonce),a.innerHTML=t;var u=c(e),l=u.firstChild;if(o){if("queue"===o){var f=s(u).filter(function(t){return["prepend","prependQueue"].includes(t.getAttribute(i))});if(f.length)return u.insertBefore(a,f[f.length-1].nextSibling),a}u.insertBefore(a,l)}else u.appendChild(a);return a}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(c(e)).find(function(n){return n.getAttribute(u(e))===t})}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t,e);n&&c(e).removeChild(n)}function d(t,e){var n,r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){var n=a.get(t);if(!n||!(0,o.Z)(document,n)){var r=l("",e),i=r.parentNode;a.set(t,i),t.removeChild(r)}}(c(s),s);var p=f(e,s);if(p)return(null===(n=s.csp)||void 0===n?void 0:n.nonce)&&p.nonce!==(null===(r=s.csp)||void 0===r?void 0:r.nonce)&&(p.nonce=null===(i=s.csp)||void 0===i?void 0:i.nonce),p.innerHTML!==t&&(p.innerHTML=t),p;var d=l(t,s);return d.setAttribute(u(s),e),d}},34203:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(73935);function o(t){return t instanceof HTMLElement?t:r.findDOMNode(t)}},5110:function(t,e){"use strict";e.Z=function(t){if(!t)return!1;if(t instanceof HTMLElement&&t.offsetParent)return!0;if(t instanceof SVGGraphicsElement&&t.getBBox){var e=t.getBBox(),n=e.width,r=e.height;if(n||r)return!0}if(t instanceof HTMLElement&&t.getBoundingClientRect){var o=t.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}return!1}},66680:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(67294);function o(t){var e=r.useRef();return e.current=t,r.useCallback(function(){for(var t,n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:1,r=o+=1;return!function e(o){if(0===o)i.delete(r),t();else{var a=n(function(){e(o-1)});i.set(r,a)}}(e),r};a.cancel=function(t){var e=i.get(t);return i.delete(e),r(e)},e.Z=a},42550:function(t,e,n){"use strict";n.d(e,{Yr:function(){return s},mH:function(){return a},sQ:function(){return u},x1:function(){return c}});var r=n(71002),o=n(11805),i=n(56982);function a(t,e){"function"==typeof t?t(e):"object"===(0,r.Z)(t)&&t&&"current"in t&&(t.current=e)}function u(){for(var t=arguments.length,e=Array(t),n=0;n0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,Z=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new b(e,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach(function(t){Z.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}});var E=void 0!==i.ResizeObserver?i.ResizeObserver:Z;e.Z=E},30907:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},63366:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}n.d(e,{Z:function(){return r}})},74165:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(71002);function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(f){l=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o,a,u=Object.create((e&&e.prototype instanceof h?e:h).prototype);return i(u,"_invoke",{value:(o=new k(r||[]),a="suspendedStart",function(e,r){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===e)throw r;return P()}for(o.method=e,o.arg=r;;){var i=o.delegate;if(i){var u=function t(e,n){var r=n.method,o=e.iterator[r];if(void 0===o)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=void 0,t(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,v):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,v)}(i,o);if(u){if(u===v)continue;return u}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var c=d(t,n,o);if("normal"===c.type){if(a=o.done?"completed":"suspendedYield",c.arg===v)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(a="completed",o.method="throw",o.arg=c.arg)}})}),u}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=p;var v={};function h(){}function m(){}function y(){}var g={};l(g,u,function(){return this});var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==e&&n.call(w,u)&&(g=w);var Z=y.prototype=h.prototype=Object.create(g);function E(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function C(t,e){var o;i(this,"_invoke",{value:function(i,a){function u(){return new e(function(o,u){!function o(i,a,u,c){var s=d(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==(0,r.Z)(f)&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){o("next",t,u,c)},function(t){o("throw",t,u,c)}):e.resolve(f).then(function(t){l.value=t,u(l)},function(t){return o("throw",t,u,c)})}c(s.arg)}(i,a,o,u)})}return o=o?o.then(u,u):u()}})}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},t}},89611:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{Z:function(){return r}})},97685:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(83878),o=n(40181),i=n(25267);function a(t,e){return(0,r.Z)(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(l){s=!0,o=l}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||(0,o.Z)(t,e)||(0,i.Z)()}},83997:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(71002);function o(t){var e=function(t,e){if("object"!==(0,r.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===(0,r.Z)(e)?e:String(e)}},71002:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,{Z:function(){return r}})},40181:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(30907);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(t,e)}}}}]); +//# sourceMappingURL=31-854a0ad187f0b4e1.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js.map b/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js.map new file mode 100644 index 000000000..f9ef5bc31 --- /dev/null +++ b/static/web/_next/static/chunks/31-854a0ad187f0b4e1.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/31-854a0ad187f0b4e1.js","mappings":"qQAUO,SAAAA,EAAAC,CAAA,EACP,MAAS,cAAAC,EAAAC,CAAA,EAAOF,IAAA,iBAAAA,EAAAG,IAAA,mBAAAH,EAAAI,KAAA,EAAiG,eAAAH,EAAAC,CAAA,EAAOF,EAAAK,IAAA,sBAAAL,EAAAK,IAAA,CACxH,CACO,SAAAC,GAAA,CACP,IAAAC,EAAAC,UAAAC,MAAA,IAAAD,KAAAE,IAAAF,SAAA,IAAAA,SAAA,OACA,OAAAG,OAAAC,IAAA,CAAAL,GAAAM,MAAA,UAAAC,CAAA,CAAAC,CAAA,EACA,IAAAC,EAAAT,CAAA,CAAAQ,EAAA,CASA,MAPA,UADAA,GAEAD,EAAAG,SAAA,CAAAD,EACA,OAAAF,EAAAI,KAAA,EAGAJ,CAAA,CAAAC,EAAA,CAAAC,EAEAF,CACA,EAAG,GACH,CAeO,SAAAK,EAAAC,CAAA,EAEP,MAAS,GAAAC,EAAAC,QAAA,EAAaF,EAAA,IAEf,SAAAG,EAAAC,CAAA,SACP,EAGAC,MAAAC,OAAA,CAAAF,GAAAA,EAAA,CAAAA,EAAA,CAFA,GAcO,IAAAG,EAAA,WACP,IAAAC,EAAApB,UAAAC,MAAA,IAAAD,KAAAE,IAAAF,SAAA,IAAAA,SAAA,IAFO,w7BAEP,CAEAqB,EAAAC,CADoB,EAAAC,EAAAC,UAAA,EAAWC,EAAA/B,CAAW,EAC1C2B,GAAA,CACE,GAAAE,EAAAG,SAAA,EAAS,WACP,GAAAC,EAAAC,EAAA,EAASR,EAAA,qBACbS,QAAA,GACAR,IAAAA,CACA,EACA,EAAG,GACH,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AA+zB,EAAAja,CAAA,EAGf,MAIGia,CAJHA,EAAA,mBAAAC,QAAA,iBAAAA,OAAAC,QAAA,UAAAna,CAAA,EACA,cAAAA,CACA,EAAI,SAAAA,CAAA,EACJ,OAAAA,GAAA,mBAAAka,QAAAla,EAAA1B,WAAA,GAAA4b,QAAAla,IAAAka,OAAA/iB,SAAA,iBAAA6I,CAAA,CACG,EAAAA,EACH,oHCPe,SAAA2uC,EAAA/T,CAAA,CAAAgU,CAAA,EACf,GAAAhU,GACA,oBAAAA,EAAA,MAAoC,GAAAiU,EAAAxpD,CAAA,EAAgBu1C,EAAAgU,EAAA,CACpD,IAAAhpB,EAAA9/B,OAAAqR,SAAA,CAAA2N,QAAA,CAAAjR,IAAA,CAAA+mC,GAAAjlB,KAAA,OAEA,GADA,WAAAiQ,GAAAgV,EAAAt8B,WAAA,EAAAsnB,CAAAA,EAAAgV,EAAAt8B,WAAA,CAAAhZ,IAAA,EACAsgC,QAAAA,GAAAA,QAAAA,EAAA,OAAAh/B,MAAAsN,IAAA,CAAA0mC,EAAA,CACA,GAAAhV,cAAAA,GAAA,2CAAAnyB,IAAA,CAAAmyB,GAAA,MAAsF,GAAAipB,EAAAxpD,CAAA,EAAgBu1C,EAAAgU,EAAA,CALtG,AAMA","sources":["webpack://_N_E/./node_modules/@ant-design/icons/es/utils.js","webpack://_N_E/./node_modules/@ant-design/icons/es/components/IconBase.js","webpack://_N_E/./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js","webpack://_N_E/./node_modules/@ant-design/icons/es/components/AntdIcon.js","webpack://_N_E/./node_modules/@ant-design/icons/es/components/Context.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js","webpack://_N_E/./node_modules/antd/es/_util/colors.js","webpack://_N_E/./node_modules/antd/es/_util/motion.js","webpack://_N_E/./node_modules/antd/es/_util/placements.js","webpack://_N_E/./node_modules/antd/es/_util/reactNode.js","webpack://_N_E/./node_modules/antd/es/_util/type.js","webpack://_N_E/./node_modules/antd/es/_util/raf.js","webpack://_N_E/./node_modules/antd/es/_util/wave.js","webpack://_N_E/./node_modules/antd/es/button/button-group.js","webpack://_N_E/./node_modules/antd/es/button/LoadingIcon.js","webpack://_N_E/./node_modules/antd/es/button/button.js","webpack://_N_E/./node_modules/antd/es/button/index.js","webpack://_N_E/./node_modules/antd/es/config-provider/DisabledContext.js","webpack://_N_E/./node_modules/antd/es/config-provider/SizeContext.js","webpack://_N_E/./node_modules/antd/es/config-provider/context.js","webpack://_N_E/./node_modules/antd/es/space/Compact.js","webpack://_N_E/./node_modules/antd/es/tooltip/index.js","webpack://_N_E/./node_modules/classnames/index.js","webpack://_N_E/./node_modules/next/dist/shared/lib/dynamic-no-ssr.js","webpack://_N_E/./node_modules/next/dist/shared/lib/dynamic.js","webpack://_N_E/./node_modules/next/dist/shared/lib/loadable-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/loadable.js","webpack://_N_E/./node_modules/next/dynamic.js","webpack://_N_E/./node_modules/rc-motion/es/util/motion.js","webpack://_N_E/./node_modules/rc-motion/es/interface.js","webpack://_N_E/./node_modules/rc-motion/es/hooks/useNextFrame.js","webpack://_N_E/./node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js","webpack://_N_E/./node_modules/rc-motion/es/hooks/useStepQueue.js","webpack://_N_E/./node_modules/rc-motion/es/hooks/useDomMotionEvents.js","webpack://_N_E/./node_modules/rc-motion/es/hooks/useStatus.js","webpack://_N_E/./node_modules/rc-motion/es/DomWrapper.js","webpack://_N_E/./node_modules/rc-motion/es/CSSMotion.js","webpack://_N_E/./node_modules/rc-motion/es/util/diff.js","webpack://_N_E/./node_modules/rc-motion/es/CSSMotionList.js","webpack://_N_E/./node_modules/rc-motion/es/index.js","webpack://_N_E/./node_modules/rc-tooltip/es/Popup.js","webpack://_N_E/./node_modules/rc-tooltip/es/Tooltip.js","webpack://_N_E/./node_modules/rc-tooltip/es/index.js","webpack://_N_E/./node_modules/rc-tooltip/es/placements.js","webpack://_N_E/./node_modules/rc-util/es/Portal.js","webpack://_N_E/./node_modules/rc-trigger/es/utils/alignUtil.js","webpack://_N_E/./node_modules/rc-trigger/es/utils/legacyUtil.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/Mask.js","webpack://_N_E/./node_modules/dom-align/dist-web/index.js","webpack://_N_E/./node_modules/rc-util/es/isEqual.js","webpack://_N_E/./node_modules/rc-align/es/hooks/useBuffer.js","webpack://_N_E/./node_modules/rc-align/es/util.js","webpack://_N_E/./node_modules/rc-align/es/Align.js","webpack://_N_E/./node_modules/rc-align/es/index.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/useVisibleStatus.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/useStretchStyle.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/PopupInner.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/MobilePopupInner.js","webpack://_N_E/./node_modules/rc-trigger/es/Popup/index.js","webpack://_N_E/./node_modules/rc-trigger/es/context.js","webpack://_N_E/./node_modules/rc-trigger/es/index.js","webpack://_N_E/./node_modules/rc-util/es/Children/toArray.js","webpack://_N_E/./node_modules/rc-util/es/Dom/addEventListener.js","webpack://_N_E/./node_modules/rc-util/es/Dom/canUseDom.js","webpack://_N_E/./node_modules/rc-util/es/Dom/contains.js","webpack://_N_E/./node_modules/rc-util/es/Dom/dynamicCSS.js","webpack://_N_E/./node_modules/rc-util/es/Dom/findDOMNode.js","webpack://_N_E/./node_modules/rc-util/es/Dom/isVisible.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useEvent.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useLayoutEffect.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useMemo.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useMergedState.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useState.js","webpack://_N_E/./node_modules/rc-util/es/isMobile.js","webpack://_N_E/./node_modules/rc-util/es/omit.js","webpack://_N_E/./node_modules/rc-util/es/raf.js","webpack://_N_E/./node_modules/rc-util/es/ref.js","webpack://_N_E/./node_modules/rc-util/es/warning.js","webpack://_N_E/./node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js","webpack://_N_E/./node_modules/rc-util/node_modules/react-is/index.js","webpack://_N_E/./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/createSuper.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://_N_E/"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { generate as generateColor } from '@ant-design/colors';\nimport React, { useContext, useEffect } from 'react';\nimport warn from \"rc-util/es/warning\";\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport IconContext from './components/Context';\nexport function warning(valid, message) {\n warn(valid, \"[@ant-design/icons] \".concat(message));\n}\nexport function isIconDefinition(target) {\n return _typeof(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (_typeof(target.icon) === 'object' || typeof target.icon === 'function');\n}\nexport function normalizeAttrs() {\n var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return Object.keys(attrs).reduce(function (acc, key) {\n var val = attrs[key];\n switch (key) {\n case 'class':\n acc.className = val;\n delete acc.class;\n break;\n default:\n acc[key] = val;\n }\n return acc;\n }, {});\n}\nexport function generate(node, key, rootProps) {\n if (!rootProps) {\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n }\n return /*#__PURE__*/React.createElement(node.tag, _objectSpread(_objectSpread({\n key: key\n }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) {\n return generate(child, \"\".concat(key, \"-\").concat(node.tag, \"-\").concat(index));\n }));\n}\nexport function getSecondaryColor(primaryColor) {\n // choose the second color\n return generateColor(primaryColor)[0];\n}\nexport function normalizeTwoToneColors(twoToneColor) {\n if (!twoToneColor) {\n return [];\n }\n return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];\n}\n// These props make sure that the SVG behaviours like general text.\n// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4\nexport var svgBaseProps = {\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n 'aria-hidden': 'true',\n focusable: 'false'\n};\nexport var iconStyles = \"\\n.anticon {\\n display: inline-block;\\n color: inherit;\\n font-style: normal;\\n line-height: 0;\\n text-align: center;\\n text-transform: none;\\n vertical-align: -0.125em;\\n text-rendering: optimizeLegibility;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n}\\n\\n.anticon > * {\\n line-height: 1;\\n}\\n\\n.anticon svg {\\n display: inline-block;\\n}\\n\\n.anticon::before {\\n display: none;\\n}\\n\\n.anticon .anticon-icon {\\n display: block;\\n}\\n\\n.anticon[tabindex] {\\n cursor: pointer;\\n}\\n\\n.anticon-spin::before,\\n.anticon-spin {\\n display: inline-block;\\n -webkit-animation: loadingCircle 1s infinite linear;\\n animation: loadingCircle 1s infinite linear;\\n}\\n\\n@-webkit-keyframes loadingCircle {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n }\\n}\\n\\n@keyframes loadingCircle {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg);\\n }\\n}\\n\";\nexport var useInsertStyles = function useInsertStyles() {\n var styleStr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : iconStyles;\n var _useContext = useContext(IconContext),\n csp = _useContext.csp;\n useEffect(function () {\n updateCSS(styleStr, '@ant-design-icons', {\n prepend: true,\n csp: csp\n });\n }, []);\n};","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar _excluded = [\"icon\", \"className\", \"onClick\", \"style\", \"primaryColor\", \"secondaryColor\"];\nimport { generate, getSecondaryColor, isIconDefinition, warning, useInsertStyles } from '../utils';\nvar twoToneColorPalette = {\n primaryColor: '#333',\n secondaryColor: '#E6E6E6',\n calculated: false\n};\nfunction setTwoToneColors(_ref) {\n var primaryColor = _ref.primaryColor,\n secondaryColor = _ref.secondaryColor;\n twoToneColorPalette.primaryColor = primaryColor;\n twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor);\n twoToneColorPalette.calculated = !!secondaryColor;\n}\nfunction getTwoToneColors() {\n return _objectSpread({}, twoToneColorPalette);\n}\nvar IconBase = function IconBase(props) {\n var icon = props.icon,\n className = props.className,\n onClick = props.onClick,\n style = props.style,\n primaryColor = props.primaryColor,\n secondaryColor = props.secondaryColor,\n restProps = _objectWithoutProperties(props, _excluded);\n var colors = twoToneColorPalette;\n if (primaryColor) {\n colors = {\n primaryColor: primaryColor,\n secondaryColor: secondaryColor || getSecondaryColor(primaryColor)\n };\n }\n useInsertStyles();\n warning(isIconDefinition(icon), \"icon should be icon definiton, but got \".concat(icon));\n if (!isIconDefinition(icon)) {\n return null;\n }\n var target = icon;\n if (target && typeof target.icon === 'function') {\n target = _objectSpread(_objectSpread({}, target), {}, {\n icon: target.icon(colors.primaryColor, colors.secondaryColor)\n });\n }\n return generate(target.icon, \"svg-\".concat(target.name), _objectSpread({\n className: className,\n onClick: onClick,\n style: style,\n 'data-icon': target.name,\n width: '1em',\n height: '1em',\n fill: 'currentColor',\n 'aria-hidden': 'true'\n }, restProps));\n};\nIconBase.displayName = 'IconReact';\nIconBase.getTwoToneColors = getTwoToneColors;\nIconBase.setTwoToneColors = setTwoToneColors;\nexport default IconBase;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ReactIcon from './IconBase';\nimport { normalizeTwoToneColors } from '../utils';\nexport function setTwoToneColor(twoToneColor) {\n var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),\n _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return ReactIcon.setTwoToneColors({\n primaryColor: primaryColor,\n secondaryColor: secondaryColor\n });\n}\nexport function getTwoToneColor() {\n var colors = ReactIcon.getTwoToneColors();\n if (!colors.calculated) {\n return colors.primaryColor;\n }\n return [colors.primaryColor, colors.secondaryColor];\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"icon\", \"spin\", \"rotate\", \"tabIndex\", \"onClick\", \"twoToneColor\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Context from './Context';\nimport ReactIcon from './IconBase';\nimport { getTwoToneColor, setTwoToneColor } from './twoTonePrimaryColor';\nimport { normalizeTwoToneColors } from '../utils';\n// Initial setting\n// should move it to antd main repo?\nsetTwoToneColor('#1890ff');\nvar Icon = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var className = props.className,\n icon = props.icon,\n spin = props.spin,\n rotate = props.rotate,\n tabIndex = props.tabIndex,\n onClick = props.onClick,\n twoToneColor = props.twoToneColor,\n restProps = _objectWithoutProperties(props, _excluded);\n var _React$useContext = React.useContext(Context),\n _React$useContext$pre = _React$useContext.prefixCls,\n prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre,\n rootClassName = _React$useContext.rootClassName;\n var classString = classNames(rootClassName, prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(icon.name), !!icon.name), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spin\"), !!spin || icon.name === 'loading'), _classNames), className);\n var iconTabIndex = tabIndex;\n if (iconTabIndex === undefined && onClick) {\n iconTabIndex = -1;\n }\n var svgStyle = rotate ? {\n msTransform: \"rotate(\".concat(rotate, \"deg)\"),\n transform: \"rotate(\".concat(rotate, \"deg)\")\n } : undefined;\n var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),\n _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return /*#__PURE__*/React.createElement(\"span\", _objectSpread(_objectSpread({\n role: \"img\",\n \"aria-label\": icon.name\n }, restProps), {}, {\n ref: ref,\n tabIndex: iconTabIndex,\n onClick: onClick,\n className: classString\n }), /*#__PURE__*/React.createElement(ReactIcon, {\n icon: icon,\n primaryColor: primaryColor,\n secondaryColor: secondaryColor,\n style: svgStyle\n }));\n});\nIcon.displayName = 'AntdIcon';\nIcon.getTwoToneColor = getTwoToneColor;\nIcon.setTwoToneColor = setTwoToneColor;\nexport default Icon;","import { createContext } from 'react';\nvar IconContext = /*#__PURE__*/createContext({});\nexport default IconContext;","// This icon file is generated automatically.\nvar LoadingOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"0 0 1024 1024\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z\" } }] }, \"name\": \"loading\", \"theme\": \"outlined\" };\nexport default LoadingOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport LoadingOutlinedSvg from \"@ant-design/icons-svg/es/asn/LoadingOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar LoadingOutlined = function LoadingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: LoadingOutlinedSvg\n }));\n};\nLoadingOutlined.displayName = 'LoadingOutlined';\nexport default /*#__PURE__*/React.forwardRef(LoadingOutlined);","import { tuple } from './type';\nexport var PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default', 'warning');\n// eslint-disable-next-line import/prefer-default-export\nexport var PresetColorTypes = tuple('pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime');","import { tuple } from './type';\n// ================== Collapse Motion ==================\nvar getCollapsedHeight = function getCollapsedHeight() {\n return {\n height: 0,\n opacity: 0\n };\n};\nvar getRealHeight = function getRealHeight(node) {\n var scrollHeight = node.scrollHeight;\n return {\n height: scrollHeight,\n opacity: 1\n };\n};\nvar getCurrentHeight = function getCurrentHeight(node) {\n return {\n height: node ? node.offsetHeight : 0\n };\n};\nvar skipOpacityTransition = function skipOpacityTransition(_, event) {\n return (event === null || event === void 0 ? void 0 : event.deadline) === true || event.propertyName === 'height';\n};\nvar collapseMotion = {\n motionName: 'ant-motion-collapse',\n onAppearStart: getCollapsedHeight,\n onEnterStart: getCollapsedHeight,\n onAppearActive: getRealHeight,\n onEnterActive: getRealHeight,\n onLeaveStart: getCurrentHeight,\n onLeaveActive: getCollapsedHeight,\n onAppearEnd: skipOpacityTransition,\n onEnterEnd: skipOpacityTransition,\n onLeaveEnd: skipOpacityTransition,\n motionDeadline: 500\n};\nvar SelectPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight');\nvar getTransitionDirection = function getTransitionDirection(placement) {\n if (placement !== undefined && (placement === 'topLeft' || placement === 'topRight')) {\n return \"slide-down\";\n }\n return \"slide-up\";\n};\nvar getTransitionName = function getTransitionName(rootPrefixCls, motion, transitionName) {\n if (transitionName !== undefined) {\n return transitionName;\n }\n return \"\".concat(rootPrefixCls, \"-\").concat(motion);\n};\nexport { getTransitionName, getTransitionDirection };\nexport default collapseMotion;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { placements } from \"rc-tooltip/es/placements\";\nvar autoAdjustOverflowEnabled = {\n adjustX: 1,\n adjustY: 1\n};\nvar autoAdjustOverflowDisabled = {\n adjustX: 0,\n adjustY: 0\n};\nvar targetOffset = [0, 0];\nexport function getOverflowOptions(autoAdjustOverflow) {\n if (typeof autoAdjustOverflow === 'boolean') {\n return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled;\n }\n return _extends(_extends({}, autoAdjustOverflowDisabled), autoAdjustOverflow);\n}\nexport default function getPlacements(config) {\n var _config$arrowWidth = config.arrowWidth,\n arrowWidth = _config$arrowWidth === void 0 ? 4 : _config$arrowWidth,\n _config$horizontalArr = config.horizontalArrowShift,\n horizontalArrowShift = _config$horizontalArr === void 0 ? 16 : _config$horizontalArr,\n _config$verticalArrow = config.verticalArrowShift,\n verticalArrowShift = _config$verticalArrow === void 0 ? 8 : _config$verticalArrow,\n autoAdjustOverflow = config.autoAdjustOverflow,\n arrowPointAtCenter = config.arrowPointAtCenter;\n var placementMap = {\n left: {\n points: ['cr', 'cl'],\n offset: [-4, 0]\n },\n right: {\n points: ['cl', 'cr'],\n offset: [4, 0]\n },\n top: {\n points: ['bc', 'tc'],\n offset: [0, -4]\n },\n bottom: {\n points: ['tc', 'bc'],\n offset: [0, 4]\n },\n topLeft: {\n points: ['bl', 'tc'],\n offset: [-(horizontalArrowShift + arrowWidth), -4]\n },\n leftTop: {\n points: ['tr', 'cl'],\n offset: [-4, -(verticalArrowShift + arrowWidth)]\n },\n topRight: {\n points: ['br', 'tc'],\n offset: [horizontalArrowShift + arrowWidth, -4]\n },\n rightTop: {\n points: ['tl', 'cr'],\n offset: [4, -(verticalArrowShift + arrowWidth)]\n },\n bottomRight: {\n points: ['tr', 'bc'],\n offset: [horizontalArrowShift + arrowWidth, 4]\n },\n rightBottom: {\n points: ['bl', 'cr'],\n offset: [4, verticalArrowShift + arrowWidth]\n },\n bottomLeft: {\n points: ['tl', 'bc'],\n offset: [-(horizontalArrowShift + arrowWidth), 4]\n },\n leftBottom: {\n points: ['br', 'cl'],\n offset: [-4, verticalArrowShift + arrowWidth]\n }\n };\n Object.keys(placementMap).forEach(function (key) {\n placementMap[key] = arrowPointAtCenter ? _extends(_extends({}, placementMap[key]), {\n overflow: getOverflowOptions(autoAdjustOverflow),\n targetOffset: targetOffset\n }) : _extends(_extends({}, placements[key]), {\n overflow: getOverflowOptions(autoAdjustOverflow)\n });\n placementMap[key].ignoreShake = true;\n });\n return placementMap;\n}","import * as React from 'react';\nvar isValidElement = React.isValidElement;\nexport { isValidElement };\nexport function isFragment(child) {\n return child && isValidElement(child) && child.type === React.Fragment;\n}\nexport function replaceElement(element, replacement, props) {\n if (!isValidElement(element)) {\n return replacement;\n }\n return /*#__PURE__*/React.cloneElement(element, typeof props === 'function' ? props(element.props || {}) : props);\n}\nexport function cloneElement(element, props) {\n return replaceElement(element, element, props);\n}","// https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead\nexport var tuple = function tuple() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return args;\n};\nexport var tupleNum = function tupleNum() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return args;\n};","import raf from \"rc-util/es/raf\";\nvar id = 0;\nvar ids = {};\n// Support call raf with delay specified frame\nexport default function wrapperRaf(callback) {\n var delayFrames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var myId = id++;\n var restFrames = delayFrames;\n function internalCallback() {\n restFrames -= 1;\n if (restFrames <= 0) {\n callback();\n delete ids[myId];\n } else {\n ids[myId] = raf(internalCallback);\n }\n }\n ids[myId] = raf(internalCallback);\n return myId;\n}\nwrapperRaf.cancel = function cancel(pid) {\n if (pid === undefined) return;\n raf.cancel(ids[pid]);\n delete ids[pid];\n};\nwrapperRaf.ids = ids; // export this for test usage","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport raf from './raf';\nimport { cloneElement } from './reactNode';\nvar styleForPseudo;\n// Where el is the DOM element you'd like to test for visibility\nfunction isHidden(element) {\n if (process.env.NODE_ENV === 'test') {\n return false;\n }\n return !element || element.offsetParent === null || element.hidden;\n}\nfunction getValidateContainer(nodeRoot) {\n if (nodeRoot instanceof Document) {\n return nodeRoot.body;\n }\n return Array.from(nodeRoot.childNodes).find(function (ele) {\n return (ele === null || ele === void 0 ? void 0 : ele.nodeType) === Node.ELEMENT_NODE;\n });\n}\nfunction isNotGrey(color) {\n // eslint-disable-next-line no-useless-escape\n var match = (color || '').match(/rgba?\\((\\d*), (\\d*), (\\d*)(, [\\d.]*)?\\)/);\n if (match && match[1] && match[2] && match[3]) {\n return !(match[1] === match[2] && match[2] === match[3]);\n }\n return true;\n}\nvar Wave = /*#__PURE__*/function (_React$Component) {\n _inherits(Wave, _React$Component);\n var _super = _createSuper(Wave);\n function Wave() {\n var _this;\n _classCallCheck(this, Wave);\n _this = _super.apply(this, arguments);\n _this.containerRef = /*#__PURE__*/React.createRef();\n _this.animationStart = false;\n _this.destroyed = false;\n _this.onClick = function (node, waveColor) {\n var _a, _b;\n var _this$props = _this.props,\n insertExtraNode = _this$props.insertExtraNode,\n disabled = _this$props.disabled;\n if (disabled || !node || isHidden(node) || node.className.includes('-leave')) {\n return;\n }\n _this.extraNode = document.createElement('div');\n var _assertThisInitialize = _assertThisInitialized(_this),\n extraNode = _assertThisInitialize.extraNode;\n var getPrefixCls = _this.context.getPrefixCls;\n extraNode.className = \"\".concat(getPrefixCls(''), \"-click-animating-node\");\n var attributeName = _this.getAttributeName();\n node.setAttribute(attributeName, 'true');\n // Not white or transparent or grey\n if (waveColor && waveColor !== '#fff' && waveColor !== '#ffffff' && waveColor !== 'rgb(255, 255, 255)' && waveColor !== 'rgba(255, 255, 255, 1)' && isNotGrey(waveColor) && !/rgba\\((?:\\d*, ){3}0\\)/.test(waveColor) &&\n // any transparent rgba color\n waveColor !== 'transparent') {\n extraNode.style.borderColor = waveColor;\n var nodeRoot = ((_a = node.getRootNode) === null || _a === void 0 ? void 0 : _a.call(node)) || node.ownerDocument;\n var nodeBody = (_b = getValidateContainer(nodeRoot)) !== null && _b !== void 0 ? _b : nodeRoot;\n styleForPseudo = updateCSS(\"\\n [\".concat(getPrefixCls(''), \"-click-animating-without-extra-node='true']::after, .\").concat(getPrefixCls(''), \"-click-animating-node {\\n --antd-wave-shadow-color: \").concat(waveColor, \";\\n }\"), 'antd-wave', {\n csp: _this.csp,\n attachTo: nodeBody\n });\n }\n if (insertExtraNode) {\n node.appendChild(extraNode);\n }\n ['transition', 'animation'].forEach(function (name) {\n node.addEventListener(\"\".concat(name, \"start\"), _this.onTransitionStart);\n node.addEventListener(\"\".concat(name, \"end\"), _this.onTransitionEnd);\n });\n };\n _this.onTransitionStart = function (e) {\n if (_this.destroyed) {\n return;\n }\n var node = _this.containerRef.current;\n if (!e || e.target !== node || _this.animationStart) {\n return;\n }\n _this.resetEffect(node);\n };\n _this.onTransitionEnd = function (e) {\n if (!e || e.animationName !== 'fadeEffect') {\n return;\n }\n _this.resetEffect(e.target);\n };\n _this.bindAnimationEvent = function (node) {\n if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.includes('disabled')) {\n return;\n }\n var onClick = function onClick(e) {\n // Fix radio button click twice\n if (e.target.tagName === 'INPUT' || isHidden(e.target)) {\n return;\n }\n _this.resetEffect(node);\n // Get wave color from target\n var waveColor = getComputedStyle(node).getPropertyValue('border-top-color') ||\n // Firefox Compatible\n getComputedStyle(node).getPropertyValue('border-color') || getComputedStyle(node).getPropertyValue('background-color');\n _this.clickWaveTimeoutId = window.setTimeout(function () {\n return _this.onClick(node, waveColor);\n }, 0);\n raf.cancel(_this.animationStartId);\n _this.animationStart = true;\n // Render to trigger transition event cost 3 frames. Let's delay 10 frames to reset this.\n _this.animationStartId = raf(function () {\n _this.animationStart = false;\n }, 10);\n };\n node.addEventListener('click', onClick, true);\n return {\n cancel: function cancel() {\n node.removeEventListener('click', onClick, true);\n }\n };\n };\n _this.renderWave = function (_ref) {\n var csp = _ref.csp;\n var children = _this.props.children;\n _this.csp = csp;\n if (! /*#__PURE__*/React.isValidElement(children)) return children;\n var ref = _this.containerRef;\n if (supportRef(children)) {\n ref = composeRef(children.ref, _this.containerRef);\n }\n return cloneElement(children, {\n ref: ref\n });\n };\n return _this;\n }\n _createClass(Wave, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.destroyed = false;\n var node = this.containerRef.current;\n if (!node || node.nodeType !== 1) {\n return;\n }\n this.instance = this.bindAnimationEvent(node);\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.instance) {\n this.instance.cancel();\n }\n if (this.clickWaveTimeoutId) {\n clearTimeout(this.clickWaveTimeoutId);\n }\n this.destroyed = true;\n }\n }, {\n key: \"getAttributeName\",\n value: function getAttributeName() {\n var getPrefixCls = this.context.getPrefixCls;\n var insertExtraNode = this.props.insertExtraNode;\n return insertExtraNode ? \"\".concat(getPrefixCls(''), \"-click-animating\") : \"\".concat(getPrefixCls(''), \"-click-animating-without-extra-node\");\n }\n }, {\n key: \"resetEffect\",\n value: function resetEffect(node) {\n var _this2 = this;\n if (!node || node === this.extraNode || !(node instanceof Element)) {\n return;\n }\n var insertExtraNode = this.props.insertExtraNode;\n var attributeName = this.getAttributeName();\n node.setAttribute(attributeName, 'false'); // edge has bug on `removeAttribute` #14466\n if (styleForPseudo) {\n styleForPseudo.innerHTML = '';\n }\n if (insertExtraNode && this.extraNode && node.contains(this.extraNode)) {\n node.removeChild(this.extraNode);\n }\n ['transition', 'animation'].forEach(function (name) {\n node.removeEventListener(\"\".concat(name, \"start\"), _this2.onTransitionStart);\n node.removeEventListener(\"\".concat(name, \"end\"), _this2.onTransitionEnd);\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, this.renderWave);\n }\n }]);\n return Wave;\n}(React.Component);\nWave.contextType = ConfigContext;\nexport default Wave;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nexport var GroupSizeContext = /*#__PURE__*/React.createContext(undefined);\nvar ButtonGroup = function ButtonGroup(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n size = props.size,\n className = props.className,\n others = __rest(props, [\"prefixCls\", \"size\", \"className\"]);\n var prefixCls = getPrefixCls('btn-group', customizePrefixCls);\n // large => lg\n // small => sm\n var sizeCls = '';\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n case 'middle':\n case undefined:\n break;\n default:\n process.env.NODE_ENV !== \"production\" ? warning(!size, 'Button.Group', 'Invalid prop `size`.') : void 0;\n }\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n return /*#__PURE__*/React.createElement(GroupSizeContext.Provider, {\n value: size\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes\n })));\n};\nexport default ButtonGroup;","import LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport CSSMotion from 'rc-motion';\nimport React from 'react';\nvar getCollapsedWidth = function getCollapsedWidth() {\n return {\n width: 0,\n opacity: 0,\n transform: 'scale(0)'\n };\n};\nvar getRealWidth = function getRealWidth(node) {\n return {\n width: node.scrollWidth,\n opacity: 1,\n transform: 'scale(1)'\n };\n};\nvar LoadingIcon = function LoadingIcon(_ref) {\n var prefixCls = _ref.prefixCls,\n loading = _ref.loading,\n existIcon = _ref.existIcon;\n var visible = !!loading;\n if (existIcon) {\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-loading-icon\")\n }, /*#__PURE__*/React.createElement(LoadingOutlined, null));\n }\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n // We do not really use this motionName\n motionName: \"\".concat(prefixCls, \"-loading-icon-motion\"),\n removeOnLeave: true,\n onAppearStart: getCollapsedWidth,\n onAppearActive: getRealWidth,\n onEnterStart: getCollapsedWidth,\n onEnterActive: getRealWidth,\n onLeaveStart: getRealWidth,\n onLeaveActive: getCollapsedWidth\n }, function (_ref2, ref) {\n var className = _ref2.className,\n style = _ref2.style;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-loading-icon\"),\n style: style,\n ref: ref\n }, /*#__PURE__*/React.createElement(LoadingOutlined, {\n className: className\n }));\n });\n};\nexport default LoadingIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n/* eslint-disable react/button-has-type */\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { cloneElement, isFragment } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nimport warning from '../_util/warning';\nimport Wave from '../_util/wave';\nimport Group, { GroupSizeContext } from './button-group';\nimport LoadingIcon from './LoadingIcon';\nvar rxTwoCNChar = /^[\\u4e00-\\u9fa5]{2}$/;\nvar isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);\nfunction isString(str) {\n return typeof str === 'string';\n}\nfunction isUnBorderedButtonType(type) {\n return type === 'text' || type === 'link';\n}\n// Insert one space between two chinese characters automatically.\nfunction insertSpace(child, needInserted) {\n // Check the child if is undefined or null.\n if (child === null || child === undefined) {\n return;\n }\n var SPACE = needInserted ? ' ' : '';\n // strictNullChecks oops.\n if (typeof child !== 'string' && typeof child !== 'number' && isString(child.type) && isTwoCNChar(child.props.children)) {\n return cloneElement(child, {\n children: child.props.children.split('').join(SPACE)\n });\n }\n if (typeof child === 'string') {\n return isTwoCNChar(child) ? /*#__PURE__*/React.createElement(\"span\", null, child.split('').join(SPACE)) : /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n if (isFragment(child)) {\n return /*#__PURE__*/React.createElement(\"span\", null, child);\n }\n return child;\n}\nfunction spaceChildren(children, needInserted) {\n var isPrevChildPure = false;\n var childList = [];\n React.Children.forEach(children, function (child) {\n var type = _typeof(child);\n var isCurrentChildPure = type === 'string' || type === 'number';\n if (isPrevChildPure && isCurrentChildPure) {\n var lastIndex = childList.length - 1;\n var lastChild = childList[lastIndex];\n childList[lastIndex] = \"\".concat(lastChild).concat(child);\n } else {\n childList.push(child);\n }\n isPrevChildPure = isCurrentChildPure;\n });\n // Pass to React.Children.map to auto fill key\n return React.Children.map(childList, function (child) {\n return insertSpace(child, needInserted);\n });\n}\nvar ButtonTypes = tuple('default', 'primary', 'ghost', 'dashed', 'link', 'text');\nvar ButtonShapes = tuple('default', 'circle', 'round');\nvar ButtonHTMLTypes = tuple('submit', 'button', 'reset');\nexport function convertLegacyProps(type) {\n if (type === 'danger') {\n return {\n danger: true\n };\n }\n return {\n type: type\n };\n}\nvar InternalButton = function InternalButton(props, ref) {\n var _classNames;\n var _props$loading = props.loading,\n loading = _props$loading === void 0 ? false : _props$loading,\n customizePrefixCls = props.prefixCls,\n _props$type = props.type,\n type = _props$type === void 0 ? 'default' : _props$type,\n danger = props.danger,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'default' : _props$shape,\n customizeSize = props.size,\n customDisabled = props.disabled,\n className = props.className,\n children = props.children,\n icon = props.icon,\n _props$ghost = props.ghost,\n ghost = _props$ghost === void 0 ? false : _props$ghost,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$htmlType = props.htmlType,\n htmlType = _props$htmlType === void 0 ? 'button' : _props$htmlType,\n rest = __rest(props, [\"loading\", \"prefixCls\", \"type\", \"danger\", \"shape\", \"size\", \"disabled\", \"className\", \"children\", \"icon\", \"ghost\", \"block\", \"htmlType\"]);\n var size = React.useContext(SizeContext);\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n var groupSize = React.useContext(GroupSizeContext);\n var _React$useState = React.useState(!!loading),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerLoading = _React$useState2[0],\n setLoading = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n hasTwoCNChar = _React$useState4[0],\n setHasTwoCNChar = _React$useState4[1];\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n autoInsertSpaceInButton = _React$useContext.autoInsertSpaceInButton,\n direction = _React$useContext.direction;\n var buttonRef = ref || /*#__PURE__*/React.createRef();\n var isNeedInserted = function isNeedInserted() {\n return React.Children.count(children) === 1 && !icon && !isUnBorderedButtonType(type);\n };\n var fixTwoCNChar = function fixTwoCNChar() {\n // Fix for HOC usage like \n if (!buttonRef || !buttonRef.current || autoInsertSpaceInButton === false) {\n return;\n }\n var buttonText = buttonRef.current.textContent;\n if (isNeedInserted() && isTwoCNChar(buttonText)) {\n if (!hasTwoCNChar) {\n setHasTwoCNChar(true);\n }\n } else if (hasTwoCNChar) {\n setHasTwoCNChar(false);\n }\n };\n // =============== Update Loading ===============\n var loadingOrDelay = typeof loading === 'boolean' ? loading : (loading === null || loading === void 0 ? void 0 : loading.delay) || true;\n React.useEffect(function () {\n var delayTimer = null;\n if (typeof loadingOrDelay === 'number') {\n delayTimer = window.setTimeout(function () {\n delayTimer = null;\n setLoading(loadingOrDelay);\n }, loadingOrDelay);\n } else {\n setLoading(loadingOrDelay);\n }\n return function () {\n if (delayTimer) {\n // in order to not perform a React state update on an unmounted component\n // and clear timer after 'loadingOrDelay' updated.\n window.clearTimeout(delayTimer);\n delayTimer = null;\n }\n };\n }, [loadingOrDelay]);\n React.useEffect(fixTwoCNChar, [buttonRef]);\n var handleClick = function handleClick(e) {\n var onClick = props.onClick;\n // https://github.com/ant-design/ant-design/issues/30207\n if (innerLoading || mergedDisabled) {\n e.preventDefault();\n return;\n }\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Button', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(ghost && isUnBorderedButtonType(type)), 'Button', \"`link` or `text` button can't be a `ghost` button.\") : void 0;\n var prefixCls = getPrefixCls('btn', customizePrefixCls);\n var autoInsertSpace = autoInsertSpaceInButton !== false;\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var sizeClassNameMap = {\n large: 'lg',\n small: 'sm',\n middle: undefined\n };\n var sizeFullname = compactSize || groupSize || customizeSize || size;\n var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';\n var iconType = innerLoading ? 'loading' : icon;\n var linkButtonRestProps = omit(rest, ['navigate']);\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(shape), shape !== 'default' && shape), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(type), type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-icon-only\"), !children && children !== 0 && !!iconType), _defineProperty(_classNames, \"\".concat(prefixCls, \"-background-ghost\"), ghost && !isUnBorderedButtonType(type)), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), innerLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-two-chinese-chars\"), hasTwoCNChar && autoInsertSpace && !innerLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dangerous\"), !!danger), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), linkButtonRestProps.href !== undefined && mergedDisabled), _classNames), compactItemClassnames, className);\n var iconNode = icon && !innerLoading ? icon : /*#__PURE__*/React.createElement(LoadingIcon, {\n existIcon: !!icon,\n prefixCls: prefixCls,\n loading: !!innerLoading\n });\n var kids = children || children === 0 ? spaceChildren(children, isNeedInserted() && autoInsertSpace) : null;\n if (linkButtonRestProps.href !== undefined) {\n return /*#__PURE__*/React.createElement(\"a\", _extends({}, linkButtonRestProps, {\n className: classes,\n onClick: handleClick,\n ref: buttonRef\n }), iconNode, kids);\n }\n var buttonNode = /*#__PURE__*/React.createElement(\"button\", _extends({}, rest, {\n type: htmlType,\n className: classes,\n onClick: handleClick,\n disabled: mergedDisabled,\n ref: buttonRef\n }), iconNode, kids);\n if (isUnBorderedButtonType(type)) {\n return buttonNode;\n }\n return /*#__PURE__*/React.createElement(Wave, {\n disabled: !!innerLoading\n }, buttonNode);\n};\nvar Button = /*#__PURE__*/React.forwardRef(InternalButton);\nif (process.env.NODE_ENV !== 'production') {\n Button.displayName = 'Button';\n}\nButton.Group = Group;\nButton.__ANT_BUTTON = true;\nexport default Button;","import Button from './button';\nexport default Button;","import * as React from 'react';\nvar DisabledContext = /*#__PURE__*/React.createContext(false);\nexport var DisabledContextProvider = function DisabledContextProvider(_ref) {\n var children = _ref.children,\n disabled = _ref.disabled;\n var originDisabled = React.useContext(DisabledContext);\n return /*#__PURE__*/React.createElement(DisabledContext.Provider, {\n value: disabled || originDisabled\n }, children);\n};\nexport default DisabledContext;","import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext(undefined);\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n var children = _ref.children,\n size = _ref.size;\n return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n });\n};\nexport default SizeContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nvar defaultGetPrefixCls = function defaultGetPrefixCls(suffixCls, customizePrefixCls) {\n if (customizePrefixCls) return customizePrefixCls;\n return suffixCls ? \"ant-\".concat(suffixCls) : 'ant';\n};\n// zombieJ: 🚨 Do not pass `defaultRenderEmpty` here since it will case circular dependency.\nexport var ConfigContext = /*#__PURE__*/React.createContext({\n // We provide a default function for Context without provider\n getPrefixCls: defaultGetPrefixCls\n});\nexport var ConfigConsumer = ConfigContext.Consumer;\n/** @deprecated Use hooks instead. This is a legacy function */\nexport function withConfigConsumer(config) {\n return function withConfigConsumerFunc(Component) {\n // Wrap with ConfigConsumer. Since we need compatible with react 15, be care when using ref methods\n var SFC = function SFC(props) {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (configProps) {\n var basicPrefixCls = config.prefixCls;\n var getPrefixCls = configProps.getPrefixCls;\n var customizePrefixCls = props.prefixCls;\n var prefixCls = getPrefixCls(basicPrefixCls, customizePrefixCls);\n return /*#__PURE__*/React.createElement(Component, _extends({}, configProps, props, {\n prefixCls: prefixCls\n }));\n });\n };\n var cons = Component.constructor;\n var name = cons && cons.displayName || Component.name || 'Component';\n if (process.env.NODE_ENV !== 'production') {\n SFC.displayName = \"withConfigConsumer(\".concat(name, \")\");\n }\n return SFC;\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nexport var SpaceCompactItemContext = /*#__PURE__*/React.createContext(null);\nexport var useCompactItemContext = function useCompactItemContext(prefixCls, direction) {\n var compactItemContext = React.useContext(SpaceCompactItemContext);\n var compactItemClassnames = React.useMemo(function () {\n var _classNames;\n if (!compactItemContext) return '';\n var compactDirection = compactItemContext.compactDirection,\n isFirstItem = compactItemContext.isFirstItem,\n isLastItem = compactItemContext.isLastItem;\n var separator = compactDirection === 'vertical' ? '-vertical-' : '-';\n return classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\").concat(separator, \"item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\").concat(separator, \"first-item\"), isFirstItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\").concat(separator, \"last-item\"), isLastItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\").concat(separator, \"item-rtl\"), direction === 'rtl'), _classNames));\n }, [prefixCls, direction, compactItemContext]);\n return {\n compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,\n compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,\n compactItemClassnames: compactItemClassnames\n };\n};\nexport var NoCompactStyle = function NoCompactStyle(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {\n value: null\n }, children);\n};\nvar CompactItem = function CompactItem(_a) {\n var children = _a.children,\n otherProps = __rest(_a, [\"children\"]);\n return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {\n value: otherProps\n }, children);\n};\nvar Compact = function Compact(props) {\n var _classNames2;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n directionConfig = _React$useContext.direction;\n var _props$size = props.size,\n size = _props$size === void 0 ? 'middle' : _props$size,\n direction = props.direction,\n block = props.block,\n customizePrefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n restProps = __rest(props, [\"size\", \"direction\", \"block\", \"prefixCls\", \"className\", \"children\"]);\n var prefixCls = getPrefixCls('space-compact', customizePrefixCls);\n var clx = classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), directionConfig === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-block\"), block), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-vertical\"), direction === 'vertical'), _classNames2), className);\n var compactItemContext = React.useContext(SpaceCompactItemContext);\n var childNodes = toArray(children);\n var nodes = React.useMemo(function () {\n return childNodes.map(function (child, i) {\n var key = child && child.key || \"\".concat(prefixCls, \"-item-\").concat(i);\n return /*#__PURE__*/React.createElement(CompactItem, {\n key: key,\n compactSize: size,\n compactDirection: direction,\n isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)),\n isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem))\n }, child);\n });\n }, [size, childNodes, compactItemContext]);\n // =========================== Render ===========================\n if (childNodes.length === 0) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clx\n }, restProps), nodes);\n};\nexport default Compact;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcTooltip from 'rc-tooltip';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes } from '../_util/colors';\nimport { getTransitionName } from '../_util/motion';\nimport getPlacements from '../_util/placements';\nimport { cloneElement, isValidElement, isFragment } from '../_util/reactNode';\nimport warning from '../_util/warning';\nvar splitObject = function splitObject(obj, keys) {\n var picked = {};\n var omitted = _extends({}, obj);\n keys.forEach(function (key) {\n if (obj && key in obj) {\n picked[key] = obj[key];\n delete omitted[key];\n }\n });\n return {\n picked: picked,\n omitted: omitted\n };\n};\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\n// Fix Tooltip won't hide at disabled button\n// mouse events don't trigger at disabled button in Chrome\n// https://github.com/react-component/tooltip/issues/18\nfunction getDisabledCompatibleChildren(element, prefixCls) {\n var elementType = element.type;\n if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading) || elementType.__ANT_RADIO === true && element.props.disabled) {\n // Pick some layout related style properties up to span\n // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254\n var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']),\n picked = _splitObject.picked,\n omitted = _splitObject.omitted;\n var spanStyle = _extends(_extends({\n display: 'inline-block'\n }, picked), {\n cursor: 'not-allowed',\n width: element.props.block ? '100%' : undefined\n });\n var buttonStyle = _extends(_extends({}, omitted), {\n pointerEvents: 'none'\n });\n var child = cloneElement(element, {\n style: buttonStyle,\n className: null\n });\n return /*#__PURE__*/React.createElement(\"span\", {\n style: spanStyle,\n className: classNames(element.props.className, \"\".concat(prefixCls, \"-disabled-compatible-wrapper\"))\n }, child);\n }\n return element;\n}\nvar Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames2;\n var _React$useContext = React.useContext(ConfigContext),\n getContextPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n [['visible', 'open'], ['defaultVisible', 'defaultOpen'], ['onVisibleChange', 'onOpenChange'], ['afterVisibleChange', 'afterOpenChange']].forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n deprecatedName = _ref2[0],\n newName = _ref2[1];\n process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Tooltip', \"`\".concat(deprecatedName, \"` is deprecated which will be removed in next major version, please use `\").concat(newName, \"` instead.\")) : void 0;\n });\n }\n var _useMergedState = useMergedState(false, {\n value: props.open !== undefined ? props.open : props.visible,\n defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n open = _useMergedState2[0],\n setOpen = _useMergedState2[1];\n var isNoTitle = function isNoTitle() {\n var title = props.title,\n overlay = props.overlay;\n return !title && !overlay && title !== 0; // overlay for old version compatibility\n };\n\n var onOpenChange = function onOpenChange(vis) {\n var _a, _b;\n setOpen(isNoTitle() ? false : vis);\n if (!isNoTitle()) {\n (_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, vis);\n (_b = props.onVisibleChange) === null || _b === void 0 ? void 0 : _b.call(props, vis);\n }\n };\n var getTooltipPlacements = function getTooltipPlacements() {\n var builtinPlacements = props.builtinPlacements,\n _props$arrowPointAtCe = props.arrowPointAtCenter,\n arrowPointAtCenter = _props$arrowPointAtCe === void 0 ? false : _props$arrowPointAtCe,\n _props$autoAdjustOver = props.autoAdjustOverflow,\n autoAdjustOverflow = _props$autoAdjustOver === void 0 ? true : _props$autoAdjustOver;\n return builtinPlacements || getPlacements({\n arrowPointAtCenter: arrowPointAtCenter,\n autoAdjustOverflow: autoAdjustOverflow\n });\n };\n // 动态设置动画点\n var onPopupAlign = function onPopupAlign(domNode, align) {\n var placements = getTooltipPlacements();\n // 当前返回的位置\n var placement = Object.keys(placements).find(function (key) {\n var _a, _b;\n return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]);\n });\n if (!placement) {\n return;\n }\n // 根据当前坐标设置动画点\n var rect = domNode.getBoundingClientRect();\n var transformOrigin = {\n top: '50%',\n left: '50%'\n };\n if (/top|Bottom/.test(placement)) {\n transformOrigin.top = \"\".concat(rect.height - align.offset[1], \"px\");\n } else if (/Top|bottom/.test(placement)) {\n transformOrigin.top = \"\".concat(-align.offset[1], \"px\");\n }\n if (/left|Right/.test(placement)) {\n transformOrigin.left = \"\".concat(rect.width - align.offset[0], \"px\");\n } else if (/right|Left/.test(placement)) {\n transformOrigin.left = \"\".concat(-align.offset[0], \"px\");\n }\n domNode.style.transformOrigin = \"\".concat(transformOrigin.left, \" \").concat(transformOrigin.top);\n };\n var getOverlay = function getOverlay() {\n var title = props.title,\n overlay = props.overlay;\n if (title === 0) {\n return title;\n }\n return overlay || title || '';\n };\n var getPopupContainer = props.getPopupContainer,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n otherProps = __rest(props, [\"getPopupContainer\", \"placement\", \"mouseEnterDelay\", \"mouseLeaveDelay\"]);\n var customizePrefixCls = props.prefixCls,\n openClassName = props.openClassName,\n getTooltipContainer = props.getTooltipContainer,\n overlayClassName = props.overlayClassName,\n color = props.color,\n overlayInnerStyle = props.overlayInnerStyle,\n children = props.children;\n var prefixCls = getPrefixCls('tooltip', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var tempOpen = open;\n // Hide tooltip when there is no title\n if (!('open' in props) && !('visible' in props) && isNoTitle()) {\n tempOpen = false;\n }\n var child = getDisabledCompatibleChildren(isValidElement(children) && !isFragment(children) ? children : /*#__PURE__*/React.createElement(\"span\", null, children), prefixCls);\n var childProps = child.props;\n var childCls = !childProps.className || typeof childProps.className === 'string' ? classNames(childProps.className, _defineProperty({}, openClassName || \"\".concat(prefixCls, \"-open\"), true)) : childProps.className;\n var customOverlayClassName = classNames(overlayClassName, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-\").concat(color), color && PresetColorRegex.test(color)), _classNames2));\n var formattedOverlayInnerStyle = overlayInnerStyle;\n var arrowContentStyle = {};\n if (color && !PresetColorRegex.test(color)) {\n formattedOverlayInnerStyle = _extends(_extends({}, overlayInnerStyle), {\n background: color\n });\n // @ts-ignore\n arrowContentStyle = {\n '--antd-arrow-background-color': color\n };\n }\n return /*#__PURE__*/React.createElement(RcTooltip, _extends({}, otherProps, {\n placement: placement,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n prefixCls: prefixCls,\n overlayClassName: customOverlayClassName,\n getTooltipContainer: getPopupContainer || getTooltipContainer || getContextPopupContainer,\n ref: ref,\n builtinPlacements: getTooltipPlacements(),\n overlay: getOverlay(),\n visible: tempOpen,\n onVisibleChange: onOpenChange,\n onPopupAlign: onPopupAlign,\n overlayInnerStyle: formattedOverlayInnerStyle,\n arrowContent: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-arrow-content\"),\n style: arrowContentStyle\n }),\n motion: {\n motionName: getTransitionName(rootPrefixCls, 'zoom-big-fast', props.transitionName),\n motionDeadline: 1000\n }\n }), tempOpen ? cloneElement(child, {\n className: childCls\n }) : child);\n});\nif (process.env.NODE_ENV !== 'production') {\n Tooltip.displayName = 'Tooltip';\n}\nexport default Tooltip;","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = NoSSR;\nexports.suspense = suspense;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _noSsrError = require(\"./no-ssr-error\");\nfunction NoSSR({ children }) {\n if (typeof window === 'undefined') {\n suspense();\n }\n return children;\n}\n\nfunction suspense() {\n const error = new Error(_noSsrError.NEXT_DYNAMIC_NO_SSR_CODE);\n error.digest = _noSsrError.NEXT_DYNAMIC_NO_SSR_CODE;\n throw error;\n}\n\n//# sourceMappingURL=dynamic-no-ssr.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = dynamic;\nexports.noSSR = noSSR;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _loadable = _interop_require_default(require(\"./loadable\"));\nvar _dynamicNoSsr = _interop_require_default(require(\"./dynamic-no-ssr\"));\nfunction dynamic(dynamicOptions, options) {\n let loadableFn = _loadable.default;\n let loadableOptions = {\n // A loading component is not required, so we default it\n loading: ({ error , isLoading , pastDelay })=>{\n if (!pastDelay) return null;\n if (process.env.NODE_ENV !== 'production') {\n if (isLoading) {\n return null;\n }\n if (error) {\n return /*#__PURE__*/ _react.default.createElement(\"p\", null, error.message, /*#__PURE__*/ _react.default.createElement(\"br\", null), error.stack);\n }\n }\n return null;\n }\n };\n // Support for direct import(), eg: dynamic(import('../hello-world'))\n // Note that this is only kept for the edge case where someone is passing in a promise as first argument\n // The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))\n // To make sure we don't execute the import without rendering first\n if (dynamicOptions instanceof Promise) {\n loadableOptions.loader = ()=>dynamicOptions;\n // Support for having import as a function, eg: dynamic(() => import('../hello-world'))\n } else if (typeof dynamicOptions === 'function') {\n loadableOptions.loader = dynamicOptions;\n // Support for having first argument being options, eg: dynamic({loader: import('../hello-world')})\n } else if (typeof dynamicOptions === 'object') {\n loadableOptions = _extends({}, loadableOptions, dynamicOptions);\n }\n // Support for passing options, eg: dynamic(import('../hello-world'), {loading: () =>

Loading something

})\n loadableOptions = _extends({}, loadableOptions, options);\n const loaderFn = loadableOptions.loader;\n const loader = ()=>loaderFn().then(convertModule);\n // coming from build/babel/plugins/react-loadable-plugin.js\n if (loadableOptions.loadableGenerated) {\n loadableOptions = _extends({}, loadableOptions, loadableOptions.loadableGenerated, {\n loader\n });\n delete loadableOptions.loadableGenerated;\n }\n // support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).\n if (typeof loadableOptions.ssr === 'boolean') {\n if (!loadableOptions.ssr) {\n delete loadableOptions.ssr;\n return noSSR(loader, loadableOptions);\n }\n delete loadableOptions.ssr;\n }\n return loadableFn(loadableOptions);\n}\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule(mod) {\n return {\n default: mod.default || mod\n };\n}\nfunction noSSR(LoadableInitializer, loadableOptions) {\n // Removing webpack and modules means react-loadable won't try preloading\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n const NoSSRComponent = /*#__PURE__*/ (0, _react).lazy(LoadableInitializer);\n const Loading = loadableOptions.loading;\n const fallback = /*#__PURE__*/ _react.default.createElement(Loading, {\n error: null,\n isLoading: true,\n pastDelay: false,\n timedOut: false\n });\n return (props)=>/*#__PURE__*/ _react.default.createElement(_react.Suspense, {\n fallback: fallback\n }, /*#__PURE__*/ _react.default.createElement(_dynamicNoSsr.default, null, /*#__PURE__*/ _react.default.createElement(NoSSRComponent, Object.assign({}, props))));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=dynamic.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LoadableContext = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\n\nconst LoadableContext = _react.default.createContext(null);\nexports.LoadableContext = LoadableContext;\nif (process.env.NODE_ENV !== 'production') {\n LoadableContext.displayName = 'LoadableContext';\n}\n\n//# sourceMappingURL=loadable-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _loadableContext = require(\"./loadable-context\");\nconst ALL_INITIALIZERS = [];\nconst READY_INITIALIZERS = [];\nlet initialized = false;\nfunction load(loader) {\n let promise = loader();\n let state = {\n loading: true,\n loaded: null,\n error: null\n };\n state.promise = promise.then((loaded)=>{\n state.loading = false;\n state.loaded = loaded;\n return loaded;\n }).catch((err)=>{\n state.loading = false;\n state.error = err;\n throw err;\n });\n return state;\n}\nfunction createLoadableComponent(loadFn, options) {\n let opts = Object.assign({\n loader: null,\n loading: null,\n delay: 200,\n timeout: null,\n webpack: null,\n modules: null\n }, options);\n opts.lazy = _react.default.lazy(opts.loader);\n /** @type LoadableSubscription */ let subscription = null;\n function init() {\n if (!subscription) {\n const sub = new LoadableSubscription(loadFn, opts);\n subscription = {\n getCurrentValue: sub.getCurrentValue.bind(sub),\n subscribe: sub.subscribe.bind(sub),\n retry: sub.retry.bind(sub),\n promise: sub.promise.bind(sub)\n };\n }\n return subscription.promise();\n }\n // Server only\n if (typeof window === 'undefined') {\n ALL_INITIALIZERS.push(init);\n }\n // Client only\n if (!initialized && typeof window !== 'undefined') {\n // require.resolveWeak check is needed for environments that don't have it available like Jest\n const moduleIds = opts.webpack && typeof require.resolveWeak === 'function' ? opts.webpack() : opts.modules;\n if (moduleIds) {\n READY_INITIALIZERS.push((ids)=>{\n for (const moduleId of moduleIds){\n if (ids.indexOf(moduleId) !== -1) {\n return init();\n }\n }\n });\n }\n }\n function useLoadableModule() {\n init();\n const context = _react.default.useContext(_loadableContext.LoadableContext);\n if (context && Array.isArray(opts.modules)) {\n opts.modules.forEach((moduleName)=>{\n context(moduleName);\n });\n }\n }\n function LoadableComponent(props) {\n useLoadableModule();\n const fallbackElement = _react.default.createElement(opts.loading, {\n isLoading: true,\n pastDelay: true,\n error: null\n });\n return _react.default.createElement(_react.default.Suspense, {\n fallback: fallbackElement\n }, _react.default.createElement(opts.lazy, props));\n }\n LoadableComponent.preload = ()=>init();\n LoadableComponent.displayName = 'LoadableComponent';\n return LoadableComponent;\n}\nclass LoadableSubscription {\n promise() {\n return this._res.promise;\n }\n retry() {\n this._clearTimeouts();\n this._res = this._loadFn(this._opts.loader);\n this._state = {\n pastDelay: false,\n timedOut: false\n };\n const { _res: res , _opts: opts } = this;\n if (res.loading) {\n if (typeof opts.delay === 'number') {\n if (opts.delay === 0) {\n this._state.pastDelay = true;\n } else {\n this._delay = setTimeout(()=>{\n this._update({\n pastDelay: true\n });\n }, opts.delay);\n }\n }\n if (typeof opts.timeout === 'number') {\n this._timeout = setTimeout(()=>{\n this._update({\n timedOut: true\n });\n }, opts.timeout);\n }\n }\n this._res.promise.then(()=>{\n this._update({});\n this._clearTimeouts();\n }).catch((_err)=>{\n this._update({});\n this._clearTimeouts();\n });\n this._update({});\n }\n _update(partial) {\n this._state = _extends({}, this._state, {\n error: this._res.error,\n loaded: this._res.loaded,\n loading: this._res.loading\n }, partial);\n this._callbacks.forEach((callback)=>callback());\n }\n _clearTimeouts() {\n clearTimeout(this._delay);\n clearTimeout(this._timeout);\n }\n getCurrentValue() {\n return this._state;\n }\n subscribe(callback) {\n this._callbacks.add(callback);\n return ()=>{\n this._callbacks.delete(callback);\n };\n }\n constructor(loadFn, opts){\n this._loadFn = loadFn;\n this._opts = opts;\n this._callbacks = new Set();\n this._delay = null;\n this._timeout = null;\n this.retry();\n }\n}\nfunction Loadable(opts) {\n return createLoadableComponent(load, opts);\n}\nfunction flushInitializers(initializers, ids) {\n let promises = [];\n while(initializers.length){\n let init = initializers.pop();\n promises.push(init(ids));\n }\n return Promise.all(promises).then(()=>{\n if (initializers.length) {\n return flushInitializers(initializers, ids);\n }\n });\n}\nLoadable.preloadAll = ()=>{\n return new Promise((resolveInitializers, reject)=>{\n flushInitializers(ALL_INITIALIZERS).then(resolveInitializers, reject);\n });\n};\nLoadable.preloadReady = (ids = [])=>{\n return new Promise((resolvePreload)=>{\n const res = ()=>{\n initialized = true;\n return resolvePreload();\n };\n // We always will resolve, errors should be handled within loading UIs.\n flushInitializers(READY_INITIALIZERS, ids).then(res, res);\n });\n};\nif (typeof window !== 'undefined') {\n window.__NEXT_PRELOADREADY = Loadable.preloadReady;\n}\nvar _default = Loadable;\nexports.default = _default;\n\n//# sourceMappingURL=loadable.js.map","module.exports = require('./dist/shared/lib/dynamic')\n","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport canUseDOM from \"rc-util/es/Dom/canUseDom\"; // ================= Transition =================\n// Event wrapper. Copy from react source code\n\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\".concat(styleProp)] = \"webkit\".concat(eventName);\n prefixes[\"Moz\".concat(styleProp)] = \"moz\".concat(eventName);\n prefixes[\"ms\".concat(styleProp)] = \"MS\".concat(eventName);\n prefixes[\"O\".concat(styleProp)] = \"o\".concat(eventName.toLowerCase());\n return prefixes;\n}\n\nexport function getVendorPrefixes(domSupport, win) {\n var prefixes = {\n animationend: makePrefixMap('Animation', 'AnimationEnd'),\n transitionend: makePrefixMap('Transition', 'TransitionEnd')\n };\n\n if (domSupport) {\n if (!('AnimationEvent' in win)) {\n delete prefixes.animationend.animation;\n }\n\n if (!('TransitionEvent' in win)) {\n delete prefixes.transitionend.transition;\n }\n }\n\n return prefixes;\n}\nvar vendorPrefixes = getVendorPrefixes(canUseDOM(), typeof window !== 'undefined' ? window : {});\nvar style = {};\n\nif (canUseDOM()) {\n var _document$createEleme = document.createElement('div');\n\n style = _document$createEleme.style;\n}\n\nvar prefixedEventNames = {};\nexport function getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n }\n\n var prefixMap = vendorPrefixes[eventName];\n\n if (prefixMap) {\n var stylePropList = Object.keys(prefixMap);\n var len = stylePropList.length;\n\n for (var i = 0; i < len; i += 1) {\n var styleProp = stylePropList[i];\n\n if (Object.prototype.hasOwnProperty.call(prefixMap, styleProp) && styleProp in style) {\n prefixedEventNames[eventName] = prefixMap[styleProp];\n return prefixedEventNames[eventName];\n }\n }\n }\n\n return '';\n}\nvar internalAnimationEndName = getVendorPrefixedEventName('animationend');\nvar internalTransitionEndName = getVendorPrefixedEventName('transitionend');\nexport var supportTransition = !!(internalAnimationEndName && internalTransitionEndName);\nexport var animationEndName = internalAnimationEndName || 'animationend';\nexport var transitionEndName = internalTransitionEndName || 'transitionend';\nexport function getTransitionName(transitionName, transitionType) {\n if (!transitionName) return null;\n\n if (_typeof(transitionName) === 'object') {\n var type = transitionType.replace(/-\\w/g, function (match) {\n return match[1].toUpperCase();\n });\n return transitionName[type];\n }\n\n return \"\".concat(transitionName, \"-\").concat(transitionType);\n}","export var STATUS_NONE = 'none';\nexport var STATUS_APPEAR = 'appear';\nexport var STATUS_ENTER = 'enter';\nexport var STATUS_LEAVE = 'leave';\nexport var STEP_NONE = 'none';\nexport var STEP_PREPARE = 'prepare';\nexport var STEP_START = 'start';\nexport var STEP_ACTIVE = 'active';\nexport var STEP_ACTIVATED = 'end';","import * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default (function () {\n var nextFrameRef = React.useRef(null);\n\n function cancelNextFrame() {\n raf.cancel(nextFrameRef.current);\n }\n\n function nextFrame(callback) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n cancelNextFrame();\n var nextFrameId = raf(function () {\n if (delay <= 1) {\n callback({\n isCanceled: function isCanceled() {\n return nextFrameId !== nextFrameRef.current;\n }\n });\n } else {\n nextFrame(callback, delay - 1);\n }\n });\n nextFrameRef.current = nextFrameId;\n }\n\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [nextFrame, cancelNextFrame];\n});","import { useEffect, useLayoutEffect } from 'react';\nimport canUseDom from \"rc-util/es/Dom/canUseDom\"; // It's safe to use `useLayoutEffect` but the warning is annoying\n\nvar useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useState from \"rc-util/es/hooks/useState\";\nimport { STEP_PREPARE, STEP_ACTIVE, STEP_START, STEP_ACTIVATED, STEP_NONE } from '../interface';\nimport useNextFrame from './useNextFrame';\nimport useIsomorphicLayoutEffect from './useIsomorphicLayoutEffect';\nvar STEP_QUEUE = [STEP_PREPARE, STEP_START, STEP_ACTIVE, STEP_ACTIVATED];\n/** Skip current step */\n\nexport var SkipStep = false;\n/** Current step should be update in */\n\nexport var DoStep = true;\nexport function isActive(step) {\n return step === STEP_ACTIVE || step === STEP_ACTIVATED;\n}\nexport default (function (status, callback) {\n var _useState = useState(STEP_NONE),\n _useState2 = _slicedToArray(_useState, 2),\n step = _useState2[0],\n setStep = _useState2[1];\n\n var _useNextFrame = useNextFrame(),\n _useNextFrame2 = _slicedToArray(_useNextFrame, 2),\n nextFrame = _useNextFrame2[0],\n cancelNextFrame = _useNextFrame2[1];\n\n function startQueue() {\n setStep(STEP_PREPARE, true);\n }\n\n useIsomorphicLayoutEffect(function () {\n if (step !== STEP_NONE && step !== STEP_ACTIVATED) {\n var index = STEP_QUEUE.indexOf(step);\n var nextStep = STEP_QUEUE[index + 1];\n var result = callback(step);\n\n if (result === SkipStep) {\n // Skip when no needed\n setStep(nextStep, true);\n } else {\n // Do as frame for step update\n nextFrame(function (info) {\n function doNext() {\n // Skip since current queue is ood\n if (info.isCanceled()) return;\n setStep(nextStep, true);\n }\n\n if (result === true) {\n doNext();\n } else {\n // Only promise should be async\n Promise.resolve(result).then(doNext);\n }\n });\n }\n }\n }, [status, step]);\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [startQueue, step];\n});","import * as React from 'react';\nimport { useRef } from 'react';\nimport { animationEndName, transitionEndName } from '../util/motion';\nexport default (function (callback) {\n var cacheElementRef = useRef(); // Cache callback\n\n var callbackRef = useRef(callback);\n callbackRef.current = callback; // Internal motion event handler\n\n var onInternalMotionEnd = React.useCallback(function (event) {\n callbackRef.current(event);\n }, []); // Remove events\n\n function removeMotionEvents(element) {\n if (element) {\n element.removeEventListener(transitionEndName, onInternalMotionEnd);\n element.removeEventListener(animationEndName, onInternalMotionEnd);\n }\n } // Patch events\n\n\n function patchMotionEvents(element) {\n if (cacheElementRef.current && cacheElementRef.current !== element) {\n removeMotionEvents(cacheElementRef.current);\n }\n\n if (element && element !== cacheElementRef.current) {\n element.addEventListener(transitionEndName, onInternalMotionEnd);\n element.addEventListener(animationEndName, onInternalMotionEnd); // Save as cache in case dom removed trigger by `motionDeadline`\n\n cacheElementRef.current = element;\n }\n } // Clean up when removed\n\n\n React.useEffect(function () {\n return function () {\n removeMotionEvents(cacheElementRef.current);\n };\n }, []);\n return [patchMotionEvents, removeMotionEvents];\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect } from 'react';\nimport useState from \"rc-util/es/hooks/useState\";\nimport { STATUS_APPEAR, STATUS_NONE, STATUS_LEAVE, STATUS_ENTER, STEP_PREPARE, STEP_START, STEP_ACTIVE } from '../interface';\nimport useStepQueue, { DoStep, SkipStep, isActive } from './useStepQueue';\nimport useDomMotionEvents from './useDomMotionEvents';\nimport useIsomorphicLayoutEffect from './useIsomorphicLayoutEffect';\nexport default function useStatus(supportMotion, visible, getElement, _ref) {\n var _ref$motionEnter = _ref.motionEnter,\n motionEnter = _ref$motionEnter === void 0 ? true : _ref$motionEnter,\n _ref$motionAppear = _ref.motionAppear,\n motionAppear = _ref$motionAppear === void 0 ? true : _ref$motionAppear,\n _ref$motionLeave = _ref.motionLeave,\n motionLeave = _ref$motionLeave === void 0 ? true : _ref$motionLeave,\n motionDeadline = _ref.motionDeadline,\n motionLeaveImmediately = _ref.motionLeaveImmediately,\n onAppearPrepare = _ref.onAppearPrepare,\n onEnterPrepare = _ref.onEnterPrepare,\n onLeavePrepare = _ref.onLeavePrepare,\n onAppearStart = _ref.onAppearStart,\n onEnterStart = _ref.onEnterStart,\n onLeaveStart = _ref.onLeaveStart,\n onAppearActive = _ref.onAppearActive,\n onEnterActive = _ref.onEnterActive,\n onLeaveActive = _ref.onLeaveActive,\n onAppearEnd = _ref.onAppearEnd,\n onEnterEnd = _ref.onEnterEnd,\n onLeaveEnd = _ref.onLeaveEnd,\n onVisibleChanged = _ref.onVisibleChanged;\n\n // Used for outer render usage to avoid `visible: false & status: none` to render nothing\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n asyncVisible = _useState2[0],\n setAsyncVisible = _useState2[1];\n\n var _useState3 = useState(STATUS_NONE),\n _useState4 = _slicedToArray(_useState3, 2),\n status = _useState4[0],\n setStatus = _useState4[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n style = _useState6[0],\n setStyle = _useState6[1];\n\n var mountedRef = useRef(false);\n var deadlineRef = useRef(null); // =========================== Dom Node ===========================\n\n function getDomElement() {\n return getElement();\n } // ========================== Motion End ==========================\n\n\n var activeRef = useRef(false);\n\n function onInternalMotionEnd(event) {\n var element = getDomElement();\n\n if (event && !event.deadline && event.target !== element) {\n // event exists\n // not initiated by deadline\n // transitionEnd not fired by inner elements\n return;\n }\n\n var currentActive = activeRef.current;\n var canEnd;\n\n if (status === STATUS_APPEAR && currentActive) {\n canEnd = onAppearEnd === null || onAppearEnd === void 0 ? void 0 : onAppearEnd(element, event);\n } else if (status === STATUS_ENTER && currentActive) {\n canEnd = onEnterEnd === null || onEnterEnd === void 0 ? void 0 : onEnterEnd(element, event);\n } else if (status === STATUS_LEAVE && currentActive) {\n canEnd = onLeaveEnd === null || onLeaveEnd === void 0 ? void 0 : onLeaveEnd(element, event);\n } // Only update status when `canEnd` and not destroyed\n\n\n if (status !== STATUS_NONE && currentActive && canEnd !== false) {\n setStatus(STATUS_NONE, true);\n setStyle(null, true);\n }\n }\n\n var _useDomMotionEvents = useDomMotionEvents(onInternalMotionEnd),\n _useDomMotionEvents2 = _slicedToArray(_useDomMotionEvents, 1),\n patchMotionEvents = _useDomMotionEvents2[0]; // ============================= Step =============================\n\n\n var eventHandlers = React.useMemo(function () {\n var _ref2, _ref3, _ref4;\n\n switch (status) {\n case STATUS_APPEAR:\n return _ref2 = {}, _defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), _defineProperty(_ref2, STEP_START, onAppearStart), _defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;\n\n case STATUS_ENTER:\n return _ref3 = {}, _defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), _defineProperty(_ref3, STEP_START, onEnterStart), _defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;\n\n case STATUS_LEAVE:\n return _ref4 = {}, _defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty(_ref4, STEP_START, onLeaveStart), _defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;\n\n default:\n return {};\n }\n }, [status]);\n\n var _useStepQueue = useStepQueue(status, function (newStep) {\n // Only prepare step can be skip\n if (newStep === STEP_PREPARE) {\n var onPrepare = eventHandlers[STEP_PREPARE];\n\n if (!onPrepare) {\n return SkipStep;\n }\n\n return onPrepare(getDomElement());\n } // Rest step is sync update\n\n\n // Rest step is sync update\n if (step in eventHandlers) {\n var _eventHandlers$step;\n\n setStyle(((_eventHandlers$step = eventHandlers[step]) === null || _eventHandlers$step === void 0 ? void 0 : _eventHandlers$step.call(eventHandlers, getDomElement(), null)) || null);\n }\n\n if (step === STEP_ACTIVE) {\n // Patch events when motion needed\n patchMotionEvents(getDomElement());\n\n if (motionDeadline > 0) {\n clearTimeout(deadlineRef.current);\n deadlineRef.current = setTimeout(function () {\n onInternalMotionEnd({\n deadline: true\n });\n }, motionDeadline);\n }\n }\n\n return DoStep;\n }),\n _useStepQueue2 = _slicedToArray(_useStepQueue, 2),\n startStep = _useStepQueue2[0],\n step = _useStepQueue2[1];\n\n var active = isActive(step);\n activeRef.current = active; // ============================ Status ============================\n // Update with new status\n\n useIsomorphicLayoutEffect(function () {\n setAsyncVisible(visible);\n var isMounted = mountedRef.current;\n mountedRef.current = true;\n\n if (!supportMotion) {\n return;\n }\n\n var nextStatus; // Appear\n\n if (!isMounted && visible && motionAppear) {\n nextStatus = STATUS_APPEAR;\n } // Enter\n\n\n if (isMounted && visible && motionEnter) {\n nextStatus = STATUS_ENTER;\n } // Leave\n\n\n if (isMounted && !visible && motionLeave || !isMounted && motionLeaveImmediately && !visible && motionLeave) {\n nextStatus = STATUS_LEAVE;\n } // Update to next status\n\n\n if (nextStatus) {\n setStatus(nextStatus);\n startStep();\n }\n }, [visible]); // ============================ Effect ============================\n // Reset when motion changed\n\n useEffect(function () {\n if ( // Cancel appear\n status === STATUS_APPEAR && !motionAppear || // Cancel enter\n status === STATUS_ENTER && !motionEnter || // Cancel leave\n status === STATUS_LEAVE && !motionLeave) {\n setStatus(STATUS_NONE);\n }\n }, [motionAppear, motionEnter, motionLeave]);\n useEffect(function () {\n return function () {\n mountedRef.current = false;\n clearTimeout(deadlineRef.current);\n };\n }, []); // Trigger `onVisibleChanged`\n\n var firstMountChangeRef = React.useRef(false);\n useEffect(function () {\n // [visible & motion not end] => [!visible & motion end] still need trigger onVisibleChanged\n if (asyncVisible) {\n firstMountChangeRef.current = true;\n }\n\n if (asyncVisible !== undefined && status === STATUS_NONE) {\n // Skip first render is invisible since it's nothing changed\n if (firstMountChangeRef.current || asyncVisible) {\n onVisibleChanged === null || onVisibleChanged === void 0 ? void 0 : onVisibleChanged(asyncVisible);\n }\n\n firstMountChangeRef.current = true;\n }\n }, [asyncVisible, status]); // ============================ Styles ============================\n\n var mergedStyle = style;\n\n if (eventHandlers[STEP_PREPARE] && step === STEP_START) {\n mergedStyle = _objectSpread({\n transition: 'none'\n }, mergedStyle);\n }\n\n return [status, step, mergedStyle, asyncVisible !== null && asyncVisible !== void 0 ? asyncVisible : visible];\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n\n var _super = _createSuper(DomWrapper);\n\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n\n return DomWrapper;\n}(React.Component);\n\nexport default DomWrapper;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/default-props-match-prop-types, react/no-multi-comp, react/prop-types */\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { fillRef, supportRef } from \"rc-util/es/ref\";\nimport classNames from 'classnames';\nimport { getTransitionName, supportTransition } from './util/motion';\nimport { STATUS_NONE, STEP_PREPARE, STEP_START } from './interface';\nimport useStatus from './hooks/useStatus';\nimport DomWrapper from './DomWrapper';\nimport { isActive } from './hooks/useStepQueue';\n/**\n * `transitionSupport` is used for none transition test case.\n * Default we use browser transition event support check.\n */\n\nexport function genCSSMotion(config) {\n var transitionSupport = config;\n\n if (_typeof(config) === 'object') {\n transitionSupport = config.transitionSupport;\n }\n\n function isSupportTransition(props) {\n return !!(props.motionName && transitionSupport);\n }\n\n var CSSMotion = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$visible = props.visible,\n visible = _props$visible === void 0 ? true : _props$visible,\n _props$removeOnLeave = props.removeOnLeave,\n removeOnLeave = _props$removeOnLeave === void 0 ? true : _props$removeOnLeave,\n forceRender = props.forceRender,\n children = props.children,\n motionName = props.motionName,\n leavedClassName = props.leavedClassName,\n eventProps = props.eventProps;\n var supportMotion = isSupportTransition(props); // Ref to the react node, it may be a HTMLElement\n\n var nodeRef = useRef(); // Ref to the dom wrapper in case ref can not pass to HTMLElement\n\n var wrapperNodeRef = useRef();\n\n function getDomElement() {\n try {\n // Here we're avoiding call for findDOMNode since it's deprecated\n // in strict mode. We're calling it only when node ref is not\n // an instance of DOM HTMLElement. Otherwise use\n // findDOMNode as a final resort\n return nodeRef.current instanceof HTMLElement ? nodeRef.current : findDOMNode(wrapperNodeRef.current);\n } catch (e) {\n // Only happen when `motionDeadline` trigger but element removed.\n return null;\n }\n }\n\n var _useStatus = useStatus(supportMotion, visible, getDomElement, props),\n _useStatus2 = _slicedToArray(_useStatus, 4),\n status = _useStatus2[0],\n statusStep = _useStatus2[1],\n statusStyle = _useStatus2[2],\n mergedVisible = _useStatus2[3]; // Record whether content has rendered\n // Will return null for un-rendered even when `removeOnLeave={false}`\n\n\n var renderedRef = React.useRef(mergedVisible);\n\n if (mergedVisible) {\n renderedRef.current = true;\n } // ====================== Refs ======================\n\n\n var setNodeRef = React.useCallback(function (node) {\n nodeRef.current = node;\n fillRef(ref, node);\n }, [ref]); // ===================== Render =====================\n\n var motionChildren;\n\n var mergedProps = _objectSpread(_objectSpread({}, eventProps), {}, {\n visible: visible\n });\n\n if (!children) {\n // No children\n motionChildren = null;\n } else if (status === STATUS_NONE || !isSupportTransition(props)) {\n // Stable children\n if (mergedVisible) {\n motionChildren = children(_objectSpread({}, mergedProps), setNodeRef);\n } else if (!removeOnLeave && renderedRef.current) {\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n className: leavedClassName\n }), setNodeRef);\n } else if (forceRender) {\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n style: {\n display: 'none'\n }\n }), setNodeRef);\n } else {\n motionChildren = null;\n }\n } else {\n var _classNames;\n\n // In motion\n var statusSuffix;\n\n if (statusStep === STEP_PREPARE) {\n statusSuffix = 'prepare';\n } else if (isActive(statusStep)) {\n statusSuffix = 'active';\n } else if (statusStep === STEP_START) {\n statusSuffix = 'start';\n }\n\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n className: classNames(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, getTransitionName(motionName, \"\".concat(status, \"-\").concat(statusSuffix)), statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)),\n style: statusStyle\n }), setNodeRef);\n } // Auto inject ref if child node not have `ref` props\n\n\n if ( /*#__PURE__*/React.isValidElement(motionChildren) && supportRef(motionChildren)) {\n var _motionChildren = motionChildren,\n originNodeRef = _motionChildren.ref;\n\n if (!originNodeRef) {\n motionChildren = /*#__PURE__*/React.cloneElement(motionChildren, {\n ref: setNodeRef\n });\n }\n }\n\n return /*#__PURE__*/React.createElement(DomWrapper, {\n ref: wrapperNodeRef\n }, motionChildren);\n });\n CSSMotion.displayName = 'CSSMotion';\n return CSSMotion;\n}\nexport default genCSSMotion(supportTransition);","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport var STATUS_ADD = 'add';\nexport var STATUS_KEEP = 'keep';\nexport var STATUS_REMOVE = 'remove';\nexport var STATUS_REMOVED = 'removed';\nexport function wrapKeyToObject(key) {\n var keyObj;\n\n if (key && _typeof(key) === 'object' && 'key' in key) {\n keyObj = key;\n } else {\n keyObj = {\n key: key\n };\n }\n\n return _objectSpread(_objectSpread({}, keyObj), {}, {\n key: String(keyObj.key)\n });\n}\nexport function parseKeys() {\n var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return keys.map(wrapKeyToObject);\n}\nexport function diffKeys() {\n var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var currentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var list = [];\n var currentIndex = 0;\n var currentLen = currentKeys.length;\n var prevKeyObjects = parseKeys(prevKeys);\n var currentKeyObjects = parseKeys(currentKeys); // Check prev keys to insert or keep\n\n prevKeyObjects.forEach(function (keyObj) {\n var hit = false;\n\n for (var i = currentIndex; i < currentLen; i += 1) {\n var currentKeyObj = currentKeyObjects[i];\n\n if (currentKeyObj.key === keyObj.key) {\n // New added keys should add before current key\n if (currentIndex < i) {\n list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n currentIndex = i;\n }\n\n list.push(_objectSpread(_objectSpread({}, currentKeyObj), {}, {\n status: STATUS_KEEP\n }));\n currentIndex += 1;\n hit = true;\n break;\n }\n } // If not hit, it means key is removed\n\n\n if (!hit) {\n list.push(_objectSpread(_objectSpread({}, keyObj), {}, {\n status: STATUS_REMOVE\n }));\n }\n }); // Add rest to the list\n\n if (currentIndex < currentLen) {\n list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n }\n /**\n * Merge same key when it remove and add again:\n * [1 - add, 2 - keep, 1 - remove] -> [1 - keep, 2 - keep]\n */\n\n\n var keys = {};\n list.forEach(function (_ref) {\n var key = _ref.key;\n keys[key] = (keys[key] || 0) + 1;\n });\n var duplicatedKeys = Object.keys(keys).filter(function (key) {\n return keys[key] > 1;\n });\n duplicatedKeys.forEach(function (matchKey) {\n // Remove `STATUS_REMOVE` node.\n list = list.filter(function (_ref2) {\n var key = _ref2.key,\n status = _ref2.status;\n return key !== matchKey || status !== STATUS_REMOVE;\n }); // Update `STATUS_ADD` to `STATUS_KEEP`\n\n list.forEach(function (node) {\n if (node.key === matchKey) {\n // eslint-disable-next-line no-param-reassign\n node.status = STATUS_KEEP;\n }\n });\n });\n return list;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"component\", \"children\", \"onVisibleChanged\", \"onAllRemoved\"],\n _excluded2 = [\"status\"];\n\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport OriginCSSMotion from './CSSMotion';\nimport { supportTransition } from './util/motion';\nimport { STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED, diffKeys, parseKeys } from './util/diff';\nvar MOTION_PROP_NAMES = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];\n/**\n * Generate a CSSMotionList component with config\n * @param transitionSupport No need since CSSMotionList no longer depends on transition support\n * @param CSSMotion CSSMotion component\n */\n\nexport function genCSSMotionList(transitionSupport) {\n var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion;\n\n var CSSMotionList = /*#__PURE__*/function (_React$Component) {\n _inherits(CSSMotionList, _React$Component);\n\n var _super = _createSuper(CSSMotionList);\n\n function CSSMotionList() {\n var _this;\n\n _classCallCheck(this, CSSMotionList);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n keyEntities: []\n };\n\n _this.removeKey = function (removeKey) {\n var keyEntities = _this.state.keyEntities;\n var nextKeyEntities = keyEntities.map(function (entity) {\n if (entity.key !== removeKey) return entity;\n return _objectSpread(_objectSpread({}, entity), {}, {\n status: STATUS_REMOVED\n });\n });\n\n _this.setState({\n keyEntities: nextKeyEntities\n });\n\n return nextKeyEntities.filter(function (_ref) {\n var status = _ref.status;\n return status !== STATUS_REMOVED;\n }).length;\n };\n\n return _this;\n }\n\n _createClass(CSSMotionList, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var keyEntities = this.state.keyEntities;\n\n var _this$props = this.props,\n component = _this$props.component,\n children = _this$props.children,\n _onVisibleChanged = _this$props.onVisibleChanged,\n onAllRemoved = _this$props.onAllRemoved,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n\n var Component = component || React.Fragment;\n var motionProps = {};\n MOTION_PROP_NAMES.forEach(function (prop) {\n motionProps[prop] = restProps[prop];\n delete restProps[prop];\n });\n delete restProps.keys;\n return /*#__PURE__*/React.createElement(Component, restProps, keyEntities.map(function (_ref2) {\n var status = _ref2.status,\n eventProps = _objectWithoutProperties(_ref2, _excluded2);\n\n var visible = status === STATUS_ADD || status === STATUS_KEEP;\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motionProps, {\n key: eventProps.key,\n visible: visible,\n eventProps: eventProps,\n onVisibleChanged: function onVisibleChanged(changedVisible) {\n _onVisibleChanged === null || _onVisibleChanged === void 0 ? void 0 : _onVisibleChanged(changedVisible, {\n key: eventProps.key\n });\n\n if (!changedVisible) {\n var restKeysCount = _this2.removeKey(eventProps.key);\n\n if (restKeysCount === 0 && onAllRemoved) {\n onAllRemoved();\n }\n }\n }\n }), children);\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref3, _ref4) {\n var keys = _ref3.keys;\n var keyEntities = _ref4.keyEntities;\n var parsedKeyObjects = parseKeys(keys);\n var mixedKeyEntities = diffKeys(keyEntities, parsedKeyObjects);\n return {\n keyEntities: mixedKeyEntities.filter(function (entity) {\n var prevEntity = keyEntities.find(function (_ref5) {\n var key = _ref5.key;\n return entity.key === key;\n }); // Remove if already mark as removed\n\n if (prevEntity && prevEntity.status === STATUS_REMOVED && entity.status === STATUS_REMOVE) {\n return false;\n }\n\n return true;\n })\n };\n } // ZombieJ: Return the count of rest keys. It's safe to refactor if need more info.\n\n }]);\n\n return CSSMotionList;\n }(React.Component);\n\n CSSMotionList.defaultProps = {\n component: 'div'\n };\n return CSSMotionList;\n}\nexport default genCSSMotionList(supportTransition);","import CSSMotion from './CSSMotion';\nimport CSSMotionList from './CSSMotionList';\nexport { CSSMotionList };\nexport default CSSMotion;","import * as React from 'react';\nimport classNames from 'classnames';\nexport default function Popup(props) {\n var showArrow = props.showArrow,\n arrowContent = props.arrowContent,\n children = props.children,\n prefixCls = props.prefixCls,\n id = props.id,\n overlayInnerStyle = props.overlayInnerStyle,\n className = props.className,\n style = props.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: style\n }, showArrow !== false && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-arrow\"),\n key: \"arrow\"\n }, arrowContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\"),\n id: id,\n role: \"tooltip\",\n style: overlayInnerStyle\n }, typeof children === 'function' ? children() : children));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useRef, useImperativeHandle, forwardRef } from 'react';\nimport Trigger from 'rc-trigger';\nimport { placements } from './placements';\nimport Popup from './Popup';\n\nvar Tooltip = function Tooltip(props, ref) {\n var overlayClassName = props.overlayClassName,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n overlayStyle = props.overlayStyle,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls,\n children = props.children,\n onVisibleChange = props.onVisibleChange,\n afterVisibleChange = props.afterVisibleChange,\n transitionName = props.transitionName,\n animation = props.animation,\n motion = props.motion,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'right' : _props$placement,\n _props$align = props.align,\n align = _props$align === void 0 ? {} : _props$align,\n _props$destroyTooltip = props.destroyTooltipOnHide,\n destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip,\n defaultVisible = props.defaultVisible,\n getTooltipContainer = props.getTooltipContainer,\n overlayInnerStyle = props.overlayInnerStyle,\n arrowContent = props.arrowContent,\n overlay = props.overlay,\n id = props.id,\n showArrow = props.showArrow,\n restProps = _objectWithoutProperties(props, [\"overlayClassName\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\", \"prefixCls\", \"children\", \"onVisibleChange\", \"afterVisibleChange\", \"transitionName\", \"animation\", \"motion\", \"placement\", \"align\", \"destroyTooltipOnHide\", \"defaultVisible\", \"getTooltipContainer\", \"overlayInnerStyle\", \"arrowContent\", \"overlay\", \"id\", \"showArrow\"]);\n\n var domRef = useRef(null);\n useImperativeHandle(ref, function () {\n return domRef.current;\n });\n\n var extraProps = _objectSpread({}, restProps);\n\n if ('visible' in props) {\n extraProps.popupVisible = props.visible;\n }\n\n var getPopupElement = function getPopupElement() {\n return /*#__PURE__*/React.createElement(Popup, {\n showArrow: showArrow,\n arrowContent: arrowContent,\n key: \"content\",\n prefixCls: prefixCls,\n id: id,\n overlayInnerStyle: overlayInnerStyle\n }, overlay);\n };\n\n var destroyTooltip = false;\n var autoDestroy = false;\n\n if (typeof destroyTooltipOnHide === 'boolean') {\n destroyTooltip = destroyTooltipOnHide;\n } else if (destroyTooltipOnHide && _typeof(destroyTooltipOnHide) === 'object') {\n var keepParent = destroyTooltipOnHide.keepParent;\n destroyTooltip = keepParent === true;\n autoDestroy = keepParent === false;\n }\n\n return /*#__PURE__*/React.createElement(Trigger, _extends({\n popupClassName: overlayClassName,\n prefixCls: prefixCls,\n popup: getPopupElement,\n action: trigger,\n builtinPlacements: placements,\n popupPlacement: placement,\n ref: domRef,\n popupAlign: align,\n getPopupContainer: getTooltipContainer,\n onPopupVisibleChange: onVisibleChange,\n afterPopupVisibleChange: afterVisibleChange,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupMotion: motion,\n defaultPopupVisible: defaultVisible,\n destroyPopupOnHide: destroyTooltip,\n autoDestroy: autoDestroy,\n mouseLeaveDelay: mouseLeaveDelay,\n popupStyle: overlayStyle,\n mouseEnterDelay: mouseEnterDelay\n }, extraProps), children);\n};\n\nexport default /*#__PURE__*/forwardRef(Tooltip);","import Tooltip from './Tooltip';\nimport Popup from './Popup';\nexport { Popup };\nexport default Tooltip;","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nvar targetOffset = [0, 0];\nexport var placements = {\n left: {\n points: ['cr', 'cl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n right: {\n points: ['cl', 'cr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n top: {\n points: ['bc', 'tc'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n bottom: {\n points: ['tc', 'bc'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n rightBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n leftBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n }\n};\nexport default placements;","import { useRef, useEffect, forwardRef, useImperativeHandle } from 'react';\nimport ReactDOM from 'react-dom';\nimport canUseDom from './Dom/canUseDom';\nvar Portal = /*#__PURE__*/forwardRef(function (props, ref) {\n var didUpdate = props.didUpdate,\n getContainer = props.getContainer,\n children = props.children;\n var parentRef = useRef();\n var containerRef = useRef();\n // Ref return nothing, only for wrapper check exist\n useImperativeHandle(ref, function () {\n return {};\n });\n // Create container in client side with sync to avoid useEffect not get ref\n var initRef = useRef(false);\n if (!initRef.current && canUseDom()) {\n containerRef.current = getContainer();\n parentRef.current = containerRef.current.parentNode;\n initRef.current = true;\n }\n // [Legacy] Used by `rc-trigger`\n useEffect(function () {\n didUpdate === null || didUpdate === void 0 ? void 0 : didUpdate(props);\n });\n useEffect(function () {\n // Restore container to original place\n // React 18 StrictMode will unmount first and mount back for effect test:\n // https://reactjs.org/blog/2022/03/29/react-v18.html#new-strict-mode-behaviors\n if (containerRef.current.parentNode === null && parentRef.current !== null) {\n parentRef.current.appendChild(containerRef.current);\n }\n return function () {\n var _containerRef$current, _containerRef$current2;\n // [Legacy] This should not be handle by Portal but parent PortalWrapper instead.\n // Since some component use `Portal` directly, we have to keep the logic here.\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : (_containerRef$current2 = _containerRef$current.parentNode) === null || _containerRef$current2 === void 0 ? void 0 : _containerRef$current2.removeChild(containerRef.current);\n };\n }, []);\n return containerRef.current ? /*#__PURE__*/ReactDOM.createPortal(children, containerRef.current) : null;\n});\nexport default Portal;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n\nfunction isPointsEq(a1, a2, isAlignPoint) {\n if (isAlignPoint) {\n return a1[0] === a2[0];\n }\n\n return a1[0] === a2[0] && a1[1] === a2[1];\n}\n\nexport function getAlignFromPlacement(builtinPlacements, placementStr, align) {\n var baseAlign = builtinPlacements[placementStr] || {};\n return _objectSpread(_objectSpread({}, baseAlign), align);\n}\nexport function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {\n var points = align.points;\n var placements = Object.keys(builtinPlacements);\n\n for (var i = 0; i < placements.length; i += 1) {\n var placement = placements[i];\n\n if (isPointsEq(builtinPlacements[placement].points, points, isAlignPoint)) {\n return \"\".concat(prefixCls, \"-placement-\").concat(placement);\n }\n }\n\n return '';\n}","export function getMotion(_ref) {\n var prefixCls = _ref.prefixCls,\n motion = _ref.motion,\n animation = _ref.animation,\n transitionName = _ref.transitionName;\n\n if (motion) {\n return motion;\n }\n\n if (animation) {\n return {\n motionName: \"\".concat(prefixCls, \"-\").concat(animation)\n };\n }\n\n if (transitionName) {\n return {\n motionName: transitionName\n };\n }\n\n return null;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport { getMotion } from \"../utils/legacyUtil\";\nexport default function Mask(props) {\n var prefixCls = props.prefixCls,\n visible = props.visible,\n zIndex = props.zIndex,\n mask = props.mask,\n maskMotion = props.maskMotion,\n maskAnimation = props.maskAnimation,\n maskTransitionName = props.maskTransitionName;\n\n if (!mask) {\n return null;\n }\n\n var motion = {};\n\n if (maskMotion || maskTransitionName || maskAnimation) {\n motion = _objectSpread({\n motionAppear: true\n }, getMotion({\n motion: maskMotion,\n prefixCls: prefixCls,\n transitionName: maskTransitionName,\n animation: maskAnimation\n }));\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motion, {\n visible: visible,\n removeOnLeave: true\n }), function (_ref) {\n var className = _ref.className;\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n zIndex: zIndex\n },\n className: classNames(\"\".concat(prefixCls, \"-mask\"), className)\n });\n });\n}","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nvar vendorPrefix;\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\nfunction getTransitionName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"TransitionProperty\") : 'transitionProperty';\n}\nfunction getTransformName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"Transform\") : 'transform';\n}\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return {\n x: parseFloat(matrix[12] || matrix[4], 0),\n y: parseFloat(matrix[13] || matrix[5], 0)\n };\n }\n return {\n x: 0,\n y: 0\n };\n}\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, \"matrix(\".concat(arr.join(','), \")\"));\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, \"matrix3d(\".concat(arr.join(','), \")\"));\n }\n } else {\n setTransform(node, \"translateX(\".concat(xy.x, \"px) translateY(\").concat(xy.y, \"px) translateZ(0)\"));\n }\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\nvar getComputedStyleX;\n\n// https://stackoverflow.com/a/3485654/3040605\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n elem.style.display = originalStyle;\n}\nfunction css(el, name, v) {\n var value = v;\n if (_typeof(name) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = \"\".concat(value, \"px\");\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\nfunction getClientPosition(elem) {\n var box;\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = Math.floor(box.left);\n y = Math.floor(box.top);\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n if (node.nodeType === 9) {\n return node;\n }\n return node.ownerDocument;\n}\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n return val;\n}\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = getTransitionProperty(elem) || '';\n setTransitionProperty(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = \"\".concat(presetH, \"px\");\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = \"\".concat(presetV, \"px\");\n }\n // force relayout\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n forceRelayout(elem);\n if ('left' in offset || 'top' in offset) {\n setTransitionProperty(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\nfunction setTransform$1(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = getTransformXY(elem);\n var resultXY = {\n x: originalXY.x,\n y: originalXY.y\n };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n setTransformXY(elem, resultXY);\n}\nfunction setOffset(elem, offset, option) {\n if (option.ignoreShake) {\n var oriOffset = getOffset(elem);\n var oLeft = oriOffset.left.toFixed(0);\n var oTop = oriOffset.top.toFixed(0);\n var tLeft = offset.left.toFixed(0);\n var tTop = offset.top.toFixed(0);\n if (oLeft === tLeft && oTop === tTop) {\n return;\n }\n }\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && getTransformName() in document.body.style) {\n setTransform$1(elem, offset);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop;\n var j;\n var i;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = \"\".concat(prop).concat(which[i], \"Width\");\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\nvar domUtils = {\n getParent: function getParent(element) {\n var parent = element;\n do {\n if (parent.nodeType === 11 && parent.host) {\n parent = parent.host;\n } else {\n parent = parent.parentNode;\n }\n } while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);\n return parent;\n }\n};\neach(['Width', 'Height'], function (name) {\n domUtils[\"doc\".concat(name)] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement[\"scroll\".concat(name)],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n };\n domUtils[\"viewport\".concat(name)] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = \"client\".concat(name);\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);\n var isBorderBox = isBorderBoxFn(elem);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var val;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, i < 0 || arguments.length <= i ? undefined : arguments[i]);\n }\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\nvar getParent = utils.getParent;\nfunction getOffsetParent(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return null;\n }\n // ie 这个也不是完全可行\n /*\n
\n
\n 元素 6 高 100px 宽 50px
\n
\n
\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent;\n var positionStyle = utils.css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : getParent(element);\n }\n for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {\n positionStyle = utils.css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nvar getParent$1 = utils.getParent;\nfunction isAncestorFixed(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return false;\n }\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent = null;\n for (parent = getParent$1(element);\n // 修复元素位于 document.documentElement 下导致崩溃问题\n parent && parent !== body && parent !== doc; parent = getParent$1(parent)) {\n var positionStyle = utils.css(parent, 'position');\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n return false;\n}\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element, alwaysByViewport) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = getOffsetParent(element);\n var doc = utils.getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && utils.css(el, 'overflow') !== 'visible') {\n var pos = utils.offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = getOffsetParent(el);\n }\n\n // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n var originalPosition = null;\n if (!utils.isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = utils.css(element, 'position');\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight;\n\n // scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.\n // We should cut this ourself.\n var bodyStyle = window.getComputedStyle(body);\n if (bodyStyle.overflowX === 'hidden') {\n documentWidth = win.innerWidth;\n }\n if (bodyStyle.overflowY === 'hidden') {\n documentHeight = win.innerHeight;\n }\n\n // Reset element position after calculate the visible area\n if (element.style) {\n element.style.position = originalPosition;\n }\n if (alwaysByViewport || isAncestorFixed(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = utils.clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n }\n\n // Left edge inside and right edge outside viewport, try to resize it.\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n return utils.mix(pos, size);\n}\n\nfunction getRegion(node) {\n var offset;\n var w;\n var h;\n if (!utils.isWindow(node) && node.nodeType !== 9) {\n offset = utils.offset(node);\n w = utils.outerWidth(node);\n h = utils.outerHeight(node);\n } else {\n var win = utils.getWindow(node);\n offset = {\n left: utils.getWindowScrollLeft(win),\n top: utils.getWindowScrollTop(win)\n };\n w = utils.viewportWidth(win);\n h = utils.viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = region.left;\n var y = region.top;\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n return {\n left: x,\n top: y\n };\n}\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = getAlignOffset(refNodeRegion, points[1]);\n var p2 = getAlignOffset(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n return {\n left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),\n top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])\n };\n}\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\n// http://yiminghe.iteye.com/blog/1124720\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\nfunction flip(points, reg, map) {\n var ret = [];\n utils.each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\nfunction convertOffset(str, offsetLen) {\n var n;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\n/**\n * @param el\n * @param tgtRegion 参照节点所占的区域: { left, top, width, height }\n * @param align\n */\nfunction doAlign(el, tgtRegion, align, isTgtRegionVisible) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n var alwaysByViewport = !!(overflow && overflow.alwaysByViewport);\n // 当前节点可以被放置的显示区域\n var visibleRect = getVisibleRectForElement(source, alwaysByViewport);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = getRegion(source);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, tgtRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = utils.merge(elRegion, elFuturePos);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset);\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset);\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n utils.mix(newElRegion, elFuturePos);\n }\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);\n // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n if (isStillFailX || isStillFailY) {\n var _newPoints2 = points;\n\n // 重置对应部分的翻转逻辑\n if (isStillFailX) {\n _newPoints2 = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n }\n if (isStillFailY) {\n _newPoints2 = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n }\n points = _newPoints2;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n }\n // 2. 只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n utils.css(source, 'width', utils.width(source) + newElRegion.width - elRegion.width);\n }\n if (newElRegion.height !== elRegion.height) {\n utils.css(source, 'height', utils.height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如
\n utils.offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform,\n ignoreShake: align.ignoreShake\n });\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nfunction isOutOfVisibleRect(target, alwaysByViewport) {\n var visibleRect = getVisibleRectForElement(target, alwaysByViewport);\n var targetRegion = getRegion(target);\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\nfunction alignElement(el, refNode, align) {\n var target = align.target || refNode;\n var refNodeRegion = getRegion(target);\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport);\n return doAlign(el, refNodeRegion, align, isTargetNotOutOfVisible);\n}\nalignElement.__getOffsetParent = getOffsetParent;\nalignElement.__getVisibleRectForElement = getVisibleRectForElement;\n\n/**\n * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.\n * If client position provided, will internal convert to page position.\n */\n\nfunction alignPoint(el, tgtPoint, align) {\n var pageX;\n var pageY;\n var doc = utils.getDocument(el);\n var win = doc.defaultView || doc.parentWindow;\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n if ('pageX' in tgtPoint) {\n pageX = tgtPoint.pageX;\n } else {\n pageX = scrollX + tgtPoint.clientX;\n }\n if ('pageY' in tgtPoint) {\n pageY = tgtPoint.pageY;\n } else {\n pageY = scrollY + tgtPoint.clientY;\n }\n var tgtRegion = {\n left: pageX,\n top: pageY,\n width: 0,\n height: 0\n };\n var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;\n\n // Provide default target point\n var points = [align.points[0], 'cc'];\n return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, {\n points: points\n }), pointInView);\n}\n\nexport default alignElement;\nexport { alignElement, alignPoint };\n//# sourceMappingURL=index.js.map\n","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport warning from './warning';\n/**\n * Deeply compares two object literals.\n * @param obj1 object 1\n * @param obj2 object 2\n * @param shallow shallow compare\n * @returns\n */\nfunction isEqual(obj1, obj2) {\n var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n // https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f\n var refSet = new Set();\n function deepEqual(a, b) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var circular = refSet.has(a);\n warning(!circular, 'Warning: There may be circular references');\n if (circular) {\n return false;\n }\n if (a === b) {\n return true;\n }\n if (shallow && level > 1) {\n return false;\n }\n refSet.add(a);\n var newLevel = level + 1;\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (var i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i], newLevel)) {\n return false;\n }\n }\n return true;\n }\n if (a && b && _typeof(a) === 'object' && _typeof(b) === 'object') {\n var keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) {\n return false;\n }\n return keys.every(function (key) {\n return deepEqual(a[key], b[key], newLevel);\n });\n }\n // other\n return false;\n }\n return deepEqual(obj1, obj2);\n}\nexport default isEqual;","import React from 'react';\nexport default (function (callback, buffer) {\n var calledRef = React.useRef(false);\n var timeoutRef = React.useRef(null);\n\n function cancelTrigger() {\n window.clearTimeout(timeoutRef.current);\n }\n\n function trigger(force) {\n cancelTrigger();\n\n if (!calledRef.current || force === true) {\n if (callback(force) === false) {\n // Not delay since callback cancelled self\n return;\n }\n\n calledRef.current = true;\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n }, buffer);\n } else {\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n trigger();\n }, buffer);\n }\n }\n\n return [trigger, function () {\n calledRef.current = false;\n cancelTrigger();\n }];\n});","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ResizeObserver from 'resize-observer-polyfill';\nimport contains from \"rc-util/es/Dom/contains\";\nexport function isSamePoint(prev, next) {\n if (prev === next) return true;\n if (!prev || !next) return false;\n\n if ('pageX' in next && 'pageY' in next) {\n return prev.pageX === next.pageX && prev.pageY === next.pageY;\n }\n\n if ('clientX' in next && 'clientY' in next) {\n return prev.clientX === next.clientX && prev.clientY === next.clientY;\n }\n\n return false;\n}\nexport function restoreFocus(activeElement, container) {\n // Focus back if is in the container\n if (activeElement !== document.activeElement && contains(container, activeElement) && typeof activeElement.focus === 'function') {\n activeElement.focus();\n }\n}\nexport function monitorResize(element, callback) {\n var prevWidth = null;\n var prevHeight = null;\n\n function onResize(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n target = _ref2[0].target;\n\n if (!document.documentElement.contains(target)) return;\n\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n\n if (prevWidth !== fixedWidth || prevHeight !== fixedHeight) {\n // https://webkit.org/blog/9997/resizeobserver-in-webkit/\n Promise.resolve().then(function () {\n callback({\n width: fixedWidth,\n height: fixedHeight\n });\n });\n }\n\n prevWidth = fixedWidth;\n prevHeight = fixedHeight;\n }\n\n var resizeObserver = new ResizeObserver(onResize);\n\n if (element) {\n resizeObserver.observe(element);\n }\n\n return function () {\n resizeObserver.disconnect();\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/**\n * Removed props:\n * - childrenProps\n */\nimport { alignElement, alignPoint } from 'dom-align';\nimport isEqual from \"rc-util/es/isEqual\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport React from 'react';\nimport useBuffer from \"./hooks/useBuffer\";\nimport { isSamePoint, monitorResize, restoreFocus } from \"./util\";\n\nfunction getElement(func) {\n if (typeof func !== 'function') return null;\n return func();\n}\n\nfunction getPoint(point) {\n if (_typeof(point) !== 'object' || !point) return null;\n return point;\n}\n\nvar Align = function Align(_ref, ref) {\n var children = _ref.children,\n disabled = _ref.disabled,\n target = _ref.target,\n align = _ref.align,\n onAlign = _ref.onAlign,\n monitorWindowResize = _ref.monitorWindowResize,\n _ref$monitorBufferTim = _ref.monitorBufferTime,\n monitorBufferTime = _ref$monitorBufferTim === void 0 ? 0 : _ref$monitorBufferTim;\n var cacheRef = React.useRef({});\n /** Popup node ref */\n\n var nodeRef = React.useRef();\n var childNode = React.Children.only(children); // ===================== Align ======================\n // We save the props here to avoid closure makes props ood\n\n var forceAlignPropsRef = React.useRef({});\n forceAlignPropsRef.current.disabled = disabled;\n forceAlignPropsRef.current.target = target;\n forceAlignPropsRef.current.align = align;\n forceAlignPropsRef.current.onAlign = onAlign;\n\n var _useBuffer = useBuffer(function () {\n var _forceAlignPropsRef$c = forceAlignPropsRef.current,\n latestDisabled = _forceAlignPropsRef$c.disabled,\n latestTarget = _forceAlignPropsRef$c.target,\n latestAlign = _forceAlignPropsRef$c.align,\n latestOnAlign = _forceAlignPropsRef$c.onAlign;\n var source = nodeRef.current;\n\n if (!latestDisabled && latestTarget && source) {\n var _result;\n\n var _element = getElement(latestTarget);\n\n var _point = getPoint(latestTarget);\n\n cacheRef.current.element = _element;\n cacheRef.current.point = _point;\n cacheRef.current.align = latestAlign; // IE lose focus after element realign\n // We should record activeElement and restore later\n\n var _document = document,\n activeElement = _document.activeElement; // We only align when element is visible\n\n if (_element && isVisible(_element)) {\n _result = alignElement(source, _element, latestAlign);\n } else if (_point) {\n _result = alignPoint(source, _point, latestAlign);\n }\n\n restoreFocus(activeElement, source);\n\n if (latestOnAlign && _result) {\n latestOnAlign(source, _result);\n }\n\n return true;\n }\n\n return false;\n }, monitorBufferTime),\n _useBuffer2 = _slicedToArray(_useBuffer, 2),\n _forceAlign = _useBuffer2[0],\n cancelForceAlign = _useBuffer2[1]; // ===================== Effect =====================\n // Handle props change\n\n\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n element = _React$useState2[0],\n setElement = _React$useState2[1];\n\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n point = _React$useState4[0],\n setPoint = _React$useState4[1];\n\n useLayoutEffect(function () {\n setElement(getElement(target));\n setPoint(getPoint(target));\n });\n React.useEffect(function () {\n if (cacheRef.current.element !== element || !isSamePoint(cacheRef.current.point, point) || !isEqual(cacheRef.current.align, align)) {\n _forceAlign();\n }\n }); // Watch popup element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(nodeRef.current, _forceAlign);\n return cancelFn;\n }, [nodeRef.current]); // Watch target element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(element, _forceAlign);\n return cancelFn;\n }, [element]); // Listen for disabled change\n\n React.useEffect(function () {\n if (!disabled) {\n _forceAlign();\n } else {\n cancelForceAlign();\n }\n }, [disabled]); // Listen for window resize\n\n React.useEffect(function () {\n if (monitorWindowResize) {\n var cancelFn = addEventListener(window, 'resize', _forceAlign);\n return cancelFn.remove;\n }\n }, [monitorWindowResize]); // Clear all if unmount\n\n React.useEffect(function () {\n return function () {\n cancelForceAlign();\n };\n }, []); // ====================== Ref =======================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {\n return _forceAlign(true);\n }\n };\n }); // ===================== Render =====================\n\n if ( /*#__PURE__*/React.isValidElement(childNode)) {\n childNode = /*#__PURE__*/React.cloneElement(childNode, {\n ref: composeRef(childNode.ref, nodeRef)\n });\n }\n\n return childNode;\n};\n\nvar RcAlign = /*#__PURE__*/React.forwardRef(Align);\nRcAlign.displayName = 'Align';\nexport default RcAlign;","// export this package's api\nimport Align from \"./Align\";\nexport default Align;","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useEffect, useRef } from 'react';\nimport raf from \"rc-util/es/raf\";\nimport useState from \"rc-util/es/hooks/useState\";\n/**\n * Popup should follow the steps for each component work correctly:\n * measure - check for the current stretch size\n * align - let component align the position\n * aligned - re-align again in case additional className changed the size\n * afterAlign - choice next step is trigger motion or finished\n * beforeMotion - should reset motion to invisible so that CSSMotion can do normal motion\n * motion - play the motion\n * stable - everything is done\n */\n\nvar StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];\nexport default (function (visible, doMeasure) {\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setInternalStatus = _useState2[1];\n\n var rafRef = useRef();\n\n function setStatus(nextStatus) {\n setInternalStatus(nextStatus, true);\n }\n\n function cancelRaf() {\n raf.cancel(rafRef.current);\n }\n\n function goNextStatus(callback) {\n cancelRaf();\n rafRef.current = raf(function () {\n // Only align should be manually trigger\n setStatus(function (prev) {\n switch (status) {\n case 'align':\n return 'motion';\n\n case 'motion':\n return 'stable';\n\n default:\n }\n\n return prev;\n });\n callback === null || callback === void 0 ? void 0 : callback();\n });\n } // Init status\n\n\n useEffect(function () {\n setStatus('measure');\n }, [visible]); // Go next status\n\n useEffect(function () {\n switch (status) {\n case 'measure':\n doMeasure();\n break;\n\n default:\n }\n\n if (status) {\n rafRef.current = raf( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n var index, nextStatus;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n index = StatusQueue.indexOf(status);\n nextStatus = StatusQueue[index + 1];\n\n if (nextStatus && index !== -1) {\n setStatus(nextStatus);\n }\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n })));\n }\n }, [status]);\n useEffect(function () {\n return function () {\n cancelRaf();\n };\n }, []);\n return [status, goNextStatus];\n});","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default (function (stretch) {\n var _React$useState = React.useState({\n width: 0,\n height: 0\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n targetSize = _React$useState2[0],\n setTargetSize = _React$useState2[1];\n\n function measureStretch(element) {\n var tgtWidth = element.offsetWidth,\n tgtHeight = element.offsetHeight;\n\n var _element$getBoundingC = element.getBoundingClientRect(),\n width = _element$getBoundingC.width,\n height = _element$getBoundingC.height; // Rect is more accurate than offset, use if near\n\n\n if (Math.abs(tgtWidth - width) < 1 && Math.abs(tgtHeight - height) < 1) {\n tgtWidth = width;\n tgtHeight = height;\n }\n\n setTargetSize({\n width: tgtWidth,\n height: tgtHeight\n });\n } // Merge stretch style\n\n\n var style = React.useMemo(function () {\n var sizeStyle = {};\n\n if (stretch) {\n var width = targetSize.width,\n height = targetSize.height; // Stretch with target\n\n if (stretch.indexOf('height') !== -1 && height) {\n sizeStyle.height = height;\n } else if (stretch.indexOf('minHeight') !== -1 && height) {\n sizeStyle.minHeight = height;\n }\n\n if (stretch.indexOf('width') !== -1 && width) {\n sizeStyle.width = width;\n } else if (stretch.indexOf('minWidth') !== -1 && width) {\n sizeStyle.minWidth = width;\n }\n }\n\n return sizeStyle;\n }, [stretch, targetSize]);\n return [style, measureStretch];\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useState } from 'react';\nimport Align from 'rc-align';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nimport useVisibleStatus from \"./useVisibleStatus\";\nimport { getMotion } from \"../utils/legacyUtil\";\nimport useStretchStyle from \"./useStretchStyle\";\nvar PopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var visible = props.visible,\n prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n children = props.children,\n zIndex = props.zIndex,\n stretch = props.stretch,\n destroyPopupOnHide = props.destroyPopupOnHide,\n forceRender = props.forceRender,\n align = props.align,\n point = props.point,\n getRootDomNode = props.getRootDomNode,\n getClassNameFromAlign = props.getClassNameFromAlign,\n onAlign = props.onAlign,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onMouseDown = props.onMouseDown,\n onTouchStart = props.onTouchStart,\n onClick = props.onClick;\n var alignRef = useRef();\n var elementRef = useRef();\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n alignedClassName = _useState2[0],\n setAlignedClassName = _useState2[1]; // ======================= Measure ========================\n\n\n var _useStretchStyle = useStretchStyle(stretch),\n _useStretchStyle2 = _slicedToArray(_useStretchStyle, 2),\n stretchStyle = _useStretchStyle2[0],\n measureStretchStyle = _useStretchStyle2[1];\n\n function doMeasure() {\n if (stretch) {\n measureStretchStyle(getRootDomNode());\n }\n } // ======================== Status ========================\n\n\n var _useVisibleStatus = useVisibleStatus(visible, doMeasure),\n _useVisibleStatus2 = _slicedToArray(_useVisibleStatus, 2),\n status = _useVisibleStatus2[0],\n goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================\n\n /**\n * `alignedClassName` may modify `source` size,\n * which means one time align may not move to the correct position at once.\n *\n * We will reset `alignTimes` for each status switch to `alignPre`\n * and let `rc-align` to align for multiple times to ensure get final stable place.\n * Currently we mark `alignTimes < 2` repeat align, it will increase if user report for align issue.\n * \n * Update:\n * In React 18. `rc-align` effect of align may faster than ref called trigger `forceAlign`.\n * We adjust this to `alignTimes < 2`.\n * We need refactor `rc-align` to support mark of `forceAlign` call if this still happen.\n */\n\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n alignTimes = _useState4[0],\n setAlignTimes = _useState4[1];\n\n var prepareResolveRef = useRef();\n useLayoutEffect(function () {\n if (status === 'alignPre') {\n setAlignTimes(0);\n }\n }, [status]); // `target` on `rc-align` can accept as a function to get the bind element or a point.\n // ref: https://www.npmjs.com/package/rc-align\n\n function getAlignTarget() {\n if (point) {\n return point;\n }\n\n return getRootDomNode;\n }\n\n function forceAlign() {\n var _alignRef$current;\n\n (_alignRef$current = alignRef.current) === null || _alignRef$current === void 0 ? void 0 : _alignRef$current.forceAlign();\n }\n\n function onInternalAlign(popupDomNode, matchAlign) {\n var nextAlignedClassName = getClassNameFromAlign(matchAlign);\n\n if (alignedClassName !== nextAlignedClassName) {\n setAlignedClassName(nextAlignedClassName);\n } // We will retry multi times to make sure that the element has been align in the right position.\n\n\n setAlignTimes(function (val) {\n return val + 1;\n });\n\n if (status === 'align') {\n onAlign === null || onAlign === void 0 ? void 0 : onAlign(popupDomNode, matchAlign);\n }\n } // Delay to go to next status\n\n\n useLayoutEffect(function () {\n if (status === 'align') {\n // Repeat until not more align needed\n if (alignTimes < 3) {\n forceAlign();\n } else {\n goNextStatus(function () {\n var _prepareResolveRef$cu;\n\n (_prepareResolveRef$cu = prepareResolveRef.current) === null || _prepareResolveRef$cu === void 0 ? void 0 : _prepareResolveRef$cu.call(prepareResolveRef);\n });\n }\n }\n }, [alignTimes]); // ======================== Motion ========================\n\n var motion = _objectSpread({}, getMotion(props));\n\n ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {\n var originHandler = motion[eventName];\n\n motion[eventName] = function (element, event) {\n goNextStatus();\n return originHandler === null || originHandler === void 0 ? void 0 : originHandler(element, event);\n };\n });\n\n function onShowPrepare() {\n return new Promise(function (resolve) {\n prepareResolveRef.current = resolve;\n });\n } // Go to stable directly when motion not provided\n\n\n React.useEffect(function () {\n if (!motion.motionName && status === 'motion') {\n goNextStatus();\n }\n }, [motion.motionName, status]); // ========================= Refs =========================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: forceAlign,\n getElement: function getElement() {\n return elementRef.current;\n }\n };\n }); // ======================== Render ========================\n\n var mergedStyle = _objectSpread(_objectSpread({}, stretchStyle), {}, {\n zIndex: zIndex,\n opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,\n // Cannot interact with disappearing elements\n // https://github.com/ant-design/ant-design/issues/35051#issuecomment-1101340714\n pointerEvents: !visible && status !== 'stable' ? 'none' : undefined\n }, style); // Align status\n\n\n var alignDisabled = true;\n\n if (align !== null && align !== void 0 && align.points && (status === 'align' || status === 'stable')) {\n alignDisabled = false;\n }\n\n var childNode = children; // Wrapper when multiple children\n\n if (React.Children.count(children) > 1) {\n childNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: visible,\n ref: elementRef,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }, motion, {\n onAppearPrepare: onShowPrepare,\n onEnterPrepare: onShowPrepare,\n removeOnLeave: destroyPopupOnHide,\n forceRender: forceRender\n }), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n var mergedClassName = classNames(prefixCls, className, alignedClassName, motionClassName);\n return /*#__PURE__*/React.createElement(Align, {\n target: getAlignTarget(),\n key: \"popup\",\n ref: alignRef,\n monitorWindowResize: true,\n disabled: alignDisabled,\n align: align,\n onAlign: onInternalAlign\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: motionRef,\n className: mergedClassName,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onMouseDownCapture: onMouseDown,\n onTouchStartCapture: onTouchStart,\n onClick: onClick,\n style: _objectSpread(_objectSpread({}, motionStyle), mergedStyle)\n }, childNode));\n });\n});\nPopupInner.displayName = 'PopupInner';\nexport default PopupInner;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nvar MobilePopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n visible = props.visible,\n zIndex = props.zIndex,\n children = props.children,\n _props$mobile = props.mobile;\n _props$mobile = _props$mobile === void 0 ? {} : _props$mobile;\n var popupClassName = _props$mobile.popupClassName,\n popupStyle = _props$mobile.popupStyle,\n _props$mobile$popupMo = _props$mobile.popupMotion,\n popupMotion = _props$mobile$popupMo === void 0 ? {} : _props$mobile$popupMo,\n popupRender = _props$mobile.popupRender,\n onClick = props.onClick;\n var elementRef = React.useRef(); // ========================= Refs =========================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {},\n getElement: function getElement() {\n return elementRef.current;\n }\n };\n }); // ======================== Render ========================\n\n var mergedStyle = _objectSpread({\n zIndex: zIndex\n }, popupStyle);\n\n var childNode = children; // Wrapper when multiple children\n\n if (React.Children.count(children) > 1) {\n childNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n } // Mobile support additional render\n\n\n if (popupRender) {\n childNode = popupRender(childNode);\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: visible,\n ref: elementRef,\n removeOnLeave: true\n }, popupMotion), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n var mergedClassName = classNames(prefixCls, popupClassName, motionClassName);\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: motionRef,\n className: mergedClassName,\n onClick: onClick,\n style: _objectSpread(_objectSpread({}, motionStyle), mergedStyle)\n }, childNode);\n });\n});\nMobilePopupInner.displayName = 'MobilePopupInner';\nexport default MobilePopupInner;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"visible\", \"mobile\"];\nimport * as React from 'react';\nimport { useState, useEffect } from 'react';\nimport isMobile from \"rc-util/es/isMobile\";\nimport Mask from \"./Mask\";\nimport PopupInner from \"./PopupInner\";\nimport MobilePopupInner from \"./MobilePopupInner\";\nvar Popup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {\n var visible = _ref.visible,\n mobile = _ref.mobile,\n props = _objectWithoutProperties(_ref, _excluded);\n\n var _useState = useState(visible),\n _useState2 = _slicedToArray(_useState, 2),\n innerVisible = _useState2[0],\n serInnerVisible = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n inMobile = _useState4[0],\n setInMobile = _useState4[1];\n\n var cloneProps = _objectSpread(_objectSpread({}, props), {}, {\n visible: innerVisible\n }); // We check mobile in visible changed here.\n // And this also delay set `innerVisible` to avoid popup component render flash\n\n\n useEffect(function () {\n serInnerVisible(visible);\n\n if (visible && mobile) {\n setInMobile(isMobile());\n }\n }, [visible, mobile]);\n var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner, _extends({}, cloneProps, {\n mobile: mobile,\n ref: ref\n })) : /*#__PURE__*/React.createElement(PopupInner, _extends({}, cloneProps, {\n ref: ref\n })); // We can use fragment directly but this may failed some selector usage. Keep as origin logic\n\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(Mask, cloneProps), popupNode);\n});\nPopup.displayName = 'Popup';\nexport default Popup;","import * as React from 'react';\nvar TriggerContext = /*#__PURE__*/React.createContext(null);\nexport default TriggerContext;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport raf from \"rc-util/es/raf\";\nimport contains from \"rc-util/es/Dom/contains\";\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport Portal from \"rc-util/es/Portal\";\nimport classNames from 'classnames';\nimport { getAlignFromPlacement, getAlignPopupClassName } from \"./utils/alignUtil\";\nimport Popup from \"./Popup\";\nimport TriggerContext from \"./context\";\n\nfunction noop() {}\n\nfunction returnEmptyString() {\n return '';\n}\n\nfunction returnDocument(element) {\n if (element) {\n return element.ownerDocument;\n }\n\n return window.document;\n}\n\nvar ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur', 'onContextMenu'];\n\n/**\n * Internal usage. Do not use in your code since this will be removed.\n */\nexport function generateTrigger(PortalComponent) {\n var Trigger = /*#__PURE__*/function (_React$Component) {\n _inherits(Trigger, _React$Component);\n\n var _super = _createSuper(Trigger);\n\n // ensure `getContainer` will be called only once\n function Trigger(props) {\n var _this;\n\n _classCallCheck(this, Trigger);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"popupRef\", /*#__PURE__*/React.createRef());\n\n _defineProperty(_assertThisInitialized(_this), \"triggerRef\", /*#__PURE__*/React.createRef());\n\n _defineProperty(_assertThisInitialized(_this), \"portalContainer\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"attachId\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"clickOutsideHandler\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"touchOutsideHandler\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"contextMenuOutsideHandler1\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"contextMenuOutsideHandler2\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"mouseDownTimeout\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"focusTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"preClickTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"preTouchTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"delayTimer\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"hasPopupMouseDown\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseEnter\", function (e) {\n var mouseEnterDelay = _this.props.mouseEnterDelay;\n\n _this.fireEvents('onMouseEnter', e);\n\n _this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseMove\", function (e) {\n _this.fireEvents('onMouseMove', e);\n\n _this.setPoint(e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseLeave\", function (e) {\n _this.fireEvents('onMouseLeave', e);\n\n _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseEnter\", function () {\n _this.clearDelayTimer();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseLeave\", function (e) {\n var _this$popupRef$curren;\n\n // https://github.com/react-component/trigger/pull/13\n // react bug?\n if (e.relatedTarget && !e.relatedTarget.setTimeout && contains((_this$popupRef$curren = _this.popupRef.current) === null || _this$popupRef$curren === void 0 ? void 0 : _this$popupRef$curren.getElement(), e.relatedTarget)) {\n return;\n }\n\n _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onFocus\", function (e) {\n _this.fireEvents('onFocus', e); // incase focusin and focusout\n\n\n _this.clearDelayTimer();\n\n if (_this.isFocusToShow()) {\n _this.focusTime = Date.now();\n\n _this.delaySetPopupVisible(true, _this.props.focusDelay);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseDown\", function (e) {\n _this.fireEvents('onMouseDown', e);\n\n _this.preClickTime = Date.now();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTouchStart\", function (e) {\n _this.fireEvents('onTouchStart', e);\n\n _this.preTouchTime = Date.now();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onBlur\", function (e) {\n _this.fireEvents('onBlur', e);\n\n _this.clearDelayTimer();\n\n if (_this.isBlurToHide()) {\n _this.delaySetPopupVisible(false, _this.props.blurDelay);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onContextMenu\", function (e) {\n e.preventDefault();\n\n _this.fireEvents('onContextMenu', e);\n\n _this.setPopupVisible(true, e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onContextMenuClose\", function () {\n if (_this.isContextMenuToShow()) {\n _this.close();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n _this.fireEvents('onClick', event); // focus will trigger click\n\n\n if (_this.focusTime) {\n var preTime;\n\n if (_this.preClickTime && _this.preTouchTime) {\n preTime = Math.min(_this.preClickTime, _this.preTouchTime);\n } else if (_this.preClickTime) {\n preTime = _this.preClickTime;\n } else if (_this.preTouchTime) {\n preTime = _this.preTouchTime;\n }\n\n if (Math.abs(preTime - _this.focusTime) < 20) {\n return;\n }\n\n _this.focusTime = 0;\n }\n\n _this.preClickTime = 0;\n _this.preTouchTime = 0; // Only prevent default when all the action is click.\n // https://github.com/ant-design/ant-design/issues/17043\n // https://github.com/ant-design/ant-design/issues/17291\n\n if (_this.isClickToShow() && (_this.isClickToHide() || _this.isBlurToHide()) && event && event.preventDefault) {\n event.preventDefault();\n }\n\n var nextVisible = !_this.state.popupVisible;\n\n if (_this.isClickToHide() && !nextVisible || nextVisible && _this.isClickToShow()) {\n _this.setPopupVisible(!_this.state.popupVisible, event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseDown\", function () {\n _this.hasPopupMouseDown = true;\n clearTimeout(_this.mouseDownTimeout);\n _this.mouseDownTimeout = window.setTimeout(function () {\n _this.hasPopupMouseDown = false;\n }, 0);\n\n if (_this.context) {\n var _this$context;\n\n (_this$context = _this.context).onPopupMouseDown.apply(_this$context, arguments);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDocumentClick\", function (event) {\n if (_this.props.mask && !_this.props.maskClosable) {\n return;\n }\n\n var target = event.target;\n\n var root = _this.getRootDomNode();\n\n var popupNode = _this.getPopupDomNode();\n\n if ( // mousedown on the target should also close popup when action is contextMenu.\n // https://github.com/ant-design/ant-design/issues/29853\n (!contains(root, target) || _this.isContextMenuOnly()) && !contains(popupNode, target) && !_this.hasPopupMouseDown) {\n _this.close();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getRootDomNode\", function () {\n var getTriggerDOMNode = _this.props.getTriggerDOMNode;\n\n if (getTriggerDOMNode) {\n return getTriggerDOMNode(_this.triggerRef.current);\n }\n\n try {\n var domNode = findDOMNode(_this.triggerRef.current);\n\n if (domNode) {\n return domNode;\n }\n } catch (err) {// Do nothing\n }\n\n return ReactDOM.findDOMNode(_assertThisInitialized(_this));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getPopupClassNameFromAlign\", function (align) {\n var className = [];\n var _this$props = _this.props,\n popupPlacement = _this$props.popupPlacement,\n builtinPlacements = _this$props.builtinPlacements,\n prefixCls = _this$props.prefixCls,\n alignPoint = _this$props.alignPoint,\n getPopupClassNameFromAlign = _this$props.getPopupClassNameFromAlign;\n\n if (popupPlacement && builtinPlacements) {\n className.push(getAlignPopupClassName(builtinPlacements, prefixCls, align, alignPoint));\n }\n\n if (getPopupClassNameFromAlign) {\n className.push(getPopupClassNameFromAlign(align));\n }\n\n return className.join(' ');\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getComponent\", function () {\n var _this$props2 = _this.props,\n prefixCls = _this$props2.prefixCls,\n destroyPopupOnHide = _this$props2.destroyPopupOnHide,\n popupClassName = _this$props2.popupClassName,\n onPopupAlign = _this$props2.onPopupAlign,\n popupMotion = _this$props2.popupMotion,\n popupAnimation = _this$props2.popupAnimation,\n popupTransitionName = _this$props2.popupTransitionName,\n popupStyle = _this$props2.popupStyle,\n mask = _this$props2.mask,\n maskAnimation = _this$props2.maskAnimation,\n maskTransitionName = _this$props2.maskTransitionName,\n maskMotion = _this$props2.maskMotion,\n zIndex = _this$props2.zIndex,\n popup = _this$props2.popup,\n stretch = _this$props2.stretch,\n alignPoint = _this$props2.alignPoint,\n mobile = _this$props2.mobile,\n forceRender = _this$props2.forceRender,\n onPopupClick = _this$props2.onPopupClick;\n var _this$state = _this.state,\n popupVisible = _this$state.popupVisible,\n point = _this$state.point;\n\n var align = _this.getPopupAlign();\n\n var mouseProps = {};\n\n if (_this.isMouseEnterToShow()) {\n mouseProps.onMouseEnter = _this.onPopupMouseEnter;\n }\n\n if (_this.isMouseLeaveToHide()) {\n mouseProps.onMouseLeave = _this.onPopupMouseLeave;\n }\n\n mouseProps.onMouseDown = _this.onPopupMouseDown;\n mouseProps.onTouchStart = _this.onPopupMouseDown;\n return /*#__PURE__*/React.createElement(Popup, _extends({\n prefixCls: prefixCls,\n destroyPopupOnHide: destroyPopupOnHide,\n visible: popupVisible,\n point: alignPoint && point,\n className: popupClassName,\n align: align,\n onAlign: onPopupAlign,\n animation: popupAnimation,\n getClassNameFromAlign: _this.getPopupClassNameFromAlign\n }, mouseProps, {\n stretch: stretch,\n getRootDomNode: _this.getRootDomNode,\n style: popupStyle,\n mask: mask,\n zIndex: zIndex,\n transitionName: popupTransitionName,\n maskAnimation: maskAnimation,\n maskTransitionName: maskTransitionName,\n maskMotion: maskMotion,\n ref: _this.popupRef,\n motion: popupMotion,\n mobile: mobile,\n forceRender: forceRender,\n onClick: onPopupClick\n }), typeof popup === 'function' ? popup() : popup);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"attachParent\", function (popupContainer) {\n raf.cancel(_this.attachId);\n var _this$props3 = _this.props,\n getPopupContainer = _this$props3.getPopupContainer,\n getDocument = _this$props3.getDocument;\n\n var domNode = _this.getRootDomNode();\n\n var mountNode;\n\n if (!getPopupContainer) {\n mountNode = getDocument(_this.getRootDomNode()).body;\n } else if (domNode || getPopupContainer.length === 0) {\n // Compatible for legacy getPopupContainer with domNode argument.\n // If no need `domNode` argument, will call directly.\n // https://codesandbox.io/s/eloquent-mclean-ss93m?file=/src/App.js\n mountNode = getPopupContainer(domNode);\n }\n\n if (mountNode) {\n mountNode.appendChild(popupContainer);\n } else {\n // Retry after frame render in case parent not ready\n _this.attachId = raf(function () {\n _this.attachParent(popupContainer);\n });\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getContainer\", function () {\n if (!_this.portalContainer) {\n // In React.StrictMode component will call render multiple time in first mount.\n // When you want to refactor with FC, useRef will also init multiple time and\n // point to different useRef instance which will create multiple element\n // (This multiple render will not trigger effect so you can not clean up this\n // in effect). But this is safe with class component since it always point to same class instance.\n var getDocument = _this.props.getDocument;\n var popupContainer = getDocument(_this.getRootDomNode()).createElement('div'); // Make sure default popup container will never cause scrollbar appearing\n // https://github.com/react-component/trigger/issues/41\n\n popupContainer.style.position = 'absolute';\n popupContainer.style.top = '0';\n popupContainer.style.left = '0';\n popupContainer.style.width = '100%';\n _this.portalContainer = popupContainer;\n }\n\n _this.attachParent(_this.portalContainer);\n\n return _this.portalContainer;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"setPoint\", function (point) {\n var alignPoint = _this.props.alignPoint;\n if (!alignPoint || !point) return;\n\n _this.setState({\n point: {\n pageX: point.pageX,\n pageY: point.pageY\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handlePortalUpdate\", function () {\n if (_this.state.prevPopupVisible !== _this.state.popupVisible) {\n _this.props.afterPopupVisibleChange(_this.state.popupVisible);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"triggerContextValue\", {\n onPopupMouseDown: _this.onPopupMouseDown\n });\n\n var _popupVisible;\n\n if ('popupVisible' in props) {\n _popupVisible = !!props.popupVisible;\n } else {\n _popupVisible = !!props.defaultPopupVisible;\n }\n\n _this.state = {\n prevPopupVisible: _popupVisible,\n popupVisible: _popupVisible\n };\n ALL_HANDLERS.forEach(function (h) {\n _this[\"fire\".concat(h)] = function (e) {\n _this.fireEvents(h, e);\n };\n });\n return _this;\n }\n\n _createClass(Trigger, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.componentDidUpdate();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n var props = this.props;\n var state = this.state; // We must listen to `mousedown` or `touchstart`, edge case:\n // https://github.com/ant-design/ant-design/issues/5804\n // https://github.com/react-component/calendar/issues/250\n // https://github.com/react-component/trigger/issues/50\n\n if (state.popupVisible) {\n var currentDocument;\n\n if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextMenuToShow())) {\n currentDocument = props.getDocument(this.getRootDomNode());\n this.clickOutsideHandler = addEventListener(currentDocument, 'mousedown', this.onDocumentClick);\n } // always hide on mobile\n\n\n if (!this.touchOutsideHandler) {\n currentDocument = currentDocument || props.getDocument(this.getRootDomNode());\n this.touchOutsideHandler = addEventListener(currentDocument, 'touchstart', this.onDocumentClick);\n } // close popup when trigger type contains 'onContextMenu' and document is scrolling.\n\n\n if (!this.contextMenuOutsideHandler1 && this.isContextMenuToShow()) {\n currentDocument = currentDocument || props.getDocument(this.getRootDomNode());\n this.contextMenuOutsideHandler1 = addEventListener(currentDocument, 'scroll', this.onContextMenuClose);\n } // close popup when trigger type contains 'onContextMenu' and window is blur.\n\n\n if (!this.contextMenuOutsideHandler2 && this.isContextMenuToShow()) {\n this.contextMenuOutsideHandler2 = addEventListener(window, 'blur', this.onContextMenuClose);\n }\n\n return;\n }\n\n this.clearOutsideHandler();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.clearDelayTimer();\n this.clearOutsideHandler();\n clearTimeout(this.mouseDownTimeout);\n raf.cancel(this.attachId);\n }\n }, {\n key: \"getPopupDomNode\",\n value: function getPopupDomNode() {\n var _this$popupRef$curren2;\n\n // for test\n return ((_this$popupRef$curren2 = this.popupRef.current) === null || _this$popupRef$curren2 === void 0 ? void 0 : _this$popupRef$curren2.getElement()) || null;\n }\n }, {\n key: \"getPopupAlign\",\n value: function getPopupAlign() {\n var props = this.props;\n var popupPlacement = props.popupPlacement,\n popupAlign = props.popupAlign,\n builtinPlacements = props.builtinPlacements;\n\n if (popupPlacement && builtinPlacements) {\n return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);\n }\n\n return popupAlign;\n }\n }, {\n key: \"setPopupVisible\",\n value:\n /**\n * @param popupVisible Show or not the popup element\n * @param event SyntheticEvent, used for `pointAlign`\n */\n function setPopupVisible(popupVisible, event) {\n var alignPoint = this.props.alignPoint;\n var prevPopupVisible = this.state.popupVisible;\n this.clearDelayTimer();\n\n if (prevPopupVisible !== popupVisible) {\n if (!('popupVisible' in this.props)) {\n this.setState({\n popupVisible: popupVisible,\n prevPopupVisible: prevPopupVisible\n });\n }\n\n this.props.onPopupVisibleChange(popupVisible);\n } // Always record the point position since mouseEnterDelay will delay the show\n\n\n if (alignPoint && event && popupVisible) {\n this.setPoint(event);\n }\n }\n }, {\n key: \"delaySetPopupVisible\",\n value: function delaySetPopupVisible(visible, delayS, event) {\n var _this2 = this;\n\n var delay = delayS * 1000;\n this.clearDelayTimer();\n\n if (delay) {\n var point = event ? {\n pageX: event.pageX,\n pageY: event.pageY\n } : null;\n this.delayTimer = window.setTimeout(function () {\n _this2.setPopupVisible(visible, point);\n\n _this2.clearDelayTimer();\n }, delay);\n } else {\n this.setPopupVisible(visible, event);\n }\n }\n }, {\n key: \"clearDelayTimer\",\n value: function clearDelayTimer() {\n if (this.delayTimer) {\n clearTimeout(this.delayTimer);\n this.delayTimer = null;\n }\n }\n }, {\n key: \"clearOutsideHandler\",\n value: function clearOutsideHandler() {\n if (this.clickOutsideHandler) {\n this.clickOutsideHandler.remove();\n this.clickOutsideHandler = null;\n }\n\n if (this.contextMenuOutsideHandler1) {\n this.contextMenuOutsideHandler1.remove();\n this.contextMenuOutsideHandler1 = null;\n }\n\n if (this.contextMenuOutsideHandler2) {\n this.contextMenuOutsideHandler2.remove();\n this.contextMenuOutsideHandler2 = null;\n }\n\n if (this.touchOutsideHandler) {\n this.touchOutsideHandler.remove();\n this.touchOutsideHandler = null;\n }\n }\n }, {\n key: \"createTwoChains\",\n value: function createTwoChains(event) {\n var childPros = this.props.children.props;\n var props = this.props;\n\n if (childPros[event] && props[event]) {\n return this[\"fire\".concat(event)];\n }\n\n return childPros[event] || props[event];\n }\n }, {\n key: \"isClickToShow\",\n value: function isClickToShow() {\n var _this$props4 = this.props,\n action = _this$props4.action,\n showAction = _this$props4.showAction;\n return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1;\n }\n }, {\n key: \"isContextMenuOnly\",\n value: function isContextMenuOnly() {\n var action = this.props.action;\n return action === 'contextMenu' || action.length === 1 && action[0] === 'contextMenu';\n }\n }, {\n key: \"isContextMenuToShow\",\n value: function isContextMenuToShow() {\n var _this$props5 = this.props,\n action = _this$props5.action,\n showAction = _this$props5.showAction;\n return action.indexOf('contextMenu') !== -1 || showAction.indexOf('contextMenu') !== -1;\n }\n }, {\n key: \"isClickToHide\",\n value: function isClickToHide() {\n var _this$props6 = this.props,\n action = _this$props6.action,\n hideAction = _this$props6.hideAction;\n return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1;\n }\n }, {\n key: \"isMouseEnterToShow\",\n value: function isMouseEnterToShow() {\n var _this$props7 = this.props,\n action = _this$props7.action,\n showAction = _this$props7.showAction;\n return action.indexOf('hover') !== -1 || showAction.indexOf('mouseEnter') !== -1;\n }\n }, {\n key: \"isMouseLeaveToHide\",\n value: function isMouseLeaveToHide() {\n var _this$props8 = this.props,\n action = _this$props8.action,\n hideAction = _this$props8.hideAction;\n return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseLeave') !== -1;\n }\n }, {\n key: \"isFocusToShow\",\n value: function isFocusToShow() {\n var _this$props9 = this.props,\n action = _this$props9.action,\n showAction = _this$props9.showAction;\n return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1;\n }\n }, {\n key: \"isBlurToHide\",\n value: function isBlurToHide() {\n var _this$props10 = this.props,\n action = _this$props10.action,\n hideAction = _this$props10.hideAction;\n return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1;\n }\n }, {\n key: \"forcePopupAlign\",\n value: function forcePopupAlign() {\n if (this.state.popupVisible) {\n var _this$popupRef$curren3;\n\n (_this$popupRef$curren3 = this.popupRef.current) === null || _this$popupRef$curren3 === void 0 ? void 0 : _this$popupRef$curren3.forceAlign();\n }\n }\n }, {\n key: \"fireEvents\",\n value: function fireEvents(type, e) {\n var childCallback = this.props.children.props[type];\n\n if (childCallback) {\n childCallback(e);\n }\n\n var callback = this.props[type];\n\n if (callback) {\n callback(e);\n }\n }\n }, {\n key: \"close\",\n value: function close() {\n this.setPopupVisible(false);\n }\n }, {\n key: \"render\",\n value: function render() {\n var popupVisible = this.state.popupVisible;\n var _this$props11 = this.props,\n children = _this$props11.children,\n forceRender = _this$props11.forceRender,\n alignPoint = _this$props11.alignPoint,\n className = _this$props11.className,\n autoDestroy = _this$props11.autoDestroy;\n var child = React.Children.only(children);\n var newChildProps = {\n key: 'trigger'\n }; // ============================== Visible Handlers ==============================\n // >>> ContextMenu\n\n if (this.isContextMenuToShow()) {\n newChildProps.onContextMenu = this.onContextMenu;\n } else {\n newChildProps.onContextMenu = this.createTwoChains('onContextMenu');\n } // >>> Click\n\n\n if (this.isClickToHide() || this.isClickToShow()) {\n newChildProps.onClick = this.onClick;\n newChildProps.onMouseDown = this.onMouseDown;\n newChildProps.onTouchStart = this.onTouchStart;\n } else {\n newChildProps.onClick = this.createTwoChains('onClick');\n newChildProps.onMouseDown = this.createTwoChains('onMouseDown');\n newChildProps.onTouchStart = this.createTwoChains('onTouchStart');\n } // >>> Hover(enter)\n\n\n if (this.isMouseEnterToShow()) {\n newChildProps.onMouseEnter = this.onMouseEnter; // Point align\n\n if (alignPoint) {\n newChildProps.onMouseMove = this.onMouseMove;\n }\n } else {\n newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');\n } // >>> Hover(leave)\n\n\n if (this.isMouseLeaveToHide()) {\n newChildProps.onMouseLeave = this.onMouseLeave;\n } else {\n newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');\n } // >>> Focus\n\n\n if (this.isFocusToShow() || this.isBlurToHide()) {\n newChildProps.onFocus = this.onFocus;\n newChildProps.onBlur = this.onBlur;\n } else {\n newChildProps.onFocus = this.createTwoChains('onFocus');\n newChildProps.onBlur = this.createTwoChains('onBlur');\n } // =================================== Render ===================================\n\n\n var childrenClassName = classNames(child && child.props && child.props.className, className);\n\n if (childrenClassName) {\n newChildProps.className = childrenClassName;\n }\n\n var cloneProps = _objectSpread({}, newChildProps);\n\n if (supportRef(child)) {\n cloneProps.ref = composeRef(this.triggerRef, child.ref);\n }\n\n var trigger = /*#__PURE__*/React.cloneElement(child, cloneProps);\n var portal; // prevent unmounting after it's rendered\n\n if (popupVisible || this.popupRef.current || forceRender) {\n portal = /*#__PURE__*/React.createElement(PortalComponent, {\n key: \"portal\",\n getContainer: this.getContainer,\n didUpdate: this.handlePortalUpdate\n }, this.getComponent());\n }\n\n if (!popupVisible && autoDestroy) {\n portal = null;\n }\n\n return /*#__PURE__*/React.createElement(TriggerContext.Provider, {\n value: this.triggerContextValue\n }, trigger, portal);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref, prevState) {\n var popupVisible = _ref.popupVisible;\n var newState = {};\n\n if (popupVisible !== undefined && prevState.popupVisible !== popupVisible) {\n newState.popupVisible = popupVisible;\n newState.prevPopupVisible = prevState.popupVisible;\n }\n\n return newState;\n }\n }]);\n\n return Trigger;\n }(React.Component);\n\n _defineProperty(Trigger, \"contextType\", TriggerContext);\n\n _defineProperty(Trigger, \"defaultProps\", {\n prefixCls: 'rc-trigger-popup',\n getPopupClassNameFromAlign: returnEmptyString,\n getDocument: returnDocument,\n onPopupVisibleChange: noop,\n afterPopupVisibleChange: noop,\n onPopupAlign: noop,\n popupClassName: '',\n mouseEnterDelay: 0,\n mouseLeaveDelay: 0.1,\n focusDelay: 0,\n blurDelay: 0.15,\n popupStyle: {},\n destroyPopupOnHide: false,\n popupAlign: {},\n defaultPopupVisible: false,\n mask: false,\n maskClosable: true,\n action: [],\n showAction: [],\n hideAction: [],\n autoDestroy: false\n });\n\n return Trigger;\n}\nexport default generateTrigger(Portal);","import React from 'react';\nimport { isFragment } from 'react-is';\nexport default function toArray(children) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var ret = [];\n React.Children.forEach(children, function (child) {\n if ((child === undefined || child === null) && !option.keepEmpty) {\n return;\n }\n if (Array.isArray(child)) {\n ret = ret.concat(toArray(child));\n } else if (isFragment(child) && child.props) {\n ret = ret.concat(toArray(child.props.children, option));\n } else {\n ret.push(child);\n }\n });\n return ret;\n}","import ReactDOM from 'react-dom';\nexport default function addEventListenerWrap(target, eventType, cb, option) {\n /* eslint camelcase: 2 */\n var callback = ReactDOM.unstable_batchedUpdates ? function run(e) {\n ReactDOM.unstable_batchedUpdates(cb, e);\n } : cb;\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, option);\n }\n return {\n remove: function remove() {\n if (target.removeEventListener) {\n target.removeEventListener(eventType, callback, option);\n }\n }\n };\n}","export default function canUseDom() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}","export default function contains(root, n) {\n if (!root) {\n return false;\n }\n // Use native if support\n if (root.contains) {\n return root.contains(n);\n }\n // `document.contains` not support with IE11\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}","import canUseDom from './canUseDom';\nimport contains from './contains';\nvar APPEND_ORDER = 'data-rc-order';\nvar MARK_KEY = \"rc-util-key\";\nvar containerCache = new Map();\nfunction getMark() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n mark = _ref.mark;\n if (mark) {\n return mark.startsWith('data-') ? mark : \"data-\".concat(mark);\n }\n return MARK_KEY;\n}\nfunction getContainer(option) {\n if (option.attachTo) {\n return option.attachTo;\n }\n var head = document.querySelector('head');\n return head || document.body;\n}\nfunction getOrder(prepend) {\n if (prepend === 'queue') {\n return 'prependQueue';\n }\n return prepend ? 'prepend' : 'append';\n}\n/**\n * Find style which inject by rc-util\n */\nfunction findStyles(container) {\n return Array.from((containerCache.get(container) || container).children).filter(function (node) {\n return node.tagName === 'STYLE';\n });\n}\nexport function injectCSS(css) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!canUseDom()) {\n return null;\n }\n var csp = option.csp,\n prepend = option.prepend;\n var styleNode = document.createElement('style');\n styleNode.setAttribute(APPEND_ORDER, getOrder(prepend));\n if (csp === null || csp === void 0 ? void 0 : csp.nonce) {\n styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;\n }\n styleNode.innerHTML = css;\n var container = getContainer(option);\n var firstChild = container.firstChild;\n if (prepend) {\n // If is queue `prepend`, it will prepend first style and then append rest style\n if (prepend === 'queue') {\n var existStyle = findStyles(container).filter(function (node) {\n return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER));\n });\n if (existStyle.length) {\n container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);\n return styleNode;\n }\n }\n // Use `insertBefore` as `prepend`\n container.insertBefore(styleNode, firstChild);\n } else {\n container.appendChild(styleNode);\n }\n return styleNode;\n}\nfunction findExistNode(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var container = getContainer(option);\n return findStyles(container).find(function (node) {\n return node.getAttribute(getMark(option)) === key;\n });\n}\nexport function removeCSS(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var existNode = findExistNode(key, option);\n if (existNode) {\n var container = getContainer(option);\n container.removeChild(existNode);\n }\n}\n/**\n * qiankun will inject `appendChild` to insert into other\n */\nfunction syncRealContainer(container, option) {\n var cachedRealContainer = containerCache.get(container);\n // Find real container when not cached or cached container removed\n if (!cachedRealContainer || !contains(document, cachedRealContainer)) {\n var placeholderStyle = injectCSS('', option);\n var parentNode = placeholderStyle.parentNode;\n containerCache.set(container, parentNode);\n container.removeChild(placeholderStyle);\n }\n}\n/**\n * manually clear container cache to avoid global cache in unit testes\n */\nexport function clearContainerCache() {\n containerCache.clear();\n}\nexport function updateCSS(css, key) {\n var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var container = getContainer(option);\n // Sync real parent\n syncRealContainer(container, option);\n var existNode = findExistNode(key, option);\n if (existNode) {\n var _option$csp, _option$csp2;\n if (((_option$csp = option.csp) === null || _option$csp === void 0 ? void 0 : _option$csp.nonce) && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {\n var _option$csp3;\n existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;\n }\n if (existNode.innerHTML !== css) {\n existNode.innerHTML = css;\n }\n return existNode;\n }\n var newNode = injectCSS(css, option);\n newNode.setAttribute(getMark(option), key);\n return newNode;\n}","import ReactDOM from 'react-dom';\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\nexport default function findDOMNode(node) {\n if (node instanceof HTMLElement) {\n return node;\n }\n return ReactDOM.findDOMNode(node);\n}","export default (function (element) {\n if (!element) {\n return false;\n }\n if (element instanceof HTMLElement && element.offsetParent) {\n return true;\n }\n if (element instanceof SVGGraphicsElement && element.getBBox) {\n var _element$getBBox = element.getBBox(),\n width = _element$getBBox.width,\n height = _element$getBBox.height;\n if (width || height) {\n return true;\n }\n }\n if (element instanceof HTMLElement && element.getBoundingClientRect) {\n var _element$getBoundingC = element.getBoundingClientRect(),\n _width = _element$getBoundingC.width,\n _height = _element$getBoundingC.height;\n if (_width || _height) {\n return true;\n }\n }\n return false;\n});","import * as React from 'react';\nexport default function useEvent(callback) {\n var fnRef = React.useRef();\n fnRef.current = callback;\n var memoFn = React.useCallback(function () {\n var _fnRef$current;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));\n }, []);\n return memoFn;\n}","import * as React from 'react';\nimport canUseDom from '../Dom/canUseDom';\n/**\n * Wrap `React.useLayoutEffect` which will not throw warning message in test env\n */\nvar useLayoutEffect = process.env.NODE_ENV !== 'test' && canUseDom() ? React.useLayoutEffect : React.useEffect;\nexport default useLayoutEffect;\nexport var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {\n var firstMountRef = React.useRef(true);\n useLayoutEffect(function () {\n if (!firstMountRef.current) {\n return callback();\n }\n }, deps);\n // We tell react that first mount has passed\n useLayoutEffect(function () {\n firstMountRef.current = false;\n return function () {\n firstMountRef.current = true;\n };\n }, []);\n};","import * as React from 'react';\nexport default function useMemo(getValue, condition, shouldUpdate) {\n var cacheRef = React.useRef({});\n if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {\n cacheRef.current.value = getValue();\n cacheRef.current.condition = condition;\n }\n return cacheRef.current.value;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useEvent from './useEvent';\nimport { useLayoutUpdateEffect } from './useLayoutEffect';\nimport useState from './useState';\n/** We only think `undefined` is empty */\nfunction hasValue(value) {\n return value !== undefined;\n}\n/**\n * Similar to `useState` but will use props value if provided.\n * Note that internal use rc-util `useState` hook.\n */\nexport default function useMergedState(defaultStateValue, option) {\n var _ref = option || {},\n defaultValue = _ref.defaultValue,\n value = _ref.value,\n onChange = _ref.onChange,\n postState = _ref.postState;\n // ======================= Init =======================\n var _useState = useState(function () {\n if (hasValue(value)) {\n return value;\n } else if (hasValue(defaultValue)) {\n return typeof defaultValue === 'function' ? defaultValue() : defaultValue;\n } else {\n return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;\n }\n }),\n _useState2 = _slicedToArray(_useState, 2),\n innerValue = _useState2[0],\n setInnerValue = _useState2[1];\n var mergedValue = value !== undefined ? value : innerValue;\n var postMergedValue = postState ? postState(mergedValue) : mergedValue;\n // ====================== Change ======================\n var onChangeFn = useEvent(onChange);\n var _useState3 = useState([mergedValue]),\n _useState4 = _slicedToArray(_useState3, 2),\n prevValue = _useState4[0],\n setPrevValue = _useState4[1];\n useLayoutUpdateEffect(function () {\n var prev = prevValue[0];\n if (innerValue !== prev) {\n onChangeFn(innerValue, prev);\n }\n }, [prevValue]);\n // Sync value back to `undefined` when it from control to un-control\n useLayoutUpdateEffect(function () {\n if (!hasValue(value)) {\n setInnerValue(value);\n }\n }, [value]);\n // ====================== Update ======================\n var triggerChange = useEvent(function (updater, ignoreDestroy) {\n setInnerValue(updater, ignoreDestroy);\n setPrevValue([mergedValue], ignoreDestroy);\n });\n return [postMergedValue, triggerChange];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\n/**\n * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.\n * We do not make this auto is to avoid real memory leak.\n * Developer should confirm it's safe to ignore themselves.\n */\nexport default function useSafeState(defaultValue) {\n var destroyRef = React.useRef(false);\n var _React$useState = React.useState(defaultValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n value = _React$useState2[0],\n setValue = _React$useState2[1];\n React.useEffect(function () {\n destroyRef.current = false;\n return function () {\n destroyRef.current = true;\n };\n }, []);\n function safeSetState(updater, ignoreDestroy) {\n if (ignoreDestroy && destroyRef.current) {\n return;\n }\n setValue(updater);\n }\n return [value, safeSetState];\n}","export default (function () {\n if (typeof navigator === 'undefined' || typeof window === 'undefined') {\n return false;\n }\n var agent = navigator.userAgent || navigator.vendor || window.opera;\n return /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(agent === null || agent === void 0 ? void 0 : agent.substr(0, 4));\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nexport default function omit(obj, fields) {\n var clone = _objectSpread({}, obj);\n if (Array.isArray(fields)) {\n fields.forEach(function (key) {\n delete clone[key];\n });\n }\n return clone;\n}","var raf = function raf(callback) {\n return +setTimeout(callback, 16);\n};\nvar caf = function caf(num) {\n return clearTimeout(num);\n};\nif (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {\n raf = function raf(callback) {\n return window.requestAnimationFrame(callback);\n };\n caf = function caf(handle) {\n return window.cancelAnimationFrame(handle);\n };\n}\nvar rafUUID = 0;\nvar rafIds = new Map();\nfunction cleanup(id) {\n rafIds.delete(id);\n}\nvar wrapperRaf = function wrapperRaf(callback) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n rafUUID += 1;\n var id = rafUUID;\n function callRef(leftTimes) {\n if (leftTimes === 0) {\n // Clean up\n cleanup(id);\n // Trigger\n callback();\n } else {\n // Next raf\n var realId = raf(function () {\n callRef(leftTimes - 1);\n });\n // Bind real raf id\n rafIds.set(id, realId);\n }\n }\n callRef(times);\n return id;\n};\nwrapperRaf.cancel = function (id) {\n var realId = rafIds.get(id);\n cleanup(realId);\n return caf(realId);\n};\nexport default wrapperRaf;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { isMemo } from 'react-is';\nimport useMemo from './hooks/useMemo';\nexport function fillRef(ref, node) {\n if (typeof ref === 'function') {\n ref(node);\n } else if (_typeof(ref) === 'object' && ref && 'current' in ref) {\n ref.current = node;\n }\n}\n/**\n * Merge refs into one ref function to support ref passing.\n */\nexport function composeRef() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n var refList = refs.filter(function (ref) {\n return ref;\n });\n if (refList.length <= 1) {\n return refList[0];\n }\n return function (node) {\n refs.forEach(function (ref) {\n fillRef(ref, node);\n });\n };\n}\nexport function useComposeRef() {\n for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n refs[_key2] = arguments[_key2];\n }\n return useMemo(function () {\n return composeRef.apply(void 0, refs);\n }, refs, function (prev, next) {\n return prev.length === next.length && prev.every(function (ref, i) {\n return ref === next[i];\n });\n });\n}\nexport function supportRef(nodeOrComponent) {\n var _type$prototype, _nodeOrComponent$prot;\n var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;\n // Function component node\n if (typeof type === 'function' && !((_type$prototype = type.prototype) === null || _type$prototype === void 0 ? void 0 : _type$prototype.render)) {\n return false;\n }\n // Class component\n if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) === null || _nodeOrComponent$prot === void 0 ? void 0 : _nodeOrComponent$prot.render)) {\n return false;\n }\n return true;\n}\n/* eslint-enable */","/* eslint-disable no-console */\nvar warned = {};\nexport function warning(valid, message) {\n // Support uglify\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n console.error(\"Warning: \".concat(message));\n }\n}\nexport function note(valid, message) {\n // Support uglify\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n console.warn(\"Note: \".concat(message));\n }\n}\nexport function resetWarned() {\n warned = {};\n}\nexport function call(method, valid, message) {\n if (!valid && !warned[message]) {\n method(false, message);\n warned[message] = true;\n }\n}\nexport function warningOnce(valid, message) {\n call(warning, valid, message);\n}\nexport function noteOnce(valid, message) {\n call(note, valid, message);\n}\nexport default warningOnce;\n/* eslint-enable */","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\r\n/* eslint-disable require-jsdoc, valid-jsdoc */\r\nvar MapShim = (function () {\r\n if (typeof Map !== 'undefined') {\r\n return Map;\r\n }\r\n /**\r\n * Returns index in provided array that matches the specified key.\r\n *\r\n * @param {Array} arr\r\n * @param {*} key\r\n * @returns {number}\r\n */\r\n function getIndex(arr, key) {\r\n var result = -1;\r\n arr.some(function (entry, index) {\r\n if (entry[0] === key) {\r\n result = index;\r\n return true;\r\n }\r\n return false;\r\n });\r\n return result;\r\n }\r\n return /** @class */ (function () {\r\n function class_1() {\r\n this.__entries__ = [];\r\n }\r\n Object.defineProperty(class_1.prototype, \"size\", {\r\n /**\r\n * @returns {boolean}\r\n */\r\n get: function () {\r\n return this.__entries__.length;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * @param {*} key\r\n * @returns {*}\r\n */\r\n class_1.prototype.get = function (key) {\r\n var index = getIndex(this.__entries__, key);\r\n var entry = this.__entries__[index];\r\n return entry && entry[1];\r\n };\r\n /**\r\n * @param {*} key\r\n * @param {*} value\r\n * @returns {void}\r\n */\r\n class_1.prototype.set = function (key, value) {\r\n var index = getIndex(this.__entries__, key);\r\n if (~index) {\r\n this.__entries__[index][1] = value;\r\n }\r\n else {\r\n this.__entries__.push([key, value]);\r\n }\r\n };\r\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\r\n class_1.prototype.delete = function (key) {\r\n var entries = this.__entries__;\r\n var index = getIndex(entries, key);\r\n if (~index) {\r\n entries.splice(index, 1);\r\n }\r\n };\r\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\r\n class_1.prototype.has = function (key) {\r\n return !!~getIndex(this.__entries__, key);\r\n };\r\n /**\r\n * @returns {void}\r\n */\r\n class_1.prototype.clear = function () {\r\n this.__entries__.splice(0);\r\n };\r\n /**\r\n * @param {Function} callback\r\n * @param {*} [ctx=null]\r\n * @returns {void}\r\n */\r\n class_1.prototype.forEach = function (callback, ctx) {\r\n if (ctx === void 0) { ctx = null; }\r\n for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {\r\n var entry = _a[_i];\r\n callback.call(ctx, entry[1], entry[0]);\r\n }\r\n };\r\n return class_1;\r\n }());\r\n})();\n\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\r\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\n// Returns global object of a current environment.\r\nvar global$1 = (function () {\r\n if (typeof global !== 'undefined' && global.Math === Math) {\r\n return global;\r\n }\r\n if (typeof self !== 'undefined' && self.Math === Math) {\r\n return self;\r\n }\r\n if (typeof window !== 'undefined' && window.Math === Math) {\r\n return window;\r\n }\r\n // eslint-disable-next-line no-new-func\r\n return Function('return this')();\r\n})();\n\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\r\nvar requestAnimationFrame$1 = (function () {\r\n if (typeof requestAnimationFrame === 'function') {\r\n // It's required to use a bounded function because IE sometimes throws\r\n // an \"Invalid calling object\" error if rAF is invoked without the global\r\n // object on the left hand side.\r\n return requestAnimationFrame.bind(global$1);\r\n }\r\n return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\r\n})();\n\n// Defines minimum timeout before adding a trailing call.\r\nvar trailingTimeout = 2;\r\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\r\nfunction throttle (callback, delay) {\r\n var leadingCall = false, trailingCall = false, lastCallTime = 0;\r\n /**\r\n * Invokes the original callback function and schedules new invocation if\r\n * the \"proxy\" was called during current request.\r\n *\r\n * @returns {void}\r\n */\r\n function resolvePending() {\r\n if (leadingCall) {\r\n leadingCall = false;\r\n callback();\r\n }\r\n if (trailingCall) {\r\n proxy();\r\n }\r\n }\r\n /**\r\n * Callback invoked after the specified delay. It will further postpone\r\n * invocation of the original function delegating it to the\r\n * requestAnimationFrame.\r\n *\r\n * @returns {void}\r\n */\r\n function timeoutCallback() {\r\n requestAnimationFrame$1(resolvePending);\r\n }\r\n /**\r\n * Schedules invocation of the original function.\r\n *\r\n * @returns {void}\r\n */\r\n function proxy() {\r\n var timeStamp = Date.now();\r\n if (leadingCall) {\r\n // Reject immediately following calls.\r\n if (timeStamp - lastCallTime < trailingTimeout) {\r\n return;\r\n }\r\n // Schedule new call to be in invoked when the pending one is resolved.\r\n // This is important for \"transitions\" which never actually start\r\n // immediately so there is a chance that we might miss one if change\r\n // happens amids the pending invocation.\r\n trailingCall = true;\r\n }\r\n else {\r\n leadingCall = true;\r\n trailingCall = false;\r\n setTimeout(timeoutCallback, delay);\r\n }\r\n lastCallTime = timeStamp;\r\n }\r\n return proxy;\r\n}\n\n// Minimum delay before invoking the update of observers.\r\nvar REFRESH_DELAY = 20;\r\n// A list of substrings of CSS properties used to find transition events that\r\n// might affect dimensions of observed elements.\r\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\r\n// Check if MutationObserver is available.\r\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\r\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\r\nvar ResizeObserverController = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserverController.\r\n *\r\n * @private\r\n */\r\n function ResizeObserverController() {\r\n /**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\r\n this.connected_ = false;\r\n /**\r\n * Tells that controller has subscribed for Mutation Events.\r\n *\r\n * @private {boolean}\r\n */\r\n this.mutationEventsAdded_ = false;\r\n /**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\r\n this.mutationsObserver_ = null;\r\n /**\r\n * A list of connected observers.\r\n *\r\n * @private {Array}\r\n */\r\n this.observers_ = [];\r\n this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\r\n this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\r\n }\r\n /**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.addObserver = function (observer) {\r\n if (!~this.observers_.indexOf(observer)) {\r\n this.observers_.push(observer);\r\n }\r\n // Add listeners if they haven't been added yet.\r\n if (!this.connected_) {\r\n this.connect_();\r\n }\r\n };\r\n /**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.removeObserver = function (observer) {\r\n var observers = this.observers_;\r\n var index = observers.indexOf(observer);\r\n // Remove observer if it's present in registry.\r\n if (~index) {\r\n observers.splice(index, 1);\r\n }\r\n // Remove listeners if controller has no connected observers.\r\n if (!observers.length && this.connected_) {\r\n this.disconnect_();\r\n }\r\n };\r\n /**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.refresh = function () {\r\n var changesDetected = this.updateObservers_();\r\n // Continue running updates if changes have been detected as there might\r\n // be future ones caused by CSS transitions.\r\n if (changesDetected) {\r\n this.refresh();\r\n }\r\n };\r\n /**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n * dimensions of it's elements.\r\n */\r\n ResizeObserverController.prototype.updateObservers_ = function () {\r\n // Collect observers that have active observations.\r\n var activeObservers = this.observers_.filter(function (observer) {\r\n return observer.gatherActive(), observer.hasActive();\r\n });\r\n // Deliver notifications in a separate cycle in order to avoid any\r\n // collisions between observers, e.g. when multiple instances of\r\n // ResizeObserver are tracking the same element and the callback of one\r\n // of them changes content dimensions of the observed target. Sometimes\r\n // this may result in notifications being blocked for the rest of observers.\r\n activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\r\n return activeObservers.length > 0;\r\n };\r\n /**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.connect_ = function () {\r\n // Do nothing if running in a non-browser environment or if listeners\r\n // have been already added.\r\n if (!isBrowser || this.connected_) {\r\n return;\r\n }\r\n // Subscription to the \"Transitionend\" event is used as a workaround for\r\n // delayed transitions. This way it's possible to capture at least the\r\n // final state of an element.\r\n document.addEventListener('transitionend', this.onTransitionEnd_);\r\n window.addEventListener('resize', this.refresh);\r\n if (mutationObserverSupported) {\r\n this.mutationsObserver_ = new MutationObserver(this.refresh);\r\n this.mutationsObserver_.observe(document, {\r\n attributes: true,\r\n childList: true,\r\n characterData: true,\r\n subtree: true\r\n });\r\n }\r\n else {\r\n document.addEventListener('DOMSubtreeModified', this.refresh);\r\n this.mutationEventsAdded_ = true;\r\n }\r\n this.connected_ = true;\r\n };\r\n /**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.disconnect_ = function () {\r\n // Do nothing if running in a non-browser environment or if listeners\r\n // have been already removed.\r\n if (!isBrowser || !this.connected_) {\r\n return;\r\n }\r\n document.removeEventListener('transitionend', this.onTransitionEnd_);\r\n window.removeEventListener('resize', this.refresh);\r\n if (this.mutationsObserver_) {\r\n this.mutationsObserver_.disconnect();\r\n }\r\n if (this.mutationEventsAdded_) {\r\n document.removeEventListener('DOMSubtreeModified', this.refresh);\r\n }\r\n this.mutationsObserver_ = null;\r\n this.mutationEventsAdded_ = false;\r\n this.connected_ = false;\r\n };\r\n /**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {\r\n var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;\r\n // Detect whether transition may affect dimensions of an element.\r\n var isReflowProperty = transitionKeys.some(function (key) {\r\n return !!~propertyName.indexOf(key);\r\n });\r\n if (isReflowProperty) {\r\n this.refresh();\r\n }\r\n };\r\n /**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\r\n ResizeObserverController.getInstance = function () {\r\n if (!this.instance_) {\r\n this.instance_ = new ResizeObserverController();\r\n }\r\n return this.instance_;\r\n };\r\n /**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\r\n ResizeObserverController.instance_ = null;\r\n return ResizeObserverController;\r\n}());\n\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\r\nvar defineConfigurable = (function (target, props) {\r\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\r\n var key = _a[_i];\r\n Object.defineProperty(target, key, {\r\n value: props[key],\r\n enumerable: false,\r\n writable: false,\r\n configurable: true\r\n });\r\n }\r\n return target;\r\n});\n\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\r\nvar getWindowOf = (function (target) {\r\n // Assume that the element is an instance of Node, which means that it\r\n // has the \"ownerDocument\" property from which we can retrieve a\r\n // corresponding global object.\r\n var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\r\n // Return the local global object if it's not possible extract one from\r\n // provided element.\r\n return ownerGlobal || global$1;\r\n});\n\n// Placeholder of an empty content rectangle.\r\nvar emptyRect = createRectInit(0, 0, 0, 0);\r\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\r\nfunction toFloat(value) {\r\n return parseFloat(value) || 0;\r\n}\r\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\r\nfunction getBordersSize(styles) {\r\n var positions = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n positions[_i - 1] = arguments[_i];\r\n }\r\n return positions.reduce(function (size, position) {\r\n var value = styles['border-' + position + '-width'];\r\n return size + toFloat(value);\r\n }, 0);\r\n}\r\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\r\nfunction getPaddings(styles) {\r\n var positions = ['top', 'right', 'bottom', 'left'];\r\n var paddings = {};\r\n for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {\r\n var position = positions_1[_i];\r\n var value = styles['padding-' + position];\r\n paddings[position] = toFloat(value);\r\n }\r\n return paddings;\r\n}\r\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n * to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getSVGContentRect(target) {\r\n var bbox = target.getBBox();\r\n return createRectInit(0, 0, bbox.width, bbox.height);\r\n}\r\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getHTMLElementContentRect(target) {\r\n // Client width & height properties can't be\r\n // used exclusively as they provide rounded values.\r\n var clientWidth = target.clientWidth, clientHeight = target.clientHeight;\r\n // By this condition we can catch all non-replaced inline, hidden and\r\n // detached elements. Though elements with width & height properties less\r\n // than 0.5 will be discarded as well.\r\n //\r\n // Without it we would need to implement separate methods for each of\r\n // those cases and it's not possible to perform a precise and performance\r\n // effective test for hidden elements. E.g. even jQuery's ':visible' filter\r\n // gives wrong results for elements with width & height less than 0.5.\r\n if (!clientWidth && !clientHeight) {\r\n return emptyRect;\r\n }\r\n var styles = getWindowOf(target).getComputedStyle(target);\r\n var paddings = getPaddings(styles);\r\n var horizPad = paddings.left + paddings.right;\r\n var vertPad = paddings.top + paddings.bottom;\r\n // Computed styles of width & height are being used because they are the\r\n // only dimensions available to JS that contain non-rounded values. It could\r\n // be possible to utilize the getBoundingClientRect if only it's data wasn't\r\n // affected by CSS transformations let alone paddings, borders and scroll bars.\r\n var width = toFloat(styles.width), height = toFloat(styles.height);\r\n // Width & height include paddings and borders when the 'border-box' box\r\n // model is applied (except for IE).\r\n if (styles.boxSizing === 'border-box') {\r\n // Following conditions are required to handle Internet Explorer which\r\n // doesn't include paddings and borders to computed CSS dimensions.\r\n //\r\n // We can say that if CSS dimensions + paddings are equal to the \"client\"\r\n // properties then it's either IE, and thus we don't need to subtract\r\n // anything, or an element merely doesn't have paddings/borders styles.\r\n if (Math.round(width + horizPad) !== clientWidth) {\r\n width -= getBordersSize(styles, 'left', 'right') + horizPad;\r\n }\r\n if (Math.round(height + vertPad) !== clientHeight) {\r\n height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\r\n }\r\n }\r\n // Following steps can't be applied to the document's root element as its\r\n // client[Width/Height] properties represent viewport area of the window.\r\n // Besides, it's as well not necessary as the itself neither has\r\n // rendered scroll bars nor it can be clipped.\r\n if (!isDocumentElement(target)) {\r\n // In some browsers (only in Firefox, actually) CSS width & height\r\n // include scroll bars size which can be removed at this step as scroll\r\n // bars are the only difference between rounded dimensions + paddings\r\n // and \"client\" properties, though that is not always true in Chrome.\r\n var vertScrollbar = Math.round(width + horizPad) - clientWidth;\r\n var horizScrollbar = Math.round(height + vertPad) - clientHeight;\r\n // Chrome has a rather weird rounding of \"client\" properties.\r\n // E.g. for an element with content width of 314.2px it sometimes gives\r\n // the client width of 315px and for the width of 314.7px it may give\r\n // 314px. And it doesn't happen all the time. So just ignore this delta\r\n // as a non-relevant.\r\n if (Math.abs(vertScrollbar) !== 1) {\r\n width -= vertScrollbar;\r\n }\r\n if (Math.abs(horizScrollbar) !== 1) {\r\n height -= horizScrollbar;\r\n }\r\n }\r\n return createRectInit(paddings.left, paddings.top, width, height);\r\n}\r\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nvar isSVGGraphicsElement = (function () {\r\n // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\r\n // interface.\r\n if (typeof SVGGraphicsElement !== 'undefined') {\r\n return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\r\n }\r\n // If it's so, then check that element is at least an instance of the\r\n // SVGElement and that it has the \"getBBox\" method.\r\n // eslint-disable-next-line no-extra-parens\r\n return function (target) { return (target instanceof getWindowOf(target).SVGElement &&\r\n typeof target.getBBox === 'function'); };\r\n})();\r\n/**\r\n * Checks whether provided element is a document element ().\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nfunction isDocumentElement(target) {\r\n return target === getWindowOf(target).document.documentElement;\r\n}\r\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getContentRect(target) {\r\n if (!isBrowser) {\r\n return emptyRect;\r\n }\r\n if (isSVGGraphicsElement(target)) {\r\n return getSVGContentRect(target);\r\n }\r\n return getHTMLElementContentRect(target);\r\n}\r\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\r\nfunction createReadOnlyRect(_a) {\r\n var x = _a.x, y = _a.y, width = _a.width, height = _a.height;\r\n // If DOMRectReadOnly is available use it as a prototype for the rectangle.\r\n var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\r\n var rect = Object.create(Constr.prototype);\r\n // Rectangle's properties are not writable and non-enumerable.\r\n defineConfigurable(rect, {\r\n x: x, y: y, width: width, height: height,\r\n top: y,\r\n right: x + width,\r\n bottom: height + y,\r\n left: x\r\n });\r\n return rect;\r\n}\r\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction createRectInit(x, y, width, height) {\r\n return { x: x, y: y, width: width, height: height };\r\n}\n\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\r\nvar ResizeObservation = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ResizeObservation.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n */\r\n function ResizeObservation(target) {\r\n /**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\r\n this.broadcastWidth = 0;\r\n /**\r\n * Broadcasted height of content rectangle.\r\n *\r\n * @type {number}\r\n */\r\n this.broadcastHeight = 0;\r\n /**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\r\n this.contentRect_ = createRectInit(0, 0, 0, 0);\r\n this.target = target;\r\n }\r\n /**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\r\n ResizeObservation.prototype.isActive = function () {\r\n var rect = getContentRect(this.target);\r\n this.contentRect_ = rect;\r\n return (rect.width !== this.broadcastWidth ||\r\n rect.height !== this.broadcastHeight);\r\n };\r\n /**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\r\n ResizeObservation.prototype.broadcastRect = function () {\r\n var rect = this.contentRect_;\r\n this.broadcastWidth = rect.width;\r\n this.broadcastHeight = rect.height;\r\n return rect;\r\n };\r\n return ResizeObservation;\r\n}());\n\nvar ResizeObserverEntry = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ResizeObserverEntry.\r\n *\r\n * @param {Element} target - Element that is being observed.\r\n * @param {DOMRectInit} rectInit - Data of the element's content rectangle.\r\n */\r\n function ResizeObserverEntry(target, rectInit) {\r\n var contentRect = createReadOnlyRect(rectInit);\r\n // According to the specification following properties are not writable\r\n // and are also not enumerable in the native implementation.\r\n //\r\n // Property accessors are not being used as they'd require to define a\r\n // private WeakMap storage which may cause memory leaks in browsers that\r\n // don't support this type of collections.\r\n defineConfigurable(this, { target: target, contentRect: contentRect });\r\n }\r\n return ResizeObserverEntry;\r\n}());\n\nvar ResizeObserverSPI = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback function that is invoked\r\n * when one of the observed elements changes it's content dimensions.\r\n * @param {ResizeObserverController} controller - Controller instance which\r\n * is responsible for the updates of observer.\r\n * @param {ResizeObserver} callbackCtx - Reference to the public\r\n * ResizeObserver instance which will be passed to callback function.\r\n */\r\n function ResizeObserverSPI(callback, controller, callbackCtx) {\r\n /**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array}\r\n */\r\n this.activeObservations_ = [];\r\n /**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map}\r\n */\r\n this.observations_ = new MapShim();\r\n if (typeof callback !== 'function') {\r\n throw new TypeError('The callback provided as parameter 1 is not a function.');\r\n }\r\n this.callback_ = callback;\r\n this.controller_ = controller;\r\n this.callbackCtx_ = callbackCtx;\r\n }\r\n /**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.observe = function (target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n // Do nothing if current environment doesn't have the Element interface.\r\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n return;\r\n }\r\n if (!(target instanceof getWindowOf(target).Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n var observations = this.observations_;\r\n // Do nothing if element is already being observed.\r\n if (observations.has(target)) {\r\n return;\r\n }\r\n observations.set(target, new ResizeObservation(target));\r\n this.controller_.addObserver(this);\r\n // Force the update of observations.\r\n this.controller_.refresh();\r\n };\r\n /**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.unobserve = function (target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n // Do nothing if current environment doesn't have the Element interface.\r\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n return;\r\n }\r\n if (!(target instanceof getWindowOf(target).Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n var observations = this.observations_;\r\n // Do nothing if element is not being observed.\r\n if (!observations.has(target)) {\r\n return;\r\n }\r\n observations.delete(target);\r\n if (!observations.size) {\r\n this.controller_.removeObserver(this);\r\n }\r\n };\r\n /**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.disconnect = function () {\r\n this.clearActive();\r\n this.observations_.clear();\r\n this.controller_.removeObserver(this);\r\n };\r\n /**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.gatherActive = function () {\r\n var _this = this;\r\n this.clearActive();\r\n this.observations_.forEach(function (observation) {\r\n if (observation.isActive()) {\r\n _this.activeObservations_.push(observation);\r\n }\r\n });\r\n };\r\n /**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.broadcastActive = function () {\r\n // Do nothing if observer doesn't have active observations.\r\n if (!this.hasActive()) {\r\n return;\r\n }\r\n var ctx = this.callbackCtx_;\r\n // Create ResizeObserverEntry instance for every active observation.\r\n var entries = this.activeObservations_.map(function (observation) {\r\n return new ResizeObserverEntry(observation.target, observation.broadcastRect());\r\n });\r\n this.callback_.call(ctx, entries, ctx);\r\n this.clearActive();\r\n };\r\n /**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.clearActive = function () {\r\n this.activeObservations_.splice(0);\r\n };\r\n /**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\r\n ResizeObserverSPI.prototype.hasActive = function () {\r\n return this.activeObservations_.length > 0;\r\n };\r\n return ResizeObserverSPI;\r\n}());\n\n// Registry of internal observers. If WeakMap is not available use current shim\r\n// for the Map collection as it has all required methods and because WeakMap\r\n// can't be fully polyfilled anyway.\r\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\r\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\r\nvar ResizeObserver = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback that is invoked when\r\n * dimensions of the observed elements change.\r\n */\r\n function ResizeObserver(callback) {\r\n if (!(this instanceof ResizeObserver)) {\r\n throw new TypeError('Cannot call a class as a function.');\r\n }\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n var controller = ResizeObserverController.getInstance();\r\n var observer = new ResizeObserverSPI(callback, controller, this);\r\n observers.set(this, observer);\r\n }\r\n return ResizeObserver;\r\n}());\r\n// Expose public methods of ResizeObserver.\r\n[\r\n 'observe',\r\n 'unobserve',\r\n 'disconnect'\r\n].forEach(function (method) {\r\n ResizeObserver.prototype[method] = function () {\r\n var _a;\r\n return (_a = observers.get(this))[method].apply(_a, arguments);\r\n };\r\n});\n\nvar index = (function () {\r\n // Export existing implementation if available.\r\n if (typeof global$1.ResizeObserver !== 'undefined') {\r\n return global$1.ResizeObserver;\r\n }\r\n return ResizeObserver;\r\n})();\n\nexport default index;\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["isIconDefinition","target","esm_typeof","Z","name","theme","icon","normalizeAttrs","attrs","arguments","length","undefined","Object","keys","reduce","acc","key","val","className","class","getSecondaryColor","primaryColor","index_esm","generate","normalizeTwoToneColors","twoToneColor","Array","isArray","useInsertStyles","styleStr","csp","_useContext","react","useContext","Context","useEffect","dynamicCSS","hq","prepend","_excluded","twoToneColorPalette","secondaryColor","calculated","IconBase","props","valid","onClick","style","restProps","objectWithoutProperties","colors","warning","ZP","concat","objectSpread2","node","rootProps","createElement","tag","children","map","child","index","width","height","fill","setTwoToneColor","_normalizeTwoToneColo","_normalizeTwoToneColo2","slicedToArray","components_IconBase","setTwoToneColors","displayName","getTwoToneColors","_ref","AntdIcon_excluded","Icon","forwardRef","ref","_classNames","spin","rotate","tabIndex","_React$useContext","_React$useContext$pre","prefixCls","rootClassName","classString","classnames_default","defineProperty","iconTabIndex","role","msTransform","transform","getTwoToneColor","AntdIcon","IconContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__webpack_exports__","asn_LoadingOutlined","LoadingOutlined_LoadingOutlined","icons_LoadingOutlined","PresetStatusColorTypes","_type__WEBPACK_IMPORTED_MODULE_0__","b","PresetColorTypes","getCollapsedHeight","opacity","getRealHeight","scrollHeight","skipOpacityTransition","_","event","deadline","propertyName","getTransitionDirection","placement","getTransitionName","rootPrefixCls","motion","transitionName","motionName","onAppearStart","onEnterStart","onAppearActive","onEnterActive","onLeaveStart","offsetHeight","onLeaveActive","onAppearEnd","onEnterEnd","onLeaveEnd","motionDeadline","autoAdjustOverflowEnabled","adjustX","adjustY","autoAdjustOverflowDisabled","targetOffset","getOverflowOptions","autoAdjustOverflow","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__","getPlacements","config","_config$arrowWidth","arrowWidth","_config$horizontalArr","horizontalArrowShift","_config$verticalArrow","verticalArrowShift","arrowPointAtCenter","placementMap","left","points","offset","right","top","bottom","topLeft","leftTop","topRight","rightTop","bottomRight","rightBottom","bottomLeft","leftBottom","forEach","overflow","rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__","C","ignoreShake","isValidElement","isFragment","type","Fragment","replaceElement","element","replacement","cloneElement","tuple","_len","args","_key","tupleNum","_len2","_key2","styleForPseudo","id","ids","wrapperRaf","callback","delayFrames","myId","restFrames","raf","internalCallback","cancel","pid","isHidden","offsetParent","hidden","Wave","_React$Component","inherits","_super","createSuper","_this","classCallCheck","apply","containerRef","createRef","animationStart","destroyed","waveColor","_a","_b","_this$props","insertExtraNode","disabled","includes","extraNode","document","_assertThisInitialize","assertThisInitialized","getPrefixCls","context","attributeName","getAttributeName","setAttribute","match","color","test","borderColor","nodeRoot","getRootNode","call","ownerDocument","nodeBody","Document","body","from","childNodes","find","ele","nodeType","Node","ELEMENT_NODE","attachTo","appendChild","addEventListener","onTransitionStart","onTransitionEnd","e","current","resetEffect","animationName","bindAnimationEvent","getAttribute","tagName","getComputedStyle","getPropertyValue","clickWaveTimeoutId","window","setTimeout","animationStartId","removeEventListener","renderWave","es_ref","Yr","sQ","reactNode","Tm","createClass","value","instance","clearTimeout","_this2","Element","innerHTML","contains","removeChild","Component","contextType","E_","wave","__rest","s","t","p","prototype","hasOwnProperty","indexOf","getOwnPropertySymbols","i","propertyIsEnumerable","GroupSizeContext","getCollapsedWidth","getRealWidth","scrollWidth","button_LoadingIcon","loading","existIcon","LoadingOutlined","es","visible","removeOnLeave","_ref2","button_rest","rxTwoCNChar","isTwoCNChar","bind","isUnBorderedButtonType","convertLegacyProps","danger","Button","needInserted","isPrevChildPure","childList","_props$loading","customizePrefixCls","_props$type","_props$shape","shape","customizeSize","size","customDisabled","_props$ghost","ghost","_props$block","block","_props$htmlType","htmlType","rest","SizeContext","DisabledContext","mergedDisabled","groupSize","_React$useState","useState","_React$useState2","innerLoading","setLoading","_React$useState3","_React$useState4","hasTwoCNChar","setHasTwoCNChar","autoInsertSpaceInButton","direction","buttonRef","isNeedInserted","Children","count","loadingOrDelay","delay","delayTimer","buttonText","textContent","handleClick","preventDefault","autoInsertSpace","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","sizeFullname","sizeCls","sizeClassNameMap","large","small","middle","linkButtonRestProps","omit","classes","href","iconNode","kids","isCurrentChildPure","lastIndex","lastChild","push","insertSpace","SPACE","split","join","M2","esm_extends","buttonNode","Group","others","Provider","__ANT_BUTTON","button_button","_button__WEBPACK_IMPORTED_MODULE_0__","DisabledContextProvider","originDisabled","SizeContextProvider","Consumer","originSize","ConfigContext","suffixCls","ConfigConsumer","withConfigConsumer","cons","constructor","configProps","basicPrefixCls","SpaceCompactItemContext","react__WEBPACK_IMPORTED_MODULE_2__","useCompactItemContext","compactItemContext","useMemo","compactDirection","isFirstItem","isLastItem","separator","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__","NoCompactStyle","CompactItem","otherProps","_classNames2","_config_provider__WEBPACK_IMPORTED_MODULE_4__","directionConfig","_props$size","clx","rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__","nodes","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","splitObject","obj","picked","omitted","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","PresetColorRegex","_util_colors__WEBPACK_IMPORTED_MODULE_5__","Y","Tooltip","react__WEBPACK_IMPORTED_MODULE_3__","title","overlay","_config_provider__WEBPACK_IMPORTED_MODULE_7__","getContextPopupContainer","getPopupContainer","_useMergedState","rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_2__","open","defaultValue","defaultOpen","defaultVisible","_useMergedState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_8__","setOpen","isNoTitle","getTooltipPlacements","builtinPlacements","_props$arrowPointAtCe","_props$autoAdjustOver","_util_placements__WEBPACK_IMPORTED_MODULE_9__","_props$placement","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","openClassName","getTooltipContainer","overlayClassName","overlayInnerStyle","tempOpen","getDisabledCompatibleChildren","elementType","__ANT_SWITCH","__ANT_RADIO","_splitObject","spanStyle","display","cursor","buttonStyle","pointerEvents","_util_reactNode__WEBPACK_IMPORTED_MODULE_6__","l$","childProps","childCls","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__","customOverlayClassName","formattedOverlayInnerStyle","arrowContentStyle","background","rc_tooltip__WEBPACK_IMPORTED_MODULE_1__","onVisibleChange","vis","onOpenChange","onPopupAlign","domNode","align","placements","rect","getBoundingClientRect","transformOrigin","arrowContent","_util_motion__WEBPACK_IMPORTED_MODULE_11__","mL","__WEBPACK_AMD_DEFINE_RESULT__","hasOwn","classNames","arg","argType","inner","toString","module","exports","default","param","error","_noSsrError","NEXT_DYNAMIC_NO_SSR_CODE","digest","_interop_require_default","require","dynamicOptions","options","loadableFn","_loadable","loadableOptions","isLoading","pastDelay","Promise","loader","_extends","loaderFn","then","convertModule","loadableGenerated","ssr","noSSR","_react","_interop_require_wildcard","_dynamicNoSsr","mod","LoadableInitializer","webpack","modules","NoSSRComponent","lazy","Loading","fallback","timedOut","Suspense","assign","__esModule","LoadableContext","_loadableContext","ALL_INITIALIZERS","READY_INITIALIZERS","initialized","load","promise","state","loaded","catch","err","LoadableSubscription","_res","retry","_clearTimeouts","_loadFn","_opts","_state","res","opts","_delay","_update","timeout","_timeout","partial","_callbacks","getCurrentValue","subscribe","add","delete","loadFn","Set","Loadable","createLoadableComponent","subscription","init","sub","moduleIds","moduleId","LoadableComponent","useLoadableModule","moduleName","fallbackElement","preload","flushInitializers","initializers","promises","pop","all","preloadAll","resolveInitializers","reject","preloadReady","resolvePreload","__NEXT_PRELOADREADY","__webpack_require__","domSupport","win","prefixes","makePrefixMap","styleProp","eventName","toLowerCase","vendorPrefixes","canUseDom","animationend","transitionend","animation","transition","_document$createEleme","prefixedEventNames","getVendorPrefixedEventName","prefixMap","stylePropList","len","internalAnimationEndName","internalTransitionEndName","supportTransition","animationEndName","transitionEndName","transitionType","replace","toUpperCase","STATUS_NONE","STATUS_APPEAR","STATUS_ENTER","STATUS_LEAVE","STEP_NONE","STEP_PREPARE","STEP_START","STEP_ACTIVE","useNextFrame","nextFrameRef","useRef","cancelNextFrame","nextFrame","nextFrameId","isCanceled","useIsomorphicLayoutEffect","useLayoutEffect","STEP_QUEUE","isActive","step","useStepQueue","status","_useState","_useState2","setStep","_useNextFrame","_useNextFrame2","hooks_useIsomorphicLayoutEffect","nextStep","result","info","doNext","resolve","useDomMotionEvents","cacheElementRef","callbackRef","onInternalMotionEnd","useCallback","removeMotionEvents","DomWrapper","es_CSSMotion","genCSSMotion","transitionSupport","isSupportTransition","CSSMotion","motionChildren","statusSuffix","_props$visible","_props$removeOnLeave","forceRender","leavedClassName","eventProps","supportMotion","nodeRef","wrapperNodeRef","_useStatus","useStatus","getElement","_ref$motionEnter","motionEnter","_ref$motionAppear","motionAppear","_ref$motionLeave","motionLeave","motionLeaveImmediately","onAppearPrepare","onEnterPrepare","onLeavePrepare","onVisibleChanged","asyncVisible","setAsyncVisible","_useState3","_useState4","setStatus","_useState5","_useState6","setStyle","mountedRef","deadlineRef","activeRef","canEnd","currentActive","_useDomMotionEvents","patchMotionEvents","_useDomMotionEvents2","eventHandlers","_ref3","_ref4","_useStepQueue","newStep","_eventHandlers$step","onPrepare","_useStepQueue2","startStep","active","nextStatus","isMounted","firstMountChangeRef","mergedStyle","HTMLElement","findDOMNode","_useStatus2","statusStep","statusStyle","mergedVisible","renderedRef","setNodeRef","mH","mergedProps","_motionChildren","STATUS_KEEP","STATUS_REMOVE","STATUS_REMOVED","wrapKeyToObject","keyObj","String","parseKeys","_excluded2","MOTION_PROP_NAMES","CSSMotionList","genCSSMotionList","keyEntities","removeKey","nextKeyEntities","entity","setState","filter","component","_onVisibleChanged","onAllRemoved","motionProps","prop","changedVisible","restKeysCount","mixedKeyEntities","prevKeys","currentKeys","list","currentIndex","currentLen","prevKeyObjects","currentKeyObjects","hit","currentKeyObj","slice","duplicatedKeys","matchKey","prevEntity","_ref5","defaultProps","Popup","showArrow","rc_tooltip_es","_props$trigger","trigger","overlayStyle","_props$prefixCls","afterVisibleChange","_props$align","_props$destroyTooltip","destroyTooltipOnHide","domRef","useImperativeHandle","extraProps","popupVisible","destroyTooltip","autoDestroy","keepParent","popupClassName","popup","action","popupPlacement","popupAlign","onPopupVisibleChange","afterPopupVisibleChange","popupTransitionName","popupAnimation","popupMotion","defaultPopupVisible","destroyPopupOnHide","popupStyle","Trigger","vendorPrefix","getComputedStyleX","Portal","didUpdate","getContainer","parentRef","initRef","parentNode","_containerRef$current","_containerRef$current2","react_dom","createPortal","getMotion","Mask","zIndex","mask","maskMotion","maskAnimation","maskTransitionName","ownKeys","object","enumerableOnly","symbols","sym","getOwnPropertyDescriptor","enumerable","_objectSpread2","source","configurable","writable","getOwnPropertyDescriptors","defineProperties","_typeof","Symbol","iterator","jsCssMap","Webkit","Moz","ms","O","getVendorPrefix","getTransformName","setTransitionProperty","transitionProperty","setTransform","matrix2d","matrix3d","RE_NUM","forceRelayout","elem","originalStyle","css","el","v","getScroll","w","ret","method","d","documentElement","getOffset","box","x","y","doc","docElem","pos","Math","floor","clientLeft","clientTop","defaultView","parentWindow","isWindow","getDocument","_RE_NUM_NO_PX","RE_POS","CURRENT_STYLE","RUNTIME_STYLE","LEFT","getOffsetDirection","dir","option","useCssRight","useCssBottom","oppositeOffsetDirection","setLeftTop","position","presetH","presetV","horizontalProperty","verticalProperty","oppositeHorizontalProperty","oppositeVerticalProperty","originalTransition","originalOffset","getTransitionProperty","old","preset","off","_dir","_off","each","arr","fn","isBorderBoxFn","cs","computedStyle","rsLeft","pixelLeft","BOX_MODELS","getPBMWidth","which","j","parseFloat","domUtils","getParent","parent","host","getWH","ex","extra","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","isBorderBox","cssBoxValue","Number","borderBoxValueOrIsBorderBox","refWin","max","documentElementProp","compatMode","cssShow","visibility","getWHIgnoreDisplay","offsetWidth","swap","mix","to","first","charAt","includeMargin","utils","getWindow","setOffset","originalXY","resultXY","oriOffset","oLeft","toFixed","oTop","tLeft","tTop","useCssTransform","getTransformXY","matrix","setTransformXY","xy","match2d","item","match3d","clone","getWindowScrollLeft","getWindowScrollTop","merge","getOffsetParent","positionStyle","nodeName","getParent$1","getVisibleRectForElement","alwaysByViewport","visibleRect","Infinity","navigator","userAgent","clientWidth","min","clientHeight","originalPosition","scrollX","scrollY","documentWidth","documentHeight","bodyStyle","overflowX","innerWidth","overflowY","innerHeight","isAncestorFixed","maxVisibleWidth","maxVisibleHeight","getRegion","h","outerWidth","outerHeight","getAlignOffset","region","V","H","getElFuturePos","elRegion","refNodeRegion","p1","p2","diff","round","isFailX","elFuturePos","isFailY","flip","reg","m","flipOffset","convertOffset","str","offsetLen","n","parseInt","substring","normalizeOffset","doAlign","tgtRegion","isTgtRegionVisible","newOverflowCfg","fail","newElRegion","newPoints","l","r","newOffset","newTargetOffset","_newPoints","_newOffset","_newTargetOffset","isStillFailX","isStillFailY","_newPoints2","resizeWidth","resizeHeight","alignElement","refNode","targetRegion","isTargetNotOutOfVisible","__getOffsetParent","__getVisibleRectForElement","es_isEqual","obj1","obj2","shallow","refSet","deepEqual","a","level","circular","has","newLevel","every","useBuffer","buffer","calledRef","timeoutRef","cancelTrigger","force","monitorResize","prevWidth","prevHeight","resizeObserver","ResizeObserver_es","_target$getBoundingCl","fixedWidth","fixedHeight","observe","disconnect","func","getPoint","point","RcAlign","onAlign","monitorWindowResize","_ref$monitorBufferTim","monitorBufferTime","cacheRef","childNode","only","forceAlignPropsRef","_useBuffer","_forceAlignPropsRef$c","latestDisabled","latestTarget","latestAlign","latestOnAlign","pageX","pageY","_result","_element","_point","activeElement","_document","isVisible","tgtPoint","clientX","clientY","focus","_useBuffer2","_forceAlign","cancelForceAlign","setElement","setPoint","prev","next","cancelFn","remove","forceAlign","StatusQueue","useVisibleStatus","doMeasure","setInternalStatus","rafRef","cancelRaf","asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","stop","useStretchStyle","stretch","targetSize","setTargetSize","sizeStyle","minHeight","minWidth","tgtWidth","tgtHeight","_element$getBoundingC","abs","PopupInner","getRootDomNode","getClassNameFromAlign","onMouseEnter","onMouseLeave","onMouseDown","onTouchStart","alignRef","elementRef","alignedClassName","setAlignedClassName","_useStretchStyle","_useStretchStyle2","stretchStyle","measureStretchStyle","_useVisibleStatus","_useVisibleStatus2","goNextStatus","alignTimes","setAlignTimes","prepareResolveRef","_alignRef$current","onInternalAlign","popupDomNode","matchAlign","nextAlignedClassName","_prepareResolveRef$cu","onShowPrepare","originHandler","alignDisabled","motionRef","motionClassName","motionStyle","mergedClassName","onMouseDownCapture","onTouchStartCapture","MobilePopupInner","_props$mobile","mobile","_props$mobile$popupMo","popupRender","innerVisible","serInnerVisible","inMobile","setInMobile","cloneProps","isMobile","popupNode","TriggerContext","noop","ALL_HANDLERS","rc_trigger_es","_popupVisible","fireEvents","delaySetPopupVisible","clearDelayTimer","_this$popupRef$curren","relatedTarget","popupRef","isFocusToShow","focusTime","Date","now","focusDelay","preClickTime","preTouchTime","isBlurToHide","blurDelay","setPopupVisible","isContextMenuToShow","close","preTime","isClickToShow","isClickToHide","nextVisible","hasPopupMouseDown","mouseDownTimeout","_this$context","onPopupMouseDown","maskClosable","root","getPopupDomNode","isContextMenuOnly","getTriggerDOMNode","triggerRef","alignPoint","getPopupClassNameFromAlign","getAlignPopupClassName","isAlignPoint","a1","a2","_this$props2","onPopupClick","_this$state","getPopupAlign","mouseProps","isMouseEnterToShow","onPopupMouseEnter","isMouseLeaveToHide","onPopupMouseLeave","popupContainer","attachId","mountNode","_this$props3","attachParent","portalContainer","prevPopupVisible","componentDidUpdate","currentDocument","clickOutsideHandler","onDocumentClick","touchOutsideHandler","contextMenuOutsideHandler1","onContextMenuClose","contextMenuOutsideHandler2","clearOutsideHandler","_this$popupRef$curren2","baseAlign","delayS","childPros","_this$props4","showAction","_this$props5","_this$props6","hideAction","_this$props7","_this$props8","_this$props9","_this$props10","_this$popupRef$curren3","childCallback","portal","_this$props11","newChildProps","onContextMenu","createTwoChains","onMouseMove","onFocus","onBlur","childrenClassName","handlePortalUpdate","getComponent","triggerContextValue","prevState","newState","toArray","keepEmpty","react_is__WEBPACK_IMPORTED_MODULE_1__","addEventListenerWrap","eventType","cb","react_dom__WEBPACK_IMPORTED_MODULE_0__","unstable_batchedUpdates","APPEND_ORDER","containerCache","Map","getMark","startsWith","head","querySelector","findStyles","container","get","injectCSS","_canUseDom__WEBPACK_IMPORTED_MODULE_0__","styleNode","nonce","firstChild","existStyle","insertBefore","nextSibling","findExistNode","removeCSS","existNode","updateCSS","_option$csp","_option$csp2","_option$csp3","syncRealContainer","cachedRealContainer","_contains__WEBPACK_IMPORTED_MODULE_1__","placeholderStyle","set","newNode","SVGGraphicsElement","getBBox","_element$getBBox","_width","_height","useEvent","fnRef","_fnRef$current","_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__","useLayoutUpdateEffect","deps","firstMountRef","getValue","condition","shouldUpdate","hasValue","useMergedState","defaultStateValue","onChange","postState","_useState__WEBPACK_IMPORTED_MODULE_2__","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","innerValue","setInnerValue","mergedValue","postMergedValue","onChangeFn","_useEvent__WEBPACK_IMPORTED_MODULE_0__","prevValue","setPrevValue","_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__","o","updater","ignoreDestroy","useSafeState","destroyRef","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__","setValue","agent","vendor","opera","substr","fields","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__","caf","num","requestAnimationFrame","handle","cancelAnimationFrame","rafUUID","rafIds","times","callRef","leftTimes","realId","fillRef","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__","composeRef","refs","refList","useComposeRef","_hooks_useMemo__WEBPACK_IMPORTED_MODULE_1__","supportRef","nodeOrComponent","_type$prototype","_nodeOrComponent$prot","react_is__WEBPACK_IMPORTED_MODULE_0__","isMemo","render","warned","message","note","noteOnce","for","c","f","g","k","q","z","u","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","ForwardRef","Lazy","Memo","Profiler","StrictMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","MapShim","getIndex","some","entry","class_1","__entries__","entries","splice","clear","ctx","_i","isBrowser","global$1","self","Function","requestAnimationFrame$1","transitionKeys","mutationObserverSupported","MutationObserver","ResizeObserverController","connected_","mutationEventsAdded_","mutationsObserver_","observers_","onTransitionEnd_","refresh","throttle","leadingCall","trailingCall","lastCallTime","resolvePending","proxy","timeoutCallback","timeStamp","addObserver","observer","connect_","removeObserver","observers","disconnect_","updateObservers_","activeObservers","gatherActive","hasActive","broadcastActive","attributes","characterData","subtree","getInstance","instance_","defineConfigurable","getWindowOf","ownerGlobal","emptyRect","createRectInit","toFloat","getBordersSize","styles","positions","isSVGGraphicsElement","SVGElement","ResizeObservation","broadcastWidth","broadcastHeight","contentRect_","getContentRect","bbox","getHTMLElementContentRect","paddings","getPaddings","positions_1","horizPad","vertPad","boxSizing","vertScrollbar","horizScrollbar","broadcastRect","ResizeObserverEntry","rectInit","contentRect","create","Constr","DOMRectReadOnly","ResizeObserverSPI","controller","callbackCtx","activeObservations_","observations_","callback_","controller_","callbackCtx_","observations","unobserve","clearActive","observation","WeakMap","ResizeObserver","_arrayLikeToArray","arr2","_arrayWithHoles","_assertThisInitialized","asyncGeneratorStep","gen","_next","_throw","done","_asyncToGenerator","_classCallCheck","Constructor","_defineProperties","descriptor","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","_createClass","protoProps","staticProps","_getPrototypeOf","setPrototypeOf","getPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","Reflect","construct","_possibleConstructorReturn","_defineProperty","_inherits","subClass","superClass","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_isNativeReflectConstruct","sham","Proxy","Boolean","valueOf","_nonIterableRest","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__","sourceSymbolKeys","_objectWithoutPropertiesLoose","sourceKeys","_regeneratorRuntime","Op","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","innerFn","outerFn","tryLocsList","generator","protoGenerator","Generator","doneResult","delegate","delegateResult","maybeInvokeDelegate","methodName","ContinueSentinel","record","tryCatch","resultName","nextLoc","sent","_sent","dispatchException","abrupt","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","values","Gp","defineIteratorMethods","_invoke","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","invoke","_typeof_js__WEBPACK_IMPORTED_MODULE_0__","__await","unwrapped","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","isGeneratorFunction","genFun","ctor","awrap","async","iter","reverse","skipTempReset","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","_setPrototypeOf","_slicedToArray","arrayWithHoles","_iterableToArrayLimit","_s","_e","_x","_r","_arr","_n","_d","unsupportedIterableToArray","nonIterableRest","_toPropertyKey","_toPrimitive","input","hint","prim","toPrimitive","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js b/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js new file mode 100644 index 000000000..e9667994c --- /dev/null +++ b/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4252],{27049:function(t,e,n){var a=n(87462),r=n(4942),o=n(94184),i=n.n(o),u=n(67294),s=n(53124),d=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(t);re.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]]);return n};e.Z=function(t){var e,n=u.useContext(s.E_),o=n.getPrefixCls,l=n.direction,c=t.prefixCls,h=t.type,f=void 0===h?"horizontal":h,m=t.orientation,g=void 0===m?"center":m,v=t.orientationMargin,y=t.className,b=t.children,p=t.dashed,w=t.plain,Z=d(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),M=o("divider",c),S=g.length>0?"-".concat(g):g,N=!!b,W="left"===g&&null!=v,P="right"===g&&null!=v,D=i()(M,"".concat(M,"-").concat(f),(e={},(0,r.Z)(e,"".concat(M,"-with-text"),N),(0,r.Z)(e,"".concat(M,"-with-text").concat(S),N),(0,r.Z)(e,"".concat(M,"-dashed"),!!p),(0,r.Z)(e,"".concat(M,"-plain"),!!w),(0,r.Z)(e,"".concat(M,"-rtl"),"rtl"===l),(0,r.Z)(e,"".concat(M,"-no-default-orientation-margin-left"),W),(0,r.Z)(e,"".concat(M,"-no-default-orientation-margin-right"),P),e),y),k=(0,a.Z)((0,a.Z)({},W&&{marginLeft:v}),P&&{marginRight:v});return u.createElement("div",(0,a.Z)({className:D},Z,{role:"separator"}),b&&"vertical"!==f&&u.createElement("span",{className:"".concat(M,"-inner-text"),style:k},b))}},86559:function(t,e,n){n.d(e,{Z:function(){return l}});var a,r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var i={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return function(e,n){var a;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var r=t.defaultFormattingWidth||t.defaultWidth,o=null!=n&&n.width?String(n.width):r;a=t.formattingValues[o]||t.formattingValues[r]}else{var i=t.defaultWidth,u=null!=n&&n.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[i]}return a[t.argumentCallback?t.argumentCallback(e):e]}}function d(t){return function(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(o);if(!i)return null;var u=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?function(t,e){for(var n=0;n0?"in "+a:a+" ago":a},formatLong:i,formatRelative:function(t,e,n,a){return u[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(a={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(a.matchPattern);if(!n)return null;var r=n[0],o=t.match(a.parsePattern);if(!o)return null;var i=a.valueCallback?a.valueCallback(o[0]):o[0];return{value:i=e.valueCallback?e.valueCallback(i):i,rest:t.slice(r.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,n){n.d(e,{j:function(){return r}});var a={};function r(){return a}},24262:function(t,e,n){n.d(e,{Z:function(){return a}});function a(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}},13882:function(t,e,n){n.d(e,{Z:function(){return a}});function a(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}},93645:function(t,e,n){n.d(e,{u:function(){return r}});var a={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function r(t){return t?a[t]:a.trunc}},83946:function(t,e,n){n.d(e,{Z:function(){return a}});function a(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}},77349:function(t,e,n){n.d(e,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(t),i=(0,a.Z)(e);return isNaN(i)?new Date(NaN):(i&&n.setDate(n.getDate()+i),n)}},11640:function(t,e,n){n.d(e,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(t),i=(0,a.Z)(e);if(isNaN(i))return new Date(NaN);if(!i)return n;var u=n.getDate(),s=new Date(n.getTime());return(s.setMonth(n.getMonth()+i+1,0),u>=s.getDate())?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},75401:function(t,e,n){n.d(e,{Z:function(){return u}});var a=n(24262),r=n(19013),o=n(13882);function i(t){(0,o.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}function u(t,e){(0,o.Z)(2,arguments);var n=i(t),r=i(e);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},59910:function(t,e,n){n.d(e,{Z:function(){return o}});var a=n(19013),r=n(13882);function o(t,e){return(0,r.Z)(2,arguments),(0,a.Z)(t).getTime()-(0,a.Z)(e).getTime()}},11699:function(t,e,n){n.d(e,{Z:function(){return i}});var a=n(59910),r=n(13882),o=n(93645);function i(t,e,n){(0,r.Z)(2,arguments);var i=(0,a.Z)(t,e)/1e3;return(0,o.u)(null==n?void 0:n.roundingMethod)(i)}},68730:function(t,e,n){n.d(e,{Z:function(){return y}});var a=n(49474),r=n(77349),o=n(11640),i=n(19013),u=n(13882),s=n(83946);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if((0,u.Z)(2,arguments),!e||"object"!==d(e))return new Date(NaN);var n=e.years?(0,s.Z)(e.years):0,a=e.months?(0,s.Z)(e.months):0,l=e.weeks?(0,s.Z)(e.weeks):0,c=e.days?(0,s.Z)(e.days):0,h=e.hours?(0,s.Z)(e.hours):0,f=e.minutes?(0,s.Z)(e.minutes):0,m=e.seconds?(0,s.Z)(e.seconds):0,g=(0,i.Z)(t),v=a||n?(0,o.Z)(g,a+12*n):g,y=c||l?(0,r.Z)(v,c+7*l):v;return new Date(y.getTime()+1e3*(m+60*(f+60*h)))}var c=n(75401);function h(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}var f=n(59910),m=n(93645),g=n(82161),v=n(11699);function y(t){(0,u.Z)(1,arguments);var e=(0,i.Z)(t.start),n=(0,i.Z)(t.end);if(isNaN(e.getTime()))throw RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw RangeError("End Date is invalid");var r={};r.years=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,i.Z)(t),r=(0,i.Z)(e),o=(0,a.Z)(n,r),s=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,i.Z)(e);return n.getFullYear()-a.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var d=(0,a.Z)(n,r)===-o,l=o*(s-Number(d));return 0===l?0:l}(n,e));var o=(0,a.Z)(n,e),s=l(e,{years:o*r.years});r.months=Math.abs((0,g.Z)(n,s));var d=l(s,{months:o*r.months});r.days=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,i.Z)(t),a=(0,i.Z)(e),r=h(n,a),o=Math.abs((0,c.Z)(n,a));n.setDate(n.getDate()-r*o);var s=Number(h(n,a)===-r),d=r*(o-s);return 0===d?0:d}(n,d));var y=l(d,{days:o*r.days});r.hours=Math.abs(function(t,e,n){(0,u.Z)(2,arguments);var a=(0,f.Z)(t,e)/36e5;return(0,m.u)(null==n?void 0:n.roundingMethod)(a)}(n,y));var b=l(y,{hours:o*r.hours});r.minutes=Math.abs(function(t,e,n){(0,u.Z)(2,arguments);var a=(0,f.Z)(t,e)/6e4;return(0,m.u)(null==n?void 0:n.roundingMethod)(a)}(n,b));var p=l(b,{minutes:o*r.minutes});return r.seconds=Math.abs((0,v.Z)(n,p)),r}},19013:function(t,e,n){n.d(e,{Z:function(){return o}});var a=n(13882);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){(0,a.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===r(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):(("string"==typeof t||"[object String]"===e)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}}}]); +//# sourceMappingURL=4252-33d0a02cabba39b8.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js.map b/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js.map new file mode 100644 index 000000000..c1ead9200 --- /dev/null +++ b/static/web/_next/static/chunks/4252-33d0a02cabba39b8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/4252-33d0a02cabba39b8.js","mappings":"sKAEAA,EAAyB,SAAAC,C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AAA,EAEA,IAAAjG,KAAAgG,EAAAtF,OAAA,IACI,iBAAAsF,GAAAC,oBAAAA,EACJ,IAAAjG,KAAAgG,IAEA,kBAAAA,GAAAC,oBAAAA,CAAA,uBAAAC,UAEAA,QAAAC,IAAA,uNAEAD,QAAAC,IAAA,SAAAC,KAAA,GAGA,IAAApG,KAAAsB,KACA,AACA","sources":["webpack://_N_E/./node_modules/antd/es/divider/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/defaultLocale/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/defaultOptions/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/roundingMethods/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack://_N_E/./node_modules/date-fns/esm/addDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/addMonths/index.js","webpack://_N_E/./node_modules/date-fns/esm/startOfDay/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInMilliseconds/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInSeconds/index.js","webpack://_N_E/./node_modules/date-fns/esm/add/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/constants/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInHours/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInMinutes/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarYears/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInYears/index.js","webpack://_N_E/./node_modules/date-fns/esm/intervalToDuration/index.js","webpack://_N_E/./node_modules/date-fns/esm/toDate/index.js","webpack://_N_E/"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar Divider = function Divider(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$type = props.type,\n type = _props$type === void 0 ? 'horizontal' : _props$type,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'center' : _props$orientation,\n orientationMargin = props.orientationMargin,\n className = props.className,\n children = props.children,\n dashed = props.dashed,\n plain = props.plain,\n restProps = __rest(props, [\"prefixCls\", \"type\", \"orientation\", \"orientationMargin\", \"className\", \"children\", \"dashed\", \"plain\"]);\n var prefixCls = getPrefixCls('divider', customizePrefixCls);\n var orientationPrefix = orientation.length > 0 ? \"-\".concat(orientation) : orientation;\n var hasChildren = !!children;\n var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;\n var hasCustomMarginRight = orientation === 'right' && orientationMargin != null;\n var classString = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(type), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-text\"), hasChildren), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-text\").concat(orientationPrefix), hasChildren), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dashed\"), !!dashed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-plain\"), !!plain), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-default-orientation-margin-left\"), hasCustomMarginLeft), _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-default-orientation-margin-right\"), hasCustomMarginRight), _classNames), className);\n var innerStyle = _extends(_extends({}, hasCustomMarginLeft && {\n marginLeft: orientationMargin\n }), hasCustomMarginRight && {\n marginRight: orientationMargin\n });\n // Warning children not work in vertical mode\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!children || type !== 'vertical', 'Divider', '`children` not working in `vertical` mode.') : void 0;\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, restProps, {\n role: \"separator\"\n }), children && type !== 'vertical' && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-inner-text\"),\n style: innerStyle\n }, children));\n};\nexport default Divider;","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","export default function buildFormatLongFn(args) {\n return function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // TODO: Remove String()\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n\n return valuesArray[index];\n };\n}","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","export default function buildMatchFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n }) : findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n\n return undefined;\n}","export default function buildMatchPatternFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import defaultLocale from \"../../locale/en-US/index.js\";\nexport default defaultLocale;","var defaultOptions = {};\nexport function getDefaultOptions() {\n return defaultOptions;\n}\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","var roundingMap = {\n ceil: Math.ceil,\n round: Math.round,\n floor: Math.floor,\n trunc: function trunc(value) {\n return value < 0 ? Math.ceil(value) : Math.floor(value);\n } // Math.trunc is not supported by IE\n\n};\nvar defaultRoundingMethod = 'trunc';\nexport function getRoundingMethod(method) {\n return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\n\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\n\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n\n var dayOfMonth = date.getDate(); // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInMilliseconds\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * const result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\n\nexport default function differenceInMilliseconds(dateLeft, dateRight) {\n requiredArgs(2, arguments);\n return toDate(dateLeft).getTime() - toDate(dateRight).getTime();\n}","import differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInSeconds\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of seconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * const result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\n\nexport default function differenceInSeconds(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport addDays from \"../addDays/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n\n/**\n * @name add\n * @category Common Helpers\n * @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @description\n * Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n *\n * | Key | Description |\n * |----------------|------------------------------------|\n * | years | Amount of years to be added |\n * | months | Amount of months to be added |\n * | weeks | Amount of weeks to be added |\n * | days | Amount of days to be added |\n * | hours | Amount of hours to be added |\n * | minutes | Amount of minutes to be added |\n * | seconds | Amount of seconds to be added |\n *\n * All values default to 0\n *\n * @returns {Date} the new date with the seconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add the following duration to 1 September 2014, 10:19:50\n * const result = add(new Date(2014, 8, 1, 10, 19, 50), {\n * years: 2,\n * months: 9,\n * weeks: 1,\n * days: 7,\n * hours: 5,\n * minutes: 9,\n * seconds: 30,\n * })\n * //=> Thu Jun 15 2017 15:29:20\n */\nexport default function add(dirtyDate, duration) {\n requiredArgs(2, arguments);\n if (!duration || _typeof(duration) !== 'object') return new Date(NaN);\n var years = duration.years ? toInteger(duration.years) : 0;\n var months = duration.months ? toInteger(duration.months) : 0;\n var weeks = duration.weeks ? toInteger(duration.weeks) : 0;\n var days = duration.days ? toInteger(duration.days) : 0;\n var hours = duration.hours ? toInteger(duration.hours) : 0;\n var minutes = duration.minutes ? toInteger(duration.minutes) : 0;\n var seconds = duration.seconds ? toInteger(duration.seconds) : 0; // Add years and months\n\n var date = toDate(dirtyDate);\n var dateWithMonths = months || years ? addMonths(date, months + years * 12) : date; // Add weeks and days\n\n var dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths; // Add days, hours, minutes and seconds\n\n var minutesToAdd = minutes + hours * 60;\n var secondsToAdd = seconds + minutesToAdd * 60;\n var msToAdd = secondsToAdd * 1000;\n var finalDate = new Date(dateWithDays.getTime() + msToAdd);\n return finalDate;\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarDays from \"../differenceInCalendarDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\"; // Like `compareAsc` but uses local time not UTC, which is needed\n// for accurate equality comparisons of UTC timestamps that end up\n// having the same representation in local time, e.g. one hour before\n// DST ends vs. the instant that DST ends.\n\nfunction compareLocalAsc(dateLeft, dateRight) {\n var diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds();\n\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1; // Return 0 if diff is 0; return NaN if diff is NaN\n } else {\n return diff;\n }\n}\n/**\n * @name differenceInDays\n * @category Day Helpers\n * @summary Get the number of full days between the given dates.\n *\n * @description\n * Get the number of full day periods between two dates. Fractional days are\n * truncated towards zero.\n *\n * One \"full day\" is the distance between a local time in one day to the same\n * local time on the next or previous day. A full day can sometimes be less than\n * or more than 24 hours if a daylight savings change happens between two dates.\n *\n * To ignore DST and only measure exact 24-hour periods, use this instead:\n * `Math.floor(differenceInHours(dateLeft, dateRight)/24)|0`.\n *\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full days according to the local timezone\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 365\n * // How many full days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 0\n * // How many full days are between\n * // 1 March 2020 0:00 and 1 June 2020 0:00 ?\n * // Note: because local time is used, the\n * // result will always be 92 days, even in\n * // time zones where DST starts and the\n * // period has only 92*24-1 hours.\n * const result = differenceInDays(\n * new Date(2020, 5, 1),\n * new Date(2020, 2, 1)\n * )\n//=> 92\n */\n\n\nexport default function differenceInDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareLocalAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarDays(dateLeft, dateRight));\n dateLeft.setDate(dateLeft.getDate() - sign * difference); // Math.abs(diff in full days - diff in calendar days) === 1 if last calendar day is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastDayNotFull = Number(compareLocalAsc(dateLeft, dateRight) === -sign);\n var result = sign * (difference - isLastDayNotFull); // Prevent negative zero\n\n return result === 0 ? 0 : result;\n}","/**\n * Days in 1 week.\n *\n * @name daysInWeek\n * @constant\n * @type {number}\n * @default\n */\nexport var daysInWeek = 7;\n/**\n * Days in 1 year\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n *\n * @name daysInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var daysInYear = 365.2425;\n/**\n * Maximum allowed time.\n *\n * @name maxTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n/**\n * Milliseconds in 1 minute\n *\n * @name millisecondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInMinute = 60000;\n/**\n * Milliseconds in 1 hour\n *\n * @name millisecondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInHour = 3600000;\n/**\n * Milliseconds in 1 second\n *\n * @name millisecondsInSecond\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInSecond = 1000;\n/**\n * Minimum allowed time.\n *\n * @name minTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minTime = -maxTime;\n/**\n * Minutes in 1 hour\n *\n * @name minutesInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minutesInHour = 60;\n/**\n * Months in 1 quarter\n *\n * @name monthsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInQuarter = 3;\n/**\n * Months in 1 year\n *\n * @name monthsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInYear = 12;\n/**\n * Quarters in 1 year\n *\n * @name quartersInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var quartersInYear = 4;\n/**\n * Seconds in 1 hour\n *\n * @name secondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInHour = 3600;\n/**\n * Seconds in 1 minute\n *\n * @name secondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMinute = 60;\n/**\n * Seconds in 1 day\n *\n * @name secondsInDay\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInDay = secondsInHour * 24;\n/**\n * Seconds in 1 week\n *\n * @name secondsInWeek\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInWeek = secondsInDay * 7;\n/**\n * Seconds in 1 year\n *\n * @name secondsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInYear = secondsInDay * daysInYear;\n/**\n * Seconds in 1 month\n *\n * @name secondsInMonth\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMonth = secondsInYear / 12;\n/**\n * Seconds in 1 quarter\n *\n * @name secondsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInQuarter = secondsInMonth * 3;","import { millisecondsInHour } from \"../constants/index.js\";\nimport differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInHours\n * @category Hour Helpers\n * @summary Get the number of hours between the given dates.\n *\n * @description\n * Get the number of hours between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of hours\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00?\n * const result = differenceInHours(\n * new Date(2014, 6, 2, 19, 0),\n * new Date(2014, 6, 2, 6, 50)\n * )\n * //=> 12\n */\n\nexport default function differenceInHours(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","import { millisecondsInMinute } from \"../constants/index.js\";\nimport differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInMinutes\n * @category Minute Helpers\n * @summary Get the number of minutes between the given dates.\n *\n * @description\n * Get the signed number of full (rounded towards 0) minutes between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of minutes\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00?\n * const result = differenceInMinutes(\n * new Date(2014, 6, 2, 12, 20, 0),\n * new Date(2014, 6, 2, 12, 7, 59)\n * )\n * //=> 12\n *\n * @example\n * // How many minutes are between 10:01:59 and 10:00:00\n * const result = differenceInMinutes(\n * new Date(2000, 0, 1, 10, 0, 0),\n * new Date(2000, 0, 1, 10, 1, 59)\n * )\n * //=> -1\n */\n\nexport default function differenceInMinutes(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInCalendarYears\n * @category Year Helpers\n * @summary Get the number of calendar years between the given dates.\n *\n * @description\n * Get the number of calendar years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInCalendarYears(\n * new Date(2015, 1, 11),\n * new Date(2013, 11, 31)\n * )\n * //=> 2\n */\n\nexport default function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() - dateRight.getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarYears from \"../differenceInCalendarYears/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInYears\n * @category Year Helpers\n * @summary Get the number of full years between the given dates.\n *\n * @description\n * Get the number of full years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInYears(new Date(2015, 1, 11), new Date(2013, 11, 31))\n * //=> 1\n */\n\nexport default function differenceInYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight)); // Set both dates to a valid leap year for accurate comparison when dealing\n // with leap days\n\n dateLeft.setFullYear(1584);\n dateRight.setFullYear(1584); // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;\n var result = sign * (difference - Number(isLastYearNotFull)); // Prevent negative zero\n\n return result === 0 ? 0 : result;\n}","import compareAsc from \"../compareAsc/index.js\";\nimport add from \"../add/index.js\";\nimport differenceInDays from \"../differenceInDays/index.js\";\nimport differenceInHours from \"../differenceInHours/index.js\";\nimport differenceInMinutes from \"../differenceInMinutes/index.js\";\nimport differenceInMonths from \"../differenceInMonths/index.js\";\nimport differenceInSeconds from \"../differenceInSeconds/index.js\";\nimport differenceInYears from \"../differenceInYears/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name intervalToDuration\n * @category Common Helpers\n * @summary Convert interval to duration\n *\n * @description\n * Convert a interval object to a duration object.\n *\n * @param {Interval} interval - the interval to convert to duration\n *\n * @returns {Duration} The duration Object\n * @throws {TypeError} Requires 2 arguments\n * @throws {RangeError} `start` must not be Invalid Date\n * @throws {RangeError} `end` must not be Invalid Date\n *\n * @example\n * // Get the duration between January 15, 1929 and April 4, 1968.\n * intervalToDuration({\n * start: new Date(1929, 0, 15, 12, 0, 0),\n * end: new Date(1968, 3, 4, 19, 5, 0)\n * })\n * // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }\n */\n\nexport default function intervalToDuration(interval) {\n requiredArgs(1, arguments);\n var start = toDate(interval.start);\n var end = toDate(interval.end);\n if (isNaN(start.getTime())) throw new RangeError('Start Date is invalid');\n if (isNaN(end.getTime())) throw new RangeError('End Date is invalid');\n var duration = {};\n duration.years = Math.abs(differenceInYears(end, start));\n var sign = compareAsc(end, start);\n var remainingMonths = add(start, {\n years: sign * duration.years\n });\n duration.months = Math.abs(differenceInMonths(end, remainingMonths));\n var remainingDays = add(remainingMonths, {\n months: sign * duration.months\n });\n duration.days = Math.abs(differenceInDays(end, remainingDays));\n var remainingHours = add(remainingDays, {\n days: sign * duration.days\n });\n duration.hours = Math.abs(differenceInHours(end, remainingHours));\n var remainingMinutes = add(remainingHours, {\n hours: sign * duration.hours\n });\n duration.minutes = Math.abs(differenceInMinutes(end, remainingMinutes));\n var remainingSeconds = add(remainingMinutes, {\n minutes: sign * duration.minutes\n });\n duration.seconds = Math.abs(differenceInSeconds(end, remainingSeconds));\n return duration;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","__webpack_exports__","props","_classNames","_React$useContext","react__WEBPACK_IMPORTED_MODULE_1__","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","customizePrefixCls","prefixCls","_props$type","type","_props$orientation","orientation","orientationMargin","className","children","dashed","plain","restProps","orientationPrefix","concat","hasChildren","hasCustomMarginLeft","hasCustomMarginRight","classString","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__","Z","innerStyle","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","marginLeft","marginRight","createElement","role","style","args","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","options","arguments","undefined","width","String","defaultWidth","formats","formatLong","date","full","long","medium","short","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","buildLocalizeFn","dirtyIndex","valuesArray","context","formattingValues","defaultFormattingWidth","_defaultWidth","_width","values","argumentCallback","buildMatchFn","string","value","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","array","predicate","pattern","test","findKey","object","valueCallback","rest","slice","defaultLocale","code","formatDistance","token","count","result","tokenValue","replace","toString","addSuffix","comparison","formatRelative","_date","_baseDate","_options","localize","ordinalNumber","dirtyNumber","number","Number","rem100","era","narrow","abbreviated","wide","quarter","month","day","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseInt","parseResult","any","index","weekStartsOn","firstWeekContainsDate","defaultOptions","getDefaultOptions","getTimezoneOffsetInMilliseconds","utcDate","Date","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setUTCFullYear","getTime","requiredArgs","required","roundingMap","ceil","Math","round","floor","trunc","getRoundingMethod","method","toInteger","NaN","addDays","dirtyDate","dirtyAmount","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__","amount","_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__","setDate","addMonths","isNaN","dayOfMonth","endOfDesiredMonth","setMonth","setFullYear","startOfDay","toDate","setHours","differenceInCalendarDays","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","differenceInMilliseconds","dateLeft","dateRight","differenceInSeconds","diff","_differenceInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__","_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__","u","roundingMethod","_typeof","obj","Symbol","iterator","constructor","add","duration","years","months","weeks","days","hours","minutes","seconds","dateWithMonths","dateWithDays","secondsToAdd","minutesToAdd","compareLocalAsc","intervalToDuration","interval","start","end","abs","differenceInYears","sign","compareAsc","difference","differenceInCalendarYears","isLastYearNotFull","remainingMonths","differenceInMonths","remainingDays","differenceInDays","isLastDayNotFull","remainingHours","differenceInHours","roundingMethods","remainingMinutes","differenceInMinutes","remainingSeconds","argument","argStr","console","warn","stack"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4252-60c562fd12637bc3.js b/static/web/_next/static/chunks/4252-60c562fd12637bc3.js deleted file mode 100644 index 3475afc9f..000000000 --- a/static/web/_next/static/chunks/4252-60c562fd12637bc3.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4252],{27049:function(t,e,n){var a=n(87462),r=n(4942),i=n(94184),o=n.n(i),u=n(67294),s=n(53124),d=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(t);re.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]]);return n};e.Z=function(t){var e,n=u.useContext(s.E_),i=n.getPrefixCls,l=n.direction,h=t.prefixCls,c=t.type,m=void 0===c?"horizontal":c,f=t.orientation,g=void 0===f?"center":f,v=t.orientationMargin,y=t.className,b=t.children,p=t.dashed,w=t.plain,M=d(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),Z=i("divider",h),W=g.length>0?"-".concat(g):g,P=!!b,N="left"===g&&null!=v,S="right"===g&&null!=v,k=o()(Z,"".concat(Z,"-").concat(m),(e={},(0,r.Z)(e,"".concat(Z,"-with-text"),P),(0,r.Z)(e,"".concat(Z,"-with-text").concat(W),P),(0,r.Z)(e,"".concat(Z,"-dashed"),!!p),(0,r.Z)(e,"".concat(Z,"-plain"),!!w),(0,r.Z)(e,"".concat(Z,"-rtl"),"rtl"===l),(0,r.Z)(e,"".concat(Z,"-no-default-orientation-margin-left"),N),(0,r.Z)(e,"".concat(Z,"-no-default-orientation-margin-right"),S),e),y),D=(0,a.Z)((0,a.Z)({},N&&{marginLeft:v}),S&&{marginRight:v});return u.createElement("div",(0,a.Z)({className:k},M,{role:"separator"}),b&&"vertical"!==m&&u.createElement("span",{className:"".concat(Z,"-inner-text"),style:D},b))}},86559:function(t,e,n){n.d(e,{Z:function(){return l}});var a,r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return function(e,n){var a;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var r=t.defaultFormattingWidth||t.defaultWidth,i=null!=n&&n.width?String(n.width):r;a=t.formattingValues[i]||t.formattingValues[r]}else{var o=t.defaultWidth,u=null!=n&&n.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[o]}return a[t.argumentCallback?t.argumentCallback(e):e]}}function d(t){return function(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var u=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?function(t,e){for(var n=0;n0?"in "+a:a+" ago":a},formatLong:o,formatRelative:function(t,e,n,a){return u[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(a={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(a.matchPattern);if(!n)return null;var r=n[0],i=t.match(a.parsePattern);if(!i)return null;var o=a.valueCallback?a.valueCallback(i[0]):i[0];return{value:o=e.valueCallback?e.valueCallback(o):o,rest:t.slice(r.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,n){n.d(e,{j:function(){return r}});var a={};function r(){return a}},24262:function(t,e,n){n.d(e,{Z:function(){return a}});function a(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}},83946:function(t,e,n){n.d(e,{Z:function(){return a}});function a(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}},77349:function(t,e,n){n.d(e,{Z:function(){return o}});var a=n(83946),r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,a.Z)(e);return isNaN(o)?new Date(NaN):(o&&n.setDate(n.getDate()+o),n)}},11640:function(t,e,n){n.d(e,{Z:function(){return o}});var a=n(83946),r=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,a.Z)(e);if(isNaN(o))return new Date(NaN);if(!o)return n;var u=n.getDate(),s=new Date(n.getTime());return(s.setMonth(n.getMonth()+o+1,0),u>=s.getDate())?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},75401:function(t,e,n){n.d(e,{Z:function(){return u}});var a=n(24262),r=n(19013),i=n(13882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}function u(t,e){(0,i.Z)(2,arguments);var n=o(t),r=o(e);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},68730:function(t,e,n){n.d(e,{Z:function(){return y}});var a=n(49474),r=n(77349),i=n(11640),o=n(19013),u=n(13882),s=n(83946);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if((0,u.Z)(2,arguments),!e||"object"!==d(e))return new Date(NaN);var n=e.years?(0,s.Z)(e.years):0,a=e.months?(0,s.Z)(e.months):0,l=e.weeks?(0,s.Z)(e.weeks):0,h=e.days?(0,s.Z)(e.days):0,c=e.hours?(0,s.Z)(e.hours):0,m=e.minutes?(0,s.Z)(e.minutes):0,f=e.seconds?(0,s.Z)(e.seconds):0,g=(0,o.Z)(t),v=a||n?(0,i.Z)(g,a+12*n):g,y=h||l?(0,r.Z)(v,h+7*l):v;return new Date(y.getTime()+1e3*(f+60*(m+60*c)))}var h=n(75401);function c(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}var m=n(59910),f=n(93645),g=n(82161),v=n(11699);function y(t){(0,u.Z)(1,arguments);var e=(0,o.Z)(t.start),n=(0,o.Z)(t.end);if(isNaN(e.getTime()))throw RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw RangeError("End Date is invalid");var r={};r.years=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,o.Z)(t),r=(0,o.Z)(e),i=(0,a.Z)(n,r),s=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,o.Z)(t),a=(0,o.Z)(e);return n.getFullYear()-a.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var d=(0,a.Z)(n,r)===-i,l=i*(s-Number(d));return 0===l?0:l}(n,e));var i=(0,a.Z)(n,e),s=l(e,{years:i*r.years});r.months=Math.abs((0,g.Z)(n,s));var d=l(s,{months:i*r.months});r.days=Math.abs(function(t,e){(0,u.Z)(2,arguments);var n=(0,o.Z)(t),a=(0,o.Z)(e),r=c(n,a),i=Math.abs((0,h.Z)(n,a));n.setDate(n.getDate()-r*i);var s=Number(c(n,a)===-r),d=r*(i-s);return 0===d?0:d}(n,d));var y=l(d,{days:i*r.days});r.hours=Math.abs(function(t,e,n){(0,u.Z)(2,arguments);var a=(0,m.Z)(t,e)/36e5;return(0,f.u)(null==n?void 0:n.roundingMethod)(a)}(n,y));var b=l(y,{hours:i*r.hours});r.minutes=Math.abs(function(t,e,n){(0,u.Z)(2,arguments);var a=(0,m.Z)(t,e)/6e4;return(0,f.u)(null==n?void 0:n.roundingMethod)(a)}(n,b));var p=l(b,{minutes:i*r.minutes});return r.seconds=Math.abs((0,v.Z)(n,p)),r}}}]); -//# sourceMappingURL=4252-60c562fd12637bc3.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4252-60c562fd12637bc3.js.map b/static/web/_next/static/chunks/4252-60c562fd12637bc3.js.map deleted file mode 100644 index 866e4ca01..000000000 --- a/static/web/_next/static/chunks/4252-60c562fd12637bc3.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/4252-60c562fd12637bc3.js","mappings":"sKAEAA,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAP,EAAAG,IAAAF,EAAAA,EAAAO,OAAA,CAAAL,IAAAD,CAAAA,CAAA,CAAAC,EAAA,CAAAH,CAAA,CAAAG,EAAA,EAEA,GAAAH,IAAA,EAAAA,GAAA,mBAAAI,OAAAK,qBAAA,SAAAC,EAAA,EAAAP,EAAAC,OAAAK,qBAAA,CAAAT,GAA4HU,EAAAP,EAAAQ,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AA,EAAwBgM,EAAAC,GDsB9B,KCrBP,MAAS,GAAAqB,EAAAC,CAAA,EAAiB1L,MAAAA,EAAA,OAAAA,EAAA2L,cAAA,EAAAtB,EAC1B,EIsB6CI,EAAAa,IAC7C,IAAAM,EAAyBvC,EAAGiC,EAAA,CAC5B3B,MAAAiB,EAAAtB,EAAAK,KAAA,EAEAL,CAAAA,EAAAM,OAAA,CAAAxC,KAAAsD,GAAA,CAA8BmB,SHtBf1B,CAAA,CAAAC,CAAA,CAAApK,CAAA,EACb,GAAAsI,EAAAnK,CAAA,EAAY,EAAA8B,WACd,IAAAoK,EAAa,GAAAmB,EAAArN,CAAA,EAAwBgM,EAAAC,GFI9B,IEHP,MAAS,GAAAqB,EAAAC,CAAA,EAAiB1L,MAAAA,EAAA,OAAAA,EAAA2L,cAAA,EAAAtB,EAC1B,EGkBiDI,EAAAmB,IACjD,IAAAE,EAAyBzC,EAAGuC,EAAA,CAC5BhC,QAAAgB,EAAAtB,EAAAM,OAAA,GAGA,OADAN,EAAAO,OAAA,CAAAzC,KAAAsD,GAAA,CAA8B,GAAAqB,EAAA5N,CAAA,EAAmBsM,EAAAqB,IACjDxC,CACA","sources":["webpack://_N_E/./node_modules/antd/es/divider/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack://_N_E/./node_modules/date-fns/esm/locale/en-US/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/defaultLocale/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/defaultOptions/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack://_N_E/./node_modules/date-fns/esm/addDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/addMonths/index.js","webpack://_N_E/./node_modules/date-fns/esm/startOfDay/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/add/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInDays/index.js","webpack://_N_E/./node_modules/date-fns/esm/constants/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInHours/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInMinutes/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarYears/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInYears/index.js","webpack://_N_E/./node_modules/date-fns/esm/intervalToDuration/index.js","webpack://_N_E/"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar Divider = function Divider(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$type = props.type,\n type = _props$type === void 0 ? 'horizontal' : _props$type,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'center' : _props$orientation,\n orientationMargin = props.orientationMargin,\n className = props.className,\n children = props.children,\n dashed = props.dashed,\n plain = props.plain,\n restProps = __rest(props, [\"prefixCls\", \"type\", \"orientation\", \"orientationMargin\", \"className\", \"children\", \"dashed\", \"plain\"]);\n var prefixCls = getPrefixCls('divider', customizePrefixCls);\n var orientationPrefix = orientation.length > 0 ? \"-\".concat(orientation) : orientation;\n var hasChildren = !!children;\n var hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;\n var hasCustomMarginRight = orientation === 'right' && orientationMargin != null;\n var classString = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(type), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-text\"), hasChildren), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-text\").concat(orientationPrefix), hasChildren), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dashed\"), !!dashed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-plain\"), !!plain), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-default-orientation-margin-left\"), hasCustomMarginLeft), _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-default-orientation-margin-right\"), hasCustomMarginRight), _classNames), className);\n var innerStyle = _extends(_extends({}, hasCustomMarginLeft && {\n marginLeft: orientationMargin\n }), hasCustomMarginRight && {\n marginRight: orientationMargin\n });\n // Warning children not work in vertical mode\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!children || type !== 'vertical', 'Divider', '`children` not working in `vertical` mode.') : void 0;\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, restProps, {\n role: \"separator\"\n }), children && type !== 'vertical' && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-inner-text\"),\n style: innerStyle\n }, children));\n};\nexport default Divider;","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\n\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n};\n\nexport default formatDistance;","export default function buildFormatLongFn(args) {\n return function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // TODO: Remove String()\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\n\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\n\nexport default formatRelative;","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex; // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n\n return valuesArray[index];\n };\n}","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']\n}; // Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\n\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n};\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","export default function buildMatchFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n }) : findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n\n return undefined;\n}","export default function buildMatchPatternFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import defaultLocale from \"../../locale/en-US/index.js\";\nexport default defaultLocale;","var defaultOptions = {};\nexport function getDefaultOptions() {\n return defaultOptions;\n}\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\n\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\n\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n\n var dayOfMonth = date.getDate(); // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport addDays from \"../addDays/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n\n/**\n * @name add\n * @category Common Helpers\n * @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @description\n * Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Duration} duration - the object with years, months, weeks, days, hours, minutes and seconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n *\n * | Key | Description |\n * |----------------|------------------------------------|\n * | years | Amount of years to be added |\n * | months | Amount of months to be added |\n * | weeks | Amount of weeks to be added |\n * | days | Amount of days to be added |\n * | hours | Amount of hours to be added |\n * | minutes | Amount of minutes to be added |\n * | seconds | Amount of seconds to be added |\n *\n * All values default to 0\n *\n * @returns {Date} the new date with the seconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add the following duration to 1 September 2014, 10:19:50\n * const result = add(new Date(2014, 8, 1, 10, 19, 50), {\n * years: 2,\n * months: 9,\n * weeks: 1,\n * days: 7,\n * hours: 5,\n * minutes: 9,\n * seconds: 30,\n * })\n * //=> Thu Jun 15 2017 15:29:20\n */\nexport default function add(dirtyDate, duration) {\n requiredArgs(2, arguments);\n if (!duration || _typeof(duration) !== 'object') return new Date(NaN);\n var years = duration.years ? toInteger(duration.years) : 0;\n var months = duration.months ? toInteger(duration.months) : 0;\n var weeks = duration.weeks ? toInteger(duration.weeks) : 0;\n var days = duration.days ? toInteger(duration.days) : 0;\n var hours = duration.hours ? toInteger(duration.hours) : 0;\n var minutes = duration.minutes ? toInteger(duration.minutes) : 0;\n var seconds = duration.seconds ? toInteger(duration.seconds) : 0; // Add years and months\n\n var date = toDate(dirtyDate);\n var dateWithMonths = months || years ? addMonths(date, months + years * 12) : date; // Add weeks and days\n\n var dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths; // Add days, hours, minutes and seconds\n\n var minutesToAdd = minutes + hours * 60;\n var secondsToAdd = seconds + minutesToAdd * 60;\n var msToAdd = secondsToAdd * 1000;\n var finalDate = new Date(dateWithDays.getTime() + msToAdd);\n return finalDate;\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarDays from \"../differenceInCalendarDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\"; // Like `compareAsc` but uses local time not UTC, which is needed\n// for accurate equality comparisons of UTC timestamps that end up\n// having the same representation in local time, e.g. one hour before\n// DST ends vs. the instant that DST ends.\n\nfunction compareLocalAsc(dateLeft, dateRight) {\n var diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds();\n\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1; // Return 0 if diff is 0; return NaN if diff is NaN\n } else {\n return diff;\n }\n}\n/**\n * @name differenceInDays\n * @category Day Helpers\n * @summary Get the number of full days between the given dates.\n *\n * @description\n * Get the number of full day periods between two dates. Fractional days are\n * truncated towards zero.\n *\n * One \"full day\" is the distance between a local time in one day to the same\n * local time on the next or previous day. A full day can sometimes be less than\n * or more than 24 hours if a daylight savings change happens between two dates.\n *\n * To ignore DST and only measure exact 24-hour periods, use this instead:\n * `Math.floor(differenceInHours(dateLeft, dateRight)/24)|0`.\n *\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full days according to the local timezone\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 365\n * // How many full days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 0\n * // How many full days are between\n * // 1 March 2020 0:00 and 1 June 2020 0:00 ?\n * // Note: because local time is used, the\n * // result will always be 92 days, even in\n * // time zones where DST starts and the\n * // period has only 92*24-1 hours.\n * const result = differenceInDays(\n * new Date(2020, 5, 1),\n * new Date(2020, 2, 1)\n * )\n//=> 92\n */\n\n\nexport default function differenceInDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareLocalAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarDays(dateLeft, dateRight));\n dateLeft.setDate(dateLeft.getDate() - sign * difference); // Math.abs(diff in full days - diff in calendar days) === 1 if last calendar day is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastDayNotFull = Number(compareLocalAsc(dateLeft, dateRight) === -sign);\n var result = sign * (difference - isLastDayNotFull); // Prevent negative zero\n\n return result === 0 ? 0 : result;\n}","/**\n * Days in 1 week.\n *\n * @name daysInWeek\n * @constant\n * @type {number}\n * @default\n */\nexport var daysInWeek = 7;\n/**\n * Days in 1 year\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n *\n * @name daysInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var daysInYear = 365.2425;\n/**\n * Maximum allowed time.\n *\n * @name maxTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n/**\n * Milliseconds in 1 minute\n *\n * @name millisecondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInMinute = 60000;\n/**\n * Milliseconds in 1 hour\n *\n * @name millisecondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInHour = 3600000;\n/**\n * Milliseconds in 1 second\n *\n * @name millisecondsInSecond\n * @constant\n * @type {number}\n * @default\n */\n\nexport var millisecondsInSecond = 1000;\n/**\n * Minimum allowed time.\n *\n * @name minTime\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minTime = -maxTime;\n/**\n * Minutes in 1 hour\n *\n * @name minutesInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var minutesInHour = 60;\n/**\n * Months in 1 quarter\n *\n * @name monthsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInQuarter = 3;\n/**\n * Months in 1 year\n *\n * @name monthsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var monthsInYear = 12;\n/**\n * Quarters in 1 year\n *\n * @name quartersInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var quartersInYear = 4;\n/**\n * Seconds in 1 hour\n *\n * @name secondsInHour\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInHour = 3600;\n/**\n * Seconds in 1 minute\n *\n * @name secondsInMinute\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMinute = 60;\n/**\n * Seconds in 1 day\n *\n * @name secondsInDay\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInDay = secondsInHour * 24;\n/**\n * Seconds in 1 week\n *\n * @name secondsInWeek\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInWeek = secondsInDay * 7;\n/**\n * Seconds in 1 year\n *\n * @name secondsInYear\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInYear = secondsInDay * daysInYear;\n/**\n * Seconds in 1 month\n *\n * @name secondsInMonth\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInMonth = secondsInYear / 12;\n/**\n * Seconds in 1 quarter\n *\n * @name secondsInQuarter\n * @constant\n * @type {number}\n * @default\n */\n\nexport var secondsInQuarter = secondsInMonth * 3;","import { millisecondsInHour } from \"../constants/index.js\";\nimport differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInHours\n * @category Hour Helpers\n * @summary Get the number of hours between the given dates.\n *\n * @description\n * Get the number of hours between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of hours\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00?\n * const result = differenceInHours(\n * new Date(2014, 6, 2, 19, 0),\n * new Date(2014, 6, 2, 6, 50)\n * )\n * //=> 12\n */\n\nexport default function differenceInHours(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","import { millisecondsInMinute } from \"../constants/index.js\";\nimport differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInMinutes\n * @category Minute Helpers\n * @summary Get the number of minutes between the given dates.\n *\n * @description\n * Get the signed number of full (rounded towards 0) minutes between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of minutes\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many minutes are between 2 July 2014 12:07:59 and 2 July 2014 12:20:00?\n * const result = differenceInMinutes(\n * new Date(2014, 6, 2, 12, 20, 0),\n * new Date(2014, 6, 2, 12, 7, 59)\n * )\n * //=> 12\n *\n * @example\n * // How many minutes are between 10:01:59 and 10:00:00\n * const result = differenceInMinutes(\n * new Date(2000, 0, 1, 10, 0, 0),\n * new Date(2000, 0, 1, 10, 1, 59)\n * )\n * //=> -1\n */\n\nexport default function differenceInMinutes(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInCalendarYears\n * @category Year Helpers\n * @summary Get the number of calendar years between the given dates.\n *\n * @description\n * Get the number of calendar years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInCalendarYears(\n * new Date(2015, 1, 11),\n * new Date(2013, 11, 31)\n * )\n * //=> 2\n */\n\nexport default function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() - dateRight.getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarYears from \"../differenceInCalendarYears/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInYears\n * @category Year Helpers\n * @summary Get the number of full years between the given dates.\n *\n * @description\n * Get the number of full years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInYears(new Date(2015, 1, 11), new Date(2013, 11, 31))\n * //=> 1\n */\n\nexport default function differenceInYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight)); // Set both dates to a valid leap year for accurate comparison when dealing\n // with leap days\n\n dateLeft.setFullYear(1584);\n dateRight.setFullYear(1584); // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;\n var result = sign * (difference - Number(isLastYearNotFull)); // Prevent negative zero\n\n return result === 0 ? 0 : result;\n}","import compareAsc from \"../compareAsc/index.js\";\nimport add from \"../add/index.js\";\nimport differenceInDays from \"../differenceInDays/index.js\";\nimport differenceInHours from \"../differenceInHours/index.js\";\nimport differenceInMinutes from \"../differenceInMinutes/index.js\";\nimport differenceInMonths from \"../differenceInMonths/index.js\";\nimport differenceInSeconds from \"../differenceInSeconds/index.js\";\nimport differenceInYears from \"../differenceInYears/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name intervalToDuration\n * @category Common Helpers\n * @summary Convert interval to duration\n *\n * @description\n * Convert a interval object to a duration object.\n *\n * @param {Interval} interval - the interval to convert to duration\n *\n * @returns {Duration} The duration Object\n * @throws {TypeError} Requires 2 arguments\n * @throws {RangeError} `start` must not be Invalid Date\n * @throws {RangeError} `end` must not be Invalid Date\n *\n * @example\n * // Get the duration between January 15, 1929 and April 4, 1968.\n * intervalToDuration({\n * start: new Date(1929, 0, 15, 12, 0, 0),\n * end: new Date(1968, 3, 4, 19, 5, 0)\n * })\n * // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }\n */\n\nexport default function intervalToDuration(interval) {\n requiredArgs(1, arguments);\n var start = toDate(interval.start);\n var end = toDate(interval.end);\n if (isNaN(start.getTime())) throw new RangeError('Start Date is invalid');\n if (isNaN(end.getTime())) throw new RangeError('End Date is invalid');\n var duration = {};\n duration.years = Math.abs(differenceInYears(end, start));\n var sign = compareAsc(end, start);\n var remainingMonths = add(start, {\n years: sign * duration.years\n });\n duration.months = Math.abs(differenceInMonths(end, remainingMonths));\n var remainingDays = add(remainingMonths, {\n months: sign * duration.months\n });\n duration.days = Math.abs(differenceInDays(end, remainingDays));\n var remainingHours = add(remainingDays, {\n days: sign * duration.days\n });\n duration.hours = Math.abs(differenceInHours(end, remainingHours));\n var remainingMinutes = add(remainingHours, {\n hours: sign * duration.hours\n });\n duration.minutes = Math.abs(differenceInMinutes(end, remainingMinutes));\n var remainingSeconds = add(remainingMinutes, {\n minutes: sign * duration.minutes\n });\n duration.seconds = Math.abs(differenceInSeconds(end, remainingSeconds));\n return duration;\n}"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","__webpack_exports__","props","_classNames","_React$useContext","react__WEBPACK_IMPORTED_MODULE_1__","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","customizePrefixCls","prefixCls","_props$type","type","_props$orientation","orientation","orientationMargin","className","children","dashed","plain","restProps","orientationPrefix","concat","hasChildren","hasCustomMarginLeft","hasCustomMarginRight","classString","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__","Z","innerStyle","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","marginLeft","marginRight","createElement","role","style","args","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","options","arguments","undefined","width","String","defaultWidth","formats","formatLong","date","full","long","medium","short","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","buildLocalizeFn","dirtyIndex","valuesArray","context","formattingValues","defaultFormattingWidth","_defaultWidth","_width","values","argumentCallback","buildMatchFn","string","value","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","array","predicate","pattern","test","findKey","object","valueCallback","rest","slice","defaultLocale","code","formatDistance","token","count","result","tokenValue","replace","toString","addSuffix","comparison","formatRelative","_date","_baseDate","_options","localize","ordinalNumber","dirtyNumber","number","Number","rem100","era","narrow","abbreviated","wide","quarter","month","day","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseInt","parseResult","any","index","weekStartsOn","firstWeekContainsDate","defaultOptions","getDefaultOptions","getTimezoneOffsetInMilliseconds","utcDate","Date","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setUTCFullYear","getTime","toInteger","NaN","Math","ceil","floor","addDays","dirtyDate","dirtyAmount","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__","amount","_lib_toInteger_index_js__WEBPACK_IMPORTED_MODULE_2__","setDate","addMonths","isNaN","dayOfMonth","endOfDesiredMonth","setMonth","setFullYear","startOfDay","requiredArgs","toDate","setHours","differenceInCalendarDays","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","round","timestampLeft","_typeof","obj","Symbol","iterator","constructor","add","duration","years","months","weeks","days","hours","minutes","seconds","dateWithMonths","dateWithDays","secondsToAdd","minutesToAdd","compareLocalAsc","dateLeft","dateRight","diff","intervalToDuration","interval","start","end","abs","differenceInYears","sign","compareAsc","difference","differenceInCalendarYears","isLastYearNotFull","remainingMonths","differenceInMonths","remainingDays","differenceInDays","isLastDayNotFull","remainingHours","differenceInHours","differenceInMilliseconds","roundingMethods","u","roundingMethod","remainingMinutes","differenceInMinutes","remainingSeconds","differenceInSeconds"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4768.0e295d6a4f392d7b.js b/static/web/_next/static/chunks/4768.0e295d6a4f392d7b.js new file mode 100644 index 000000000..b85b1fdbb --- /dev/null +++ b/static/web/_next/static/chunks/4768.0e295d6a4f392d7b.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4768],{80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},l=n(42135),i=function(e,t){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:a}))};i.displayName="DownOutlined";var c=o.forwardRef(i)},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},24093:function(e,t,n){"use strict";n.d(t,{C:function(){return E}});var r=n(87462),o=n(4942),a=n(71002),l=n(97685),i=n(94184),c=n.n(i),u=n(48555),s=n(42550),d=n(67294),f=n(53124),p=n(25378),m=n(24308),v=d.createContext("default"),h=function(e){var t=e.children,n=e.size;return d.createElement(v.Consumer,null,function(e){return d.createElement(v.Provider,{value:n||e},t)})},g=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},y=d.forwardRef(function(e,t){var n,i,h,y=d.useContext(v),C=d.useState(1),Z=(0,l.Z)(C,2),b=Z[0],w=Z[1],E=d.useState(!1),k=(0,l.Z)(E,2),x=k[0],S=k[1],N=d.useState(!0),P=(0,l.Z)(N,2),O=P[0],M=P[1],R=d.useRef(null),T=d.useRef(null),D=(0,s.sQ)(t,R),L=d.useContext(f.E_).getPrefixCls,I=function(){if(T.current&&R.current){var t=T.current.offsetWidth,n=R.current.offsetWidth;if(0!==t&&0!==n){var r=e.gap,o=void 0===r?4:r;2*oe.top-n)return n+t.top}function L(e,t,n){if(void 0!==n&&t.bottom=0;i--)(o=e[i])&&(l=(a<3?o(l):a>3?o(t,n,l):o(t,n))||l);return a>3&&l&&Object.defineProperty(t,n,l),l};function j(){return"undefined"!=typeof window?window:null}(r=p||(p={}))[r.None=0]="None",r[r.Prepare=1]="Prepare";var Y=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.state={status:p.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props,n=t.offsetBottom,r=t.offsetTop;return void 0===n&&void 0===r?0:r},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,o=e.props.onChange,a=e.getTargetFunc();if(n===p.Prepare&&e.fixedNode&&e.placeholderNode&&a){var l=e.getOffsetTop(),i=e.getOffsetBottom(),c=a();if(c){var u={status:p.None},s=T(c),d=T(e.placeholderNode),f=D(d,s,l),m=L(d,s,i);(0!==d.top||0!==d.left||0!==d.width||0!==d.height)&&(void 0!==f?(u.affixStyle={position:"fixed",top:f,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}):void 0!==m&&(u.affixStyle={position:"fixed",bottom:m,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}),u.lastAffix=!!u.affixStyle,o&&r!==u.lastAffix&&o(u.lastAffix),e.setState(u))}}},e.prepareMeasure=function(){e.setState({status:p.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e}return(0,g.Z)(n,[{key:"getTargetFunc",value:function(){var e=this.context.getTargetContainer,t=this.props.target;return void 0!==t?t:null!=e?e:j}},{key:"componentDidMount",value:function(){var e=this,t=this.getTargetFunc();t&&(this.timeout=setTimeout(function(){H(t(),e),e.updatePosition()}))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.getTargetFunc(),r=(null==n?void 0:n())||null;t!==r&&(z(this),r&&(H(r,this),this.updatePosition()),this.setState({prevTarget:r})),(e.offsetTop!==this.props.offsetTop||e.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),z(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.getTargetFunc(),t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),o=e();if(o&&this.placeholderNode){var a=T(o),l=T(this.placeholderNode),i=D(l,a,n),c=L(l,a,r);if(void 0!==i&&t.top===i||void 0!==c&&t.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){var e=this,t=this.state,n=t.affixStyle,r=t.placeholderStyle,o=this.props,a=o.affixPrefixCls,l=o.children,i=w()((0,v.Z)({},a,!!n)),c=(0,k.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return x.createElement(E.default,{onResize:function(){e.updatePosition()}},x.createElement("div",(0,m.Z)({},c,{ref:this.savePlaceholderNode}),n&&x.createElement("div",{style:r,"aria-hidden":"true"}),x.createElement("div",{className:i,ref:this.saveFixedNode,style:n},x.createElement(E.default,{onResize:function(){e.updatePosition()}},l))))}}]),n}(x.Component);Y.contextType=S.E_,V([M()],Y.prototype,"updatePosition",null),V([M()],Y.prototype,"lazyUpdatePosition",null);var F=x.forwardRef(function(e,t){var n=e.prefixCls,r=(0,x.useContext(S.E_).getPrefixCls)("affix",n),o=(0,m.Z)((0,m.Z)({},e),{affixPrefixCls:r});return x.createElement(Y,(0,m.Z)({},o,{ref:t}))}),W=n(14670),K=n(97685),_=n(66367),B=n(58375),U=x.createContext(void 0);function X(){return window}function q(e,t){if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var G=/#([\S ]+)$/,Q=function(e){var t,n=e.anchorPrefixCls,r=e.className,o=e.style,a=e.offsetTop,l=e.affix,i=void 0===l||l,c=e.showInkInFixed,u=e.children,s=e.bounds,d=e.targetOffset,f=e.onClick,p=e.onChange,h=e.getContainer,g=e.getCurrentAnchor,y=x.useState([]),C=(0,K.Z)(y,2),Z=C[0],b=C[1],E=x.useState(null),k=(0,K.Z)(E,2),P=k[0],O=k[1],M=x.useRef(P),T=x.useRef(null),D=x.useRef(null),L=x.useRef(!1),I=x.useContext(S.E_),A=I.direction,H=I.getTargetContainer,z=null!==(t=null!=h?h:H)&&void 0!==t?t:X,V=JSON.stringify(Z),j=x.useCallback(function(e){Z.includes(e)||b(function(t){return[].concat((0,N.Z)(t),[e])})},[V]),Y=x.useCallback(function(e){Z.includes(e)&&b(function(t){return t.filter(function(t){return t!==e})})},[V]),W=function(){var e,t=null===(e=T.current)||void 0===e?void 0:e.querySelector(".".concat(n,"-link-title-active"));t&&D.current&&(D.current.style.top="".concat(t.offsetTop+t.clientHeight/2-4.5,"px"))},Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[],o=z();return(e.forEach(function(e){var a=G.exec(null==e?void 0:e.toString());if(a){var l=document.getElementById(a[1]);if(l){var i=q(l,o);ie.top?t:e}).link:""},$=function(e){if(M.current!==e){var t="function"==typeof g?g(e):e;O(t),M.current=t,null==p||p(e)}},J=x.useCallback(function(){L.current||"function"==typeof g||$(Q(Z,void 0!==d?d:a||0,s))},[V,d,a]),ee=x.useCallback(function(e){$(e);var t=z(),n=(0,_.Z)(t,!0),r=G.exec(e);if(r){var o=document.getElementById(r[1]);if(o){var l=n+q(o,t);l-=void 0!==d?d:a||0,L.current=!0,(0,B.Z)(l,{getContainer:z,callback:function(){L.current=!1}})}}},[d,a]),et=w()((0,v.Z)({},"".concat(n,"-ink-ball-visible"),P),"".concat(n,"-ink-ball")),en=w()("".concat(n,"-wrapper"),(0,v.Z)({},"".concat(n,"-rtl"),"rtl"===A),void 0===r?"":r),er=w()(n,(0,v.Z)({},"".concat(n,"-fixed"),!i&&!(void 0!==c&&c))),eo=(0,m.Z)({maxHeight:a?"calc(100vh - ".concat(a,"px)"):"100vh"},o),ea=x.createElement("div",{ref:T,className:en,style:eo},x.createElement("div",{className:er},x.createElement("div",{className:"".concat(n,"-ink")},x.createElement("span",{className:et,ref:D})),u));x.useEffect(function(){var e=z(),t=(0,R.Z)(e,"scroll",J);return J(),function(){null==t||t.remove()}},[V]),x.useEffect(function(){"function"==typeof g&&$(g(M.current||""))},[g]),x.useEffect(function(){W()},[g,V,P]);var el=x.useMemo(function(){return{registerLink:j,unregisterLink:Y,scrollTo:ee,activeLink:P,onClick:f}},[P,f,ee]);return x.createElement(U.Provider,{value:el},i?x.createElement(F,{offsetTop:a,target:z},ea):ea)},$=function(e){var t=e.prefixCls,n=(0,x.useContext(S.E_).getPrefixCls)("anchor",t);return x.createElement(Q,(0,m.Z)({},e,{anchorPrefixCls:n}))};$.Link=function(e){var t=e.href,n=void 0===t?"#":t,r=e.title,o=e.prefixCls,a=e.children,l=e.className,i=e.target,c=x.useContext(U)||{},u=c.registerLink,s=c.unregisterLink,d=c.scrollTo,f=c.onClick,p=c.activeLink;x.useEffect(function(){return null==u||u(n),function(){null==s||s(n)}},[n,u,s]);var m=function(e){null==f||f(e,{title:r,href:n}),null==d||d(n)};return x.createElement(S.C,null,function(e){var t=(0,e.getPrefixCls)("anchor",o),c=p===n,u=w()("".concat(t,"-link"),l,(0,v.Z)({},"".concat(t,"-link-active"),c)),s=w()("".concat(t,"-link-title"),(0,v.Z)({},"".concat(t,"-link-title-active"),c));return x.createElement("div",{className:u},x.createElement("a",{className:s,href:n,title:"string"==typeof r?r:"",target:i,onClick:m},r),a)})};var J=$,ee=n(50344),et=n(34041),en=n(96159),er=et.Z.Option;function eo(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var ea=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.className,l=e.popupClassName,i=e.dropdownClassName,c=e.children,u=e.dataSource,s=(0,ee.Z)(c);1===s.length&&(0,en.l$)(s[0])&&!eo(s[0])&&(n=(0,K.Z)(s,1)[0]);var d=n?function(){return n}:void 0;return r=s.length&&eo(s[0])?c:u?u.map(function(e){if((0,en.l$)(e))return e;switch((0,Z.Z)(e)){case"string":return x.createElement(er,{key:e,value:e},e);case"object":var t=e.value;return x.createElement(er,{key:t,value:t},e.text);default:return}}):[],x.createElement(S.C,null,function(n){var c=(0,n.getPrefixCls)("select",o);return x.createElement(et.Z,(0,m.Z)({ref:t},(0,k.Z)(e,["dataSource"]),{prefixCls:c,popupClassName:l||i,className:w()("".concat(c,"-auto-complete"),a),mode:et.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:d}),r)})});ea.Option=er;var el=ea,ei=n(24093),ec=n(1413),eu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},es=n(42135),ed=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:eu}))};ed.displayName="VerticalAlignTopOutlined";var ef=x.forwardRef(ed),ep=n(62874),em=n(21770),ev=function(e){var t=e.prefixCls,n=e.rootPrefixCls,r=e.children,o=e.visible,a=x.createElement("div",{className:"".concat(t,"-content")},x.createElement("div",{className:"".concat(t,"-icon")},x.createElement(ef,null)));return x.createElement(ep.Z,{visible:o,motionName:"".concat(n,"-fade")},function(e){var t=e.className;return(0,en.Tm)(r||a,function(e){var n=e.className;return{className:w()(t,n)}})})},eh=x.memo(function(e){var t=(0,em.Z)(!1,{value:e.visible}),n=(0,K.Z)(t,2),r=n[0],o=n[1],a=x.createRef(),l=x.useRef(null),i=function(){return a.current&&a.current.ownerDocument?a.current.ownerDocument:window},c=O(function(t){var n=e.visibilityHeight;o((0,_.Z)(t.target,!0)>(void 0===n?400:n))}),u=function(){var t=(e.target||i)();l.current=(0,R.Z)(t,"scroll",function(e){c(e)}),c({target:t})};x.useEffect(function(){return u(),function(){l.current&&l.current.remove(),c.cancel()}},[e.target]);var s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=e.prefixCls,h=e.className,g=d("back-top",p),y=d(),C=w()(g,(0,v.Z)({},"".concat(g,"-rtl"),"rtl"===f),void 0===h?"":h),Z=(0,k.Z)(e,["prefixCls","className","children","visibilityHeight","target","visible"]);return x.createElement("div",(0,m.Z)({},Z,{className:C,onClick:function(t){var n=e.onClick,r=e.target,o=e.duration;(0,B.Z)(0,{getContainer:r||i,duration:void 0===o?450:o}),"function"==typeof n&&n(t)},ref:a}),x.createElement(ev,{prefixCls:g,rootPrefixCls:y,visible:r},e.children))}),eg=n(98787);function ey(e){return eg.Y.includes(e)}function eC(e){var t,n=e.prefixCls,r=e.value,o=e.current,a=e.offset,l=void 0===a?0:a;return l&&(t={position:"absolute",top:"".concat(l,"00%"),left:0}),x.createElement("span",{style:t,className:w()("".concat(n,"-only-unit"),{current:o})},r)}function eZ(e){var t,n,r=e.prefixCls,o=e.count,a=Number(e.value),l=Math.abs(o),i=x.useState(a),c=(0,K.Z)(i,2),u=c[0],s=c[1],d=x.useState(l),f=(0,K.Z)(d,2),p=f[0],v=f[1],h=function(){s(a),v(l)};if(x.useEffect(function(){var e=setTimeout(function(){h()},1e3);return function(){clearTimeout(e)}},[a]),u===a||Number.isNaN(a)||Number.isNaN(u))t=[x.createElement(eC,(0,m.Z)({},e,{key:a,current:!0}))],n={transition:"none"};else{t=[];for(var g=a+10,y=[],C=a;C<=g;C+=1)y.push(C);var Z=y.findIndex(function(e){return e%10===u});t=y.map(function(t,n){return x.createElement(eC,(0,m.Z)({},e,{key:t,value:t%10,offset:n-Z,current:n===Z}))}),n={transform:"translateY(".concat(-function(e,t,n){for(var r=e,o=0;(r+10)%10!==t;)r+=n,o+=n;return o}(u,a,pt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ew=function(e){var t=e.prefixCls,n=e.count,r=e.className,o=e.motionClassName,a=e.style,l=e.title,i=e.show,c=e.component,u=e.children,s=eb(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),d=(0,x.useContext(S.E_).getPrefixCls)("scroll-number",t),f=(0,m.Z)((0,m.Z)({},s),{"data-show":i,style:a,className:w()(d,r,o),title:l}),p=n;if(n&&Number(n)%1==0){var v=String(n).split("");p=v.map(function(e,t){return x.createElement(eZ,{prefixCls:d,count:Number(n),value:e,key:v.length-t})})}return(a&&a.borderColor&&(f.style=(0,m.Z)((0,m.Z)({},a),{boxShadow:"0 0 0 1px ".concat(a.borderColor," inset")})),u)?(0,en.Tm)(u,function(e){return{className:w()("".concat(d,"-custom-component"),null==e?void 0:e.className,o)}}):x.createElement(void 0===c?"sup":c,f,p)},eE=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ek=function(e){var t,n,r=e.prefixCls,o=e.scrollNumberPrefixCls,a=e.children,l=e.status,i=e.text,c=e.color,u=e.count,s=void 0===u?null:u,d=e.overflowCount,f=void 0===d?99:d,p=e.dot,h=e.size,g=void 0===h?"default":h,y=e.title,C=e.offset,b=e.style,E=e.className,k=e.showZero,N=void 0!==k&&k,P=eE(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),O=x.useContext(S.E_),M=O.getPrefixCls,R=O.direction,T=M("badge",r),D=s>f?"".concat(f,"+"):s,L="0"===D||0===D,I=(null!=l||null!=c)&&(null===s||L),A=void 0!==p&&p&&!L,H=A?"":D,z=(0,x.useMemo)(function(){return(null==H||""===H||L&&!N)&&!A},[H,L,N,A]),V=(0,x.useRef)(s);z||(V.current=s);var j=V.current,Y=(0,x.useRef)(H);z||(Y.current=H);var F=Y.current,W=(0,x.useRef)(A);z||(W.current=A);var K=(0,x.useMemo)(function(){if(!C)return(0,m.Z)({},b);var e={marginTop:C[1]};return"rtl"===R?e.left=parseInt(C[0],10):e.right=-parseInt(C[0],10),(0,m.Z)((0,m.Z)({},e),b)},[R,C,b]),_=null!=y?y:"string"==typeof j||"number"==typeof j?j:void 0,B=z||!i?null:x.createElement("span",{className:"".concat(T,"-status-text")},i),U=j&&"object"===(0,Z.Z)(j)?(0,en.Tm)(j,function(e){return{style:(0,m.Z)((0,m.Z)({},K),e.style)}}):void 0,X=w()((t={},(0,v.Z)(t,"".concat(T,"-status-dot"),I),(0,v.Z)(t,"".concat(T,"-status-").concat(l),!!l),(0,v.Z)(t,"".concat(T,"-status-").concat(c),ey(c)),t)),q={};c&&!ey(c)&&(q.background=c);var G=w()(T,(n={},(0,v.Z)(n,"".concat(T,"-status"),I),(0,v.Z)(n,"".concat(T,"-not-a-wrapper"),!a),(0,v.Z)(n,"".concat(T,"-rtl"),"rtl"===R),n),E);if(!a&&I){var Q=K.color;return x.createElement("span",(0,m.Z)({},P,{className:G,style:K}),x.createElement("span",{className:X,style:q}),i&&x.createElement("span",{style:{color:Q},className:"".concat(T,"-status-text")},i))}return x.createElement("span",(0,m.Z)({},P,{className:G}),a,x.createElement(ep.Z,{visible:!z,motionName:"".concat(T,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(e){var t,n=e.className,r=M("scroll-number",o),a=W.current,i=w()((t={},(0,v.Z)(t,"".concat(T,"-dot"),a),(0,v.Z)(t,"".concat(T,"-count"),!a),(0,v.Z)(t,"".concat(T,"-count-sm"),"small"===g),(0,v.Z)(t,"".concat(T,"-multiple-words"),!a&&F&&F.toString().length>1),(0,v.Z)(t,"".concat(T,"-status-").concat(l),!!l),(0,v.Z)(t,"".concat(T,"-status-").concat(c),ey(c)),t)),u=(0,m.Z)({},K);return c&&!ey(c)&&((u=u||{}).background=c),x.createElement(ew,{prefixCls:r,show:!z,motionClassName:n,className:i,count:F,title:_,style:u,key:"scrollNumber"},U)}),B)};ek.Ribbon=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,a=e.color,l=e.children,i=e.text,c=e.placement,u=x.useContext(S.E_),s=u.getPrefixCls,d=u.direction,f=s("ribbon",r),p=ey(a),h=w()(f,"".concat(f,"-placement-").concat(void 0===c?"end":c),(t={},(0,v.Z)(t,"".concat(f,"-rtl"),"rtl"===d),(0,v.Z)(t,"".concat(f,"-color-").concat(a),p),t),n),g={},y={};return a&&!p&&(g.background=a,y.color=a),x.createElement("div",{className:"".concat(f,"-wrapper")},l,x.createElement("div",{className:h,style:(0,m.Z)((0,m.Z)({},g),o)},x.createElement("span",{className:"".concat(f,"-text")},i),x.createElement("div",{className:"".concat(f,"-corner"),style:y})))};var ex=ek,eS=n(66516),eN=n(80882),eP=n(18562),eO=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eM=function(e){var t,n,r=e.prefixCls,o=e.separator,a=void 0===o?"/":o,l=e.children,i=e.menu,c=e.overlay,u=e.dropdownProps,s=eO(e,["prefixCls","separator","children","menu","overlay","dropdownProps"]),d=(0,x.useContext(S.E_).getPrefixCls)("breadcrumb",r);return(t=n="href"in s?x.createElement("a",(0,m.Z)({className:"".concat(d,"-link")},s),l):x.createElement("span",(0,m.Z)({className:"".concat(d,"-link")},s),l),n=i||c?x.createElement(eP.Z,(0,m.Z)({menu:i,overlay:c,placement:"bottom"},u),x.createElement("span",{className:"".concat(d,"-overlay-link")},t,x.createElement(eN.Z,null))):t,null!=l)?x.createElement("li",null,n,a&&x.createElement("span",{className:"".concat(d,"-separator")},a)):null};eM.__ANT_BREADCRUMB_ITEM=!0;var eR=function(e){var t=e.children,n=(0,x.useContext(S.E_).getPrefixCls)("breadcrumb");return x.createElement("span",{className:"".concat(n,"-separator")},t||"/")};eR.__ANT_BREADCRUMB_SEPARATOR=!0;var eT=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eD(e,t,n,r){var o=n.indexOf(e)===n.length-1,a=function(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|");return e.breadcrumbName.replace(RegExp(":(".concat(n,")"),"g"),function(e,n){return t[n]||e})}(e,t);return o?x.createElement("span",null,a):x.createElement("a",{href:"#/".concat(r.join("/"))},a)}var eL=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach(function(n){e=e.replace(":".concat(n),t[n])}),e},eI=function(e,t,n){var r=(0,N.Z)(e),o=eL(t||"",n);return o&&r.push(o),r},eA=function(e){var t,n=e.prefixCls,r=e.separator,o=void 0===r?"/":r,a=e.style,l=e.className,i=e.routes,c=e.children,u=e.itemRender,s=void 0===u?eD:u,d=e.params,f=void 0===d?{}:d,p=eT(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),h=x.useContext(S.E_),g=h.getPrefixCls,y=h.direction,C=g("breadcrumb",n);if(i&&i.length>0){var Z=[];t=i.map(function(e){var t,n=eL(e.path,f);n&&Z.push(n),e.children&&e.children.length&&(t=x.createElement(eS.Z,{items:e.children.map(function(e){return{key:e.path||e.breadcrumbName,label:s(e,f,i,eI(Z,e.path,f))}})}));var r={separator:o};return t&&(r.overlay=t),x.createElement(eM,(0,m.Z)({},r,{key:n||e.breadcrumbName}),s(e,f,i,Z))})}else c&&(t=(0,ee.Z)(c).map(function(e,t){return e?(0,en.Tm)(e,{separator:o,key:t}):e}));var b=w()(C,(0,v.Z)({},"".concat(C,"-rtl"),"rtl"===y),l);return x.createElement("nav",(0,m.Z)({className:b,style:a},p),x.createElement("ol",null,t))};eA.Item=eM,eA.Separator=eR;var eH=eA,ez=n(71577),eV=n(30381),ej=n.n(eV),eY=n(80334),eF={getNow:function(){return ej()()},getFixedDate:function(e){return ej()(e,"YYYY-MM-DD")},getEndDate:function(e){return e.clone().endOf("month")},getWeekDay:function(e){var t=e.clone().locale("en_US");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,t){return e.clone().add(t,"year")},addMonth:function(e,t){return e.clone().add(t,"month")},addDate:function(e,t){return e.clone().add(t,"day")},setYear:function(e,t){return e.clone().year(t)},setMonth:function(e,t){return e.clone().month(t)},setDate:function(e,t){return e.clone().date(t)},setHour:function(e,t){return e.clone().hour(t)},setMinute:function(e,t){return e.clone().minute(t)},setSecond:function(e,t){return e.clone().second(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return ej()().locale(e).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.clone().locale(e).weekday(0)},getWeek:function(e,t){return t.clone().locale(e).week()},getShortWeekDays:function(e){return ej()().locale(e).localeData().weekdaysMin()},getShortMonths:function(e){return ej()().locale(e).localeData().monthsShort()},format:function(e,t,n){return t.clone().locale(e).format(n)},parse:function(e,t,n){for(var r=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:1;switch(t){case"year":return n.addYear(e,10*r);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function tp(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return"function"==typeof o?o(e):n.locale.format(r.locale,e,o)}function tm(e,t){var n=t.generateConfig,r=t.locale,o=t.formatList;return e&&"function"!=typeof o[0]?n.locale.parse(r.locale,e,o):null}var tv=function(e){if(x.useContext(eB).hideHeader)return null;var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.value,a=e.format;return x.createElement(eX,{prefixCls:"".concat(t,"-header")},o?tp(o,{locale:r,format:a,generateConfig:n}):"\xa0")},th=n(56982),tg=function(e){var t=e.prefixCls,n=e.units,r=e.onSelect,o=e.value,a=e.active,l=e.hideDisabledOptions,i="".concat(t,"-cell"),c=x.useContext(eB).open,u=(0,x.useRef)(null),s=(0,x.useRef)(new Map),d=(0,x.useRef)();return(0,x.useLayoutEffect)(function(){var e=s.current.get(o);e&&!1!==c&&e2(u.current,e.offsetTop,120)},[o]),(0,x.useLayoutEffect)(function(){if(c){var e,t,n=s.current.get(o);n&&(d.current=(e=function(){e2(u.current,n.offsetTop,0)},function r(){(0,e0.Z)(n)?e():t=(0,P.Z)(function(){r()})}(),function(){P.Z.cancel(t)}))}return function(){var e;null===(e=d.current)||void 0===e||e.call(d)}},[c]),x.createElement("ul",{className:w()("".concat(t,"-column"),(0,v.Z)({},"".concat(t,"-column-active"),a)),ref:u,style:{position:"relative"}},n.map(function(e){var t;return l&&e.disabled?null:x.createElement("li",{key:e.value,ref:function(t){s.current.set(e.value,t)},className:w()(i,(t={},(0,v.Z)(t,"".concat(i,"-disabled"),e.disabled),(0,v.Z)(t,"".concat(i,"-selected"),o===e.value),t)),onClick:function(){e.disabled||r(e.value)}},x.createElement("div",{className:"".concat(i,"-inner")},e.label))}))};function ty(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length=12,E%=12);var A=x.useMemo(function(){if(!s)return[!1,!1];var e=[!0,!0];return I.forEach(function(t){var n=t.disabled,r=t.value;n||(r>=12?e[1]=!1:e[0]=!1)}),e},[s,I]),H=(0,K.Z)(A,2),z=H[0],V=H[1],j=x.useMemo(function(){return s?I.filter(t?function(e){return e.value>=12}:function(e){return e.value<12}).map(function(e){var t=e.value%12,n=0===t?"12":ty(t,2);return(0,ec.Z)((0,ec.Z)({},e),{},{label:n,value:t})}):I},[s,t,I]),Y=tk(0,59,void 0===f?1:f,R&&R(w)),F=tk(0,59,void 0===p?1:p,T&&T(w,k));function W(e,t,n,r,o){!1!==e&&Z.push({node:x.cloneElement(t,{prefixCls:b,value:n,active:a===Z.length,onSelect:o,units:r,hideDisabledOptions:y}),onSelect:o,value:n,units:r})}o.current={onUpDown:function(e){var t=Z[a];if(t)for(var n=t.units.findIndex(function(e){return e.value===t.value}),r=t.units.length,o=1;o1&&(a=i.addDate(a,-7)),a),C=i.locale.getWeekFirstDay(u.locale),Z=i.getNow(),b=[],w=u.shortWeekDays||(i.locale.getShortWeekDays?i.locale.getShortWeekDays(u.locale):[]);c&&b.push(x.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var E=0;E<7;E+=1)b.push(x.createElement("th",{key:E},w[(E+C)%7]));var k=tP({cellPrefixCls:"".concat(l,"-cell"),today:Z,value:f,generateConfig:i,rangedValue:c?null:h,hoverRangedValue:c?null:g,isSameCell:function(e,t){return tc(i,e,t)},isInView:function(e){return ti(i,e,d)},offsetCell:function(e,t){return i.addDate(e,t)}});return x.createElement(e$,(0,m.Z)({},e,{rowNum:s,colNum:7,baseDate:y,getCellNode:p?function(e){return p(e,Z)}:void 0,getCellText:i.getDate,getCellClassName:k,getCellDate:i.addDate,titleCell:function(e){return tp(e,{locale:u,format:"YYYY-MM-DD",generateConfig:i})},headerCells:b}))},tM=function(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.viewDate,a=e.onNextMonth,l=e.onPrevMonth,i=e.onNextYear,c=e.onPrevYear,u=e.onYearClick,s=e.onMonthClick;if(x.useContext(eB).hideHeader)return null;var d=r.shortMonths||(n.locale.getShortMonths?n.locale.getShortMonths(r.locale):[]),f=n.getMonth(o),p=x.createElement("button",{type:"button",key:"year",onClick:u,tabIndex:-1,className:"".concat(t,"-year-btn")},tp(o,{locale:r,format:r.yearFormat,generateConfig:n})),v=x.createElement("button",{type:"button",key:"month",onClick:s,tabIndex:-1,className:"".concat(t,"-month-btn")},r.monthFormat?tp(o,{locale:r,format:r.monthFormat,generateConfig:n}):d[f]),h=r.monthBeforeYear?[v,p]:[p,v];return x.createElement(eX,(0,m.Z)({},e,{prefixCls:"".concat(t,"-header"),onSuperPrev:c,onPrev:l,onNext:a,onSuperNext:i}),h)},tR=function(e){var t=e.prefixCls,n=e.panelName,r=e.keyboardConfig,o=e.active,a=e.operationRef,l=e.generateConfig,i=e.value,c=e.viewDate,u=e.onViewDateChange,s=e.onPanelChange,d=e.onSelect,f="".concat(t,"-").concat(void 0===n?"date":n,"-panel");a.current={onKeyDown:function(e){return e4(e,(0,ec.Z)({onLeftRight:function(e){d(l.addDate(i||c,e),"key")},onCtrlLeftRight:function(e){d(l.addYear(i||c,e),"key")},onUpDown:function(e){d(l.addDate(i||c,7*e),"key")},onPageUpDown:function(e){d(l.addMonth(i||c,e),"key")}},r))}};var p=function(e){var t=l.addYear(c,e);u(t),s(null,t)},h=function(e){var t=l.addMonth(c,e);u(t),s(null,t)};return x.createElement("div",{className:w()(f,(0,v.Z)({},"".concat(f,"-active"),o))},x.createElement(tM,(0,m.Z)({},e,{prefixCls:t,value:i,viewDate:c,onPrevYear:function(){p(-1)},onNextYear:function(){p(1)},onPrevMonth:function(){h(-1)},onNextMonth:function(){h(1)},onMonthClick:function(){s("month",c)},onYearClick:function(){s("year",c)}})),x.createElement(tO,(0,m.Z)({},e,{onSelect:function(e){return d(e,"mouse")},prefixCls:t,value:i,viewDate:c,rowCount:6})))},tT=function(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2];eE!==E&&!n||(ep(e),R&&R(e),J&&J(e,t),!T||ts(d,e,ef)||(null==y?void 0:y(e))||T(e))},eM=function(e){return ei.current&&ei.current.onKeyDown?([e_.Z.LEFT,e_.Z.RIGHT,e_.Z.UP,e_.Z.DOWN,e_.Z.PAGE_UP,e_.Z.PAGE_DOWN,e_.Z.ENTER].includes(e.which)&&e.preventDefault(),ei.current.onKeyDown(e)):((0,eY.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)};Q&&"right"!==eo&&(Q.current={onKeyDown:eM,onClose:function(){ei.current&&ei.current.onClose&&ei.current.onClose()}}),x.useEffect(function(){f&&!eu.current&&ey(f)},[f]),x.useEffect(function(){eu.current=!1},[]);var eR=(0,ec.Z)((0,ec.Z)({},e),{},{operationRef:ei,prefixCls:i,viewDate:eg,value:ef,onViewDateChange:eC,sourceMode:eN,onPanelChange:function(e,t){var n=eZ(e||eE);eP(eE),ek(n),D&&(eE!==n||ts(d,eg,eg))&&D(t,n)},disabledDate:y});switch(delete eR.onChange,delete eR.onSelect,eE){case"decade":n=x.createElement(tn,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"year":n=x.createElement(tK,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"month":n=x.createElement(tH,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"quarter":n=x.createElement(tj,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"week":n=x.createElement(tL,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"time":delete eR.showTime,n=x.createElement(tS,(0,m.Z)({},eR,"object"===(0,Z.Z)(N)?N:null,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;default:n=N?x.createElement(tD,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}})):x.createElement(tR,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}))}if(ee||(r=t_(i,eE,O),o=tB({prefixCls:i,components:H,needConfirmButton:B,okDisabled:!ef||y&&y(ef),locale:s,showNow:S,onNow:B&&function(){var e=d.getNow(),t=function(e,t,n,r,o,a){var l=Math.floor(e/r)*r;if(l1&&void 0!==arguments[1]&&arguments[1];if(cancelAnimationFrame(u.current),t){c(e);return}u.current=requestAnimationFrame(function(){c(e)})}var d=t1(i,{formatList:n,generateConfig:r,locale:o}),f=(0,K.Z)(d,2)[1];function p(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];s(null,e)}return(0,x.useEffect)(function(){p(!0)},[e]),(0,x.useEffect)(function(){return function(){return cancelAnimationFrame(u.current)}},[]),[f,function(e){s(e)},p]}function t4(e){var t,n,r,o=e.prefixCls,a=void 0===o?"rc-picker":o,l=e.id,i=e.tabIndex,c=e.style,u=e.className,s=e.dropdownClassName,d=e.dropdownAlign,f=e.popupStyle,p=e.transitionName,h=e.generateConfig,g=e.locale,y=e.inputReadOnly,C=e.allowClear,Z=e.autoFocus,b=e.showTime,E=e.picker,k=void 0===E?"date":E,S=e.format,N=e.use12Hours,P=e.value,O=e.defaultValue,M=e.open,R=e.defaultOpen,T=e.defaultOpenValue,D=e.suffixIcon,L=e.clearIcon,I=e.disabled,A=e.disabledDate,H=e.placeholder,z=e.getPopupContainer,V=e.pickerRef,j=e.panelRender,Y=e.onChange,F=e.onOpenChange,W=e.onFocus,_=e.onBlur,B=e.onMouseDown,U=e.onMouseUp,X=e.onMouseEnter,q=e.onMouseLeave,G=e.onContextMenu,Q=e.onClick,$=e.onKeyDown,J=e.onSelect,ee=e.direction,et=e.autoComplete,en=e.inputRender,er=x.useRef(null),eo="date"===k&&!!b||"time"===k,ea=tC(e3(S,k,b,N)),el=x.useRef(null),ei=x.useRef(null),eu=x.useRef(null),es=(0,em.Z)(null,{value:P,defaultValue:O}),ed=(0,K.Z)(es,2),ef=ed[0],ep=ed[1],ev=x.useState(ef),eh=(0,K.Z)(ev,2),eg=eh[0],ey=eh[1],eC=x.useRef(null),eZ=(0,em.Z)(!1,{value:M,defaultValue:R,postState:function(e){return!I&&e},onChange:function(e){F&&F(e),!e&&eC.current&&eC.current.onClose&&eC.current.onClose()}}),eb=(0,K.Z)(eZ,2),ew=eb[0],eE=eb[1],ek=t1(eg,{formatList:ea,generateConfig:h,locale:g}),ex=(0,K.Z)(ek,2),eS=ex[0],eN=ex[1],eP=t$({valueTexts:eS,onTextChange:function(e){var t=tm(e,{locale:g,formatList:ea,generateConfig:h});!t||A&&A(t)||ey(t)}}),eO=(0,K.Z)(eP,3),eM=eO[0],eR=eO[1],eT=eO[2],eD=function(e){ey(e),ep(e),Y&&!ts(h,ef,e)&&Y(e,e?tp(e,{generateConfig:h,locale:g,format:ea[0]}):"")},eL=function(e){I&&e||eE(e)},eI=tQ({blurToCancel:eo,open:ew,value:eM,triggerOpen:eL,forwardKeyDown:function(e){return ew&&eC.current&&eC.current.onKeyDown?eC.current.onKeyDown(e):((0,eY.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},isClickOutside:function(e){return!e9([el.current,ei.current,eu.current],e)},onSubmit:function(){return!(!eg||A&&A(eg))&&(eD(eg),eL(!1),eT(),!0)},onCancel:function(){eL(!1),ey(ef),eT()},onKeyDown:function(e,t){null==$||$(e,t)},onFocus:W,onBlur:_}),eA=(0,K.Z)(eI,2),eH=eA[0],ez=eA[1],eV=ez.focused,ej=ez.typing;x.useEffect(function(){ew||(ey(ef),eS.length&&""!==eS[0]?eN!==eM&&eT():eR(""))},[ew,eS]),x.useEffect(function(){ew||eT()},[k]),x.useEffect(function(){ey(ef)},[ef]),V&&(V.current={focus:function(){er.current&&er.current.focus()},blur:function(){er.current&&er.current.blur()}});var eF=t2(eM,{formatList:ea,generateConfig:h,locale:g}),eW=(0,K.Z)(eF,3),eK=eW[0],e_=eW[1],eU=eW[2],eX=(0,ec.Z)((0,ec.Z)({},e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),eq=x.createElement(tU,(0,m.Z)({},eX,{generateConfig:h,className:w()((0,v.Z)({},"".concat(a,"-panel-focused"),!ej)),value:eg,locale:g,tabIndex:-1,onSelect:function(e){null==J||J(e),ey(e)},direction:ee,onPanelChange:function(t,n){var r=e.onPanelChange;eU(!0),null==r||r(t,n)}}));j&&(eq=j(eq));var eG=x.createElement("div",{className:"".concat(a,"-panel-container"),onMouseDown:function(e){e.preventDefault()}},eq);D&&(n=x.createElement("span",{className:"".concat(a,"-suffix")},D)),C&&ef&&!I&&(r=x.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation(),eD(null),eL(!1)},className:"".concat(a,"-clear"),role:"button"},L||x.createElement("span",{className:"".concat(a,"-clear-btn")})));var eQ=(0,ec.Z)((0,ec.Z)((0,ec.Z)({id:l,tabIndex:i,disabled:I,readOnly:y||"function"==typeof ea[0]||!ej,value:eK||eM,onChange:function(e){eR(e.target.value)},autoFocus:Z,placeholder:H,ref:er,title:eM},eH),{},{size:e8(k,ea[0],h)},tZ(e)),{},{autoComplete:void 0===et?"off":et}),e$=en?en(eQ):x.createElement("input",eQ);return x.createElement(eB.Provider,{value:{operationRef:eC,hideHeader:"time"===k,panelRef:el,onSelect:function(e,t){"submit"!==t&&("key"===t||eo)||(eD(e),eL(!1))},open:ew,defaultOpenValue:T,onDateMouseEnter:e_,onDateMouseLeave:eU}},x.createElement(tG,{visible:ew,popupElement:eG,popupStyle:f,prefixCls:a,dropdownClassName:s,dropdownAlign:d,getPopupContainer:z,transitionName:p,popupPlacement:"rtl"===ee?"bottomRight":"bottomLeft",direction:ee},x.createElement("div",{ref:eu,className:w()(a,u,(t={},(0,v.Z)(t,"".concat(a,"-disabled"),I),(0,v.Z)(t,"".concat(a,"-focused"),eV),(0,v.Z)(t,"".concat(a,"-rtl"),"rtl"===ee),t)),style:c,onMouseDown:B,onMouseUp:U,onMouseEnter:X,onMouseLeave:q,onContextMenu:G,onClick:function(){for(var e=arguments.length,t=Array(e),n=0;np(s);case"month":return f(e)>f(s);case"week":return d(e)>d(s);default:return!tc(c,e,s)&&c.isAfter(e,s)}return!1},[l,i[1],s,t]),x.useCallback(function(e){if(l&&l(e))return!0;if(i[0]&&u)return!tc(c,e,s)&&c.isAfter(u,e);if(n&&u)switch(r){case"quarter":return p(e)0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;tM&&np&&np[0]&&np[1]&&A.isAfter(np[1],np[0])&&(r=np);var o=_;if(_&&"object"===(0,Z.Z)(_)&&_.defaultValue){var a=_.defaultValue;o=(0,ec.Z)((0,ec.Z)({},_),{},{defaultValue:tb(a,eX)||void 0})}var l=null;return et&&(l=function(e,t){return et(e,t,{range:eX?"end":"start"})}),x.createElement(tN.Provider,{value:{inRange:!0,panelPosition:t,rangedValue:nu||tt,hoverRangedValue:r}},x.createElement(tU,(0,m.Z)({},e,n,{dateRender:l,showTime:o,mode:th[eX],generateConfig:A,style:void 0,direction:eO,disabledDate:0===eX?tx:tS,disabledTime:function(e){return!!ee&&ee(e,0===eX?"start":"end")},className:w()((0,v.Z)({},"".concat(N,"-panel-focused"),0===eX?!nT:!nz)),value:tb(tt,eX),locale:H,tabIndex:-1,onPanelChange:function(e,n){0===eX&&nC(!0),1===eX&&nk(!0),ty(tw(th,n,eX),tw(tt,e,eX));var r=e;"right"===t&&th[eX]===n&&(r=tf(r,n,A,-1)),e5(r,eX)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:0===eX?tb(tt,1):tb(tt,0)})))}var nW=0,nK=0;if(eX&&eH.current&&eV.current&&eA.current){nW=eH.current.offsetWidth+eV.current.offsetWidth;var n_=eW.current.offsetLeft>nW?eW.current.offsetLeft-nW:eW.current.offsetLeft;eA.current.offsetWidth&&eW.current.offsetWidth&&nW>eA.current.offsetWidth-eW.current.offsetWidth-("rtl"===eO?0:n_)&&(nK=nW)}var nB="rtl"===eO?{right:nW}:{left:nW},nU=x.createElement("div",{className:w()("".concat(N,"-range-wrapper"),"".concat(N,"-").concat(W,"-range-wrapper")),style:{minWidth:tL}},x.createElement("div",{ref:eW,className:"".concat(N,"-range-arrow"),style:nB}),function(){var e,t=t_(N,th[eX],ef),n=tB({prefixCls:N,components:eN,needConfirmButton:eD,okDisabled:!tb(tt,eX)||J&&J(tt[eX]),locale:H,rangeList:nY,onOk:function(){tb(tt,eX)&&(tV(tt,eX),ex&&ex(tt))}});if("time"===W||_)e=nF();else{var r=e6(eX),o=tf(r,W,A),a=th[eX]===W,l=nF(!!a&&"left",{pickerValue:r,onPickerValueChange:function(e){e5(e,eX)}}),i=nF("right",{pickerValue:o,onPickerValueChange:function(e){e5(tf(e,W,A,-1),eX)}});e="rtl"===eO?x.createElement(x.Fragment,null,i,a&&l):x.createElement(x.Fragment,null,l,a&&i)}var c=x.createElement(x.Fragment,null,x.createElement("div",{className:"".concat(N,"-panels")},e),(t||n)&&x.createElement("div",{className:"".concat(N,"-footer")},t,n));return en&&(c=en(c)),x.createElement("div",{className:"".concat(N,"-panel-container"),style:{marginLeft:nK},ref:eA,onMouseDown:function(e){e.preventDefault()}},c)}());el&&(E=x.createElement("span",{className:"".concat(N,"-suffix")},el)),ea&&(tb(e0,0)&&!eQ[0]||tb(e0,1)&&!eQ[1])&&(k=x.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation();var t=e0;eQ[0]||(t=tw(t,null,0)),eQ[1]||(t=tw(t,null,1)),tV(t,null),tH(!1,eX)},className:"".concat(N,"-clear")},ei||x.createElement("span",{className:"".concat(N,"-clear-btn")})));var nX={size:e8(W,eK[0],A)},nq=0,nG=0;eH.current&&ez.current&&eV.current&&(0===eX?nG=eH.current.offsetWidth:(nq=nW,nG=ez.current.offsetWidth));var nQ="rtl"===eO?{right:nq}:{left:nq};return x.createElement(eB.Provider,{value:{operationRef:eG,hideHeader:"time"===W,onDateMouseEnter:function(e){nm(tw(tt,e,eX)),0===eX?ny(e):nE(e)},onDateMouseLeave:function(){nm(tw(tt,null,eX)),0===eX?nC():nk()},hideRanges:!0,onSelect:function(e,t){var n=tw(tt,e,eX);"submit"!==t&&("key"===t||eD)?tn(n):(tV(n,eX),0===eX?nC():nk())},open:tM}},x.createElement(tG,{visible:tM,popupElement:nU,popupStyle:R,prefixCls:N,dropdownClassName:T,dropdownAlign:L,getPopupContainer:I,transitionName:D,range:!0,direction:eO},x.createElement("div",(0,m.Z)({ref:eI,className:w()(N,"".concat(N,"-range"),M,(y={},(0,v.Z)(y,"".concat(N,"-disabled"),eQ[0]&&eQ[1]),(0,v.Z)(y,"".concat(N,"-focused"),0===eX?nR:nH),(0,v.Z)(y,"".concat(N,"-rtl"),"rtl"===eO),y)),style:O,onClick:function(e){ek&&ek(e),tM||ej.current.contains(e.target)||eF.current.contains(e.target)||(eQ[0]?eQ[1]||tz(1):tz(0))},onMouseEnter:ew,onMouseLeave:eE,onMouseDown:function(e){eZ&&eZ(e),tM&&(nR||nH)&&!ej.current.contains(e.target)&&!eF.current.contains(e.target)&&e.preventDefault()},onMouseUp:eb},tZ(e)),x.createElement("div",{className:w()("".concat(N,"-input"),(C={},(0,v.Z)(C,"".concat(N,"-input-active"),0===eX),(0,v.Z)(C,"".concat(N,"-input-placeholder"),!!ng),C)),ref:eH},x.createElement("input",(0,m.Z)({id:P,disabled:eQ[0],readOnly:es||"function"==typeof eK[0]||!nT,value:ng||t9,onChange:function(e){ne(e.target.value)},autoFocus:V,placeholder:tb(z,0)||"",ref:ej},nO,nX,{autoComplete:eT}))),x.createElement("div",{className:"".concat(N,"-range-separator"),ref:eV},void 0===U?"~":U),x.createElement("div",{className:w()("".concat(N,"-input"),(b={},(0,v.Z)(b,"".concat(N,"-input-active"),1===eX),(0,v.Z)(b,"".concat(N,"-input-placeholder"),!!nw),b)),ref:ez},x.createElement("input",(0,m.Z)({disabled:eQ[1],readOnly:es||"function"==typeof eK[0]||!nz,value:nw||no,onChange:function(e){na(e.target.value)},placeholder:tb(z,1)||"",ref:eF},nI,nX,{autoComplete:eT}))),x.createElement("div",{className:"".concat(N,"-active-bar"),style:(0,ec.Z)((0,ec.Z)({},nQ),{},{width:nG,position:"absolute"})}),E,k)))}var t7=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;ar.getMonth(c)&&(t=r.setMonth(t,r.getMonth(c))),u===r.getYear(a)&&se.lazyLoadedList.indexOf(o)&&t.push(o);return t},ny=function(e){return e.currentSlide-nZ(e)},nC=function(e){return e.currentSlide+nb(e)},nZ=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},nb=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},nw=function(e){return e&&e.offsetWidth||0},nE=function(e){return e&&e.offsetHeight||0},nk=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"},nx=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},nS=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},nN=function(e){var t,n=x.Children.count(e.children),r=e.listRef,o=Math.ceil(nw(r)),a=Math.ceil(nw(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var i=r&&nE(r.querySelector('[data-index="0"]')),c=i*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var s=e.lazyLoadedList||[],d=ng((0,ec.Z)((0,ec.Z)({},e),{},{currentSlide:u,lazyLoadedList:s}));s=s.concat(d);var f={slideCount:n,slideWidth:t,listWidth:o,trackWidth:a,currentSlide:u,slideHeight:i,listHeight:c,lazyLoadedList:s};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f},nP=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,l=e.slideCount,i=e.lazyLoad,c=e.currentSlide,u=e.centerMode,s=e.slidesToScroll,d=e.slidesToShow,f=e.useCSS,p=e.lazyLoadedList;if(t&&n)return{};var m,v,h,g=a,y={},C={},Z=o?a:nv(a,0,l-1);if(r){if(!o&&(a<0||a>=l))return{};a<0?g=a+l:a>=l&&(g=a-l),i&&0>p.indexOf(g)&&(p=p.concat(g)),y={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},C={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+l,o?l%s!=0&&(m=l-l%s):m=0):!nx(e)&&g>c?g=m=c:u&&g>=l?(g=o?l:l-1,m=o?0:l-1):g>=l&&(m=g-l,o?l%s!=0&&(m=0):m=l-d),!o&&g+d>=l&&(m=l-d),v=nz((0,ec.Z)((0,ec.Z)({},e),{},{slideIndex:g})),h=nz((0,ec.Z)((0,ec.Z)({},e),{},{slideIndex:m})),o||(v===h&&(g=m),v=h),i&&(p=p.concat(ng((0,ec.Z)((0,ec.Z)({},e),{},{currentSlide:g})))),f?(y={animating:!0,currentSlide:m,trackStyle:nH((0,ec.Z)((0,ec.Z)({},e),{},{left:v})),lazyLoadedList:p,targetSlide:Z},C={animating:!1,currentSlide:m,trackStyle:nA((0,ec.Z)((0,ec.Z)({},e),{},{left:h})),swipeLeft:null,targetSlide:Z}):y={currentSlide:m,trackStyle:nA((0,ec.Z)((0,ec.Z)({},e),{},{left:h})),lazyLoadedList:p,targetSlide:Z};return{state:y,nextState:C}},nO=function(e,t){var n,r,o,a,l=e.slidesToScroll,i=e.slidesToShow,c=e.slideCount,u=e.currentSlide,s=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=c%l!=0?0:(c-u)%l,"previous"===t.message)a=u-(o=0===n?l:i-n),d&&!f&&(a=-1==(r=u-o)?c-1:r),f||(a=s-l);else if("next"===t.message)a=u+(o=0===n?l:n),d&&!f&&(a=(u+l)%c+n),f||(a=s+l);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var p=nF((0,ec.Z)((0,ec.Z)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a10)return{scrolling:!0};l&&(g.swipeLength=k);var x=(i?-1:1)*(g.curX>g.startX?1:-1);l&&(x=g.curY>g.startY?1:-1);var S=nk(t.touchObject,l),N=g.swipeLength;return!h&&(0===c&&("right"===S||"down"===S)||c+1>=Math.ceil(m/v)&&("left"===S||"up"===S)||!nx(t)&&("left"===S||"up"===S))&&(N=g.swipeLength*u,!1===s&&d&&(d(S),w.edgeDragged=!0)),!f&&y&&(y(S),w.swiped=!0),b=o?E+N*(C/Z)*x:i?E-N*x:E+N*x,l&&(b=E+N*x),w=(0,ec.Z)((0,ec.Z)({},w),{},{touchObject:g,swipeLeft:b,trackStyle:nA((0,ec.Z)((0,ec.Z)({},t),{},{left:b}))}),Math.abs(g.curX-g.startX)<.8*Math.abs(g.curY-g.startY)||g.swipeLength>10&&(w.swiping=!0,nh(e)),w}},nR=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,l=t.touchThreshold,i=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,s=t.scrolling,d=t.onSwipe,f=t.targetSlide,p=t.currentSlide,m=t.infinite;if(!n)return r&&nh(e),{};var v=nk(o,i),h={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(s||!o.swipeLength)return h;if(o.swipeLength>(i?c/l:a/l)){nh(e),d&&d(v);var g,y,C=m?p:f;switch(v){case"left":case"up":y=C+nL(t),g=u?nD(t,y):y,h.currentDirection=0;break;case"right":case"down":y=C-nL(t),g=u?nD(t,y):y,h.currentDirection=1;break;default:g=C}h.triggerSlideHandler=g}else{var Z=nz(t);h.trackStyle=nH((0,ec.Z)((0,ec.Z)({},t),{},{left:Z}))}return h},nT=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+nw(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1},nI=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},nA=function(e){nI(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=nY(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=(0,ec.Z)((0,ec.Z)({},o),{},{WebkitTransform:a,transform:l,msTransform:i})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},nH=function(e){nI(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=nA(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},nz=function(e){if(e.unslick)return 0;nI(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,a=e.slideCount,l=e.slidesToShow,i=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,s=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,m=0,v=0;if(f||1===e.slideCount)return 0;var h=0;if(r?(h=-nV(e),a%i!=0&&t+i>a&&(h=-(t>a?l-(t-a):a%i)),o&&(h+=parseInt(l/2))):(a%i!=0&&t+i>a&&(h=l-a%i),o&&(h=parseInt(l/2))),m=h*c,v=h*d,g=p?-(t*d*1)+v:-(t*c*1)+m,!0===s){var g,y,C,Z=n&&n.node;if(C=t+nV(e),g=(y=Z&&Z.childNodes[C])?-1*y.offsetLeft:0,!0===o){C=r?t+nV(e):t,y=Z&&Z.children[C],g=0;for(var b=0;be.currentSlide?e.targetSlide>e.currentSlide+nW(e)?"left":"right":e.targetSlide0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1},nK=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(o)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0},n_=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},nB=function(e){var t,n,r,o,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-o-1&&a<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=a&&a=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},nU=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},nX=function(e,t){return e.key+"-"+t},nq=function(e){var t,n=[],r=[],o=[],a=x.Children.count(e.children),l=ny(e),i=nC(e);return(x.Children.forEach(e.children,function(c,u){var s,d={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};s=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?c:x.createElement("div",null);var f=nU((0,ec.Z)((0,ec.Z)({},e),{},{index:u})),p=s.props.className||"",m=nB((0,ec.Z)((0,ec.Z)({},e),{},{index:u}));if(n.push(x.cloneElement(s,{key:"original"+nX(s,u),"data-index":u,className:w()(m,p),tabIndex:"-1","aria-hidden":!m["slick-active"],style:(0,ec.Z)((0,ec.Z)({outline:"none"},s.props.style||{}),f),onClick:function(t){s.props&&s.props.onClick&&s.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}})),e.infinite&&!1===e.fade){var v=a-u;v<=nV(e)&&a!==e.slidesToShow&&((t=-v)>=l&&(s=c),m=nB((0,ec.Z)((0,ec.Z)({},e),{},{index:t})),r.push(x.cloneElement(s,{key:"precloned"+nX(s,t),"data-index":t,tabIndex:"-1",className:w()(m,p),"aria-hidden":!m["slick-active"],style:(0,ec.Z)((0,ec.Z)({},s.props.style||{}),f),onClick:function(t){s.props&&s.props.onClick&&s.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}}))),a!==e.slidesToShow&&((t=a+u)=h&&u<=m:u===h}),y={message:"dots",index:f,slidesToScroll:l,currentSlide:u},C=this.clickHandler.bind(this,y);d=d.concat(x.createElement("li",{key:f,className:g},x.cloneElement(this.props.customPaging(f),{onClick:C})))}return x.cloneElement(this.props.appendDots(d),(0,ec.Z)({className:this.props.dotsClass},{onMouseEnter:n,onMouseOver:r,onMouseLeave:o}))}}]),n}(x.PureComponent),n$=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:w()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?x.cloneElement(this.props.prevArrow,(0,ec.Z)((0,ec.Z)({},n),r)):x.createElement("button",(0,m.Z)({key:"0",type:"button"},n)," ","Previous")}}]),n}(x.PureComponent),nJ=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});nx(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:w()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?x.cloneElement(this.props.nextArrow,(0,ec.Z)((0,ec.Z)({},n),r)):x.createElement("button",(0,m.Z)({key:"1",type:"button"},n)," ","Next")}}]),n}(x.PureComponent),n0=n(91033),n1=["animating"],n2=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),r=t.call(this,e),(0,v.Z)((0,ns.Z)(r),"listRefHandler",function(e){return r.list=e}),(0,v.Z)((0,ns.Z)(r),"trackRefHandler",function(e){return r.track=e}),(0,v.Z)((0,ns.Z)(r),"adaptHeight",function(){if(r.props.adaptiveHeight&&r.list){var e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]'));r.list.style.height=nE(e)+"px"}}),(0,v.Z)((0,ns.Z)(r),"componentDidMount",function(){if(r.props.onInit&&r.props.onInit(),r.props.lazyLoad){var e=ng((0,ec.Z)((0,ec.Z)({},r.props),r.state));e.length>0&&(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e))}var t=(0,ec.Z)({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("playing")}),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new n0.Z(function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout(function(){return r.onWindowResized()},r.props.speed))):r.onWindowResized()}),r.ro.observe(r.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)}),(0,v.Z)((0,ns.Z)(r),"componentWillUnmount",function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach(function(e){return clearTimeout(e)}),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro.disconnect()}),(0,v.Z)((0,ns.Z)(r),"componentDidUpdate",function(e){if(r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad){var t=ng((0,ec.Z)((0,ec.Z)({},r.props),r.state));t.length>0&&(r.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),r.props.onLazyLoad&&r.props.onLazyLoad(t))}r.adaptHeight();var n=(0,ec.Z)((0,ec.Z)({listRef:r.list,trackRef:r.track},r.props),r.state),o=r.didPropsChange(e);o&&r.updateState(n,o,function(){r.state.currentSlide>=x.Children.count(r.props.children)&&r.changeSlide({message:"index",index:x.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),(e.autoplay!==r.props.autoplay||e.autoplaySpeed!==r.props.autoplaySpeed)&&(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))})}),(0,v.Z)((0,ns.Z)(r),"onWindowResized",function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=nm()(function(){return r.resizeWindow(e)},50),r.debouncedResize()}),(0,v.Z)((0,ns.Z)(r),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(Boolean(r.track&&r.track.node)){var t=(0,ec.Z)((0,ec.Z)({listRef:r.list,trackRef:r.track},r.props),r.state);r.updateState(t,e,function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")}),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback}}),(0,v.Z)((0,ns.Z)(r),"updateState",function(e,t,n){var o=nN(e),a=nz(e=(0,ec.Z)((0,ec.Z)((0,ec.Z)({},e),o),{},{slideIndex:o.currentSlide})),l=nA(e=(0,ec.Z)((0,ec.Z)({},e),{},{left:a}));(t||x.Children.count(r.props.children)!==x.Children.count(e.children))&&(o.trackStyle=l),r.setState(o,n)}),(0,v.Z)((0,ns.Z)(r),"ssrInit",function(){if(r.props.variableWidth){var e=0,t=0,n=[],o=nV((0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{slideCount:r.props.children.length})),a=nj((0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{slideCount:r.props.children.length}));r.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l=t&&r.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))})}),(0,v.Z)((0,ns.Z)(r),"progressiveLazyLoad",function(){for(var e=[],t=(0,ec.Z)((0,ec.Z)({},r.props),r.state),n=r.state.currentSlide;nr.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var o=r.state.currentSlide-1;o>=-nV(t);o--)if(0>r.state.lazyLoadedList.indexOf(o)){e.push(o);break}e.length>0?(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)}),(0,v.Z)((0,ns.Z)(r),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.props,o=n.asNavFor,a=n.beforeChange,l=n.onLazyLoad,i=n.speed,c=n.afterChange,u=r.state.currentSlide,s=nP((0,ec.Z)((0,ec.Z)((0,ec.Z)({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!t})),d=s.state,f=s.nextState;if(d){a&&a(u,d.currentSlide);var p=d.lazyLoadedList.filter(function(e){return 0>r.state.lazyLoadedList.indexOf(e)});l&&p.length>0&&l(p),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),c&&c(u),delete r.animationEndCallback),r.setState(d,function(){o&&r.asNavForIndex!==e&&(r.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(r.animationEndCallback=setTimeout(function(){var e=f.animating,t=(0,nd.Z)(f,n1);r.setState(t,function(){r.callbackTimers.push(setTimeout(function(){return r.setState({animating:e})},10)),c&&c(d.currentSlide),delete r.animationEndCallback})},i))})}}),(0,v.Z)((0,ns.Z)(r),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=nO((0,ec.Z)((0,ec.Z)({},r.props),r.state),e);if((0===n||n)&&(!0===t?r.slideHandler(n,t):r.slideHandler(n),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)){var o=r.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),(0,v.Z)((0,ns.Z)(r),"clickHandler",function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0}),(0,v.Z)((0,ns.Z)(r),"keyHandler",function(e){var t,n,o=(t=r.props.accessibility,n=r.props.rtl,e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":"");""!==o&&r.changeSlide({message:o})}),(0,v.Z)((0,ns.Z)(r),"selectHandler",function(e){r.changeSlide(e)}),(0,v.Z)((0,ns.Z)(r),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,v.Z)((0,ns.Z)(r),"enableBodyScroll",function(){window.ontouchmove=null}),(0,v.Z)((0,ns.Z)(r),"swipeStart",function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t,n,o=(t=r.props.swipe,n=r.props.draggable,("IMG"===e.target.tagName&&nh(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:"");""!==o&&r.setState(o)}),(0,v.Z)((0,ns.Z)(r),"swipeMove",function(e){var t=nM(e,(0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))}),(0,v.Z)((0,ns.Z)(r),"swipeEnd",function(e){var t=nR(e,(0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,r.setState(t),void 0!==n&&(r.slideHandler(n),r.props.verticalSwiping&&r.enableBodyScroll())}}),(0,v.Z)((0,ns.Z)(r),"touchEnd",function(e){r.swipeEnd(e),r.clickable=!0}),(0,v.Z)((0,ns.Z)(r),"slickPrev",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"previous"})},0))}),(0,v.Z)((0,ns.Z)(r),"slickNext",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"next"})},0))}),(0,v.Z)((0,ns.Z)(r),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)},0))}),(0,v.Z)((0,ns.Z)(r),"play",function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!nx((0,ec.Z)((0,ec.Z)({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)}),(0,v.Z)((0,ns.Z)(r),"autoPlay",function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})}),(0,v.Z)((0,ns.Z)(r),"pause",function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})}),(0,v.Z)((0,ns.Z)(r),"onDotsOver",function(){return r.props.autoplay&&r.pause("hovered")}),(0,v.Z)((0,ns.Z)(r),"onDotsLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),(0,v.Z)((0,ns.Z)(r),"onTrackOver",function(){return r.props.autoplay&&r.pause("hovered")}),(0,v.Z)((0,ns.Z)(r),"onTrackLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),(0,v.Z)((0,ns.Z)(r),"onSlideFocus",function(){return r.props.autoplay&&r.pause("focused")}),(0,v.Z)((0,ns.Z)(r),"onSlideBlur",function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")}),(0,v.Z)((0,ns.Z)(r),"render",function(){var e,t,n,o=w()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),a=(0,ec.Z)((0,ec.Z)({},r.props),r.state),l=nS(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),i=r.props.pauseOnHover;if(l=(0,ec.Z)((0,ec.Z)({},l),{},{onMouseEnter:i?r.onTrackOver:null,onMouseLeave:i?r.onTrackLeave:null,onMouseOver:i?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow){var c=nS(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),u=r.props.pauseOnDotsHover;c=(0,ec.Z)((0,ec.Z)({},c),{},{clickHandler:r.changeSlide,onMouseEnter:u?r.onDotsLeave:null,onMouseOver:u?r.onDotsOver:null,onMouseLeave:u?r.onDotsLeave:null}),e=x.createElement(nQ,c)}var s=nS(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);s.clickHandler=r.changeSlide,r.props.arrows&&(t=x.createElement(n$,s),n=x.createElement(nJ,s));var d=null;r.props.vertical&&(d={height:r.state.listHeight});var f=null;!1===r.props.vertical?!0===r.props.centerMode&&(f={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(f={padding:r.props.centerPadding+" 0px"});var p=(0,ec.Z)((0,ec.Z)({},d),f),v=r.props.touchMove,h={className:"slick-list",style:p,onClick:r.clickHandler,onMouseDown:v?r.swipeStart:null,onMouseMove:r.state.dragging&&v?r.swipeMove:null,onMouseUp:v?r.swipeEnd:null,onMouseLeave:r.state.dragging&&v?r.swipeEnd:null,onTouchStart:v?r.swipeStart:null,onTouchMove:r.state.dragging&&v?r.swipeMove:null,onTouchEnd:v?r.touchEnd:null,onTouchCancel:r.state.dragging&&v?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},g={className:o,dir:"ltr",style:r.props.style};return r.props.unslick&&(h={className:"slick-list"},g={className:o}),x.createElement("div",g,r.props.unslick?"":t,x.createElement("div",(0,m.Z)({ref:r.listRefHandler},h),x.createElement(nG,(0,m.Z)({ref:r.trackRefHandler},l),r.props.children)),r.props.unslick?"":n,r.props.unslick?"":e)}),r.list=null,r.track=null,r.state=(0,ec.Z)((0,ec.Z)({},nf),{},{currentSlide:r.props.initialSlide,slideCount:x.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var r,o=r.ssrInit();return r.state=(0,ec.Z)((0,ec.Z)({},r.state),o),r}return(0,g.Z)(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)}),(0,v.Z)((0,ns.Z)(r),"slickPause",function(){return r.innerSlider.pause("paused")}),(0,v.Z)((0,ns.Z)(r),"slickPlay",function(){return r.innerSlider.autoPlay("play")}),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return(0,g.Z)(n,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?n3()({minWidth:0,maxWidth:n}):n3()({minWidth:t[r-1]+1,maxWidth:n}),n_()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=n3()({minWidth:t.slice(-1)[0]});n_()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,ec.Z)((0,ec.Z)((0,ec.Z)({},n8),this.props),t[0].settings):(0,ec.Z)((0,ec.Z)({},n8),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=x.Children.toArray(this.props.children);r=r.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var o=[],a=null,l=0;l=r.length));s+=1)u.push(x.cloneElement(r[s],{key:100*l+10*c+s,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));i.push(x.createElement("div",{key:10*l+c},u))}e.variableWidth?o.push(x.createElement("div",{key:l,style:{width:a}},i)):o.push(x.createElement("div",{key:l},i))}if("unslick"===e){var d="regular slider "+(this.props.className||"");return x.createElement("div",{className:d},r)}return o.length<=e.slidesToShow&&(e.unslick=!0),x.createElement(n2,(0,m.Z)({style:this.props.style,ref:this.innerSliderRefHandler},e),o)}}]),n}(x.Component),n5=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},n7=x.forwardRef(function(e,t){var n,r=e.dots,o=void 0===r||r,a=e.arrows,l=e.draggable,i=e.dotPosition,c=void 0===i?"bottom":i,u=e.vertical,s=n5(e,["dots","arrows","draggable","dotPosition","vertical"]),d=x.useContext(S.E_),f=d.getPrefixCls,p=d.direction,h=x.useRef(),g=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.current.slickGoTo(e,t)};x.useImperativeHandle(t,function(){return{goTo:g,autoPlay:h.current.innerSlider.autoPlay,innerSlider:h.current.innerSlider,prev:h.current.slickPrev,next:h.current.slickNext}},[h.current]);var y=x.useRef(x.Children.count(s.children));x.useEffect(function(){y.current!==x.Children.count(s.children)&&(g(s.initialSlide||0,!1),y.current=x.Children.count(s.children))},[s.children]);var C=(0,m.Z)({vertical:void 0===u?"left"===c||"right"===c:u},s);"fade"===C.effect&&(C.fade=!0);var Z=f("carousel",C.prefixCls),b="slick-dots",E=w()(b,"".concat(b,"-").concat(c),"boolean"!=typeof o&&(null==o?void 0:o.className)),k=w()(Z,(n={},(0,v.Z)(n,"".concat(Z,"-rtl"),"rtl"===p),(0,v.Z)(n,"".concat(Z,"-vertical"),"left"===c||"right"===c),n));return x.createElement("div",{className:k},x.createElement(n6,(0,m.Z)({ref:h},C,{dots:!!o,dotsClass:E,arrows:void 0!==a&&a,draggable:void 0!==l&&l})))}),n9=n(6171),re=n(50888),rt=n(18073),rn=n(7752),rr=n(88708),ro=n(17341),ra=x.createContext(null),rl="__RC_CASCADER_SPLIT__",ri="SHOW_PARENT",rc="SHOW_CHILD";function ru(e){return e.join(rl)}function rs(e){return e.map(ru)}function rd(e,t){var n,r;return null!==(n=e.isLeaf)&&void 0!==n?n:!(null===(r=e[t.children])||void 0===r?void 0:r.length)}function rf(e,t,n){var r=new Set(e),o=t();return e.filter(function(e){var t=o[e],a=t?t.parent:null,l=t?t.children:null;return n===rc?!(l&&l.some(function(e){return e.key&&r.has(e.key)})):!(a&&!a.node.disabled&&r.has(a.key))})}function rp(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t,a=[],l=0;l0)||!(o.length>=d)){var s,p=[].concat((0,N.Z)(c),[l]),m=l[n.children];(!m||0===m.length||a)&&i(e,p,{label:n.label})&&o.push((0,ec.Z)((0,ec.Z)({},l),{},(s={},(0,v.Z)(s,n.label,u(e,p,r,n)),(0,v.Z)(s,rg,p),s))),m&&t(l[n.children],p)}})}(t,[]),f&&o.sort(function(t,r){return f(t[rg],r[rg],e,n)}),d>0?o.slice(0,d):o):[]},[e,t,n,r,u,a,i,f,d])};function rb(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,a=e.disabled,l=e.onClick,i=x.useContext(ra).checkable;return x.createElement("span",{className:w()("".concat(n),(t={},(0,v.Z)(t,"".concat(n,"-checked"),r),(0,v.Z)(t,"".concat(n,"-indeterminate"),!r&&o),(0,v.Z)(t,"".concat(n,"-disabled"),a),t)),onClick:l},"boolean"!=typeof i?i:null)}var rw="__cascader_fix_label__";function rE(e){var t=e.prefixCls,n=e.multiple,r=e.options,o=e.activeValue,a=e.prevValuePath,l=e.onToggleOpen,i=e.onSelect,c=e.onActive,u=e.checkedSet,s=e.halfCheckedSet,d=e.loadingKeys,f=e.isSelectable,p="".concat(t,"-menu-item"),m=x.useContext(ra),h=m.fieldNames,g=m.changeOnSelect,y=m.expandTrigger,C=m.expandIcon,Z=m.loadingIcon,b=m.dropdownMenuColumnStyle,E="hover"===y,k=x.useMemo(function(){return r.map(function(e){var t,n=e.disabled,r=e[rg],o=null!==(t=e[rw])&&void 0!==t?t:e[h.label],l=e[h.value],i=rd(e,h),c=r?r.map(function(e){return e[h.value]}):[].concat((0,N.Z)(a),[l]),f=ru(c),p=d.includes(f),m=u.has(f),v=s.has(f);return{disabled:n,label:o,value:l,isLeaf:i,isLoading:p,checked:m,halfChecked:v,option:e,fullPath:c,fullPathKey:f}})},[r,u,h,s,d,a]);return x.createElement("ul",{className:"".concat(t,"-menu"),role:"menu"},k.map(function(e){var r,a,u=e.disabled,s=e.label,d=e.value,m=e.isLeaf,h=e.isLoading,y=e.checked,k=e.halfChecked,S=e.option,N=e.fullPath,P=e.fullPathKey,O=function(){u||E&&m||c(N)},M=function(){f(S)&&i(N,m)};return"string"==typeof S.title?a=S.title:"string"==typeof s&&(a=s),x.createElement("li",{key:P,className:w()(p,(r={},(0,v.Z)(r,"".concat(p,"-expand"),!m),(0,v.Z)(r,"".concat(p,"-active"),o===d),(0,v.Z)(r,"".concat(p,"-disabled"),u),(0,v.Z)(r,"".concat(p,"-loading"),h),r)),style:b,role:"menuitemcheckbox",title:a,"aria-checked":y,"data-path-key":P,onClick:function(){O(),(!n||m)&&M()},onDoubleClick:function(){g&&l(!1)},onMouseEnter:function(){E&&O()},onMouseDown:function(e){e.preventDefault()}},n&&x.createElement(rb,{prefixCls:"".concat(t,"-checkbox"),checked:y,halfChecked:k,disabled:u,onClick:function(e){e.stopPropagation(),M()}}),x.createElement("div",{className:"".concat(p,"-content")},s),!h&&C&&!m&&x.createElement("div",{className:"".concat(p,"-expand-icon")},C),h&&Z&&x.createElement("div",{className:"".concat(p,"-loading-icon")},Z))}))}var rk=function(){var e=(0,rn.lk)(),t=e.multiple,n=e.open,r=x.useContext(ra).values,o=x.useState([]),a=(0,K.Z)(o,2),l=a[0],i=a[1];return x.useEffect(function(){n&&!t&&i(r[0]||[])},[n]),[l,i]},rx=function(e,t,n,r,o,a){var l=(0,rn.lk)(),i=l.direction,c=l.searchValue,u=l.toggleOpen,s=l.open,d="rtl"===i,f=x.useMemo(function(){for(var e=-1,o=t,a=[],l=[],i=r.length,c=function(t){var i=o.findIndex(function(e){return e[n.value]===r[t]});if(-1===i)return"break";e=i,a.push(e),l.push(r[t]),o=o[e][n.children]},u=0;u1?g(m.slice(0,-1)):u(!1)},Z=function(){var e,t=((null===(e=h[v])||void 0===e?void 0:e[n.children])||[]).find(function(e){return!e.disabled});t&&g([].concat((0,N.Z)(m),[t[n.value]]))};x.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case e_.Z.UP:case e_.Z.DOWN:var r=0;t===e_.Z.UP?r=-1:t===e_.Z.DOWN&&(r=1),0!==r&&y(r);break;case e_.Z.LEFT:d?Z():C();break;case e_.Z.RIGHT:d?C():Z();break;case e_.Z.BACKSPACE:c||C();break;case e_.Z.ENTER:if(m.length){var o=h[v],l=(null==o?void 0:o[rg])||[];l.length?a(l.map(function(e){return e[n.value]}),l[l.length-1]):a(m,h[v])}break;case e_.Z.ESC:u(!1),s&&e.stopPropagation()}},onKeyUp:function(){}}})},rS=x.forwardRef(function(e,t){var n,r,o,a,l=(0,rn.lk)(),i=l.prefixCls,c=l.multiple,u=l.searchValue,s=l.toggleOpen,d=l.notFoundContent,f=l.direction,p=x.useRef(),h=x.useContext(ra),g=h.options,y=h.values,C=h.halfValues,Z=h.fieldNames,b=h.changeOnSelect,E=h.onSelect,k=h.searchOptions,S=h.dropdownPrefixCls,P=h.loadData,O=h.expandTrigger,M=S||i,R=x.useState([]),T=(0,K.Z)(R,2),D=T[0],L=T[1],I=function(e){if(P&&!u){var t=rp(e,g,Z).map(function(e){return e.option}),n=t[t.length-1];if(n&&!rd(n,Z)){var r=ru(e);L(function(e){return[].concat((0,N.Z)(e),[r])}),P(t)}}};x.useEffect(function(){D.length&&D.forEach(function(e){var t=rp(e.split(rl),g,Z,!0).map(function(e){return e.option}),n=t[t.length-1];(!n||n[Z.children]||rd(n,Z))&&L(function(t){return t.filter(function(t){return t!==e})})})},[g,D,Z]);var A=x.useMemo(function(){return new Set(rs(y))},[y]),H=x.useMemo(function(){return new Set(rs(C))},[C]),z=rk(),V=(0,K.Z)(z,2),j=V[0],Y=V[1],F=function(e){Y(e),I(e)},W=function(e){var t=e.disabled,n=rd(e,Z);return!t&&(n||b||c)},_=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];E(e),!c&&(t||b&&("hover"===O||n))&&s(!1)},B=x.useMemo(function(){return u?k:g},[u,k,g]),U=x.useMemo(function(){for(var e=[{options:B}],t=B,n=0;nt.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}(r)}},[j]);var X=!(null===(n=U[0])||void 0===n?void 0:null===(r=n.options)||void 0===r?void 0:r.length),q=[(o={},(0,v.Z)(o,Z.value,"__EMPTY__"),(0,v.Z)(o,rw,d),(0,v.Z)(o,"disabled",!0),o)],G=(0,ec.Z)((0,ec.Z)({},e),{},{multiple:!X&&c,onSelect:_,onActive:F,onToggleOpen:s,checkedSet:A,halfCheckedSet:H,loadingKeys:D,isSelectable:W}),Q=(X?[{options:q}]:U).map(function(e,t){var n=j.slice(0,t),r=j[t];return x.createElement(rE,(0,m.Z)({key:t},G,{prefixCls:M,options:e.options,prevValuePath:n,activeValue:r}))});return x.createElement("div",{className:w()("".concat(M,"-menus"),(a={},(0,v.Z)(a,"".concat(M,"-menu-empty"),X),(0,v.Z)(a,"".concat(M,"-rtl"),"rtl"===f),a)),ref:p},Q)}),rN=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function rP(e){return e?Array.isArray(e)&&Array.isArray(e[0])?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}var rO=x.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,a=void 0===o?"rc-cascader":o,l=e.fieldNames,i=e.defaultValue,c=e.value,u=e.changeOnSelect,s=e.onChange,d=e.displayRender,f=e.checkable,p=e.searchValue,v=e.onSearch,h=e.showSearch,g=e.expandTrigger,y=e.options,C=e.dropdownPrefixCls,b=e.loadData,w=e.popupVisible,E=e.open,k=e.popupClassName,S=e.dropdownClassName,P=e.dropdownMenuColumnStyle,O=e.popupPlacement,M=e.placement,R=e.onDropdownVisibleChange,T=e.onPopupVisibleChange,D=e.expandIcon,L=void 0===D?">":D,I=e.loadingIcon,A=e.children,H=e.dropdownMatchSelectWidth,z=e.showCheckedStrategy,V=void 0===z?ri:z,j=(0,nd.Z)(e,rN),Y=(0,rr.ZP)(r),F=!!f,W=(0,em.Z)(i,{value:c,postState:rP}),_=(0,K.Z)(W,2),B=_[0],U=_[1],X=x.useMemo(function(){var e,t,n,r,o;return t=(e=l||{}).label,n=e.value,r=e.children,{label:t||"label",value:o=n||"value",key:o,children:r||"children"}},[JSON.stringify(l)]),q=x.useMemo(function(){return y||[]},[y]),G=rv(q,X),Q=x.useCallback(function(e){var t=G();return e.map(function(e){return t[e].nodes.map(function(e){return e[X.value]})})},[G,X]),$=(0,em.Z)("",{value:p,postState:function(e){return e||""}}),J=(0,K.Z)($,2),ee=J[0],et=J[1],en=x.useMemo(function(){if(!h)return[!1,{}];var e={matchInputWidth:!0,limit:50};return h&&"object"===(0,Z.Z)(h)&&(e=(0,ec.Z)((0,ec.Z)({},e),h)),e.limit<=0&&delete e.limit,[!0,e]},[h]),er=(0,K.Z)(en,2),eo=er[0],ea=er[1],el=rZ(ee,q,X,C||a,ea,u),ei=x.useCallback(function(e){var t=[],n=[];return e.forEach(function(e){rp(e,q,X).every(function(e){return e.option})?n.push(e):t.push(e)}),[n,t]},[q,X]),eu=x.useMemo(function(){var e=ei(B),t=(0,K.Z)(e,2),n=t[0],r=t[1];if(!F||!B.length)return[n,[],r];var o=rs(n),a=G(),l=(0,ro.S)(o,!0,a),i=l.checkedKeys,c=l.halfCheckedKeys;return[Q(i),Q(c),r]},[F,B,G,Q,ei]),es=(0,K.Z)(eu,3),ed=es[0],ef=es[1],ep=es[2],ev=(n=x.useMemo(function(){var e=rf(rs(ed),G,V);return[].concat((0,N.Z)(ep),(0,N.Z)(Q(e)))},[ed,G,Q,ep,V]),x.useMemo(function(){var e=d||function(e){var t=F?e.slice(-1):e;return t.every(function(e){return["string","number"].includes((0,Z.Z)(e))})?t.join(" / "):t.reduce(function(e,t,n){var r=x.isValidElement(t)?x.cloneElement(t,{key:n}):t;return 0===n?[r]:[].concat((0,N.Z)(e),[" / ",r])},[])};return n.map(function(t){var n,r,o=rp(t,q,X),a=e(o.map(function(e){var t,n=e.option,r=e.value;return null!==(t=null==n?void 0:n[X.label])&&void 0!==t?t:r}),o.map(function(e){return e.option})),l=ru(t);return{label:a,value:l,key:l,valueCells:t,disabled:null===(n=o[o.length-1])||void 0===n?void 0:null===(r=n.option)||void 0===r?void 0:r.disabled}})},[n,q,X,d,F])),eh=rh(function(e){if(U(e),s){var t=rP(e),n=t.map(function(e){return rp(e,q,X).map(function(e){return e.option})});s(F?t:t[0],F?n:n[0])}}),eg=rh(function(e){if(et(""),F){var t=ru(e),n=rs(ed),r=rs(ef),o=n.includes(t),a=ep.some(function(e){return ru(e)===t}),l=ed,i=ep;if(a&&!o)i=ep.filter(function(e){return ru(e)!==t});else{var c=o?n.filter(function(e){return e!==t}):[].concat((0,N.Z)(n),[t]),u=G();l=Q(rf(o?(0,ro.S)(c,{checked:!1,halfCheckedKeys:r},u).checkedKeys:(0,ro.S)(c,!0,u).checkedKeys,G,V))}eh([].concat((0,N.Z)(i),(0,N.Z)(l)))}else eh(e)}),ey=x.useMemo(function(){return{options:q,fieldNames:X,values:ed,halfValues:ef,changeOnSelect:u,onSelect:eg,checkable:f,searchOptions:el,dropdownPrefixCls:C,loadData:b,expandTrigger:g,expandIcon:L,loadingIcon:I,dropdownMenuColumnStyle:P}},[q,X,ed,ef,u,eg,f,el,C,b,g,L,I,P]),eC=!(ee?el:q).length,eZ=ee&&ea.matchInputWidth||eC?{}:{minWidth:"auto"};return x.createElement(ra.Provider,{value:ey},x.createElement(rn.Ac,(0,m.Z)({},j,{ref:t,id:Y,prefixCls:a,dropdownMatchSelectWidth:void 0!==H&&H,dropdownStyle:eZ,displayValues:ev,onDisplayValuesChange:function(e,t){if("clear"===t.type){eh([]);return}eg(t.values[0].valueCells)},mode:F?"multiple":void 0,searchValue:ee,onSearch:function(e,t){et(e),"blur"!==t.source&&v&&v(e)},showSearch:eo,OptionList:rS,emptyOptions:eC,open:void 0!==E?E:w,dropdownClassName:S||k,placement:M||O,onDropdownVisibleChange:function(e){null==R||R(e),null==T||T(e)},getRawInputElement:function(){return A}})))});rO.SHOW_PARENT=ri,rO.SHOW_CHILD=rc;var rM=n(88258),rR=n(98866),rT=n(97647),rD=n(4173),rL=n(46163),rI=n(33603),rA=n(9708),rH=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},rz=rO.SHOW_CHILD,rV=rO.SHOW_PARENT,rj=function(e,t,n,r){var o=[],a=e.toLowerCase();return t.forEach(function(e,t){0!==t&&o.push(" / ");var l,i,c,u,s=e[r.label],d=(0,Z.Z)(s);("string"===d||"number"===d)&&(i=(l=String(s)).toLowerCase().split(a).reduce(function(e,t,n){return 0===n?[t]:[].concat((0,N.Z)(e),[a,t])},[]),c=[],u=0,i.forEach(function(e,t){var r=u+e.length,o=l.slice(u,r);u=r,t%2==1&&(o=x.createElement("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator-".concat(t)},o)),c.push(o)}),s=c),o.push(s)}),o},rY=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.size,a=e.disabled,l=e.className,i=e.multiple,c=e.bordered,u=e.transitionName,s=e.choiceTransitionName,d=e.popupClassName,f=e.dropdownClassName,p=e.expandIcon,h=e.placement,g=e.showSearch,y=e.allowClear,C=e.notFoundContent,b=e.direction,E=e.getPopupContainer,N=e.status,P=e.showArrow,O=rH(e,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),M=(0,k.Z)(O,["suffixIcon"]),R=(0,x.useContext)(S.E_),T=R.getPopupContainer,D=R.getPrefixCls,L=R.renderEmpty,I=R.direction,A=b||I,H="rtl"===A,z=(0,x.useContext)(ne.aM),V=z.status,j=z.hasFeedback,Y=z.isFormItemInput,F=z.feedbackIcon,W=(0,rA.F)(V,N),K=C||(L||rM.Z)("Cascader"),_=D(),B=D("select",r),U=D("cascader",r),X=(0,rD.ri)(B,b),q=X.compactSize,G=X.compactItemClassnames,Q=w()(d||f,"".concat(U,"-dropdown"),(0,v.Z)({},"".concat(U,"-dropdown-rtl"),"rtl"===A)),$=x.useMemo(function(){if(!g)return g;var e={render:rj};return"object"===(0,Z.Z)(g)&&(e=(0,m.Z)((0,m.Z)({},e),g)),e},[g]),J=x.useContext(rT.Z),ee=q||o||J,et=x.useContext(rR.Z),en=p;p||(en=H?x.createElement(n9.Z,null):x.createElement(rt.Z,null));var er=x.createElement("span",{className:"".concat(B,"-menu-item-loading-icon")},x.createElement(re.Z,{spin:!0})),eo=x.useMemo(function(){return!!i&&x.createElement("span",{className:"".concat(U,"-checkbox-inner")})},[i]),ea=void 0!==P?P:e.loading||!i,el=(0,rL.Z)((0,m.Z)((0,m.Z)({},e),{hasFeedback:j,feedbackIcon:F,showArrow:ea,multiple:i,prefixCls:B})),ei=el.suffixIcon,ec=el.removeIcon,eu=el.clearIcon;return x.createElement(rO,(0,m.Z)({prefixCls:B,className:w()(!r&&U,(n={},(0,v.Z)(n,"".concat(B,"-lg"),"large"===ee),(0,v.Z)(n,"".concat(B,"-sm"),"small"===ee),(0,v.Z)(n,"".concat(B,"-rtl"),H),(0,v.Z)(n,"".concat(B,"-borderless"),!(void 0===c||c)),(0,v.Z)(n,"".concat(B,"-in-form-item"),Y),n),(0,rA.Z)(B,W,j),G,l),disabled:null!=a?a:et},M,{direction:A,placement:void 0!==h?h:"rtl"===b?"bottomRight":"bottomLeft",notFoundContent:K,allowClear:void 0===y||y,showSearch:$,expandIcon:en,inputIcon:ei,removeIcon:ec,clearIcon:eu,loadingIcon:er,checkable:eo,dropdownClassName:Q,dropdownPrefixCls:r||U,choiceTransitionName:(0,rI.mL)(_,"",void 0===s?"":s),transitionName:(0,rI.mL)(_,(0,rI.q0)(h),u),getPopupContainer:E||T,ref:t,showArrow:j||P}))});rY.SHOW_PARENT=rV,rY.SHOW_CHILD=rz;var rF=rY,rW=n(32808),rK=n(15746),r_=n(54907),rB=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},rU=function(e){var t=e.actions,n=e.author,r=e.avatar,o=e.children,a=e.className,l=e.content,i=e.prefixCls,c=e.datetime,u=rB(e,["actions","author","avatar","children","className","content","prefixCls","datetime"]),s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=d("comment",i),h=r?x.createElement("div",{className:"".concat(p,"-avatar")},"string"==typeof r?x.createElement("img",{src:r,alt:"comment-avatar"}):r):null,g=t&&t.length?x.createElement("ul",{className:"".concat(p,"-actions")},t.map(function(e,t){return x.createElement("li",{key:"action-".concat(t)},e)})):null,y=(n||c)&&x.createElement("div",{className:"".concat(p,"-content-author")},n&&x.createElement("span",{className:"".concat(p,"-content-author-name")},n),c&&x.createElement("span",{className:"".concat(p,"-content-author-time")},c)),C=x.createElement("div",{className:"".concat(p,"-content")},y,x.createElement("div",{className:"".concat(p,"-content-detail")},l),g),Z=w()(p,(0,v.Z)({},"".concat(p,"-rtl"),"rtl"===f),a);return x.createElement("div",(0,m.Z)({},u,{className:Z}),x.createElement("div",{className:"".concat(p,"-inner")},h,C),o?x.createElement("div",{className:w()("".concat(p,"-nested"))},o):null)},rX=n(76519),rq=n(93355),rG=n(20550),rQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},r$=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:rQ}))};r$.displayName="CalendarOutlined";var rJ=x.forwardRef(r$),r0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},r1=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:r0}))};r1.displayName="ClockCircleOutlined";var r2=x.forwardRef(r1),r4=n(4340),r3={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},r8=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:r3}))};r8.displayName="SwapRightOutlined";var r6=x.forwardRef(r8),r5=n(87206);function r7(e,t){var n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}var r9=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},oe=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ot={button:function(e){return x.createElement(ez.Z,(0,m.Z)({size:"small",type:"primary"},e))},rangeItem:function(e){return x.createElement(rG.Z,(0,m.Z)({color:"blue"},e))}};function on(e){var t=e.format,n=e.picker,r=e.showHour,o=e.showMinute,a=e.showSecond,l=e.use12Hours,i=(t?Array.isArray(t)?t:[t]:[])[0],c=(0,m.Z)({},e);return(i&&"string"==typeof i&&(i.includes("s")||void 0!==a||(c.showSecond=!1),i.includes("m")||void 0!==o||(c.showMinute=!1),i.includes("H")||i.includes("h")||void 0!==r||(c.showHour=!1),(i.includes("a")||i.includes("A"))&&void 0===l&&(c.use12Hours=!0)),"time"===n)?c:("function"==typeof i&&delete c.format,{showTime:c})}(0,rq.b)("bottomLeft","bottomRight","topLeft","topRight");var or=(a=(o=function(e){function t(t,n){var r=(0,x.forwardRef)(function(n,r){var o=n.prefixCls,a=n.getPopupContainer,l=n.className,i=n.size,c=n.bordered,u=void 0===c||c,s=n.placement,d=n.placeholder,f=n.popupClassName,p=n.dropdownClassName,h=n.disabled,g=n.status,y=oe(n,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),C=(0,x.useContext)(S.E_),Z=C.getPrefixCls,b=C.direction,E=C.getPopupContainer,k=Z("picker",o),N=(0,rD.ri)(k,b),P=N.compactSize,O=N.compactItemClassnames,M=x.useRef(null),R=n.format,T=n.showTime;(0,x.useImperativeHandle)(r,function(){return{focus:function(){var e;return null===(e=M.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=M.current)||void 0===e?void 0:e.blur()}}});var D={showToday:!0},L={};t&&(L.picker=t);var I=t||n.picker;L=(0,m.Z)((0,m.Z)((0,m.Z)({},L),T?on((0,m.Z)({format:R,picker:I},T)):{}),"time"===I?on((0,m.Z)((0,m.Z)({format:R},n),{picker:I})):{});var A=Z(),H=x.useContext(rT.Z),z=P||i||H,V=x.useContext(rR.Z),j=null!=h?h:V,Y=(0,x.useContext)(ne.aM),F=Y.hasFeedback,W=Y.status,K=Y.feedbackIcon,_=x.createElement(x.Fragment,null,"time"===I?x.createElement(r2,null):x.createElement(rJ,null),F&&K);return x.createElement(t9.Z,{componentName:"DatePicker",defaultLocale:r5.Z},function(t){var r,o=(0,m.Z)((0,m.Z)({},t),n.locale);return x.createElement(t3,(0,m.Z)({ref:M,placeholder:void 0!==d?d:"year"===I&&o.lang.yearPlaceholder?o.lang.yearPlaceholder:"quarter"===I&&o.lang.quarterPlaceholder?o.lang.quarterPlaceholder:"month"===I&&o.lang.monthPlaceholder?o.lang.monthPlaceholder:"week"===I&&o.lang.weekPlaceholder?o.lang.weekPlaceholder:"time"===I&&o.timePickerLocale.placeholder?o.timePickerLocale.placeholder:o.lang.placeholder,suffixIcon:_,dropdownAlign:r7(b,s),dropdownClassName:f||p,clearIcon:x.createElement(r4.Z,null),prevIcon:x.createElement("span",{className:"".concat(k,"-prev-icon")}),nextIcon:x.createElement("span",{className:"".concat(k,"-next-icon")}),superPrevIcon:x.createElement("span",{className:"".concat(k,"-super-prev-icon")}),superNextIcon:x.createElement("span",{className:"".concat(k,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(A,"-slide-up")},D,y,L,{locale:o.lang,className:w()((r={},(0,v.Z)(r,"".concat(k,"-").concat(z),z),(0,v.Z)(r,"".concat(k,"-borderless"),!u),r),(0,rA.Z)(k,(0,rA.F)(W,g),F),O,l),prefixCls:k,getPopupContainer:a||E,generateConfig:e,components:ot,direction:b,disabled:j}))})});return n&&(r.displayName=n),r}return{DatePicker:t(),WeekPicker:t("week","WeekPicker"),MonthPicker:t("month","MonthPicker"),YearPicker:t("year","YearPicker"),TimePicker:t("time","TimePicker"),QuarterPicker:t("quarter","QuarterPicker")}}(eF)).DatePicker,l=o.WeekPicker,i=o.MonthPicker,c=o.YearPicker,u=o.TimePicker,s=o.QuarterPicker,d=(0,x.forwardRef)(function(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=e.className,a=e.placement,l=e.size,i=e.disabled,c=e.bordered,u=void 0===c||c,s=e.placeholder,d=e.popupClassName,f=e.dropdownClassName,p=e.status,h=r9(e,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),g=x.useRef(null),y=(0,x.useContext)(S.E_),C=y.getPrefixCls,Z=y.direction,b=y.getPopupContainer,E=C("picker",n),k=(0,rD.ri)(E,Z),N=k.compactSize,P=k.compactItemClassnames,O=e.format,M=e.showTime,R=e.picker,T=C(),D={};D=(0,m.Z)((0,m.Z)((0,m.Z)({},D),M?on((0,m.Z)({format:O,picker:R},M)):{}),"time"===R?on((0,m.Z)((0,m.Z)({format:O},e),{picker:R})):{});var L=x.useContext(rT.Z),I=N||l||L,A=x.useContext(rR.Z),H=null!=i?i:A,z=(0,x.useContext)(ne.aM),V=z.hasFeedback,j=z.status,Y=z.feedbackIcon,F=x.createElement(x.Fragment,null,"time"===R?x.createElement(r2,null):x.createElement(rJ,null),V&&Y);return(0,x.useImperativeHandle)(t,function(){return{focus:function(){var e;return null===(e=g.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=g.current)||void 0===e?void 0:e.blur()}}}),x.createElement(t9.Z,{componentName:"DatePicker",defaultLocale:r5.Z},function(t){var n,l=(0,m.Z)((0,m.Z)({},t),e.locale);return x.createElement(t7,(0,m.Z)({separator:x.createElement("span",{"aria-label":"to",className:"".concat(E,"-separator")},x.createElement(r6,null)),disabled:H,ref:g,dropdownClassName:d||f,dropdownAlign:r7(Z,a),placeholder:void 0!==s?s:"year"===R&&l.lang.yearPlaceholder?l.lang.rangeYearPlaceholder:"quarter"===R&&l.lang.quarterPlaceholder?l.lang.rangeQuarterPlaceholder:"month"===R&&l.lang.monthPlaceholder?l.lang.rangeMonthPlaceholder:"week"===R&&l.lang.weekPlaceholder?l.lang.rangeWeekPlaceholder:"time"===R&&l.timePickerLocale.placeholder?l.timePickerLocale.rangePlaceholder:l.lang.rangePlaceholder,suffixIcon:F,clearIcon:x.createElement(r4.Z,null),prevIcon:x.createElement("span",{className:"".concat(E,"-prev-icon")}),nextIcon:x.createElement("span",{className:"".concat(E,"-next-icon")}),superPrevIcon:x.createElement("span",{className:"".concat(E,"-super-prev-icon")}),superNextIcon:x.createElement("span",{className:"".concat(E,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(T,"-slide-up")},h,D,{className:w()((n={},(0,v.Z)(n,"".concat(E,"-").concat(I),I),(0,v.Z)(n,"".concat(E,"-borderless"),!u),n),(0,rA.Z)(E,(0,rA.F)(j,p),V),P,o),locale:l.lang,prefixCls:E,getPopupContainer:r||b,generateConfig:eF,components:ot,direction:Z}))})}),(f=a).WeekPicker=l,f.MonthPicker=i,f.YearPicker=c,f.RangePicker=d,f.TimePicker=u,f.QuarterPicker=s,f),oo=n(24308),oa=function(e){var t,n=e.itemPrefixCls,r=e.component,o=e.span,a=e.className,l=e.style,i=e.labelStyle,c=e.contentStyle,u=e.bordered,s=e.label,d=e.content,f=e.colon;return u?x.createElement(r,{className:w()((t={},(0,v.Z)(t,"".concat(n,"-item-label"),null!=s),(0,v.Z)(t,"".concat(n,"-item-content"),null!=d),t),a),style:l,colSpan:o},null!=s&&x.createElement("span",{style:i},s),null!=d&&x.createElement("span",{style:c},d)):x.createElement(r,{className:w()("".concat(n,"-item"),a),style:l,colSpan:o},x.createElement("div",{className:"".concat(n,"-item-container")},(s||0===s)&&x.createElement("span",{className:w()("".concat(n,"-item-label"),(0,v.Z)({},"".concat(n,"-item-no-colon"),!f)),style:i},s),(d||0===d)&&x.createElement("span",{className:w()("".concat(n,"-item-content")),style:c},d)))};function ol(e,t,n){var r=t.colon,o=t.prefixCls,a=t.bordered,l=n.component,i=n.type,c=n.showLabel,u=n.showContent,s=n.labelStyle,d=n.contentStyle;return e.map(function(e,t){var n=e.props,f=n.label,p=n.children,v=n.prefixCls,h=void 0===v?o:v,g=n.className,y=n.style,C=n.labelStyle,Z=n.contentStyle,b=n.span,w=void 0===b?1:b,E=e.key;return"string"==typeof l?x.createElement(oa,{key:"".concat(i,"-").concat(E||t),className:g,style:y,labelStyle:(0,m.Z)((0,m.Z)({},s),C),contentStyle:(0,m.Z)((0,m.Z)({},d),Z),span:w,colon:r,component:l,itemPrefixCls:h,bordered:a,label:c?f:null,content:u?p:null}):[x.createElement(oa,{key:"label-".concat(E||t),className:g,style:(0,m.Z)((0,m.Z)((0,m.Z)({},s),y),C),span:1,colon:r,component:l[0],itemPrefixCls:h,bordered:a,label:f}),x.createElement(oa,{key:"content-".concat(E||t),className:g,style:(0,m.Z)((0,m.Z)((0,m.Z)({},d),y),Z),span:2*w-1,component:l[1],itemPrefixCls:h,bordered:a,content:p})]})}var oi=function(e){var t=x.useContext(oc),n=e.prefixCls,r=e.vertical,o=e.row,a=e.index,l=e.bordered;return r?x.createElement(x.Fragment,null,x.createElement("tr",{key:"label-".concat(a),className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:"th",type:"label",showLabel:!0},t))),x.createElement("tr",{key:"content-".concat(a),className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:"td",type:"content",showContent:!0},t)))):x.createElement("tr",{key:a,className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:l?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},oc=x.createContext({}),ou={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function os(e,t,n){var r=e;return(void 0===t||t>n)&&(r=(0,en.Tm)(e,{span:n})),r}function od(e){var t,n,r,o,a,l=e.prefixCls,i=e.title,c=e.extra,u=e.column,s=void 0===u?ou:u,d=e.colon,f=void 0===d||d,p=e.bordered,m=e.layout,h=e.children,g=e.className,y=e.style,C=e.size,b=e.labelStyle,E=e.contentStyle,k=x.useContext(S.E_),N=k.getPrefixCls,P=k.direction,O=N("descriptions",l),M=x.useState({}),R=(0,K.Z)(M,2),T=R[0],D=R[1],L=function(e,t){if("number"==typeof e)return e;if("object"===(0,Z.Z)(e))for(var n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,rq.b)("default","large");var oE={distance:180},ok=function(e){var t=e.width,n=e.height,r=e.size,o=void 0===r?"default":r,a=e.closable,l=void 0===a||a,i=e.mask,c=void 0===i||i,u=e.push,s=e.closeIcon,d=void 0===s?x.createElement(om.Z,null):s,f=e.bodyStyle,p=e.drawerStyle,h=e.className,g=e.visible,y=e.open,C=e.children,Z=e.style,b=e.title,E=e.headerStyle,k=e.onClose,N=e.footer,P=e.footerStyle,O=e.prefixCls,M=e.getContainer,R=e.extra,T=e.afterVisibleChange,D=e.afterOpenChange,L=ow(e,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),I=x.useContext(S.E_),A=I.getPopupContainer,H=I.getPrefixCls,z=I.direction,V=H("drawer",O),j=l&&x.createElement("button",{type:"button",onClick:k,"aria-label":"Close",className:"".concat(V,"-close")},d);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(e){var t=(0,K.Z)(e,2);t[0],t[1]});var Y=w()((0,v.Z)({"no-mask":!c},"".concat(V,"-rtl"),"rtl"===z),h),F=x.useMemo(function(){return null!=t?t:"large"===o?736:378},[t,o]),W=x.useMemo(function(){return null!=n?n:"large"===o?736:378},[n,o]),_={motionName:(0,rI.mL)(V,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return x.createElement(ne.Ux,{status:!0,override:!0},x.createElement(ob,(0,m.Z)({prefixCls:V,onClose:k},L,{open:y||g,mask:c,push:void 0===u?oE:u,width:F,height:W,rootClassName:Y,getContainer:void 0===M&&A?function(){return A(document.body)}:M,afterOpenChange:function(e){null==D||D(e),null==T||T(e)},maskMotion:_,motion:function(e){return{motionName:(0,rI.mL)(V,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}},rootStyle:Z}),x.createElement("div",{className:"".concat(V,"-wrapper-body"),style:(0,m.Z)({},p)},b||l?x.createElement("div",{className:w()("".concat(V,"-header"),(0,v.Z)({},"".concat(V,"-header-close-only"),l&&!b&&!R)),style:E},x.createElement("div",{className:"".concat(V,"-header-title")},j,b&&x.createElement("div",{className:"".concat(V,"-title")},b)),R&&x.createElement("div",{className:"".concat(V,"-extra")},R)):null,x.createElement("div",{className:"".concat(V,"-body"),style:f},C),N?x.createElement("div",{className:"".concat(V,"-footer"),style:P},N):null)))},ox=n(13013),oS=n(62986),oN=n(79292),oP=n(25378),oO={useBreakpoint:function(){return(0,oP.Z)()}},oM=n(99611),oR=n(27678),oT=n(38425);function oD(e,t,n,r){var o=t+n,a=(n-r)/2;if(n>r){if(t>0)return(0,v.Z)({},e,a);if(t<0&&or)return(0,v.Z)({},e,t<0?a:-a);return{}}var oL=["visible","onVisibleChange","getContainer","current","countRender"],oI=x.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),oA=oI.Provider,oH=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],oz=x.useState,oV=x.useEffect,oj=x.useCallback,oY=x.useRef,oF=x.useContext,oW={x:0,y:0},oK=function(e){var t,n,r,o,a,l,i,c=e.prefixCls,u=e.src,s=e.alt,d=e.onClose,f=(e.afterClose,e.visible),p=e.icons,h=void 0===p?{}:p,g=e.rootClassName,y=e.getContainer,C=e.countRender,Z=e.scaleStep,b=void 0===Z?.5:Z,E=e.transitionName,k=e.maskTransitionName,S=void 0===k?"fade":k,N=(0,nd.Z)(e,oH),O=h.rotateLeft,M=h.rotateRight,T=h.zoomIn,D=h.zoomOut,L=h.close,I=h.left,A=h.right,H=oz(1),z=(0,K.Z)(H,2),V=z[0],j=z[1],Y=oz(0),F=(0,K.Z)(Y,2),W=F[0],_=F[1],B=(t=x.useRef(null),n=x.useState(oW),o=(r=(0,K.Z)(n,2))[0],a=r[1],l=x.useRef([]),x.useEffect(function(){return function(){return t.current&&P.Z.cancel(t.current)}},[]),[o,function(e){null===t.current&&(l.current=[],t.current=(0,P.Z)(function(){a(function(e){var n=e;return l.current.forEach(function(e){n=(0,ec.Z)((0,ec.Z)({},n),e)}),t.current=null,n})})),l.current.push(e)}]),U=(0,K.Z)(B,2),X=U[0],q=U[1],G=oY(),Q=oY({originX:0,originY:0,deltaX:0,deltaY:0}),$=oz(!1),J=(0,K.Z)($,2),ee=J[0],et=J[1],en=oF(oI),er=en.previewUrls,eo=en.current,ea=en.isPreviewGroup,el=en.setCurrent,ei=er.size,eu=Array.from(er.keys()),es=eu.indexOf(eo),ed=ea?er.get(eo):u,ef=ea&&ei>1,em=oz({wheelDirection:0}),ev=(0,K.Z)(em,2),eh=ev[0],eg=ev[1],ey=function(){j(function(e){return e+b}),q(oW)},eC=function(){V>1&&j(function(e){return e-b}),q(oW)},eZ=w()((0,v.Z)({},"".concat(c,"-moving"),ee)),eb="".concat(c,"-operations-operation"),ew="".concat(c,"-operations-icon"),eE=function(){if(f&&ee){var e,t,n,r,o,a,l=G.current.offsetWidth*V,i=G.current.offsetHeight*V,c=G.current.getBoundingClientRect(),u=c.left,s=c.top,d=W%180!=0;et(!1);var p=(e=d?i:l,t=d?l:i,r=(n=(0,oR.g1)()).width,o=n.height,a=null,e<=r&&t<=o?a={x:0,y:0}:(e>r||t>o)&&(a=(0,ec.Z)((0,ec.Z)({},oD("x",u,e,r)),oD("y",s,t,o))),a);p&&q((0,ec.Z)({},p))}},ek=function(e){f&&ee&&q({x:e.pageX-Q.current.deltaX,y:e.pageY-Q.current.deltaY})},ex=function(e){f&&(e.preventDefault(),eg({wheelDirection:e.deltaY}))},eS=oj(function(e){f&&ef&&(e.keyCode===e_.Z.LEFT?es>0&&el(eu[es-1]):e.keyCode===e_.Z.RIGHT&&es0?eC():e<0&&ey()},[eh]),oV(function(){var e,t,n=(0,R.Z)(window,"mouseup",eE,!1),r=(0,R.Z)(window,"mousemove",ek,!1),o=(0,R.Z)(window,"wheel",ex,{passive:!1}),a=(0,R.Z)(window,"keydown",eS,!1);try{window.top!==window.self&&(e=(0,R.Z)(window.top,"mouseup",eE,!1),t=(0,R.Z)(window.top,"mousemove",ek,!1))}catch(l){(0,eY.Kp)(!1,"[rc-image] ".concat(l))}return function(){n.remove(),r.remove(),o.remove(),a.remove(),null==e||e.remove(),null==t||t.remove()}},[f,ee,eS]);var eN=x.createElement(x.Fragment,null,ef&&x.createElement("div",{className:w()("".concat(c,"-switch-left"),(0,v.Z)({},"".concat(c,"-switch-left-disabled"),0===es)),onClick:function(e){e.preventDefault(),e.stopPropagation(),es>0&&el(eu[es-1])}},I),ef&&x.createElement("div",{className:w()("".concat(c,"-switch-right"),(0,v.Z)({},"".concat(c,"-switch-right-disabled"),es===ei-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),es=1&&x.createElement("li",{className:"".concat(c,"-operations-progress")},null!==(i=null==C?void 0:C(es+1,ei))&&void 0!==i?i:"".concat(es+1," / ").concat(ei)),[{icon:L,onClick:d,type:"close"},{icon:T,onClick:ey,type:"zoomIn"},{icon:D,onClick:eC,type:"zoomOut",disabled:1===V},{icon:M,onClick:function(){_(function(e){return e+90})},type:"rotateRight"},{icon:O,onClick:function(){_(function(e){return e-90})},type:"rotateLeft"}].map(function(e){var t,n=e.icon,r=e.onClick,o=e.type,a=e.disabled;return x.createElement("li",{className:w()(eb,(t={},(0,v.Z)(t,"".concat(c,"-operations-operation-").concat(o),!0),(0,v.Z)(t,"".concat(c,"-operations-operation-disabled"),!!a),t)),onClick:r,key:o},x.isValidElement(n)?x.cloneElement(n,{className:ew}):n)})));return x.createElement(x.Fragment,null,x.createElement(oT.Z,(0,m.Z)({transitionName:void 0===E?"zoom":E,maskTransitionName:S,closable:!1,keyboard:!0,prefixCls:c,onClose:d,afterClose:function(){j(1),_(0),q(oW)},visible:f,wrapClassName:eZ,rootClassName:g,getContainer:y},N),x.createElement("div",{className:"".concat(c,"-img-wrapper"),style:{transform:"translate3d(".concat(X.x,"px, ").concat(X.y,"px, 0)")}},x.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),Q.current.deltaX=e.pageX-X.x,Q.current.deltaY=e.pageY-X.y,Q.current.originX=X.x,Q.current.originY=X.y,et(!0))},onDoubleClick:function(){f&&(1!==V&&j(1),(X.x!==oW.x||X.y!==oW.y)&&q(oW))},ref:G,className:"".concat(c,"-img"),src:ed,alt:s,style:{transform:"scale3d(".concat(V,", ").concat(V,", 1) rotate(").concat(W,"deg)")}}))),x.createElement(ep.Z,{visible:f,motionName:S},function(e){var t=e.className,n=e.style;return x.createElement(ov.Z,{open:!0,getContainer:null!=y?y:document.body},x.createElement("div",{className:w()("".concat(c,"-operations-wrapper"),t,g),style:n},eN))}))},o_=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","draggable"],oB=["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons","scaleStep"],oU=0,oX=function(e){var t,n=e.src,r=e.alt,o=e.onPreviewClose,a=e.prefixCls,l=void 0===a?"rc-image":a,i=e.previewPrefixCls,c=e.placeholder,u=e.fallback,s=e.width,d=e.height,f=e.style,p=e.preview,h=void 0===p||p,g=e.className,y=e.onClick,C=e.onError,b=e.wrapperClassName,E=e.wrapperStyle,k=e.rootClassName,S=e.crossOrigin,N=e.decoding,P=e.loading,O=e.referrerPolicy,M=e.sizes,R=e.srcSet,T=e.useMap,D=e.draggable,L=(0,nd.Z)(e,o_),I=c&&!0!==c,A="object"===(0,Z.Z)(h)?h:{},H=A.src,z=A.visible,V=void 0===z?void 0:z,j=A.onVisibleChange,Y=A.getContainer,F=A.mask,W=A.maskClassName,_=A.icons,B=A.scaleStep,U=(0,nd.Z)(A,oB),X=null!=H?H:n,q=void 0!==V,G=(0,em.Z)(!!V,{value:V,onChange:void 0===j?o:j}),Q=(0,K.Z)(G,2),$=Q[0],J=Q[1],ee=(0,x.useState)(I?"loading":"normal"),et=(0,K.Z)(ee,2),en=et[0],er=et[1],eo=(0,x.useState)(null),ea=(0,K.Z)(eo,2),el=ea[0],ei=ea[1],eu="error"===en,es=x.useContext(oI),ed=es.isPreviewGroup,ef=es.setCurrent,ep=es.setShowPreview,ev=es.setMousePosition,eh=es.registerImage,eg=x.useState(function(){return oU+=1}),ey=(0,K.Z)(eg,1)[0],eC=!!h,eZ=x.useRef(!1),eb=function(){er("normal")};x.useEffect(function(){return eh(ey,X)},[]),x.useEffect(function(){eh(ey,X,eC)},[X,eC]),x.useEffect(function(){eu&&er("normal"),I&&!eZ.current&&er("loading")},[n]);var ew=w()(l,b,k,(0,v.Z)({},"".concat(l,"-error"),eu)),eE={crossOrigin:S,decoding:N,draggable:D,loading:P,referrerPolicy:O,sizes:M,srcSet:R,useMap:T,alt:r,className:w()("".concat(l,"-img"),(0,v.Z)({},"".concat(l,"-img-placeholder"),!0===c),g),style:(0,ec.Z)({height:d},f)};return x.createElement(x.Fragment,null,x.createElement("div",(0,m.Z)({},L,{className:ew,onClick:eC?function(e){if(!q){var t=(0,oR.os)(e.target),n=t.left,r=t.top;ed?(ef(ey),ev({x:n,y:r})):ei({x:n,y:r})}ed?ep(!0):J(!0),y&&y(e)}:y,style:(0,ec.Z)({width:s,height:d},E)}),x.createElement("img",(0,m.Z)({},eE,{ref:function(e){eZ.current=!1,"loading"===en&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(eZ.current=!0,eb())}},eu&&u?{src:u}:{onLoad:eb,onError:function(e){C&&C(e),er("error")},src:n},{width:s,height:d})),"loading"===en&&x.createElement("div",{"aria-hidden":"true",className:"".concat(l,"-placeholder")},c),F&&eC&&x.createElement("div",{className:w()("".concat(l,"-mask"),W),style:{display:(null===(t=eE.style)||void 0===t?void 0:t.display)==="none"?"none":void 0}},F)),!ed&&eC&&x.createElement(oK,(0,m.Z)({"aria-hidden":!$,visible:$,prefixCls:void 0===i?"".concat(l,"-preview"):i,onClose:function(e){e.stopPropagation(),J(!1),q||ei(null)},mousePosition:el,src:eu&&u?u:X,alt:r,getContainer:void 0===Y?void 0:Y,icons:_,scaleStep:B,rootClassName:k},U)))};oX.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.children,r=e.icons,o=e.preview,a="object"===(0,Z.Z)(o)?o:{},l=a.visible,i=void 0===l?void 0:l,c=a.onVisibleChange,u=a.getContainer,s=a.current,d=a.countRender,f=(0,nd.Z)(a,oL),p=(0,x.useState)(new Map),v=(0,K.Z)(p,2),h=v[0],g=v[1],y=(0,x.useState)(),C=(0,K.Z)(y,2),b=C[0],w=C[1],E=(0,em.Z)(!!i,{value:i,onChange:void 0===c?void 0:c}),k=(0,K.Z)(E,2),S=k[0],N=k[1],P=(0,x.useState)(null),O=(0,K.Z)(P,2),M=O[0],R=O[1],T=void 0!==i,D=Array.from(h.keys())[void 0===s?0:s],L=new Map(Array.from(h).filter(function(e){return!!(0,K.Z)(e,2)[1].canPreview}).map(function(e){var t=(0,K.Z)(e,2);return[t[0],t[1].url]}));return x.useEffect(function(){w(D)},[D]),x.useEffect(function(){!S&&T&&w(D)},[D,T,S]),x.createElement(oA,{value:{isPreviewGroup:!0,previewUrls:L,setPreviewUrls:g,current:b,setCurrent:w,setShowPreview:N,setMousePosition:R,registerImage:function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return g(function(r){return new Map(r).set(e,{url:t,canPreview:n})}),function(){g(function(t){var n=new Map(t);return n.delete(e)?n:t})}}}},n,x.createElement(oK,(0,m.Z)({"aria-hidden":!S,visible:S,prefixCls:void 0===t?"rc-image-preview":t,onClose:function(e){e.stopPropagation(),N(!1),R(null)},mousePosition:M,src:L.get(b),icons:void 0===r?{}:r,getContainer:void 0===u?void 0:u,countRender:void 0===d?void 0:d},f)))},oX.displayName="Image";var oq=n(40378),oG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},oQ=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:oG}))};oQ.displayName="RotateLeftOutlined";var o$=x.forwardRef(oQ),oJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},o0=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:oJ}))};o0.displayName="RotateRightOutlined";var o1=x.forwardRef(o0),o2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},o4=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:o2}))};o4.displayName="ZoomInOutlined";var o3=x.forwardRef(o4),o8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},o6=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:o8}))};o6.displayName="ZoomOutOutlined";var o5=x.forwardRef(o6),o7=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},o9={rotateLeft:x.createElement(o$,null),rotateRight:x.createElement(o1,null),zoomIn:x.createElement(o3,null),zoomOut:x.createElement(o5,null),close:x.createElement(om.Z,null),left:x.createElement(n9.Z,null),right:x.createElement(rt.Z,null)},ae=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},at=function(e){var t=e.prefixCls,n=e.preview,r=ae(e,["prefixCls","preview"]),o=(0,x.useContext)(S.E_),a=o.getPrefixCls,l=o.locale,i=void 0===l?oq.Z:l,c=o.getPopupContainer,u=a("image",t),s=a(),d=i.Image||oq.Z.Image,f=x.useMemo(function(){if(!1===n)return n;var e="object"===(0,Z.Z)(n)?n:{},t=e.getContainer,r=ae(e,["getContainer"]);return(0,m.Z)((0,m.Z)({mask:x.createElement("div",{className:"".concat(u,"-mask-info")},x.createElement(oM.Z,null),null==d?void 0:d.preview),icons:o9},r),{getContainer:t||c,transitionName:(0,rI.mL)(s,"zoom",e.transitionName),maskTransitionName:(0,rI.mL)(s,"fade",e.maskTransitionName)})},[n,d]);return x.createElement(oX,(0,m.Z)({prefixCls:u,preview:f},r))};at.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.preview,r=o7(e,["previewPrefixCls","preview"]),o=x.useContext(S.E_).getPrefixCls,a=o("image-preview",t),l=o(),i=x.useMemo(function(){if(!1===n)return n;var e="object"===(0,Z.Z)(n)?n:{};return(0,m.Z)((0,m.Z)({},e),{transitionName:(0,rI.mL)(l,"zoom",e.transitionName),maskTransitionName:(0,rI.mL)(l,"fade",e.maskTransitionName)})},[n]);return x.createElement(oX.PreviewGroup,(0,m.Z)({preview:i,previewPrefixCls:a,icons:o9},r))};var an=at,ar=n(79531),ao=n(79915),aa=n(97183),al=n(92820),ai=n(3698),ac=n(11382),au=n(21584),as=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ad=(0,x.forwardRef)(function(e,t){var n,r=e.prefixCls,o=e.children,a=e.actions,l=e.extra,i=e.className,c=e.colStyle,u=as(e,["prefixCls","children","actions","extra","className","colStyle"]),s=(0,x.useContext)(ap),d=s.grid,f=s.itemLayout,p=(0,(0,x.useContext)(S.E_).getPrefixCls)("list",r),h=a&&a.length>0&&x.createElement("ul",{className:"".concat(p,"-item-action"),key:"actions"},a.map(function(e,t){return x.createElement("li",{key:"".concat(p,"-item-action-").concat(t)},e,t!==a.length-1&&x.createElement("em",{className:"".concat(p,"-item-action-split")}))})),g=x.createElement(d?"div":"li",(0,m.Z)({},u,d?{}:{ref:t},{className:w()("".concat(p,"-item"),(0,v.Z)({},"".concat(p,"-item-no-flex"),!("vertical"===f?!!l:(x.Children.forEach(o,function(e){"string"==typeof e&&(n=!0)}),!(n&&x.Children.count(o)>1)))),i)}),"vertical"===f&&l?[x.createElement("div",{className:"".concat(p,"-item-main"),key:"content"},o,h),x.createElement("div",{className:"".concat(p,"-item-extra"),key:"extra"},l)]:[o,h,(0,en.Tm)(l,{key:"extra"})]);return d?x.createElement(au.Z,{ref:t,flex:1,style:c},g):g});ad.Meta=function(e){var t=e.prefixCls,n=e.className,r=e.avatar,o=e.title,a=e.description,l=as(e,["prefixCls","className","avatar","title","description"]),i=(0,(0,x.useContext)(S.E_).getPrefixCls)("list",t),c=w()("".concat(i,"-item-meta"),n),u=x.createElement("div",{className:"".concat(i,"-item-meta-content")},o&&x.createElement("h4",{className:"".concat(i,"-item-meta-title")},o),a&&x.createElement("div",{className:"".concat(i,"-item-meta-description")},a));return x.createElement("div",(0,m.Z)({},l,{className:c}),r&&x.createElement("div",{className:"".concat(i,"-item-meta-avatar")},r),(o||a)&&u)};var af=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ap=x.createContext({});function am(e){var t,n,r=e.pagination,o=void 0!==r&&r,a=e.prefixCls,l=e.bordered,i=e.split,c=e.className,u=e.children,s=e.itemLayout,d=e.loadMore,f=e.grid,p=e.dataSource,h=void 0===p?[]:p,g=e.size,y=e.header,C=e.footer,b=e.loading,E=e.rowKey,k=e.renderItem,P=e.locale,O=af(e,["pagination","prefixCls","bordered","split","className","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),M=o&&"object"===(0,Z.Z)(o)?o:{},R=x.useState(M.defaultCurrent||1),T=(0,K.Z)(R,2),D=T[0],L=T[1],I=x.useState(M.defaultPageSize||10),A=(0,K.Z)(I,2),H=A[0],z=A[1],V=x.useContext(S.E_),j=V.getPrefixCls,Y=V.renderEmpty,F=V.direction,W=function(e){return function(t,n){L(t),z(n),o&&o[e]&&o[e](t,n)}},_=W("onChange"),B=W("onShowSizeChange"),U=function(e,t){var n;return k?((n="function"==typeof E?E(e):E?e[E]:e.key)||(n="list-item-".concat(t)),x.createElement(x.Fragment,{key:n},k(e,t))):null},X=j("list",a),q=void 0!==b&&b;"boolean"==typeof q&&(q={spinning:q});var G=q&&q.spinning,Q="";switch(g){case"large":Q="lg";break;case"small":Q="sm"}var $=w()(X,(n={},(0,v.Z)(n,"".concat(X,"-vertical"),"vertical"===s),(0,v.Z)(n,"".concat(X,"-").concat(Q),Q),(0,v.Z)(n,"".concat(X,"-split"),void 0===i||i),(0,v.Z)(n,"".concat(X,"-bordered"),void 0!==l&&l),(0,v.Z)(n,"".concat(X,"-loading"),G),(0,v.Z)(n,"".concat(X,"-grid"),!!f),(0,v.Z)(n,"".concat(X,"-something-after-last-item"),!!(d||o||C)),(0,v.Z)(n,"".concat(X,"-rtl"),"rtl"===F),n),c),J=(0,m.Z)((0,m.Z)((0,m.Z)({},{current:1,total:0}),{total:h.length,current:D,pageSize:H}),o||{}),ee=Math.ceil(J.total/J.pageSize);J.current>ee&&(J.current=ee);var et=o?x.createElement("div",{className:"".concat(X,"-pagination")},x.createElement(ai.Z,(0,m.Z)({},J,{onChange:_,onShowSizeChange:B}))):null,en=(0,N.Z)(h);o&&h.length>(J.current-1)*J.pageSize&&(en=(0,N.Z)(h).splice((J.current-1)*J.pageSize,J.pageSize));var er=Object.keys(f||{}).some(function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)}),eo=(0,oP.Z)(er),ea=x.useMemo(function(){for(var e=0;e0){var ec=en.map(function(e,t){return U(e,t)});ei=f?x.createElement(al.Z,{gutter:f.gutter},x.Children.map(ec,function(e){return x.createElement("div",{key:null==e?void 0:e.key,style:el},e)})):x.createElement("ul",{className:"".concat(X,"-items")},ec)}else u||G||(t=Y||rM.Z,ei=x.createElement("div",{className:"".concat(X,"-empty-text")},P&&P.emptyText||t("List")));var eu=J.position||"bottom",es=x.useMemo(function(){return{grid:f,itemLayout:s}},[JSON.stringify(f),s]);return x.createElement(ap.Provider,{value:es},x.createElement("div",(0,m.Z)({className:$},O),("top"===eu||"both"===eu)&&et,y&&x.createElement("div",{className:"".concat(X,"-header")},y),x.createElement(ac.Z,(0,m.Z)({},q),ei,u),C&&x.createElement("div",{className:"".concat(X,"-footer")},C),d||("bottom"===eu||"both"===eu)&&et))}ap.Consumer,am.Item=ad;var av=am,ah=n(57239),ag=n(97868),ay=x.createContext(null),aC=function(e){var t=x.useContext(ay),n=t.notFoundContent,r=t.activeIndex,o=t.setActiveIndex,a=t.selectOption,l=t.onFocus,i=t.onBlur,c=e.prefixCls,u=e.options,s=u[r]||{};return x.createElement(ag.ZP,{prefixCls:"".concat(c,"-menu"),activeKey:s.key,onSelect:function(e){var t=e.key;a(u.find(function(e){return e.key===t}))},onFocus:l,onBlur:i},u.map(function(e,t){var n=e.key,r=e.disabled,a=e.children,l=e.className,i=e.style;return x.createElement(ag.sN,{key:n,disabled:r,className:l,style:i,onMouseEnter:function(){o(t)}},a)}),!u.length&&x.createElement(ag.sN,{disabled:!0},n))},aZ={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},ab=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.getDropdownPrefix=function(){return"".concat(e.props.prefixCls,"-dropdown")},e.getDropdownElement=function(){var t=e.props.options;return x.createElement(aC,{prefixCls:e.getDropdownPrefix(),options:t})},e.getDropDownPlacement=function(){var t=e.props,n=t.placement;return"rtl"===t.direction?"top"===n?"topLeft":"bottomLeft":"top"===n?"topRight":"bottomRight"},e}return(0,g.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.visible,r=e.transitionName,o=e.getPopupContainer,a=this.getDropdownElement();return x.createElement(tX.Z,{prefixCls:this.getDropdownPrefix(),popupVisible:n,popup:a,popupPlacement:this.getDropDownPlacement(),popupTransitionName:r,builtinPlacements:aZ,getPopupContainer:o,popupClassName:this.props.dropdownClassName},t)}}]),n}(x.Component);function aw(e){return(e||"").toLowerCase()}var aE=x.forwardRef(function(e,t){var n,r,o,a,l,i=e.prefixCls,c=e.className,u=e.style,s=e.prefix,d=e.split,f=e.notFoundContent,p=e.value,v=e.defaultValue,h=e.children,g=e.open,y=e.validateSearch,C=e.filterOption,Z=e.onChange,b=e.onKeyDown,E=e.onKeyUp,k=e.onPressEnter,S=e.onSearch,N=e.onSelect,P=e.onFocus,O=e.onBlur,M=e.transitionName,R=e.placement,T=e.direction,D=e.getPopupContainer,L=e.dropdownClassName,I=(0,nd.Z)(e,["prefixCls","className","style","prefix","split","notFoundContent","value","defaultValue","children","open","validateSearch","filterOption","onChange","onKeyDown","onKeyUp","onPressEnter","onSearch","onSelect","onFocus","onBlur","transitionName","placement","direction","getPopupContainer","dropdownClassName"]),A=Array.isArray(s)?s:[s],H=(0,ec.Z)((0,ec.Z)({},e),{},{prefix:A}),z=(0,x.useRef)(null),V=(0,x.useRef)(null),j=function(){var e,t;return null===(e=z.current)||void 0===e?void 0:null===(t=e.resizableTextArea)||void 0===t?void 0:t.textArea};x.useImperativeHandle(t,function(){var e,t;return{focus:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.blur()},textarea:null===(e=z.current)||void 0===e?void 0:null===(t=e.resizableTextArea)||void 0===t?void 0:t.textArea}});var Y=(0,x.useState)(!1),F=(0,K.Z)(Y,2),W=F[0],_=F[1],B=(0,x.useState)(""),U=(0,K.Z)(B,2),X=U[0],q=U[1],G=(0,x.useState)(""),Q=(0,K.Z)(G,2),$=Q[0],J=Q[1],et=(0,x.useState)(0),en=(0,K.Z)(et,2),er=en[0],eo=en[1],ea=(0,x.useState)(0),el=(0,K.Z)(ea,2),ei=el[0],eu=el[1],es=(0,x.useState)(!1),ed=(0,K.Z)(es,2),ef=ed[0],ep=ed[1],ev=(0,em.Z)("",{defaultValue:v,value:p}),eh=(0,K.Z)(ev,2),eg=eh[0],ey=eh[1];(0,x.useEffect)(function(){W&&V.current&&(V.current.scrollTop=j().scrollTop)},[W]);var eC=x.useMemo(function(){if(g)for(var e=0;e=0)return[!0,"",t,n]}return[W,X,$,er]},[g,W,A,eg,X,$,er]),eZ=(0,K.Z)(eC,4),eb=eZ[0],ew=eZ[1],eE=eZ[2],ek=eZ[3],ex=x.useCallback(function(e){return(0,ee.Z)(h).map(function(e){var t=e.props,n=e.key;return(0,ec.Z)((0,ec.Z)({},t),{},{key:n||t.value})}).filter(function(t){return!1===C||C(e,t)})},[h,C]),eS=x.useMemo(function(){return ex(ew)},[ex,ew]),eN=(n=(0,x.useState)({id:0,callback:null}),o=(r=(0,K.Z)(n,2))[0],a=r[1],l=(0,x.useCallback)(function(e){a(function(t){return{id:t.id+1,callback:e}})},[]),(0,x.useEffect)(function(){var e;null===(e=o.callback)||void 0===e||e.call(o)},[o]),l),eP=function(e,t,n){_(!0),q(e),J(t),eo(n),eu(0)},eO=function(e){_(!1),eo(0),q(""),eN(e)},eM=function(e){ey(e),null==Z||Z(e)},eR=function(e){var t,n,r,o,a,l,i,c,u,s,f=e.value,p=(n=(t={measureLocation:ek,targetText:void 0===f?"":f,prefix:eE,selectionStart:null===(s=j())||void 0===s?void 0:s.selectionStart,split:d}).measureLocation,r=t.prefix,o=t.targetText,a=t.selectionStart,l=t.split,(i=eg.slice(0,n))[i.length-l.length]===l&&(i=i.slice(0,i.length-l.length)),i&&(i="".concat(i).concat(l)),(c=function(e,t,n){var r=e[0];if(!r||r===n)return e;for(var o=e,a=t.length,l=0;le.location?{location:n,prefix:t}:e},{location:-1,prefix:""}),i=l.location,c=l.prefix;if(null==E||E(e),-1===[e_.Z.ESC,e_.Z.UP,e_.Z.DOWN,e_.Z.ENTER].indexOf(o)){if(-1!==i){var u=a.slice(i+c.length),s=y(u,H),d=!!ex(u).length;s?(r===c||"Shift"===r||eb||u!==ew&&d)&&eP(u,c,i):eb&&eO(),S&&s&&S(u,c)}else eb&&eO()}},onPressEnter:function(e){!eb&&k&&k(e)},onFocus:eD,onBlur:eL})),eb&&x.createElement("div",{ref:V,className:"".concat(i,"-measure")},eg.slice(0,ek),x.createElement(ay.Provider,{value:{notFoundContent:f,activeIndex:ei,setActiveIndex:eu,selectOption:eR,onFocus:function(){eD()},onBlur:function(){eL()}}},x.createElement(ab,{prefixCls:i,transitionName:M,placement:R,direction:T,options:eS,visible:!0,getPopupContainer:D,dropdownClassName:L},x.createElement("span",null,eE))),eg.slice(ek+eE.length)))});aE.defaultProps={prefixCls:"rc-mentions",prefix:"@",split:" ",validateSearch:function(e,t){var n=t.split;return!n||-1===e.indexOf(n)},filterOption:function(e,t){var n=t.value,r=e.toLowerCase();return -1!==(void 0===n?"":n).toLowerCase().indexOf(r)},notFoundContent:"Not Found",rows:1},aE.Option=function(){return null};var ak=n(42550),ax=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},aS=aE.Option;function aN(){return!0}var aP=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.className,a=e.disabled,l=e.loading,i=e.filterOption,c=e.children,u=e.notFoundContent,s=e.status,d=ax(e,["prefixCls","className","disabled","loading","filterOption","children","notFoundContent","status"]),f=x.useState(!1),p=(0,K.Z)(f,2),h=p[0],g=p[1],y=x.useRef(),C=(0,ak.sQ)(t,y),Z=x.useContext(S.E_),b=Z.getPrefixCls,E=Z.renderEmpty,k=Z.direction,N=x.useContext(ne.aM),P=N.status,O=N.hasFeedback,M=N.feedbackIcon,R=(0,rA.F)(P,s),T=b("mentions",r),D=w()((n={},(0,v.Z)(n,"".concat(T,"-disabled"),a),(0,v.Z)(n,"".concat(T,"-focused"),h),(0,v.Z)(n,"".concat(T,"-rtl"),"rtl"===k),n),(0,rA.Z)(T,R),!O&&o),L=x.createElement(aE,(0,m.Z)({prefixCls:T,notFoundContent:void 0!==u?u:(E||rM.Z)("Select"),className:D,disabled:a,direction:k},d,{filterOption:l?aN:i,onFocus:function(){d.onFocus&&d.onFocus.apply(d,arguments),g(!0)},onBlur:function(){d.onBlur&&d.onBlur.apply(d,arguments),g(!1)},ref:C}),l?x.createElement(aS,{value:"ANTD_SEARCHING",disabled:!0},x.createElement(ac.Z,{size:"small"})):c);return O?x.createElement("div",{className:w()("".concat(T,"-affix-wrapper"),(0,rA.Z)("".concat(T,"-affix-wrapper"),R,O),o)},L,x.createElement("span",{className:"".concat(T,"-suffix")},M)):L});aP.Option=aS,aP.getMentions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"@":n,o=t.split,a=Array.isArray(r)?r:[r];return e.split(void 0===o?" ":o).map(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;return(a.some(function(n){return e.slice(0,n.length)===n&&(t=n,!0)}),null!==t)?{prefix:t,value:e.slice(t.length)}:null}).filter(function(e){return!!e&&!!e.value})};var aO=aP,aM=n(12461),aR=n(85402),aT=n(13448),aD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},aL=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aD}))};aL.displayName="ArrowLeftOutlined";var aI=x.forwardRef(aL),aA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},aH=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aA}))};aH.displayName="ArrowRightOutlined";var az=x.forwardRef(aH),aV=n(30470),aj=n(26713),aY=n(34952),aF=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";return void 0!==e.backIcon?e.backIcon:"rtl"===t?x.createElement(az,null):x.createElement(aI,null)},aW=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=t.title,o=t.avatar,a=t.subTitle,l=t.tags,i=t.extra,c=t.onBack,u="".concat(e,"-heading"),s=r||a||l||i;if(!s)return null;var d=aF(t,n),f=d&&c?x.createElement(t9.Z,{componentName:"PageHeader"},function(t){return x.createElement("div",{className:"".concat(e,"-back")},x.createElement(aY.Z,{onClick:function(e){null==c||c(e)},className:"".concat(e,"-back-button"),"aria-label":t.back},d))}):null;return x.createElement("div",{className:u},(f||o||s)&&x.createElement("div",{className:"".concat(u,"-left")},f,o&&x.createElement(ei.C,(0,m.Z)({},o)),r&&x.createElement("span",{className:"".concat(u,"-title"),title:"string"==typeof r?r:void 0},r),a&&x.createElement("span",{className:"".concat(u,"-sub-title"),title:"string"==typeof a?a:void 0},a),l&&x.createElement("span",{className:"".concat(u,"-tags")},l)),i&&x.createElement("span",{className:"".concat(u,"-extra")},x.createElement(aj.Z,null,i)))},aK=function(e){var t=(0,aV.Z)(!1),n=(0,K.Z)(t,2),r=n[0],o=n[1],a=function(e){o(e.width<768,!0)};return x.createElement(S.C,null,function(t){var n,o,l=t.getPrefixCls,i=t.pageHeader,c=t.direction,u=e.prefixCls,s=e.style,d=e.footer,f=e.children,p=e.breadcrumb,h=e.breadcrumbRender,g=e.className,y=!0;"ghost"in e?y=e.ghost:i&&"ghost"in i&&(y=i.ghost);var C=l("page-header",u),Z=(null==p?void 0:p.routes)?x.createElement(eH,(0,m.Z)({},p)):null,b=null!==(o=null==h?void 0:h(e,Z))&&void 0!==o?o:Z,k=p&&"props"in p?p:b,S=w()(C,g,(n={"has-breadcrumb":!!k,"has-footer":!!d},(0,v.Z)(n,"".concat(C,"-ghost"),y),(0,v.Z)(n,"".concat(C,"-rtl"),"rtl"===c),(0,v.Z)(n,"".concat(C,"-compact"),r),n));return x.createElement(E.default,{onResize:a},x.createElement("div",{className:S,style:s},k,aW(C,e,c),f&&x.createElement("div",{className:"".concat(C,"-content")},f),d?x.createElement("div",{className:"".concat(C,"-footer")},d):null))})},a_=n(65360),aB=n(55241),aU=n(97910),aX=n(55742),aq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},aG=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aq}))};aG.displayName="StarFilled";var aQ=x.forwardRef(aG),a$=n(34203),aJ=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=l&&rc?"true":"false","aria-posinset":c+1,"aria-setsize":u,tabIndex:o?-1:0},x.createElement("div",{className:"".concat(a,"-first")},d),x.createElement("div",{className:"".concat(a,"-second")},d)));return i&&(f=i(f,this.props)),f}}]),n}(x.Component);function a0(){}var a1=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),(r=t.call(this,e)).stars=void 0,r.rate=void 0,r.onHover=function(e,t){var n=r.props.onHoverChange,o=r.getStarValue(t,e.pageX);o!==r.state.cleanedValue&&r.setState({hoverValue:o,cleanedValue:null}),n(o)},r.onMouseLeave=function(){var e=r.props.onHoverChange;r.setState({hoverValue:void 0,cleanedValue:null}),e(void 0)},r.onClick=function(e,t){var n=r.props.allowClear,o=r.state.value,a=r.getStarValue(t,e.pageX),l=!1;n&&(l=a===o),r.onMouseLeave(),r.changeValue(l?0:a),r.setState({cleanedValue:l?a:null})},r.onFocus=function(){var e=r.props.onFocus;r.setState({focused:!0}),e&&e()},r.onBlur=function(){var e=r.props.onBlur;r.setState({focused:!1}),e&&e()},r.onKeyDown=function(e){var t=e.keyCode,n=r.props,o=n.count,a=n.allowHalf,l=n.onKeyDown,i="rtl"===n.direction,c=r.state.value;t===e_.Z.RIGHT&&c0&&!i?(a?c-=.5:c-=1,r.changeValue(c),e.preventDefault()):t===e_.Z.RIGHT&&c>0&&i?(a?c-=.5:c-=1,r.changeValue(c),e.preventDefault()):t===e_.Z.LEFT&&cg/2?a-=.5:!o&&t-ht.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a3=x.forwardRef(function(e,t){var n=e.prefixCls,r=e.tooltips,o=e.character,a=void 0===o?x.createElement(aQ,null):o,l=a4(e,["prefixCls","tooltips","character"]),i=x.useContext(S.E_),c=i.getPrefixCls,u=i.direction,s=c("rate",n);return x.createElement(a1,(0,m.Z)({ref:t,character:a,characterRender:function(e,t){var n=t.index;return r?x.createElement(a2.Z,{title:r[n]},e):e}},l,{prefixCls:s,direction:u}))}),a8=n(33859),a6=n(71230),a5=n(8410),a7=function(e){return e?{left:e.offsetLeft,width:e.clientWidth}:null},a9=function(e){return void 0!==e?"".concat(e,"px"):void 0};function le(e){var t=e.prefixCls,n=e.containerRef,r=e.value,o=e.getValueIndex,a=e.motionName,l=e.onMotionStart,i=e.onMotionEnd,c=x.useRef(null),u=x.useState(r),s=(0,K.Z)(u,2),d=s[0],f=s[1],p=function(e){var r,a=o(e);return null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[a]},m=x.useState(null),v=(0,K.Z)(m,2),h=v[0],g=v[1],y=x.useState(null),C=(0,K.Z)(y,2),Z=C[0],b=C[1];return((0,a5.Z)(function(){if(d!==r){var e=p(d),t=p(r),n=a7(e),o=a7(t);f(r),g(n),b(o),e&&t?l():i()}},[r]),h&&Z)?x.createElement(ep.Z,{visible:!0,motionName:a,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onAppearEnd:function(){g(null),b(null),i()}},function(e,n){var r=e.className,o=e.style,a=(0,ec.Z)((0,ec.Z)({},o),{},{"--thumb-start-left":a9(null==h?void 0:h.left),"--thumb-start-width":a9(null==h?void 0:h.width),"--thumb-active-left":a9(null==Z?void 0:Z.left),"--thumb-active-width":a9(null==Z?void 0:Z.width)}),l={ref:(0,ak.sQ)(c,n),style:a,className:w()("".concat(t,"-thumb"),r)};return x.createElement("div",(0,ec.Z)({},l))}):null}var lt=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],ln=function(e){var t=e.prefixCls,n=e.className,r=e.disabled,o=e.checked,a=e.label,l=e.title,i=e.value,c=e.onChange;return x.createElement("label",{className:w()(n,(0,v.Z)({},"".concat(t,"-item-disabled"),r))},x.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:r,checked:o,onChange:function(e){r||c(e,i)}}),x.createElement("div",{className:"".concat(t,"-item-label"),title:l},a))},lr=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=void 0===o?"rc-segmented":o,l=e.direction,i=e.options,c=e.disabled,u=e.defaultValue,s=e.value,d=e.onChange,f=e.className,p=e.motionName,m=(0,nd.Z)(e,lt),h=x.useRef(null),g=x.useMemo(function(){return(0,ak.sQ)(h,t)},[h,t]),y=x.useMemo(function(){return i.map(function(e){if("object"===(0,Z.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,Z.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,ec.Z)((0,ec.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[i]),C=(0,em.Z)(null===(n=y[0])||void 0===n?void 0:n.value,{value:s,defaultValue:u}),b=(0,K.Z)(C,2),E=b[0],S=b[1],N=x.useState(!1),P=(0,K.Z)(N,2),O=P[0],M=P[1],R=function(e,t){c||(S(t),null==d||d(t))},T=(0,k.Z)(m,["children"]);return x.createElement("div",(0,ec.Z)((0,ec.Z)({},T),{},{className:w()(a,(r={},(0,v.Z)(r,"".concat(a,"-rtl"),"rtl"===l),(0,v.Z)(r,"".concat(a,"-disabled"),c),r),void 0===f?"":f),ref:g}),x.createElement("div",{className:"".concat(a,"-group")},x.createElement(le,{prefixCls:a,value:E,containerRef:h,motionName:"".concat(a,"-").concat(void 0===p?"thumb-motion":p),getValueIndex:function(e){return y.findIndex(function(t){return t.value===e})},onMotionStart:function(){M(!0)},onMotionEnd:function(){M(!1)}}),y.map(function(e){return x.createElement(ln,(0,ec.Z)((0,ec.Z)({key:e.value,prefixCls:a,className:w()(e.className,"".concat(a,"-item"),(0,v.Z)({},"".concat(a,"-item-selected"),e.value===E&&!O)),checked:e.value===E,onChange:R},e),{},{disabled:!!c||!!e.disabled}))})))});lr.displayName="Segmented",lr.defaultProps={options:[]};var lo=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},la=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.className,a=e.block,l=e.options,i=void 0===l?[]:l,c=e.size,u=lo(e,["prefixCls","className","block","options","size"]),s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=d("segmented",r),h=x.useContext(rT.Z),g=(void 0===c?"middle":c)||h,y=x.useMemo(function(){return i.map(function(e){if("object"===(0,Z.Z)(e)&&(null==e?void 0:e.icon)){var t=e.icon,n=e.label,r=lo(e,["icon","label"]);return(0,m.Z)((0,m.Z)({},r),{label:x.createElement(x.Fragment,null,x.createElement("span",{className:"".concat(p,"-item-icon")},t),n&&x.createElement("span",null,n))})}return e})},[i,p]);return x.createElement(lr,(0,m.Z)({},u,{className:w()(o,(n={},(0,v.Z)(n,"".concat(p,"-block"),a),(0,v.Z)(n,"".concat(p,"-sm"),"small"===g),(0,v.Z)(n,"".concat(p,"-lg"),"large"===g),n)),options:y,ref:t,prefixCls:p,direction:f}))}),ll=n(26303),li=n(22918),lc=n(74763),lu=n(63606),ls=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function ld(e){return"string"==typeof e}var lf=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lh=function(e){var t,n=e.percent,r=e.size,o=e.className,a=e.direction,l=e.items,i=e.responsive,c=void 0===i||i,u=e.current,s=e.children,d=lv(e,["percent","size","className","direction","items","responsive","current","children"]),f=(0,oP.Z)(c).xs,p=x.useContext(S.E_),h=p.getPrefixCls,g=p.direction,y=x.useCallback(function(){return c&&f?"vertical":a},[f,a]),C=h("steps",e.prefixCls),Z=h("",e.iconPrefix),b=l||(0,ee.Z)(s).map(function(e){if(x.isValidElement(e)){var t=e.props;return(0,m.Z)({},t)}return null}).filter(function(e){return e}),E=w()((t={},(0,v.Z)(t,"".concat(C,"-rtl"),"rtl"===g),(0,v.Z)(t,"".concat(C,"-with-progress"),void 0!==n),t),o),k={finish:x.createElement(lu.Z,{className:"".concat(C,"-finish-icon")}),error:x.createElement(om.Z,{className:"".concat(C,"-error-icon")})};return x.createElement(lm,(0,m.Z)({icons:k},d,{current:void 0===u?0:u,size:r,items:b,direction:y(),stepIcon:function(e){var t=e.node;return"process"===e.status&&void 0!==n?x.createElement("div",{className:"".concat(C,"-progress-icon")},x.createElement(aU.Z,{type:"circle",percent:n,width:"small"===r?32:40,strokeWidth:4,format:function(){return null}}),t):t},prefixCls:C,iconPrefix:Z,className:E}))};lh.Step=lm.Step;var lg=lh,ly=n(94594),lC=n(54398),lZ=n(84381),lb=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lw=or.TimePicker,lE=or.RangePicker,lk=x.forwardRef(function(e,t){var n=e.dropdownClassName,r=e.popupClassName;return x.createElement(lE,(0,m.Z)({},e,{dropdownClassName:r||n,picker:"time",mode:void 0,ref:t}))}),lx=x.forwardRef(function(e,t){var n=e.addon,r=e.renderExtraFooter,o=e.popupClassName,a=e.dropdownClassName,l=lb(e,["addon","renderExtraFooter","popupClassName","dropdownClassName"]),i=x.useMemo(function(){return r||n||void 0},[n,r]);return x.createElement(lw,(0,m.Z)({dropdownClassName:o||a},l,{mode:void 0,ref:t,renderExtraFooter:i}))});lx.RangePicker=lk;var lS=lx,lN=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lP=function(e){var t,n,r=e.prefixCls,o=e.className,a=e.color,l=void 0===a?"blue":a,i=e.dot,c=e.pending,u=(e.position,e.label),s=e.children,d=lN(e,["prefixCls","className","color","dot","pending","position","label","children"]),f=(0,x.useContext(S.E_).getPrefixCls)("timeline",r),p=w()((t={},(0,v.Z)(t,"".concat(f,"-item"),!0),(0,v.Z)(t,"".concat(f,"-item-pending"),void 0!==c&&c),t),o),h=w()((n={},(0,v.Z)(n,"".concat(f,"-item-head"),!0),(0,v.Z)(n,"".concat(f,"-item-head-custom"),!!i),(0,v.Z)(n,"".concat(f,"-item-head-").concat(l),!0),n)),g=/blue|red|green|gray/.test(l||"")?void 0:l;return x.createElement("li",(0,m.Z)({},d,{className:p}),u&&x.createElement("div",{className:"".concat(f,"-item-label")},u),x.createElement("div",{className:"".concat(f,"-item-tail")}),x.createElement("div",{className:h,style:{borderColor:g,color:g}},i),x.createElement("div",{className:"".concat(f,"-item-content")},s))},lO=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lM=function(e){var t,n=x.useContext(S.E_),r=n.getPrefixCls,o=n.direction,a=e.prefixCls,l=e.pending,i=void 0===l?null:l,c=e.pendingDot,u=e.children,s=e.className,d=e.reverse,f=void 0!==d&&d,p=e.mode,h=void 0===p?"":p,g=lO(e,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),y=r("timeline",a),C=i?x.createElement(lP,{pending:!!i,dot:c||x.createElement(re.Z,null)},"boolean"==typeof i?null:i):null,Z=x.Children.toArray(u);Z.push(C),f&&Z.reverse();var b=Z.filter(function(e){return!!e}),E=x.Children.count(b),k="".concat(y,"-item-last"),N=x.Children.map(b,function(e,t){return(0,en.Tm)(e,{className:w()([e.props.className,!f&&i?t===E-2?k:"":t===E-1?k:"","alternate"===h?"right"===e.props.position?"".concat(y,"-item-right"):"left"===e.props.position?"".concat(y,"-item-left"):t%2==0?"".concat(y,"-item-left"):"".concat(y,"-item-right"):"left"===h?"".concat(y,"-item-left"):"right"===h||"right"===e.props.position?"".concat(y,"-item-right"):""])})}),P=Z.some(function(e){var t;return!!(null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.label)}),O=w()(y,(t={},(0,v.Z)(t,"".concat(y,"-pending"),!!i),(0,v.Z)(t,"".concat(y,"-reverse"),!!f),(0,v.Z)(t,"".concat(y,"-").concat(h),!!h&&!P),(0,v.Z)(t,"".concat(y,"-label"),P),(0,v.Z)(t,"".concat(y,"-rtl"),"rtl"===o),t),s);return x.createElement("ul",(0,m.Z)({},g,{className:O}),N)};lM.Item=lP;var lR=lM,lT=n(7734),lD=n(48689),lL=x.memo(function(e){var t,n,r=e.renderedText,o=e.renderedEl,a=e.item,l=e.checked,i=e.disabled,c=e.prefixCls,u=e.onClick,s=e.onRemove,d=e.showRemove,f=w()((t={},(0,v.Z)(t,"".concat(c,"-content-item"),!0),(0,v.Z)(t,"".concat(c,"-content-item-disabled"),i||a.disabled),(0,v.Z)(t,"".concat(c,"-content-item-checked"),l),t));return("string"==typeof r||"number"==typeof r)&&(n=String(r)),x.createElement(t9.Z,{componentName:"Transfer",defaultLocale:lT.Z.Transfer},function(e){var t={className:f,title:n},r=x.createElement("span",{className:"".concat(c,"-content-item-text")},o);return d?x.createElement("li",(0,m.Z)({},t),r,x.createElement(aY.Z,{disabled:i||a.disabled,className:"".concat(c,"-content-item-remove"),"aria-label":e.remove,onClick:function(){null==s||s(a)}},x.createElement(lD.Z,null))):(t.onClick=i||a.disabled?void 0:function(){return u(a)},x.createElement("li",(0,m.Z)({},t),x.createElement(rW.Z,{className:"".concat(c,"-checkbox"),checked:l,disabled:i||a.disabled}),r))})}),lI=(0,rq.b)("handleFilter","handleClear","checkedKeys");function lA(e){if(!e)return null;var t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return"object"===(0,Z.Z)(e)?(0,m.Z)((0,m.Z)({},t),e):t}var lH=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.state={current:1},e.onItemSelect=function(t){var n=e.props,r=n.onItemSelect,o=n.selectedKeys.includes(t.key);r(t.key,!o)},e.onItemRemove=function(t){var n=e.props.onItemRemove;null==n||n([t.key])},e.onPageChange=function(t){e.setState({current:t})},e.getItems=function(){var t=e.state.current,n=e.props,r=n.pagination,o=n.filteredRenderItems,a=lA(r),l=o;return a&&(l=o.slice((t-1)*a.pageSize,t*a.pageSize)),l},e}return(0,g.Z)(n,[{key:"render",value:function(){var e=this,t=this.state.current,n=this.props,r=n.prefixCls,o=n.onScroll,a=n.filteredRenderItems,l=n.selectedKeys,i=n.disabled,c=n.showRemove,u=lA(n.pagination),s=null;return u&&(s=x.createElement(ai.Z,{simple:u.simple,showSizeChanger:u.showSizeChanger,showLessItems:u.showLessItems,size:"small",disabled:i,className:"".concat(r,"-pagination"),total:a.length,pageSize:u.pageSize,current:t,onChange:this.onPageChange})),x.createElement(x.Fragment,null,x.createElement("ul",{className:w()("".concat(r,"-content"),(0,v.Z)({},"".concat(r,"-content-show-remove"),c)),onScroll:o},this.getItems().map(function(t){var n=t.renderedEl,o=t.renderedText,a=t.item,u=a.disabled,s=l.includes(a.key);return x.createElement(lL,{disabled:i||u,key:a.key,item:a,renderedText:o,renderedEl:n,checked:s,prefixCls:r,onClick:e.onItemSelect,onRemove:e.onItemRemove,showRemove:c})})),s)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.filteredRenderItems,r=e.pagination,o=t.current,a=lA(r);if(a){var l=Math.ceil(n.length/a.pageSize);if(o>l)return{current:l}}return null}}]),n}(x.Component),lz=n(68795);function lV(e){var t=e.placeholder,n=e.value,r=e.prefixCls,o=e.disabled,a=e.onChange,l=e.handleClear,i=x.useCallback(function(e){null==a||a(e),""===e.target.value&&(null==l||l())},[a]);return x.createElement(ar.Z,{placeholder:void 0===t?"":t,className:r,value:n,onChange:i,disabled:o,allowClear:!0,prefix:x.createElement(lz.Z,null)})}var lj=function(){return null};function lY(e){return e.filter(function(e){return!e.disabled}).map(function(e){return e.key})}var lF=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this,e)).defaultListBodyRef=x.createRef(),r.handleFilter=function(e){var t=r.props.handleFilter,n=e.target.value;r.setState({filterValue:n}),t(e)},r.handleClear=function(){var e=r.props.handleClear;r.setState({filterValue:""}),e()},r.matchFilter=function(e,t){var n=r.state.filterValue,o=r.props.filterOption;return o?o(n,t):e.includes(n)},r.renderListBody=function(e,t){var n=e?e(t):null,o=!!n;return o||(n=x.createElement(lH,(0,m.Z)({ref:r.defaultListBodyRef},t))),{customize:o,bodyContent:n}},r.renderItem=function(e){var t=r.props.render,n=(void 0===t?lj:t)(e),o=!!(n&&!(0,en.l$)(n)&&"[object Object]"===Object.prototype.toString.call(n));return{renderedText:o?n.value:n,renderedEl:o?n.label:n,item:e}},r.getSelectAllLabel=function(e,t){var n=r.props,o=n.itemsUnit,a=n.itemUnit,l=n.selectAllLabel;return l?"function"==typeof l?l({selectedCount:e,totalCount:t}):l:x.createElement(x.Fragment,null,(e>0?"".concat(e,"/"):"")+t," ",t>1?o:a)},r.state={filterValue:""},r}return(0,g.Z)(n,[{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerScrollTimer)}},{key:"getCheckStatus",value:function(e){var t=this.props.checkedKeys;return 0===t.length?"none":e.every(function(e){return t.includes(e.key)||!!e.disabled})?"all":"part"}},{key:"getFilteredItems",value:function(e,t){var n=this,r=[],o=[];return e.forEach(function(e){var a=n.renderItem(e),l=a.renderedText;if(t&&!n.matchFilter(l,e))return null;r.push(e),o.push(a)}),{filteredItems:r,filteredRenderItems:o}}},{key:"getListBody",value:function(e,t,n,r,o,a,l,i,c,u){var s,d,f=c?x.createElement("div",{className:"".concat(e,"-body-search-wrapper")},x.createElement(lV,{prefixCls:"".concat(e,"-search"),onChange:this.handleFilter,handleClear:this.handleClear,placeholder:t,value:n,disabled:u})):null,p=this.renderListBody(i,(0,m.Z)((0,m.Z)({},(0,k.Z)(this.props,lI)),{filteredItems:r,filteredRenderItems:a,selectedKeys:l})),v=p.bodyContent;return d=p.customize?x.createElement("div",{className:"".concat(e,"-body-customize-wrapper")},v):r.length?v:x.createElement("div",{className:"".concat(e,"-body-not-found")},(s="left"===this.props.direction?0:1,Array.isArray(o)?o[s]:o)),x.createElement("div",{className:w()(c?"".concat(e,"-body ").concat(e,"-body-with-search"):"".concat(e,"-body"))},f,d)}},{key:"getCheckBox",value:function(e){var t=e.filteredItems,n=e.onItemSelectAll,r=e.disabled,o=e.prefixCls,a=this.getCheckStatus(t),l="all"===a;return x.createElement(rW.Z,{disabled:r,checked:l,indeterminate:"part"===a,className:"".concat(o,"-checkbox"),onChange:function(){n(t.filter(function(e){return!e.disabled}).map(function(e){return e.key}),!l)}})}},{key:"render",value:function(){var e,t,n=this,r=this.state.filterValue,o=this.props,a=o.prefixCls,l=o.dataSource,i=o.titleText,c=o.checkedKeys,u=o.disabled,s=o.footer,d=o.showSearch,f=o.style,p=o.searchPlaceholder,m=o.notFoundContent,h=o.selectAll,g=o.selectCurrent,y=o.selectInvert,C=o.removeAll,Z=o.removeCurrent,b=o.renderList,E=o.onItemSelectAll,k=o.onItemRemove,S=o.showSelectAll,N=o.showRemove,P=o.pagination,O=o.direction,M=s&&(s.length<2?s(this.props):s(this.props,{direction:O})),R=w()(a,(t={},(0,v.Z)(t,"".concat(a,"-with-pagination"),!!P),(0,v.Z)(t,"".concat(a,"-with-footer"),!!M),t)),T=this.getFilteredItems(void 0===l?[]:l,r),D=T.filteredItems,L=T.filteredRenderItems,I=this.getListBody(a,p,r,D,m,L,c,b,void 0!==d&&d,u),A=M?x.createElement("div",{className:"".concat(a,"-footer")},M):null,H=!N&&!P&&this.getCheckBox({filteredItems:D,onItemSelectAll:E,disabled:u,prefixCls:a});e=N?[P?{key:"removeCurrent",onClick:function(){var e,t=lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item}));null==k||k(t)},label:Z}:null,{key:"removeAll",onClick:function(){null==k||k(lY(D))},label:C}].filter(function(e){return e}):[{key:"selectAll",onClick:function(){var e=lY(D);E(e,e.length!==c.length)},label:h},P?{key:"selectCurrent",onClick:function(){var e;E(lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item})),!0)},label:g}:null,{key:"selectInvert",onClick:function(){t=P?lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item})):lY(D);var e,t,r=new Set(c),o=[],a=[];t.forEach(function(e){r.has(e)?a.push(e):o.push(e)}),E(o,!0),E(a,!1)},label:y}];var z=x.createElement(ox.Z,{className:"".concat(a,"-header-dropdown"),menu:{items:e},disabled:u},x.createElement(eN.Z,null));return x.createElement("div",{className:R,style:f},x.createElement("div",{className:"".concat(a,"-header")},void 0===S||S?x.createElement(x.Fragment,null,H,z):null,x.createElement("span",{className:"".concat(a,"-header-selected")},this.getSelectAllLabel(c.length,D.length)),x.createElement("span",{className:"".concat(a,"-header-title")},void 0===i?"":i)),I,A)}}]),n}(x.PureComponent),lW=function(e){var t=e.disabled,n=e.moveToLeft,r=e.moveToRight,o=e.leftArrowText,a=e.rightArrowText,l=e.leftActive,i=e.rightActive,c=e.className,u=e.style,s=e.direction,d=e.oneWay;return x.createElement("div",{className:c,style:u},x.createElement(ez.Z,{type:"primary",size:"small",disabled:t||!i,onClick:r,icon:"rtl"!==s?x.createElement(rt.Z,null):x.createElement(n9.Z,null)},void 0===a?"":a),!d&&x.createElement(ez.Z,{type:"primary",size:"small",disabled:t||!l,onClick:n,icon:"rtl"!==s?x.createElement(n9.Z,null):x.createElement(rt.Z,null)},void 0===o?"":o))},lK=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),(r=t.call(this,e)).separatedDataSource=null,r.setStateKeys=function(e,t){"left"===e?r.setState(function(e){var n=e.sourceSelectedKeys;return{sourceSelectedKeys:"function"==typeof t?t(n||[]):t}}):r.setState(function(e){var n=e.targetSelectedKeys;return{targetSelectedKeys:"function"==typeof t?t(n||[]):t}})},r.getLocale=function(e,t){var n=r.props.locale;return(0,m.Z)((0,m.Z)((0,m.Z)({},e),{notFoundContent:t("Transfer")}),void 0===n?{}:n)},r.moveTo=function(e){var t=r.props,n=t.targetKeys,o=void 0===n?[]:n,a=t.dataSource,l=void 0===a?[]:a,i=t.onChange,c=r.state,u=c.sourceSelectedKeys,s=c.targetSelectedKeys,d=("right"===e?u:s).filter(function(e){return!l.some(function(t){return!!(e===t.key&&t.disabled)})}),f="right"===e?d.concat(o):o.filter(function(e){return!d.includes(e)}),p="right"===e?"left":"right";r.setStateKeys(p,[]),r.handleSelectChange(p,[]),null==i||i(f,e,d)},r.moveToLeft=function(){return r.moveTo("left")},r.moveToRight=function(){return r.moveTo("right")},r.onItemSelectAll=function(e,t,n){r.setStateKeys(e,function(o){var a=[];return a=n?Array.from(new Set([].concat((0,N.Z)(o),(0,N.Z)(t)))):o.filter(function(e){return!t.includes(e)}),r.handleSelectChange(e,a),a})},r.onLeftItemSelectAll=function(e,t){return r.onItemSelectAll("left",e,t)},r.onRightItemSelectAll=function(e,t){return r.onItemSelectAll("right",e,t)},r.handleFilter=function(e,t){var n=r.props.onSearch,o=t.target.value;null==n||n(e,o)},r.handleLeftFilter=function(e){return r.handleFilter("left",e)},r.handleRightFilter=function(e){return r.handleFilter("right",e)},r.handleClear=function(e){var t=r.props.onSearch;null==t||t(e,"")},r.handleLeftClear=function(){return r.handleClear("left")},r.handleRightClear=function(){return r.handleClear("right")},r.onItemSelect=function(e,t,n){var o=r.state,a=o.sourceSelectedKeys,l=o.targetSelectedKeys,i="left"===e?(0,N.Z)(a):(0,N.Z)(l),c=i.indexOf(t);c>-1&&i.splice(c,1),n&&i.push(t),r.handleSelectChange(e,i),r.props.selectedKeys||r.setStateKeys(e,i)},r.onLeftItemSelect=function(e,t){return r.onItemSelect("left",e,t)},r.onRightItemSelect=function(e,t){return r.onItemSelect("right",e,t)},r.onRightItemRemove=function(e){var t=r.props,n=t.targetKeys,o=t.onChange;r.setStateKeys("right",[]),null==o||o((void 0===n?[]:n).filter(function(t){return!e.includes(t)}),"left",(0,N.Z)(e))},r.handleScroll=function(e,t){var n=r.props.onScroll;null==n||n(e,t)},r.handleLeftScroll=function(e){return r.handleScroll("left",e)},r.handleRightScroll=function(e){return r.handleScroll("right",e)},r.handleListStyle=function(e,t){return"function"==typeof e?e({direction:t}):e};var r,o=e.selectedKeys,a=void 0===o?[]:o,l=e.targetKeys,i=void 0===l?[]:l;return r.state={sourceSelectedKeys:a.filter(function(e){return!i.includes(e)}),targetSelectedKeys:a.filter(function(e){return i.includes(e)})},r}return(0,g.Z)(n,[{key:"getTitles",value:function(e){var t,n;return null!==(n=null!==(t=this.props.titles)&&void 0!==t?t:e.titles)&&void 0!==n?n:[]}},{key:"handleSelectChange",value:function(e,t){var n=this.state,r=n.sourceSelectedKeys,o=n.targetSelectedKeys,a=this.props.onSelectChange;a&&("left"===e?a(t,o):a(r,t))}},{key:"separateDataSource",value:function(){var e=this.props,t=e.dataSource,n=e.rowKey,r=e.targetKeys,o=void 0===r?[]:r,a=[],l=Array(o.length);return(void 0===t?[]:t).forEach(function(e){n&&(e=(0,m.Z)((0,m.Z)({},e),{key:n(e)}));var t=o.indexOf(e.key);-1!==t?l[t]=e:a.push(e)}),{leftDataSource:a,rightDataSource:l}}},{key:"render",value:function(){var e=this;return x.createElement(t9.Z,{componentName:"Transfer",defaultLocale:lT.Z.Transfer},function(t){return x.createElement(S.C,null,function(n){var r=n.getPrefixCls,o=n.renderEmpty,a=n.direction;return x.createElement(ne.aM.Consumer,null,function(n){var l,i=n.hasFeedback,c=n.status,u=e.props,s=u.prefixCls,d=u.className,f=u.disabled,p=u.operations,h=void 0===p?[]:p,g=u.showSearch,y=void 0!==g&&g,C=u.footer,Z=u.style,b=u.listStyle,E=void 0===b?{}:b,k=u.operationStyle,S=u.filterOption,N=u.render,P=u.children,O=u.showSelectAll,M=u.oneWay,R=u.pagination,T=u.status,D=r("transfer",s),L=e.getLocale(t,o||rM.Z),I=e.state,A=I.sourceSelectedKeys,H=I.targetSelectedKeys,z=(0,rA.F)(c,T),V=!P&&R,j=e.separateDataSource(),Y=j.leftDataSource,F=j.rightDataSource,W=H.length>0,K=A.length>0,_=w()(D,(l={},(0,v.Z)(l,"".concat(D,"-disabled"),f),(0,v.Z)(l,"".concat(D,"-customize-list"),!!P),(0,v.Z)(l,"".concat(D,"-rtl"),"rtl"===a),l),(0,rA.Z)(D,z,i),d),B=e.getTitles(L),U=e.props.selectAllLabels||[];return x.createElement("div",{className:_,style:Z},x.createElement(lF,(0,m.Z)({prefixCls:"".concat(D,"-list"),titleText:null==B?void 0:B[0],dataSource:Y,filterOption:S,style:e.handleListStyle(E,"left"),checkedKeys:A,handleFilter:e.handleLeftFilter,handleClear:e.handleLeftClear,onItemSelect:e.onLeftItemSelect,onItemSelectAll:e.onLeftItemSelectAll,render:N,showSearch:y,renderList:P,footer:C,onScroll:e.handleLeftScroll,disabled:f,direction:"rtl"===a?"right":"left",showSelectAll:O,selectAllLabel:U[0],pagination:V},L)),x.createElement(lW,{className:"".concat(D,"-operation"),rightActive:K,rightArrowText:h[0],moveToRight:e.moveToRight,leftActive:W,leftArrowText:h[1],moveToLeft:e.moveToLeft,style:k,disabled:f,direction:a,oneWay:M}),x.createElement(lF,(0,m.Z)({prefixCls:"".concat(D,"-list"),titleText:null==B?void 0:B[1],dataSource:F,filterOption:S,style:e.handleListStyle(E,"right"),checkedKeys:H,handleFilter:e.handleRightFilter,handleClear:e.handleRightClear,onItemSelect:e.onRightItemSelect,onItemSelectAll:e.onRightItemSelectAll,onItemRemove:e.onRightItemRemove,render:N,showSearch:y,renderList:P,footer:C,onScroll:e.handleRightScroll,disabled:f,direction:"rtl"===a?"left":"right",showSelectAll:O,selectAllLabel:U[1],showRemove:M,pagination:V},L)))})})})}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.selectedKeys,n=e.targetKeys;if(e.pagination,e.children,t){var r=n||[];return{sourceSelectedKeys:t.filter(function(e){return!r.includes(e)}),targetSelectedKeys:t.filter(function(e){return r.includes(e)})}}return null}}]),n}(x.Component);lK.List=lF,lK.Operation=lW,lK.Search=lV;var l_=lK,lB=n(88306),lU=n(31343),lX=x.createContext(null),lq=x.createContext(null);function lG(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}var lQ={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},l$=x.forwardRef(function(e,t){var n=(0,rn.lk)(),r=n.prefixCls,o=n.multiple,a=n.searchValue,l=n.toggleOpen,i=n.open,c=n.notFoundContent,u=x.useContext(lq),s=u.virtual,d=u.listHeight,f=u.listItemHeight,p=u.treeData,v=u.fieldNames,h=u.onSelect,g=u.dropdownMatchSelectWidth,y=u.treeExpandAction,C=x.useContext(lX),Z=C.checkable,b=C.checkedKeys,w=C.halfCheckedKeys,E=C.treeExpandedKeys,k=C.treeDefaultExpandAll,S=C.treeDefaultExpandedKeys,P=C.onTreeExpand,O=C.treeIcon,M=C.showTreeIcon,R=C.switcherIcon,T=C.treeLine,D=C.treeNodeFilterProp,L=C.loadData,I=C.treeLoadedKeys,A=C.treeMotion,H=C.onTreeLoad,z=C.keyEntities,V=x.useRef(),j=(0,th.Z)(function(){return p},[i,p],function(e,t){return t[0]&&e[1]!==t[1]}),Y=x.useMemo(function(){return Z?{checked:b,halfChecked:w}:null},[Z,b,w]);x.useEffect(function(){if(i&&!o&&b.length){var e;null===(e=V.current)||void 0===e||e.scrollTo({key:b[0]})}},[i]);var F=String(a).toLowerCase(),W=x.useState(S),_=(0,K.Z)(W,2),B=_[0],U=_[1],X=x.useState(null),q=(0,K.Z)(X,2),G=q[0],Q=q[1],$=x.useMemo(function(){return E?(0,N.Z)(E):a?G:B},[B,G,E,a]);x.useEffect(function(){if(a){var e;Q((e=[],!function t(n){n.forEach(function(n){var r=n[v.children];r&&(e.push(n[v.value]),t(r))})}(p),e))}},[a]);var J=function(e){e.preventDefault()},ee=function(e,t){var n=t.node;!(Z&&lG(n))&&(h(n.key,{selected:!b.includes(n.key)}),o||l(!1))},et=x.useState(null),en=(0,K.Z)(et,2),er=en[0],eo=en[1],ea=z[er];if(x.useImperativeHandle(t,function(){var e;return{scrollTo:null===(e=V.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case e_.Z.UP:case e_.Z.DOWN:case e_.Z.LEFT:case e_.Z.RIGHT:null===(t=V.current)||void 0===t||t.onKeyDown(e);break;case e_.Z.ENTER:if(ea){var n=(null==ea?void 0:ea.node)||{},r=n.selectable,o=n.value;!1!==r&&ee(null,{node:{key:er},selected:!b.includes(o)})}break;case e_.Z.ESC:l(!1)}},onKeyUp:function(){}}}),0===j.length)return x.createElement("div",{role:"listbox",className:"".concat(r,"-empty"),onMouseDown:J},c);var el={fieldNames:v};return I&&(el.loadedKeys=I),$&&(el.expandedKeys=$),x.createElement("div",{onMouseDown:J},ea&&i&&x.createElement("span",{style:lQ,"aria-live":"assertive"},ea.node.value),x.createElement(lU.Z,(0,m.Z)({ref:V,focusable:!1,prefixCls:"".concat(r,"-tree"),treeData:j,height:d,itemHeight:f,virtual:!1!==s&&!1!==g,multiple:o,icon:O,showIcon:M,switcherIcon:R,showLine:T,loadData:a?null:L,motion:A,activeKey:er,checkable:Z,checkStrictly:!0,checkedKeys:Y,selectedKeys:Z?[]:b,defaultExpandAll:k},el,{onActiveChange:eo,onSelect:ee,onCheck:ee,onExpand:function(e){U(e),Q(e),P&&P(e)},onLoad:H,filterTreeNode:function(e){return!!F&&String(e[D]).toLowerCase().includes(F)},expandAction:y})))});l$.displayName="OptionList";var lJ=function(){return null},l0="SHOW_ALL",l1="SHOW_PARENT",l2="SHOW_CHILD";function l4(e,t,n,r){var o=new Set(e);return t===l2?e.filter(function(e){var t=n[e];return!(t&&t.children&&t.children.some(function(e){var t=e.node;return o.has(t[r.value])})&&t.children.every(function(e){var t=e.node;return lG(t)||o.has(t[r.value])}))}):t===l1?e.filter(function(e){var t=n[e],r=t?t.parent:null;return!(r&&!lG(r.node)&&o.has(r.key))}):e}var l3=["children","value"];function l8(e){if(!e)return e;var t=(0,ec.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,eY.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}var l6=function(e){var t=x.useRef({valueLabels:new Map});return x.useMemo(function(){var n=t.current.valueLabels,r=new Map,o=e.map(function(e){var t,o=e.value,a=null!==(t=e.label)&&void 0!==t?t:n.get(o);return r.set(o,a),(0,ec.Z)((0,ec.Z)({},e),{},{label:a})});return t.current.valueLabels=r,[o]},[e])};function l5(e){var t=x.useRef();return t.current=e,x.useCallback(function(){return t.current.apply(t,arguments)},[])}var l7=function(e,t,n){var r=n.treeNodeFilterProp,o=n.filterTreeNode,a=n.fieldNames.children;return x.useMemo(function(){if(!t||!1===o)return e;if("function"==typeof o)n=o;else{var n,l=t.toUpperCase();n=function(e,t){return String(t[r]).toUpperCase().includes(l)}}return function e(r){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.map(function(r){var l=r[a],i=o||n(t,l8(r)),c=e(l||[],i);return i||c.length?(0,ec.Z)((0,ec.Z)({},r),{},(0,v.Z)({isLeaf:void 0},a,c)):null}).filter(function(e){return e})}(e)},[e,t,a,r,o])},l9=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"],ie=x.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=e.value,a=e.defaultValue,l=e.onChange,i=e.onSelect,c=e.onDeselect,u=e.searchValue,s=e.inputValue,d=e.onSearch,f=e.autoClearSearchValue,p=void 0===f||f,v=e.filterTreeNode,h=e.treeNodeFilterProp,g=void 0===h?"value":h,y=e.showCheckedStrategy,C=void 0===y?l2:y,b=e.treeNodeLabelProp,w=e.multiple,E=e.treeCheckable,k=e.treeCheckStrictly,S=e.labelInValue,P=e.fieldNames,O=e.treeDataSimpleMode,M=e.treeData,R=e.children,T=e.loadData,D=e.treeLoadedKeys,L=e.onTreeLoad,I=e.treeDefaultExpandAll,A=e.treeExpandedKeys,H=e.treeDefaultExpandedKeys,z=e.onTreeExpand,V=e.treeExpandAction,j=e.virtual,Y=e.listHeight,F=void 0===Y?200:Y,W=e.listItemHeight,_=void 0===W?20:W,B=e.onDropdownVisibleChange,U=e.dropdownMatchSelectWidth,X=void 0===U||U,q=e.treeLine,G=e.treeIcon,Q=e.showTreeIcon,$=e.switcherIcon,J=e.treeMotion,et=(0,nd.Z)(e,l9),en=(0,rr.ZP)(n),er=E&&!k,eo=E||k,ea=k||S,el=eo||w,ei=(0,em.Z)(a,{value:o}),eu=(0,K.Z)(ei,2),es=eu[0],ed=eu[1],ef=x.useMemo(function(){var e,t,n,r,o;return t=(e=P||{}).label,n=e.value,r=e.children,{_title:t?[t]:["title","label"],value:o=n||"value",key:o,children:r||"children"}},[JSON.stringify(P)]),ep=(0,em.Z)("",{value:void 0!==u?u:s,postState:function(e){return e||""}}),ev=(0,K.Z)(ep,2),eh=ev[0],eg=ev[1],ey=x.useMemo(function(){if(M){var e,t,n,r,o,a;return O?(t=(e=(0,ec.Z)({id:"id",pId:"pId",rootPId:null},!0!==O?O:{})).id,n=e.pId,r=e.rootPId,o={},a=[],M.map(function(e){var n=(0,ec.Z)({},e),r=n[t];return o[r]=n,n.key=n.key||r,n}).forEach(function(e){var t=e[n],l=o[t];l&&(l.children=l.children||[],l.children.push(e)),t!==r&&(l||null!==r)||a.push(e)}),a):M}return function e(t){return(0,ee.Z)(t).map(function(t){if(!x.isValidElement(t)||!t.type)return null;var n=t.key,r=t.props,o=r.children,a=r.value,l=(0,nd.Z)(r,l3),i=(0,ec.Z)({key:n,value:a},l),c=e(o);return c.length&&(i.children=c),i}).filter(function(e){return e})}(R)},[R,O,M]),eC=x.useMemo(function(){return(0,rm.I8)(ey,{fieldNames:ef,initWrapper:function(e){return(0,ec.Z)((0,ec.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var n=e.node[ef.value];t.valueEntities.set(n,e)}})},[ey,ef]),eZ=eC.keyEntities,eb=eC.valueEntities,ew=x.useCallback(function(e){var t=[],n=[];return e.forEach(function(e){eb.has(e)?n.push(e):t.push(e)}),{missingRawValues:t,existRawValues:n}},[eb]),eE=l7(ey,eh,{fieldNames:ef,treeNodeFilterProp:g,filterTreeNode:v}),ek=x.useCallback(function(e){if(e){if(b)return e[b];for(var t=ef._title,n=0;n1&&void 0!==arguments[1]?arguments[1]:"0",c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map(function(r,u){var s="".concat(o,"-").concat(u),d=r[a.value],f=n.includes(d),p=e(r[a.children]||[],s,f),m=x.createElement(lJ,r,p.map(function(e){return e.node}));if(t===d&&(l=m),f){var v={pos:s,node:m,children:p};return c||i.push(v),v}return null}).filter(function(e){return e})}(r),i.sort(function(e,t){var r=e.node.props.value,o=t.node.props.value;return n.indexOf(r)-n.indexOf(o)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,eY.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),l}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,eY.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),o)?i:i.map(function(e){return e.node})}})}(d,a,e,ey,f,ef),eo?d.checked=i:d.selected=i;var m=ea?s:s.map(function(e){return e.value});l(el?m:m[0],ea?null:s.map(function(e){return e.label}),d)}}),ej=x.useCallback(function(e,t){var n=t.selected,r=t.source,o=eZ[e],a=null==o?void 0:o.node,l=null!==(s=null==a?void 0:a[ef.value])&&void 0!==s?s:e;if(el){var u=n?[].concat((0,N.Z)(eT),[l]):eI.filter(function(e){return e!==l});if(er){var s,d,f=ew(u),p=f.missingRawValues,m=f.existRawValues.map(function(e){return eb.get(e).key});d=n?(0,ro.S)(m,!0,eZ).checkedKeys:(0,ro.S)(m,{checked:!1,halfCheckedKeys:eA},eZ).checkedKeys,u=[].concat((0,N.Z)(p),(0,N.Z)(d.map(function(e){return eZ[e].node[ef.value]})))}eV(u,{selected:n,triggerValue:l},r||"option")}else eV([l],{selected:!0,triggerValue:l},"option");n||!el?null==i||i(l,l8(a)):null==c||c(l,l8(a))},[ew,eb,eZ,ef,el,eT,eV,er,i,c,eI,eA]),eF=x.useCallback(function(e){if(B){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,eY.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),B(e,t)}},[B]),eW=l5(function(e,t){var n=e.map(function(e){return e.value});if("clear"===t.type){eV(n,{},"selection");return}t.values.length&&ej(t.values[0].value,{selected:!1,source:"selection"})}),eK=x.useMemo(function(){return{virtual:j,dropdownMatchSelectWidth:X,listHeight:F,listItemHeight:_,treeData:eE,fieldNames:ef,onSelect:ej,treeExpandAction:V}},[j,X,F,_,eE,ef,ej,V]),e_=x.useMemo(function(){return{checkable:eo,loadData:T,treeLoadedKeys:D,onTreeLoad:L,checkedKeys:eI,halfCheckedKeys:eA,treeDefaultExpandAll:I,treeExpandedKeys:A,treeDefaultExpandedKeys:H,onTreeExpand:z,treeIcon:G,treeMotion:J,showTreeIcon:Q,switcherIcon:$,treeLine:q,treeNodeFilterProp:g,keyEntities:eZ}},[eo,T,D,L,eI,eA,I,A,H,z,G,J,Q,$,q,g,eZ]);return x.createElement(lq.Provider,{value:eK},x.createElement(lX.Provider,{value:e_},x.createElement(rn.Ac,(0,m.Z)({ref:t},et,{id:en,prefixCls:void 0===r?"rc-tree-select":r,mode:el?"multiple":void 0,displayValues:ez,onDisplayValuesChange:eW,searchValue:eh,onSearch:function(e){eg(e),null==d||d(e)},OptionList:l$,emptyOptions:!ey.length,onDropdownVisibleChange:eF,dropdownMatchSelectWidth:X}))))});ie.TreeNode=lJ,ie.SHOW_ALL=l0,ie.SHOW_PARENT=l1,ie.SHOW_CHILD=l2;var it=n(23797),ir=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},io=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.size,l=e.disabled,i=e.bordered,c=e.className,u=e.treeCheckable,s=e.multiple,d=e.listHeight,f=e.listItemHeight,p=e.placement,h=e.notFoundContent,g=e.switcherIcon,y=e.treeLine,C=e.getPopupContainer,Z=e.dropdownClassName,b=e.popupClassName,E=e.treeIcon,N=e.transitionName,P=e.choiceTransitionName,O=e.status,M=e.showArrow,R=e.treeExpandAction,T=ir(e,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","popupClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]),D=x.useContext(S.E_),L=D.getPopupContainer,I=D.getPrefixCls,A=D.renderEmpty,H=D.direction,z=D.virtual,V=D.dropdownMatchSelectWidth,j=x.useContext(rT.Z),Y=I("select",o),F=I("select-tree",o),W=I("tree-select",o),K=(0,rD.ri)(Y,H),_=K.compactSize,B=K.compactItemClassnames,U=w()(b||Z,"".concat(W,"-dropdown"),(0,v.Z)({},"".concat(W,"-dropdown-rtl"),"rtl"===H)),X=!!(u||s),q=void 0!==M?M:T.loading||!X,G=(0,x.useContext)(ne.aM),Q=G.status,$=G.hasFeedback,J=G.isFormItemInput,ee=G.feedbackIcon,et=(0,rA.F)(Q,O),en=(0,rL.Z)((0,m.Z)((0,m.Z)({},T),{multiple:X,showArrow:q,hasFeedback:$,feedbackIcon:ee,prefixCls:Y})),er=en.suffixIcon,eo=en.removeIcon,ea=en.clearIcon;r=void 0!==h?h:(A||rM.Z)("Select");var el=(0,k.Z)(T,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),ei=_||a||j,ec=x.useContext(rR.Z),eu=w()(!o&&W,(n={},(0,v.Z)(n,"".concat(Y,"-lg"),"large"===ei),(0,v.Z)(n,"".concat(Y,"-sm"),"small"===ei),(0,v.Z)(n,"".concat(Y,"-rtl"),"rtl"===H),(0,v.Z)(n,"".concat(Y,"-borderless"),!(void 0===i||i)),(0,v.Z)(n,"".concat(Y,"-in-form-item"),J),n),(0,rA.Z)(Y,et,$),B,c),es=I();return x.createElement(ie,(0,m.Z)({virtual:z,dropdownMatchSelectWidth:V,disabled:null!=l?l:ec},el,{ref:t,prefixCls:Y,className:eu,listHeight:void 0===d?256:d,listItemHeight:void 0===f?26:f,treeCheckable:u?x.createElement("span",{className:"".concat(Y,"-tree-checkbox-inner")}):u,treeLine:!!y,inputIcon:er,multiple:s,placement:void 0!==p?p:"rtl"===H?"bottomRight":"bottomLeft",removeIcon:eo,clearIcon:ea,switcherIcon:function(e){return(0,it.Z)(F,g,y,e)},showTreeIcon:void 0!==E&&E,notFoundContent:r,getPopupContainer:C||L,treeMotion:null,dropdownClassName:U,choiceTransitionName:(0,rI.mL)(es,"",void 0===P?"":P),transitionName:(0,rI.mL)(es,(0,rI.q0)(p),N),showArrow:$||M,treeExpandAction:R}))});io.TreeNode=lJ,io.SHOW_ALL=l0,io.SHOW_PARENT=l1,io.SHOW_CHILD=l2;var ia=io,il=n(85818),ii=n(77916),ic="4.24.3",iu=null},65360:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(87462),o=n(97685),a=n(21640),l=n(94184),i=n.n(l),c=n(21770),u=n(15105),s=n(67294),d=n(53124),f=n(55241),p=n(96159),m=n(71577),v=n(6134),h=n(86743),g=n(23715),y=n(7734),C=n(81643),Z=function(e){var t=e.prefixCls,n=e.okButtonProps,o=e.cancelButtonProps,a=e.title,l=e.cancelText,i=e.okText,c=e.okType,u=e.icon,f=e.showCancel,p=void 0===f||f,Z=e.close,b=e.onConfirm,w=e.onCancel,E=s.useContext(d.E_).getPrefixCls;return s.createElement(g.Z,{componentName:"Popconfirm",defaultLocale:y.Z.Popconfirm},function(e){return s.createElement("div",{className:"".concat(t,"-inner-content")},s.createElement("div",{className:"".concat(t,"-message")},u&&s.createElement("span",{className:"".concat(t,"-message-icon")},u),s.createElement("div",{className:"".concat(t,"-message-title")},(0,C.Z)(a))),s.createElement("div",{className:"".concat(t,"-buttons")},p&&s.createElement(m.Z,(0,r.Z)({onClick:w,size:"small"},o),null!=l?l:e.cancelText),s.createElement(h.Z,{buttonProps:(0,r.Z)((0,r.Z)({size:"small"},(0,v.n)(c)),n),actionFn:b,close:Z,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},null!=i?i:e.okText)))})},b=void 0,w=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=s.forwardRef(function(e,t){var n=s.useContext(d.E_).getPrefixCls,l=(0,c.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),m=(0,o.Z)(l,2),v=m[0],h=m[1],g=function(t,n){var r,o;h(t,!0),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t,n),null===(o=e.onOpenChange)||void 0===o||o.call(e,t,n)},y=function(e){e.keyCode===u.Z.ESC&&v&&g(!1,e)},C=e.prefixCls,E=e.placement,k=e.trigger,x=e.okType,S=e.icon,N=void 0===S?s.createElement(a.Z,null):S,P=e.children,O=e.overlayClassName,M=w(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),R=n("popover",C),T=n("popconfirm",C),D=i()(T,O);return s.createElement(f.Z,(0,r.Z)({},M,{trigger:void 0===k?"click":k,prefixCls:R,placement:void 0===E?"top":E,onOpenChange:function(t){var n=e.disabled;void 0!==n&&n||g(t)},open:v,ref:t,overlayClassName:D,_overlay:s.createElement(Z,(0,r.Z)({okType:void 0===x?"primary":x,icon:N},e,{prefixCls:R,close:function(e){g(!1,e)},onConfirm:function(t){var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(b,t)},onCancel:function(t){var n;g(!1,t),null===(n=e.onCancel)||void 0===n||n.call(b,t)}}))}),(0,p.Tm)(P,{onKeyDown:function(e){var t,n;s.isValidElement(P)&&(null===(n=null==P?void 0:(t=P.props).onKeyDown)||void 0===n||n.call(t,e)),y(e)}}))})},55241:function(e,t,n){"use strict";var r=n(87462),o=n(67294),a=n(53124),l=n(94199),i=n(81643),c=n(33603),u=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},s=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,i.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,i.Z)(n))):null},d=o.forwardRef(function(e,t){var n=e.prefixCls,i=e.title,d=e.content,f=e._overlay,p=e.placement,m=e.trigger,v=e.mouseEnterDelay,h=e.mouseLeaveDelay,g=e.overlayStyle,y=u(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),C=o.useContext(a.E_).getPrefixCls,Z=C("popover",n),b=C();return o.createElement(l.Z,(0,r.Z)({placement:void 0===p?"top":p,trigger:void 0===m?"hover":m,mouseEnterDelay:void 0===v?.1:v,mouseLeaveDelay:void 0===h?.1:h,overlayStyle:void 0===g?{}:g},y,{prefixCls:Z,ref:t,overlay:f||o.createElement(s,{prefixCls:Z,title:i,content:d}),transitionName:(0,c.mL)(b,"zoom-big",y.transitionName)}))});t.Z=d},80973:function(e,t,n){var r=n(71169),o=function(e){var t="",n=Object.keys(e);return n.forEach(function(o,a){var l,i=e[o];l=o=r(o),/[height|width]$/.test(l)&&"number"==typeof i&&(i+="px"),!0===i?t+=o:!1===i?t+="not "+o:t+="("+o+": "+i+")",a"],"sourcesContent":["// This icon file is generated automatically.\nvar DownOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z\" } }] }, \"name\": \"down\", \"theme\": \"outlined\" };\nexport default DownOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DownOutlinedSvg from \"@ant-design/icons-svg/es/asn/DownOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DownOutlined = function DownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DownOutlinedSvg\n }));\n};\nDownOutlined.displayName = 'DownOutlined';\nexport default /*#__PURE__*/React.forwardRef(DownOutlined);","export var getRenderPropValue = function getRenderPropValue(propValue) {\n if (!propValue) {\n return null;\n }\n if (typeof propValue === 'function') {\n return propValue();\n }\n return propValue;\n};","import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext('default');\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n var children = _ref.children,\n size = _ref.size;\n return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n });\n};\nexport default SizeContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport SizeContext from './SizeContext';\nvar InternalAvatar = function InternalAvatar(props, ref) {\n var _classNames, _classNames2;\n var groupSize = React.useContext(SizeContext);\n var _React$useState = React.useState(1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n scale = _React$useState2[0],\n setScale = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n mounted = _React$useState4[0],\n setMounted = _React$useState4[1];\n var _React$useState5 = React.useState(true),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n isImgExist = _React$useState6[0],\n setIsImgExist = _React$useState6[1];\n var avatarNodeRef = React.useRef(null);\n var avatarChildrenRef = React.useRef(null);\n var avatarNodeMergeRef = composeRef(ref, avatarNodeRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var setScaleParam = function setScaleParam() {\n if (!avatarChildrenRef.current || !avatarNodeRef.current) {\n return;\n }\n var childrenWidth = avatarChildrenRef.current.offsetWidth; // offsetWidth avoid affecting be transform scale\n var nodeWidth = avatarNodeRef.current.offsetWidth;\n // denominator is 0 is no meaning\n if (childrenWidth !== 0 && nodeWidth !== 0) {\n var _props$gap = props.gap,\n gap = _props$gap === void 0 ? 4 : _props$gap;\n if (gap * 2 < nodeWidth) {\n setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n setIsImgExist(true);\n setScale(1);\n }, [props.src]);\n React.useEffect(function () {\n setScaleParam();\n }, [props.gap]);\n var handleImgLoadError = function handleImgLoadError() {\n var onError = props.onError;\n var errorFlag = onError ? onError() : undefined;\n if (errorFlag !== false) {\n setIsImgExist(false);\n }\n };\n var customizePrefixCls = props.prefixCls,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'default' : _props$size,\n src = props.src,\n srcSet = props.srcSet,\n icon = props.icon,\n className = props.className,\n alt = props.alt,\n draggable = props.draggable,\n children = props.children,\n crossOrigin = props.crossOrigin,\n others = __rest(props, [\"prefixCls\", \"shape\", \"size\", \"src\", \"srcSet\", \"icon\", \"className\", \"alt\", \"draggable\", \"children\", \"crossOrigin\"]);\n var size = customSize === 'default' ? groupSize : customSize;\n var needResponsive = Object.keys(_typeof(size) === 'object' ? size || {} : {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var responsiveSizeStyle = React.useMemo(function () {\n if (_typeof(size) !== 'object') {\n return {};\n }\n var currentBreakpoint = responsiveArray.find(function (screen) {\n return screens[screen];\n });\n var currentSize = size[currentBreakpoint];\n return currentSize ? {\n width: currentSize,\n height: currentSize,\n lineHeight: \"\".concat(currentSize, \"px\"),\n fontSize: icon ? currentSize / 2 : 18\n } : {};\n }, [screens, size]);\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Avatar', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n var prefixCls = getPrefixCls('avatar', customizePrefixCls);\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var hasImageElement = /*#__PURE__*/React.isValidElement(src);\n var classString = classNames(prefixCls, sizeCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-\").concat(shape), !!shape), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-image\"), hasImageElement || src && isImgExist), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon\"), !!icon), _classNames2), className);\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\"),\n fontSize: icon ? size / 2 : 18\n } : {};\n var childrenToRender;\n if (typeof src === 'string' && isImgExist) {\n childrenToRender = /*#__PURE__*/React.createElement(\"img\", {\n src: src,\n draggable: draggable,\n srcSet: srcSet,\n onError: handleImgLoadError,\n alt: alt,\n crossOrigin: crossOrigin\n });\n } else if (hasImageElement) {\n childrenToRender = src;\n } else if (icon) {\n childrenToRender = icon;\n } else if (mounted || scale !== 1) {\n var transformString = \"scale(\".concat(scale, \") translateX(-50%)\");\n var childrenStyle = {\n msTransform: transformString,\n WebkitTransform: transformString,\n transform: transformString\n };\n var sizeChildrenStyle = typeof size === 'number' ? {\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n childrenToRender = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: setScaleParam\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n ref: avatarChildrenRef,\n style: _extends(_extends({}, sizeChildrenStyle), childrenStyle)\n }, children));\n } else {\n childrenToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n style: {\n opacity: 0\n },\n ref: avatarChildrenRef\n }, children);\n }\n // The event is triggered twice from bubbling up the DOM tree.\n // see https://codesandbox.io/s/kind-snow-9lidz\n delete others.onError;\n delete others.gap;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, others, {\n style: _extends(_extends(_extends({}, sizeStyle), responsiveSizeStyle), others.style),\n className: classString,\n ref: avatarNodeMergeRef\n }), childrenToRender);\n};\nvar Avatar = /*#__PURE__*/React.forwardRef(InternalAvatar);\nif (process.env.NODE_ENV !== 'production') {\n Avatar.displayName = 'Avatar';\n}\nexport default Avatar;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport Avatar from './avatar';\nimport { SizeContextProvider } from './SizeContext';\nvar Group = function Group(props) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n maxCount = props.maxCount,\n maxStyle = props.maxStyle,\n size = props.size;\n var prefixCls = getPrefixCls('avatar-group', customizePrefixCls);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var children = props.children,\n _props$maxPopoverPlac = props.maxPopoverPlacement,\n maxPopoverPlacement = _props$maxPopoverPlac === void 0 ? 'top' : _props$maxPopoverPlac,\n _props$maxPopoverTrig = props.maxPopoverTrigger,\n maxPopoverTrigger = _props$maxPopoverTrig === void 0 ? 'hover' : _props$maxPopoverTrig;\n var childrenWithProps = toArray(children).map(function (child, index) {\n return cloneElement(child, {\n key: \"avatar-key-\".concat(index)\n });\n });\n var numOfChildren = childrenWithProps.length;\n if (maxCount && maxCount < numOfChildren) {\n var childrenShow = childrenWithProps.slice(0, maxCount);\n var childrenHidden = childrenWithProps.slice(maxCount, numOfChildren);\n childrenShow.push( /*#__PURE__*/React.createElement(Popover, {\n key: \"avatar-popover-key\",\n content: childrenHidden,\n trigger: maxPopoverTrigger,\n placement: maxPopoverPlacement,\n overlayClassName: \"\".concat(prefixCls, \"-popover\")\n }, /*#__PURE__*/React.createElement(Avatar, {\n style: maxStyle\n }, \"+\".concat(numOfChildren - maxCount))));\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenShow));\n }\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenWithProps));\n};\nexport default Group;","import InternalAvatar from './avatar';\nimport Group from './group';\nexport { Group };\nvar Avatar = InternalAvatar;\nAvatar.Group = Group;\nexport default Avatar;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport raf from \"rc-util/es/raf\";\nexport function throttleByAnimationFrame(fn) {\n var requestId;\n var later = function later(args) {\n return function () {\n requestId = null;\n fn.apply(void 0, _toConsumableArray(args));\n };\n };\n var throttled = function throttled() {\n if (requestId == null) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n requestId = raf(later(args));\n }\n };\n throttled.cancel = function () {\n raf.cancel(requestId);\n requestId = null;\n };\n return throttled;\n}\nexport function throttleByAnimationFrameDecorator() {\n return function throttle(target, key, descriptor) {\n var fn = descriptor.value;\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key)) {\n /* istanbul ignore next */\n return fn;\n }\n var boundFn = throttleByAnimationFrame(fn.bind(this));\n definingProperty = true;\n Object.defineProperty(this, key, {\n value: boundFn,\n configurable: true,\n writable: true\n });\n definingProperty = false;\n return boundFn;\n }\n };\n };\n}","import addEventListener from \"rc-util/es/Dom/addEventListener\";\nexport function getTargetRect(target) {\n return target !== window ? target.getBoundingClientRect() : {\n top: 0,\n bottom: window.innerHeight\n };\n}\nexport function getFixedTop(placeholderReact, targetRect, offsetTop) {\n if (offsetTop !== undefined && targetRect.top > placeholderReact.top - offsetTop) {\n return offsetTop + targetRect.top;\n }\n return undefined;\n}\nexport function getFixedBottom(placeholderReact, targetRect, offsetBottom) {\n if (offsetBottom !== undefined && targetRect.bottom < placeholderReact.bottom + offsetBottom) {\n var targetBottomOffset = window.innerHeight - targetRect.bottom;\n return offsetBottom + targetBottomOffset;\n }\n return undefined;\n}\n// ======================== Observer ========================\nvar TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load'];\nvar observerEntities = [];\nexport function getObserverEntities() {\n // Only used in test env. Can be removed if refactor.\n return observerEntities;\n}\nexport function addObserveTarget(target, affix) {\n if (!target) {\n return;\n }\n var entity = observerEntities.find(function (item) {\n return item.target === target;\n });\n if (entity) {\n entity.affixList.push(affix);\n } else {\n entity = {\n target: target,\n affixList: [affix],\n eventHandlers: {}\n };\n observerEntities.push(entity);\n // Add listener\n TRIGGER_EVENTS.forEach(function (eventName) {\n entity.eventHandlers[eventName] = addEventListener(target, eventName, function () {\n entity.affixList.forEach(function (targetAffix) {\n targetAffix.lazyUpdatePosition();\n });\n });\n });\n }\n}\nexport function removeObserveTarget(affix) {\n var observerEntity = observerEntities.find(function (oriObserverEntity) {\n var hasAffix = oriObserverEntity.affixList.some(function (item) {\n return item === affix;\n });\n if (hasAffix) {\n oriObserverEntity.affixList = oriObserverEntity.affixList.filter(function (item) {\n return item !== affix;\n });\n }\n return hasAffix;\n });\n if (observerEntity && observerEntity.affixList.length === 0) {\n observerEntities = observerEntities.filter(function (item) {\n return item !== observerEntity;\n });\n // Remove listener\n TRIGGER_EVENTS.forEach(function (eventName) {\n var handler = observerEntity.eventHandlers[eventName];\n if (handler && handler.remove) {\n handler.remove();\n }\n });\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { throttleByAnimationFrameDecorator } from '../_util/throttleByAnimationFrame';\nimport { addObserveTarget, getFixedBottom, getFixedTop, getTargetRect, removeObserveTarget } from './utils';\nfunction getDefaultTarget() {\n return typeof window !== 'undefined' ? window : null;\n}\nvar AffixStatus;\n(function (AffixStatus) {\n AffixStatus[AffixStatus[\"None\"] = 0] = \"None\";\n AffixStatus[AffixStatus[\"Prepare\"] = 1] = \"Prepare\";\n})(AffixStatus || (AffixStatus = {}));\nvar Affix = /*#__PURE__*/function (_React$Component) {\n _inherits(Affix, _React$Component);\n var _super = _createSuper(Affix);\n function Affix() {\n var _this;\n _classCallCheck(this, Affix);\n _this = _super.apply(this, arguments);\n _this.state = {\n status: AffixStatus.None,\n lastAffix: false,\n prevTarget: null\n };\n _this.getOffsetTop = function () {\n var _this$props = _this.props,\n offsetBottom = _this$props.offsetBottom,\n offsetTop = _this$props.offsetTop;\n return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop;\n };\n _this.getOffsetBottom = function () {\n return _this.props.offsetBottom;\n };\n _this.savePlaceholderNode = function (node) {\n _this.placeholderNode = node;\n };\n _this.saveFixedNode = function (node) {\n _this.fixedNode = node;\n };\n // =================== Measure ===================\n _this.measure = function () {\n var _this$state = _this.state,\n status = _this$state.status,\n lastAffix = _this$state.lastAffix;\n var onChange = _this.props.onChange;\n var targetFunc = _this.getTargetFunc();\n if (status !== AffixStatus.Prepare || !_this.fixedNode || !_this.placeholderNode || !targetFunc) {\n return;\n }\n var offsetTop = _this.getOffsetTop();\n var offsetBottom = _this.getOffsetBottom();\n var targetNode = targetFunc();\n if (!targetNode) {\n return;\n }\n var newState = {\n status: AffixStatus.None\n };\n var targetRect = getTargetRect(targetNode);\n var placeholderReact = getTargetRect(_this.placeholderNode);\n var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop);\n var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom);\n if (placeholderReact.top === 0 && placeholderReact.left === 0 && placeholderReact.width === 0 && placeholderReact.height === 0) {\n return;\n }\n if (fixedTop !== undefined) {\n newState.affixStyle = {\n position: 'fixed',\n top: fixedTop,\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n newState.placeholderStyle = {\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n } else if (fixedBottom !== undefined) {\n newState.affixStyle = {\n position: 'fixed',\n bottom: fixedBottom,\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n newState.placeholderStyle = {\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n }\n newState.lastAffix = !!newState.affixStyle;\n if (onChange && lastAffix !== newState.lastAffix) {\n onChange(newState.lastAffix);\n }\n _this.setState(newState);\n };\n // @ts-ignore TS6133\n _this.prepareMeasure = function () {\n // event param is used before. Keep compatible ts define here.\n _this.setState({\n status: AffixStatus.Prepare,\n affixStyle: undefined,\n placeholderStyle: undefined\n });\n // Test if `updatePosition` called\n if (process.env.NODE_ENV === 'test') {\n var onTestUpdatePosition = _this.props.onTestUpdatePosition;\n onTestUpdatePosition === null || onTestUpdatePosition === void 0 ? void 0 : onTestUpdatePosition();\n }\n };\n return _this;\n }\n _createClass(Affix, [{\n key: \"getTargetFunc\",\n value: function getTargetFunc() {\n var getTargetContainer = this.context.getTargetContainer;\n var target = this.props.target;\n if (target !== undefined) {\n return target;\n }\n return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget;\n }\n // Event handler\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n var targetFunc = this.getTargetFunc();\n if (targetFunc) {\n // [Legacy] Wait for parent component ref has its value.\n // We should use target as directly element instead of function which makes element check hard.\n this.timeout = setTimeout(function () {\n addObserveTarget(targetFunc(), _this2);\n // Mock Event object.\n _this2.updatePosition();\n });\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var prevTarget = this.state.prevTarget;\n var targetFunc = this.getTargetFunc();\n var newTarget = (targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc()) || null;\n if (prevTarget !== newTarget) {\n removeObserveTarget(this);\n if (newTarget) {\n addObserveTarget(newTarget, this);\n // Mock Event object.\n this.updatePosition();\n }\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n prevTarget: newTarget\n });\n }\n if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) {\n this.updatePosition();\n }\n this.measure();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.timeout);\n removeObserveTarget(this);\n this.updatePosition.cancel();\n // https://github.com/ant-design/ant-design/issues/22683\n this.lazyUpdatePosition.cancel();\n }\n // Handle realign logic\n }, {\n key: \"updatePosition\",\n value: function updatePosition() {\n this.prepareMeasure();\n }\n }, {\n key: \"lazyUpdatePosition\",\n value: function lazyUpdatePosition() {\n var targetFunc = this.getTargetFunc();\n var affixStyle = this.state.affixStyle;\n // Check position change before measure to make Safari smooth\n if (targetFunc && affixStyle) {\n var offsetTop = this.getOffsetTop();\n var offsetBottom = this.getOffsetBottom();\n var targetNode = targetFunc();\n if (targetNode && this.placeholderNode) {\n var targetRect = getTargetRect(targetNode);\n var placeholderReact = getTargetRect(this.placeholderNode);\n var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop);\n var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom);\n if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) {\n return;\n }\n }\n }\n // Directly call prepare measure since it's already throttled.\n this.prepareMeasure();\n }\n // =================== Render ===================\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n var _this$state2 = this.state,\n affixStyle = _this$state2.affixStyle,\n placeholderStyle = _this$state2.placeholderStyle;\n var _this$props2 = this.props,\n affixPrefixCls = _this$props2.affixPrefixCls,\n children = _this$props2.children;\n var className = classNames(_defineProperty({}, affixPrefixCls, !!affixStyle));\n var props = omit(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls']);\n // Omit this since `onTestUpdatePosition` only works on test.\n if (process.env.NODE_ENV === 'test') {\n props = omit(props, ['onTestUpdatePosition']);\n }\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize() {\n _this3.updatePosition();\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, props, {\n ref: this.savePlaceholderNode\n }), affixStyle && /*#__PURE__*/React.createElement(\"div\", {\n style: placeholderStyle,\n \"aria-hidden\": \"true\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n ref: this.saveFixedNode,\n style: affixStyle\n }, /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize() {\n _this3.updatePosition();\n }\n }, children))));\n }\n }]);\n return Affix;\n}(React.Component);\nAffix.contextType = ConfigContext;\n__decorate([throttleByAnimationFrameDecorator()], Affix.prototype, \"updatePosition\", null);\n__decorate([throttleByAnimationFrameDecorator()], Affix.prototype, \"lazyUpdatePosition\", null);\nvar AffixFC = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var affixPrefixCls = getPrefixCls('affix', customizePrefixCls);\n var affixProps = _extends(_extends({}, props), {\n affixPrefixCls: affixPrefixCls\n });\n return /*#__PURE__*/React.createElement(Affix, _extends({}, affixProps, {\n ref: ref\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n AffixFC.displayName = 'Affix';\n}\nexport default AffixFC;","import * as React from 'react';\nvar AnchorContext = /*#__PURE__*/React.createContext(undefined);\nexport default AnchorContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport * as React from 'react';\nimport Affix from '../affix';\nimport { ConfigContext } from '../config-provider';\nimport getScroll from '../_util/getScroll';\nimport scrollTo from '../_util/scrollTo';\nimport AnchorContext from './context';\nfunction getDefaultContainer() {\n return window;\n}\nfunction getOffsetTop(element, container) {\n if (!element.getClientRects().length) {\n return 0;\n }\n var rect = element.getBoundingClientRect();\n if (rect.width || rect.height) {\n if (container === window) {\n container = element.ownerDocument.documentElement;\n return rect.top - container.clientTop;\n }\n return rect.top - container.getBoundingClientRect().top;\n }\n return rect.top;\n}\nvar sharpMatcherRegx = /#([\\S ]+)$/;\nvar AnchorContent = function AnchorContent(props) {\n var _a;\n var prefixCls = props.anchorPrefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n style = props.style,\n offsetTop = props.offsetTop,\n _props$affix = props.affix,\n affix = _props$affix === void 0 ? true : _props$affix,\n _props$showInkInFixed = props.showInkInFixed,\n showInkInFixed = _props$showInkInFixed === void 0 ? false : _props$showInkInFixed,\n children = props.children,\n bounds = props.bounds,\n targetOffset = props.targetOffset,\n onClick = props.onClick,\n onChange = props.onChange,\n getContainer = props.getContainer,\n getCurrentAnchor = props.getCurrentAnchor;\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n links = _React$useState2[0],\n setLinks = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n activeLink = _React$useState4[0],\n setActiveLink = _React$useState4[1];\n var activeLinkRef = React.useRef(activeLink);\n var wrapperRef = React.useRef(null);\n var spanLinkNode = React.useRef(null);\n var animating = React.useRef(false);\n var _React$useContext = React.useContext(ConfigContext),\n direction = _React$useContext.direction,\n getTargetContainer = _React$useContext.getTargetContainer;\n var getCurrentContainer = (_a = getContainer !== null && getContainer !== void 0 ? getContainer : getTargetContainer) !== null && _a !== void 0 ? _a : getDefaultContainer;\n var dependencyListItem = JSON.stringify(links);\n var registerLink = React.useCallback(function (link) {\n if (!links.includes(link)) {\n setLinks(function (prev) {\n return [].concat(_toConsumableArray(prev), [link]);\n });\n }\n }, [dependencyListItem]);\n var unregisterLink = React.useCallback(function (link) {\n if (links.includes(link)) {\n setLinks(function (prev) {\n return prev.filter(function (i) {\n return i !== link;\n });\n });\n }\n }, [dependencyListItem]);\n var updateInk = function updateInk() {\n var _a;\n var linkNode = (_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.querySelector(\".\".concat(prefixCls, \"-link-title-active\"));\n if (linkNode && spanLinkNode.current) {\n spanLinkNode.current.style.top = \"\".concat(linkNode.offsetTop + linkNode.clientHeight / 2 - 4.5, \"px\");\n }\n };\n var getInternalCurrentAnchor = function getInternalCurrentAnchor(_links) {\n var _offsetTop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var _bounds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5;\n var linkSections = [];\n var container = getCurrentContainer();\n _links.forEach(function (link) {\n var sharpLinkMatch = sharpMatcherRegx.exec(link === null || link === void 0 ? void 0 : link.toString());\n if (!sharpLinkMatch) {\n return;\n }\n var target = document.getElementById(sharpLinkMatch[1]);\n if (target) {\n var top = getOffsetTop(target, container);\n if (top < _offsetTop + _bounds) {\n linkSections.push({\n link: link,\n top: top\n });\n }\n }\n });\n if (linkSections.length) {\n var maxSection = linkSections.reduce(function (prev, curr) {\n return curr.top > prev.top ? curr : prev;\n });\n return maxSection.link;\n }\n return '';\n };\n var setCurrentActiveLink = function setCurrentActiveLink(link) {\n if (activeLinkRef.current === link) {\n return;\n }\n // https://github.com/ant-design/ant-design/issues/30584\n var newLink = typeof getCurrentAnchor === 'function' ? getCurrentAnchor(link) : link;\n setActiveLink(newLink);\n activeLinkRef.current = newLink;\n // onChange should respect the original link (which may caused by\n // window scroll or user click), not the new link\n onChange === null || onChange === void 0 ? void 0 : onChange(link);\n };\n var handleScroll = React.useCallback(function () {\n if (animating.current) {\n return;\n }\n if (typeof getCurrentAnchor === 'function') {\n return;\n }\n var currentActiveLink = getInternalCurrentAnchor(links, targetOffset !== undefined ? targetOffset : offsetTop || 0, bounds);\n setCurrentActiveLink(currentActiveLink);\n }, [dependencyListItem, targetOffset, offsetTop]);\n var handleScrollTo = React.useCallback(function (link) {\n setCurrentActiveLink(link);\n var container = getCurrentContainer();\n var scrollTop = getScroll(container, true);\n var sharpLinkMatch = sharpMatcherRegx.exec(link);\n if (!sharpLinkMatch) {\n return;\n }\n var targetElement = document.getElementById(sharpLinkMatch[1]);\n if (!targetElement) {\n return;\n }\n var eleOffsetTop = getOffsetTop(targetElement, container);\n var y = scrollTop + eleOffsetTop;\n y -= targetOffset !== undefined ? targetOffset : offsetTop || 0;\n animating.current = true;\n scrollTo(y, {\n getContainer: getCurrentContainer,\n callback: function callback() {\n animating.current = false;\n }\n });\n }, [targetOffset, offsetTop]);\n var inkClass = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-ink-ball-visible\"), activeLink), \"\".concat(prefixCls, \"-ink-ball\"));\n var wrapperClass = classNames(\"\".concat(prefixCls, \"-wrapper\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var anchorClass = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-fixed\"), !affix && !showInkInFixed));\n var wrapperStyle = _extends({\n maxHeight: offsetTop ? \"calc(100vh - \".concat(offsetTop, \"px)\") : '100vh'\n }, style);\n var anchorContent = /*#__PURE__*/React.createElement(\"div\", {\n ref: wrapperRef,\n className: wrapperClass,\n style: wrapperStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: anchorClass\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-ink\")\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: inkClass,\n ref: spanLinkNode\n })), children));\n React.useEffect(function () {\n var scrollContainer = getCurrentContainer();\n var scrollEvent = addEventListener(scrollContainer, 'scroll', handleScroll);\n handleScroll();\n return function () {\n scrollEvent === null || scrollEvent === void 0 ? void 0 : scrollEvent.remove();\n };\n }, [dependencyListItem]);\n React.useEffect(function () {\n if (typeof getCurrentAnchor === 'function') {\n setCurrentActiveLink(getCurrentAnchor(activeLinkRef.current || ''));\n }\n }, [getCurrentAnchor]);\n React.useEffect(function () {\n updateInk();\n }, [getCurrentAnchor, dependencyListItem, activeLink]);\n var memoizedContextValue = React.useMemo(function () {\n return {\n registerLink: registerLink,\n unregisterLink: unregisterLink,\n scrollTo: handleScrollTo,\n activeLink: activeLink,\n onClick: onClick\n };\n }, [activeLink, onClick, handleScrollTo]);\n return /*#__PURE__*/React.createElement(AnchorContext.Provider, {\n value: memoizedContextValue\n }, affix ? /*#__PURE__*/React.createElement(Affix, {\n offsetTop: offsetTop,\n target: getCurrentContainer\n }, anchorContent) : anchorContent);\n};\nvar Anchor = function Anchor(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext2 = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext2.getPrefixCls;\n var anchorPrefixCls = getPrefixCls('anchor', customizePrefixCls);\n return /*#__PURE__*/React.createElement(AnchorContent, _extends({}, props, {\n anchorPrefixCls: anchorPrefixCls\n }));\n};\nexport default Anchor;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport AnchorContext from './context';\nvar AnchorLink = function AnchorLink(props) {\n var _props$href = props.href,\n href = _props$href === void 0 ? '#' : _props$href,\n title = props.title,\n customizePrefixCls = props.prefixCls,\n children = props.children,\n className = props.className,\n target = props.target;\n var context = React.useContext(AnchorContext);\n var _ref = context || {},\n registerLink = _ref.registerLink,\n unregisterLink = _ref.unregisterLink,\n scrollTo = _ref.scrollTo,\n onClick = _ref.onClick,\n activeLink = _ref.activeLink;\n React.useEffect(function () {\n registerLink === null || registerLink === void 0 ? void 0 : registerLink(href);\n return function () {\n unregisterLink === null || unregisterLink === void 0 ? void 0 : unregisterLink(href);\n };\n }, [href, registerLink, unregisterLink]);\n var handleClick = function handleClick(e) {\n onClick === null || onClick === void 0 ? void 0 : onClick(e, {\n title: title,\n href: href\n });\n scrollTo === null || scrollTo === void 0 ? void 0 : scrollTo(href);\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref2) {\n var getPrefixCls = _ref2.getPrefixCls;\n var prefixCls = getPrefixCls('anchor', customizePrefixCls);\n var active = activeLink === href;\n var wrapperClassName = classNames(\"\".concat(prefixCls, \"-link\"), className, _defineProperty({}, \"\".concat(prefixCls, \"-link-active\"), active));\n var titleClassName = classNames(\"\".concat(prefixCls, \"-link-title\"), _defineProperty({}, \"\".concat(prefixCls, \"-link-title-active\"), active));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: wrapperClassName\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: titleClassName,\n href: href,\n title: typeof title === 'string' ? title : '',\n target: target,\n onClick: handleClick\n }, title), children);\n });\n};\nexport default AnchorLink;","import InternalAnchor from './Anchor';\nimport AnchorLink from './AnchorLink';\nvar Anchor = InternalAnchor;\nAnchor.Link = AnchorLink;\nexport default Anchor;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * TODO: 4.0\n *\n * - Remove `dataSource`\n * - `size` not work with customizeInput\n * - CustomizeInput not feedback `ENTER` key since accessibility enhancement\n */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport Select from '../select';\nimport { isValidElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nvar Option = Select.Option;\nfunction isSelectOptionOrSelectOptGroup(child) {\n return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup);\n}\nvar AutoComplete = function AutoComplete(props, ref) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n children = props.children,\n dataSource = props.dataSource;\n var childNodes = toArray(children);\n // ============================= Input =============================\n var customizeInput;\n if (childNodes.length === 1 && isValidElement(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) {\n var _childNodes = _slicedToArray(childNodes, 1);\n customizeInput = _childNodes[0];\n }\n var getInputElement = customizeInput ? function () {\n return customizeInput;\n } : undefined;\n // ============================ Options ============================\n var optionChildren;\n // [Legacy] convert `children` or `dataSource` into option children\n if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) {\n optionChildren = children;\n } else {\n optionChildren = dataSource ? dataSource.map(function (item) {\n if (isValidElement(item)) {\n return item;\n }\n switch (_typeof(item)) {\n case 'string':\n return /*#__PURE__*/React.createElement(Option, {\n key: item,\n value: item\n }, item);\n case 'object':\n {\n var optionValue = item.value;\n return /*#__PURE__*/React.createElement(Option, {\n key: optionValue,\n value: optionValue\n }, item.text);\n }\n default:\n process.env.NODE_ENV !== \"production\" ? warning(false, 'AutoComplete', '`dataSource` is only supports type `string[] | Object[]`.') : void 0;\n return undefined;\n }\n }) : [];\n }\n process.env.NODE_ENV !== \"production\" ? warning(!('dataSource' in props), 'AutoComplete', '`dataSource` is deprecated, please use `options` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'AutoComplete', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!customizeInput || !('size' in props), 'AutoComplete', 'You need to control style self instead of setting `size` when using customize input.') : void 0;\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n return /*#__PURE__*/React.createElement(Select, _extends({\n ref: ref\n }, omit(props, ['dataSource']), {\n prefixCls: prefixCls,\n popupClassName: popupClassName || dropdownClassName,\n className: classNames(\"\".concat(prefixCls, \"-auto-complete\"), className),\n mode: Select.SECRET_COMBOBOX_MODE_DO_NOT_USE\n }, {\n // Internal api\n getInputElement: getInputElement\n }), optionChildren);\n });\n};\nvar RefAutoComplete = /*#__PURE__*/React.forwardRef(AutoComplete);\nRefAutoComplete.Option = Option;\nexport default RefAutoComplete;","// This icon file is generated automatically.\nvar VerticalAlignTopOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z\" } }] }, \"name\": \"vertical-align-top\", \"theme\": \"outlined\" };\nexport default VerticalAlignTopOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport VerticalAlignTopOutlinedSvg from \"@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar VerticalAlignTopOutlined = function VerticalAlignTopOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: VerticalAlignTopOutlinedSvg\n }));\n};\nVerticalAlignTopOutlined.displayName = 'VerticalAlignTopOutlined';\nexport default /*#__PURE__*/React.forwardRef(VerticalAlignTopOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport VerticalAlignTopOutlined from \"@ant-design/icons/es/icons/VerticalAlignTopOutlined\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport getScroll from '../_util/getScroll';\nimport { cloneElement } from '../_util/reactNode';\nimport scrollTo from '../_util/scrollTo';\nimport { throttleByAnimationFrame } from '../_util/throttleByAnimationFrame';\nvar BackTopContent = function BackTopContent(props) {\n var prefixCls = props.prefixCls,\n rootPrefixCls = props.rootPrefixCls,\n children = props.children,\n visible = props.visible;\n var defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, /*#__PURE__*/React.createElement(VerticalAlignTopOutlined, null)));\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n motionName: \"\".concat(rootPrefixCls, \"-fade\")\n }, function (_ref) {\n var motionClassName = _ref.className;\n return cloneElement(children || defaultElement, function (_ref2) {\n var className = _ref2.className;\n return {\n className: classNames(motionClassName, className)\n };\n });\n });\n};\nvar BackTop = function BackTop(props) {\n var _useMergedState = useMergedState(false, {\n value: props.visible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n visible = _useMergedState2[0],\n setVisible = _useMergedState2[1];\n var ref = /*#__PURE__*/React.createRef();\n var scrollEvent = React.useRef(null);\n var getDefaultTarget = function getDefaultTarget() {\n return ref.current && ref.current.ownerDocument ? ref.current.ownerDocument : window;\n };\n var handleScroll = throttleByAnimationFrame(function (e) {\n var _props$visibilityHeig = props.visibilityHeight,\n visibilityHeight = _props$visibilityHeig === void 0 ? 400 : _props$visibilityHeig;\n var scrollTop = getScroll(e.target, true);\n setVisible(scrollTop > visibilityHeight);\n });\n var bindScrollEvent = function bindScrollEvent() {\n var target = props.target;\n var getTarget = target || getDefaultTarget;\n var container = getTarget();\n scrollEvent.current = addEventListener(container, 'scroll', function (e) {\n handleScroll(e);\n });\n handleScroll({\n target: container\n });\n };\n React.useEffect(function () {\n bindScrollEvent();\n return function () {\n if (scrollEvent.current) {\n scrollEvent.current.remove();\n }\n handleScroll.cancel();\n };\n }, [props.target]);\n var scrollToTop = function scrollToTop(e) {\n var onClick = props.onClick,\n target = props.target,\n _props$duration = props.duration,\n duration = _props$duration === void 0 ? 450 : _props$duration;\n scrollTo(0, {\n getContainer: target || getDefaultTarget,\n duration: duration\n });\n if (typeof onClick === 'function') {\n onClick(e);\n }\n };\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className;\n var prefixCls = getPrefixCls('back-top', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var classString = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(props, ['prefixCls', 'className', 'children', 'visibilityHeight', 'target', 'visible']);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classString,\n onClick: scrollToTop,\n ref: ref\n }), /*#__PURE__*/React.createElement(BackTopContent, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n visible: visible\n }, props.children));\n};\nexport default /*#__PURE__*/React.memo(BackTop);","import { PresetColorTypes } from '../_util/colors';\n// eslint-disable-next-line import/prefer-default-export\nexport function isPresetColor(color) {\n return PresetColorTypes.includes(color);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { isPresetColor } from './utils';\nvar Ribbon = function Ribbon(_ref) {\n var _classNames;\n var className = _ref.className,\n customizePrefixCls = _ref.prefixCls,\n style = _ref.style,\n color = _ref.color,\n children = _ref.children,\n text = _ref.text,\n _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'end' : _ref$placement;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('ribbon', customizePrefixCls);\n var colorInPreset = isPresetColor(color);\n var ribbonCls = classNames(prefixCls, \"\".concat(prefixCls, \"-placement-\").concat(placement), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-color-\").concat(color), colorInPreset), _classNames), className);\n var colorStyle = {};\n var cornerColorStyle = {};\n if (color && !colorInPreset) {\n colorStyle.background = color;\n cornerColorStyle.color = color;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-wrapper\")\n }, children, /*#__PURE__*/React.createElement(\"div\", {\n className: ribbonCls,\n style: _extends(_extends({}, colorStyle), style)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, text), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-corner\"),\n style: cornerColorStyle\n })));\n};\nexport default Ribbon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction UnitNumber(_ref) {\n var prefixCls = _ref.prefixCls,\n value = _ref.value,\n current = _ref.current,\n _ref$offset = _ref.offset,\n offset = _ref$offset === void 0 ? 0 : _ref$offset;\n var style;\n if (offset) {\n style = {\n position: 'absolute',\n top: \"\".concat(offset, \"00%\"),\n left: 0\n };\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n style: style,\n className: classNames(\"\".concat(prefixCls, \"-only-unit\"), {\n current: current\n })\n }, value);\n}\nfunction getOffset(start, end, unit) {\n var index = start;\n var offset = 0;\n while ((index + 10) % 10 !== end) {\n index += unit;\n offset += unit;\n }\n return offset;\n}\nexport default function SingleNumber(props) {\n var prefixCls = props.prefixCls,\n originCount = props.count,\n originValue = props.value;\n var value = Number(originValue);\n var count = Math.abs(originCount);\n var _React$useState = React.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prevValue = _React$useState2[0],\n setPrevValue = _React$useState2[1];\n var _React$useState3 = React.useState(count),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n prevCount = _React$useState4[0],\n setPrevCount = _React$useState4[1];\n // ============================= Events =============================\n var onTransitionEnd = function onTransitionEnd() {\n setPrevValue(value);\n setPrevCount(count);\n };\n // Fallback if transition event not support\n React.useEffect(function () {\n var timeout = setTimeout(function () {\n onTransitionEnd();\n }, 1000);\n return function () {\n clearTimeout(timeout);\n };\n }, [value]);\n // ============================= Render =============================\n // Render unit list\n var unitNodes;\n var offsetStyle;\n if (prevValue === value || Number.isNaN(value) || Number.isNaN(prevValue)) {\n // Nothing to change\n unitNodes = [/*#__PURE__*/React.createElement(UnitNumber, _extends({}, props, {\n key: value,\n current: true\n }))];\n offsetStyle = {\n transition: 'none'\n };\n } else {\n unitNodes = [];\n // Fill basic number units\n var end = value + 10;\n var unitNumberList = [];\n for (var index = value; index <= end; index += 1) {\n unitNumberList.push(index);\n }\n // Fill with number unit nodes\n var prevIndex = unitNumberList.findIndex(function (n) {\n return n % 10 === prevValue;\n });\n unitNodes = unitNumberList.map(function (n, index) {\n var singleUnit = n % 10;\n return /*#__PURE__*/React.createElement(UnitNumber, _extends({}, props, {\n key: n,\n value: singleUnit,\n offset: index - prevIndex,\n current: index === prevIndex\n }));\n });\n // Calculate container offset value\n var unit = prevCount < count ? 1 : -1;\n offsetStyle = {\n transform: \"translateY(\".concat(-getOffset(prevValue, value, unit), \"00%)\")\n };\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-only\"),\n style: offsetStyle,\n onTransitionEnd: onTransitionEnd\n }, unitNodes);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport SingleNumber from './SingleNumber';\nvar ScrollNumber = function ScrollNumber(_a) {\n var customizePrefixCls = _a.prefixCls,\n count = _a.count,\n className = _a.className,\n motionClassName = _a.motionClassName,\n style = _a.style,\n title = _a.title,\n show = _a.show,\n _a$component = _a.component,\n component = _a$component === void 0 ? 'sup' : _a$component,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"count\", \"className\", \"motionClassName\", \"style\", \"title\", \"show\", \"component\", \"children\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('scroll-number', customizePrefixCls);\n // ============================ Render ============================\n var newProps = _extends(_extends({}, restProps), {\n 'data-show': show,\n style: style,\n className: classNames(prefixCls, className, motionClassName),\n title: title\n });\n // Only integer need motion\n var numberNodes = count;\n if (count && Number(count) % 1 === 0) {\n var numberList = String(count).split('');\n numberNodes = numberList.map(function (num, i) {\n return /*#__PURE__*/React.createElement(SingleNumber, {\n prefixCls: prefixCls,\n count: Number(count),\n value: num,\n // eslint-disable-next-line react/no-array-index-key\n key: numberList.length - i\n });\n });\n }\n // allow specify the border\n // mock border-color by box-shadow for compatible with old usage:\n // \n if (style && style.borderColor) {\n newProps.style = _extends(_extends({}, style), {\n boxShadow: \"0 0 0 1px \".concat(style.borderColor, \" inset\")\n });\n }\n if (children) {\n return cloneElement(children, function (oriProps) {\n return {\n className: classNames(\"\".concat(prefixCls, \"-custom-component\"), oriProps === null || oriProps === void 0 ? void 0 : oriProps.className, motionClassName)\n };\n });\n }\n return /*#__PURE__*/React.createElement(component, newProps, numberNodes);\n};\nexport default ScrollNumber;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport { useMemo, useRef } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport Ribbon from './Ribbon';\nimport ScrollNumber from './ScrollNumber';\nimport { isPresetColor } from './utils';\nvar Badge = function Badge(_a) {\n var _classNames, _classNames2;\n var customizePrefixCls = _a.prefixCls,\n customizeScrollNumberPrefixCls = _a.scrollNumberPrefixCls,\n children = _a.children,\n status = _a.status,\n text = _a.text,\n color = _a.color,\n _a$count = _a.count,\n count = _a$count === void 0 ? null : _a$count,\n _a$overflowCount = _a.overflowCount,\n overflowCount = _a$overflowCount === void 0 ? 99 : _a$overflowCount,\n _a$dot = _a.dot,\n dot = _a$dot === void 0 ? false : _a$dot,\n _a$size = _a.size,\n size = _a$size === void 0 ? 'default' : _a$size,\n title = _a.title,\n offset = _a.offset,\n style = _a.style,\n className = _a.className,\n _a$showZero = _a.showZero,\n showZero = _a$showZero === void 0 ? false : _a$showZero,\n restProps = __rest(_a, [\"prefixCls\", \"scrollNumberPrefixCls\", \"children\", \"status\", \"text\", \"color\", \"count\", \"overflowCount\", \"dot\", \"size\", \"title\", \"offset\", \"style\", \"className\", \"showZero\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('badge', customizePrefixCls);\n // ================================ Misc ================================\n var numberedDisplayCount = count > overflowCount ? \"\".concat(overflowCount, \"+\") : count;\n var isZero = numberedDisplayCount === '0' || numberedDisplayCount === 0;\n var ignoreCount = count === null || isZero;\n var hasStatus = (status !== null && status !== undefined || color !== null && color !== undefined) && ignoreCount;\n var showAsDot = dot && !isZero;\n var mergedCount = showAsDot ? '' : numberedDisplayCount;\n var isHidden = useMemo(function () {\n var isEmpty = mergedCount === null || mergedCount === undefined || mergedCount === '';\n return (isEmpty || isZero && !showZero) && !showAsDot;\n }, [mergedCount, isZero, showZero, showAsDot]);\n // Count should be cache in case hidden change it\n var countRef = useRef(count);\n if (!isHidden) {\n countRef.current = count;\n }\n var livingCount = countRef.current;\n // We need cache count since remove motion should not change count display\n var displayCountRef = useRef(mergedCount);\n if (!isHidden) {\n displayCountRef.current = mergedCount;\n }\n var displayCount = displayCountRef.current;\n // We will cache the dot status to avoid shaking on leaved motion\n var isDotRef = useRef(showAsDot);\n if (!isHidden) {\n isDotRef.current = showAsDot;\n }\n // =============================== Styles ===============================\n var mergedStyle = useMemo(function () {\n if (!offset) {\n return _extends({}, style);\n }\n var offsetStyle = {\n marginTop: offset[1]\n };\n if (direction === 'rtl') {\n offsetStyle.left = parseInt(offset[0], 10);\n } else {\n offsetStyle.right = -parseInt(offset[0], 10);\n }\n return _extends(_extends({}, offsetStyle), style);\n }, [direction, offset, style]);\n // =============================== Render ===============================\n // >>> Title\n var titleNode = title !== null && title !== void 0 ? title : typeof livingCount === 'string' || typeof livingCount === 'number' ? livingCount : undefined;\n // >>> Status Text\n var statusTextNode = isHidden || !text ? null : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-status-text\")\n }, text);\n // >>> Display Component\n var displayNode = !livingCount || _typeof(livingCount) !== 'object' ? undefined : cloneElement(livingCount, function (oriProps) {\n return {\n style: _extends(_extends({}, mergedStyle), oriProps.style)\n };\n });\n // Shared styles\n var statusCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-dot\"), hasStatus), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-\").concat(status), !!status), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-\").concat(color), isPresetColor(color)), _classNames));\n var statusStyle = {};\n if (color && !isPresetColor(color)) {\n statusStyle.background = color;\n }\n var badgeClassName = classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-status\"), hasStatus), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-not-a-wrapper\"), !children), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2), className);\n // \n if (!children && hasStatus) {\n var statusTextColor = mergedStyle.color;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: badgeClassName,\n style: mergedStyle\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: statusCls,\n style: statusStyle\n }), text && /*#__PURE__*/React.createElement(\"span\", {\n style: {\n color: statusTextColor\n },\n className: \"\".concat(prefixCls, \"-status-text\")\n }, text));\n }\n // }>\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: badgeClassName\n }), children, /*#__PURE__*/React.createElement(CSSMotion, {\n visible: !isHidden,\n motionName: \"\".concat(prefixCls, \"-zoom\"),\n motionAppear: false,\n motionDeadline: 1000\n }, function (_ref) {\n var _classNames3;\n var motionClassName = _ref.className;\n var scrollNumberPrefixCls = getPrefixCls('scroll-number', customizeScrollNumberPrefixCls);\n var isDot = isDotRef.current;\n var scrollNumberCls = classNames((_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(prefixCls, \"-dot\"), isDot), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-count\"), !isDot), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-count-sm\"), size === 'small'), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-multiple-words\"), !isDot && displayCount && displayCount.toString().length > 1), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-status-\").concat(status), !!status), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-status-\").concat(color), isPresetColor(color)), _classNames3));\n var scrollNumberStyle = _extends({}, mergedStyle);\n if (color && !isPresetColor(color)) {\n scrollNumberStyle = scrollNumberStyle || {};\n scrollNumberStyle.background = color;\n }\n return /*#__PURE__*/React.createElement(ScrollNumber, {\n prefixCls: scrollNumberPrefixCls,\n show: !isHidden,\n motionClassName: motionClassName,\n className: scrollNumberCls,\n count: displayCount,\n title: titleNode,\n style: scrollNumberStyle,\n key: \"scrollNumber\"\n }, displayNode);\n }), statusTextNode);\n};\nBadge.Ribbon = Ribbon;\nexport default Badge;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport * as React from 'react';\nimport warning from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport Dropdown from '../dropdown/dropdown';\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var customizePrefixCls = props.prefixCls,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '/' : _props$separator,\n children = props.children,\n menu = props.menu,\n overlay = props.overlay,\n dropdownProps = props.dropdownProps,\n restProps = __rest(props, [\"prefixCls\", \"separator\", \"children\", \"menu\", \"overlay\", \"dropdownProps\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('overlay' in props), 'Breadcrumb.Item', '`overlay` is deprecated. Please use `menu` instead.') : void 0;\n }\n /** If overlay is have Wrap a Dropdown */\n var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {\n if (menu || overlay) {\n return /*#__PURE__*/React.createElement(Dropdown, _extends({\n menu: menu,\n overlay: overlay,\n placement: \"bottom\"\n }, dropdownProps), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-overlay-link\")\n }, breadcrumbItem, /*#__PURE__*/React.createElement(DownOutlined, null)));\n }\n return breadcrumbItem;\n };\n var link;\n if ('href' in restProps) {\n link = /*#__PURE__*/React.createElement(\"a\", _extends({\n className: \"\".concat(prefixCls, \"-link\")\n }, restProps), children);\n } else {\n link = /*#__PURE__*/React.createElement(\"span\", _extends({\n className: \"\".concat(prefixCls, \"-link\")\n }, restProps), children);\n }\n // wrap to dropDown\n link = renderBreadcrumbNode(link);\n if (children !== undefined && children !== null) {\n return /*#__PURE__*/React.createElement(\"li\", null, link, separator && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-separator\")\n }, separator));\n }\n return null;\n};\nBreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;\nexport default BreadcrumbItem;","import * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {\n var children = _ref.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('breadcrumb');\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-separator\")\n }, children || '/');\n};\nBreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;\nexport default BreadcrumbSeparator;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Menu from '../menu';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport BreadcrumbItem from './BreadcrumbItem';\nimport BreadcrumbSeparator from './BreadcrumbSeparator';\nfunction getBreadcrumbName(route, params) {\n if (!route.breadcrumbName) {\n return null;\n }\n var paramsKeys = Object.keys(params).join('|');\n var name = route.breadcrumbName.replace(new RegExp(\":(\".concat(paramsKeys, \")\"), 'g'), function (replacement, key) {\n return params[key] || replacement;\n });\n return name;\n}\nfunction defaultItemRender(route, params, routes, paths) {\n var isLastItem = routes.indexOf(route) === routes.length - 1;\n var name = getBreadcrumbName(route, params);\n return isLastItem ? /*#__PURE__*/React.createElement(\"span\", null, name) : /*#__PURE__*/React.createElement(\"a\", {\n href: \"#/\".concat(paths.join('/'))\n }, name);\n}\nvar getPath = function getPath(path, params) {\n path = (path || '').replace(/^\\//, '');\n Object.keys(params).forEach(function (key) {\n path = path.replace(\":\".concat(key), params[key]);\n });\n return path;\n};\nvar addChildPath = function addChildPath(paths, childPath, params) {\n var originalPaths = _toConsumableArray(paths);\n var path = getPath(childPath || '', params);\n if (path) {\n originalPaths.push(path);\n }\n return originalPaths;\n};\nvar Breadcrumb = function Breadcrumb(_a) {\n var customizePrefixCls = _a.prefixCls,\n _a$separator = _a.separator,\n separator = _a$separator === void 0 ? '/' : _a$separator,\n style = _a.style,\n className = _a.className,\n routes = _a.routes,\n children = _a.children,\n _a$itemRender = _a.itemRender,\n itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender,\n _a$params = _a.params,\n params = _a$params === void 0 ? {} : _a$params,\n restProps = __rest(_a, [\"prefixCls\", \"separator\", \"style\", \"className\", \"routes\", \"children\", \"itemRender\", \"params\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var crumbs;\n var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);\n if (routes && routes.length > 0) {\n // generated by route\n var paths = [];\n crumbs = routes.map(function (route) {\n var path = getPath(route.path, params);\n if (path) {\n paths.push(path);\n }\n // generated overlay by route.children\n var overlay;\n if (route.children && route.children.length) {\n overlay = /*#__PURE__*/React.createElement(Menu, {\n items: route.children.map(function (child) {\n return {\n key: child.path || child.breadcrumbName,\n label: itemRender(child, params, routes, addChildPath(paths, child.path, params))\n };\n })\n });\n }\n var itemProps = {\n separator: separator\n };\n if (overlay) {\n itemProps.overlay = overlay;\n }\n return /*#__PURE__*/React.createElement(BreadcrumbItem, _extends({}, itemProps, {\n key: path || route.breadcrumbName\n }), itemRender(route, params, routes, paths));\n });\n } else if (children) {\n crumbs = toArray(children).map(function (element, index) {\n if (!element) {\n return element;\n }\n process.env.NODE_ENV !== \"production\" ? warning(element.type && (element.type.__ANT_BREADCRUMB_ITEM === true || element.type.__ANT_BREADCRUMB_SEPARATOR === true), 'Breadcrumb', \"Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children\") : void 0;\n return cloneElement(element, {\n separator: separator,\n key: index\n });\n });\n }\n var breadcrumbClassName = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(\"nav\", _extends({\n className: breadcrumbClassName,\n style: style\n }, restProps), /*#__PURE__*/React.createElement(\"ol\", null, crumbs));\n};\nBreadcrumb.Item = BreadcrumbItem;\nBreadcrumb.Separator = BreadcrumbSeparator;\nexport default Breadcrumb;","import Breadcrumb from './Breadcrumb';\nexport default Breadcrumb;","import moment from 'moment';\nimport { noteOnce } from \"rc-util/es/warning\";\nvar generateConfig = {\n // get\n getNow: function getNow() {\n return moment();\n },\n getFixedDate: function getFixedDate(string) {\n return moment(string, 'YYYY-MM-DD');\n },\n getEndDate: function getEndDate(date) {\n var clone = date.clone();\n return clone.endOf('month');\n },\n getWeekDay: function getWeekDay(date) {\n var clone = date.clone().locale('en_US');\n return clone.weekday() + clone.localeData().firstDayOfWeek();\n },\n getYear: function getYear(date) {\n return date.year();\n },\n getMonth: function getMonth(date) {\n return date.month();\n },\n getDate: function getDate(date) {\n return date.date();\n },\n getHour: function getHour(date) {\n return date.hour();\n },\n getMinute: function getMinute(date) {\n return date.minute();\n },\n getSecond: function getSecond(date) {\n return date.second();\n },\n // set\n addYear: function addYear(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'year');\n },\n addMonth: function addMonth(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'month');\n },\n addDate: function addDate(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'day');\n },\n setYear: function setYear(date, year) {\n var clone = date.clone();\n return clone.year(year);\n },\n setMonth: function setMonth(date, month) {\n var clone = date.clone();\n return clone.month(month);\n },\n setDate: function setDate(date, num) {\n var clone = date.clone();\n return clone.date(num);\n },\n setHour: function setHour(date, hour) {\n var clone = date.clone();\n return clone.hour(hour);\n },\n setMinute: function setMinute(date, minute) {\n var clone = date.clone();\n return clone.minute(minute);\n },\n setSecond: function setSecond(date, second) {\n var clone = date.clone();\n return clone.second(second);\n },\n // Compare\n isAfter: function isAfter(date1, date2) {\n return date1.isAfter(date2);\n },\n isValidate: function isValidate(date) {\n return date.isValid();\n },\n locale: {\n getWeekFirstDay: function getWeekFirstDay(locale) {\n var date = moment().locale(locale);\n return date.localeData().firstDayOfWeek();\n },\n getWeekFirstDate: function getWeekFirstDate(locale, date) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.weekday(0);\n },\n getWeek: function getWeek(locale, date) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.week();\n },\n getShortWeekDays: function getShortWeekDays(locale) {\n var date = moment().locale(locale);\n return date.localeData().weekdaysMin();\n },\n getShortMonths: function getShortMonths(locale) {\n var date = moment().locale(locale);\n return date.localeData().monthsShort();\n },\n format: function format(locale, date, _format) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.format(_format);\n },\n parse: function parse(locale, text, formats) {\n var fallbackFormatList = [];\n for (var i = 0; i < formats.length; i += 1) {\n var format = formats[i];\n var formatText = text;\n if (format.includes('wo') || format.includes('Wo')) {\n format = format.replace(/wo/g, 'w').replace(/Wo/g, 'W');\n var matchFormat = format.match(/[-YyMmDdHhSsWwGg]+/g);\n var matchText = formatText.match(/[-\\d]+/g);\n if (matchFormat && matchText) {\n format = matchFormat.join('');\n formatText = matchText.join('');\n } else {\n fallbackFormatList.push(format.replace(/o/g, ''));\n }\n }\n var date = moment(formatText, format, locale, true);\n if (date.isValid()) {\n return date;\n }\n }\n // Fallback to fuzzy matching, this should always not reach match or need fire a issue\n for (var _i = 0; _i < fallbackFormatList.length; _i += 1) {\n var _date = moment(text, fallbackFormatList[_i], locale, false);\n /* istanbul ignore next */\n if (_date.isValid()) {\n noteOnce(false, 'Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this.');\n return _date;\n }\n }\n return null;\n }\n }\n};\nexport default generateConfig;","import * as React from 'react';\nvar PanelContext = /*#__PURE__*/React.createContext({});\nexport default PanelContext;","import * as React from 'react';\nimport PanelContext from '../PanelContext';\nvar HIDDEN_STYLE = {\n visibility: 'hidden'\n};\nfunction Header(_ref) {\n var prefixCls = _ref.prefixCls,\n _ref$prevIcon = _ref.prevIcon,\n prevIcon = _ref$prevIcon === void 0 ? \"\\u2039\" : _ref$prevIcon,\n _ref$nextIcon = _ref.nextIcon,\n nextIcon = _ref$nextIcon === void 0 ? \"\\u203A\" : _ref$nextIcon,\n _ref$superPrevIcon = _ref.superPrevIcon,\n superPrevIcon = _ref$superPrevIcon === void 0 ? \"\\xAB\" : _ref$superPrevIcon,\n _ref$superNextIcon = _ref.superNextIcon,\n superNextIcon = _ref$superNextIcon === void 0 ? \"\\xBB\" : _ref$superNextIcon,\n onSuperPrev = _ref.onSuperPrev,\n onSuperNext = _ref.onSuperNext,\n onPrev = _ref.onPrev,\n onNext = _ref.onNext,\n children = _ref.children;\n var _React$useContext = React.useContext(PanelContext),\n hideNextBtn = _React$useContext.hideNextBtn,\n hidePrevBtn = _React$useContext.hidePrevBtn;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: prefixCls\n }, onSuperPrev && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onSuperPrev,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-super-prev-btn\"),\n style: hidePrevBtn ? HIDDEN_STYLE : {}\n }, superPrevIcon), onPrev && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onPrev,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-prev-btn\"),\n style: hidePrevBtn ? HIDDEN_STYLE : {}\n }, prevIcon), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-view\")\n }, children), onNext && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onNext,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-next-btn\"),\n style: hideNextBtn ? HIDDEN_STYLE : {}\n }, nextIcon), onSuperNext && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onSuperNext,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-super-next-btn\"),\n style: hideNextBtn ? HIDDEN_STYLE : {}\n }, superNextIcon));\n}\nexport default Header;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport { DECADE_DISTANCE_COUNT } from '.';\nimport PanelContext from '../../PanelContext';\nfunction DecadeHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n onPrevDecades = props.onPrevDecades,\n onNextDecades = props.onNextDecades;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / DECADE_DISTANCE_COUNT) * DECADE_DISTANCE_COUNT;\n var endYear = startYear + DECADE_DISTANCE_COUNT - 1;\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevDecades,\n onSuperNext: onNextDecades\n }), startYear, \"-\", endYear);\n}\nexport default DecadeHeader;","export function setTime(generateConfig, date, hour, minute, second) {\n var nextTime = generateConfig.setHour(date, hour);\n nextTime = generateConfig.setMinute(nextTime, minute);\n nextTime = generateConfig.setSecond(nextTime, second);\n return nextTime;\n}\nexport function setDateTime(generateConfig, date, defaultDate) {\n if (!defaultDate) {\n return date;\n }\n var newDate = date;\n newDate = generateConfig.setHour(newDate, generateConfig.getHour(defaultDate));\n newDate = generateConfig.setMinute(newDate, generateConfig.getMinute(defaultDate));\n newDate = generateConfig.setSecond(newDate, generateConfig.getSecond(defaultDate));\n return newDate;\n}\nexport function getLowerBoundTime(hour, minute, second, hourStep, minuteStep, secondStep) {\n var lowerBoundHour = Math.floor(hour / hourStep) * hourStep;\n if (lowerBoundHour < hour) {\n return [lowerBoundHour, 60 - minuteStep, 60 - secondStep];\n }\n var lowerBoundMinute = Math.floor(minute / minuteStep) * minuteStep;\n if (lowerBoundMinute < minute) {\n return [lowerBoundHour, lowerBoundMinute, 60 - secondStep];\n }\n var lowerBoundSecond = Math.floor(second / secondStep) * secondStep;\n return [lowerBoundHour, lowerBoundMinute, lowerBoundSecond];\n}\nexport function getLastDay(generateConfig, date) {\n var year = generateConfig.getYear(date);\n var month = generateConfig.getMonth(date) + 1;\n var endDate = generateConfig.getEndDate(generateConfig.getFixedDate(\"\".concat(year, \"-\").concat(month, \"-01\")));\n var lastDay = generateConfig.getDate(endDate);\n var monthShow = month < 10 ? \"0\".concat(month) : \"\".concat(month);\n return \"\".concat(year, \"-\").concat(monthShow, \"-\").concat(lastDay);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport PanelContext from '../PanelContext';\nimport { getLastDay } from '../utils/timeUtil';\nimport { getCellDateDisabled } from '../utils/dateUtil';\nexport default function PanelBody(_ref) {\n var prefixCls = _ref.prefixCls,\n disabledDate = _ref.disabledDate,\n onSelect = _ref.onSelect,\n picker = _ref.picker,\n rowNum = _ref.rowNum,\n colNum = _ref.colNum,\n prefixColumn = _ref.prefixColumn,\n rowClassName = _ref.rowClassName,\n baseDate = _ref.baseDate,\n getCellClassName = _ref.getCellClassName,\n getCellText = _ref.getCellText,\n getCellNode = _ref.getCellNode,\n getCellDate = _ref.getCellDate,\n generateConfig = _ref.generateConfig,\n titleCell = _ref.titleCell,\n headerCells = _ref.headerCells;\n var _React$useContext = React.useContext(PanelContext),\n onDateMouseEnter = _React$useContext.onDateMouseEnter,\n onDateMouseLeave = _React$useContext.onDateMouseLeave,\n mode = _React$useContext.mode;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n // =============================== Body ===============================\n var rows = [];\n for (var i = 0; i < rowNum; i += 1) {\n var row = [];\n var rowStartDate = void 0;\n var _loop = function _loop(j) {\n var _objectSpread2;\n var offset = i * colNum + j;\n var currentDate = getCellDate(baseDate, offset);\n var disabled = getCellDateDisabled({\n cellDate: currentDate,\n mode: mode,\n disabledDate: disabledDate,\n generateConfig: generateConfig\n });\n if (j === 0) {\n rowStartDate = currentDate;\n if (prefixColumn) {\n row.push(prefixColumn(rowStartDate));\n }\n }\n var title = titleCell && titleCell(currentDate);\n row.push( /*#__PURE__*/React.createElement(\"td\", {\n key: j,\n title: title,\n className: classNames(cellPrefixCls, _objectSpread((_objectSpread2 = {}, _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-disabled\"), disabled), _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-start\"), getCellText(currentDate) === 1 || picker === 'year' && Number(title) % 10 === 0), _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-end\"), title === getLastDay(generateConfig, currentDate) || picker === 'year' && Number(title) % 10 === 9), _objectSpread2), getCellClassName(currentDate))),\n onClick: function onClick() {\n if (!disabled) {\n onSelect(currentDate);\n }\n },\n onMouseEnter: function onMouseEnter() {\n if (!disabled && onDateMouseEnter) {\n onDateMouseEnter(currentDate);\n }\n },\n onMouseLeave: function onMouseLeave() {\n if (!disabled && onDateMouseLeave) {\n onDateMouseLeave(currentDate);\n }\n }\n }, getCellNode ? getCellNode(currentDate) : /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(cellPrefixCls, \"-inner\")\n }, getCellText(currentDate))));\n };\n for (var j = 0; j < colNum; j += 1) {\n _loop(j);\n }\n rows.push( /*#__PURE__*/React.createElement(\"tr\", {\n key: i,\n className: rowClassName && rowClassName(rowStartDate)\n }, row));\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body\")\n }, /*#__PURE__*/React.createElement(\"table\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, headerCells && /*#__PURE__*/React.createElement(\"thead\", null, /*#__PURE__*/React.createElement(\"tr\", null, headerCells)), /*#__PURE__*/React.createElement(\"tbody\", null, rows)));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { DECADE_DISTANCE_COUNT, DECADE_UNIT_DIFF } from '.';\nimport PanelBody from '../PanelBody';\nexport var DECADE_COL_COUNT = 3;\nvar DECADE_ROW_COUNT = 4;\nfunction DecadeBody(props) {\n var DECADE_UNIT_DIFF_DES = DECADE_UNIT_DIFF - 1;\n var prefixCls = props.prefixCls,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var yearNumber = generateConfig.getYear(viewDate);\n var decadeYearNumber = Math.floor(yearNumber / DECADE_UNIT_DIFF) * DECADE_UNIT_DIFF;\n var startDecadeYear = Math.floor(yearNumber / DECADE_DISTANCE_COUNT) * DECADE_DISTANCE_COUNT;\n var endDecadeYear = startDecadeYear + DECADE_DISTANCE_COUNT - 1;\n var baseDecadeYear = generateConfig.setYear(viewDate, startDecadeYear - Math.ceil((DECADE_COL_COUNT * DECADE_ROW_COUNT * DECADE_UNIT_DIFF - DECADE_DISTANCE_COUNT) / 2));\n var getCellClassName = function getCellClassName(date) {\n var _ref;\n var startDecadeNumber = generateConfig.getYear(date);\n var endDecadeNumber = startDecadeNumber + DECADE_UNIT_DIFF_DES;\n return _ref = {}, _defineProperty(_ref, \"\".concat(cellPrefixCls, \"-in-view\"), startDecadeYear <= startDecadeNumber && endDecadeNumber <= endDecadeYear), _defineProperty(_ref, \"\".concat(cellPrefixCls, \"-selected\"), startDecadeNumber === decadeYearNumber), _ref;\n };\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: DECADE_ROW_COUNT,\n colNum: DECADE_COL_COUNT,\n baseDate: baseDecadeYear,\n getCellText: function getCellText(date) {\n var startDecadeNumber = generateConfig.getYear(date);\n return \"\".concat(startDecadeNumber, \"-\").concat(startDecadeNumber + DECADE_UNIT_DIFF_DES);\n },\n getCellClassName: getCellClassName,\n getCellDate: function getCellDate(date, offset) {\n return generateConfig.addYear(date, offset * DECADE_UNIT_DIFF);\n }\n }));\n}\nexport default DecadeBody;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nvar scrollIds = new Map();\n/** Trigger when element is visible in view */\nexport function waitElementReady(element, callback) {\n var id;\n function tryOrNextFrame() {\n if (isVisible(element)) {\n callback();\n } else {\n id = raf(function () {\n tryOrNextFrame();\n });\n }\n }\n tryOrNextFrame();\n return function () {\n raf.cancel(id);\n };\n}\n/* eslint-disable no-param-reassign */\nexport function scrollTo(element, to, duration) {\n if (scrollIds.get(element)) {\n cancelAnimationFrame(scrollIds.get(element));\n }\n // jump to target if duration zero\n if (duration <= 0) {\n scrollIds.set(element, requestAnimationFrame(function () {\n element.scrollTop = to;\n }));\n return;\n }\n var difference = to - element.scrollTop;\n var perTick = difference / duration * 10;\n scrollIds.set(element, requestAnimationFrame(function () {\n element.scrollTop += perTick;\n if (element.scrollTop !== to) {\n scrollTo(element, to, duration - 10);\n }\n }));\n}\nexport function createKeyDownHandler(event, _ref) {\n var onLeftRight = _ref.onLeftRight,\n onCtrlLeftRight = _ref.onCtrlLeftRight,\n onUpDown = _ref.onUpDown,\n onPageUpDown = _ref.onPageUpDown,\n onEnter = _ref.onEnter;\n var which = event.which,\n ctrlKey = event.ctrlKey,\n metaKey = event.metaKey;\n switch (which) {\n case KeyCode.LEFT:\n if (ctrlKey || metaKey) {\n if (onCtrlLeftRight) {\n onCtrlLeftRight(-1);\n return true;\n }\n } else if (onLeftRight) {\n onLeftRight(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.RIGHT:\n if (ctrlKey || metaKey) {\n if (onCtrlLeftRight) {\n onCtrlLeftRight(1);\n return true;\n }\n } else if (onLeftRight) {\n onLeftRight(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.UP:\n if (onUpDown) {\n onUpDown(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.DOWN:\n if (onUpDown) {\n onUpDown(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.PAGE_UP:\n if (onPageUpDown) {\n onPageUpDown(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.PAGE_DOWN:\n if (onPageUpDown) {\n onPageUpDown(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.ENTER:\n if (onEnter) {\n onEnter();\n return true;\n }\n /* istanbul ignore next */\n break;\n }\n return false;\n}\n// ===================== Format =====================\nexport function getDefaultFormat(format, picker, showTime, use12Hours) {\n var mergedFormat = format;\n if (!mergedFormat) {\n switch (picker) {\n case 'time':\n mergedFormat = use12Hours ? 'hh:mm:ss a' : 'HH:mm:ss';\n break;\n case 'week':\n mergedFormat = 'gggg-wo';\n break;\n case 'month':\n mergedFormat = 'YYYY-MM';\n break;\n case 'quarter':\n mergedFormat = 'YYYY-[Q]Q';\n break;\n case 'year':\n mergedFormat = 'YYYY';\n break;\n default:\n mergedFormat = showTime ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD';\n }\n }\n return mergedFormat;\n}\nexport function getInputSize(picker, format, generateConfig) {\n var defaultSize = picker === 'time' ? 8 : 10;\n var length = typeof format === 'function' ? format(generateConfig.getNow()).length : format.length;\n return Math.max(defaultSize, length) + 2;\n}\nvar globalClickFunc = null;\nvar clickCallbacks = new Set();\nexport function addGlobalMouseDownEvent(callback) {\n if (!globalClickFunc && typeof window !== 'undefined' && window.addEventListener) {\n globalClickFunc = function globalClickFunc(e) {\n // Clone a new list to avoid repeat trigger events\n _toConsumableArray(clickCallbacks).forEach(function (queueFunc) {\n queueFunc(e);\n });\n };\n window.addEventListener('mousedown', globalClickFunc);\n }\n clickCallbacks.add(callback);\n return function () {\n clickCallbacks.delete(callback);\n if (clickCallbacks.size === 0) {\n window.removeEventListener('mousedown', globalClickFunc);\n globalClickFunc = null;\n }\n };\n}\nexport function getTargetFromEvent(e) {\n var target = e.target;\n // get target if in shadow dom\n if (e.composed && target.shadowRoot) {\n var _e$composedPath;\n return ((_e$composedPath = e.composedPath) === null || _e$composedPath === void 0 ? void 0 : _e$composedPath.call(e)[0]) || target;\n }\n return target;\n}\n// ====================== Mode ======================\nvar getYearNextMode = function getYearNextMode(next) {\n if (next === 'month' || next === 'date') {\n return 'year';\n }\n return next;\n};\nvar getMonthNextMode = function getMonthNextMode(next) {\n if (next === 'date') {\n return 'month';\n }\n return next;\n};\nvar getQuarterNextMode = function getQuarterNextMode(next) {\n if (next === 'month' || next === 'date') {\n return 'quarter';\n }\n return next;\n};\nvar getWeekNextMode = function getWeekNextMode(next) {\n if (next === 'date') {\n return 'week';\n }\n return next;\n};\nexport var PickerModeMap = {\n year: getYearNextMode,\n month: getMonthNextMode,\n quarter: getQuarterNextMode,\n week: getWeekNextMode,\n time: null,\n date: null\n};\nexport function elementsContains(elements, target) {\n return elements.some(function (ele) {\n return ele && ele.contains(target);\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport DecadeHeader from './DecadeHeader';\nimport DecadeBody, { DECADE_COL_COUNT } from './DecadeBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nexport var DECADE_UNIT_DIFF = 10;\nexport var DECADE_DISTANCE_COUNT = DECADE_UNIT_DIFF * 10;\nfunction DecadePanel(props) {\n var prefixCls = props.prefixCls,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n operationRef = props.operationRef,\n onSelect = props.onSelect,\n onPanelChange = props.onPanelChange;\n var panelPrefixCls = \"\".concat(prefixCls, \"-decade-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_UNIT_DIFF), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_DISTANCE_COUNT), 'key');\n },\n onUpDown: function onUpDown(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_UNIT_DIFF * DECADE_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange('year', viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onDecadesChange = function onDecadesChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff * DECADE_DISTANCE_COUNT);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n var onInternalSelect = function onInternalSelect(date) {\n onSelect(date, 'mouse');\n onPanelChange('year', date);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(DecadeHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevDecades: function onPrevDecades() {\n onDecadesChange(-1);\n },\n onNextDecades: function onNextDecades() {\n onDecadesChange(1);\n }\n })), /*#__PURE__*/React.createElement(DecadeBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: onInternalSelect\n })));\n}\nexport default DecadePanel;","import { DECADE_UNIT_DIFF } from '../panels/DecadePanel/index';\nexport var WEEK_DAY_COUNT = 7;\nexport function isNullEqual(value1, value2) {\n if (!value1 && !value2) {\n return true;\n }\n if (!value1 || !value2) {\n return false;\n }\n return undefined;\n}\nexport function isSameDecade(generateConfig, decade1, decade2) {\n var equal = isNullEqual(decade1, decade2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n var num1 = Math.floor(generateConfig.getYear(decade1) / 10);\n var num2 = Math.floor(generateConfig.getYear(decade2) / 10);\n return num1 === num2;\n}\nexport function isSameYear(generateConfig, year1, year2) {\n var equal = isNullEqual(year1, year2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getYear(year1) === generateConfig.getYear(year2);\n}\nexport function getQuarter(generateConfig, date) {\n var quota = Math.floor(generateConfig.getMonth(date) / 3);\n return quota + 1;\n}\nexport function isSameQuarter(generateConfig, quarter1, quarter2) {\n var equal = isNullEqual(quarter1, quarter2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return isSameYear(generateConfig, quarter1, quarter2) && getQuarter(generateConfig, quarter1) === getQuarter(generateConfig, quarter2);\n}\nexport function isSameMonth(generateConfig, month1, month2) {\n var equal = isNullEqual(month1, month2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return isSameYear(generateConfig, month1, month2) && generateConfig.getMonth(month1) === generateConfig.getMonth(month2);\n}\nexport function isSameDate(generateConfig, date1, date2) {\n var equal = isNullEqual(date1, date2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getYear(date1) === generateConfig.getYear(date2) && generateConfig.getMonth(date1) === generateConfig.getMonth(date2) && generateConfig.getDate(date1) === generateConfig.getDate(date2);\n}\nexport function isSameTime(generateConfig, time1, time2) {\n var equal = isNullEqual(time1, time2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getHour(time1) === generateConfig.getHour(time2) && generateConfig.getMinute(time1) === generateConfig.getMinute(time2) && generateConfig.getSecond(time1) === generateConfig.getSecond(time2);\n}\nexport function isSameWeek(generateConfig, locale, date1, date2) {\n var equal = isNullEqual(date1, date2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.locale.getWeek(locale, date1) === generateConfig.locale.getWeek(locale, date2);\n}\nexport function isEqual(generateConfig, value1, value2) {\n return isSameDate(generateConfig, value1, value2) && isSameTime(generateConfig, value1, value2);\n}\n/** Between in date but not equal of date */\nexport function isInRange(generateConfig, startDate, endDate, current) {\n if (!startDate || !endDate || !current) {\n return false;\n }\n return !isSameDate(generateConfig, startDate, current) && !isSameDate(generateConfig, endDate, current) && generateConfig.isAfter(current, startDate) && generateConfig.isAfter(endDate, current);\n}\nexport function getWeekStartDate(locale, generateConfig, value) {\n var weekFirstDay = generateConfig.locale.getWeekFirstDay(locale);\n var monthStartDate = generateConfig.setDate(value, 1);\n var startDateWeekDay = generateConfig.getWeekDay(monthStartDate);\n var alignStartDate = generateConfig.addDate(monthStartDate, weekFirstDay - startDateWeekDay);\n if (generateConfig.getMonth(alignStartDate) === generateConfig.getMonth(value) && generateConfig.getDate(alignStartDate) > 1) {\n alignStartDate = generateConfig.addDate(alignStartDate, -7);\n }\n return alignStartDate;\n}\nexport function getClosingViewDate(viewDate, picker, generateConfig) {\n var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n switch (picker) {\n case 'year':\n return generateConfig.addYear(viewDate, offset * 10);\n case 'quarter':\n case 'month':\n return generateConfig.addYear(viewDate, offset);\n default:\n return generateConfig.addMonth(viewDate, offset);\n }\n}\nexport function formatValue(value, _ref) {\n var generateConfig = _ref.generateConfig,\n locale = _ref.locale,\n format = _ref.format;\n return typeof format === 'function' ? format(value) : generateConfig.locale.format(locale.locale, value, format);\n}\nexport function parseValue(value, _ref2) {\n var generateConfig = _ref2.generateConfig,\n locale = _ref2.locale,\n formatList = _ref2.formatList;\n if (!value || typeof formatList[0] === 'function') {\n return null;\n }\n return generateConfig.locale.parse(locale.locale, value, formatList);\n}\n// eslint-disable-next-line consistent-return\nexport function getCellDateDisabled(_ref3) {\n var cellDate = _ref3.cellDate,\n mode = _ref3.mode,\n disabledDate = _ref3.disabledDate,\n generateConfig = _ref3.generateConfig;\n if (!disabledDate) return false;\n // Whether cellDate is disabled in range\n var getDisabledFromRange = function getDisabledFromRange(currentMode, start, end) {\n var current = start;\n while (current <= end) {\n var date = void 0;\n switch (currentMode) {\n case 'date':\n {\n date = generateConfig.setDate(cellDate, current);\n if (!disabledDate(date)) {\n return false;\n }\n break;\n }\n case 'month':\n {\n date = generateConfig.setMonth(cellDate, current);\n if (!getCellDateDisabled({\n cellDate: date,\n mode: 'month',\n generateConfig: generateConfig,\n disabledDate: disabledDate\n })) {\n return false;\n }\n break;\n }\n case 'year':\n {\n date = generateConfig.setYear(cellDate, current);\n if (!getCellDateDisabled({\n cellDate: date,\n mode: 'year',\n generateConfig: generateConfig,\n disabledDate: disabledDate\n })) {\n return false;\n }\n break;\n }\n }\n current += 1;\n }\n return true;\n };\n switch (mode) {\n case 'date':\n case 'week':\n {\n return disabledDate(cellDate);\n }\n case 'month':\n {\n var startDate = 1;\n var endDate = generateConfig.getDate(generateConfig.getEndDate(cellDate));\n return getDisabledFromRange('date', startDate, endDate);\n }\n case 'quarter':\n {\n var startMonth = Math.floor(generateConfig.getMonth(cellDate) / 3) * 3;\n var endMonth = startMonth + 2;\n return getDisabledFromRange('month', startMonth, endMonth);\n }\n case 'year':\n {\n return getDisabledFromRange('month', 0, 11);\n }\n case 'decade':\n {\n var year = generateConfig.getYear(cellDate);\n var startYear = Math.floor(year / DECADE_UNIT_DIFF) * DECADE_UNIT_DIFF;\n var endYear = startYear + DECADE_UNIT_DIFF - 1;\n return getDisabledFromRange('year', startYear, endYear);\n }\n }\n}","import * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction TimeHeader(props) {\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n value = props.value,\n format = props.format;\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, {\n prefixCls: headerPrefixCls\n }, value ? formatValue(value, {\n locale: locale,\n format: format,\n generateConfig: generateConfig\n }) : \"\\xA0\");\n}\nexport default TimeHeader;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { useRef, useLayoutEffect } from 'react';\nimport classNames from 'classnames';\nimport { scrollTo, waitElementReady } from '../../utils/uiUtil';\nimport PanelContext from '../../PanelContext';\nfunction TimeUnitColumn(props) {\n var prefixCls = props.prefixCls,\n units = props.units,\n onSelect = props.onSelect,\n value = props.value,\n active = props.active,\n hideDisabledOptions = props.hideDisabledOptions;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var _React$useContext = React.useContext(PanelContext),\n open = _React$useContext.open;\n var ulRef = useRef(null);\n var liRefs = useRef(new Map());\n var scrollRef = useRef();\n // `useLayoutEffect` here to avoid blink by duration is 0\n useLayoutEffect(function () {\n var li = liRefs.current.get(value);\n if (li && open !== false) {\n scrollTo(ulRef.current, li.offsetTop, 120);\n }\n }, [value]);\n useLayoutEffect(function () {\n if (open) {\n var li = liRefs.current.get(value);\n if (li) {\n scrollRef.current = waitElementReady(li, function () {\n scrollTo(ulRef.current, li.offsetTop, 0);\n });\n }\n }\n return function () {\n var _scrollRef$current;\n (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.call(scrollRef);\n };\n }, [open]);\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(\"\".concat(prefixCls, \"-column\"), _defineProperty({}, \"\".concat(prefixCls, \"-column-active\"), active)),\n ref: ulRef,\n style: {\n position: 'relative'\n }\n }, units.map(function (unit) {\n var _classNames2;\n if (hideDisabledOptions && unit.disabled) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n key: unit.value,\n ref: function ref(element) {\n liRefs.current.set(unit.value, element);\n },\n className: classNames(cellPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(cellPrefixCls, \"-disabled\"), unit.disabled), _defineProperty(_classNames2, \"\".concat(cellPrefixCls, \"-selected\"), value === unit.value), _classNames2)),\n onClick: function onClick() {\n if (unit.disabled) {\n return;\n }\n onSelect(unit.value);\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(cellPrefixCls, \"-inner\")\n }, unit.label));\n }));\n}\nexport default TimeUnitColumn;","export function leftPad(str, length) {\n var fill = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';\n var current = String(str);\n while (current.length < length) {\n current = \"\".concat(fill).concat(str);\n }\n return current;\n}\nexport var tuple = function tuple() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return args;\n};\nexport function toArray(val) {\n if (val === null || val === undefined) {\n return [];\n }\n return Array.isArray(val) ? val : [val];\n}\nexport default function getDataOrAriaProps(props) {\n var retProps = {};\n Object.keys(props).forEach(function (key) {\n if ((key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role' || key === 'name') && key.substr(0, 7) !== 'data-__') {\n retProps[key] = props[key];\n }\n });\n return retProps;\n}\nexport function getValue(values, index) {\n return values ? values[index] : null;\n}\nexport function updateValues(values, value, index) {\n var newValues = [getValue(values, 0), getValue(values, 1)];\n newValues[index] = typeof value === 'function' ? value(newValues[index]) : value;\n if (!newValues[0] && !newValues[1]) {\n return null;\n }\n return newValues;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport TimeUnitColumn from './TimeUnitColumn';\nimport { leftPad } from '../../utils/miscUtil';\nimport { setTime as utilSetTime } from '../../utils/timeUtil';\nfunction shouldUnitsUpdate(prevUnits, nextUnits) {\n if (prevUnits.length !== nextUnits.length) return true;\n // if any unit's disabled status is different, the units should be re-evaluted\n for (var i = 0; i < prevUnits.length; i += 1) {\n if (prevUnits[i].disabled !== nextUnits[i].disabled) return true;\n }\n return false;\n}\nfunction generateUnits(start, end, step, disabledUnits) {\n var units = [];\n for (var i = start; i <= end; i += step) {\n units.push({\n label: leftPad(i, 2),\n value: i,\n disabled: (disabledUnits || []).includes(i)\n });\n }\n return units;\n}\nfunction TimeBody(props) {\n var generateConfig = props.generateConfig,\n prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n activeColumnIndex = props.activeColumnIndex,\n value = props.value,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n use12Hours = props.use12Hours,\n _props$hourStep = props.hourStep,\n hourStep = _props$hourStep === void 0 ? 1 : _props$hourStep,\n _props$minuteStep = props.minuteStep,\n minuteStep = _props$minuteStep === void 0 ? 1 : _props$minuteStep,\n _props$secondStep = props.secondStep,\n secondStep = _props$secondStep === void 0 ? 1 : _props$secondStep,\n disabledHours = props.disabledHours,\n disabledMinutes = props.disabledMinutes,\n disabledSeconds = props.disabledSeconds,\n disabledTime = props.disabledTime,\n hideDisabledOptions = props.hideDisabledOptions,\n onSelect = props.onSelect;\n // Misc\n var columns = [];\n var contentPrefixCls = \"\".concat(prefixCls, \"-content\");\n var columnPrefixCls = \"\".concat(prefixCls, \"-time-panel\");\n var isPM;\n var originHour = value ? generateConfig.getHour(value) : -1;\n var hour = originHour;\n var minute = value ? generateConfig.getMinute(value) : -1;\n var second = value ? generateConfig.getSecond(value) : -1;\n // Disabled Time\n var now = generateConfig.getNow();\n var _React$useMemo = React.useMemo(function () {\n if (disabledTime) {\n var disabledConfig = disabledTime(now);\n return [disabledConfig.disabledHours, disabledConfig.disabledMinutes, disabledConfig.disabledSeconds];\n }\n return [disabledHours, disabledMinutes, disabledSeconds];\n }, [disabledHours, disabledMinutes, disabledSeconds, disabledTime, now]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n mergedDisabledHours = _React$useMemo2[0],\n mergedDisabledMinutes = _React$useMemo2[1],\n mergedDisabledSeconds = _React$useMemo2[2];\n // Set Time\n var setTime = function setTime(isNewPM, newHour, newMinute, newSecond) {\n var newDate = value || generateConfig.getNow();\n var mergedHour = Math.max(0, newHour);\n var mergedMinute = Math.max(0, newMinute);\n var mergedSecond = Math.max(0, newSecond);\n newDate = utilSetTime(generateConfig, newDate, !use12Hours || !isNewPM ? mergedHour : mergedHour + 12, mergedMinute, mergedSecond);\n return newDate;\n };\n // ========================= Unit =========================\n var rawHours = generateUnits(0, 23, hourStep, mergedDisabledHours && mergedDisabledHours());\n var memorizedRawHours = useMemo(function () {\n return rawHours;\n }, rawHours, shouldUnitsUpdate);\n // Should additional logic to handle 12 hours\n if (use12Hours) {\n isPM = hour >= 12; // -1 means should display AM\n hour %= 12;\n }\n var _React$useMemo3 = React.useMemo(function () {\n if (!use12Hours) {\n return [false, false];\n }\n var AMPMDisabled = [true, true];\n memorizedRawHours.forEach(function (_ref) {\n var disabled = _ref.disabled,\n hourValue = _ref.value;\n if (disabled) return;\n if (hourValue >= 12) {\n AMPMDisabled[1] = false;\n } else {\n AMPMDisabled[0] = false;\n }\n });\n return AMPMDisabled;\n }, [use12Hours, memorizedRawHours]),\n _React$useMemo4 = _slicedToArray(_React$useMemo3, 2),\n AMDisabled = _React$useMemo4[0],\n PMDisabled = _React$useMemo4[1];\n var hours = React.useMemo(function () {\n if (!use12Hours) return memorizedRawHours;\n return memorizedRawHours.filter(isPM ? function (hourMeta) {\n return hourMeta.value >= 12;\n } : function (hourMeta) {\n return hourMeta.value < 12;\n }).map(function (hourMeta) {\n var hourValue = hourMeta.value % 12;\n var hourLabel = hourValue === 0 ? '12' : leftPad(hourValue, 2);\n return _objectSpread(_objectSpread({}, hourMeta), {}, {\n label: hourLabel,\n value: hourValue\n });\n });\n }, [use12Hours, isPM, memorizedRawHours]);\n var minutes = generateUnits(0, 59, minuteStep, mergedDisabledMinutes && mergedDisabledMinutes(originHour));\n var seconds = generateUnits(0, 59, secondStep, mergedDisabledSeconds && mergedDisabledSeconds(originHour, minute));\n // ====================== Operations ======================\n operationRef.current = {\n onUpDown: function onUpDown(diff) {\n var column = columns[activeColumnIndex];\n if (column) {\n var valueIndex = column.units.findIndex(function (unit) {\n return unit.value === column.value;\n });\n var unitLen = column.units.length;\n for (var i = 1; i < unitLen; i += 1) {\n var nextUnit = column.units[(valueIndex + diff * i + unitLen) % unitLen];\n if (nextUnit.disabled !== true) {\n column.onSelect(nextUnit.value);\n break;\n }\n }\n }\n }\n };\n // ======================== Render ========================\n function addColumnNode(condition, node, columnValue, units, onColumnSelect) {\n if (condition !== false) {\n columns.push({\n node: /*#__PURE__*/React.cloneElement(node, {\n prefixCls: columnPrefixCls,\n value: columnValue,\n active: activeColumnIndex === columns.length,\n onSelect: onColumnSelect,\n units: units,\n hideDisabledOptions: hideDisabledOptions\n }),\n onSelect: onColumnSelect,\n value: columnValue,\n units: units\n });\n }\n }\n // Hour\n addColumnNode(showHour, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"hour\"\n }), hour, hours, function (num) {\n onSelect(setTime(isPM, num, minute, second), 'mouse');\n });\n // Minute\n addColumnNode(showMinute, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"minute\"\n }), minute, minutes, function (num) {\n onSelect(setTime(isPM, hour, num, second), 'mouse');\n });\n // Second\n addColumnNode(showSecond, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"second\"\n }), second, seconds, function (num) {\n onSelect(setTime(isPM, hour, minute, num), 'mouse');\n });\n // 12 Hours\n var PMIndex = -1;\n if (typeof isPM === 'boolean') {\n PMIndex = isPM ? 1 : 0;\n }\n addColumnNode(use12Hours === true, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"12hours\"\n }), PMIndex, [{\n label: 'AM',\n value: 0,\n disabled: AMDisabled\n }, {\n label: 'PM',\n value: 1,\n disabled: PMDisabled\n }], function (num) {\n onSelect(setTime(!!num, hour, minute, second), 'mouse');\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: contentPrefixCls\n }, columns.map(function (_ref2) {\n var node = _ref2.node;\n return node;\n }));\n}\nexport default TimeBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport TimeHeader from './TimeHeader';\nimport TimeBody from './TimeBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nvar countBoolean = function countBoolean(boolList) {\n return boolList.filter(function (bool) {\n return bool !== false;\n }).length;\n};\nfunction TimePanel(props) {\n var generateConfig = props.generateConfig,\n _props$format = props.format,\n format = _props$format === void 0 ? 'HH:mm:ss' : _props$format,\n prefixCls = props.prefixCls,\n active = props.active,\n operationRef = props.operationRef,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n _props$use12Hours = props.use12Hours,\n use12Hours = _props$use12Hours === void 0 ? false : _props$use12Hours,\n onSelect = props.onSelect,\n value = props.value;\n var panelPrefixCls = \"\".concat(prefixCls, \"-time-panel\");\n var bodyOperationRef = React.useRef();\n // ======================= Keyboard =======================\n var _React$useState = React.useState(-1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeColumnIndex = _React$useState2[0],\n setActiveColumnIndex = _React$useState2[1];\n var columnsCount = countBoolean([showHour, showMinute, showSecond, use12Hours]);\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n setActiveColumnIndex((activeColumnIndex + diff + columnsCount) % columnsCount);\n },\n onUpDown: function onUpDown(diff) {\n if (activeColumnIndex === -1) {\n setActiveColumnIndex(0);\n } else if (bodyOperationRef.current) {\n bodyOperationRef.current.onUpDown(diff);\n }\n },\n onEnter: function onEnter() {\n onSelect(value || generateConfig.getNow(), 'key');\n setActiveColumnIndex(-1);\n }\n });\n },\n onBlur: function onBlur() {\n setActiveColumnIndex(-1);\n }\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), active))\n }, /*#__PURE__*/React.createElement(TimeHeader, _extends({}, props, {\n format: format,\n prefixCls: prefixCls\n })), /*#__PURE__*/React.createElement(TimeBody, _extends({}, props, {\n prefixCls: prefixCls,\n activeColumnIndex: activeColumnIndex,\n operationRef: bodyOperationRef\n })));\n}\nexport default TimePanel;","import * as React from 'react';\nvar RangeContext = /*#__PURE__*/React.createContext({});\nexport default RangeContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { isInRange } from '../utils/dateUtil';\nimport { getValue } from '../utils/miscUtil';\nexport default function useCellClassName(_ref) {\n var cellPrefixCls = _ref.cellPrefixCls,\n generateConfig = _ref.generateConfig,\n rangedValue = _ref.rangedValue,\n hoverRangedValue = _ref.hoverRangedValue,\n isInView = _ref.isInView,\n isSameCell = _ref.isSameCell,\n offsetCell = _ref.offsetCell,\n today = _ref.today,\n value = _ref.value;\n function getClassName(currentDate) {\n var _ref2;\n var prevDate = offsetCell(currentDate, -1);\n var nextDate = offsetCell(currentDate, 1);\n var rangeStart = getValue(rangedValue, 0);\n var rangeEnd = getValue(rangedValue, 1);\n var hoverStart = getValue(hoverRangedValue, 0);\n var hoverEnd = getValue(hoverRangedValue, 1);\n var isRangeHovered = isInRange(generateConfig, hoverStart, hoverEnd, currentDate);\n function isRangeStart(date) {\n return isSameCell(rangeStart, date);\n }\n function isRangeEnd(date) {\n return isSameCell(rangeEnd, date);\n }\n var isHoverStart = isSameCell(hoverStart, currentDate);\n var isHoverEnd = isSameCell(hoverEnd, currentDate);\n var isHoverEdgeStart = (isRangeHovered || isHoverEnd) && (!isInView(prevDate) || isRangeEnd(prevDate));\n var isHoverEdgeEnd = (isRangeHovered || isHoverStart) && (!isInView(nextDate) || isRangeStart(nextDate));\n return _ref2 = {}, _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-in-view\"), isInView(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-in-range\"), isInRange(generateConfig, rangeStart, rangeEnd, currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start\"), isRangeStart(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end\"), isRangeEnd(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start-single\"), isRangeStart(currentDate) && !rangeEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end-single\"), isRangeEnd(currentDate) && !rangeStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start-near-hover\"), isRangeStart(currentDate) && (isSameCell(prevDate, hoverStart) || isInRange(generateConfig, hoverStart, hoverEnd, prevDate))), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end-near-hover\"), isRangeEnd(currentDate) && (isSameCell(nextDate, hoverEnd) || isInRange(generateConfig, hoverStart, hoverEnd, nextDate))), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover\"), isRangeHovered), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-start\"), isHoverStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-end\"), isHoverEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-start\"), isHoverEdgeStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-end\"), isHoverEdgeEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-start-near-range\"), isHoverEdgeStart && isSameCell(prevDate, rangeEnd)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-end-near-range\"), isHoverEdgeEnd && isSameCell(nextDate, rangeStart)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-today\"), isSameCell(today, currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-selected\"), isSameCell(value, currentDate)), _ref2;\n }\n return getClassName;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { WEEK_DAY_COUNT, getWeekStartDate, isSameDate, isSameMonth, formatValue } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nfunction DateBody(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n prefixColumn = props.prefixColumn,\n locale = props.locale,\n rowCount = props.rowCount,\n viewDate = props.viewDate,\n value = props.value,\n dateRender = props.dateRender;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var baseDate = getWeekStartDate(locale.locale, generateConfig, viewDate);\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var weekFirstDay = generateConfig.locale.getWeekFirstDay(locale.locale);\n var today = generateConfig.getNow();\n // ============================== Header ==============================\n var headerCells = [];\n var weekDaysLocale = locale.shortWeekDays || (generateConfig.locale.getShortWeekDays ? generateConfig.locale.getShortWeekDays(locale.locale) : []);\n if (prefixColumn) {\n headerCells.push( /*#__PURE__*/React.createElement(\"th\", {\n key: \"empty\",\n \"aria-label\": \"empty cell\"\n }));\n }\n for (var i = 0; i < WEEK_DAY_COUNT; i += 1) {\n headerCells.push( /*#__PURE__*/React.createElement(\"th\", {\n key: i\n }, weekDaysLocale[(i + weekFirstDay) % WEEK_DAY_COUNT]));\n }\n // =============================== Body ===============================\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n today: today,\n value: value,\n generateConfig: generateConfig,\n rangedValue: prefixColumn ? null : rangedValue,\n hoverRangedValue: prefixColumn ? null : hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameDate(generateConfig, current, target);\n },\n isInView: function isInView(date) {\n return isSameMonth(generateConfig, date, viewDate);\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addDate(date, offset);\n }\n });\n var getCellNode = dateRender ? function (date) {\n return dateRender(date, today);\n } : undefined;\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: rowCount,\n colNum: WEEK_DAY_COUNT,\n baseDate: baseDate,\n getCellNode: getCellNode,\n getCellText: generateConfig.getDate,\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addDate,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-MM-DD',\n generateConfig: generateConfig\n });\n },\n headerCells: headerCells\n }));\n}\nexport default DateBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction DateHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextMonth = props.onNextMonth,\n onPrevMonth = props.onPrevMonth,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick,\n onMonthClick = props.onMonthClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var monthsLocale = locale.shortMonths || (generateConfig.locale.getShortMonths ? generateConfig.locale.getShortMonths(locale.locale) : []);\n var month = generateConfig.getMonth(viewDate);\n // =================== Month & Year ===================\n var yearNode = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n key: \"year\",\n onClick: onYearClick,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n }));\n var monthNode = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n key: \"month\",\n onClick: onMonthClick,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-month-btn\")\n }, locale.monthFormat ? formatValue(viewDate, {\n locale: locale,\n format: locale.monthFormat,\n generateConfig: generateConfig\n }) : monthsLocale[month]);\n var monthYearNodes = locale.monthBeforeYear ? [monthNode, yearNode] : [yearNode, monthNode];\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onPrev: onPrevMonth,\n onNext: onNextMonth,\n onSuperNext: onNextYear\n }), monthYearNodes);\n}\nexport default DateHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport DateBody from './DateBody';\nimport DateHeader from './DateHeader';\nimport { WEEK_DAY_COUNT } from '../../utils/dateUtil';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nvar DATE_ROW_COUNT = 6;\nfunction DatePanel(props) {\n var prefixCls = props.prefixCls,\n _props$panelName = props.panelName,\n panelName = _props$panelName === void 0 ? 'date' : _props$panelName,\n keyboardConfig = props.keyboardConfig,\n active = props.active,\n operationRef = props.operationRef,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onViewDateChange = props.onViewDateChange,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-\").concat(panelName, \"-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, _objectSpread({\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addDate(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addDate(value || viewDate, diff * WEEK_DAY_COUNT), 'key');\n },\n onPageUpDown: function onPageUpDown(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff), 'key');\n }\n }, keyboardConfig));\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n var onMonthChange = function onMonthChange(diff) {\n var newDate = generateConfig.addMonth(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), active))\n }, /*#__PURE__*/React.createElement(DateHeader, _extends({}, props, {\n prefixCls: prefixCls,\n value: value,\n viewDate: viewDate\n // View Operation\n ,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onPrevMonth: function onPrevMonth() {\n onMonthChange(-1);\n },\n onNextMonth: function onNextMonth() {\n onMonthChange(1);\n },\n onMonthClick: function onMonthClick() {\n onPanelChange('month', viewDate);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(DateBody, _extends({}, props, {\n onSelect: function onSelect(date) {\n return _onSelect(date, 'mouse');\n },\n prefixCls: prefixCls,\n value: value,\n viewDate: viewDate,\n rowCount: DATE_ROW_COUNT\n })));\n}\nexport default DatePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport DatePanel from '../DatePanel';\nimport TimePanel from '../TimePanel';\nimport { tuple } from '../../utils/miscUtil';\nimport { setDateTime as setTime } from '../../utils/timeUtil';\nvar ACTIVE_PANEL = tuple('date', 'time');\nfunction DatetimePanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n generateConfig = props.generateConfig,\n value = props.value,\n defaultValue = props.defaultValue,\n disabledTime = props.disabledTime,\n showTime = props.showTime,\n onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-datetime-panel\");\n var _React$useState = React.useState(null),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activePanel = _React$useState2[0],\n setActivePanel = _React$useState2[1];\n var dateOperationRef = React.useRef({});\n var timeOperationRef = React.useRef({});\n var timeProps = _typeof(showTime) === 'object' ? _objectSpread({}, showTime) : {};\n // ======================= Keyboard =======================\n function getNextActive(offset) {\n var activeIndex = ACTIVE_PANEL.indexOf(activePanel) + offset;\n var nextActivePanel = ACTIVE_PANEL[activeIndex] || null;\n return nextActivePanel;\n }\n var onBlur = function onBlur(e) {\n if (timeOperationRef.current.onBlur) {\n timeOperationRef.current.onBlur(e);\n }\n setActivePanel(null);\n };\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n // Switch active panel\n if (event.which === KeyCode.TAB) {\n var nextActivePanel = getNextActive(event.shiftKey ? -1 : 1);\n setActivePanel(nextActivePanel);\n if (nextActivePanel) {\n event.preventDefault();\n }\n return true;\n }\n // Operate on current active panel\n if (activePanel) {\n var ref = activePanel === 'date' ? dateOperationRef : timeOperationRef;\n if (ref.current && ref.current.onKeyDown) {\n ref.current.onKeyDown(event);\n }\n return true;\n }\n // Switch first active panel if operate without panel\n if ([KeyCode.LEFT, KeyCode.RIGHT, KeyCode.UP, KeyCode.DOWN].includes(event.which)) {\n setActivePanel('date');\n return true;\n }\n return false;\n },\n onBlur: onBlur,\n onClose: onBlur\n };\n // ======================== Events ========================\n var onInternalSelect = function onInternalSelect(date, source) {\n var selectedDate = date;\n if (source === 'date' && !value && timeProps.defaultValue) {\n // Date with time defaultValue\n selectedDate = generateConfig.setHour(selectedDate, generateConfig.getHour(timeProps.defaultValue));\n selectedDate = generateConfig.setMinute(selectedDate, generateConfig.getMinute(timeProps.defaultValue));\n selectedDate = generateConfig.setSecond(selectedDate, generateConfig.getSecond(timeProps.defaultValue));\n } else if (source === 'time' && !value && defaultValue) {\n selectedDate = generateConfig.setYear(selectedDate, generateConfig.getYear(defaultValue));\n selectedDate = generateConfig.setMonth(selectedDate, generateConfig.getMonth(defaultValue));\n selectedDate = generateConfig.setDate(selectedDate, generateConfig.getDate(defaultValue));\n }\n if (onSelect) {\n onSelect(selectedDate, 'mouse');\n }\n };\n // ======================== Render ========================\n var disabledTimes = disabledTime ? disabledTime(value || null) : {};\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), activePanel))\n }, /*#__PURE__*/React.createElement(DatePanel, _extends({}, props, {\n operationRef: dateOperationRef,\n active: activePanel === 'date',\n onSelect: function onSelect(date) {\n onInternalSelect(setTime(generateConfig, date, !value && _typeof(showTime) === 'object' ? showTime.defaultValue : null), 'date');\n }\n })), /*#__PURE__*/React.createElement(TimePanel, _extends({}, props, {\n format: undefined\n }, timeProps, disabledTimes, {\n disabledTime: null,\n defaultValue: undefined,\n operationRef: timeOperationRef,\n active: activePanel === 'time',\n onSelect: function onSelect(date) {\n onInternalSelect(date, 'time');\n }\n })));\n}\nexport default DatetimePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport DatePanel from '../DatePanel';\nimport { isSameWeek } from '../../utils/dateUtil';\nfunction WeekPanel(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n value = props.value;\n // Render additional column\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var prefixColumn = function prefixColumn(date) {\n return /*#__PURE__*/React.createElement(\"td\", {\n key: \"week\",\n className: classNames(cellPrefixCls, \"\".concat(cellPrefixCls, \"-week\"))\n }, generateConfig.locale.getWeek(locale.locale, date));\n };\n // Add row className\n var rowPrefixCls = \"\".concat(prefixCls, \"-week-panel-row\");\n var rowClassName = function rowClassName(date) {\n return classNames(rowPrefixCls, _defineProperty({}, \"\".concat(rowPrefixCls, \"-selected\"), isSameWeek(generateConfig, locale.locale, value, date)));\n };\n return /*#__PURE__*/React.createElement(DatePanel, _extends({}, props, {\n panelName: \"week\",\n prefixColumn: prefixColumn,\n rowClassName: rowClassName,\n keyboardConfig: {\n onLeftRight: null\n }\n }));\n}\nexport default WeekPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction MonthHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onSuperNext: onNextYear\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onYearClick,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n })));\n}\nexport default MonthHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { formatValue, isSameMonth } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nexport var MONTH_COL_COUNT = 3;\nvar MONTH_ROW_COUNT = 4;\nfunction MonthBody(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n value = props.value,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig,\n monthCellRender = props.monthCellRender;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameMonth(generateConfig, current, target);\n },\n isInView: function isInView() {\n return true;\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addMonth(date, offset);\n }\n });\n var monthsLocale = locale.shortMonths || (generateConfig.locale.getShortMonths ? generateConfig.locale.getShortMonths(locale.locale) : []);\n var baseMonth = generateConfig.setMonth(viewDate, 0);\n var getCellNode = monthCellRender ? function (date) {\n return monthCellRender(date, locale);\n } : undefined;\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: MONTH_ROW_COUNT,\n colNum: MONTH_COL_COUNT,\n baseDate: baseMonth,\n getCellNode: getCellNode,\n getCellText: function getCellText(date) {\n return locale.monthFormat ? formatValue(date, {\n locale: locale,\n format: locale.monthFormat,\n generateConfig: generateConfig\n }) : monthsLocale[generateConfig.getMonth(date)];\n },\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addMonth,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-MM',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default MonthBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport MonthHeader from './MonthHeader';\nimport MonthBody, { MONTH_COL_COUNT } from './MonthBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nfunction MonthPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-month-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff * MONTH_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange('date', value || viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(MonthHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(MonthBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n _onSelect(date, 'mouse');\n onPanelChange('date', date);\n }\n })));\n}\nexport default MonthPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction QuarterHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onSuperNext: onNextYear\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onYearClick,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n })));\n}\nexport default QuarterHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { formatValue, isSameQuarter } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nexport var QUARTER_COL_COUNT = 4;\nvar QUARTER_ROW_COUNT = 1;\nfunction QuarterBody(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n value = props.value,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameQuarter(generateConfig, current, target);\n },\n isInView: function isInView() {\n return true;\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addMonth(date, offset * 3);\n }\n });\n var baseQuarter = generateConfig.setDate(generateConfig.setMonth(viewDate, 0), 1);\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: QUARTER_ROW_COUNT,\n colNum: QUARTER_COL_COUNT,\n baseDate: baseQuarter,\n getCellText: function getCellText(date) {\n return formatValue(date, {\n locale: locale,\n format: locale.quarterFormat || '[Q]Q',\n generateConfig: generateConfig\n });\n },\n getCellClassName: getCellClassName,\n getCellDate: function getCellDate(date, offset) {\n return generateConfig.addMonth(date, offset * 3);\n },\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-[Q]Q',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default QuarterBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport QuarterHeader from './QuarterHeader';\nimport QuarterBody from './QuarterBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nfunction QuarterPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-quarter-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff * 3), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(QuarterHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(QuarterBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n _onSelect(date, 'mouse');\n }\n })));\n}\nexport default QuarterPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport { YEAR_DECADE_COUNT } from '.';\nimport PanelContext from '../../PanelContext';\nfunction YearHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n onPrevDecade = props.onPrevDecade,\n onNextDecade = props.onNextDecade,\n onDecadeClick = props.onDecadeClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / YEAR_DECADE_COUNT) * YEAR_DECADE_COUNT;\n var endYear = startYear + YEAR_DECADE_COUNT - 1;\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevDecade,\n onSuperNext: onNextDecade\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onDecadeClick,\n className: \"\".concat(prefixCls, \"-decade-btn\")\n }, startYear, \"-\", endYear));\n}\nexport default YearHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { YEAR_DECADE_COUNT } from '.';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport { formatValue, isSameYear } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport PanelBody from '../PanelBody';\nexport var YEAR_COL_COUNT = 3;\nvar YEAR_ROW_COUNT = 4;\nfunction YearBody(props) {\n var prefixCls = props.prefixCls,\n value = props.value,\n viewDate = props.viewDate,\n locale = props.locale,\n generateConfig = props.generateConfig;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var yearPrefixCls = \"\".concat(prefixCls, \"-cell\");\n // =============================== Year ===============================\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / YEAR_DECADE_COUNT) * YEAR_DECADE_COUNT;\n var endYear = startYear + YEAR_DECADE_COUNT - 1;\n var baseYear = generateConfig.setYear(viewDate, startYear - Math.ceil((YEAR_COL_COUNT * YEAR_ROW_COUNT - YEAR_DECADE_COUNT) / 2));\n var isInView = function isInView(date) {\n var currentYearNumber = generateConfig.getYear(date);\n return startYear <= currentYearNumber && currentYearNumber <= endYear;\n };\n var getCellClassName = useCellClassName({\n cellPrefixCls: yearPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameYear(generateConfig, current, target);\n },\n isInView: isInView,\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addYear(date, offset);\n }\n });\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: YEAR_ROW_COUNT,\n colNum: YEAR_COL_COUNT,\n baseDate: baseYear,\n getCellText: generateConfig.getYear,\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addYear,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default YearBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport YearHeader from './YearHeader';\nimport YearBody, { YEAR_COL_COUNT } from './YearBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nexport var YEAR_DECADE_COUNT = 10;\nfunction YearPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n sourceMode = props.sourceMode,\n _onSelect = props.onSelect,\n onPanelChange = props.onPanelChange;\n var panelPrefixCls = \"\".concat(prefixCls, \"-year-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff * YEAR_DECADE_COUNT), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff * YEAR_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange(sourceMode === 'date' ? 'date' : 'month', value || viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onDecadeChange = function onDecadeChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff * 10);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(YearHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevDecade: function onPrevDecade() {\n onDecadeChange(-1);\n },\n onNextDecade: function onNextDecade() {\n onDecadeChange(1);\n },\n onDecadeClick: function onDecadeClick() {\n onPanelChange('decade', viewDate);\n }\n })), /*#__PURE__*/React.createElement(YearBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n onPanelChange(sourceMode === 'date' ? 'date' : 'month', date);\n _onSelect(date, 'mouse');\n }\n })));\n}\nexport default YearPanel;","import * as React from 'react';\nexport default function getExtraFooter(prefixCls, mode, renderExtraFooter) {\n if (!renderExtraFooter) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer-extra\")\n }, renderExtraFooter(mode));\n}","import * as React from 'react';\nexport default function getRanges(_ref) {\n var prefixCls = _ref.prefixCls,\n _ref$rangeList = _ref.rangeList,\n rangeList = _ref$rangeList === void 0 ? [] : _ref$rangeList,\n _ref$components = _ref.components,\n components = _ref$components === void 0 ? {} : _ref$components,\n needConfirmButton = _ref.needConfirmButton,\n onNow = _ref.onNow,\n onOk = _ref.onOk,\n okDisabled = _ref.okDisabled,\n showNow = _ref.showNow,\n locale = _ref.locale;\n var presetNode;\n var okNode;\n if (rangeList.length) {\n var Item = components.rangeItem || 'span';\n presetNode = /*#__PURE__*/React.createElement(React.Fragment, null, rangeList.map(function (_ref2) {\n var label = _ref2.label,\n onClick = _ref2.onClick,\n onMouseEnter = _ref2.onMouseEnter,\n onMouseLeave = _ref2.onMouseLeave;\n return /*#__PURE__*/React.createElement(\"li\", {\n key: label,\n className: \"\".concat(prefixCls, \"-preset\")\n }, /*#__PURE__*/React.createElement(Item, {\n onClick: onClick,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave\n }, label));\n }));\n }\n if (needConfirmButton) {\n var Button = components.button || 'button';\n if (onNow && !presetNode && showNow !== false) {\n presetNode = /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-now\")\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"\".concat(prefixCls, \"-now-btn\"),\n onClick: onNow\n }, locale.now));\n }\n okNode = needConfirmButton && /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-ok\")\n }, /*#__PURE__*/React.createElement(Button, {\n disabled: okDisabled,\n onClick: onOk\n }, locale.ok));\n }\n if (!presetNode && !okNode) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-ranges\")\n }, presetNode, okNode);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * Logic:\n * When `mode` === `picker`,\n * click will trigger `onSelect` (if value changed trigger `onChange` also).\n * Panel change will not trigger `onSelect` but trigger `onPanelChange`\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport TimePanel from './panels/TimePanel';\nimport DatetimePanel from './panels/DatetimePanel';\nimport DatePanel from './panels/DatePanel';\nimport WeekPanel from './panels/WeekPanel';\nimport MonthPanel from './panels/MonthPanel';\nimport QuarterPanel from './panels/QuarterPanel';\nimport YearPanel from './panels/YearPanel';\nimport DecadePanel from './panels/DecadePanel';\nimport { isEqual } from './utils/dateUtil';\nimport PanelContext from './PanelContext';\nimport { PickerModeMap } from './utils/uiUtil';\nimport RangeContext from './RangeContext';\nimport getExtraFooter from './utils/getExtraFooter';\nimport getRanges from './utils/getRanges';\nimport { getLowerBoundTime, setDateTime, setTime } from './utils/timeUtil';\nfunction PickerPanel(props) {\n var _classNames;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n className = props.className,\n style = props.style,\n locale = props.locale,\n generateConfig = props.generateConfig,\n value = props.value,\n defaultValue = props.defaultValue,\n pickerValue = props.pickerValue,\n defaultPickerValue = props.defaultPickerValue,\n disabledDate = props.disabledDate,\n mode = props.mode,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n _props$tabIndex = props.tabIndex,\n tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,\n showNow = props.showNow,\n showTime = props.showTime,\n showToday = props.showToday,\n renderExtraFooter = props.renderExtraFooter,\n hideHeader = props.hideHeader,\n onSelect = props.onSelect,\n onChange = props.onChange,\n onPanelChange = props.onPanelChange,\n onMouseDown = props.onMouseDown,\n onPickerValueChange = props.onPickerValueChange,\n _onOk = props.onOk,\n components = props.components,\n direction = props.direction,\n _props$hourStep = props.hourStep,\n hourStep = _props$hourStep === void 0 ? 1 : _props$hourStep,\n _props$minuteStep = props.minuteStep,\n minuteStep = _props$minuteStep === void 0 ? 1 : _props$minuteStep,\n _props$secondStep = props.secondStep,\n secondStep = _props$secondStep === void 0 ? 1 : _props$secondStep;\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n var isHourStepValid = 24 % hourStep === 0;\n var isMinuteStepValid = 60 % minuteStep === 0;\n var isSecondStepValid = 60 % secondStep === 0;\n if (process.env.NODE_ENV !== 'production') {\n warning(!value || generateConfig.isValidate(value), 'Invalidate date pass to `value`.');\n warning(!value || generateConfig.isValidate(value), 'Invalidate date pass to `defaultValue`.');\n warning(isHourStepValid, \"`hourStep` \".concat(hourStep, \" is invalid. It should be a factor of 24.\"));\n warning(isMinuteStepValid, \"`minuteStep` \".concat(minuteStep, \" is invalid. It should be a factor of 60.\"));\n warning(isSecondStepValid, \"`secondStep` \".concat(secondStep, \" is invalid. It should be a factor of 60.\"));\n }\n // ============================ State =============================\n var panelContext = React.useContext(PanelContext);\n var operationRef = panelContext.operationRef,\n panelDivRef = panelContext.panelRef,\n onContextSelect = panelContext.onSelect,\n hideRanges = panelContext.hideRanges,\n defaultOpenValue = panelContext.defaultOpenValue;\n var _React$useContext = React.useContext(RangeContext),\n inRange = _React$useContext.inRange,\n panelPosition = _React$useContext.panelPosition,\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var panelRef = React.useRef({});\n // Handle init logic\n var initRef = React.useRef(true);\n // Value\n var _useMergedState = useMergedState(null, {\n value: value,\n defaultValue: defaultValue,\n postState: function postState(val) {\n if (!val && defaultOpenValue && picker === 'time') {\n return defaultOpenValue;\n }\n return val;\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setInnerValue = _useMergedState2[1];\n // View date control\n var _useMergedState3 = useMergedState(null, {\n value: pickerValue,\n defaultValue: defaultPickerValue || mergedValue,\n postState: function postState(date) {\n var now = generateConfig.getNow();\n if (!date) {\n return now;\n }\n // When value is null and set showTime\n if (!mergedValue && showTime) {\n var defaultDateObject = _typeof(showTime) === 'object' ? showTime.defaultValue : defaultValue;\n return setDateTime(generateConfig, Array.isArray(date) ? date[0] : date, defaultDateObject || now);\n }\n return Array.isArray(date) ? date[0] : date;\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n viewDate = _useMergedState4[0],\n setInnerViewDate = _useMergedState4[1];\n var setViewDate = function setViewDate(date) {\n setInnerViewDate(date);\n if (onPickerValueChange) {\n onPickerValueChange(date);\n }\n };\n // Panel control\n var getInternalNextMode = function getInternalNextMode(nextMode) {\n var getNextMode = PickerModeMap[picker];\n if (getNextMode) {\n return getNextMode(nextMode);\n }\n return nextMode;\n };\n // Save panel is changed from which panel\n var _useMergedState5 = useMergedState(function () {\n if (picker === 'time') {\n return 'time';\n }\n return getInternalNextMode('date');\n }, {\n value: mode\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n mergedMode = _useMergedState6[0],\n setInnerMode = _useMergedState6[1];\n React.useEffect(function () {\n setInnerMode(picker);\n }, [picker]);\n var _React$useState = React.useState(function () {\n return mergedMode;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n sourceMode = _React$useState2[0],\n setSourceMode = _React$useState2[1];\n var onInternalPanelChange = function onInternalPanelChange(newMode, viewValue) {\n var nextMode = getInternalNextMode(newMode || mergedMode);\n setSourceMode(mergedMode);\n setInnerMode(nextMode);\n if (onPanelChange && (mergedMode !== nextMode || isEqual(generateConfig, viewDate, viewDate))) {\n onPanelChange(viewValue, nextMode);\n }\n };\n var triggerSelect = function triggerSelect(date, type) {\n var forceTriggerSelect = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n if (mergedMode === picker || forceTriggerSelect) {\n setInnerValue(date);\n if (onSelect) {\n onSelect(date);\n }\n if (onContextSelect) {\n onContextSelect(date, type);\n }\n if (onChange && !isEqual(generateConfig, date, mergedValue) && !(disabledDate === null || disabledDate === void 0 ? void 0 : disabledDate(date))) {\n onChange(date);\n }\n }\n };\n // ========================= Interactive ==========================\n var onInternalKeyDown = function onInternalKeyDown(e) {\n if (panelRef.current && panelRef.current.onKeyDown) {\n if ([KeyCode.LEFT, KeyCode.RIGHT, KeyCode.UP, KeyCode.DOWN, KeyCode.PAGE_UP, KeyCode.PAGE_DOWN, KeyCode.ENTER].includes(e.which)) {\n e.preventDefault();\n }\n return panelRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Panel not correct handle keyDown event. Please help to fire issue about this.');\n return false;\n }\n /* eslint-enable no-lone-blocks */\n };\n\n var onInternalBlur = function onInternalBlur(e) {\n if (panelRef.current && panelRef.current.onBlur) {\n panelRef.current.onBlur(e);\n }\n };\n if (operationRef && panelPosition !== 'right') {\n operationRef.current = {\n onKeyDown: onInternalKeyDown,\n onClose: function onClose() {\n if (panelRef.current && panelRef.current.onClose) {\n panelRef.current.onClose();\n }\n }\n };\n }\n // ============================ Effect ============================\n React.useEffect(function () {\n if (value && !initRef.current) {\n setInnerViewDate(value);\n }\n }, [value]);\n React.useEffect(function () {\n initRef.current = false;\n }, []);\n // ============================ Panels ============================\n var panelNode;\n var pickerProps = _objectSpread(_objectSpread({}, props), {}, {\n operationRef: panelRef,\n prefixCls: prefixCls,\n viewDate: viewDate,\n value: mergedValue,\n onViewDateChange: setViewDate,\n sourceMode: sourceMode,\n onPanelChange: onInternalPanelChange,\n disabledDate: disabledDate\n });\n delete pickerProps.onChange;\n delete pickerProps.onSelect;\n switch (mergedMode) {\n case 'decade':\n panelNode = /*#__PURE__*/React.createElement(DecadePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'year':\n panelNode = /*#__PURE__*/React.createElement(YearPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'month':\n panelNode = /*#__PURE__*/React.createElement(MonthPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'quarter':\n panelNode = /*#__PURE__*/React.createElement(QuarterPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'week':\n panelNode = /*#__PURE__*/React.createElement(WeekPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'time':\n delete pickerProps.showTime;\n panelNode = /*#__PURE__*/React.createElement(TimePanel, _extends({}, pickerProps, _typeof(showTime) === 'object' ? showTime : null, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n default:\n if (showTime) {\n panelNode = /*#__PURE__*/React.createElement(DatetimePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n } else {\n panelNode = /*#__PURE__*/React.createElement(DatePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n }\n }\n // ============================ Footer ============================\n var extraFooter;\n var rangesNode;\n var onNow = function onNow() {\n var now = generateConfig.getNow();\n var lowerBoundTime = getLowerBoundTime(generateConfig.getHour(now), generateConfig.getMinute(now), generateConfig.getSecond(now), isHourStepValid ? hourStep : 1, isMinuteStepValid ? minuteStep : 1, isSecondStepValid ? secondStep : 1);\n var adjustedNow = setTime(generateConfig, now, lowerBoundTime[0],\n // hour\n lowerBoundTime[1],\n // minute\n lowerBoundTime[2]);\n triggerSelect(adjustedNow, 'submit');\n };\n if (!hideRanges) {\n extraFooter = getExtraFooter(prefixCls, mergedMode, renderExtraFooter);\n rangesNode = getRanges({\n prefixCls: prefixCls,\n components: components,\n needConfirmButton: needConfirmButton,\n okDisabled: !mergedValue || disabledDate && disabledDate(mergedValue),\n locale: locale,\n showNow: showNow,\n onNow: needConfirmButton && onNow,\n onOk: function onOk() {\n if (mergedValue) {\n triggerSelect(mergedValue, 'submit', true);\n if (_onOk) {\n _onOk(mergedValue);\n }\n }\n }\n });\n }\n var todayNode;\n if (showToday && mergedMode === 'date' && picker === 'date' && !showTime) {\n var now = generateConfig.getNow();\n var todayCls = \"\".concat(prefixCls, \"-today-btn\");\n var disabled = disabledDate && disabledDate(now);\n todayNode = /*#__PURE__*/React.createElement(\"a\", {\n className: classNames(todayCls, disabled && \"\".concat(todayCls, \"-disabled\")),\n \"aria-disabled\": disabled,\n onClick: function onClick() {\n if (!disabled) {\n triggerSelect(now, 'mouse', true);\n }\n }\n }, locale.today);\n }\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: _objectSpread(_objectSpread({}, panelContext), {}, {\n mode: mergedMode,\n hideHeader: 'hideHeader' in props ? hideHeader : panelContext.hideHeader,\n hidePrevBtn: inRange && panelPosition === 'right',\n hideNextBtn: inRange && panelPosition === 'left'\n })\n }, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: tabIndex,\n className: classNames(\"\".concat(prefixCls, \"-panel\"), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-has-range\"), rangedValue && rangedValue[0] && rangedValue[1]), _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-has-range-hover\"), hoverRangedValue && hoverRangedValue[0] && hoverRangedValue[1]), _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-rtl\"), direction === 'rtl'), _classNames)),\n style: style,\n onKeyDown: onInternalKeyDown,\n onBlur: onInternalBlur,\n onMouseDown: onMouseDown,\n ref: panelDivRef\n }, panelNode, extraFooter || rangesNode || todayNode ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, extraFooter, rangesNode, todayNode) : null));\n}\nexport default PickerPanel;\n/* eslint-enable */","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Trigger from 'rc-trigger';\nvar BUILT_IN_PLACEMENTS = {\n bottomLeft: {\n points: ['tl', 'bl'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n bottomRight: {\n points: ['tr', 'br'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topLeft: {\n points: ['bl', 'tl'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n },\n topRight: {\n points: ['br', 'tr'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n }\n};\nfunction PickerTrigger(_ref) {\n var _classNames;\n var prefixCls = _ref.prefixCls,\n popupElement = _ref.popupElement,\n popupStyle = _ref.popupStyle,\n visible = _ref.visible,\n dropdownClassName = _ref.dropdownClassName,\n dropdownAlign = _ref.dropdownAlign,\n transitionName = _ref.transitionName,\n getPopupContainer = _ref.getPopupContainer,\n children = _ref.children,\n range = _ref.range,\n popupPlacement = _ref.popupPlacement,\n direction = _ref.direction;\n var dropdownPrefixCls = \"\".concat(prefixCls, \"-dropdown\");\n var getPopupPlacement = function getPopupPlacement() {\n if (popupPlacement !== undefined) {\n return popupPlacement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n return /*#__PURE__*/React.createElement(Trigger, {\n showAction: [],\n hideAction: [],\n popupPlacement: getPopupPlacement(),\n builtinPlacements: BUILT_IN_PLACEMENTS,\n prefixCls: dropdownPrefixCls,\n popupTransitionName: transitionName,\n popup: popupElement,\n popupAlign: dropdownAlign,\n popupVisible: visible,\n popupClassName: classNames(dropdownClassName, (_classNames = {}, _defineProperty(_classNames, \"\".concat(dropdownPrefixCls, \"-range\"), range), _defineProperty(_classNames, \"\".concat(dropdownPrefixCls, \"-rtl\"), direction === 'rtl'), _classNames)),\n popupStyle: popupStyle,\n getPopupContainer: getPopupContainer\n }, children);\n}\nexport default PickerTrigger;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useEffect, useRef } from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { addGlobalMouseDownEvent, getTargetFromEvent } from '../utils/uiUtil';\nexport default function usePickerInput(_ref) {\n var open = _ref.open,\n value = _ref.value,\n isClickOutside = _ref.isClickOutside,\n triggerOpen = _ref.triggerOpen,\n forwardKeyDown = _ref.forwardKeyDown,\n _onKeyDown = _ref.onKeyDown,\n blurToCancel = _ref.blurToCancel,\n onSubmit = _ref.onSubmit,\n onCancel = _ref.onCancel,\n _onFocus = _ref.onFocus,\n _onBlur = _ref.onBlur,\n currentFocusedKey = _ref.currentFocusedKey,\n _ref$key = _ref.key,\n key = _ref$key === void 0 ? 'start' : _ref$key;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n typing = _useState2[0],\n setTyping = _useState2[1];\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n focused = _useState4[0],\n setFocused = _useState4[1];\n var delayBlurTimer = useRef();\n /**\n * We will prevent blur to handle open event when user click outside,\n * since this will repeat trigger `onOpenChange` event.\n */\n var preventBlurRef = useRef(false);\n var valueChangedRef = useRef(false);\n var preventDefaultRef = useRef(false);\n var inputProps = {\n onMouseDown: function onMouseDown() {\n setTyping(true);\n triggerOpen(true);\n },\n onKeyDown: function onKeyDown(e) {\n var preventDefault = function preventDefault() {\n preventDefaultRef.current = true;\n };\n _onKeyDown(e, preventDefault);\n if (preventDefaultRef.current) return;\n switch (e.which) {\n case KeyCode.ENTER:\n {\n if (!open) {\n triggerOpen(true);\n } else if (onSubmit() !== false) {\n setTyping(true);\n }\n e.preventDefault();\n return;\n }\n case KeyCode.TAB:\n {\n if (typing && open && !e.shiftKey) {\n setTyping(false);\n e.preventDefault();\n } else if (!typing && open) {\n if (!forwardKeyDown(e) && e.shiftKey) {\n setTyping(true);\n e.preventDefault();\n }\n }\n return;\n }\n case KeyCode.ESC:\n {\n setTyping(true);\n onCancel();\n return;\n }\n }\n if (!open && ![KeyCode.SHIFT].includes(e.which)) {\n triggerOpen(true);\n } else if (!typing) {\n // Let popup panel handle keyboard\n forwardKeyDown(e);\n }\n },\n onFocus: function onFocus(e) {\n setTyping(true);\n setFocused(true);\n if (currentFocusedKey) {\n currentFocusedKey.current = key;\n }\n clearTimeout(delayBlurTimer.current);\n if (_onFocus) {\n _onFocus(e);\n }\n },\n onBlur: function onBlur(e) {\n if (preventBlurRef.current || !isClickOutside(document.activeElement)) {\n preventBlurRef.current = false;\n return;\n }\n if (blurToCancel) {\n setTimeout(function () {\n var _document = document,\n activeElement = _document.activeElement;\n while (activeElement && activeElement.shadowRoot) {\n activeElement = activeElement.shadowRoot.activeElement;\n }\n if (isClickOutside(activeElement)) {\n onCancel();\n }\n }, 0);\n } else if (open) {\n triggerOpen(false);\n if (valueChangedRef.current) {\n onSubmit();\n }\n }\n setFocused(false);\n if (currentFocusedKey) {\n currentFocusedKey.current = '';\n // Delay to prevent 'range' focus transitions from firing resulting in incorrect out-of-focus events\n delayBlurTimer.current = setTimeout(function () {\n // Prevent the 'blur' event from firing when there is currently a focused input\n if (currentFocusedKey.current) {\n return;\n }\n _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e);\n }, 100);\n } else {\n _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e);\n }\n }\n };\n // check if value changed\n useEffect(function () {\n valueChangedRef.current = false;\n }, [open]);\n useEffect(function () {\n valueChangedRef.current = true;\n }, [value]);\n // Global click handler\n useEffect(function () {\n return addGlobalMouseDownEvent(function (e) {\n var target = getTargetFromEvent(e);\n if (open) {\n var clickedOutside = isClickOutside(target);\n if (!clickedOutside) {\n preventBlurRef.current = true;\n // Always set back in case `onBlur` prevented by user\n requestAnimationFrame(function () {\n preventBlurRef.current = false;\n });\n } else if (!focused || clickedOutside) {\n triggerOpen(false);\n }\n }\n });\n });\n useEffect(function () {\n return function () {\n return clearTimeout(delayBlurTimer.current);\n };\n }, []);\n return [inputProps, {\n focused: focused,\n typing: typing\n }];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default function useTextValueMapping(_ref) {\n var valueTexts = _ref.valueTexts,\n onTextChange = _ref.onTextChange;\n var _React$useState = React.useState(''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n text = _React$useState2[0],\n setInnerText = _React$useState2[1];\n var valueTextsRef = React.useRef([]);\n valueTextsRef.current = valueTexts;\n function triggerTextChange(value) {\n setInnerText(value);\n onTextChange(value);\n }\n function resetText() {\n setInnerText(valueTextsRef.current[0]);\n }\n React.useEffect(function () {\n if (valueTexts.every(function (valText) {\n return valText !== text;\n })) {\n resetText();\n }\n }, [valueTexts.join('||')]);\n return [text, triggerTextChange, resetText];\n}","import shallowEqual from 'shallowequal';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport { formatValue } from '../utils/dateUtil';\nexport default function useValueTexts(value, _ref) {\n var formatList = _ref.formatList,\n generateConfig = _ref.generateConfig,\n locale = _ref.locale;\n return useMemo(function () {\n if (!value) {\n return [[''], ''];\n }\n // We will convert data format back to first format\n var firstValueText = '';\n var fullValueTexts = [];\n for (var i = 0; i < formatList.length; i += 1) {\n var format = formatList[i];\n var formatStr = formatValue(value, {\n generateConfig: generateConfig,\n locale: locale,\n format: format\n });\n fullValueTexts.push(formatStr);\n if (i === 0) {\n firstValueText = formatStr;\n }\n }\n return [fullValueTexts, firstValueText];\n }, [value, formatList], function (prev, next) {\n return prev[0] !== next[0] || !shallowEqual(prev[1], next[1]);\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useEffect, useRef } from 'react';\nimport useValueTexts from './useValueTexts';\nexport default function useHoverValue(valueText, _ref) {\n var formatList = _ref.formatList,\n generateConfig = _ref.generateConfig,\n locale = _ref.locale;\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n value = _useState2[0],\n internalSetValue = _useState2[1];\n var raf = useRef(null);\n function setValue(val) {\n var immediately = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n cancelAnimationFrame(raf.current);\n if (immediately) {\n internalSetValue(val);\n return;\n }\n raf.current = requestAnimationFrame(function () {\n internalSetValue(val);\n });\n }\n var _useValueTexts = useValueTexts(value, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n firstText = _useValueTexts2[1];\n function onEnter(date) {\n setValue(date);\n }\n function onLeave() {\n var immediately = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n setValue(null, immediately);\n }\n useEffect(function () {\n onLeave(true);\n }, [valueText]);\n useEffect(function () {\n return function () {\n return cancelAnimationFrame(raf.current);\n };\n }, []);\n return [firstText, onEnter, onLeave];\n}","import warning from \"rc-util/es/warning\";\nexport function legacyPropsWarning(props) {\n var picker = props.picker,\n disabledHours = props.disabledHours,\n disabledMinutes = props.disabledMinutes,\n disabledSeconds = props.disabledSeconds;\n if (picker === 'time' && (disabledHours || disabledMinutes || disabledSeconds)) {\n warning(false, \"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.\");\n }\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * Removed:\n * - getCalendarContainer: use `getPopupContainer` instead\n * - onOk\n *\n * New Feature:\n * - picker\n * - allowEmpty\n * - selectable\n *\n * Tips: Should add faq about `datetime` mode with `defaultValue`\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport PickerPanel from './PickerPanel';\nimport PickerTrigger from './PickerTrigger';\nimport { formatValue, isEqual, parseValue } from './utils/dateUtil';\nimport getDataOrAriaProps, { toArray } from './utils/miscUtil';\nimport PanelContext from './PanelContext';\nimport { getDefaultFormat, getInputSize, elementsContains } from './utils/uiUtil';\nimport usePickerInput from './hooks/usePickerInput';\nimport useTextValueMapping from './hooks/useTextValueMapping';\nimport useValueTexts from './hooks/useValueTexts';\nimport useHoverValue from './hooks/useHoverValue';\nimport { legacyPropsWarning } from './utils/warnUtil';\nfunction InnerPicker(props) {\n var _classNames2;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n id = props.id,\n tabIndex = props.tabIndex,\n style = props.style,\n className = props.className,\n dropdownClassName = props.dropdownClassName,\n dropdownAlign = props.dropdownAlign,\n popupStyle = props.popupStyle,\n transitionName = props.transitionName,\n generateConfig = props.generateConfig,\n locale = props.locale,\n inputReadOnly = props.inputReadOnly,\n allowClear = props.allowClear,\n autoFocus = props.autoFocus,\n showTime = props.showTime,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n format = props.format,\n use12Hours = props.use12Hours,\n value = props.value,\n defaultValue = props.defaultValue,\n open = props.open,\n defaultOpen = props.defaultOpen,\n defaultOpenValue = props.defaultOpenValue,\n suffixIcon = props.suffixIcon,\n clearIcon = props.clearIcon,\n disabled = props.disabled,\n disabledDate = props.disabledDate,\n placeholder = props.placeholder,\n getPopupContainer = props.getPopupContainer,\n pickerRef = props.pickerRef,\n panelRender = props.panelRender,\n onChange = props.onChange,\n onOpenChange = props.onOpenChange,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onContextMenu = props.onContextMenu,\n onClick = props.onClick,\n _onKeyDown = props.onKeyDown,\n _onSelect = props.onSelect,\n direction = props.direction,\n _props$autoComplete = props.autoComplete,\n autoComplete = _props$autoComplete === void 0 ? 'off' : _props$autoComplete,\n inputRender = props.inputRender;\n var inputRef = React.useRef(null);\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n legacyPropsWarning(props);\n }\n // ============================= State =============================\n var formatList = toArray(getDefaultFormat(format, picker, showTime, use12Hours));\n // Panel ref\n var panelDivRef = React.useRef(null);\n var inputDivRef = React.useRef(null);\n var containerRef = React.useRef(null);\n // Real value\n var _useMergedState = useMergedState(null, {\n value: value,\n defaultValue: defaultValue\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setInnerValue = _useMergedState2[1];\n // Selected value\n var _React$useState = React.useState(mergedValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n selectedValue = _React$useState2[0],\n setSelectedValue = _React$useState2[1];\n // Operation ref\n var operationRef = React.useRef(null);\n // Open\n var _useMergedState3 = useMergedState(false, {\n value: open,\n defaultValue: defaultOpen,\n postState: function postState(postOpen) {\n return disabled ? false : postOpen;\n },\n onChange: function onChange(newOpen) {\n if (onOpenChange) {\n onOpenChange(newOpen);\n }\n if (!newOpen && operationRef.current && operationRef.current.onClose) {\n operationRef.current.onClose();\n }\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedOpen = _useMergedState4[0],\n triggerInnerOpen = _useMergedState4[1];\n // ============================= Text ==============================\n var _useValueTexts = useValueTexts(selectedValue, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n valueTexts = _useValueTexts2[0],\n firstValueText = _useValueTexts2[1];\n var _useTextValueMapping = useTextValueMapping({\n valueTexts: valueTexts,\n onTextChange: function onTextChange(newText) {\n var inputDate = parseValue(newText, {\n locale: locale,\n formatList: formatList,\n generateConfig: generateConfig\n });\n if (inputDate && (!disabledDate || !disabledDate(inputDate))) {\n setSelectedValue(inputDate);\n }\n }\n }),\n _useTextValueMapping2 = _slicedToArray(_useTextValueMapping, 3),\n text = _useTextValueMapping2[0],\n triggerTextChange = _useTextValueMapping2[1],\n resetText = _useTextValueMapping2[2];\n // ============================ Trigger ============================\n var triggerChange = function triggerChange(newValue) {\n setSelectedValue(newValue);\n setInnerValue(newValue);\n if (onChange && !isEqual(generateConfig, mergedValue, newValue)) {\n onChange(newValue, newValue ? formatValue(newValue, {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '');\n }\n };\n var triggerOpen = function triggerOpen(newOpen) {\n if (disabled && newOpen) {\n return;\n }\n triggerInnerOpen(newOpen);\n };\n var forwardKeyDown = function forwardKeyDown(e) {\n if (mergedOpen && operationRef.current && operationRef.current.onKeyDown) {\n // Let popup panel handle keyboard\n return operationRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Picker not correct forward KeyDown operation. Please help to fire issue about this.');\n return false;\n }\n };\n var onInternalClick = function onInternalClick() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n onClick === null || onClick === void 0 ? void 0 : onClick.apply(void 0, args);\n if (inputRef.current) {\n inputRef.current.focus();\n triggerOpen(true);\n }\n };\n // ============================= Input =============================\n var _usePickerInput = usePickerInput({\n blurToCancel: needConfirmButton,\n open: mergedOpen,\n value: text,\n triggerOpen: triggerOpen,\n forwardKeyDown: forwardKeyDown,\n isClickOutside: function isClickOutside(target) {\n return !elementsContains([panelDivRef.current, inputDivRef.current, containerRef.current], target);\n },\n onSubmit: function onSubmit() {\n if (\n // When user typing disabledDate with keyboard and enter, this value will be empty\n !selectedValue ||\n // Normal disabled check\n disabledDate && disabledDate(selectedValue)) {\n return false;\n }\n triggerChange(selectedValue);\n triggerOpen(false);\n resetText();\n return true;\n },\n onCancel: function onCancel() {\n triggerOpen(false);\n setSelectedValue(mergedValue);\n resetText();\n },\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n },\n onFocus: onFocus,\n onBlur: onBlur\n }),\n _usePickerInput2 = _slicedToArray(_usePickerInput, 2),\n inputProps = _usePickerInput2[0],\n _usePickerInput2$ = _usePickerInput2[1],\n focused = _usePickerInput2$.focused,\n typing = _usePickerInput2$.typing;\n // ============================= Sync ==============================\n // Close should sync back with text value\n React.useEffect(function () {\n if (!mergedOpen) {\n setSelectedValue(mergedValue);\n if (!valueTexts.length || valueTexts[0] === '') {\n triggerTextChange('');\n } else if (firstValueText !== text) {\n resetText();\n }\n }\n }, [mergedOpen, valueTexts]);\n // Change picker should sync back with text value\n React.useEffect(function () {\n if (!mergedOpen) {\n resetText();\n }\n }, [picker]);\n // Sync innerValue with control mode\n React.useEffect(function () {\n // Sync select value\n setSelectedValue(mergedValue);\n }, [mergedValue]);\n // ============================ Private ============================\n if (pickerRef) {\n pickerRef.current = {\n focus: function focus() {\n if (inputRef.current) {\n inputRef.current.focus();\n }\n },\n blur: function blur() {\n if (inputRef.current) {\n inputRef.current.blur();\n }\n }\n };\n }\n var _useHoverValue = useHoverValue(text, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue2 = _slicedToArray(_useHoverValue, 3),\n hoverValue = _useHoverValue2[0],\n onEnter = _useHoverValue2[1],\n onLeave = _useHoverValue2[2];\n // ============================= Panel =============================\n var panelProps = _objectSpread(_objectSpread({}, props), {}, {\n className: undefined,\n style: undefined,\n pickerValue: undefined,\n onPickerValueChange: undefined,\n onChange: null\n });\n var panelNode = /*#__PURE__*/React.createElement(PickerPanel, _extends({}, panelProps, {\n generateConfig: generateConfig,\n className: classNames(_defineProperty({}, \"\".concat(prefixCls, \"-panel-focused\"), !typing)),\n value: selectedValue,\n locale: locale,\n tabIndex: -1,\n onSelect: function onSelect(date) {\n _onSelect === null || _onSelect === void 0 ? void 0 : _onSelect(date);\n setSelectedValue(date);\n },\n direction: direction,\n onPanelChange: function onPanelChange(viewDate, mode) {\n var onPanelChange = props.onPanelChange;\n onLeave(true);\n onPanelChange === null || onPanelChange === void 0 ? void 0 : onPanelChange(viewDate, mode);\n }\n }));\n if (panelRender) {\n panelNode = panelRender(panelNode);\n }\n var panel = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-container\"),\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n }\n }, panelNode);\n var suffixNode;\n if (suffixIcon) {\n suffixNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, suffixIcon);\n }\n var clearNode;\n if (allowClear && mergedValue && !disabled) {\n clearNode = /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n e.stopPropagation();\n },\n onMouseUp: function onMouseUp(e) {\n e.preventDefault();\n e.stopPropagation();\n triggerChange(null);\n triggerOpen(false);\n },\n className: \"\".concat(prefixCls, \"-clear\"),\n role: \"button\"\n }, clearIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-clear-btn\")\n }));\n }\n var mergedInputProps = _objectSpread(_objectSpread(_objectSpread({\n id: id,\n tabIndex: tabIndex,\n disabled: disabled,\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !typing,\n value: hoverValue || text,\n onChange: function onChange(e) {\n triggerTextChange(e.target.value);\n },\n autoFocus: autoFocus,\n placeholder: placeholder,\n ref: inputRef,\n title: text\n }, inputProps), {}, {\n size: getInputSize(picker, formatList[0], generateConfig)\n }, getDataOrAriaProps(props)), {}, {\n autoComplete: autoComplete\n });\n var inputNode = inputRender ? inputRender(mergedInputProps) : /*#__PURE__*/React.createElement(\"input\", mergedInputProps);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n warning(!defaultOpenValue, '`defaultOpenValue` may confuse user for the current value status. Please use `defaultValue` instead.');\n }\n // ============================ Return =============================\n var onContextSelect = function onContextSelect(date, type) {\n if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n // triggerChange will also update selected values\n triggerChange(date);\n triggerOpen(false);\n }\n };\n var popupPlacement = direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: {\n operationRef: operationRef,\n hideHeader: picker === 'time',\n panelRef: panelDivRef,\n onSelect: onContextSelect,\n open: mergedOpen,\n defaultOpenValue: defaultOpenValue,\n onDateMouseEnter: onEnter,\n onDateMouseLeave: onLeave\n }\n }, /*#__PURE__*/React.createElement(PickerTrigger, {\n visible: mergedOpen,\n popupElement: panel,\n popupStyle: popupStyle,\n prefixCls: prefixCls,\n dropdownClassName: dropdownClassName,\n dropdownAlign: dropdownAlign,\n getPopupContainer: getPopupContainer,\n transitionName: transitionName,\n popupPlacement: popupPlacement,\n direction: direction\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: containerRef,\n className: classNames(prefixCls, className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-focused\"), focused), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2)),\n style: style,\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onContextMenu: onContextMenu,\n onClick: onInternalClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), _defineProperty({}, \"\".concat(prefixCls, \"-input-placeholder\"), !!hoverValue)),\n ref: inputDivRef\n }, inputNode, suffixNode, clearNode))));\n}\n// Wrap with class component to enable pass generic with instance method\nvar Picker = /*#__PURE__*/function (_React$Component) {\n _inherits(Picker, _React$Component);\n var _super = _createSuper(Picker);\n function Picker() {\n var _this;\n _classCallCheck(this, Picker);\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.pickerRef = /*#__PURE__*/React.createRef();\n _this.focus = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.focus();\n }\n };\n _this.blur = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.blur();\n }\n };\n return _this;\n }\n _createClass(Picker, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(InnerPicker, _extends({}, this.props, {\n pickerRef: this.pickerRef\n }));\n }\n }]);\n return Picker;\n}(React.Component);\nexport default Picker;","import * as React from 'react';\nimport { getValue } from '../utils/miscUtil';\nimport { isSameDate, getQuarter } from '../utils/dateUtil';\nexport default function useRangeDisabled(_ref, disabledStart, disabledEnd) {\n var picker = _ref.picker,\n locale = _ref.locale,\n selectedValue = _ref.selectedValue,\n disabledDate = _ref.disabledDate,\n disabled = _ref.disabled,\n generateConfig = _ref.generateConfig;\n var startDate = getValue(selectedValue, 0);\n var endDate = getValue(selectedValue, 1);\n function weekFirstDate(date) {\n return generateConfig.locale.getWeekFirstDate(locale.locale, date);\n }\n function monthNumber(date) {\n var year = generateConfig.getYear(date);\n var month = generateConfig.getMonth(date);\n return year * 100 + month;\n }\n function quarterNumber(date) {\n var year = generateConfig.getYear(date);\n var quarter = getQuarter(generateConfig, date);\n return year * 10 + quarter;\n }\n var disabledStartDate = React.useCallback(function (date) {\n if (disabledDate && disabledDate(date)) {\n return true;\n }\n // Disabled range\n if (disabled[1] && endDate) {\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(date, endDate);\n }\n // Disabled part\n if (disabledStart && endDate) {\n switch (picker) {\n case 'quarter':\n return quarterNumber(date) > quarterNumber(endDate);\n case 'month':\n return monthNumber(date) > monthNumber(endDate);\n case 'week':\n return weekFirstDate(date) > weekFirstDate(endDate);\n default:\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(date, endDate);\n }\n }\n return false;\n }, [disabledDate, disabled[1], endDate, disabledStart]);\n var disabledEndDate = React.useCallback(function (date) {\n if (disabledDate && disabledDate(date)) {\n return true;\n }\n // Disabled range\n if (disabled[0] && startDate) {\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(startDate, date);\n }\n // Disabled part\n if (disabledEnd && startDate) {\n switch (picker) {\n case 'quarter':\n return quarterNumber(date) < quarterNumber(startDate);\n case 'month':\n return monthNumber(date) < monthNumber(startDate);\n case 'week':\n return weekFirstDate(date) < weekFirstDate(startDate);\n default:\n return !isSameDate(generateConfig, date, startDate) && generateConfig.isAfter(startDate, date);\n }\n }\n return false;\n }, [disabledDate, disabled[0], startDate, disabledEnd]);\n return [disabledStartDate, disabledEndDate];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { getValue, updateValues } from '../utils/miscUtil';\nimport { getClosingViewDate, isSameYear, isSameMonth, isSameDecade } from '../utils/dateUtil';\nfunction getStartEndDistance(startDate, endDate, picker, generateConfig) {\n var startNext = getClosingViewDate(startDate, picker, generateConfig, 1);\n function getDistance(compareFunc) {\n if (compareFunc(startDate, endDate)) {\n return 'same';\n }\n if (compareFunc(startNext, endDate)) {\n return 'closing';\n }\n return 'far';\n }\n switch (picker) {\n case 'year':\n return getDistance(function (start, end) {\n return isSameDecade(generateConfig, start, end);\n });\n case 'quarter':\n case 'month':\n return getDistance(function (start, end) {\n return isSameYear(generateConfig, start, end);\n });\n default:\n return getDistance(function (start, end) {\n return isSameMonth(generateConfig, start, end);\n });\n }\n}\nfunction getRangeViewDate(values, index, picker, generateConfig) {\n var startDate = getValue(values, 0);\n var endDate = getValue(values, 1);\n if (index === 0) {\n return startDate;\n }\n if (startDate && endDate) {\n var distance = getStartEndDistance(startDate, endDate, picker, generateConfig);\n switch (distance) {\n case 'same':\n return startDate;\n case 'closing':\n return startDate;\n default:\n return getClosingViewDate(endDate, picker, generateConfig, -1);\n }\n }\n return startDate;\n}\nexport default function useRangeViewDates(_ref) {\n var values = _ref.values,\n picker = _ref.picker,\n defaultDates = _ref.defaultDates,\n generateConfig = _ref.generateConfig;\n var _React$useState = React.useState(function () {\n return [getValue(defaultDates, 0), getValue(defaultDates, 1)];\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n defaultViewDates = _React$useState2[0],\n setDefaultViewDates = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n viewDates = _React$useState4[0],\n setInternalViewDates = _React$useState4[1];\n var startDate = getValue(values, 0);\n var endDate = getValue(values, 1);\n function getViewDate(index) {\n // If set default view date, use it\n if (defaultViewDates[index]) {\n return defaultViewDates[index];\n }\n return getValue(viewDates, index) || getRangeViewDate(values, index, picker, generateConfig) || startDate || endDate || generateConfig.getNow();\n }\n function setViewDate(viewDate, index) {\n if (viewDate) {\n var newViewDates = updateValues(viewDates, viewDate, index);\n // Set view date will clean up default one\n setDefaultViewDates(\n // Should always be an array\n updateValues(defaultViewDates, null, index) || [null, null]);\n // Reset another one when not have value\n var anotherIndex = (index + 1) % 2;\n if (!getValue(values, anotherIndex)) {\n newViewDates = updateValues(newViewDates, viewDate, anotherIndex);\n }\n setInternalViewDates(newViewDates);\n } else if (startDate || endDate) {\n // Reset all when has values when `viewDate` is `null` which means from open trigger\n setInternalViewDates(null);\n }\n }\n return [getViewDate, setViewDate];\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport PickerTrigger from './PickerTrigger';\nimport PickerPanel from './PickerPanel';\nimport usePickerInput from './hooks/usePickerInput';\nimport getDataOrAriaProps, { toArray, getValue, updateValues } from './utils/miscUtil';\nimport { getDefaultFormat, getInputSize, elementsContains } from './utils/uiUtil';\nimport PanelContext from './PanelContext';\nimport { isEqual, getClosingViewDate, isSameDate, isSameWeek, isSameQuarter, formatValue, parseValue } from './utils/dateUtil';\nimport useValueTexts from './hooks/useValueTexts';\nimport useTextValueMapping from './hooks/useTextValueMapping';\nimport RangeContext from './RangeContext';\nimport useRangeDisabled from './hooks/useRangeDisabled';\nimport getExtraFooter from './utils/getExtraFooter';\nimport getRanges from './utils/getRanges';\nimport useRangeViewDates from './hooks/useRangeViewDates';\nimport useHoverValue from './hooks/useHoverValue';\nimport { legacyPropsWarning } from './utils/warnUtil';\nfunction reorderValues(values, generateConfig) {\n if (values && values[0] && values[1] && generateConfig.isAfter(values[0], values[1])) {\n return [values[1], values[0]];\n }\n return values;\n}\nfunction canValueTrigger(value, index, disabled, allowEmpty) {\n if (value) {\n return true;\n }\n if (allowEmpty && allowEmpty[index]) {\n return true;\n }\n if (disabled[(index + 1) % 2]) {\n return true;\n }\n return false;\n}\nfunction InnerRangePicker(props) {\n var _classNames2, _classNames3, _classNames4;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n id = props.id,\n style = props.style,\n className = props.className,\n popupStyle = props.popupStyle,\n dropdownClassName = props.dropdownClassName,\n transitionName = props.transitionName,\n dropdownAlign = props.dropdownAlign,\n getPopupContainer = props.getPopupContainer,\n generateConfig = props.generateConfig,\n locale = props.locale,\n placeholder = props.placeholder,\n autoFocus = props.autoFocus,\n disabled = props.disabled,\n format = props.format,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n showTime = props.showTime,\n use12Hours = props.use12Hours,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '~' : _props$separator,\n value = props.value,\n defaultValue = props.defaultValue,\n defaultPickerValue = props.defaultPickerValue,\n open = props.open,\n defaultOpen = props.defaultOpen,\n disabledDate = props.disabledDate,\n _disabledTime = props.disabledTime,\n dateRender = props.dateRender,\n panelRender = props.panelRender,\n ranges = props.ranges,\n allowEmpty = props.allowEmpty,\n allowClear = props.allowClear,\n suffixIcon = props.suffixIcon,\n clearIcon = props.clearIcon,\n pickerRef = props.pickerRef,\n inputReadOnly = props.inputReadOnly,\n mode = props.mode,\n renderExtraFooter = props.renderExtraFooter,\n onChange = props.onChange,\n onOpenChange = props.onOpenChange,\n onPanelChange = props.onPanelChange,\n onCalendarChange = props.onCalendarChange,\n _onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onClick = props.onClick,\n _onOk = props.onOk,\n _onKeyDown = props.onKeyDown,\n components = props.components,\n order = props.order,\n direction = props.direction,\n activePickerIndex = props.activePickerIndex,\n _props$autoComplete = props.autoComplete,\n autoComplete = _props$autoComplete === void 0 ? 'off' : _props$autoComplete;\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n // We record opened status here in case repeat open with picker\n var openRecordsRef = useRef({});\n var containerRef = useRef(null);\n var panelDivRef = useRef(null);\n var startInputDivRef = useRef(null);\n var endInputDivRef = useRef(null);\n var separatorRef = useRef(null);\n var startInputRef = useRef(null);\n var endInputRef = useRef(null);\n var arrowRef = useRef(null);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n legacyPropsWarning(props);\n }\n // ============================= Misc ==============================\n var formatList = toArray(getDefaultFormat(format, picker, showTime, use12Hours));\n // Active picker\n var _useMergedState = useMergedState(0, {\n value: activePickerIndex\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedActivePickerIndex = _useMergedState2[0],\n setMergedActivePickerIndex = _useMergedState2[1];\n // Operation ref\n var operationRef = useRef(null);\n var mergedDisabled = React.useMemo(function () {\n if (Array.isArray(disabled)) {\n return disabled;\n }\n return [disabled || false, disabled || false];\n }, [disabled]);\n // ============================= Value =============================\n var _useMergedState3 = useMergedState(null, {\n value: value,\n defaultValue: defaultValue,\n postState: function postState(values) {\n return picker === 'time' && !order ? values : reorderValues(values, generateConfig);\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedValue = _useMergedState4[0],\n setInnerValue = _useMergedState4[1];\n // =========================== View Date ===========================\n // Config view panel\n var _useRangeViewDates = useRangeViewDates({\n values: mergedValue,\n picker: picker,\n defaultDates: defaultPickerValue,\n generateConfig: generateConfig\n }),\n _useRangeViewDates2 = _slicedToArray(_useRangeViewDates, 2),\n getViewDate = _useRangeViewDates2[0],\n setViewDate = _useRangeViewDates2[1];\n // ========================= Select Values =========================\n var _useMergedState5 = useMergedState(mergedValue, {\n postState: function postState(values) {\n var postValues = values;\n if (mergedDisabled[0] && mergedDisabled[1]) {\n return postValues;\n }\n // Fill disabled unit\n for (var i = 0; i < 2; i += 1) {\n if (mergedDisabled[i] && !getValue(postValues, i) && !getValue(allowEmpty, i)) {\n postValues = updateValues(postValues, generateConfig.getNow(), i);\n }\n }\n return postValues;\n }\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n selectedValue = _useMergedState6[0],\n setSelectedValue = _useMergedState6[1];\n // ============================= Modes =============================\n var _useMergedState7 = useMergedState([picker, picker], {\n value: mode\n }),\n _useMergedState8 = _slicedToArray(_useMergedState7, 2),\n mergedModes = _useMergedState8[0],\n setInnerModes = _useMergedState8[1];\n useEffect(function () {\n setInnerModes([picker, picker]);\n }, [picker]);\n var triggerModesChange = function triggerModesChange(modes, values) {\n setInnerModes(modes);\n if (onPanelChange) {\n onPanelChange(values, modes);\n }\n };\n // ========================= Disable Date ==========================\n var _useRangeDisabled = useRangeDisabled({\n picker: picker,\n selectedValue: selectedValue,\n locale: locale,\n disabled: mergedDisabled,\n disabledDate: disabledDate,\n generateConfig: generateConfig\n }, openRecordsRef.current[1], openRecordsRef.current[0]),\n _useRangeDisabled2 = _slicedToArray(_useRangeDisabled, 2),\n disabledStartDate = _useRangeDisabled2[0],\n disabledEndDate = _useRangeDisabled2[1];\n // ============================= Open ==============================\n var _useMergedState9 = useMergedState(false, {\n value: open,\n defaultValue: defaultOpen,\n postState: function postState(postOpen) {\n return mergedDisabled[mergedActivePickerIndex] ? false : postOpen;\n },\n onChange: function onChange(newOpen) {\n if (onOpenChange) {\n onOpenChange(newOpen);\n }\n if (!newOpen && operationRef.current && operationRef.current.onClose) {\n operationRef.current.onClose();\n }\n }\n }),\n _useMergedState10 = _slicedToArray(_useMergedState9, 2),\n mergedOpen = _useMergedState10[0],\n triggerInnerOpen = _useMergedState10[1];\n var startOpen = mergedOpen && mergedActivePickerIndex === 0;\n var endOpen = mergedOpen && mergedActivePickerIndex === 1;\n // ============================= Popup =============================\n // Popup min width\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n popupMinWidth = _useState2[0],\n setPopupMinWidth = _useState2[1];\n useEffect(function () {\n if (!mergedOpen && containerRef.current) {\n setPopupMinWidth(containerRef.current.offsetWidth);\n }\n }, [mergedOpen]);\n // ============================ Trigger ============================\n var triggerRef = React.useRef();\n function _triggerOpen(newOpen, index) {\n if (newOpen) {\n clearTimeout(triggerRef.current);\n openRecordsRef.current[index] = true;\n setMergedActivePickerIndex(index);\n triggerInnerOpen(newOpen);\n // Open to reset view date\n if (!mergedOpen) {\n setViewDate(null, index);\n }\n } else if (mergedActivePickerIndex === index) {\n triggerInnerOpen(newOpen);\n // Clean up async\n // This makes ref not quick refresh in case user open another input with blur trigger\n var openRecords = openRecordsRef.current;\n triggerRef.current = setTimeout(function () {\n if (openRecords === openRecordsRef.current) {\n openRecordsRef.current = {};\n }\n });\n }\n }\n function triggerOpenAndFocus(index) {\n _triggerOpen(true, index);\n // Use setTimeout to make sure panel DOM exists\n setTimeout(function () {\n var inputRef = [startInputRef, endInputRef][index];\n if (inputRef.current) {\n inputRef.current.focus();\n }\n }, 0);\n }\n function triggerChange(newValue, sourceIndex) {\n var values = newValue;\n var startValue = getValue(values, 0);\n var endValue = getValue(values, 1);\n // >>>>> Format start & end values\n if (startValue && endValue && generateConfig.isAfter(startValue, endValue)) {\n if (\n // WeekPicker only compare week\n picker === 'week' && !isSameWeek(generateConfig, locale.locale, startValue, endValue) ||\n // QuotaPicker only compare week\n picker === 'quarter' && !isSameQuarter(generateConfig, startValue, endValue) ||\n // Other non-TimePicker compare date\n picker !== 'week' && picker !== 'quarter' && picker !== 'time' && !isSameDate(generateConfig, startValue, endValue)) {\n // Clean up end date when start date is after end date\n if (sourceIndex === 0) {\n values = [startValue, null];\n endValue = null;\n } else {\n startValue = null;\n values = [null, endValue];\n }\n // Clean up cache since invalidate\n openRecordsRef.current = _defineProperty({}, sourceIndex, true);\n } else if (picker !== 'time' || order !== false) {\n // Reorder when in same date\n values = reorderValues(values, generateConfig);\n }\n }\n setSelectedValue(values);\n var startStr = values && values[0] ? formatValue(values[0], {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '';\n var endStr = values && values[1] ? formatValue(values[1], {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '';\n if (onCalendarChange) {\n var info = {\n range: sourceIndex === 0 ? 'start' : 'end'\n };\n onCalendarChange(values, [startStr, endStr], info);\n }\n // >>>>> Trigger `onChange` event\n var canStartValueTrigger = canValueTrigger(startValue, 0, mergedDisabled, allowEmpty);\n var canEndValueTrigger = canValueTrigger(endValue, 1, mergedDisabled, allowEmpty);\n var canTrigger = values === null || canStartValueTrigger && canEndValueTrigger;\n if (canTrigger) {\n // Trigger onChange only when value is validate\n setInnerValue(values);\n if (onChange && (!isEqual(generateConfig, getValue(mergedValue, 0), startValue) || !isEqual(generateConfig, getValue(mergedValue, 1), endValue))) {\n onChange(values, [startStr, endStr]);\n }\n }\n // >>>>> Open picker when\n // Always open another picker if possible\n var nextOpenIndex = null;\n if (sourceIndex === 0 && !mergedDisabled[1]) {\n nextOpenIndex = 1;\n } else if (sourceIndex === 1 && !mergedDisabled[0]) {\n nextOpenIndex = 0;\n }\n if (nextOpenIndex !== null && nextOpenIndex !== mergedActivePickerIndex && (!openRecordsRef.current[nextOpenIndex] || !getValue(values, nextOpenIndex)) && getValue(values, sourceIndex)) {\n // Delay to focus to avoid input blur trigger expired selectedValues\n triggerOpenAndFocus(nextOpenIndex);\n } else {\n _triggerOpen(false, sourceIndex);\n }\n }\n var forwardKeyDown = function forwardKeyDown(e) {\n if (mergedOpen && operationRef.current && operationRef.current.onKeyDown) {\n // Let popup panel handle keyboard\n return operationRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Picker not correct forward KeyDown operation. Please help to fire issue about this.');\n return false;\n }\n };\n // ============================= Text ==============================\n var sharedTextHooksProps = {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n };\n var _useValueTexts = useValueTexts(getValue(selectedValue, 0), sharedTextHooksProps),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n startValueTexts = _useValueTexts2[0],\n firstStartValueText = _useValueTexts2[1];\n var _useValueTexts3 = useValueTexts(getValue(selectedValue, 1), sharedTextHooksProps),\n _useValueTexts4 = _slicedToArray(_useValueTexts3, 2),\n endValueTexts = _useValueTexts4[0],\n firstEndValueText = _useValueTexts4[1];\n var _onTextChange = function onTextChange(newText, index) {\n var inputDate = parseValue(newText, {\n locale: locale,\n formatList: formatList,\n generateConfig: generateConfig\n });\n var disabledFunc = index === 0 ? disabledStartDate : disabledEndDate;\n if (inputDate && !disabledFunc(inputDate)) {\n setSelectedValue(updateValues(selectedValue, inputDate, index));\n setViewDate(inputDate, index);\n }\n };\n var _useTextValueMapping = useTextValueMapping({\n valueTexts: startValueTexts,\n onTextChange: function onTextChange(newText) {\n return _onTextChange(newText, 0);\n }\n }),\n _useTextValueMapping2 = _slicedToArray(_useTextValueMapping, 3),\n startText = _useTextValueMapping2[0],\n triggerStartTextChange = _useTextValueMapping2[1],\n resetStartText = _useTextValueMapping2[2];\n var _useTextValueMapping3 = useTextValueMapping({\n valueTexts: endValueTexts,\n onTextChange: function onTextChange(newText) {\n return _onTextChange(newText, 1);\n }\n }),\n _useTextValueMapping4 = _slicedToArray(_useTextValueMapping3, 3),\n endText = _useTextValueMapping4[0],\n triggerEndTextChange = _useTextValueMapping4[1],\n resetEndText = _useTextValueMapping4[2];\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n rangeHoverValue = _useState4[0],\n setRangeHoverValue = _useState4[1];\n // ========================== Hover Range ==========================\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n hoverRangedValue = _useState6[0],\n setHoverRangedValue = _useState6[1];\n var _useHoverValue = useHoverValue(startText, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue2 = _slicedToArray(_useHoverValue, 3),\n startHoverValue = _useHoverValue2[0],\n onStartEnter = _useHoverValue2[1],\n onStartLeave = _useHoverValue2[2];\n var _useHoverValue3 = useHoverValue(endText, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue4 = _slicedToArray(_useHoverValue3, 3),\n endHoverValue = _useHoverValue4[0],\n onEndEnter = _useHoverValue4[1],\n onEndLeave = _useHoverValue4[2];\n var onDateMouseEnter = function onDateMouseEnter(date) {\n setHoverRangedValue(updateValues(selectedValue, date, mergedActivePickerIndex));\n if (mergedActivePickerIndex === 0) {\n onStartEnter(date);\n } else {\n onEndEnter(date);\n }\n };\n var onDateMouseLeave = function onDateMouseLeave() {\n setHoverRangedValue(updateValues(selectedValue, null, mergedActivePickerIndex));\n if (mergedActivePickerIndex === 0) {\n onStartLeave();\n } else {\n onEndLeave();\n }\n };\n // ============================= Input =============================\n var getSharedInputHookProps = function getSharedInputHookProps(index, resetText) {\n return {\n blurToCancel: needConfirmButton,\n forwardKeyDown: forwardKeyDown,\n onBlur: onBlur,\n isClickOutside: function isClickOutside(target) {\n return !elementsContains([panelDivRef.current, startInputDivRef.current, endInputDivRef.current, containerRef.current], target);\n },\n onFocus: function onFocus(e) {\n setMergedActivePickerIndex(index);\n if (_onFocus) {\n _onFocus(e);\n }\n },\n triggerOpen: function triggerOpen(newOpen) {\n _triggerOpen(newOpen, index);\n },\n onSubmit: function onSubmit() {\n if (\n // When user typing disabledDate with keyboard and enter, this value will be empty\n !selectedValue ||\n // Normal disabled check\n disabledDate && disabledDate(selectedValue[index])) {\n return false;\n }\n triggerChange(selectedValue, index);\n resetText();\n },\n onCancel: function onCancel() {\n _triggerOpen(false, index);\n setSelectedValue(mergedValue);\n resetText();\n }\n };\n };\n var currentFocusedKey = useRef('');\n var _usePickerInput = usePickerInput(_objectSpread(_objectSpread({}, getSharedInputHookProps(0, resetStartText)), {}, {\n open: startOpen,\n value: startText,\n currentFocusedKey: currentFocusedKey,\n key: 'start',\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n }\n })),\n _usePickerInput2 = _slicedToArray(_usePickerInput, 2),\n startInputProps = _usePickerInput2[0],\n _usePickerInput2$ = _usePickerInput2[1],\n startFocused = _usePickerInput2$.focused,\n startTyping = _usePickerInput2$.typing;\n var _usePickerInput3 = usePickerInput(_objectSpread(_objectSpread({}, getSharedInputHookProps(1, resetEndText)), {}, {\n open: endOpen,\n value: endText,\n currentFocusedKey: currentFocusedKey,\n key: 'end',\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n }\n })),\n _usePickerInput4 = _slicedToArray(_usePickerInput3, 2),\n endInputProps = _usePickerInput4[0],\n _usePickerInput4$ = _usePickerInput4[1],\n endFocused = _usePickerInput4$.focused,\n endTyping = _usePickerInput4$.typing;\n // ========================== Click Picker ==========================\n var onPickerClick = function onPickerClick(e) {\n // When click inside the picker & outside the picker's input elements\n // the panel should still be opened\n if (onClick) {\n onClick(e);\n }\n if (!mergedOpen && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n if (!mergedDisabled[0]) {\n triggerOpenAndFocus(0);\n } else if (!mergedDisabled[1]) {\n triggerOpenAndFocus(1);\n }\n }\n };\n var onPickerMouseDown = function onPickerMouseDown(e) {\n // shouldn't affect input elements if picker is active\n if (onMouseDown) {\n onMouseDown(e);\n }\n if (mergedOpen && (startFocused || endFocused) && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n e.preventDefault();\n }\n };\n // ============================= Sync ==============================\n // Close should sync back with text value\n var startStr = mergedValue && mergedValue[0] ? formatValue(mergedValue[0], {\n locale: locale,\n format: 'YYYYMMDDHHmmss',\n generateConfig: generateConfig\n }) : '';\n var endStr = mergedValue && mergedValue[1] ? formatValue(mergedValue[1], {\n locale: locale,\n format: 'YYYYMMDDHHmmss',\n generateConfig: generateConfig\n }) : '';\n useEffect(function () {\n if (!mergedOpen) {\n setSelectedValue(mergedValue);\n if (!startValueTexts.length || startValueTexts[0] === '') {\n triggerStartTextChange('');\n } else if (firstStartValueText !== startText) {\n resetStartText();\n }\n if (!endValueTexts.length || endValueTexts[0] === '') {\n triggerEndTextChange('');\n } else if (firstEndValueText !== endText) {\n resetEndText();\n }\n }\n }, [mergedOpen, startValueTexts, endValueTexts]);\n // Sync innerValue with control mode\n useEffect(function () {\n setSelectedValue(mergedValue);\n }, [startStr, endStr]);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n if (value && Array.isArray(disabled) && (getValue(disabled, 0) && !getValue(value, 0) || getValue(disabled, 1) && !getValue(value, 1))) {\n warning(false, '`disabled` should not set with empty `value`. You should set `allowEmpty` or `value` instead.');\n }\n }\n // ============================ Private ============================\n if (pickerRef) {\n pickerRef.current = {\n focus: function focus() {\n if (startInputRef.current) {\n startInputRef.current.focus();\n }\n },\n blur: function blur() {\n if (startInputRef.current) {\n startInputRef.current.blur();\n }\n if (endInputRef.current) {\n endInputRef.current.blur();\n }\n }\n };\n }\n // ============================ Ranges =============================\n var rangeLabels = Object.keys(ranges || {});\n var rangeList = rangeLabels.map(function (label) {\n var range = ranges[label];\n var newValues = typeof range === 'function' ? range() : range;\n return {\n label: label,\n onClick: function onClick() {\n triggerChange(newValues, null);\n _triggerOpen(false, mergedActivePickerIndex);\n },\n onMouseEnter: function onMouseEnter() {\n setRangeHoverValue(newValues);\n },\n onMouseLeave: function onMouseLeave() {\n setRangeHoverValue(null);\n }\n };\n });\n // ============================= Panel =============================\n function renderPanel() {\n var panelPosition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var panelProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var panelHoverRangedValue = null;\n if (mergedOpen && hoverRangedValue && hoverRangedValue[0] && hoverRangedValue[1] && generateConfig.isAfter(hoverRangedValue[1], hoverRangedValue[0])) {\n panelHoverRangedValue = hoverRangedValue;\n }\n var panelShowTime = showTime;\n if (showTime && _typeof(showTime) === 'object' && showTime.defaultValue) {\n var timeDefaultValues = showTime.defaultValue;\n panelShowTime = _objectSpread(_objectSpread({}, showTime), {}, {\n defaultValue: getValue(timeDefaultValues, mergedActivePickerIndex) || undefined\n });\n }\n var panelDateRender = null;\n if (dateRender) {\n panelDateRender = function panelDateRender(date, today) {\n return dateRender(date, today, {\n range: mergedActivePickerIndex ? 'end' : 'start'\n });\n };\n }\n return /*#__PURE__*/React.createElement(RangeContext.Provider, {\n value: {\n inRange: true,\n panelPosition: panelPosition,\n rangedValue: rangeHoverValue || selectedValue,\n hoverRangedValue: panelHoverRangedValue\n }\n }, /*#__PURE__*/React.createElement(PickerPanel, _extends({}, props, panelProps, {\n dateRender: panelDateRender,\n showTime: panelShowTime,\n mode: mergedModes[mergedActivePickerIndex],\n generateConfig: generateConfig,\n style: undefined,\n direction: direction,\n disabledDate: mergedActivePickerIndex === 0 ? disabledStartDate : disabledEndDate,\n disabledTime: function disabledTime(date) {\n if (_disabledTime) {\n return _disabledTime(date, mergedActivePickerIndex === 0 ? 'start' : 'end');\n }\n return false;\n },\n className: classNames(_defineProperty({}, \"\".concat(prefixCls, \"-panel-focused\"), mergedActivePickerIndex === 0 ? !startTyping : !endTyping)),\n value: getValue(selectedValue, mergedActivePickerIndex),\n locale: locale,\n tabIndex: -1,\n onPanelChange: function onPanelChange(date, newMode) {\n // clear hover value when panel change\n if (mergedActivePickerIndex === 0) {\n onStartLeave(true);\n }\n if (mergedActivePickerIndex === 1) {\n onEndLeave(true);\n }\n triggerModesChange(updateValues(mergedModes, newMode, mergedActivePickerIndex), updateValues(selectedValue, date, mergedActivePickerIndex));\n var viewDate = date;\n if (panelPosition === 'right' && mergedModes[mergedActivePickerIndex] === newMode) {\n viewDate = getClosingViewDate(viewDate, newMode, generateConfig, -1);\n }\n setViewDate(viewDate, mergedActivePickerIndex);\n },\n onOk: null,\n onSelect: undefined,\n onChange: undefined,\n defaultValue: mergedActivePickerIndex === 0 ? getValue(selectedValue, 1) : getValue(selectedValue, 0)\n })));\n }\n var arrowLeft = 0;\n var panelLeft = 0;\n if (mergedActivePickerIndex && startInputDivRef.current && separatorRef.current && panelDivRef.current) {\n // Arrow offset\n arrowLeft = startInputDivRef.current.offsetWidth + separatorRef.current.offsetWidth;\n // If panelWidth - arrowWidth - arrowMarginLeft < arrowLeft, panel should move to right side.\n // If arrowOffsetLeft > arrowLeft, arrowMarginLeft = arrowOffsetLeft - arrowLeft\n var arrowMarginLeft = arrowRef.current.offsetLeft > arrowLeft ? arrowRef.current.offsetLeft - arrowLeft : arrowRef.current.offsetLeft;\n if (panelDivRef.current.offsetWidth && arrowRef.current.offsetWidth && arrowLeft > panelDivRef.current.offsetWidth - arrowRef.current.offsetWidth - (direction === 'rtl' ? 0 : arrowMarginLeft)) {\n panelLeft = arrowLeft;\n }\n }\n var arrowPositionStyle = direction === 'rtl' ? {\n right: arrowLeft\n } : {\n left: arrowLeft\n };\n function renderPanels() {\n var panels;\n var extraNode = getExtraFooter(prefixCls, mergedModes[mergedActivePickerIndex], renderExtraFooter);\n var rangesNode = getRanges({\n prefixCls: prefixCls,\n components: components,\n needConfirmButton: needConfirmButton,\n okDisabled: !getValue(selectedValue, mergedActivePickerIndex) || disabledDate && disabledDate(selectedValue[mergedActivePickerIndex]),\n locale: locale,\n rangeList: rangeList,\n onOk: function onOk() {\n if (getValue(selectedValue, mergedActivePickerIndex)) {\n // triggerChangeOld(selectedValue);\n triggerChange(selectedValue, mergedActivePickerIndex);\n if (_onOk) {\n _onOk(selectedValue);\n }\n }\n }\n });\n if (picker !== 'time' && !showTime) {\n var viewDate = getViewDate(mergedActivePickerIndex);\n var nextViewDate = getClosingViewDate(viewDate, picker, generateConfig);\n var currentMode = mergedModes[mergedActivePickerIndex];\n var showDoublePanel = currentMode === picker;\n var leftPanel = renderPanel(showDoublePanel ? 'left' : false, {\n pickerValue: viewDate,\n onPickerValueChange: function onPickerValueChange(newViewDate) {\n setViewDate(newViewDate, mergedActivePickerIndex);\n }\n });\n var rightPanel = renderPanel('right', {\n pickerValue: nextViewDate,\n onPickerValueChange: function onPickerValueChange(newViewDate) {\n setViewDate(getClosingViewDate(newViewDate, picker, generateConfig, -1), mergedActivePickerIndex);\n }\n });\n if (direction === 'rtl') {\n panels = /*#__PURE__*/React.createElement(React.Fragment, null, rightPanel, showDoublePanel && leftPanel);\n } else {\n panels = /*#__PURE__*/React.createElement(React.Fragment, null, leftPanel, showDoublePanel && rightPanel);\n }\n } else {\n panels = renderPanel();\n }\n var mergedNodes = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panels\")\n }, panels), (extraNode || rangesNode) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, extraNode, rangesNode));\n if (panelRender) {\n mergedNodes = panelRender(mergedNodes);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-container\"),\n style: {\n marginLeft: panelLeft\n },\n ref: panelDivRef,\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n }\n }, mergedNodes);\n }\n var rangePanel = /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-range-wrapper\"), \"\".concat(prefixCls, \"-\").concat(picker, \"-range-wrapper\")),\n style: {\n minWidth: popupMinWidth\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: \"\".concat(prefixCls, \"-range-arrow\"),\n style: arrowPositionStyle\n }), renderPanels());\n // ============================= Icons =============================\n var suffixNode;\n if (suffixIcon) {\n suffixNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, suffixIcon);\n }\n var clearNode;\n if (allowClear && (getValue(mergedValue, 0) && !mergedDisabled[0] || getValue(mergedValue, 1) && !mergedDisabled[1])) {\n clearNode = /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n e.stopPropagation();\n },\n onMouseUp: function onMouseUp(e) {\n e.preventDefault();\n e.stopPropagation();\n var values = mergedValue;\n if (!mergedDisabled[0]) {\n values = updateValues(values, null, 0);\n }\n if (!mergedDisabled[1]) {\n values = updateValues(values, null, 1);\n }\n triggerChange(values, null);\n _triggerOpen(false, mergedActivePickerIndex);\n },\n className: \"\".concat(prefixCls, \"-clear\")\n }, clearIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-clear-btn\")\n }));\n }\n var inputSharedProps = {\n size: getInputSize(picker, formatList[0], generateConfig)\n };\n var activeBarLeft = 0;\n var activeBarWidth = 0;\n if (startInputDivRef.current && endInputDivRef.current && separatorRef.current) {\n if (mergedActivePickerIndex === 0) {\n activeBarWidth = startInputDivRef.current.offsetWidth;\n } else {\n activeBarLeft = arrowLeft;\n activeBarWidth = endInputDivRef.current.offsetWidth;\n }\n }\n var activeBarPositionStyle = direction === 'rtl' ? {\n right: activeBarLeft\n } : {\n left: activeBarLeft\n };\n // ============================ Return =============================\n var onContextSelect = function onContextSelect(date, type) {\n var values = updateValues(selectedValue, date, mergedActivePickerIndex);\n if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n // triggerChange will also update selected values\n triggerChange(values, mergedActivePickerIndex);\n // clear hover value style\n if (mergedActivePickerIndex === 0) {\n onStartLeave();\n } else {\n onEndLeave();\n }\n } else {\n setSelectedValue(values);\n }\n };\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: {\n operationRef: operationRef,\n hideHeader: picker === 'time',\n onDateMouseEnter: onDateMouseEnter,\n onDateMouseLeave: onDateMouseLeave,\n hideRanges: true,\n onSelect: onContextSelect,\n open: mergedOpen\n }\n }, /*#__PURE__*/React.createElement(PickerTrigger, {\n visible: mergedOpen,\n popupElement: rangePanel,\n popupStyle: popupStyle,\n prefixCls: prefixCls,\n dropdownClassName: dropdownClassName,\n dropdownAlign: dropdownAlign,\n getPopupContainer: getPopupContainer,\n transitionName: transitionName,\n range: true,\n direction: direction\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: containerRef,\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-range\"), className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), mergedDisabled[0] && mergedDisabled[1]), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-focused\"), mergedActivePickerIndex === 0 ? startFocused : endFocused), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2)),\n style: style,\n onClick: onPickerClick,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onMouseDown: onPickerMouseDown,\n onMouseUp: onMouseUp\n }, getDataOrAriaProps(props)), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), (_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 0), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-input-placeholder\"), !!startHoverValue), _classNames3)),\n ref: startInputDivRef\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n id: id,\n disabled: mergedDisabled[0],\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !startTyping,\n value: startHoverValue || startText,\n onChange: function onChange(e) {\n triggerStartTextChange(e.target.value);\n },\n autoFocus: autoFocus,\n placeholder: getValue(placeholder, 0) || '',\n ref: startInputRef\n }, startInputProps, inputSharedProps, {\n autoComplete: autoComplete\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-range-separator\"),\n ref: separatorRef\n }, separator), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), (_classNames4 = {}, _defineProperty(_classNames4, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 1), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-input-placeholder\"), !!endHoverValue), _classNames4)),\n ref: endInputDivRef\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n disabled: mergedDisabled[1],\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !endTyping,\n value: endHoverValue || endText,\n onChange: function onChange(e) {\n triggerEndTextChange(e.target.value);\n },\n placeholder: getValue(placeholder, 1) || '',\n ref: endInputRef\n }, endInputProps, inputSharedProps, {\n autoComplete: autoComplete\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-active-bar\"),\n style: _objectSpread(_objectSpread({}, activeBarPositionStyle), {}, {\n width: activeBarWidth,\n position: 'absolute'\n })\n }), suffixNode, clearNode)));\n}\n// Wrap with class component to enable pass generic with instance method\nvar RangePicker = /*#__PURE__*/function (_React$Component) {\n _inherits(RangePicker, _React$Component);\n var _super = _createSuper(RangePicker);\n function RangePicker() {\n var _this;\n _classCallCheck(this, RangePicker);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.pickerRef = /*#__PURE__*/React.createRef();\n _this.focus = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.focus();\n }\n };\n _this.blur = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.blur();\n }\n };\n return _this;\n }\n _createClass(RangePicker, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(InnerRangePicker, _extends({}, this.props, {\n pickerRef: this.pickerRef\n }));\n }\n }]);\n return RangePicker;\n}(React.Component);\nexport default RangePicker;","import Picker from './Picker';\nimport PickerPanel from './PickerPanel';\nimport RangePicker from './RangePicker';\nexport { PickerPanel, RangePicker };\nexport default Picker;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nimport { FormItemInputContext } from '../form/context';\nimport { Button, Group } from '../radio';\nimport Select from '../select';\nvar YearSelectOffset = 10;\nvar YearSelectTotal = 20;\nfunction YearSelect(props) {\n var fullscreen = props.fullscreen,\n validRange = props.validRange,\n generateConfig = props.generateConfig,\n locale = props.locale,\n prefixCls = props.prefixCls,\n value = props.value,\n _onChange = props.onChange,\n divRef = props.divRef;\n var year = generateConfig.getYear(value || generateConfig.getNow());\n var start = year - YearSelectOffset;\n var end = start + YearSelectTotal;\n if (validRange) {\n start = generateConfig.getYear(validRange[0]);\n end = generateConfig.getYear(validRange[1]) + 1;\n }\n var suffix = locale && locale.year === '年' ? '年' : '';\n var options = [];\n for (var index = start; index < end; index++) {\n options.push({\n label: \"\".concat(index).concat(suffix),\n value: index\n });\n }\n return /*#__PURE__*/React.createElement(Select, {\n size: fullscreen ? undefined : 'small',\n options: options,\n value: year,\n className: \"\".concat(prefixCls, \"-year-select\"),\n onChange: function onChange(numYear) {\n var newDate = generateConfig.setYear(value, numYear);\n if (validRange) {\n var _validRange = _slicedToArray(validRange, 2),\n startDate = _validRange[0],\n endDate = _validRange[1];\n var newYear = generateConfig.getYear(newDate);\n var newMonth = generateConfig.getMonth(newDate);\n if (newYear === generateConfig.getYear(endDate) && newMonth > generateConfig.getMonth(endDate)) {\n newDate = generateConfig.setMonth(newDate, generateConfig.getMonth(endDate));\n }\n if (newYear === generateConfig.getYear(startDate) && newMonth < generateConfig.getMonth(startDate)) {\n newDate = generateConfig.setMonth(newDate, generateConfig.getMonth(startDate));\n }\n }\n _onChange(newDate);\n },\n getPopupContainer: function getPopupContainer() {\n return divRef.current;\n }\n });\n}\nfunction MonthSelect(props) {\n var prefixCls = props.prefixCls,\n fullscreen = props.fullscreen,\n validRange = props.validRange,\n value = props.value,\n generateConfig = props.generateConfig,\n locale = props.locale,\n _onChange2 = props.onChange,\n divRef = props.divRef;\n var month = generateConfig.getMonth(value || generateConfig.getNow());\n var start = 0;\n var end = 11;\n if (validRange) {\n var _validRange2 = _slicedToArray(validRange, 2),\n rangeStart = _validRange2[0],\n rangeEnd = _validRange2[1];\n var currentYear = generateConfig.getYear(value);\n if (generateConfig.getYear(rangeEnd) === currentYear) {\n end = generateConfig.getMonth(rangeEnd);\n }\n if (generateConfig.getYear(rangeStart) === currentYear) {\n start = generateConfig.getMonth(rangeStart);\n }\n }\n var months = locale.shortMonths || generateConfig.locale.getShortMonths(locale.locale);\n var options = [];\n for (var index = start; index <= end; index += 1) {\n options.push({\n label: months[index],\n value: index\n });\n }\n return /*#__PURE__*/React.createElement(Select, {\n size: fullscreen ? undefined : 'small',\n className: \"\".concat(prefixCls, \"-month-select\"),\n value: month,\n options: options,\n onChange: function onChange(newMonth) {\n _onChange2(generateConfig.setMonth(value, newMonth));\n },\n getPopupContainer: function getPopupContainer() {\n return divRef.current;\n }\n });\n}\nfunction ModeSwitch(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n mode = props.mode,\n fullscreen = props.fullscreen,\n onModeChange = props.onModeChange;\n return /*#__PURE__*/React.createElement(Group, {\n onChange: function onChange(_ref) {\n var value = _ref.target.value;\n onModeChange(value);\n },\n value: mode,\n size: fullscreen ? undefined : 'small',\n className: \"\".concat(prefixCls, \"-mode-switch\")\n }, /*#__PURE__*/React.createElement(Button, {\n value: \"month\"\n }, locale.month), /*#__PURE__*/React.createElement(Button, {\n value: \"year\"\n }, locale.year));\n}\nfunction CalendarHeader(props) {\n var prefixCls = props.prefixCls,\n fullscreen = props.fullscreen,\n mode = props.mode,\n onChange = props.onChange,\n onModeChange = props.onModeChange;\n var divRef = React.useRef(null);\n var formItemInputContext = useContext(FormItemInputContext);\n var mergedFormItemInputContext = useMemo(function () {\n return _extends(_extends({}, formItemInputContext), {\n isFormItemInput: false\n });\n }, [formItemInputContext]);\n var sharedProps = _extends(_extends({}, props), {\n onChange: onChange,\n fullscreen: fullscreen,\n divRef: divRef\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\"),\n ref: divRef\n }, /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: mergedFormItemInputContext\n }, /*#__PURE__*/React.createElement(YearSelect, _extends({}, sharedProps)), mode === 'month' && /*#__PURE__*/React.createElement(MonthSelect, _extends({}, sharedProps))), /*#__PURE__*/React.createElement(ModeSwitch, _extends({}, sharedProps, {\n onModeChange: onModeChange\n })));\n}\nexport default CalendarHeader;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport padStart from 'lodash/padStart';\nimport { PickerPanel as RCPickerPanel } from 'rc-picker';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport CalendarHeader from './Header';\nimport enUS from './locale/en_US';\nfunction generateCalendar(generateConfig) {\n function isSameYear(date1, date2) {\n return date1 && date2 && generateConfig.getYear(date1) === generateConfig.getYear(date2);\n }\n function isSameMonth(date1, date2) {\n return isSameYear(date1, date2) && generateConfig.getMonth(date1) === generateConfig.getMonth(date2);\n }\n function isSameDate(date1, date2) {\n return isSameMonth(date1, date2) && generateConfig.getDate(date1) === generateConfig.getDate(date2);\n }\n var Calendar = function Calendar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n dateFullCellRender = props.dateFullCellRender,\n dateCellRender = props.dateCellRender,\n monthFullCellRender = props.monthFullCellRender,\n monthCellRender = props.monthCellRender,\n headerRender = props.headerRender,\n value = props.value,\n defaultValue = props.defaultValue,\n disabledDate = props.disabledDate,\n mode = props.mode,\n validRange = props.validRange,\n _props$fullscreen = props.fullscreen,\n fullscreen = _props$fullscreen === void 0 ? true : _props$fullscreen,\n onChange = props.onChange,\n onPanelChange = props.onPanelChange,\n onSelect = props.onSelect;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var calendarPrefixCls = \"\".concat(prefixCls, \"-calendar\");\n var today = generateConfig.getNow();\n // ====================== State =======================\n // Value\n var _useMergedState = useMergedState(function () {\n return value || generateConfig.getNow();\n }, {\n defaultValue: defaultValue,\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1];\n // Mode\n var _useMergedState3 = useMergedState('month', {\n value: mode\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedMode = _useMergedState4[0],\n setMergedMode = _useMergedState4[1];\n var panelMode = React.useMemo(function () {\n return mergedMode === 'year' ? 'month' : 'date';\n }, [mergedMode]);\n // Disabled Date\n var mergedDisabledDate = React.useCallback(function (date) {\n var notInRange = validRange ? generateConfig.isAfter(validRange[0], date) || generateConfig.isAfter(date, validRange[1]) : false;\n return notInRange || !!(disabledDate === null || disabledDate === void 0 ? void 0 : disabledDate(date));\n }, [disabledDate, validRange]);\n // ====================== Events ======================\n var triggerPanelChange = function triggerPanelChange(date, newMode) {\n onPanelChange === null || onPanelChange === void 0 ? void 0 : onPanelChange(date, newMode);\n };\n var triggerChange = function triggerChange(date) {\n setMergedValue(date);\n if (!isSameDate(date, mergedValue)) {\n // Trigger when month panel switch month\n if (panelMode === 'date' && !isSameMonth(date, mergedValue) || panelMode === 'month' && !isSameYear(date, mergedValue)) {\n triggerPanelChange(date, mergedMode);\n }\n onChange === null || onChange === void 0 ? void 0 : onChange(date);\n }\n };\n var triggerModeChange = function triggerModeChange(newMode) {\n setMergedMode(newMode);\n triggerPanelChange(mergedValue, newMode);\n };\n var onInternalSelect = function onInternalSelect(date) {\n triggerChange(date);\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(date);\n };\n // ====================== Locale ======================\n var getDefaultLocale = function getDefaultLocale() {\n var locale = props.locale;\n var result = _extends(_extends({}, enUS), locale);\n result.lang = _extends(_extends({}, result.lang), (locale || {}).lang);\n return result;\n };\n // ====================== Render ======================\n var dateRender = React.useCallback(function (date) {\n if (dateFullCellRender) {\n return dateFullCellRender(date);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-cell-inner\"), \"\".concat(calendarPrefixCls, \"-date\"), _defineProperty({}, \"\".concat(calendarPrefixCls, \"-date-today\"), isSameDate(today, date)))\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-value\")\n }, padStart(String(generateConfig.getDate(date)), 2, '0')), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-content\")\n }, dateCellRender && dateCellRender(date)));\n }, [dateFullCellRender, dateCellRender]);\n var monthRender = React.useCallback(function (date, locale) {\n if (monthFullCellRender) {\n return monthFullCellRender(date);\n }\n var months = locale.shortMonths || generateConfig.locale.getShortMonths(locale.locale);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-cell-inner\"), \"\".concat(calendarPrefixCls, \"-date\"), _defineProperty({}, \"\".concat(calendarPrefixCls, \"-date-today\"), isSameMonth(today, date)))\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-value\")\n }, months[generateConfig.getMonth(date)]), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-content\")\n }, monthCellRender && monthCellRender(date)));\n }, [monthFullCellRender, monthCellRender]);\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Calendar\",\n defaultLocale: getDefaultLocale\n }, function (contextLocale) {\n var _classNames3;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(calendarPrefixCls, (_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-full\"), fullscreen), _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-mini\"), !fullscreen), _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-rtl\"), direction === 'rtl'), _classNames3), className),\n style: style\n }, headerRender ? headerRender({\n value: mergedValue,\n type: mergedMode,\n onChange: onInternalSelect,\n onTypeChange: triggerModeChange\n }) : /*#__PURE__*/React.createElement(CalendarHeader, {\n prefixCls: calendarPrefixCls,\n value: mergedValue,\n generateConfig: generateConfig,\n mode: mergedMode,\n fullscreen: fullscreen,\n locale: contextLocale.lang,\n validRange: validRange,\n onChange: onInternalSelect,\n onModeChange: triggerModeChange\n }), /*#__PURE__*/React.createElement(RCPickerPanel, {\n value: mergedValue,\n prefixCls: prefixCls,\n locale: contextLocale.lang,\n generateConfig: generateConfig,\n dateRender: dateRender,\n monthCellRender: function monthCellRender(date) {\n return monthRender(date, contextLocale.lang);\n },\n onSelect: onInternalSelect,\n mode: panelMode,\n picker: panelMode,\n disabledDate: mergedDisabledDate,\n hideHeader: true\n }));\n });\n };\n return Calendar;\n}\nexport default generateCalendar;","import momentGenerateConfig from \"rc-picker/es/generate/moment\";\nimport generateCalendar from './generateCalendar';\nvar Calendar = generateCalendar(momentGenerateConfig);\nexport default Calendar;","var initialState = {\n animating: false,\n autoplaying: null,\n currentDirection: 0,\n currentLeft: null,\n currentSlide: 0,\n direction: 1,\n dragging: false,\n edgeDragged: false,\n initialized: false,\n lazyLoadedList: [],\n listHeight: null,\n listWidth: null,\n scrolling: false,\n slideCount: null,\n slideHeight: null,\n slideWidth: null,\n swipeLeft: null,\n swiped: false,\n // used by swipeEvent. differentites between touch and swipe.\n swiping: false,\n touchObject: {\n startX: 0,\n startY: 0,\n curX: 0,\n curY: 0\n },\n trackStyle: {},\n trackWidth: 0,\n targetSlide: 0\n};\nexport default initialState;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport React from \"react\";\nexport function clamp(number, lowerBound, upperBound) {\n return Math.max(lowerBound, Math.min(number, upperBound));\n}\nexport var safePreventDefault = function safePreventDefault(event) {\n var passiveEvents = [\"onTouchStart\", \"onTouchMove\", \"onWheel\"];\n\n if (!passiveEvents.includes(event._reactName)) {\n event.preventDefault();\n }\n};\nexport var getOnDemandLazySlides = function getOnDemandLazySlides(spec) {\n var onDemandSlides = [];\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n\n for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {\n if (spec.lazyLoadedList.indexOf(slideIndex) < 0) {\n onDemandSlides.push(slideIndex);\n }\n }\n\n return onDemandSlides;\n}; // return list of slides that need to be present\n\nexport var getRequiredLazySlides = function getRequiredLazySlides(spec) {\n var requiredSlides = [];\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n\n for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {\n requiredSlides.push(slideIndex);\n }\n\n return requiredSlides;\n}; // startIndex that needs to be present\n\nexport var lazyStartIndex = function lazyStartIndex(spec) {\n return spec.currentSlide - lazySlidesOnLeft(spec);\n};\nexport var lazyEndIndex = function lazyEndIndex(spec) {\n return spec.currentSlide + lazySlidesOnRight(spec);\n};\nexport var lazySlidesOnLeft = function lazySlidesOnLeft(spec) {\n return spec.centerMode ? Math.floor(spec.slidesToShow / 2) + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : 0;\n};\nexport var lazySlidesOnRight = function lazySlidesOnRight(spec) {\n return spec.centerMode ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow;\n}; // get width of an element\n\nexport var getWidth = function getWidth(elem) {\n return elem && elem.offsetWidth || 0;\n};\nexport var getHeight = function getHeight(elem) {\n return elem && elem.offsetHeight || 0;\n};\nexport var getSwipeDirection = function getSwipeDirection(touchObject) {\n var verticalSwiping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var xDist, yDist, r, swipeAngle;\n xDist = touchObject.startX - touchObject.curX;\n yDist = touchObject.startY - touchObject.curY;\n r = Math.atan2(yDist, xDist);\n swipeAngle = Math.round(r * 180 / Math.PI);\n\n if (swipeAngle < 0) {\n swipeAngle = 360 - Math.abs(swipeAngle);\n }\n\n if (swipeAngle <= 45 && swipeAngle >= 0 || swipeAngle <= 360 && swipeAngle >= 315) {\n return \"left\";\n }\n\n if (swipeAngle >= 135 && swipeAngle <= 225) {\n return \"right\";\n }\n\n if (verticalSwiping === true) {\n if (swipeAngle >= 35 && swipeAngle <= 135) {\n return \"up\";\n } else {\n return \"down\";\n }\n }\n\n return \"vertical\";\n}; // whether or not we can go next\n\nexport var canGoNext = function canGoNext(spec) {\n var canGo = true;\n\n if (!spec.infinite) {\n if (spec.centerMode && spec.currentSlide >= spec.slideCount - 1) {\n canGo = false;\n } else if (spec.slideCount <= spec.slidesToShow || spec.currentSlide >= spec.slideCount - spec.slidesToShow) {\n canGo = false;\n }\n }\n\n return canGo;\n}; // given an object and a list of keys, return new object with given keys\n\nexport var extractObject = function extractObject(spec, keys) {\n var newObject = {};\n keys.forEach(function (key) {\n return newObject[key] = spec[key];\n });\n return newObject;\n}; // get initialized state\n\nexport var initializedState = function initializedState(spec) {\n // spec also contains listRef, trackRef\n var slideCount = React.Children.count(spec.children);\n var listNode = spec.listRef;\n var listWidth = Math.ceil(getWidth(listNode));\n var trackNode = spec.trackRef && spec.trackRef.node;\n var trackWidth = Math.ceil(getWidth(trackNode));\n var slideWidth;\n\n if (!spec.vertical) {\n var centerPaddingAdj = spec.centerMode && parseInt(spec.centerPadding) * 2;\n\n if (typeof spec.centerPadding === \"string\" && spec.centerPadding.slice(-1) === \"%\") {\n centerPaddingAdj *= listWidth / 100;\n }\n\n slideWidth = Math.ceil((listWidth - centerPaddingAdj) / spec.slidesToShow);\n } else {\n slideWidth = listWidth;\n }\n\n var slideHeight = listNode && getHeight(listNode.querySelector('[data-index=\"0\"]'));\n var listHeight = slideHeight * spec.slidesToShow;\n var currentSlide = spec.currentSlide === undefined ? spec.initialSlide : spec.currentSlide;\n\n if (spec.rtl && spec.currentSlide === undefined) {\n currentSlide = slideCount - 1 - spec.initialSlide;\n }\n\n var lazyLoadedList = spec.lazyLoadedList || [];\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, spec), {}, {\n currentSlide: currentSlide,\n lazyLoadedList: lazyLoadedList\n }));\n lazyLoadedList = lazyLoadedList.concat(slidesToLoad);\n var state = {\n slideCount: slideCount,\n slideWidth: slideWidth,\n listWidth: listWidth,\n trackWidth: trackWidth,\n currentSlide: currentSlide,\n slideHeight: slideHeight,\n listHeight: listHeight,\n lazyLoadedList: lazyLoadedList\n };\n\n if (spec.autoplaying === null && spec.autoplay) {\n state[\"autoplaying\"] = \"playing\";\n }\n\n return state;\n};\nexport var slideHandler = function slideHandler(spec) {\n var waitForAnimate = spec.waitForAnimate,\n animating = spec.animating,\n fade = spec.fade,\n infinite = spec.infinite,\n index = spec.index,\n slideCount = spec.slideCount,\n lazyLoad = spec.lazyLoad,\n currentSlide = spec.currentSlide,\n centerMode = spec.centerMode,\n slidesToScroll = spec.slidesToScroll,\n slidesToShow = spec.slidesToShow,\n useCSS = spec.useCSS;\n var lazyLoadedList = spec.lazyLoadedList;\n if (waitForAnimate && animating) return {};\n var animationSlide = index,\n finalSlide,\n animationLeft,\n finalLeft;\n var state = {},\n nextState = {};\n var targetSlide = infinite ? index : clamp(index, 0, slideCount - 1);\n\n if (fade) {\n if (!infinite && (index < 0 || index >= slideCount)) return {};\n\n if (index < 0) {\n animationSlide = index + slideCount;\n } else if (index >= slideCount) {\n animationSlide = index - slideCount;\n }\n\n if (lazyLoad && lazyLoadedList.indexOf(animationSlide) < 0) {\n lazyLoadedList = lazyLoadedList.concat(animationSlide);\n }\n\n state = {\n animating: true,\n currentSlide: animationSlide,\n lazyLoadedList: lazyLoadedList,\n targetSlide: animationSlide\n };\n nextState = {\n animating: false,\n targetSlide: animationSlide\n };\n } else {\n finalSlide = animationSlide;\n\n if (animationSlide < 0) {\n finalSlide = animationSlide + slideCount;\n if (!infinite) finalSlide = 0;else if (slideCount % slidesToScroll !== 0) finalSlide = slideCount - slideCount % slidesToScroll;\n } else if (!canGoNext(spec) && animationSlide > currentSlide) {\n animationSlide = finalSlide = currentSlide;\n } else if (centerMode && animationSlide >= slideCount) {\n animationSlide = infinite ? slideCount : slideCount - 1;\n finalSlide = infinite ? 0 : slideCount - 1;\n } else if (animationSlide >= slideCount) {\n finalSlide = animationSlide - slideCount;\n if (!infinite) finalSlide = slideCount - slidesToShow;else if (slideCount % slidesToScroll !== 0) finalSlide = 0;\n }\n\n if (!infinite && animationSlide + slidesToShow >= slideCount) {\n finalSlide = slideCount - slidesToShow;\n }\n\n animationLeft = getTrackLeft(_objectSpread(_objectSpread({}, spec), {}, {\n slideIndex: animationSlide\n }));\n finalLeft = getTrackLeft(_objectSpread(_objectSpread({}, spec), {}, {\n slideIndex: finalSlide\n }));\n\n if (!infinite) {\n if (animationLeft === finalLeft) animationSlide = finalSlide;\n animationLeft = finalLeft;\n }\n\n if (lazyLoad) {\n lazyLoadedList = lazyLoadedList.concat(getOnDemandLazySlides(_objectSpread(_objectSpread({}, spec), {}, {\n currentSlide: animationSlide\n })));\n }\n\n if (!useCSS) {\n state = {\n currentSlide: finalSlide,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: finalLeft\n })),\n lazyLoadedList: lazyLoadedList,\n targetSlide: targetSlide\n };\n } else {\n state = {\n animating: true,\n currentSlide: finalSlide,\n trackStyle: getTrackAnimateCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: animationLeft\n })),\n lazyLoadedList: lazyLoadedList,\n targetSlide: targetSlide\n };\n nextState = {\n animating: false,\n currentSlide: finalSlide,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: finalLeft\n })),\n swipeLeft: null,\n targetSlide: targetSlide\n };\n }\n }\n\n return {\n state: state,\n nextState: nextState\n };\n};\nexport var changeSlide = function changeSlide(spec, options) {\n var indexOffset, previousInt, slideOffset, unevenOffset, targetSlide;\n var slidesToScroll = spec.slidesToScroll,\n slidesToShow = spec.slidesToShow,\n slideCount = spec.slideCount,\n currentSlide = spec.currentSlide,\n previousTargetSlide = spec.targetSlide,\n lazyLoad = spec.lazyLoad,\n infinite = spec.infinite;\n unevenOffset = slideCount % slidesToScroll !== 0;\n indexOffset = unevenOffset ? 0 : (slideCount - currentSlide) % slidesToScroll;\n\n if (options.message === \"previous\") {\n slideOffset = indexOffset === 0 ? slidesToScroll : slidesToShow - indexOffset;\n targetSlide = currentSlide - slideOffset;\n\n if (lazyLoad && !infinite) {\n previousInt = currentSlide - slideOffset;\n targetSlide = previousInt === -1 ? slideCount - 1 : previousInt;\n }\n\n if (!infinite) {\n targetSlide = previousTargetSlide - slidesToScroll;\n }\n } else if (options.message === \"next\") {\n slideOffset = indexOffset === 0 ? slidesToScroll : indexOffset;\n targetSlide = currentSlide + slideOffset;\n\n if (lazyLoad && !infinite) {\n targetSlide = (currentSlide + slidesToScroll) % slideCount + indexOffset;\n }\n\n if (!infinite) {\n targetSlide = previousTargetSlide + slidesToScroll;\n }\n } else if (options.message === \"dots\") {\n // Click on dots\n targetSlide = options.index * options.slidesToScroll;\n } else if (options.message === \"children\") {\n // Click on the slides\n targetSlide = options.index;\n\n if (infinite) {\n var direction = siblingDirection(_objectSpread(_objectSpread({}, spec), {}, {\n targetSlide: targetSlide\n }));\n\n if (targetSlide > options.currentSlide && direction === \"left\") {\n targetSlide = targetSlide - slideCount;\n } else if (targetSlide < options.currentSlide && direction === \"right\") {\n targetSlide = targetSlide + slideCount;\n }\n }\n } else if (options.message === \"index\") {\n targetSlide = Number(options.index);\n }\n\n return targetSlide;\n};\nexport var keyHandler = function keyHandler(e, accessibility, rtl) {\n if (e.target.tagName.match(\"TEXTAREA|INPUT|SELECT\") || !accessibility) return \"\";\n if (e.keyCode === 37) return rtl ? \"next\" : \"previous\";\n if (e.keyCode === 39) return rtl ? \"previous\" : \"next\";\n return \"\";\n};\nexport var swipeStart = function swipeStart(e, swipe, draggable) {\n e.target.tagName === \"IMG\" && safePreventDefault(e);\n if (!swipe || !draggable && e.type.indexOf(\"mouse\") !== -1) return \"\";\n return {\n dragging: true,\n touchObject: {\n startX: e.touches ? e.touches[0].pageX : e.clientX,\n startY: e.touches ? e.touches[0].pageY : e.clientY,\n curX: e.touches ? e.touches[0].pageX : e.clientX,\n curY: e.touches ? e.touches[0].pageY : e.clientY\n }\n };\n};\nexport var swipeMove = function swipeMove(e, spec) {\n // spec also contains, trackRef and slideIndex\n var scrolling = spec.scrolling,\n animating = spec.animating,\n vertical = spec.vertical,\n swipeToSlide = spec.swipeToSlide,\n verticalSwiping = spec.verticalSwiping,\n rtl = spec.rtl,\n currentSlide = spec.currentSlide,\n edgeFriction = spec.edgeFriction,\n edgeDragged = spec.edgeDragged,\n onEdge = spec.onEdge,\n swiped = spec.swiped,\n swiping = spec.swiping,\n slideCount = spec.slideCount,\n slidesToScroll = spec.slidesToScroll,\n infinite = spec.infinite,\n touchObject = spec.touchObject,\n swipeEvent = spec.swipeEvent,\n listHeight = spec.listHeight,\n listWidth = spec.listWidth;\n if (scrolling) return;\n if (animating) return safePreventDefault(e);\n if (vertical && swipeToSlide && verticalSwiping) safePreventDefault(e);\n var swipeLeft,\n state = {};\n var curLeft = getTrackLeft(spec);\n touchObject.curX = e.touches ? e.touches[0].pageX : e.clientX;\n touchObject.curY = e.touches ? e.touches[0].pageY : e.clientY;\n touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curX - touchObject.startX, 2)));\n var verticalSwipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curY - touchObject.startY, 2)));\n\n if (!verticalSwiping && !swiping && verticalSwipeLength > 10) {\n return {\n scrolling: true\n };\n }\n\n if (verticalSwiping) touchObject.swipeLength = verticalSwipeLength;\n var positionOffset = (!rtl ? 1 : -1) * (touchObject.curX > touchObject.startX ? 1 : -1);\n if (verticalSwiping) positionOffset = touchObject.curY > touchObject.startY ? 1 : -1;\n var dotCount = Math.ceil(slideCount / slidesToScroll);\n var swipeDirection = getSwipeDirection(spec.touchObject, verticalSwiping);\n var touchSwipeLength = touchObject.swipeLength;\n\n if (!infinite) {\n if (currentSlide === 0 && (swipeDirection === \"right\" || swipeDirection === \"down\") || currentSlide + 1 >= dotCount && (swipeDirection === \"left\" || swipeDirection === \"up\") || !canGoNext(spec) && (swipeDirection === \"left\" || swipeDirection === \"up\")) {\n touchSwipeLength = touchObject.swipeLength * edgeFriction;\n\n if (edgeDragged === false && onEdge) {\n onEdge(swipeDirection);\n state[\"edgeDragged\"] = true;\n }\n }\n }\n\n if (!swiped && swipeEvent) {\n swipeEvent(swipeDirection);\n state[\"swiped\"] = true;\n }\n\n if (!vertical) {\n if (!rtl) {\n swipeLeft = curLeft + touchSwipeLength * positionOffset;\n } else {\n swipeLeft = curLeft - touchSwipeLength * positionOffset;\n }\n } else {\n swipeLeft = curLeft + touchSwipeLength * (listHeight / listWidth) * positionOffset;\n }\n\n if (verticalSwiping) {\n swipeLeft = curLeft + touchSwipeLength * positionOffset;\n }\n\n state = _objectSpread(_objectSpread({}, state), {}, {\n touchObject: touchObject,\n swipeLeft: swipeLeft,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: swipeLeft\n }))\n });\n\n if (Math.abs(touchObject.curX - touchObject.startX) < Math.abs(touchObject.curY - touchObject.startY) * 0.8) {\n return state;\n }\n\n if (touchObject.swipeLength > 10) {\n state[\"swiping\"] = true;\n safePreventDefault(e);\n }\n\n return state;\n};\nexport var swipeEnd = function swipeEnd(e, spec) {\n var dragging = spec.dragging,\n swipe = spec.swipe,\n touchObject = spec.touchObject,\n listWidth = spec.listWidth,\n touchThreshold = spec.touchThreshold,\n verticalSwiping = spec.verticalSwiping,\n listHeight = spec.listHeight,\n swipeToSlide = spec.swipeToSlide,\n scrolling = spec.scrolling,\n onSwipe = spec.onSwipe,\n targetSlide = spec.targetSlide,\n currentSlide = spec.currentSlide,\n infinite = spec.infinite;\n\n if (!dragging) {\n if (swipe) safePreventDefault(e);\n return {};\n }\n\n var minSwipe = verticalSwiping ? listHeight / touchThreshold : listWidth / touchThreshold;\n var swipeDirection = getSwipeDirection(touchObject, verticalSwiping); // reset the state of touch related state variables.\n\n var state = {\n dragging: false,\n edgeDragged: false,\n scrolling: false,\n swiping: false,\n swiped: false,\n swipeLeft: null,\n touchObject: {}\n };\n\n if (scrolling) {\n return state;\n }\n\n if (!touchObject.swipeLength) {\n return state;\n }\n\n if (touchObject.swipeLength > minSwipe) {\n safePreventDefault(e);\n\n if (onSwipe) {\n onSwipe(swipeDirection);\n }\n\n var slideCount, newSlide;\n var activeSlide = infinite ? currentSlide : targetSlide;\n\n switch (swipeDirection) {\n case \"left\":\n case \"up\":\n newSlide = activeSlide + getSlideCount(spec);\n slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;\n state[\"currentDirection\"] = 0;\n break;\n\n case \"right\":\n case \"down\":\n newSlide = activeSlide - getSlideCount(spec);\n slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;\n state[\"currentDirection\"] = 1;\n break;\n\n default:\n slideCount = activeSlide;\n }\n\n state[\"triggerSlideHandler\"] = slideCount;\n } else {\n // Adjust the track back to it's original position.\n var currentLeft = getTrackLeft(spec);\n state[\"trackStyle\"] = getTrackAnimateCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: currentLeft\n }));\n }\n\n return state;\n};\nexport var getNavigableIndexes = function getNavigableIndexes(spec) {\n var max = spec.infinite ? spec.slideCount * 2 : spec.slideCount;\n var breakpoint = spec.infinite ? spec.slidesToShow * -1 : 0;\n var counter = spec.infinite ? spec.slidesToShow * -1 : 0;\n var indexes = [];\n\n while (breakpoint < max) {\n indexes.push(breakpoint);\n breakpoint = counter + spec.slidesToScroll;\n counter += Math.min(spec.slidesToScroll, spec.slidesToShow);\n }\n\n return indexes;\n};\nexport var checkNavigable = function checkNavigable(spec, index) {\n var navigables = getNavigableIndexes(spec);\n var prevNavigable = 0;\n\n if (index > navigables[navigables.length - 1]) {\n index = navigables[navigables.length - 1];\n } else {\n for (var n in navigables) {\n if (index < navigables[n]) {\n index = prevNavigable;\n break;\n }\n\n prevNavigable = navigables[n];\n }\n }\n\n return index;\n};\nexport var getSlideCount = function getSlideCount(spec) {\n var centerOffset = spec.centerMode ? spec.slideWidth * Math.floor(spec.slidesToShow / 2) : 0;\n\n if (spec.swipeToSlide) {\n var swipedSlide;\n var slickList = spec.listRef;\n var slides = slickList.querySelectorAll && slickList.querySelectorAll(\".slick-slide\") || [];\n Array.from(slides).every(function (slide) {\n if (!spec.vertical) {\n if (slide.offsetLeft - centerOffset + getWidth(slide) / 2 > spec.swipeLeft * -1) {\n swipedSlide = slide;\n return false;\n }\n } else {\n if (slide.offsetTop + getHeight(slide) / 2 > spec.swipeLeft * -1) {\n swipedSlide = slide;\n return false;\n }\n }\n\n return true;\n });\n\n if (!swipedSlide) {\n return 0;\n }\n\n var currentIndex = spec.rtl === true ? spec.slideCount - spec.currentSlide : spec.currentSlide;\n var slidesTraversed = Math.abs(swipedSlide.dataset.index - currentIndex) || 1;\n return slidesTraversed;\n } else {\n return spec.slidesToScroll;\n }\n};\nexport var checkSpecKeys = function checkSpecKeys(spec, keysArray) {\n return (// eslint-disable-next-line no-prototype-builtins\n keysArray.reduce(function (value, key) {\n return value && spec.hasOwnProperty(key);\n }, true) ? null : console.error(\"Keys Missing:\", spec)\n );\n};\nexport var getTrackCSS = function getTrackCSS(spec) {\n checkSpecKeys(spec, [\"left\", \"variableWidth\", \"slideCount\", \"slidesToShow\", \"slideWidth\"]);\n var trackWidth, trackHeight;\n var trackChildren = spec.slideCount + 2 * spec.slidesToShow;\n\n if (!spec.vertical) {\n trackWidth = getTotalSlides(spec) * spec.slideWidth;\n } else {\n trackHeight = trackChildren * spec.slideHeight;\n }\n\n var style = {\n opacity: 1,\n transition: \"\",\n WebkitTransition: \"\"\n };\n\n if (spec.useTransform) {\n var WebkitTransform = !spec.vertical ? \"translate3d(\" + spec.left + \"px, 0px, 0px)\" : \"translate3d(0px, \" + spec.left + \"px, 0px)\";\n var transform = !spec.vertical ? \"translate3d(\" + spec.left + \"px, 0px, 0px)\" : \"translate3d(0px, \" + spec.left + \"px, 0px)\";\n var msTransform = !spec.vertical ? \"translateX(\" + spec.left + \"px)\" : \"translateY(\" + spec.left + \"px)\";\n style = _objectSpread(_objectSpread({}, style), {}, {\n WebkitTransform: WebkitTransform,\n transform: transform,\n msTransform: msTransform\n });\n } else {\n if (spec.vertical) {\n style[\"top\"] = spec.left;\n } else {\n style[\"left\"] = spec.left;\n }\n }\n\n if (spec.fade) style = {\n opacity: 1\n };\n if (trackWidth) style.width = trackWidth;\n if (trackHeight) style.height = trackHeight; // Fallback for IE8\n\n if (window && !window.addEventListener && window.attachEvent) {\n if (!spec.vertical) {\n style.marginLeft = spec.left + \"px\";\n } else {\n style.marginTop = spec.left + \"px\";\n }\n }\n\n return style;\n};\nexport var getTrackAnimateCSS = function getTrackAnimateCSS(spec) {\n checkSpecKeys(spec, [\"left\", \"variableWidth\", \"slideCount\", \"slidesToShow\", \"slideWidth\", \"speed\", \"cssEase\"]);\n var style = getTrackCSS(spec); // useCSS is true by default so it can be undefined\n\n if (spec.useTransform) {\n style.WebkitTransition = \"-webkit-transform \" + spec.speed + \"ms \" + spec.cssEase;\n style.transition = \"transform \" + spec.speed + \"ms \" + spec.cssEase;\n } else {\n if (spec.vertical) {\n style.transition = \"top \" + spec.speed + \"ms \" + spec.cssEase;\n } else {\n style.transition = \"left \" + spec.speed + \"ms \" + spec.cssEase;\n }\n }\n\n return style;\n};\nexport var getTrackLeft = function getTrackLeft(spec) {\n if (spec.unslick) {\n return 0;\n }\n\n checkSpecKeys(spec, [\"slideIndex\", \"trackRef\", \"infinite\", \"centerMode\", \"slideCount\", \"slidesToShow\", \"slidesToScroll\", \"slideWidth\", \"listWidth\", \"variableWidth\", \"slideHeight\"]);\n var slideIndex = spec.slideIndex,\n trackRef = spec.trackRef,\n infinite = spec.infinite,\n centerMode = spec.centerMode,\n slideCount = spec.slideCount,\n slidesToShow = spec.slidesToShow,\n slidesToScroll = spec.slidesToScroll,\n slideWidth = spec.slideWidth,\n listWidth = spec.listWidth,\n variableWidth = spec.variableWidth,\n slideHeight = spec.slideHeight,\n fade = spec.fade,\n vertical = spec.vertical;\n var slideOffset = 0;\n var targetLeft;\n var targetSlide;\n var verticalOffset = 0;\n\n if (fade || spec.slideCount === 1) {\n return 0;\n }\n\n var slidesToOffset = 0;\n\n if (infinite) {\n slidesToOffset = -getPreClones(spec); // bring active slide to the beginning of visual area\n // if next scroll doesn't have enough children, just reach till the end of original slides instead of shifting slidesToScroll children\n\n if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {\n slidesToOffset = -(slideIndex > slideCount ? slidesToShow - (slideIndex - slideCount) : slideCount % slidesToScroll);\n } // shift current slide to center of the frame\n\n\n if (centerMode) {\n slidesToOffset += parseInt(slidesToShow / 2);\n }\n } else {\n if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {\n slidesToOffset = slidesToShow - slideCount % slidesToScroll;\n }\n\n if (centerMode) {\n slidesToOffset = parseInt(slidesToShow / 2);\n }\n }\n\n slideOffset = slidesToOffset * slideWidth;\n verticalOffset = slidesToOffset * slideHeight;\n\n if (!vertical) {\n targetLeft = slideIndex * slideWidth * -1 + slideOffset;\n } else {\n targetLeft = slideIndex * slideHeight * -1 + verticalOffset;\n }\n\n if (variableWidth === true) {\n var targetSlideIndex;\n var trackElem = trackRef && trackRef.node;\n targetSlideIndex = slideIndex + getPreClones(spec);\n targetSlide = trackElem && trackElem.childNodes[targetSlideIndex];\n targetLeft = targetSlide ? targetSlide.offsetLeft * -1 : 0;\n\n if (centerMode === true) {\n targetSlideIndex = infinite ? slideIndex + getPreClones(spec) : slideIndex;\n targetSlide = trackElem && trackElem.children[targetSlideIndex];\n targetLeft = 0;\n\n for (var slide = 0; slide < targetSlideIndex; slide++) {\n targetLeft -= trackElem && trackElem.children[slide] && trackElem.children[slide].offsetWidth;\n }\n\n targetLeft -= parseInt(spec.centerPadding);\n targetLeft += targetSlide && (listWidth - targetSlide.offsetWidth) / 2;\n }\n }\n\n return targetLeft;\n};\nexport var getPreClones = function getPreClones(spec) {\n if (spec.unslick || !spec.infinite) {\n return 0;\n }\n\n if (spec.variableWidth) {\n return spec.slideCount;\n }\n\n return spec.slidesToShow + (spec.centerMode ? 1 : 0);\n};\nexport var getPostClones = function getPostClones(spec) {\n if (spec.unslick || !spec.infinite) {\n return 0;\n }\n\n return spec.slideCount;\n};\nexport var getTotalSlides = function getTotalSlides(spec) {\n return spec.slideCount === 1 ? 1 : getPreClones(spec) + spec.slideCount + getPostClones(spec);\n};\nexport var siblingDirection = function siblingDirection(spec) {\n if (spec.targetSlide > spec.currentSlide) {\n if (spec.targetSlide > spec.currentSlide + slidesOnRight(spec)) {\n return \"left\";\n }\n\n return \"right\";\n } else {\n if (spec.targetSlide < spec.currentSlide - slidesOnLeft(spec)) {\n return \"right\";\n }\n\n return \"left\";\n }\n};\nexport var slidesOnRight = function slidesOnRight(_ref) {\n var slidesToShow = _ref.slidesToShow,\n centerMode = _ref.centerMode,\n rtl = _ref.rtl,\n centerPadding = _ref.centerPadding;\n\n // returns no of slides on the right of active slide\n if (centerMode) {\n var right = (slidesToShow - 1) / 2 + 1;\n if (parseInt(centerPadding) > 0) right += 1;\n if (rtl && slidesToShow % 2 === 0) right += 1;\n return right;\n }\n\n if (rtl) {\n return 0;\n }\n\n return slidesToShow - 1;\n};\nexport var slidesOnLeft = function slidesOnLeft(_ref2) {\n var slidesToShow = _ref2.slidesToShow,\n centerMode = _ref2.centerMode,\n rtl = _ref2.rtl,\n centerPadding = _ref2.centerPadding;\n\n // returns no of slides on the left of active slide\n if (centerMode) {\n var left = (slidesToShow - 1) / 2 + 1;\n if (parseInt(centerPadding) > 0) left += 1;\n if (!rtl && slidesToShow % 2 === 0) left += 1;\n return left;\n }\n\n if (rtl) {\n return slidesToShow - 1;\n }\n\n return 0;\n};\nexport var canUseDOM = function canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n};","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { lazyStartIndex, lazyEndIndex, getPreClones } from \"./utils/innerSliderUtils\"; // given specifications/props for a slide, fetch all the classes that need to be applied to the slide\n\nvar getSlideClasses = function getSlideClasses(spec) {\n var slickActive, slickCenter, slickCloned;\n var centerOffset, index;\n\n if (spec.rtl) {\n index = spec.slideCount - 1 - spec.index;\n } else {\n index = spec.index;\n }\n\n slickCloned = index < 0 || index >= spec.slideCount;\n\n if (spec.centerMode) {\n centerOffset = Math.floor(spec.slidesToShow / 2);\n slickCenter = (index - spec.currentSlide) % spec.slideCount === 0;\n\n if (index > spec.currentSlide - centerOffset - 1 && index <= spec.currentSlide + centerOffset) {\n slickActive = true;\n }\n } else {\n slickActive = spec.currentSlide <= index && index < spec.currentSlide + spec.slidesToShow;\n }\n\n var focusedSlide;\n\n if (spec.targetSlide < 0) {\n focusedSlide = spec.targetSlide + spec.slideCount;\n } else if (spec.targetSlide >= spec.slideCount) {\n focusedSlide = spec.targetSlide - spec.slideCount;\n } else {\n focusedSlide = spec.targetSlide;\n }\n\n var slickCurrent = index === focusedSlide;\n return {\n \"slick-slide\": true,\n \"slick-active\": slickActive,\n \"slick-center\": slickCenter,\n \"slick-cloned\": slickCloned,\n \"slick-current\": slickCurrent // dubious in case of RTL\n\n };\n};\n\nvar getSlideStyle = function getSlideStyle(spec) {\n var style = {};\n\n if (spec.variableWidth === undefined || spec.variableWidth === false) {\n style.width = spec.slideWidth;\n }\n\n if (spec.fade) {\n style.position = \"relative\";\n\n if (spec.vertical) {\n style.top = -spec.index * parseInt(spec.slideHeight);\n } else {\n style.left = -spec.index * parseInt(spec.slideWidth);\n }\n\n style.opacity = spec.currentSlide === spec.index ? 1 : 0;\n\n if (spec.useCSS) {\n style.transition = \"opacity \" + spec.speed + \"ms \" + spec.cssEase + \", \" + \"visibility \" + spec.speed + \"ms \" + spec.cssEase;\n }\n }\n\n return style;\n};\n\nvar getKey = function getKey(child, fallbackKey) {\n return child.key + \"-\" + fallbackKey;\n};\n\nvar renderSlides = function renderSlides(spec) {\n var key;\n var slides = [];\n var preCloneSlides = [];\n var postCloneSlides = [];\n var childrenCount = React.Children.count(spec.children);\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n React.Children.forEach(spec.children, function (elem, index) {\n var child;\n var childOnClickOptions = {\n message: \"children\",\n index: index,\n slidesToScroll: spec.slidesToScroll,\n currentSlide: spec.currentSlide\n }; // in case of lazyLoad, whether or not we want to fetch the slide\n\n if (!spec.lazyLoad || spec.lazyLoad && spec.lazyLoadedList.indexOf(index) >= 0) {\n child = elem;\n } else {\n child = /*#__PURE__*/React.createElement(\"div\", null);\n }\n\n var childStyle = getSlideStyle(_objectSpread(_objectSpread({}, spec), {}, {\n index: index\n }));\n var slideClass = child.props.className || \"\";\n var slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: index\n })); // push a cloned element of the desired slide\n\n slides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"original\" + getKey(child, index),\n \"data-index\": index,\n className: classnames(slideClasses, slideClass),\n tabIndex: \"-1\",\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({\n outline: \"none\"\n }, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n })); // if slide needs to be precloned or postcloned\n\n if (spec.infinite && spec.fade === false) {\n var preCloneNo = childrenCount - index;\n\n if (preCloneNo <= getPreClones(spec) && childrenCount !== spec.slidesToShow) {\n key = -preCloneNo;\n\n if (key >= startIndex) {\n child = elem;\n }\n\n slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: key\n }));\n preCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"precloned\" + getKey(child, key),\n \"data-index\": key,\n tabIndex: \"-1\",\n className: classnames(slideClasses, slideClass),\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n }));\n }\n\n if (childrenCount !== spec.slidesToShow) {\n key = childrenCount + index;\n\n if (key < endIndex) {\n child = elem;\n }\n\n slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: key\n }));\n postCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"postcloned\" + getKey(child, key),\n \"data-index\": key,\n tabIndex: \"-1\",\n className: classnames(slideClasses, slideClass),\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n }));\n }\n }\n });\n\n if (spec.rtl) {\n return preCloneSlides.concat(slides, postCloneSlides).reverse();\n } else {\n return preCloneSlides.concat(slides, postCloneSlides);\n }\n};\n\nexport var Track = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(Track, _React$PureComponent);\n\n var _super = _createSuper(Track);\n\n function Track() {\n var _this;\n\n _classCallCheck(this, Track);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"node\", null);\n\n _defineProperty(_assertThisInitialized(_this), \"handleRef\", function (ref) {\n _this.node = ref;\n });\n\n return _this;\n }\n\n _createClass(Track, [{\n key: \"render\",\n value: function render() {\n var slides = renderSlides(this.props);\n var _this$props = this.props,\n onMouseEnter = _this$props.onMouseEnter,\n onMouseOver = _this$props.onMouseOver,\n onMouseLeave = _this$props.onMouseLeave;\n var mouseEvents = {\n onMouseEnter: onMouseEnter,\n onMouseOver: onMouseOver,\n onMouseLeave: onMouseLeave\n };\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: this.handleRef,\n className: \"slick-track\",\n style: this.props.trackStyle\n }, mouseEvents), slides);\n }\n }]);\n\n return Track;\n}(React.PureComponent);","\"use strict\";\n\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { clamp } from \"./utils/innerSliderUtils\";\n\nvar getDotCount = function getDotCount(spec) {\n var dots;\n\n if (spec.infinite) {\n dots = Math.ceil(spec.slideCount / spec.slidesToScroll);\n } else {\n dots = Math.ceil((spec.slideCount - spec.slidesToShow) / spec.slidesToScroll) + 1;\n }\n\n return dots;\n};\n\nexport var Dots = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(Dots, _React$PureComponent);\n\n var _super = _createSuper(Dots);\n\n function Dots() {\n _classCallCheck(this, Dots);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Dots, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n // In Autoplay the focus stays on clicked button even after transition\n // to next slide. That only goes away by click somewhere outside\n e.preventDefault();\n this.props.clickHandler(options);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n onMouseEnter = _this$props.onMouseEnter,\n onMouseOver = _this$props.onMouseOver,\n onMouseLeave = _this$props.onMouseLeave,\n infinite = _this$props.infinite,\n slidesToScroll = _this$props.slidesToScroll,\n slidesToShow = _this$props.slidesToShow,\n slideCount = _this$props.slideCount,\n currentSlide = _this$props.currentSlide;\n var dotCount = getDotCount({\n slideCount: slideCount,\n slidesToScroll: slidesToScroll,\n slidesToShow: slidesToShow,\n infinite: infinite\n });\n var mouseEvents = {\n onMouseEnter: onMouseEnter,\n onMouseOver: onMouseOver,\n onMouseLeave: onMouseLeave\n };\n var dots = [];\n\n for (var i = 0; i < dotCount; i++) {\n var _rightBound = (i + 1) * slidesToScroll - 1;\n\n var rightBound = infinite ? _rightBound : clamp(_rightBound, 0, slideCount - 1);\n\n var _leftBound = rightBound - (slidesToScroll - 1);\n\n var leftBound = infinite ? _leftBound : clamp(_leftBound, 0, slideCount - 1);\n var className = classnames({\n \"slick-active\": infinite ? currentSlide >= leftBound && currentSlide <= rightBound : currentSlide === leftBound\n });\n var dotOptions = {\n message: \"dots\",\n index: i,\n slidesToScroll: slidesToScroll,\n currentSlide: currentSlide\n };\n var onClick = this.clickHandler.bind(this, dotOptions);\n dots = dots.concat( /*#__PURE__*/React.createElement(\"li\", {\n key: i,\n className: className\n }, /*#__PURE__*/React.cloneElement(this.props.customPaging(i), {\n onClick: onClick\n })));\n }\n\n return /*#__PURE__*/React.cloneElement(this.props.appendDots(dots), _objectSpread({\n className: this.props.dotsClass\n }, mouseEvents));\n }\n }]);\n\n return Dots;\n}(React.PureComponent);","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { canGoNext } from \"./utils/innerSliderUtils\";\nexport var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(PrevArrow, _React$PureComponent);\n\n var _super = _createSuper(PrevArrow);\n\n function PrevArrow() {\n _classCallCheck(this, PrevArrow);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(PrevArrow, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n if (e) {\n e.preventDefault();\n }\n\n this.props.clickHandler(options, e);\n }\n }, {\n key: \"render\",\n value: function render() {\n var prevClasses = {\n \"slick-arrow\": true,\n \"slick-prev\": true\n };\n var prevHandler = this.clickHandler.bind(this, {\n message: \"previous\"\n });\n\n if (!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow)) {\n prevClasses[\"slick-disabled\"] = true;\n prevHandler = null;\n }\n\n var prevArrowProps = {\n key: \"0\",\n \"data-role\": \"none\",\n className: classnames(prevClasses),\n style: {\n display: \"block\"\n },\n onClick: prevHandler\n };\n var customProps = {\n currentSlide: this.props.currentSlide,\n slideCount: this.props.slideCount\n };\n var prevArrow;\n\n if (this.props.prevArrow) {\n prevArrow = /*#__PURE__*/React.cloneElement(this.props.prevArrow, _objectSpread(_objectSpread({}, prevArrowProps), customProps));\n } else {\n prevArrow = /*#__PURE__*/React.createElement(\"button\", _extends({\n key: \"0\",\n type: \"button\"\n }, prevArrowProps), \" \", \"Previous\");\n }\n\n return prevArrow;\n }\n }]);\n\n return PrevArrow;\n}(React.PureComponent);\nexport var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {\n _inherits(NextArrow, _React$PureComponent2);\n\n var _super2 = _createSuper(NextArrow);\n\n function NextArrow() {\n _classCallCheck(this, NextArrow);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(NextArrow, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n if (e) {\n e.preventDefault();\n }\n\n this.props.clickHandler(options, e);\n }\n }, {\n key: \"render\",\n value: function render() {\n var nextClasses = {\n \"slick-arrow\": true,\n \"slick-next\": true\n };\n var nextHandler = this.clickHandler.bind(this, {\n message: \"next\"\n });\n\n if (!canGoNext(this.props)) {\n nextClasses[\"slick-disabled\"] = true;\n nextHandler = null;\n }\n\n var nextArrowProps = {\n key: \"1\",\n \"data-role\": \"none\",\n className: classnames(nextClasses),\n style: {\n display: \"block\"\n },\n onClick: nextHandler\n };\n var customProps = {\n currentSlide: this.props.currentSlide,\n slideCount: this.props.slideCount\n };\n var nextArrow;\n\n if (this.props.nextArrow) {\n nextArrow = /*#__PURE__*/React.cloneElement(this.props.nextArrow, _objectSpread(_objectSpread({}, nextArrowProps), customProps));\n } else {\n nextArrow = /*#__PURE__*/React.createElement(\"button\", _extends({\n key: \"1\",\n type: \"button\"\n }, nextArrowProps), \" \", \"Next\");\n }\n\n return nextArrow;\n }\n }]);\n\n return NextArrow;\n}(React.PureComponent);","\"use strict\";\n\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"animating\"];\nimport React from \"react\";\nimport initialState from \"./initial-state\";\nimport debounce from \"lodash/debounce\";\nimport classnames from \"classnames\";\nimport { getOnDemandLazySlides, extractObject, initializedState, getHeight, canGoNext, slideHandler, changeSlide, keyHandler, swipeStart, swipeMove, swipeEnd, getPreClones, getPostClones, getTrackLeft, getTrackCSS } from \"./utils/innerSliderUtils\";\nimport { Track } from \"./track\";\nimport { Dots } from \"./dots\";\nimport { PrevArrow, NextArrow } from \"./arrows\";\nimport ResizeObserver from \"resize-observer-polyfill\";\nexport var InnerSlider = /*#__PURE__*/function (_React$Component) {\n _inherits(InnerSlider, _React$Component);\n\n var _super = _createSuper(InnerSlider);\n\n function InnerSlider(props) {\n var _this;\n\n _classCallCheck(this, InnerSlider);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"listRefHandler\", function (ref) {\n return _this.list = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"trackRefHandler\", function (ref) {\n return _this.track = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"adaptHeight\", function () {\n if (_this.props.adaptiveHeight && _this.list) {\n var elem = _this.list.querySelector(\"[data-index=\\\"\".concat(_this.state.currentSlide, \"\\\"]\"));\n\n _this.list.style.height = getHeight(elem) + \"px\";\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentDidMount\", function () {\n _this.props.onInit && _this.props.onInit();\n\n if (_this.props.lazyLoad) {\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, _this.props), _this.state));\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (prevState) {\n return {\n lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n }\n }\n\n var spec = _objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props);\n\n _this.updateState(spec, true, function () {\n _this.adaptHeight();\n\n _this.props.autoplay && _this.autoPlay(\"playing\");\n });\n\n if (_this.props.lazyLoad === \"progressive\") {\n _this.lazyLoadTimer = setInterval(_this.progressiveLazyLoad, 1000);\n }\n\n _this.ro = new ResizeObserver(function () {\n if (_this.state.animating) {\n _this.onWindowResized(false); // don't set trackStyle hence don't break animation\n\n\n _this.callbackTimers.push(setTimeout(function () {\n return _this.onWindowResized();\n }, _this.props.speed));\n } else {\n _this.onWindowResized();\n }\n });\n\n _this.ro.observe(_this.list);\n\n document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(\".slick-slide\"), function (slide) {\n slide.onfocus = _this.props.pauseOnFocus ? _this.onSlideFocus : null;\n slide.onblur = _this.props.pauseOnFocus ? _this.onSlideBlur : null;\n });\n\n if (window.addEventListener) {\n window.addEventListener(\"resize\", _this.onWindowResized);\n } else {\n window.attachEvent(\"onresize\", _this.onWindowResized);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentWillUnmount\", function () {\n if (_this.animationEndCallback) {\n clearTimeout(_this.animationEndCallback);\n }\n\n if (_this.lazyLoadTimer) {\n clearInterval(_this.lazyLoadTimer);\n }\n\n if (_this.callbackTimers.length) {\n _this.callbackTimers.forEach(function (timer) {\n return clearTimeout(timer);\n });\n\n _this.callbackTimers = [];\n }\n\n if (window.addEventListener) {\n window.removeEventListener(\"resize\", _this.onWindowResized);\n } else {\n window.detachEvent(\"onresize\", _this.onWindowResized);\n }\n\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n }\n\n _this.ro.disconnect();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentDidUpdate\", function (prevProps) {\n _this.checkImagesLoad();\n\n _this.props.onReInit && _this.props.onReInit();\n\n if (_this.props.lazyLoad) {\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, _this.props), _this.state));\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (prevState) {\n return {\n lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n }\n } // if (this.props.onLazyLoad) {\n // this.props.onLazyLoad([leftMostSlide])\n // }\n\n\n _this.adaptHeight();\n\n var spec = _objectSpread(_objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props), _this.state);\n\n var setTrackStyle = _this.didPropsChange(prevProps);\n\n setTrackStyle && _this.updateState(spec, setTrackStyle, function () {\n if (_this.state.currentSlide >= React.Children.count(_this.props.children)) {\n _this.changeSlide({\n message: \"index\",\n index: React.Children.count(_this.props.children) - _this.props.slidesToShow,\n currentSlide: _this.state.currentSlide\n });\n }\n\n if (prevProps.autoplay !== _this.props.autoplay || prevProps.autoplaySpeed !== _this.props.autoplaySpeed) {\n if (!prevProps.autoplay && _this.props.autoplay) {\n _this.autoPlay(\"playing\");\n } else if (_this.props.autoplay) {\n _this.autoPlay(\"update\");\n } else {\n _this.pause(\"paused\");\n }\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onWindowResized\", function (setTrackStyle) {\n if (_this.debouncedResize) _this.debouncedResize.cancel();\n _this.debouncedResize = debounce(function () {\n return _this.resizeWindow(setTrackStyle);\n }, 50);\n\n _this.debouncedResize();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"resizeWindow\", function () {\n var setTrackStyle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n var isTrackMounted = Boolean(_this.track && _this.track.node); // prevent warning: setting state on unmounted component (server side rendering)\n\n if (!isTrackMounted) return;\n\n var spec = _objectSpread(_objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props), _this.state);\n\n _this.updateState(spec, setTrackStyle, function () {\n if (_this.props.autoplay) _this.autoPlay(\"update\");else _this.pause(\"paused\");\n }); // animating state should be cleared while resizing, otherwise autoplay stops working\n\n\n _this.setState({\n animating: false\n });\n\n clearTimeout(_this.animationEndCallback);\n delete _this.animationEndCallback;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"updateState\", function (spec, setTrackStyle, callback) {\n var updatedState = initializedState(spec);\n spec = _objectSpread(_objectSpread(_objectSpread({}, spec), updatedState), {}, {\n slideIndex: updatedState.currentSlide\n });\n var targetLeft = getTrackLeft(spec);\n spec = _objectSpread(_objectSpread({}, spec), {}, {\n left: targetLeft\n });\n var trackStyle = getTrackCSS(spec);\n\n if (setTrackStyle || React.Children.count(_this.props.children) !== React.Children.count(spec.children)) {\n updatedState[\"trackStyle\"] = trackStyle;\n }\n\n _this.setState(updatedState, callback);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"ssrInit\", function () {\n if (_this.props.variableWidth) {\n var _trackWidth = 0,\n _trackLeft = 0;\n var childrenWidths = [];\n var preClones = getPreClones(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: _this.props.children.length\n }));\n var postClones = getPostClones(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: _this.props.children.length\n }));\n\n _this.props.children.forEach(function (child) {\n childrenWidths.push(child.props.style.width);\n _trackWidth += child.props.style.width;\n });\n\n for (var i = 0; i < preClones; i++) {\n _trackLeft += childrenWidths[childrenWidths.length - 1 - i];\n _trackWidth += childrenWidths[childrenWidths.length - 1 - i];\n }\n\n for (var _i = 0; _i < postClones; _i++) {\n _trackWidth += childrenWidths[_i];\n }\n\n for (var _i2 = 0; _i2 < _this.state.currentSlide; _i2++) {\n _trackLeft += childrenWidths[_i2];\n }\n\n var _trackStyle = {\n width: _trackWidth + \"px\",\n left: -_trackLeft + \"px\"\n };\n\n if (_this.props.centerMode) {\n var currentWidth = \"\".concat(childrenWidths[_this.state.currentSlide], \"px\");\n _trackStyle.left = \"calc(\".concat(_trackStyle.left, \" + (100% - \").concat(currentWidth, \") / 2 ) \");\n }\n\n return {\n trackStyle: _trackStyle\n };\n }\n\n var childrenCount = React.Children.count(_this.props.children);\n\n var spec = _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: childrenCount\n });\n\n var slideCount = getPreClones(spec) + getPostClones(spec) + childrenCount;\n var trackWidth = 100 / _this.props.slidesToShow * slideCount;\n var slideWidth = 100 / slideCount;\n var trackLeft = -slideWidth * (getPreClones(spec) + _this.state.currentSlide) * trackWidth / 100;\n\n if (_this.props.centerMode) {\n trackLeft += (100 - slideWidth * trackWidth / 100) / 2;\n }\n\n var trackStyle = {\n width: trackWidth + \"%\",\n left: trackLeft + \"%\"\n };\n return {\n slideWidth: slideWidth + \"%\",\n trackStyle: trackStyle\n };\n });\n\n _defineProperty(_assertThisInitialized(_this), \"checkImagesLoad\", function () {\n var images = _this.list && _this.list.querySelectorAll && _this.list.querySelectorAll(\".slick-slide img\") || [];\n var imagesCount = images.length,\n loadedCount = 0;\n Array.prototype.forEach.call(images, function (image) {\n var handler = function handler() {\n return ++loadedCount && loadedCount >= imagesCount && _this.onWindowResized();\n };\n\n if (!image.onclick) {\n image.onclick = function () {\n return image.parentNode.focus();\n };\n } else {\n var prevClickHandler = image.onclick;\n\n image.onclick = function () {\n prevClickHandler();\n image.parentNode.focus();\n };\n }\n\n if (!image.onload) {\n if (_this.props.lazyLoad) {\n image.onload = function () {\n _this.adaptHeight();\n\n _this.callbackTimers.push(setTimeout(_this.onWindowResized, _this.props.speed));\n };\n } else {\n image.onload = handler;\n\n image.onerror = function () {\n handler();\n _this.props.onLazyLoadError && _this.props.onLazyLoadError();\n };\n }\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"progressiveLazyLoad\", function () {\n var slidesToLoad = [];\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n for (var index = _this.state.currentSlide; index < _this.state.slideCount + getPostClones(spec); index++) {\n if (_this.state.lazyLoadedList.indexOf(index) < 0) {\n slidesToLoad.push(index);\n break;\n }\n }\n\n for (var _index = _this.state.currentSlide - 1; _index >= -getPreClones(spec); _index--) {\n if (_this.state.lazyLoadedList.indexOf(_index) < 0) {\n slidesToLoad.push(_index);\n break;\n }\n }\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (state) {\n return {\n lazyLoadedList: state.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n } else {\n if (_this.lazyLoadTimer) {\n clearInterval(_this.lazyLoadTimer);\n delete _this.lazyLoadTimer;\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slideHandler\", function (index) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var _this$props = _this.props,\n asNavFor = _this$props.asNavFor,\n beforeChange = _this$props.beforeChange,\n onLazyLoad = _this$props.onLazyLoad,\n speed = _this$props.speed,\n afterChange = _this$props.afterChange; // capture currentslide before state is updated\n\n var currentSlide = _this.state.currentSlide;\n\n var _slideHandler = slideHandler(_objectSpread(_objectSpread(_objectSpread({\n index: index\n }, _this.props), _this.state), {}, {\n trackRef: _this.track,\n useCSS: _this.props.useCSS && !dontAnimate\n })),\n state = _slideHandler.state,\n nextState = _slideHandler.nextState;\n\n if (!state) return;\n beforeChange && beforeChange(currentSlide, state.currentSlide);\n var slidesToLoad = state.lazyLoadedList.filter(function (value) {\n return _this.state.lazyLoadedList.indexOf(value) < 0;\n });\n onLazyLoad && slidesToLoad.length > 0 && onLazyLoad(slidesToLoad);\n\n if (!_this.props.waitForAnimate && _this.animationEndCallback) {\n clearTimeout(_this.animationEndCallback);\n afterChange && afterChange(currentSlide);\n delete _this.animationEndCallback;\n }\n\n _this.setState(state, function () {\n // asNavForIndex check is to avoid recursive calls of slideHandler in waitForAnimate=false mode\n if (asNavFor && _this.asNavForIndex !== index) {\n _this.asNavForIndex = index;\n asNavFor.innerSlider.slideHandler(index);\n }\n\n if (!nextState) return;\n _this.animationEndCallback = setTimeout(function () {\n var animating = nextState.animating,\n firstBatch = _objectWithoutProperties(nextState, _excluded);\n\n _this.setState(firstBatch, function () {\n _this.callbackTimers.push(setTimeout(function () {\n return _this.setState({\n animating: animating\n });\n }, 10));\n\n afterChange && afterChange(state.currentSlide);\n delete _this.animationEndCallback;\n });\n }, speed);\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"changeSlide\", function (options) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n var targetSlide = changeSlide(spec, options);\n if (targetSlide !== 0 && !targetSlide) return;\n\n if (dontAnimate === true) {\n _this.slideHandler(targetSlide, dontAnimate);\n } else {\n _this.slideHandler(targetSlide);\n }\n\n _this.props.autoplay && _this.autoPlay(\"update\");\n\n if (_this.props.focusOnSelect) {\n var nodes = _this.list.querySelectorAll(\".slick-current\");\n\n nodes[0] && nodes[0].focus();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"clickHandler\", function (e) {\n if (_this.clickable === false) {\n e.stopPropagation();\n e.preventDefault();\n }\n\n _this.clickable = true;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"keyHandler\", function (e) {\n var dir = keyHandler(e, _this.props.accessibility, _this.props.rtl);\n dir !== \"\" && _this.changeSlide({\n message: dir\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"selectHandler\", function (options) {\n _this.changeSlide(options);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"disableBodyScroll\", function () {\n var preventDefault = function preventDefault(e) {\n e = e || window.event;\n if (e.preventDefault) e.preventDefault();\n e.returnValue = false;\n };\n\n window.ontouchmove = preventDefault;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"enableBodyScroll\", function () {\n window.ontouchmove = null;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeStart\", function (e) {\n if (_this.props.verticalSwiping) {\n _this.disableBodyScroll();\n }\n\n var state = swipeStart(e, _this.props.swipe, _this.props.draggable);\n state !== \"\" && _this.setState(state);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeMove\", function (e) {\n var state = swipeMove(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n trackRef: _this.track,\n listRef: _this.list,\n slideIndex: _this.state.currentSlide\n }));\n if (!state) return;\n\n if (state[\"swiping\"]) {\n _this.clickable = false;\n }\n\n _this.setState(state);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeEnd\", function (e) {\n var state = swipeEnd(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n trackRef: _this.track,\n listRef: _this.list,\n slideIndex: _this.state.currentSlide\n }));\n if (!state) return;\n var triggerSlideHandler = state[\"triggerSlideHandler\"];\n delete state[\"triggerSlideHandler\"];\n\n _this.setState(state);\n\n if (triggerSlideHandler === undefined) return;\n\n _this.slideHandler(triggerSlideHandler);\n\n if (_this.props.verticalSwiping) {\n _this.enableBodyScroll();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"touchEnd\", function (e) {\n _this.swipeEnd(e);\n\n _this.clickable = true;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPrev\", function () {\n // this and fellow methods are wrapped in setTimeout\n // to make sure initialize setState has happened before\n // any of such methods are called\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"previous\"\n });\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickNext\", function () {\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"next\"\n });\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickGoTo\", function (slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n slide = Number(slide);\n if (isNaN(slide)) return \"\";\n\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"index\",\n index: slide,\n currentSlide: _this.state.currentSlide\n }, dontAnimate);\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"play\", function () {\n var nextIndex;\n\n if (_this.props.rtl) {\n nextIndex = _this.state.currentSlide - _this.props.slidesToScroll;\n } else {\n if (canGoNext(_objectSpread(_objectSpread({}, _this.props), _this.state))) {\n nextIndex = _this.state.currentSlide + _this.props.slidesToScroll;\n } else {\n return false;\n }\n }\n\n _this.slideHandler(nextIndex);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"autoPlay\", function (playType) {\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n }\n\n var autoplaying = _this.state.autoplaying;\n\n if (playType === \"update\") {\n if (autoplaying === \"hovered\" || autoplaying === \"focused\" || autoplaying === \"paused\") {\n return;\n }\n } else if (playType === \"leave\") {\n if (autoplaying === \"paused\" || autoplaying === \"focused\") {\n return;\n }\n } else if (playType === \"blur\") {\n if (autoplaying === \"paused\" || autoplaying === \"hovered\") {\n return;\n }\n }\n\n _this.autoplayTimer = setInterval(_this.play, _this.props.autoplaySpeed + 50);\n\n _this.setState({\n autoplaying: \"playing\"\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"pause\", function (pauseType) {\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n _this.autoplayTimer = null;\n }\n\n var autoplaying = _this.state.autoplaying;\n\n if (pauseType === \"paused\") {\n _this.setState({\n autoplaying: \"paused\"\n });\n } else if (pauseType === \"focused\") {\n if (autoplaying === \"hovered\" || autoplaying === \"playing\") {\n _this.setState({\n autoplaying: \"focused\"\n });\n }\n } else {\n // pauseType is 'hovered'\n if (autoplaying === \"playing\") {\n _this.setState({\n autoplaying: \"hovered\"\n });\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDotsOver\", function () {\n return _this.props.autoplay && _this.pause(\"hovered\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDotsLeave\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"hovered\" && _this.autoPlay(\"leave\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTrackOver\", function () {\n return _this.props.autoplay && _this.pause(\"hovered\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTrackLeave\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"hovered\" && _this.autoPlay(\"leave\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onSlideFocus\", function () {\n return _this.props.autoplay && _this.pause(\"focused\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onSlideBlur\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"focused\" && _this.autoPlay(\"blur\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"render\", function () {\n var className = classnames(\"slick-slider\", _this.props.className, {\n \"slick-vertical\": _this.props.vertical,\n \"slick-initialized\": true\n });\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n var trackProps = extractObject(spec, [\"fade\", \"cssEase\", \"speed\", \"infinite\", \"centerMode\", \"focusOnSelect\", \"currentSlide\", \"lazyLoad\", \"lazyLoadedList\", \"rtl\", \"slideWidth\", \"slideHeight\", \"listHeight\", \"vertical\", \"slidesToShow\", \"slidesToScroll\", \"slideCount\", \"trackStyle\", \"variableWidth\", \"unslick\", \"centerPadding\", \"targetSlide\", \"useCSS\"]);\n var pauseOnHover = _this.props.pauseOnHover;\n trackProps = _objectSpread(_objectSpread({}, trackProps), {}, {\n onMouseEnter: pauseOnHover ? _this.onTrackOver : null,\n onMouseLeave: pauseOnHover ? _this.onTrackLeave : null,\n onMouseOver: pauseOnHover ? _this.onTrackOver : null,\n focusOnSelect: _this.props.focusOnSelect && _this.clickable ? _this.selectHandler : null\n });\n var dots;\n\n if (_this.props.dots === true && _this.state.slideCount >= _this.props.slidesToShow) {\n var dotProps = extractObject(spec, [\"dotsClass\", \"slideCount\", \"slidesToShow\", \"currentSlide\", \"slidesToScroll\", \"clickHandler\", \"children\", \"customPaging\", \"infinite\", \"appendDots\"]);\n var pauseOnDotsHover = _this.props.pauseOnDotsHover;\n dotProps = _objectSpread(_objectSpread({}, dotProps), {}, {\n clickHandler: _this.changeSlide,\n onMouseEnter: pauseOnDotsHover ? _this.onDotsLeave : null,\n onMouseOver: pauseOnDotsHover ? _this.onDotsOver : null,\n onMouseLeave: pauseOnDotsHover ? _this.onDotsLeave : null\n });\n dots = /*#__PURE__*/React.createElement(Dots, dotProps);\n }\n\n var prevArrow, nextArrow;\n var arrowProps = extractObject(spec, [\"infinite\", \"centerMode\", \"currentSlide\", \"slideCount\", \"slidesToShow\", \"prevArrow\", \"nextArrow\"]);\n arrowProps.clickHandler = _this.changeSlide;\n\n if (_this.props.arrows) {\n prevArrow = /*#__PURE__*/React.createElement(PrevArrow, arrowProps);\n nextArrow = /*#__PURE__*/React.createElement(NextArrow, arrowProps);\n }\n\n var verticalHeightStyle = null;\n\n if (_this.props.vertical) {\n verticalHeightStyle = {\n height: _this.state.listHeight\n };\n }\n\n var centerPaddingStyle = null;\n\n if (_this.props.vertical === false) {\n if (_this.props.centerMode === true) {\n centerPaddingStyle = {\n padding: \"0px \" + _this.props.centerPadding\n };\n }\n } else {\n if (_this.props.centerMode === true) {\n centerPaddingStyle = {\n padding: _this.props.centerPadding + \" 0px\"\n };\n }\n }\n\n var listStyle = _objectSpread(_objectSpread({}, verticalHeightStyle), centerPaddingStyle);\n\n var touchMove = _this.props.touchMove;\n var listProps = {\n className: \"slick-list\",\n style: listStyle,\n onClick: _this.clickHandler,\n onMouseDown: touchMove ? _this.swipeStart : null,\n onMouseMove: _this.state.dragging && touchMove ? _this.swipeMove : null,\n onMouseUp: touchMove ? _this.swipeEnd : null,\n onMouseLeave: _this.state.dragging && touchMove ? _this.swipeEnd : null,\n onTouchStart: touchMove ? _this.swipeStart : null,\n onTouchMove: _this.state.dragging && touchMove ? _this.swipeMove : null,\n onTouchEnd: touchMove ? _this.touchEnd : null,\n onTouchCancel: _this.state.dragging && touchMove ? _this.swipeEnd : null,\n onKeyDown: _this.props.accessibility ? _this.keyHandler : null\n };\n var innerSliderProps = {\n className: className,\n dir: \"ltr\",\n style: _this.props.style\n };\n\n if (_this.props.unslick) {\n listProps = {\n className: \"slick-list\"\n };\n innerSliderProps = {\n className: className\n };\n }\n\n return /*#__PURE__*/React.createElement(\"div\", innerSliderProps, !_this.props.unslick ? prevArrow : \"\", /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: _this.listRefHandler\n }, listProps), /*#__PURE__*/React.createElement(Track, _extends({\n ref: _this.trackRefHandler\n }, trackProps), _this.props.children)), !_this.props.unslick ? nextArrow : \"\", !_this.props.unslick ? dots : \"\");\n });\n\n _this.list = null;\n _this.track = null;\n _this.state = _objectSpread(_objectSpread({}, initialState), {}, {\n currentSlide: _this.props.initialSlide,\n slideCount: React.Children.count(_this.props.children)\n });\n _this.callbackTimers = [];\n _this.clickable = true;\n _this.debouncedResize = null;\n\n var ssrState = _this.ssrInit();\n\n _this.state = _objectSpread(_objectSpread({}, _this.state), ssrState);\n return _this;\n }\n\n _createClass(InnerSlider, [{\n key: \"didPropsChange\",\n value: function didPropsChange(prevProps) {\n var setTrackStyle = false;\n\n for (var _i3 = 0, _Object$keys = Object.keys(this.props); _i3 < _Object$keys.length; _i3++) {\n var key = _Object$keys[_i3];\n\n // eslint-disable-next-line no-prototype-builtins\n if (!prevProps.hasOwnProperty(key)) {\n setTrackStyle = true;\n break;\n }\n\n if (_typeof(prevProps[key]) === \"object\" || typeof prevProps[key] === \"function\") {\n continue;\n }\n\n if (prevProps[key] !== this.props[key]) {\n setTrackStyle = true;\n break;\n }\n }\n\n return setTrackStyle || React.Children.count(this.props.children) !== React.Children.count(prevProps.children);\n }\n }]);\n\n return InnerSlider;\n}(React.Component);","import React from \"react\";\nvar defaultProps = {\n accessibility: true,\n adaptiveHeight: false,\n afterChange: null,\n appendDots: function appendDots(dots) {\n return /*#__PURE__*/React.createElement(\"ul\", {\n style: {\n display: \"block\"\n }\n }, dots);\n },\n arrows: true,\n autoplay: false,\n autoplaySpeed: 3000,\n beforeChange: null,\n centerMode: false,\n centerPadding: \"50px\",\n className: \"\",\n cssEase: \"ease\",\n customPaging: function customPaging(i) {\n return /*#__PURE__*/React.createElement(\"button\", null, i + 1);\n },\n dots: false,\n dotsClass: \"slick-dots\",\n draggable: true,\n easing: \"linear\",\n edgeFriction: 0.35,\n fade: false,\n focusOnSelect: false,\n infinite: true,\n initialSlide: 0,\n lazyLoad: null,\n nextArrow: null,\n onEdge: null,\n onInit: null,\n onLazyLoadError: null,\n onReInit: null,\n pauseOnDotsHover: false,\n pauseOnFocus: false,\n pauseOnHover: true,\n prevArrow: null,\n responsive: null,\n rows: 1,\n rtl: false,\n slide: \"div\",\n slidesPerRow: 1,\n slidesToScroll: 1,\n slidesToShow: 1,\n speed: 500,\n swipe: true,\n swipeEvent: null,\n swipeToSlide: false,\n touchMove: true,\n touchThreshold: 5,\n useCSS: true,\n useTransform: true,\n variableWidth: false,\n vertical: false,\n waitForAnimate: true\n};\nexport default defaultProps;","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport React from \"react\";\nimport { InnerSlider } from \"./inner-slider\";\nimport json2mq from \"json2mq\";\nimport defaultProps from \"./default-props\";\nimport { canUseDOM } from \"./utils/innerSliderUtils\";\n\nvar Slider = /*#__PURE__*/function (_React$Component) {\n _inherits(Slider, _React$Component);\n\n var _super = _createSuper(Slider);\n\n function Slider(props) {\n var _this;\n\n _classCallCheck(this, Slider);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"innerSliderRefHandler\", function (ref) {\n return _this.innerSlider = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPrev\", function () {\n return _this.innerSlider.slickPrev();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickNext\", function () {\n return _this.innerSlider.slickNext();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickGoTo\", function (slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return _this.innerSlider.slickGoTo(slide, dontAnimate);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPause\", function () {\n return _this.innerSlider.pause(\"paused\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPlay\", function () {\n return _this.innerSlider.autoPlay(\"play\");\n });\n\n _this.state = {\n breakpoint: null\n };\n _this._responsiveMediaHandlers = [];\n return _this;\n }\n\n _createClass(Slider, [{\n key: \"media\",\n value: function media(query, handler) {\n // javascript handler for css media query\n var mql = window.matchMedia(query);\n\n var listener = function listener(_ref) {\n var matches = _ref.matches;\n\n if (matches) {\n handler();\n }\n };\n\n mql.addListener(listener);\n listener(mql);\n\n this._responsiveMediaHandlers.push({\n mql: mql,\n query: query,\n listener: listener\n });\n } // handles responsive breakpoints\n\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n // performance monitoring\n //if (process.env.NODE_ENV !== 'production') {\n //const { whyDidYouUpdate } = require('why-did-you-update')\n //whyDidYouUpdate(React)\n //}\n if (this.props.responsive) {\n var breakpoints = this.props.responsive.map(function (breakpt) {\n return breakpt.breakpoint;\n }); // sort them in increasing order of their numerical value\n\n breakpoints.sort(function (x, y) {\n return x - y;\n });\n breakpoints.forEach(function (breakpoint, index) {\n // media query for each breakpoint\n var bQuery;\n\n if (index === 0) {\n bQuery = json2mq({\n minWidth: 0,\n maxWidth: breakpoint\n });\n } else {\n bQuery = json2mq({\n minWidth: breakpoints[index - 1] + 1,\n maxWidth: breakpoint\n });\n } // when not using server side rendering\n\n\n canUseDOM() && _this2.media(bQuery, function () {\n _this2.setState({\n breakpoint: breakpoint\n });\n });\n }); // Register media query for full screen. Need to support resize from small to large\n // convert javascript object to media query string\n\n var query = json2mq({\n minWidth: breakpoints.slice(-1)[0]\n });\n canUseDOM() && this.media(query, function () {\n _this2.setState({\n breakpoint: null\n });\n });\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this._responsiveMediaHandlers.forEach(function (obj) {\n obj.mql.removeListener(obj.listener);\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var settings;\n var newProps;\n\n if (this.state.breakpoint) {\n newProps = this.props.responsive.filter(function (resp) {\n return resp.breakpoint === _this3.state.breakpoint;\n });\n settings = newProps[0].settings === \"unslick\" ? \"unslick\" : _objectSpread(_objectSpread(_objectSpread({}, defaultProps), this.props), newProps[0].settings);\n } else {\n settings = _objectSpread(_objectSpread({}, defaultProps), this.props);\n } // force scrolling by one if centerMode is on\n\n\n if (settings.centerMode) {\n if (settings.slidesToScroll > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToScroll should be equal to 1 in centerMode, you are using \".concat(settings.slidesToScroll));\n }\n\n settings.slidesToScroll = 1;\n } // force showing one slide and scrolling by one if the fade mode is on\n\n\n if (settings.fade) {\n if (settings.slidesToShow > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToShow should be equal to 1 when fade is true, you're using \".concat(settings.slidesToShow));\n }\n\n if (settings.slidesToScroll > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToScroll should be equal to 1 when fade is true, you're using \".concat(settings.slidesToScroll));\n }\n\n settings.slidesToShow = 1;\n settings.slidesToScroll = 1;\n } // makes sure that children is an array, even when there is only 1 child\n\n\n var children = React.Children.toArray(this.props.children); // Children may contain false or null, so we should filter them\n // children may also contain string filled with spaces (in certain cases where we use jsx strings)\n\n children = children.filter(function (child) {\n if (typeof child === \"string\") {\n return !!child.trim();\n }\n\n return !!child;\n }); // rows and slidesPerRow logic is handled here\n\n if (settings.variableWidth && (settings.rows > 1 || settings.slidesPerRow > 1)) {\n console.warn(\"variableWidth is not supported in case of rows > 1 or slidesPerRow > 1\");\n settings.variableWidth = false;\n }\n\n var newChildren = [];\n var currentWidth = null;\n\n for (var i = 0; i < children.length; i += settings.rows * settings.slidesPerRow) {\n var newSlide = [];\n\n for (var j = i; j < i + settings.rows * settings.slidesPerRow; j += settings.slidesPerRow) {\n var row = [];\n\n for (var k = j; k < j + settings.slidesPerRow; k += 1) {\n if (settings.variableWidth && children[k].props.style) {\n currentWidth = children[k].props.style.width;\n }\n\n if (k >= children.length) break;\n row.push( /*#__PURE__*/React.cloneElement(children[k], {\n key: 100 * i + 10 * j + k,\n tabIndex: -1,\n style: {\n width: \"\".concat(100 / settings.slidesPerRow, \"%\"),\n display: \"inline-block\"\n }\n }));\n }\n\n newSlide.push( /*#__PURE__*/React.createElement(\"div\", {\n key: 10 * i + j\n }, row));\n }\n\n if (settings.variableWidth) {\n newChildren.push( /*#__PURE__*/React.createElement(\"div\", {\n key: i,\n style: {\n width: currentWidth\n }\n }, newSlide));\n } else {\n newChildren.push( /*#__PURE__*/React.createElement(\"div\", {\n key: i\n }, newSlide));\n }\n }\n\n if (settings === \"unslick\") {\n var className = \"regular slider \" + (this.props.className || \"\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, children);\n } else if (newChildren.length <= settings.slidesToShow) {\n settings.unslick = true;\n }\n\n return /*#__PURE__*/React.createElement(InnerSlider, _extends({\n style: this.props.style,\n ref: this.innerSliderRefHandler\n }, settings), newChildren);\n }\n }]);\n\n return Slider;\n}(React.Component);\n\nexport { Slider as default };","import Slider from \"./slider\";\nexport default Slider;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport SlickCarousel from '@ant-design/react-slick';\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar Carousel = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var _classNames;\n var _a$dots = _a.dots,\n dots = _a$dots === void 0 ? true : _a$dots,\n _a$arrows = _a.arrows,\n arrows = _a$arrows === void 0 ? false : _a$arrows,\n _a$draggable = _a.draggable,\n draggable = _a$draggable === void 0 ? false : _a$draggable,\n _a$dotPosition = _a.dotPosition,\n dotPosition = _a$dotPosition === void 0 ? 'bottom' : _a$dotPosition,\n _a$vertical = _a.vertical,\n vertical = _a$vertical === void 0 ? dotPosition === 'left' || dotPosition === 'right' : _a$vertical,\n props = __rest(_a, [\"dots\", \"arrows\", \"draggable\", \"dotPosition\", \"vertical\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var slickRef = React.useRef();\n var goTo = function goTo(slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n slickRef.current.slickGoTo(slide, dontAnimate);\n };\n React.useImperativeHandle(ref, function () {\n return {\n goTo: goTo,\n autoPlay: slickRef.current.innerSlider.autoPlay,\n innerSlider: slickRef.current.innerSlider,\n prev: slickRef.current.slickPrev,\n next: slickRef.current.slickNext\n };\n }, [slickRef.current]);\n var prevCount = React.useRef(React.Children.count(props.children));\n React.useEffect(function () {\n if (prevCount.current !== React.Children.count(props.children)) {\n goTo(props.initialSlide || 0, false);\n prevCount.current = React.Children.count(props.children);\n }\n }, [props.children]);\n var newProps = _extends({\n vertical: vertical\n }, props);\n if (newProps.effect === 'fade') {\n newProps.fade = true;\n }\n var prefixCls = getPrefixCls('carousel', newProps.prefixCls);\n var dotsClass = 'slick-dots';\n var enableDots = !!dots;\n var dsClass = classNames(dotsClass, \"\".concat(dotsClass, \"-\").concat(dotPosition), typeof dots === 'boolean' ? false : dots === null || dots === void 0 ? void 0 : dots.className);\n var className = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), dotPosition === 'left' || dotPosition === 'right'), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, /*#__PURE__*/React.createElement(SlickCarousel, _extends({\n ref: slickRef\n }, newProps, {\n dots: enableDots,\n dotsClass: dsClass,\n arrows: arrows,\n draggable: draggable\n })));\n});\nexport default Carousel;","import * as React from 'react';\nvar CascaderContext = /*#__PURE__*/React.createContext(null);\nexport default CascaderContext;","export var VALUE_SPLIT = '__RC_CASCADER_SPLIT__';\nexport var SHOW_PARENT = 'SHOW_PARENT';\nexport var SHOW_CHILD = 'SHOW_CHILD';\nexport function toPathKey(value) {\n return value.join(VALUE_SPLIT);\n}\nexport function toPathKeys(value) {\n return value.map(toPathKey);\n}\nexport function toPathValueStr(pathKey) {\n return pathKey.split(VALUE_SPLIT);\n}\nexport function fillFieldNames(fieldNames) {\n var _ref = fieldNames || {},\n label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n\n var val = value || 'value';\n return {\n label: label || 'label',\n value: val,\n key: val,\n children: children || 'children'\n };\n}\nexport function isLeaf(option, fieldNames) {\n var _option$isLeaf, _option$fieldNames$ch;\n\n return (_option$isLeaf = option.isLeaf) !== null && _option$isLeaf !== void 0 ? _option$isLeaf : !((_option$fieldNames$ch = option[fieldNames.children]) === null || _option$fieldNames$ch === void 0 ? void 0 : _option$fieldNames$ch.length);\n}\nexport function scrollIntoParentView(element) {\n var parent = element.parentElement;\n\n if (!parent) {\n return;\n }\n\n var elementToParent = element.offsetTop - parent.offsetTop; // offsetParent may not be parent.\n\n if (elementToParent - parent.scrollTop < 0) {\n parent.scrollTo({\n top: elementToParent\n });\n } else if (elementToParent + element.offsetHeight - parent.scrollTop > parent.offsetHeight) {\n parent.scrollTo({\n top: elementToParent + element.offsetHeight - parent.offsetHeight\n });\n }\n}","import { SHOW_CHILD } from './commonUtil';\nexport function formatStrategyValues(pathKeys, getKeyPathEntities, showCheckedStrategy) {\n var valueSet = new Set(pathKeys);\n var keyPathEntities = getKeyPathEntities();\n return pathKeys.filter(function (key) {\n var entity = keyPathEntities[key];\n var parent = entity ? entity.parent : null;\n var children = entity ? entity.children : null;\n return showCheckedStrategy === SHOW_CHILD ? !(children && children.some(function (child) {\n return child.key && valueSet.has(child.key);\n })) : !(parent && !parent.node.disabled && valueSet.has(parent.key));\n });\n}\nexport function toPathOptions(valueCells, options, fieldNames) {\n var stringMode = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var currentList = options;\n var valueOptions = [];\n\n var _loop = function _loop(i) {\n var _currentList, _currentList2, _foundOption$fieldNam;\n\n var valueCell = valueCells[i];\n var foundIndex = (_currentList = currentList) === null || _currentList === void 0 ? void 0 : _currentList.findIndex(function (option) {\n var val = option[fieldNames.value];\n return stringMode ? String(val) === String(valueCell) : val === valueCell;\n });\n var foundOption = foundIndex !== -1 ? (_currentList2 = currentList) === null || _currentList2 === void 0 ? void 0 : _currentList2[foundIndex] : null;\n valueOptions.push({\n value: (_foundOption$fieldNam = foundOption === null || foundOption === void 0 ? void 0 : foundOption[fieldNames.value]) !== null && _foundOption$fieldNam !== void 0 ? _foundOption$fieldNam : valueCell,\n index: foundIndex,\n option: foundOption\n });\n currentList = foundOption === null || foundOption === void 0 ? void 0 : foundOption[fieldNames.children];\n };\n\n for (var i = 0; i < valueCells.length; i += 1) {\n _loop(i);\n }\n\n return valueOptions;\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { toPathOptions } from '../utils/treeUtil';\nimport * as React from 'react';\nimport { toPathKey } from '../utils/commonUtil';\nexport default (function (rawValues, options, fieldNames, multiple, displayRender) {\n return React.useMemo(function () {\n var mergedDisplayRender = displayRender || // Default displayRender\n function (labels) {\n var mergedLabels = multiple ? labels.slice(-1) : labels;\n var SPLIT = ' / ';\n\n if (mergedLabels.every(function (label) {\n return ['string', 'number'].includes(_typeof(label));\n })) {\n return mergedLabels.join(SPLIT);\n } // If exist non-string value, use ReactNode instead\n\n\n return mergedLabels.reduce(function (list, label, index) {\n var keyedLabel = /*#__PURE__*/React.isValidElement(label) ? /*#__PURE__*/React.cloneElement(label, {\n key: index\n }) : label;\n\n if (index === 0) {\n return [keyedLabel];\n }\n\n return [].concat(_toConsumableArray(list), [SPLIT, keyedLabel]);\n }, []);\n };\n\n return rawValues.map(function (valueCells) {\n var _valueOptions, _valueOptions$option;\n\n var valueOptions = toPathOptions(valueCells, options, fieldNames);\n var label = mergedDisplayRender(valueOptions.map(function (_ref) {\n var _option$fieldNames$la;\n\n var option = _ref.option,\n value = _ref.value;\n return (_option$fieldNames$la = option === null || option === void 0 ? void 0 : option[fieldNames.label]) !== null && _option$fieldNames$la !== void 0 ? _option$fieldNames$la : value;\n }), valueOptions.map(function (_ref2) {\n var option = _ref2.option;\n return option;\n }));\n var value = toPathKey(valueCells);\n return {\n label: label,\n value: value,\n key: value,\n valueCells: valueCells,\n disabled: (_valueOptions = valueOptions[valueOptions.length - 1]) === null || _valueOptions === void 0 ? void 0 : (_valueOptions$option = _valueOptions.option) === null || _valueOptions$option === void 0 ? void 0 : _valueOptions$option.disabled\n };\n });\n }, [rawValues, options, fieldNames, displayRender, multiple]);\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertDataToEntities } from \"rc-tree/es/utils/treeUtil\";\nimport { VALUE_SPLIT } from '../utils/commonUtil';\n/** Lazy parse options data into conduct-able info to avoid perf issue in single mode */\n\nexport default (function (options, fieldNames) {\n var cacheRef = React.useRef({\n options: null,\n info: null\n });\n var getEntities = React.useCallback(function () {\n if (cacheRef.current.options !== options) {\n cacheRef.current.options = options;\n cacheRef.current.info = convertDataToEntities(options, {\n fieldNames: fieldNames,\n initWrapper: function initWrapper(wrapper) {\n return _objectSpread(_objectSpread({}, wrapper), {}, {\n pathKeyEntities: {}\n });\n },\n processEntity: function processEntity(entity, wrapper) {\n var pathKey = entity.nodes.map(function (node) {\n return node[fieldNames.value];\n }).join(VALUE_SPLIT);\n wrapper.pathKeyEntities[pathKey] = entity; // Overwrite origin key.\n // this is very hack but we need let conduct logic work with connect path\n\n entity.key = pathKey;\n }\n });\n }\n\n return cacheRef.current.info.pathKeyEntities;\n }, [fieldNames, options]);\n return getEntities;\n});","import * as React from 'react';\nimport { toPathOptions } from '../utils/treeUtil';\nexport default (function (options, fieldNames) {\n return React.useCallback(function (rawValues) {\n var missingValues = [];\n var existsValues = [];\n rawValues.forEach(function (valueCell) {\n var pathOptions = toPathOptions(valueCell, options, fieldNames);\n\n if (pathOptions.every(function (opt) {\n return opt.option;\n })) {\n existsValues.push(valueCell);\n } else {\n missingValues.push(valueCell);\n }\n });\n return [existsValues, missingValues];\n }, [options, fieldNames]);\n});","import * as React from 'react';\n/**\n * Same as `React.useCallback` but always return a memoized function\n * but redirect to real function.\n */\n\nexport default function useRefFunc(callback) {\n var funcRef = React.useRef();\n funcRef.current = callback;\n var cacheFn = React.useCallback(function () {\n return funcRef.current.apply(funcRef, arguments);\n }, []);\n return cacheFn;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\"; // Convert `showSearch` to unique config\n\nexport default function useSearchConfig(showSearch) {\n return React.useMemo(function () {\n if (!showSearch) {\n return [false, {}];\n }\n\n var searchConfig = {\n matchInputWidth: true,\n limit: 50\n };\n\n if (showSearch && _typeof(showSearch) === 'object') {\n searchConfig = _objectSpread(_objectSpread({}, searchConfig), showSearch);\n }\n\n if (searchConfig.limit <= 0) {\n delete searchConfig.limit;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(false, \"'limit' of showSearch should be positive number or false.\");\n }\n }\n\n return [true, searchConfig];\n }, [showSearch]);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nexport var SEARCH_MARK = '__rc_cascader_search_mark__';\n\nvar defaultFilter = function defaultFilter(search, options, _ref) {\n var label = _ref.label;\n return options.some(function (opt) {\n return String(opt[label]).toLowerCase().includes(search.toLowerCase());\n });\n};\n\nvar defaultRender = function defaultRender(inputValue, path, prefixCls, fieldNames) {\n return path.map(function (opt) {\n return opt[fieldNames.label];\n }).join(' / ');\n};\n\nexport default (function (search, options, fieldNames, prefixCls, config, changeOnSelect) {\n var _config$filter = config.filter,\n filter = _config$filter === void 0 ? defaultFilter : _config$filter,\n _config$render = config.render,\n render = _config$render === void 0 ? defaultRender : _config$render,\n _config$limit = config.limit,\n limit = _config$limit === void 0 ? 50 : _config$limit,\n sort = config.sort;\n return React.useMemo(function () {\n var filteredOptions = [];\n\n if (!search) {\n return [];\n }\n\n function dig(list, pathOptions) {\n list.forEach(function (option) {\n // Perf saving when `sort` is disabled and `limit` is provided\n if (!sort && limit > 0 && filteredOptions.length >= limit) {\n return;\n }\n\n var connectedPathOptions = [].concat(_toConsumableArray(pathOptions), [option]);\n var children = option[fieldNames.children]; // If current option is filterable\n\n if ( // If is leaf option\n !children || children.length === 0 || // If is changeOnSelect\n changeOnSelect) {\n if (filter(search, connectedPathOptions, {\n label: fieldNames.label\n })) {\n var _objectSpread2;\n\n filteredOptions.push(_objectSpread(_objectSpread({}, option), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, fieldNames.label, render(search, connectedPathOptions, prefixCls, fieldNames)), _defineProperty(_objectSpread2, SEARCH_MARK, connectedPathOptions), _objectSpread2)));\n }\n }\n\n if (children) {\n dig(option[fieldNames.children], connectedPathOptions);\n }\n });\n }\n\n dig(options, []); // Do sort\n\n if (sort) {\n filteredOptions.sort(function (a, b) {\n return sort(a[SEARCH_MARK], b[SEARCH_MARK], search, fieldNames);\n });\n }\n\n return limit > 0 ? filteredOptions.slice(0, limit) : filteredOptions;\n }, [search, options, fieldNames, prefixCls, render, changeOnSelect, filter, sort, limit]);\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CascaderContext from '../context';\nexport default function Checkbox(_ref) {\n var _classNames;\n\n var prefixCls = _ref.prefixCls,\n checked = _ref.checked,\n halfChecked = _ref.halfChecked,\n disabled = _ref.disabled,\n onClick = _ref.onClick;\n\n var _React$useContext = React.useContext(CascaderContext),\n checkable = _React$useContext.checkable;\n\n var customCheckbox = typeof checkable !== 'boolean' ? checkable : null;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checked\"), checked), _defineProperty(_classNames, \"\".concat(prefixCls, \"-indeterminate\"), !checked && halfChecked), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames)),\n onClick: onClick\n }, customCheckbox);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { isLeaf, toPathKey } from '../utils/commonUtil';\nimport CascaderContext from '../context';\nimport Checkbox from './Checkbox';\nimport { SEARCH_MARK } from '../hooks/useSearchOptions';\nexport var FIX_LABEL = '__cascader_fix_label__';\nexport default function Column(_ref) {\n var prefixCls = _ref.prefixCls,\n multiple = _ref.multiple,\n options = _ref.options,\n activeValue = _ref.activeValue,\n prevValuePath = _ref.prevValuePath,\n onToggleOpen = _ref.onToggleOpen,\n onSelect = _ref.onSelect,\n onActive = _ref.onActive,\n checkedSet = _ref.checkedSet,\n halfCheckedSet = _ref.halfCheckedSet,\n loadingKeys = _ref.loadingKeys,\n isSelectable = _ref.isSelectable;\n var menuPrefixCls = \"\".concat(prefixCls, \"-menu\");\n var menuItemPrefixCls = \"\".concat(prefixCls, \"-menu-item\");\n\n var _React$useContext = React.useContext(CascaderContext),\n fieldNames = _React$useContext.fieldNames,\n changeOnSelect = _React$useContext.changeOnSelect,\n expandTrigger = _React$useContext.expandTrigger,\n expandIcon = _React$useContext.expandIcon,\n loadingIcon = _React$useContext.loadingIcon,\n dropdownMenuColumnStyle = _React$useContext.dropdownMenuColumnStyle;\n\n var hoverOpen = expandTrigger === 'hover'; // ============================ Option ============================\n\n var optionInfoList = React.useMemo(function () {\n return options.map(function (option) {\n var _option$FIX_LABEL;\n\n var disabled = option.disabled;\n var searchOptions = option[SEARCH_MARK];\n var label = (_option$FIX_LABEL = option[FIX_LABEL]) !== null && _option$FIX_LABEL !== void 0 ? _option$FIX_LABEL : option[fieldNames.label];\n var value = option[fieldNames.value];\n var isMergedLeaf = isLeaf(option, fieldNames); // Get real value of option. Search option is different way.\n\n var fullPath = searchOptions ? searchOptions.map(function (opt) {\n return opt[fieldNames.value];\n }) : [].concat(_toConsumableArray(prevValuePath), [value]);\n var fullPathKey = toPathKey(fullPath);\n var isLoading = loadingKeys.includes(fullPathKey); // >>>>> checked\n\n var checked = checkedSet.has(fullPathKey); // >>>>> halfChecked\n\n var halfChecked = halfCheckedSet.has(fullPathKey);\n return {\n disabled: disabled,\n label: label,\n value: value,\n isLeaf: isMergedLeaf,\n isLoading: isLoading,\n checked: checked,\n halfChecked: halfChecked,\n option: option,\n fullPath: fullPath,\n fullPathKey: fullPathKey\n };\n });\n }, [options, checkedSet, fieldNames, halfCheckedSet, loadingKeys, prevValuePath]); // ============================ Render ============================\n\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: menuPrefixCls,\n role: \"menu\"\n }, optionInfoList.map(function (_ref2) {\n var _classNames;\n\n var disabled = _ref2.disabled,\n label = _ref2.label,\n value = _ref2.value,\n isMergedLeaf = _ref2.isLeaf,\n isLoading = _ref2.isLoading,\n checked = _ref2.checked,\n halfChecked = _ref2.halfChecked,\n option = _ref2.option,\n fullPath = _ref2.fullPath,\n fullPathKey = _ref2.fullPathKey;\n\n // >>>>> Open\n var triggerOpenPath = function triggerOpenPath() {\n if (!disabled && (!hoverOpen || !isMergedLeaf)) {\n onActive(fullPath);\n }\n }; // >>>>> Selection\n\n\n var triggerSelect = function triggerSelect() {\n if (isSelectable(option)) {\n onSelect(fullPath, isMergedLeaf);\n }\n }; // >>>>> Title\n\n\n var title;\n\n if (typeof option.title === 'string') {\n title = option.title;\n } else if (typeof label === 'string') {\n title = label;\n } // >>>>> Render\n\n\n return /*#__PURE__*/React.createElement(\"li\", {\n key: fullPathKey,\n className: classNames(menuItemPrefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-expand\"), !isMergedLeaf), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-active\"), activeValue === value), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-loading\"), isLoading), _classNames)),\n style: dropdownMenuColumnStyle,\n role: \"menuitemcheckbox\",\n title: title,\n \"aria-checked\": checked,\n \"data-path-key\": fullPathKey,\n onClick: function onClick() {\n triggerOpenPath();\n\n if (!multiple || isMergedLeaf) {\n triggerSelect();\n }\n },\n onDoubleClick: function onDoubleClick() {\n if (changeOnSelect) {\n onToggleOpen(false);\n }\n },\n onMouseEnter: function onMouseEnter() {\n if (hoverOpen) {\n triggerOpenPath();\n }\n },\n onMouseDown: function onMouseDown(e) {\n // Prevent selector from blurring\n e.preventDefault();\n }\n }, multiple && /*#__PURE__*/React.createElement(Checkbox, {\n prefixCls: \"\".concat(prefixCls, \"-checkbox\"),\n checked: checked,\n halfChecked: halfChecked,\n disabled: disabled,\n onClick: function onClick(e) {\n e.stopPropagation();\n triggerSelect();\n }\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-content\")\n }, label), !isLoading && expandIcon && !isMergedLeaf && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-expand-icon\")\n }, expandIcon), isLoading && loadingIcon && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-loading-icon\")\n }, loadingIcon));\n }));\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CascaderContext from '../context';\nimport { useBaseProps } from 'rc-select';\n/**\n * Control the active open options path.\n */\n\nexport default (function () {\n var _useBaseProps = useBaseProps(),\n multiple = _useBaseProps.multiple,\n open = _useBaseProps.open;\n\n var _React$useContext = React.useContext(CascaderContext),\n values = _React$useContext.values; // Record current dropdown active options\n // This also control the open status\n\n\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeValueCells = _React$useState2[0],\n setActiveValueCells = _React$useState2[1];\n\n React.useEffect(function () {\n if (open && !multiple) {\n var firstValueCells = values[0];\n setActiveValueCells(firstValueCells || []);\n }\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [open]);\n return [activeValueCells, setActiveValueCells];\n});","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useBaseProps } from 'rc-select';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { SEARCH_MARK } from '../hooks/useSearchOptions';\nexport default (function (ref, options, fieldNames, activeValueCells, setActiveValueCells, onKeyBoardSelect) {\n var _useBaseProps = useBaseProps(),\n direction = _useBaseProps.direction,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n open = _useBaseProps.open;\n\n var rtl = direction === 'rtl';\n\n var _React$useMemo = React.useMemo(function () {\n var activeIndex = -1;\n var currentOptions = options;\n var mergedActiveIndexes = [];\n var mergedActiveValueCells = [];\n var len = activeValueCells.length; // Fill validate active value cells and index\n\n var _loop = function _loop(i) {\n // Mark the active index for current options\n var nextActiveIndex = currentOptions.findIndex(function (option) {\n return option[fieldNames.value] === activeValueCells[i];\n });\n\n if (nextActiveIndex === -1) {\n return \"break\";\n }\n\n activeIndex = nextActiveIndex;\n mergedActiveIndexes.push(activeIndex);\n mergedActiveValueCells.push(activeValueCells[i]);\n currentOptions = currentOptions[activeIndex][fieldNames.children];\n };\n\n for (var i = 0; i < len && currentOptions; i += 1) {\n var _ret = _loop(i);\n\n if (_ret === \"break\") break;\n } // Fill last active options\n\n\n var activeOptions = options;\n\n for (var _i = 0; _i < mergedActiveIndexes.length - 1; _i += 1) {\n activeOptions = activeOptions[mergedActiveIndexes[_i]][fieldNames.children];\n }\n\n return [mergedActiveValueCells, activeIndex, activeOptions];\n }, [activeValueCells, fieldNames, options]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n validActiveValueCells = _React$useMemo2[0],\n lastActiveIndex = _React$useMemo2[1],\n lastActiveOptions = _React$useMemo2[2]; // Update active value cells and scroll to target element\n\n\n var internalSetActiveValueCells = function internalSetActiveValueCells(next) {\n setActiveValueCells(next);\n }; // Same options offset\n\n\n var offsetActiveOption = function offsetActiveOption(offset) {\n var len = lastActiveOptions.length;\n var currentIndex = lastActiveIndex;\n\n if (currentIndex === -1 && offset < 0) {\n currentIndex = len;\n }\n\n for (var i = 0; i < len; i += 1) {\n currentIndex = (currentIndex + offset + len) % len;\n var option = lastActiveOptions[currentIndex];\n\n if (option && !option.disabled) {\n var value = option[fieldNames.value];\n var nextActiveCells = validActiveValueCells.slice(0, -1).concat(value);\n internalSetActiveValueCells(nextActiveCells);\n return;\n }\n }\n }; // Different options offset\n\n\n var prevColumn = function prevColumn() {\n if (validActiveValueCells.length > 1) {\n var nextActiveCells = validActiveValueCells.slice(0, -1);\n internalSetActiveValueCells(nextActiveCells);\n } else {\n toggleOpen(false);\n }\n };\n\n var nextColumn = function nextColumn() {\n var _lastActiveOptions$la;\n\n var nextOptions = ((_lastActiveOptions$la = lastActiveOptions[lastActiveIndex]) === null || _lastActiveOptions$la === void 0 ? void 0 : _lastActiveOptions$la[fieldNames.children]) || [];\n var nextOption = nextOptions.find(function (option) {\n return !option.disabled;\n });\n\n if (nextOption) {\n var nextActiveCells = [].concat(_toConsumableArray(validActiveValueCells), [nextOption[fieldNames.value]]);\n internalSetActiveValueCells(nextActiveCells);\n }\n };\n\n React.useImperativeHandle(ref, function () {\n return {\n // scrollTo: treeRef.current?.scrollTo,\n onKeyDown: function onKeyDown(event) {\n var which = event.which;\n\n switch (which) {\n // >>> Arrow keys\n case KeyCode.UP:\n case KeyCode.DOWN:\n {\n var offset = 0;\n\n if (which === KeyCode.UP) {\n offset = -1;\n } else if (which === KeyCode.DOWN) {\n offset = 1;\n }\n\n if (offset !== 0) {\n offsetActiveOption(offset);\n }\n\n break;\n }\n\n case KeyCode.LEFT:\n {\n if (rtl) {\n nextColumn();\n } else {\n prevColumn();\n }\n\n break;\n }\n\n case KeyCode.RIGHT:\n {\n if (rtl) {\n prevColumn();\n } else {\n nextColumn();\n }\n\n break;\n }\n\n case KeyCode.BACKSPACE:\n {\n if (!searchValue) {\n prevColumn();\n }\n\n break;\n }\n // >>> Select\n\n case KeyCode.ENTER:\n {\n if (validActiveValueCells.length) {\n var option = lastActiveOptions[lastActiveIndex]; // Search option should revert back of origin options\n\n var originOptions = (option === null || option === void 0 ? void 0 : option[SEARCH_MARK]) || [];\n\n if (originOptions.length) {\n onKeyBoardSelect(originOptions.map(function (opt) {\n return opt[fieldNames.value];\n }), originOptions[originOptions.length - 1]);\n } else {\n onKeyBoardSelect(validActiveValueCells, lastActiveOptions[lastActiveIndex]);\n }\n }\n\n break;\n }\n // >>> Close\n\n case KeyCode.ESC:\n {\n toggleOpen(false);\n\n if (open) {\n event.stopPropagation();\n }\n }\n }\n },\n onKeyUp: function onKeyUp() {}\n };\n });\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable default-case */\nimport classNames from 'classnames';\nimport { useBaseProps } from 'rc-select';\nimport * as React from 'react';\nimport CascaderContext from '../context';\nimport { isLeaf, scrollIntoParentView, toPathKey, toPathKeys, toPathValueStr } from '../utils/commonUtil';\nimport { toPathOptions } from '../utils/treeUtil';\nimport Column, { FIX_LABEL } from './Column';\nimport useActive from './useActive';\nimport useKeyboard from './useKeyboard';\nvar RefOptionList = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _optionColumns$, _optionColumns$$optio, _ref3, _classNames;\n\n var _useBaseProps = useBaseProps(),\n prefixCls = _useBaseProps.prefixCls,\n multiple = _useBaseProps.multiple,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n notFoundContent = _useBaseProps.notFoundContent,\n direction = _useBaseProps.direction;\n\n var containerRef = React.useRef();\n var rtl = direction === 'rtl';\n\n var _React$useContext = React.useContext(CascaderContext),\n options = _React$useContext.options,\n values = _React$useContext.values,\n halfValues = _React$useContext.halfValues,\n fieldNames = _React$useContext.fieldNames,\n changeOnSelect = _React$useContext.changeOnSelect,\n onSelect = _React$useContext.onSelect,\n searchOptions = _React$useContext.searchOptions,\n dropdownPrefixCls = _React$useContext.dropdownPrefixCls,\n loadData = _React$useContext.loadData,\n expandTrigger = _React$useContext.expandTrigger;\n\n var mergedPrefixCls = dropdownPrefixCls || prefixCls; // ========================= loadData =========================\n\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n loadingKeys = _React$useState2[0],\n setLoadingKeys = _React$useState2[1];\n\n var internalLoadData = function internalLoadData(valueCells) {\n // Do not load when search\n if (!loadData || searchValue) {\n return;\n }\n\n var optionList = toPathOptions(valueCells, options, fieldNames);\n var rawOptions = optionList.map(function (_ref) {\n var option = _ref.option;\n return option;\n });\n var lastOption = rawOptions[rawOptions.length - 1];\n\n if (lastOption && !isLeaf(lastOption, fieldNames)) {\n var pathKey = toPathKey(valueCells);\n setLoadingKeys(function (keys) {\n return [].concat(_toConsumableArray(keys), [pathKey]);\n });\n loadData(rawOptions);\n }\n }; // zombieJ: This is bad. We should make this same as `rc-tree` to use Promise instead.\n\n\n React.useEffect(function () {\n if (loadingKeys.length) {\n loadingKeys.forEach(function (loadingKey) {\n var valueStrCells = toPathValueStr(loadingKey);\n var optionList = toPathOptions(valueStrCells, options, fieldNames, true).map(function (_ref2) {\n var option = _ref2.option;\n return option;\n });\n var lastOption = optionList[optionList.length - 1];\n\n if (!lastOption || lastOption[fieldNames.children] || isLeaf(lastOption, fieldNames)) {\n setLoadingKeys(function (keys) {\n return keys.filter(function (key) {\n return key !== loadingKey;\n });\n });\n }\n });\n }\n }, [options, loadingKeys, fieldNames]); // ========================== Values ==========================\n\n var checkedSet = React.useMemo(function () {\n return new Set(toPathKeys(values));\n }, [values]);\n var halfCheckedSet = React.useMemo(function () {\n return new Set(toPathKeys(halfValues));\n }, [halfValues]); // ====================== Accessibility =======================\n\n var _useActive = useActive(),\n _useActive2 = _slicedToArray(_useActive, 2),\n activeValueCells = _useActive2[0],\n setActiveValueCells = _useActive2[1]; // =========================== Path ===========================\n\n\n var onPathOpen = function onPathOpen(nextValueCells) {\n setActiveValueCells(nextValueCells); // Trigger loadData\n\n internalLoadData(nextValueCells);\n };\n\n var isSelectable = function isSelectable(option) {\n var disabled = option.disabled;\n var isMergedLeaf = isLeaf(option, fieldNames);\n return !disabled && (isMergedLeaf || changeOnSelect || multiple);\n };\n\n var onPathSelect = function onPathSelect(valuePath, leaf) {\n var fromKeyboard = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n onSelect(valuePath);\n\n if (!multiple && (leaf || changeOnSelect && (expandTrigger === 'hover' || fromKeyboard))) {\n toggleOpen(false);\n }\n }; // ========================== Option ==========================\n\n\n var mergedOptions = React.useMemo(function () {\n if (searchValue) {\n return searchOptions;\n }\n\n return options;\n }, [searchValue, searchOptions, options]); // ========================== Column ==========================\n\n var optionColumns = React.useMemo(function () {\n var optionList = [{\n options: mergedOptions\n }];\n var currentList = mergedOptions;\n\n var _loop = function _loop(i) {\n var activeValueCell = activeValueCells[i];\n var currentOption = currentList.find(function (option) {\n return option[fieldNames.value] === activeValueCell;\n });\n var subOptions = currentOption === null || currentOption === void 0 ? void 0 : currentOption[fieldNames.children];\n\n if (!(subOptions === null || subOptions === void 0 ? void 0 : subOptions.length)) {\n return \"break\";\n }\n\n currentList = subOptions;\n optionList.push({\n options: subOptions\n });\n };\n\n for (var i = 0; i < activeValueCells.length; i += 1) {\n var _ret = _loop(i);\n\n if (_ret === \"break\") break;\n }\n\n return optionList;\n }, [mergedOptions, activeValueCells, fieldNames]); // ========================= Keyboard =========================\n\n var onKeyboardSelect = function onKeyboardSelect(selectValueCells, option) {\n if (isSelectable(option)) {\n onPathSelect(selectValueCells, isLeaf(option, fieldNames), true);\n }\n };\n\n useKeyboard(ref, mergedOptions, fieldNames, activeValueCells, onPathOpen, onKeyboardSelect); // >>>>> Active Scroll\n\n React.useEffect(function () {\n for (var i = 0; i < activeValueCells.length; i += 1) {\n var _containerRef$current;\n\n var cellPath = activeValueCells.slice(0, i + 1);\n var cellKeyPath = toPathKey(cellPath);\n var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelector(\"li[data-path-key=\\\"\".concat(cellKeyPath.replace(/\\\\{0,2}\"/g, '\\\\\"'), \"\\\"]\"));\n\n if (ele) {\n scrollIntoParentView(ele);\n }\n }\n }, [activeValueCells]); // ========================== Render ==========================\n // >>>>> Empty\n\n var isEmpty = !((_optionColumns$ = optionColumns[0]) === null || _optionColumns$ === void 0 ? void 0 : (_optionColumns$$optio = _optionColumns$.options) === null || _optionColumns$$optio === void 0 ? void 0 : _optionColumns$$optio.length);\n var emptyList = [(_ref3 = {}, _defineProperty(_ref3, fieldNames.value, '__EMPTY__'), _defineProperty(_ref3, FIX_LABEL, notFoundContent), _defineProperty(_ref3, \"disabled\", true), _ref3)];\n\n var columnProps = _objectSpread(_objectSpread({}, props), {}, {\n multiple: !isEmpty && multiple,\n onSelect: onPathSelect,\n onActive: onPathOpen,\n onToggleOpen: toggleOpen,\n checkedSet: checkedSet,\n halfCheckedSet: halfCheckedSet,\n loadingKeys: loadingKeys,\n isSelectable: isSelectable\n }); // >>>>> Columns\n\n\n var mergedOptionColumns = isEmpty ? [{\n options: emptyList\n }] : optionColumns;\n var columnNodes = mergedOptionColumns.map(function (col, index) {\n var prevValuePath = activeValueCells.slice(0, index);\n var activeValue = activeValueCells[index];\n return /*#__PURE__*/React.createElement(Column, _extends({\n key: index\n }, columnProps, {\n prefixCls: mergedPrefixCls,\n options: col.options,\n prevValuePath: prevValuePath,\n activeValue: activeValue\n }));\n }); // >>>>> Render\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(mergedPrefixCls, \"-menus\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(mergedPrefixCls, \"-menu-empty\"), isEmpty), _defineProperty(_classNames, \"\".concat(mergedPrefixCls, \"-rtl\"), rtl), _classNames)),\n ref: containerRef\n }, columnNodes);\n});\nexport default RefOptionList;","import warning from \"rc-util/es/warning\";\n\nfunction warningProps(props) {\n var onPopupVisibleChange = props.onPopupVisibleChange,\n popupVisible = props.popupVisible,\n popupClassName = props.popupClassName,\n popupPlacement = props.popupPlacement;\n warning(!onPopupVisibleChange, '`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead.');\n warning(popupVisible === undefined, '`popupVisible` is deprecated. Please use `open` instead.');\n warning(popupClassName === undefined, '`popupClassName` is deprecated. Please use `dropdownClassName` instead.');\n warning(popupPlacement === undefined, '`popupPlacement` is deprecated. Please use `placement` instead.');\n} // value in Cascader options should not be null\n\n\nexport function warningNullOptions(options, fieldNames) {\n if (options) {\n var recursiveOptions = function recursiveOptions(optionsList) {\n for (var i = 0; i < optionsList.length; i++) {\n var option = optionsList[i];\n\n if (option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.value] === null) {\n warning(false, '`value` in Cascader options should not be `null`.');\n return true;\n }\n\n if (Array.isArray(option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children]) && recursiveOptions(option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children])) {\n return true;\n }\n }\n };\n\n recursiveOptions(options);\n }\n}\nexport default warningProps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"prefixCls\", \"fieldNames\", \"defaultValue\", \"value\", \"changeOnSelect\", \"onChange\", \"displayRender\", \"checkable\", \"searchValue\", \"onSearch\", \"showSearch\", \"expandTrigger\", \"options\", \"dropdownPrefixCls\", \"loadData\", \"popupVisible\", \"open\", \"popupClassName\", \"dropdownClassName\", \"dropdownMenuColumnStyle\", \"popupPlacement\", \"placement\", \"onDropdownVisibleChange\", \"onPopupVisibleChange\", \"expandIcon\", \"loadingIcon\", \"children\", \"dropdownMatchSelectWidth\", \"showCheckedStrategy\"];\nimport { BaseSelect } from 'rc-select';\nimport useId from \"rc-select/es/hooks/useId\";\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport CascaderContext from './context';\nimport useDisplayValues from './hooks/useDisplayValues';\nimport useEntities from './hooks/useEntities';\nimport useMissingValues from './hooks/useMissingValues';\nimport useRefFunc from './hooks/useRefFunc';\nimport useSearchConfig from './hooks/useSearchConfig';\nimport useSearchOptions from './hooks/useSearchOptions';\nimport OptionList from './OptionList';\nimport { fillFieldNames, SHOW_CHILD, SHOW_PARENT, toPathKey, toPathKeys } from './utils/commonUtil';\nimport { formatStrategyValues, toPathOptions } from './utils/treeUtil';\nimport warningProps, { warningNullOptions } from './utils/warningPropsUtil';\n\nfunction isMultipleValue(value) {\n return Array.isArray(value) && Array.isArray(value[0]);\n}\n\nfunction toRawValues(value) {\n if (!value) {\n return [];\n }\n\n if (isMultipleValue(value)) {\n return value;\n }\n\n return (value.length === 0 ? [] : [value]).map(function (val) {\n return Array.isArray(val) ? val : [val];\n });\n}\n\nvar Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var id = props.id,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-cascader' : _props$prefixCls,\n fieldNames = props.fieldNames,\n defaultValue = props.defaultValue,\n value = props.value,\n changeOnSelect = props.changeOnSelect,\n onChange = props.onChange,\n displayRender = props.displayRender,\n checkable = props.checkable,\n searchValue = props.searchValue,\n onSearch = props.onSearch,\n showSearch = props.showSearch,\n expandTrigger = props.expandTrigger,\n options = props.options,\n dropdownPrefixCls = props.dropdownPrefixCls,\n loadData = props.loadData,\n popupVisible = props.popupVisible,\n open = props.open,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n dropdownMenuColumnStyle = props.dropdownMenuColumnStyle,\n popupPlacement = props.popupPlacement,\n placement = props.placement,\n onDropdownVisibleChange = props.onDropdownVisibleChange,\n onPopupVisibleChange = props.onPopupVisibleChange,\n _props$expandIcon = props.expandIcon,\n expandIcon = _props$expandIcon === void 0 ? '>' : _props$expandIcon,\n loadingIcon = props.loadingIcon,\n children = props.children,\n _props$dropdownMatchS = props.dropdownMatchSelectWidth,\n dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? false : _props$dropdownMatchS,\n _props$showCheckedStr = props.showCheckedStrategy,\n showCheckedStrategy = _props$showCheckedStr === void 0 ? SHOW_PARENT : _props$showCheckedStr,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedId = useId(id);\n var multiple = !!checkable; // =========================== Values ===========================\n\n var _useMergedState = useMergedState(defaultValue, {\n value: value,\n postState: toRawValues\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n rawValues = _useMergedState2[0],\n setRawValues = _useMergedState2[1]; // ========================= FieldNames =========================\n\n\n var mergedFieldNames = React.useMemo(function () {\n return fillFieldNames(fieldNames);\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [JSON.stringify(fieldNames)]); // =========================== Option ===========================\n\n var mergedOptions = React.useMemo(function () {\n return options || [];\n }, [options]); // Only used in multiple mode, this fn will not call in single mode\n\n var getPathKeyEntities = useEntities(mergedOptions, mergedFieldNames);\n /** Convert path key back to value format */\n\n var getValueByKeyPath = React.useCallback(function (pathKeys) {\n var keyPathEntities = getPathKeyEntities();\n return pathKeys.map(function (pathKey) {\n var nodes = keyPathEntities[pathKey].nodes;\n return nodes.map(function (node) {\n return node[mergedFieldNames.value];\n });\n });\n }, [getPathKeyEntities, mergedFieldNames]); // =========================== Search ===========================\n\n var _useMergedState3 = useMergedState('', {\n value: searchValue,\n postState: function postState(search) {\n return search || '';\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedSearchValue = _useMergedState4[0],\n setSearchValue = _useMergedState4[1];\n\n var onInternalSearch = function onInternalSearch(searchText, info) {\n setSearchValue(searchText);\n\n if (info.source !== 'blur' && onSearch) {\n onSearch(searchText);\n }\n };\n\n var _useSearchConfig = useSearchConfig(showSearch),\n _useSearchConfig2 = _slicedToArray(_useSearchConfig, 2),\n mergedShowSearch = _useSearchConfig2[0],\n searchConfig = _useSearchConfig2[1];\n\n var searchOptions = useSearchOptions(mergedSearchValue, mergedOptions, mergedFieldNames, dropdownPrefixCls || prefixCls, searchConfig, changeOnSelect); // =========================== Values ===========================\n\n var getMissingValues = useMissingValues(mergedOptions, mergedFieldNames); // Fill `rawValues` with checked conduction values\n\n var _React$useMemo = React.useMemo(function () {\n var _getMissingValues = getMissingValues(rawValues),\n _getMissingValues2 = _slicedToArray(_getMissingValues, 2),\n existValues = _getMissingValues2[0],\n missingValues = _getMissingValues2[1];\n\n if (!multiple || !rawValues.length) {\n return [existValues, [], missingValues];\n }\n\n var keyPathValues = toPathKeys(existValues);\n var keyPathEntities = getPathKeyEntities();\n\n var _conductCheck = conductCheck(keyPathValues, true, keyPathEntities),\n checkedKeys = _conductCheck.checkedKeys,\n halfCheckedKeys = _conductCheck.halfCheckedKeys; // Convert key back to value cells\n\n\n return [getValueByKeyPath(checkedKeys), getValueByKeyPath(halfCheckedKeys), missingValues];\n }, [multiple, rawValues, getPathKeyEntities, getValueByKeyPath, getMissingValues]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n checkedValues = _React$useMemo2[0],\n halfCheckedValues = _React$useMemo2[1],\n missingCheckedValues = _React$useMemo2[2];\n\n var deDuplicatedValues = React.useMemo(function () {\n var checkedKeys = toPathKeys(checkedValues);\n var deduplicateKeys = formatStrategyValues(checkedKeys, getPathKeyEntities, showCheckedStrategy);\n return [].concat(_toConsumableArray(missingCheckedValues), _toConsumableArray(getValueByKeyPath(deduplicateKeys)));\n }, [checkedValues, getPathKeyEntities, getValueByKeyPath, missingCheckedValues, showCheckedStrategy]);\n var displayValues = useDisplayValues(deDuplicatedValues, mergedOptions, mergedFieldNames, multiple, displayRender); // =========================== Change ===========================\n\n var triggerChange = useRefFunc(function (nextValues) {\n setRawValues(nextValues); // Save perf if no need trigger event\n\n if (onChange) {\n var nextRawValues = toRawValues(nextValues);\n var valueOptions = nextRawValues.map(function (valueCells) {\n return toPathOptions(valueCells, mergedOptions, mergedFieldNames).map(function (valueOpt) {\n return valueOpt.option;\n });\n });\n var triggerValues = multiple ? nextRawValues : nextRawValues[0];\n var triggerOptions = multiple ? valueOptions : valueOptions[0];\n onChange(triggerValues, triggerOptions);\n }\n }); // =========================== Select ===========================\n\n var onInternalSelect = useRefFunc(function (valuePath) {\n setSearchValue('');\n\n if (!multiple) {\n triggerChange(valuePath);\n } else {\n // Prepare conduct required info\n var pathKey = toPathKey(valuePath);\n var checkedPathKeys = toPathKeys(checkedValues);\n var halfCheckedPathKeys = toPathKeys(halfCheckedValues);\n var existInChecked = checkedPathKeys.includes(pathKey);\n var existInMissing = missingCheckedValues.some(function (valueCells) {\n return toPathKey(valueCells) === pathKey;\n }); // Do update\n\n var nextCheckedValues = checkedValues;\n var nextMissingValues = missingCheckedValues;\n\n if (existInMissing && !existInChecked) {\n // Missing value only do filter\n nextMissingValues = missingCheckedValues.filter(function (valueCells) {\n return toPathKey(valueCells) !== pathKey;\n });\n } else {\n // Update checked key first\n var nextRawCheckedKeys = existInChecked ? checkedPathKeys.filter(function (key) {\n return key !== pathKey;\n }) : [].concat(_toConsumableArray(checkedPathKeys), [pathKey]);\n var pathKeyEntities = getPathKeyEntities(); // Conduction by selected or not\n\n var checkedKeys;\n\n if (existInChecked) {\n var _conductCheck2 = conductCheck(nextRawCheckedKeys, {\n checked: false,\n halfCheckedKeys: halfCheckedPathKeys\n }, pathKeyEntities);\n\n checkedKeys = _conductCheck2.checkedKeys;\n } else {\n var _conductCheck3 = conductCheck(nextRawCheckedKeys, true, pathKeyEntities);\n\n checkedKeys = _conductCheck3.checkedKeys;\n } // Roll up to parent level keys\n\n\n var deDuplicatedKeys = formatStrategyValues(checkedKeys, getPathKeyEntities, showCheckedStrategy);\n nextCheckedValues = getValueByKeyPath(deDuplicatedKeys);\n }\n\n triggerChange([].concat(_toConsumableArray(nextMissingValues), _toConsumableArray(nextCheckedValues)));\n }\n }); // Display Value change logic\n\n var onDisplayValuesChange = function onDisplayValuesChange(_, info) {\n if (info.type === 'clear') {\n triggerChange([]);\n return;\n } // Cascader do not support `add` type. Only support `remove`\n\n\n var valueCells = info.values[0].valueCells;\n onInternalSelect(valueCells);\n }; // ============================ Open ============================\n\n\n var mergedOpen = open !== undefined ? open : popupVisible;\n var mergedDropdownClassName = dropdownClassName || popupClassName;\n var mergedPlacement = placement || popupPlacement;\n\n var onInternalDropdownVisibleChange = function onInternalDropdownVisibleChange(nextVisible) {\n onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 ? void 0 : onDropdownVisibleChange(nextVisible);\n onPopupVisibleChange === null || onPopupVisibleChange === void 0 ? void 0 : onPopupVisibleChange(nextVisible);\n }; // ========================== Warning ===========================\n\n\n if (process.env.NODE_ENV !== 'production') {\n warningProps(props);\n warningNullOptions(mergedOptions, mergedFieldNames);\n } // ========================== Context ===========================\n\n\n var cascaderContext = React.useMemo(function () {\n return {\n options: mergedOptions,\n fieldNames: mergedFieldNames,\n values: checkedValues,\n halfValues: halfCheckedValues,\n changeOnSelect: changeOnSelect,\n onSelect: onInternalSelect,\n checkable: checkable,\n searchOptions: searchOptions,\n dropdownPrefixCls: dropdownPrefixCls,\n loadData: loadData,\n expandTrigger: expandTrigger,\n expandIcon: expandIcon,\n loadingIcon: loadingIcon,\n dropdownMenuColumnStyle: dropdownMenuColumnStyle\n };\n }, [mergedOptions, mergedFieldNames, checkedValues, halfCheckedValues, changeOnSelect, onInternalSelect, checkable, searchOptions, dropdownPrefixCls, loadData, expandTrigger, expandIcon, loadingIcon, dropdownMenuColumnStyle]); // ==============================================================\n // == Render ==\n // ==============================================================\n\n var emptyOptions = !(mergedSearchValue ? searchOptions : mergedOptions).length;\n var dropdownStyle = // Search to match width\n mergedSearchValue && searchConfig.matchInputWidth || // Empty keep the width\n emptyOptions ? {} : {\n minWidth: 'auto'\n };\n return /*#__PURE__*/React.createElement(CascaderContext.Provider, {\n value: cascaderContext\n }, /*#__PURE__*/React.createElement(BaseSelect, _extends({}, restProps, {\n // MISC\n ref: ref,\n id: mergedId,\n prefixCls: prefixCls,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n dropdownStyle: dropdownStyle // Value\n ,\n displayValues: displayValues,\n onDisplayValuesChange: onDisplayValuesChange,\n mode: multiple ? 'multiple' : undefined // Search\n ,\n searchValue: mergedSearchValue,\n onSearch: onInternalSearch,\n showSearch: mergedShowSearch // Options\n ,\n OptionList: OptionList,\n emptyOptions: emptyOptions // Open\n ,\n open: mergedOpen,\n dropdownClassName: mergedDropdownClassName,\n placement: mergedPlacement,\n onDropdownVisibleChange: onInternalDropdownVisibleChange // Children\n ,\n getRawInputElement: function getRawInputElement() {\n return children;\n }\n })));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Cascader.displayName = 'Cascader';\n}\n\nCascader.SHOW_PARENT = SHOW_PARENT;\nCascader.SHOW_CHILD = SHOW_CHILD;\nexport default Cascader;","import Cascader from './Cascader';\nexport default Cascader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCascader from 'rc-cascader';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { FormItemInputContext } from '../form/context';\nimport getIcons from '../select/utils/iconUtil';\nimport { getTransitionDirection, getTransitionName } from '../_util/motion';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nvar SHOW_CHILD = RcCascader.SHOW_CHILD,\n SHOW_PARENT = RcCascader.SHOW_PARENT;\nfunction highlightKeyword(str, lowerKeyword, prefixCls) {\n var cells = str.toLowerCase().split(lowerKeyword).reduce(function (list, cur, index) {\n return index === 0 ? [cur] : [].concat(_toConsumableArray(list), [lowerKeyword, cur]);\n }, []);\n var fillCells = [];\n var start = 0;\n cells.forEach(function (cell, index) {\n var end = start + cell.length;\n var originWorld = str.slice(start, end);\n start = end;\n if (index % 2 === 1) {\n originWorld =\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-menu-item-keyword\"),\n key: \"seperator-\".concat(index)\n }, originWorld);\n }\n fillCells.push(originWorld);\n });\n return fillCells;\n}\nvar defaultSearchRender = function defaultSearchRender(inputValue, path, prefixCls, fieldNames) {\n var optionList = [];\n // We do lower here to save perf\n var lower = inputValue.toLowerCase();\n path.forEach(function (node, index) {\n if (index !== 0) {\n optionList.push(' / ');\n }\n var label = node[fieldNames.label];\n var type = _typeof(label);\n if (type === 'string' || type === 'number') {\n label = highlightKeyword(String(label), lower, prefixCls);\n }\n optionList.push(label);\n });\n return optionList;\n};\nvar Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames2;\n var customizePrefixCls = props.prefixCls,\n customizeSize = props.size,\n customDisabled = props.disabled,\n className = props.className,\n multiple = props.multiple,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n transitionName = props.transitionName,\n _props$choiceTransiti = props.choiceTransitionName,\n choiceTransitionName = _props$choiceTransiti === void 0 ? '' : _props$choiceTransiti,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n expandIcon = props.expandIcon,\n placement = props.placement,\n showSearch = props.showSearch,\n _props$allowClear = props.allowClear,\n allowClear = _props$allowClear === void 0 ? true : _props$allowClear,\n notFoundContent = props.notFoundContent,\n direction = props.direction,\n getPopupContainer = props.getPopupContainer,\n customStatus = props.status,\n showArrow = props.showArrow,\n rest = __rest(props, [\"prefixCls\", \"size\", \"disabled\", \"className\", \"multiple\", \"bordered\", \"transitionName\", \"choiceTransitionName\", \"popupClassName\", \"dropdownClassName\", \"expandIcon\", \"placement\", \"showSearch\", \"allowClear\", \"notFoundContent\", \"direction\", \"getPopupContainer\", \"status\", \"showArrow\"]);\n var restProps = omit(rest, ['suffixIcon']);\n var _useContext = useContext(ConfigContext),\n getContextPopupContainer = _useContext.getPopupContainer,\n getPrefixCls = _useContext.getPrefixCls,\n renderEmpty = _useContext.renderEmpty,\n rootDirection = _useContext.direction;\n var mergedDirection = direction || rootDirection;\n var isRtl = mergedDirection === 'rtl';\n // =================== Form =====================\n var _useContext2 = useContext(FormItemInputContext),\n contextStatus = _useContext2.status,\n hasFeedback = _useContext2.hasFeedback,\n isFormItemInput = _useContext2.isFormItemInput,\n feedbackIcon = _useContext2.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n // =================== Warning =====================\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'Cascader', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!multiple || !props.displayRender, 'Cascader', '`displayRender` not work on `multiple`. Please use `tagRender` instead.') : void 0;\n // =================== No Found ====================\n var mergedNotFoundContent = notFoundContent || (renderEmpty || defaultRenderEmpty)('Cascader');\n // ==================== Prefix =====================\n var rootPrefixCls = getPrefixCls();\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n var cascaderPrefixCls = getPrefixCls('cascader', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n // =================== Dropdown ====================\n var mergedDropdownClassName = classNames(popupClassName || dropdownClassName, \"\".concat(cascaderPrefixCls, \"-dropdown\"), _defineProperty({}, \"\".concat(cascaderPrefixCls, \"-dropdown-rtl\"), mergedDirection === 'rtl'));\n // ==================== Search =====================\n var mergedShowSearch = React.useMemo(function () {\n if (!showSearch) {\n return showSearch;\n }\n var searchConfig = {\n render: defaultSearchRender\n };\n if (_typeof(showSearch) === 'object') {\n searchConfig = _extends(_extends({}, searchConfig), showSearch);\n }\n return searchConfig;\n }, [showSearch]);\n // ===================== Size ======================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== Icon ======================\n var mergedExpandIcon = expandIcon;\n if (!expandIcon) {\n mergedExpandIcon = isRtl ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null);\n }\n var loadingIcon = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-menu-item-loading-icon\")\n }, /*#__PURE__*/React.createElement(LoadingOutlined, {\n spin: true\n }));\n // =================== Multiple ====================\n var checkable = React.useMemo(function () {\n return multiple ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(cascaderPrefixCls, \"-checkbox-inner\")\n }) : false;\n }, [multiple]);\n // ===================== Icons =====================\n var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !multiple;\n var _getIcons = getIcons(_extends(_extends({}, props), {\n hasFeedback: hasFeedback,\n feedbackIcon: feedbackIcon,\n showArrow: mergedShowArrow,\n multiple: multiple,\n prefixCls: prefixCls\n })),\n suffixIcon = _getIcons.suffixIcon,\n removeIcon = _getIcons.removeIcon,\n clearIcon = _getIcons.clearIcon;\n // ===================== Placement =====================\n var getPlacement = function getPlacement() {\n if (placement !== undefined) {\n return placement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n // ==================== Render =====================\n return /*#__PURE__*/React.createElement(RcCascader, _extends({\n prefixCls: prefixCls,\n className: classNames(!customizePrefixCls && cascaderPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), isRtl), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-in-form-item\"), isFormItemInput), _classNames2), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className),\n disabled: mergedDisabled\n }, restProps, {\n direction: mergedDirection,\n placement: getPlacement(),\n notFoundContent: mergedNotFoundContent,\n allowClear: allowClear,\n showSearch: mergedShowSearch,\n expandIcon: mergedExpandIcon,\n inputIcon: suffixIcon,\n removeIcon: removeIcon,\n clearIcon: clearIcon,\n loadingIcon: loadingIcon,\n checkable: checkable,\n dropdownClassName: mergedDropdownClassName,\n dropdownPrefixCls: customizePrefixCls || cascaderPrefixCls,\n choiceTransitionName: getTransitionName(rootPrefixCls, '', choiceTransitionName),\n transitionName: getTransitionName(rootPrefixCls, getTransitionDirection(placement), transitionName),\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n ref: ref,\n showArrow: hasFeedback || showArrow\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Cascader.displayName = 'Cascader';\n}\nCascader.SHOW_PARENT = SHOW_PARENT;\nCascader.SHOW_CHILD = SHOW_CHILD;\nexport default Cascader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar Comment = function Comment(_a) {\n var actions = _a.actions,\n author = _a.author,\n avatar = _a.avatar,\n children = _a.children,\n className = _a.className,\n content = _a.content,\n customizePrefixCls = _a.prefixCls,\n datetime = _a.datetime,\n otherProps = __rest(_a, [\"actions\", \"author\", \"avatar\", \"children\", \"className\", \"content\", \"prefixCls\", \"datetime\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var renderNested = function renderNested(prefixCls, nestedChildren) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-nested\"))\n }, nestedChildren);\n };\n var prefixCls = getPrefixCls('comment', customizePrefixCls);\n var avatarDom = avatar ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-avatar\")\n }, typeof avatar === 'string' ? /*#__PURE__*/React.createElement(\"img\", {\n src: avatar,\n alt: \"comment-avatar\"\n }) : avatar) : null;\n var actionDom = actions && actions.length ? /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-actions\")\n }, actions.map(function (action, index) {\n return /*#__PURE__*/React.createElement(\"li\", {\n key: \"action-\".concat(index)\n }, action) // eslint-disable-line react/no-array-index-key\n ;\n })) : null;\n var authorContent = (author || datetime) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-author\")\n }, author && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-author-name\")\n }, author), datetime && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-author-time\")\n }, datetime));\n var contentDom = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, authorContent, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-detail\")\n }, content), actionDom);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: cls\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\")\n }, avatarDom, contentDom), children ? renderNested(prefixCls, children) : null);\n};\nexport default Comment;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Button from '../button';\nexport default function PickerButton(props) {\n return /*#__PURE__*/React.createElement(Button, _extends({\n size: \"small\",\n type: \"primary\"\n }, props));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Tag from '../tag';\nexport default function PickerTag(props) {\n return /*#__PURE__*/React.createElement(Tag, _extends({\n color: \"blue\"\n }, props));\n}","// This icon file is generated automatically.\nvar CalendarOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z\" } }] }, \"name\": \"calendar\", \"theme\": \"outlined\" };\nexport default CalendarOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CalendarOutlinedSvg from \"@ant-design/icons-svg/es/asn/CalendarOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CalendarOutlined = function CalendarOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CalendarOutlinedSvg\n }));\n};\nCalendarOutlined.displayName = 'CalendarOutlined';\nexport default /*#__PURE__*/React.forwardRef(CalendarOutlined);","// This icon file is generated automatically.\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexport default ClockCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ClockCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/ClockCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ClockCircleOutlinedSvg\n }));\n};\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(ClockCircleOutlined);","// This icon file is generated automatically.\nvar SwapRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"0 0 1024 1024\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z\" } }] }, \"name\": \"swap-right\", \"theme\": \"outlined\" };\nexport default SwapRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SwapRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/SwapRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SwapRightOutlined = function SwapRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SwapRightOutlinedSvg\n }));\n};\nSwapRightOutlined.displayName = 'SwapRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(SwapRightOutlined);","export function getPlaceholder(picker, locale, customizePlaceholder) {\n if (customizePlaceholder !== undefined) {\n return customizePlaceholder;\n }\n if (picker === 'year' && locale.lang.yearPlaceholder) {\n return locale.lang.yearPlaceholder;\n }\n if (picker === 'quarter' && locale.lang.quarterPlaceholder) {\n return locale.lang.quarterPlaceholder;\n }\n if (picker === 'month' && locale.lang.monthPlaceholder) {\n return locale.lang.monthPlaceholder;\n }\n if (picker === 'week' && locale.lang.weekPlaceholder) {\n return locale.lang.weekPlaceholder;\n }\n if (picker === 'time' && locale.timePickerLocale.placeholder) {\n return locale.timePickerLocale.placeholder;\n }\n return locale.lang.placeholder;\n}\nexport function getRangePlaceholder(picker, locale, customizePlaceholder) {\n if (customizePlaceholder !== undefined) {\n return customizePlaceholder;\n }\n if (picker === 'year' && locale.lang.yearPlaceholder) {\n return locale.lang.rangeYearPlaceholder;\n }\n if (picker === 'quarter' && locale.lang.quarterPlaceholder) {\n return locale.lang.rangeQuarterPlaceholder;\n }\n if (picker === 'month' && locale.lang.monthPlaceholder) {\n return locale.lang.rangeMonthPlaceholder;\n }\n if (picker === 'week' && locale.lang.weekPlaceholder) {\n return locale.lang.rangeWeekPlaceholder;\n }\n if (picker === 'time' && locale.timePickerLocale.placeholder) {\n return locale.timePickerLocale.rangePlaceholder;\n }\n return locale.lang.rangePlaceholder;\n}\nexport function transPlacement2DropdownAlign(direction, placement) {\n var overflow = {\n adjustX: 1,\n adjustY: 1\n };\n switch (placement) {\n case 'bottomLeft':\n {\n return {\n points: ['tl', 'bl'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n case 'bottomRight':\n {\n return {\n points: ['tr', 'br'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n case 'topLeft':\n {\n return {\n points: ['bl', 'tl'],\n offset: [0, -4],\n overflow: overflow\n };\n }\n case 'topRight':\n {\n return {\n points: ['br', 'tr'],\n offset: [0, -4],\n overflow: overflow\n };\n }\n default:\n {\n return {\n points: direction === 'rtl' ? ['tr', 'br'] : ['tl', 'bl'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n }\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CalendarOutlined from \"@ant-design/icons/es/icons/CalendarOutlined\";\nimport ClockCircleOutlined from \"@ant-design/icons/es/icons/ClockCircleOutlined\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport SwapRightOutlined from \"@ant-design/icons/es/icons/SwapRightOutlined\";\nimport classNames from 'classnames';\nimport { RangePicker as RCRangePicker } from 'rc-picker';\nimport * as React from 'react';\nimport { forwardRef, useContext, useImperativeHandle } from 'react';\nimport { Components, getTimeProps } from '.';\nimport { ConfigContext } from '../../config-provider';\nimport DisabledContext from '../../config-provider/DisabledContext';\nimport SizeContext from '../../config-provider/SizeContext';\nimport { FormItemInputContext } from '../../form/context';\nimport { useCompactItemContext } from '../../space/Compact';\nimport LocaleReceiver from '../../locale-provider/LocaleReceiver';\nimport { getMergedStatus, getStatusClassNames } from '../../_util/statusUtils';\nimport enUS from '../locale/en_US';\nimport { getRangePlaceholder, transPlacement2DropdownAlign } from '../util';\nimport warning from '../../_util/warning';\nexport default function generateRangePicker(generateConfig) {\n var RangePicker = /*#__PURE__*/forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n customGetPopupContainer = props.getPopupContainer,\n className = props.className,\n placement = props.placement,\n customizeSize = props.size,\n customDisabled = props.disabled,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n placeholder = props.placeholder,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n customStatus = props.status,\n restProps = __rest(props, [\"prefixCls\", \"getPopupContainer\", \"className\", \"placement\", \"size\", \"disabled\", \"bordered\", \"placeholder\", \"popupClassName\", \"dropdownClassName\", \"status\"]);\n var innerRef = React.useRef(null);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction,\n getPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var format = props.format,\n showTime = props.showTime,\n picker = props.picker;\n var rootPrefixCls = getPrefixCls();\n var additionalOverrideProps = {};\n additionalOverrideProps = _extends(_extends(_extends({}, additionalOverrideProps), showTime ? getTimeProps(_extends({\n format: format,\n picker: picker\n }, showTime)) : {}), picker === 'time' ? getTimeProps(_extends(_extends({\n format: format\n }, props), {\n picker: picker\n })) : {});\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'RangePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== FormItemInput =====================\n var formItemContext = useContext(FormItemInputContext);\n var hasFeedback = formItemContext.hasFeedback,\n contextStatus = formItemContext.status,\n feedbackIcon = formItemContext.feedbackIcon;\n var suffixNode = /*#__PURE__*/React.createElement(React.Fragment, null, picker === 'time' ? /*#__PURE__*/React.createElement(ClockCircleOutlined, null) : /*#__PURE__*/React.createElement(CalendarOutlined, null), hasFeedback && feedbackIcon);\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n },\n blur: function blur() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n }\n };\n });\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"DatePicker\",\n defaultLocale: enUS\n }, function (contextLocale) {\n var _classNames;\n var locale = _extends(_extends({}, contextLocale), props.locale);\n return /*#__PURE__*/React.createElement(RCRangePicker, _extends({\n separator: /*#__PURE__*/React.createElement(\"span\", {\n \"aria-label\": \"to\",\n className: \"\".concat(prefixCls, \"-separator\")\n }, /*#__PURE__*/React.createElement(SwapRightOutlined, null)),\n disabled: mergedDisabled,\n ref: innerRef,\n dropdownClassName: popupClassName || dropdownClassName,\n dropdownAlign: transPlacement2DropdownAlign(direction, placement),\n placeholder: getRangePlaceholder(picker, locale, placeholder),\n suffixIcon: suffixNode,\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null),\n prevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prev-icon\")\n }),\n nextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-next-icon\")\n }),\n superPrevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-prev-icon\")\n }),\n superNextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-next-icon\")\n }),\n allowClear: true,\n transitionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n }, restProps, additionalOverrideProps, {\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _classNames), getStatusClassNames(prefixCls, getMergedStatus(contextStatus, customStatus), hasFeedback), compactItemClassnames, className),\n locale: locale.lang,\n prefixCls: prefixCls,\n getPopupContainer: customGetPopupContainer || getPopupContainer,\n generateConfig: generateConfig,\n components: Components,\n direction: direction\n }));\n });\n });\n return RangePicker;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CalendarOutlined from \"@ant-design/icons/es/icons/CalendarOutlined\";\nimport ClockCircleOutlined from \"@ant-design/icons/es/icons/ClockCircleOutlined\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport classNames from 'classnames';\nimport RCPicker from 'rc-picker';\nimport * as React from 'react';\nimport { forwardRef, useContext, useImperativeHandle } from 'react';\nimport { useCompactItemContext } from '../../space/Compact';\nimport { Components, getTimeProps } from '.';\nimport { ConfigContext } from '../../config-provider';\nimport DisabledContext from '../../config-provider/DisabledContext';\nimport SizeContext from '../../config-provider/SizeContext';\nimport { FormItemInputContext } from '../../form/context';\nimport LocaleReceiver from '../../locale-provider/LocaleReceiver';\nimport { getMergedStatus, getStatusClassNames } from '../../_util/statusUtils';\nimport warning from '../../_util/warning';\nimport enUS from '../locale/en_US';\nimport { getPlaceholder, transPlacement2DropdownAlign } from '../util';\nexport default function generatePicker(generateConfig) {\n function getPicker(picker, displayName) {\n var Picker = /*#__PURE__*/forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n customizeGetPopupContainer = props.getPopupContainer,\n className = props.className,\n customizeSize = props.size,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n placement = props.placement,\n placeholder = props.placeholder,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n customDisabled = props.disabled,\n customStatus = props.status,\n restProps = __rest(props, [\"prefixCls\", \"getPopupContainer\", \"className\", \"size\", \"bordered\", \"placement\", \"placeholder\", \"popupClassName\", \"dropdownClassName\", \"disabled\", \"status\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction,\n getPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var innerRef = React.useRef(null);\n var format = props.format,\n showTime = props.showTime;\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n },\n blur: function blur() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n }\n };\n });\n var additionalProps = {\n showToday: true\n };\n var additionalOverrideProps = {};\n if (picker) {\n additionalOverrideProps.picker = picker;\n }\n var mergedPicker = picker || props.picker;\n additionalOverrideProps = _extends(_extends(_extends({}, additionalOverrideProps), showTime ? getTimeProps(_extends({\n format: format,\n picker: mergedPicker\n }, showTime)) : {}), mergedPicker === 'time' ? getTimeProps(_extends(_extends({\n format: format\n }, props), {\n picker: mergedPicker\n })) : {});\n var rootPrefixCls = getPrefixCls();\n // =================== Warning =====================\n process.env.NODE_ENV !== \"production\" ? warning(picker !== 'quarter', displayName, \"DatePicker.\".concat(displayName, \" is legacy usage. Please use DatePicker[picker='\").concat(picker, \"'] directly.\")) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'DatePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== FormItemInput =====================\n var formItemContext = useContext(FormItemInputContext);\n var hasFeedback = formItemContext.hasFeedback,\n contextStatus = formItemContext.status,\n feedbackIcon = formItemContext.feedbackIcon;\n var suffixNode = /*#__PURE__*/React.createElement(React.Fragment, null, mergedPicker === 'time' ? /*#__PURE__*/React.createElement(ClockCircleOutlined, null) : /*#__PURE__*/React.createElement(CalendarOutlined, null), hasFeedback && feedbackIcon);\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"DatePicker\",\n defaultLocale: enUS\n }, function (contextLocale) {\n var _classNames;\n var locale = _extends(_extends({}, contextLocale), props.locale);\n return /*#__PURE__*/React.createElement(RCPicker, _extends({\n ref: innerRef,\n placeholder: getPlaceholder(mergedPicker, locale, placeholder),\n suffixIcon: suffixNode,\n dropdownAlign: transPlacement2DropdownAlign(direction, placement),\n dropdownClassName: popupClassName || dropdownClassName,\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null),\n prevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prev-icon\")\n }),\n nextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-next-icon\")\n }),\n superPrevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-prev-icon\")\n }),\n superNextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-next-icon\")\n }),\n allowClear: true,\n transitionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n }, additionalProps, restProps, additionalOverrideProps, {\n locale: locale.lang,\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _classNames), getStatusClassNames(prefixCls, getMergedStatus(contextStatus, customStatus), hasFeedback), compactItemClassnames, className),\n prefixCls: prefixCls,\n getPopupContainer: customizeGetPopupContainer || getPopupContainer,\n generateConfig: generateConfig,\n components: Components,\n direction: direction,\n disabled: mergedDisabled\n }));\n });\n });\n if (displayName) {\n Picker.displayName = displayName;\n }\n return Picker;\n }\n var DatePicker = getPicker();\n var WeekPicker = getPicker('week', 'WeekPicker');\n var MonthPicker = getPicker('month', 'MonthPicker');\n var YearPicker = getPicker('year', 'YearPicker');\n var TimePicker = getPicker('time', 'TimePicker');\n var QuarterPicker = getPicker('quarter', 'QuarterPicker');\n return {\n DatePicker: DatePicker,\n WeekPicker: WeekPicker,\n MonthPicker: MonthPicker,\n YearPicker: YearPicker,\n TimePicker: TimePicker,\n QuarterPicker: QuarterPicker\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { tuple } from '../../_util/type';\nimport PickerButton from '../PickerButton';\nimport PickerTag from '../PickerTag';\nimport generateRangePicker from './generateRangePicker';\nimport generateSinglePicker from './generateSinglePicker';\nexport var Components = {\n button: PickerButton,\n rangeItem: PickerTag\n};\nfunction toArray(list) {\n if (!list) {\n return [];\n }\n return Array.isArray(list) ? list : [list];\n}\nexport function getTimeProps(props) {\n var format = props.format,\n picker = props.picker,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n use12Hours = props.use12Hours;\n var firstFormat = toArray(format)[0];\n var showTimeObj = _extends({}, props);\n if (firstFormat && typeof firstFormat === 'string') {\n if (!firstFormat.includes('s') && showSecond === undefined) {\n showTimeObj.showSecond = false;\n }\n if (!firstFormat.includes('m') && showMinute === undefined) {\n showTimeObj.showMinute = false;\n }\n if (!firstFormat.includes('H') && !firstFormat.includes('h') && showHour === undefined) {\n showTimeObj.showHour = false;\n }\n if ((firstFormat.includes('a') || firstFormat.includes('A')) && use12Hours === undefined) {\n showTimeObj.use12Hours = true;\n }\n }\n if (picker === 'time') {\n return showTimeObj;\n }\n if (typeof firstFormat === 'function') {\n // format of showTime should use default when format is custom format function\n delete showTimeObj.format;\n }\n return {\n showTime: showTimeObj\n };\n}\nvar DataPickerPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight');\nfunction generatePicker(generateConfig) {\n // =========================== Picker ===========================\n var _generateSinglePicker = generateSinglePicker(generateConfig),\n DatePicker = _generateSinglePicker.DatePicker,\n WeekPicker = _generateSinglePicker.WeekPicker,\n MonthPicker = _generateSinglePicker.MonthPicker,\n YearPicker = _generateSinglePicker.YearPicker,\n TimePicker = _generateSinglePicker.TimePicker,\n QuarterPicker = _generateSinglePicker.QuarterPicker;\n // ======================== Range Picker ========================\n var RangePicker = generateRangePicker(generateConfig);\n var MergedDatePicker = DatePicker;\n MergedDatePicker.WeekPicker = WeekPicker;\n MergedDatePicker.MonthPicker = MonthPicker;\n MergedDatePicker.YearPicker = YearPicker;\n MergedDatePicker.RangePicker = RangePicker;\n MergedDatePicker.TimePicker = TimePicker;\n MergedDatePicker.QuarterPicker = QuarterPicker;\n return MergedDatePicker;\n}\nexport default generatePicker;","import momentGenerateConfig from \"rc-picker/es/generate/moment\";\nimport generatePicker from './generatePicker';\nvar DatePicker = generatePicker(momentGenerateConfig);\nexport default DatePicker;","var DescriptionsItem = function DescriptionsItem(_ref) {\n var children = _ref.children;\n return children;\n};\nexport default DescriptionsItem;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nvar Cell = function Cell(_ref) {\n var itemPrefixCls = _ref.itemPrefixCls,\n component = _ref.component,\n span = _ref.span,\n className = _ref.className,\n style = _ref.style,\n labelStyle = _ref.labelStyle,\n contentStyle = _ref.contentStyle,\n bordered = _ref.bordered,\n label = _ref.label,\n content = _ref.content,\n colon = _ref.colon;\n var Component = component;\n if (bordered) {\n var _classNames;\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(itemPrefixCls, \"-item-label\"), notEmpty(label)), _defineProperty(_classNames, \"\".concat(itemPrefixCls, \"-item-content\"), notEmpty(content)), _classNames), className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(\"\".concat(itemPrefixCls, \"-item\"), className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(itemPrefixCls, \"-item-container\")\n }, (label || label === 0) && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(itemPrefixCls, \"-item-label\"), _defineProperty({}, \"\".concat(itemPrefixCls, \"-item-no-colon\"), !colon)),\n style: labelStyle\n }, label), (content || content === 0) && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(itemPrefixCls, \"-item-content\")),\n style: contentStyle\n }, content)));\n};\nexport default Cell;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { DescriptionsContext } from '.';\nimport Cell from './Cell';\nfunction renderCells(items, _ref, _ref2) {\n var colon = _ref.colon,\n prefixCls = _ref.prefixCls,\n bordered = _ref.bordered;\n var component = _ref2.component,\n type = _ref2.type,\n showLabel = _ref2.showLabel,\n showContent = _ref2.showContent,\n rootLabelStyle = _ref2.labelStyle,\n rootContentStyle = _ref2.contentStyle;\n return items.map(function (_ref3, index) {\n var _ref3$props = _ref3.props,\n label = _ref3$props.label,\n children = _ref3$props.children,\n _ref3$props$prefixCls = _ref3$props.prefixCls,\n itemPrefixCls = _ref3$props$prefixCls === void 0 ? prefixCls : _ref3$props$prefixCls,\n className = _ref3$props.className,\n style = _ref3$props.style,\n labelStyle = _ref3$props.labelStyle,\n contentStyle = _ref3$props.contentStyle,\n _ref3$props$span = _ref3$props.span,\n span = _ref3$props$span === void 0 ? 1 : _ref3$props$span,\n key = _ref3.key;\n if (typeof component === 'string') {\n return /*#__PURE__*/React.createElement(Cell, {\n key: \"\".concat(type, \"-\").concat(key || index),\n className: className,\n style: style,\n labelStyle: _extends(_extends({}, rootLabelStyle), labelStyle),\n contentStyle: _extends(_extends({}, rootContentStyle), contentStyle),\n span: span,\n colon: colon,\n component: component,\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n label: showLabel ? label : null,\n content: showContent ? children : null\n });\n }\n return [/*#__PURE__*/React.createElement(Cell, {\n key: \"label-\".concat(key || index),\n className: className,\n style: _extends(_extends(_extends({}, rootLabelStyle), style), labelStyle),\n span: 1,\n colon: colon,\n component: component[0],\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n label: label\n }), /*#__PURE__*/React.createElement(Cell, {\n key: \"content-\".concat(key || index),\n className: className,\n style: _extends(_extends(_extends({}, rootContentStyle), style), contentStyle),\n span: span * 2 - 1,\n component: component[1],\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n content: children\n })];\n });\n}\nvar Row = function Row(props) {\n var descContext = React.useContext(DescriptionsContext);\n var prefixCls = props.prefixCls,\n vertical = props.vertical,\n row = props.row,\n index = props.index,\n bordered = props.bordered;\n if (vertical) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"tr\", {\n key: \"label-\".concat(index),\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: 'th',\n type: 'label',\n showLabel: true\n }, descContext))), /*#__PURE__*/React.createElement(\"tr\", {\n key: \"content-\".concat(index),\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: 'td',\n type: 'content',\n showContent: true\n }, descContext))));\n }\n return /*#__PURE__*/React.createElement(\"tr\", {\n key: index,\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: bordered ? ['th', 'td'] : 'td',\n type: 'item',\n showLabel: true,\n showContent: true\n }, descContext)));\n};\nexport default Row;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n/* eslint-disable react/no-array-index-key */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport DescriptionsItem from './Item';\nimport Row from './Row';\nexport var DescriptionsContext = /*#__PURE__*/React.createContext({});\nvar DEFAULT_COLUMN_MAP = {\n xxl: 3,\n xl: 3,\n lg: 3,\n md: 3,\n sm: 2,\n xs: 1\n};\nfunction getColumn(column, screens) {\n if (typeof column === 'number') {\n return column;\n }\n if (_typeof(column) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && column[breakpoint] !== undefined) {\n return column[breakpoint] || DEFAULT_COLUMN_MAP[breakpoint];\n }\n }\n }\n return 3;\n}\nfunction getFilledItem(node, span, rowRestCol) {\n var clone = node;\n if (span === undefined || span > rowRestCol) {\n clone = cloneElement(node, {\n span: rowRestCol\n });\n process.env.NODE_ENV !== \"production\" ? warning(span === undefined, 'Descriptions', 'Sum of column `span` in a line not match `column` of Descriptions.') : void 0;\n }\n return clone;\n}\nfunction getRows(children, column) {\n var childNodes = toArray(children).filter(function (n) {\n return n;\n });\n var rows = [];\n var tmpRow = [];\n var rowRestCol = column;\n childNodes.forEach(function (node, index) {\n var _a;\n var span = (_a = node.props) === null || _a === void 0 ? void 0 : _a.span;\n var mergedSpan = span || 1;\n // Additional handle last one\n if (index === childNodes.length - 1) {\n tmpRow.push(getFilledItem(node, span, rowRestCol));\n rows.push(tmpRow);\n return;\n }\n if (mergedSpan < rowRestCol) {\n rowRestCol -= mergedSpan;\n tmpRow.push(node);\n } else {\n tmpRow.push(getFilledItem(node, mergedSpan, rowRestCol));\n rows.push(tmpRow);\n rowRestCol = column;\n tmpRow = [];\n }\n });\n return rows;\n}\nfunction Descriptions(_ref) {\n var _classNames;\n var customizePrefixCls = _ref.prefixCls,\n title = _ref.title,\n extra = _ref.extra,\n _ref$column = _ref.column,\n column = _ref$column === void 0 ? DEFAULT_COLUMN_MAP : _ref$column,\n _ref$colon = _ref.colon,\n colon = _ref$colon === void 0 ? true : _ref$colon,\n bordered = _ref.bordered,\n layout = _ref.layout,\n children = _ref.children,\n className = _ref.className,\n style = _ref.style,\n size = _ref.size,\n labelStyle = _ref.labelStyle,\n contentStyle = _ref.contentStyle;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('descriptions', customizePrefixCls);\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n screens = _React$useState2[0],\n setScreens = _React$useState2[1];\n var mergedColumn = getColumn(column, screens);\n // Responsive\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (newScreens) {\n if (_typeof(column) !== 'object') {\n return;\n }\n setScreens(newScreens);\n });\n return function () {\n ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // Children\n var rows = getRows(children, mergedColumn);\n var contextValue = React.useMemo(function () {\n return {\n labelStyle: labelStyle,\n contentStyle: contentStyle\n };\n }, [labelStyle, contentStyle]);\n return /*#__PURE__*/React.createElement(DescriptionsContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), size && size !== 'default'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), !!bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className),\n style: style\n }, (title || extra) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, title), extra && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-view\")\n }, /*#__PURE__*/React.createElement(\"table\", null, /*#__PURE__*/React.createElement(\"tbody\", null, rows.map(function (row, index) {\n return /*#__PURE__*/React.createElement(Row, {\n key: index,\n index: index,\n colon: colon,\n prefixCls: prefixCls,\n vertical: layout === 'vertical',\n bordered: bordered,\n row: row\n });\n }))))));\n}\nDescriptions.Item = DescriptionsItem;\nexport default Descriptions;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nvar DrawerPanel = function DrawerPanel(props) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n children = props.children,\n containerRef = props.containerRef;\n // =============================== Render ===============================\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: _objectSpread({}, style),\n \"aria-modal\": \"true\",\n role: \"dialog\",\n ref: containerRef\n }, children));\n};\nif (process.env.NODE_ENV !== 'production') {\n DrawerPanel.displayName = 'DrawerPanel';\n}\nexport default DrawerPanel;","import * as React from 'react';\nvar DrawerContext = /*#__PURE__*/React.createContext(null);\nexport default DrawerContext;","import warning from \"rc-util/es/warning\";\nexport function parseWidthHeight(value) {\n if (typeof value === 'string' && String(Number(value)) === value) {\n warning(false, 'Invalid value type of `width` or `height` which should be number type instead.');\n return Number(value);\n }\n return value;\n}\nexport function warnCheck(props) {\n warning(!('wrapperClassName' in props), \"'wrapperClassName' is removed. Please use 'rootClassName' instead.\");\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport DrawerPanel from './DrawerPanel';\n// import type ScrollLocker from 'rc-util/lib/Dom/scrollLocker';\nimport DrawerContext from './context';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { parseWidthHeight } from './util';\nvar sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none',\n position: 'absolute'\n};\nexport default function DrawerPopup(props) {\n var _ref, _pushConfig$distance, _pushConfig, _classNames;\n var prefixCls = props.prefixCls,\n open = props.open,\n placement = props.placement,\n inline = props.inline,\n push = props.push,\n forceRender = props.forceRender,\n autoFocus = props.autoFocus,\n keyboard = props.keyboard,\n rootClassName = props.rootClassName,\n rootStyle = props.rootStyle,\n zIndex = props.zIndex,\n className = props.className,\n style = props.style,\n motion = props.motion,\n width = props.width,\n height = props.height,\n children = props.children,\n contentWrapperStyle = props.contentWrapperStyle,\n mask = props.mask,\n maskClosable = props.maskClosable,\n maskMotion = props.maskMotion,\n maskClassName = props.maskClassName,\n maskStyle = props.maskStyle,\n afterOpenChange = props.afterOpenChange,\n onClose = props.onClose;\n // ================================ Refs ================================\n var panelRef = React.useRef();\n var sentinelStartRef = React.useRef();\n var sentinelEndRef = React.useRef();\n var onPanelKeyDown = function onPanelKeyDown(event) {\n var keyCode = event.keyCode,\n shiftKey = event.shiftKey;\n switch (keyCode) {\n // Tab active\n case KeyCode.TAB:\n {\n if (keyCode === KeyCode.TAB) {\n if (!shiftKey && document.activeElement === sentinelEndRef.current) {\n var _sentinelStartRef$cur;\n (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({\n preventScroll: true\n });\n } else if (shiftKey && document.activeElement === sentinelStartRef.current) {\n var _sentinelEndRef$curre;\n (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({\n preventScroll: true\n });\n }\n }\n break;\n }\n // Close\n case KeyCode.ESC:\n {\n if (onClose && keyboard) {\n onClose(event);\n }\n break;\n }\n }\n };\n // ========================== Control ===========================\n // Auto Focus\n React.useEffect(function () {\n if (open && autoFocus) {\n var _panelRef$current;\n (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({\n preventScroll: true\n });\n }\n }, [open, autoFocus]);\n // ============================ Push ============================\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n pushed = _React$useState2[0],\n setPushed = _React$useState2[1];\n var parentContext = React.useContext(DrawerContext);\n // Merge push distance\n var pushConfig;\n if (push === false) {\n pushConfig = {\n distance: 0\n };\n } else if (push === true) {\n pushConfig = {};\n } else {\n pushConfig = push || {};\n }\n var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180;\n var mergedContext = React.useMemo(function () {\n return {\n pushDistance: pushDistance,\n push: function push() {\n setPushed(true);\n },\n pull: function pull() {\n setPushed(false);\n }\n };\n }, [pushDistance]);\n // ========================= ScrollLock =========================\n // Tell parent to push\n React.useEffect(function () {\n if (open) {\n var _parentContext$push;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext);\n } else {\n var _parentContext$pull;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext);\n }\n }, [open]);\n // Clean up\n React.useEffect(function () {\n return function () {\n var _parentContext$pull2;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext);\n };\n }, []);\n // ============================ Mask ============================\n var maskNode = mask && /*#__PURE__*/React.createElement(CSSMotion, _extends({\n key: \"mask\"\n }, maskMotion, {\n visible: open\n }), function (_ref2, maskRef) {\n var motionMaskClassName = _ref2.className,\n motionMaskStyle = _ref2.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-mask\"), motionMaskClassName, maskClassName),\n style: _objectSpread(_objectSpread({}, motionMaskStyle), maskStyle),\n onClick: maskClosable ? onClose : undefined,\n ref: maskRef\n });\n });\n // =========================== Panel ============================\n var motionProps = typeof motion === 'function' ? motion(placement) : motion;\n var wrapperStyle = {};\n if (pushed && pushDistance) {\n switch (placement) {\n case 'top':\n wrapperStyle.transform = \"translateY(\".concat(pushDistance, \"px)\");\n break;\n case 'bottom':\n wrapperStyle.transform = \"translateY(\".concat(-pushDistance, \"px)\");\n break;\n case 'left':\n wrapperStyle.transform = \"translateX(\".concat(pushDistance, \"px)\");\n break;\n default:\n wrapperStyle.transform = \"translateX(\".concat(-pushDistance, \"px)\");\n break;\n }\n }\n if (placement === 'left' || placement === 'right') {\n wrapperStyle.width = parseWidthHeight(width);\n } else {\n wrapperStyle.height = parseWidthHeight(height);\n }\n var panelNode = /*#__PURE__*/React.createElement(CSSMotion, _extends({\n key: \"panel\"\n }, motionProps, {\n visible: open,\n forceRender: forceRender,\n onVisibleChanged: function onVisibleChanged(nextVisible) {\n afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible);\n },\n removeOnLeave: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-wrapper-hidden\")\n }), function (_ref3, motionRef) {\n var motionClassName = _ref3.className,\n motionStyle = _ref3.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content-wrapper\"), motionClassName),\n style: _objectSpread(_objectSpread(_objectSpread({}, wrapperStyle), motionStyle), contentWrapperStyle)\n }, /*#__PURE__*/React.createElement(DrawerPanel, {\n containerRef: motionRef,\n prefixCls: prefixCls,\n className: className,\n style: style\n }, children));\n });\n // =========================== Render ===========================\n var containerStyle = _objectSpread({}, rootStyle);\n if (zIndex) {\n containerStyle.zIndex = zIndex;\n }\n return /*#__PURE__*/React.createElement(DrawerContext.Provider, {\n value: mergedContext\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(placement), rootClassName, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-open\"), open), _defineProperty(_classNames, \"\".concat(prefixCls, \"-inline\"), inline), _classNames)),\n style: containerStyle,\n tabIndex: -1,\n ref: panelRef,\n onKeyDown: onPanelKeyDown\n }, maskNode, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStartRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\",\n \"data-sentinel\": \"start\"\n }), panelNode, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\",\n \"data-sentinel\": \"end\"\n })));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport DrawerPopup from './DrawerPopup';\nimport { warnCheck } from './util';\nvar Drawer = function Drawer(props) {\n var open = props.open,\n getContainer = props.getContainer,\n forceRender = props.forceRender,\n prefixCls = props.prefixCls,\n afterOpenChange = props.afterOpenChange,\n destroyOnClose = props.destroyOnClose,\n mask = props.mask;\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n // ============================= Warn =============================\n if (process.env.NODE_ENV !== 'production') {\n warnCheck(props);\n }\n // ============================= Open =============================\n var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) {\n setAnimatedVisible(nextVisible);\n afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible);\n };\n // ============================ Render ============================\n if (!forceRender && !animatedVisible && !open && destroyOnClose) {\n return null;\n }\n var sharedDrawerProps = _objectSpread(_objectSpread({}, props), {}, {\n prefixCls: prefixCls,\n afterOpenChange: internalAfterOpenChange\n });\n return /*#__PURE__*/React.createElement(Portal, {\n open: open || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: mask && (open || animatedVisible)\n }, /*#__PURE__*/React.createElement(DrawerPopup, _extends({}, sharedDrawerProps, {\n inline: getContainer === false\n })));\n};\n// Default Value.\n// Since spread with default value will make this all over components.\n// Let's maintain this in one place.\nDrawer.defaultProps = {\n open: false,\n prefixCls: 'rc-drawer',\n placement: 'right',\n autoFocus: true,\n keyboard: true,\n width: 378,\n mask: true,\n maskClosable: true\n};\nif (process.env.NODE_ENV !== 'production') {\n Drawer.displayName = 'Drawer';\n}\nexport default Drawer;","// export this package's api\nimport Drawer from './Drawer';\nexport default Drawer;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport RcDrawer from 'rc-drawer';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { NoFormStyle } from '../form/context';\nimport { getTransitionName } from '../_util/motion';\nimport { tuple } from '../_util/type';\nimport warning from '../_util/warning';\nvar SizeTypes = tuple('default', 'large');\nvar defaultPushState = {\n distance: 180\n};\nfunction Drawer(props) {\n var width = props.width,\n height = props.height,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n _props$closable = props.closable,\n closable = _props$closable === void 0 ? true : _props$closable,\n _props$mask = props.mask,\n mask = _props$mask === void 0 ? true : _props$mask,\n _props$push = props.push,\n push = _props$push === void 0 ? defaultPushState : _props$push,\n _props$closeIcon = props.closeIcon,\n closeIcon = _props$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined, null) : _props$closeIcon,\n bodyStyle = props.bodyStyle,\n drawerStyle = props.drawerStyle,\n className = props.className,\n visible = props.visible,\n open = props.open,\n children = props.children,\n style = props.style,\n title = props.title,\n headerStyle = props.headerStyle,\n onClose = props.onClose,\n footer = props.footer,\n footerStyle = props.footerStyle,\n customizePrefixCls = props.prefixCls,\n customizeGetContainer = props.getContainer,\n extra = props.extra,\n afterVisibleChange = props.afterVisibleChange,\n _afterOpenChange = props.afterOpenChange,\n rest = __rest(props, [\"width\", \"height\", \"size\", \"closable\", \"mask\", \"push\", \"closeIcon\", \"bodyStyle\", \"drawerStyle\", \"className\", \"visible\", \"open\", \"children\", \"style\", \"title\", \"headerStyle\", \"onClose\", \"footer\", \"footerStyle\", \"prefixCls\", \"getContainer\", \"extra\", \"afterVisibleChange\", \"afterOpenChange\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('drawer', customizePrefixCls);\n var getContainer =\n // 有可能为 false,所以不能直接判断\n customizeGetContainer === undefined && getPopupContainer ? function () {\n return getPopupContainer(document.body);\n } : customizeGetContainer;\n var closeIconNode = closable && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\",\n className: \"\".concat(prefixCls, \"-close\")\n }, closeIcon);\n [['visible', 'open'], ['afterVisibleChange', 'afterOpenChange']].forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n deprecatedName = _ref2[0],\n newName = _ref2[1];\n process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Drawer', \"`\".concat(deprecatedName, \"` is deprecated which will be removed in next major version, please use `\").concat(newName, \"` instead.\")) : void 0;\n });\n function renderHeader() {\n if (!title && !closable) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-header\"), _defineProperty({}, \"\".concat(prefixCls, \"-header-close-only\"), closable && !title && !extra)),\n style: headerStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header-title\")\n }, closeIconNode, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, title)), extra && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra));\n }\n function renderFooter() {\n if (!footer) {\n return null;\n }\n var footerClassName = \"\".concat(prefixCls, \"-footer\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: footerClassName,\n style: footerStyle\n }, footer);\n }\n var drawerClassName = classNames(_defineProperty({\n 'no-mask': !mask\n }, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n // ============================ Size ============================\n var mergedWidth = React.useMemo(function () {\n return width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378;\n }, [width, size]);\n var mergedHeight = React.useMemo(function () {\n return height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378;\n }, [height, size]);\n // =========================== Motion ===========================\n var maskMotion = {\n motionName: getTransitionName(prefixCls, 'mask-motion'),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500\n };\n var panelMotion = function panelMotion(motionPlacement) {\n return {\n motionName: getTransitionName(prefixCls, \"panel-motion-\".concat(motionPlacement)),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500\n };\n };\n // =========================== Render ===========================\n return /*#__PURE__*/React.createElement(NoFormStyle, {\n status: true,\n override: true\n }, /*#__PURE__*/React.createElement(RcDrawer, _extends({\n prefixCls: prefixCls,\n onClose: onClose\n }, rest, {\n open: open || visible,\n mask: mask,\n push: push,\n width: mergedWidth,\n height: mergedHeight,\n rootClassName: drawerClassName,\n getContainer: getContainer,\n afterOpenChange: function afterOpenChange(isOpen) {\n _afterOpenChange === null || _afterOpenChange === void 0 ? void 0 : _afterOpenChange(isOpen);\n afterVisibleChange === null || afterVisibleChange === void 0 ? void 0 : afterVisibleChange(isOpen);\n },\n maskMotion: maskMotion,\n motion: panelMotion,\n rootStyle: style\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-wrapper-body\"),\n style: _extends({}, drawerStyle)\n }, renderHeader(), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body\"),\n style: bodyStyle\n }, children), renderFooter())));\n}\nif (process.env.NODE_ENV !== 'production') {\n Drawer.displayName = 'Drawer';\n}\nexport default Drawer;","import Col from './col';\nimport useInternalBreakpoint from './hooks/useBreakpoint';\nimport Row from './row';\n// Do not export params\nfunction useBreakpoint() {\n return useInternalBreakpoint();\n}\nexport { Row, Col };\nexport default {\n useBreakpoint: useBreakpoint\n};","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default function useFrameSetState(initial) {\n var frame = React.useRef(null);\n\n var _React$useState = React.useState(initial),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n state = _React$useState2[0],\n setState = _React$useState2[1];\n\n var queue = React.useRef([]);\n\n var setFrameState = function setFrameState(newState) {\n if (frame.current === null) {\n queue.current = [];\n frame.current = raf(function () {\n setState(function (preState) {\n var memoState = preState;\n queue.current.forEach(function (queueState) {\n memoState = _objectSpread(_objectSpread({}, memoState), queueState);\n });\n frame.current = null;\n return memoState;\n });\n });\n }\n\n queue.current.push(newState);\n };\n\n React.useEffect(function () {\n return function () {\n return frame.current && raf.cancel(frame.current);\n };\n }, []);\n return [state, setFrameState];\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { getClientSize } from \"rc-util/es/Dom/css\";\n\nfunction fixPoint(key, start, width, clientWidth) {\n var startAddWidth = start + width;\n var offsetStart = (width - clientWidth) / 2;\n\n if (width > clientWidth) {\n if (start > 0) {\n return _defineProperty({}, key, offsetStart);\n }\n\n if (start < 0 && startAddWidth < clientWidth) {\n return _defineProperty({}, key, -offsetStart);\n }\n } else if (start < 0 || startAddWidth > clientWidth) {\n return _defineProperty({}, key, start < 0 ? offsetStart : -offsetStart);\n }\n\n return {};\n}\n/**\n * Fix positon x,y point when\n *\n * Ele width && height < client\n * - Back origin\n *\n * - Ele width | height > clientWidth | clientHeight\n * - left | top > 0 -> Back 0\n * - left | top + width | height < clientWidth | clientHeight -> Back left | top + width | height === clientWidth | clientHeight\n *\n * Regardless of other\n */\n\n\nexport default function getFixScaleEleTransPosition(width, height, left, top) {\n var _getClientSize = getClientSize(),\n clientWidth = _getClientSize.width,\n clientHeight = _getClientSize.height;\n\n var fixPos = null;\n\n if (width <= clientWidth && height <= clientHeight) {\n fixPos = {\n x: 0,\n y: 0\n };\n } else if (width > clientWidth || height > clientHeight) {\n fixPos = _objectSpread(_objectSpread({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));\n }\n\n return fixPos;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"visible\", \"onVisibleChange\", \"getContainer\", \"current\", \"countRender\"];\nimport * as React from 'react';\nimport { useState } from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from \"./Preview\";\n\n/* istanbul ignore next */\nexport var context = /*#__PURE__*/React.createContext({\n previewUrls: new Map(),\n setPreviewUrls: function setPreviewUrls() {\n return null;\n },\n current: null,\n setCurrent: function setCurrent() {\n return null;\n },\n setShowPreview: function setShowPreview() {\n return null;\n },\n setMousePosition: function setMousePosition() {\n return null;\n },\n registerImage: function registerImage() {\n return function () {\n return null;\n };\n },\n rootClassName: ''\n});\nvar Provider = context.Provider;\n\nvar Group = function Group(_ref) {\n var _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? 'rc-image-preview' : _ref$previewPrefixCls,\n children = _ref.children,\n _ref$icons = _ref.icons,\n icons = _ref$icons === void 0 ? {} : _ref$icons,\n preview = _ref.preview;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? undefined : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n _ref2$current = _ref2.current,\n currentIndex = _ref2$current === void 0 ? 0 : _ref2$current,\n _ref2$countRender = _ref2.countRender,\n countRender = _ref2$countRender === void 0 ? undefined : _ref2$countRender,\n dialogProps = _objectWithoutProperties(_ref2, _excluded);\n\n var _useState = useState(new Map()),\n _useState2 = _slicedToArray(_useState, 2),\n previewUrls = _useState2[0],\n setPreviewUrls = _useState2[1];\n\n var _useState3 = useState(),\n _useState4 = _slicedToArray(_useState3, 2),\n current = _useState4[0],\n setCurrent = _useState4[1];\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n mousePosition = _useState6[0],\n setMousePosition = _useState6[1];\n\n var isControlled = previewVisible !== undefined;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentControlledKey = previewUrlsKeys[currentIndex];\n var canPreviewUrls = new Map(Array.from(previewUrls).filter(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n canPreview = _ref4[1].canPreview;\n\n return !!canPreview;\n }).map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n id = _ref6[0],\n url = _ref6[1].url;\n\n return [id, url];\n }));\n\n var registerImage = function registerImage(id, url) {\n var canPreview = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n var unRegister = function unRegister() {\n setPreviewUrls(function (oldPreviewUrls) {\n var clonePreviewUrls = new Map(oldPreviewUrls);\n var deleteResult = clonePreviewUrls.delete(id);\n return deleteResult ? clonePreviewUrls : oldPreviewUrls;\n });\n };\n\n setPreviewUrls(function (oldPreviewUrls) {\n return new Map(oldPreviewUrls).set(id, {\n url: url,\n canPreview: canPreview\n });\n });\n return unRegister;\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n setMousePosition(null);\n };\n\n React.useEffect(function () {\n setCurrent(currentControlledKey);\n }, [currentControlledKey]);\n React.useEffect(function () {\n if (!isShowPreview && isControlled) {\n setCurrent(currentControlledKey);\n }\n }, [currentControlledKey, isControlled, isShowPreview]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: {\n isPreviewGroup: true,\n previewUrls: canPreviewUrls,\n setPreviewUrls: setPreviewUrls,\n current: current,\n setCurrent: setCurrent,\n setShowPreview: setShowPreview,\n setMousePosition: setMousePosition,\n registerImage: registerImage\n }\n }, children, /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: canPreviewUrls.get(current),\n icons: icons,\n getContainer: getContainer,\n countRender: countRender\n }, dialogProps)));\n};\n\nexport default Group;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"src\", \"alt\", \"onClose\", \"afterClose\", \"visible\", \"icons\", \"rootClassName\", \"getContainer\", \"countRender\", \"scaleStep\", \"transitionName\", \"maskTransitionName\"];\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport Dialog from 'rc-dialog';\nimport CSSMotion from 'rc-motion';\nimport classnames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { warning } from \"rc-util/es/warning\";\nimport useFrameSetState from \"./hooks/useFrameSetState\";\nimport getFixScaleEleTransPosition from \"./getFixScaleEleTransPosition\";\nimport { context } from \"./PreviewGroup\";\nvar useState = React.useState,\n useEffect = React.useEffect,\n useCallback = React.useCallback,\n useRef = React.useRef,\n useContext = React.useContext;\nvar initialPosition = {\n x: 0,\n y: 0\n};\n\nvar Preview = function Preview(props) {\n var _countRender;\n\n var prefixCls = props.prefixCls,\n src = props.src,\n alt = props.alt,\n onClose = props.onClose,\n afterClose = props.afterClose,\n visible = props.visible,\n _props$icons = props.icons,\n icons = _props$icons === void 0 ? {} : _props$icons,\n rootClassName = props.rootClassName,\n getContainer = props.getContainer,\n countRender = props.countRender,\n _props$scaleStep = props.scaleStep,\n scaleStep = _props$scaleStep === void 0 ? 0.5 : _props$scaleStep,\n _props$transitionName = props.transitionName,\n transitionName = _props$transitionName === void 0 ? 'zoom' : _props$transitionName,\n _props$maskTransition = props.maskTransitionName,\n maskTransitionName = _props$maskTransition === void 0 ? 'fade' : _props$maskTransition,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var rotateLeft = icons.rotateLeft,\n rotateRight = icons.rotateRight,\n zoomIn = icons.zoomIn,\n zoomOut = icons.zoomOut,\n close = icons.close,\n left = icons.left,\n right = icons.right;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n scale = _useState2[0],\n setScale = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n rotate = _useState4[0],\n setRotate = _useState4[1];\n\n var _useFrameSetState = useFrameSetState(initialPosition),\n _useFrameSetState2 = _slicedToArray(_useFrameSetState, 2),\n position = _useFrameSetState2[0],\n setPosition = _useFrameSetState2[1];\n\n var imgRef = useRef();\n var originPositionRef = useRef({\n originX: 0,\n originY: 0,\n deltaX: 0,\n deltaY: 0\n });\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n isMoving = _useState6[0],\n setMoving = _useState6[1];\n\n var _useContext = useContext(context),\n previewUrls = _useContext.previewUrls,\n current = _useContext.current,\n isPreviewGroup = _useContext.isPreviewGroup,\n setCurrent = _useContext.setCurrent;\n\n var previewGroupCount = previewUrls.size;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentPreviewIndex = previewUrlsKeys.indexOf(current);\n var combinationSrc = isPreviewGroup ? previewUrls.get(current) : src;\n var showLeftOrRightSwitches = isPreviewGroup && previewGroupCount > 1;\n var showOperationsProgress = isPreviewGroup && previewGroupCount >= 1;\n\n var _useState7 = useState({\n wheelDirection: 0\n }),\n _useState8 = _slicedToArray(_useState7, 2),\n lastWheelZoomDirection = _useState8[0],\n setLastWheelZoomDirection = _useState8[1];\n\n var onAfterClose = function onAfterClose() {\n setScale(1);\n setRotate(0);\n setPosition(initialPosition);\n };\n\n var onZoomIn = function onZoomIn() {\n setScale(function (value) {\n return value + scaleStep;\n });\n setPosition(initialPosition);\n };\n\n var onZoomOut = function onZoomOut() {\n if (scale > 1) {\n setScale(function (value) {\n return value - scaleStep;\n });\n }\n\n setPosition(initialPosition);\n };\n\n var onRotateRight = function onRotateRight() {\n setRotate(function (value) {\n return value + 90;\n });\n };\n\n var onRotateLeft = function onRotateLeft() {\n setRotate(function (value) {\n return value - 90;\n });\n };\n\n var onSwitchLeft = function onSwitchLeft(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n };\n\n var onSwitchRight = function onSwitchRight(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n };\n\n var wrapClassName = classnames(_defineProperty({}, \"\".concat(prefixCls, \"-moving\"), isMoving));\n var toolClassName = \"\".concat(prefixCls, \"-operations-operation\");\n var iconClassName = \"\".concat(prefixCls, \"-operations-icon\");\n var tools = [{\n icon: close,\n onClick: onClose,\n type: 'close'\n }, {\n icon: zoomIn,\n onClick: onZoomIn,\n type: 'zoomIn'\n }, {\n icon: zoomOut,\n onClick: onZoomOut,\n type: 'zoomOut',\n disabled: scale === 1\n }, {\n icon: rotateRight,\n onClick: onRotateRight,\n type: 'rotateRight'\n }, {\n icon: rotateLeft,\n onClick: onRotateLeft,\n type: 'rotateLeft'\n }];\n\n var onMouseUp = function onMouseUp() {\n if (visible && isMoving) {\n var width = imgRef.current.offsetWidth * scale;\n var height = imgRef.current.offsetHeight * scale; // eslint-disable-next-line @typescript-eslint/no-shadow\n\n var _imgRef$current$getBo = imgRef.current.getBoundingClientRect(),\n _left = _imgRef$current$getBo.left,\n top = _imgRef$current$getBo.top;\n\n var isRotate = rotate % 180 !== 0;\n setMoving(false);\n var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, _left, top);\n\n if (fixState) {\n setPosition(_objectSpread({}, fixState));\n }\n }\n };\n\n var onMouseDown = function onMouseDown(event) {\n // Only allow main button\n if (event.button !== 0) return;\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n originPositionRef.current.deltaX = event.pageX - position.x;\n originPositionRef.current.deltaY = event.pageY - position.y;\n originPositionRef.current.originX = position.x;\n originPositionRef.current.originY = position.y;\n setMoving(true);\n };\n\n var onMouseMove = function onMouseMove(event) {\n if (visible && isMoving) {\n setPosition({\n x: event.pageX - originPositionRef.current.deltaX,\n y: event.pageY - originPositionRef.current.deltaY\n });\n }\n };\n\n var onWheelMove = function onWheelMove(event) {\n if (!visible) return;\n event.preventDefault();\n var wheelDirection = event.deltaY;\n setLastWheelZoomDirection({\n wheelDirection: wheelDirection\n });\n };\n\n var onKeyDown = useCallback(function (event) {\n if (!visible || !showLeftOrRightSwitches) return;\n\n if (event.keyCode === KeyCode.LEFT) {\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n } else if (event.keyCode === KeyCode.RIGHT) {\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n }\n }, [currentPreviewIndex, previewGroupCount, previewUrlsKeys, setCurrent, showLeftOrRightSwitches, visible]);\n\n var onDoubleClick = function onDoubleClick() {\n if (visible) {\n if (scale !== 1) {\n setScale(1);\n }\n\n if (position.x !== initialPosition.x || position.y !== initialPosition.y) {\n setPosition(initialPosition);\n }\n }\n };\n\n useEffect(function () {\n var wheelDirection = lastWheelZoomDirection.wheelDirection;\n\n if (wheelDirection > 0) {\n onZoomOut();\n } else if (wheelDirection < 0) {\n onZoomIn();\n }\n }, [lastWheelZoomDirection]);\n useEffect(function () {\n var onTopMouseUpListener;\n var onTopMouseMoveListener;\n var onMouseUpListener = addEventListener(window, 'mouseup', onMouseUp, false);\n var onMouseMoveListener = addEventListener(window, 'mousemove', onMouseMove, false);\n var onScrollWheelListener = addEventListener(window, 'wheel', onWheelMove, {\n passive: false\n });\n var onKeyDownListener = addEventListener(window, 'keydown', onKeyDown, false);\n\n try {\n // Resolve if in iframe lost event\n\n /* istanbul ignore next */\n if (window.top !== window.self) {\n onTopMouseUpListener = addEventListener(window.top, 'mouseup', onMouseUp, false);\n onTopMouseMoveListener = addEventListener(window.top, 'mousemove', onMouseMove, false);\n }\n } catch (error) {\n /* istanbul ignore next */\n warning(false, \"[rc-image] \".concat(error));\n }\n\n return function () {\n var _onTopMouseUpListener, _onTopMouseMoveListen;\n\n onMouseUpListener.remove();\n onMouseMoveListener.remove();\n onScrollWheelListener.remove();\n onKeyDownListener.remove();\n /* istanbul ignore next */\n\n (_onTopMouseUpListener = onTopMouseUpListener) === null || _onTopMouseUpListener === void 0 ? void 0 : _onTopMouseUpListener.remove();\n /* istanbul ignore next */\n\n (_onTopMouseMoveListen = onTopMouseMoveListener) === null || _onTopMouseMoveListen === void 0 ? void 0 : _onTopMouseMoveListen.remove();\n };\n }, [visible, isMoving, onKeyDown]);\n var operations = /*#__PURE__*/React.createElement(React.Fragment, null, showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-left\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-left-disabled\"), currentPreviewIndex === 0)),\n onClick: onSwitchLeft\n }, left), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-right\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-right-disabled\"), currentPreviewIndex === previewGroupCount - 1)),\n onClick: onSwitchRight\n }, right), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-operations\")\n }, showOperationsProgress && /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-operations-progress\")\n }, (_countRender = countRender === null || countRender === void 0 ? void 0 : countRender(currentPreviewIndex + 1, previewGroupCount)) !== null && _countRender !== void 0 ? _countRender : \"\".concat(currentPreviewIndex + 1, \" / \").concat(previewGroupCount)), tools.map(function (_ref) {\n var _classnames4;\n\n var icon = _ref.icon,\n onClick = _ref.onClick,\n type = _ref.type,\n disabled = _ref.disabled;\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classnames(toolClassName, (_classnames4 = {}, _defineProperty(_classnames4, \"\".concat(prefixCls, \"-operations-operation-\").concat(type), true), _defineProperty(_classnames4, \"\".concat(prefixCls, \"-operations-operation-disabled\"), !!disabled), _classnames4)),\n onClick: onClick,\n key: type\n }, /*#__PURE__*/React.isValidElement(icon) ? /*#__PURE__*/React.cloneElement(icon, {\n className: iconClassName\n }) : icon);\n })));\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog, _extends({\n transitionName: transitionName,\n maskTransitionName: maskTransitionName,\n closable: false,\n keyboard: true,\n prefixCls: prefixCls,\n onClose: onClose,\n afterClose: onAfterClose,\n visible: visible,\n wrapClassName: wrapClassName,\n rootClassName: rootClassName,\n getContainer: getContainer\n }, restProps), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-img-wrapper\"),\n style: {\n transform: \"translate3d(\".concat(position.x, \"px, \").concat(position.y, \"px, 0)\")\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n width: props.width,\n height: props.height,\n onMouseDown: onMouseDown,\n onDoubleClick: onDoubleClick,\n ref: imgRef,\n className: \"\".concat(prefixCls, \"-img\"),\n src: combinationSrc,\n alt: alt,\n style: {\n transform: \"scale3d(\".concat(scale, \", \").concat(scale, \", 1) rotate(\").concat(rotate, \"deg)\")\n }\n }))), /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n motionName: maskTransitionName\n }, function (_ref2) {\n var className = _ref2.className,\n style = _ref2.style;\n return /*#__PURE__*/React.createElement(Portal, {\n open: true,\n getContainer: getContainer !== null && getContainer !== void 0 ? getContainer : document.body\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-operations-wrapper\"), className, rootClassName),\n style: style\n }, operations));\n }));\n};\n\nexport default Preview;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"src\", \"alt\", \"onPreviewClose\", \"prefixCls\", \"previewPrefixCls\", \"placeholder\", \"fallback\", \"width\", \"height\", \"style\", \"preview\", \"className\", \"onClick\", \"onError\", \"wrapperClassName\", \"wrapperStyle\", \"rootClassName\", \"crossOrigin\", \"decoding\", \"loading\", \"referrerPolicy\", \"sizes\", \"srcSet\", \"useMap\", \"draggable\"],\n _excluded2 = [\"src\", \"visible\", \"onVisibleChange\", \"getContainer\", \"mask\", \"maskClassName\", \"icons\", \"scaleStep\"];\nimport * as React from 'react';\nimport { useState } from 'react';\nimport cn from 'classnames';\nimport { getOffset } from \"rc-util/es/Dom/css\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from \"./Preview\";\nimport PreviewGroup, { context } from \"./PreviewGroup\";\nvar uuid = 0;\n\nvar ImageInternal = function ImageInternal(_ref) {\n var _imgCommonProps$style;\n\n var imgSrc = _ref.src,\n alt = _ref.alt,\n onInitialPreviewClose = _ref.onPreviewClose,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-image' : _ref$prefixCls,\n _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? \"\".concat(prefixCls, \"-preview\") : _ref$previewPrefixCls,\n placeholder = _ref.placeholder,\n fallback = _ref.fallback,\n width = _ref.width,\n height = _ref.height,\n style = _ref.style,\n _ref$preview = _ref.preview,\n preview = _ref$preview === void 0 ? true : _ref$preview,\n className = _ref.className,\n onClick = _ref.onClick,\n onImageError = _ref.onError,\n wrapperClassName = _ref.wrapperClassName,\n wrapperStyle = _ref.wrapperStyle,\n rootClassName = _ref.rootClassName,\n crossOrigin = _ref.crossOrigin,\n decoding = _ref.decoding,\n loading = _ref.loading,\n referrerPolicy = _ref.referrerPolicy,\n sizes = _ref.sizes,\n srcSet = _ref.srcSet,\n useMap = _ref.useMap,\n draggable = _ref.draggable,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n var isCustomPlaceholder = placeholder && placeholder !== true;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n previewSrc = _ref2.src,\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? onInitialPreviewClose : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getPreviewContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n previewMask = _ref2.mask,\n maskClassName = _ref2.maskClassName,\n icons = _ref2.icons,\n scaleStep = _ref2.scaleStep,\n dialogProps = _objectWithoutProperties(_ref2, _excluded2);\n\n var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc;\n var isControlled = previewVisible !== undefined;\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState = useState(isCustomPlaceholder ? 'loading' : 'normal'),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setStatus = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n mousePosition = _useState4[0],\n setMousePosition = _useState4[1];\n\n var isError = status === 'error';\n\n var _React$useContext = React.useContext(context),\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent,\n setGroupShowPreview = _React$useContext.setShowPreview,\n setGroupMousePosition = _React$useContext.setMousePosition,\n registerImage = _React$useContext.registerImage;\n\n var _React$useState = React.useState(function () {\n uuid += 1;\n return uuid;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n currentId = _React$useState2[0];\n\n var canPreview = !!preview;\n var isLoaded = React.useRef(false);\n\n var onLoad = function onLoad() {\n setStatus('normal');\n };\n\n var onError = function onError(e) {\n if (onImageError) {\n onImageError(e);\n }\n\n setStatus('error');\n };\n\n var onPreview = function onPreview(e) {\n if (!isControlled) {\n var _getOffset = getOffset(e.target),\n left = _getOffset.left,\n top = _getOffset.top;\n\n if (isPreviewGroup) {\n setCurrent(currentId);\n setGroupMousePosition({\n x: left,\n y: top\n });\n } else {\n setMousePosition({\n x: left,\n y: top\n });\n }\n }\n\n if (isPreviewGroup) {\n setGroupShowPreview(true);\n } else {\n setShowPreview(true);\n }\n\n if (onClick) onClick(e);\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n\n if (!isControlled) {\n setMousePosition(null);\n }\n };\n\n var getImgRef = function getImgRef(img) {\n isLoaded.current = false;\n if (status !== 'loading') return;\n\n if (img !== null && img !== void 0 && img.complete && (img.naturalWidth || img.naturalHeight)) {\n isLoaded.current = true;\n onLoad();\n }\n }; // Keep order start\n // Resolve https://github.com/ant-design/ant-design/issues/28881\n // Only need unRegister when component unMount\n\n\n React.useEffect(function () {\n var unRegister = registerImage(currentId, src);\n return unRegister;\n }, []);\n React.useEffect(function () {\n registerImage(currentId, src, canPreview);\n }, [src, canPreview]); // Keep order end\n\n React.useEffect(function () {\n if (isError) {\n setStatus('normal');\n }\n\n if (isCustomPlaceholder && !isLoaded.current) {\n setStatus('loading');\n }\n }, [imgSrc]);\n var wrapperClass = cn(prefixCls, wrapperClassName, rootClassName, _defineProperty({}, \"\".concat(prefixCls, \"-error\"), isError));\n var mergedSrc = isError && fallback ? fallback : src;\n var imgCommonProps = {\n crossOrigin: crossOrigin,\n decoding: decoding,\n draggable: draggable,\n loading: loading,\n referrerPolicy: referrerPolicy,\n sizes: sizes,\n srcSet: srcSet,\n useMap: useMap,\n alt: alt,\n className: cn(\"\".concat(prefixCls, \"-img\"), _defineProperty({}, \"\".concat(prefixCls, \"-img-placeholder\"), placeholder === true), className),\n style: _objectSpread({\n height: height\n }, style)\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: wrapperClass,\n onClick: canPreview ? onPreview : onClick,\n style: _objectSpread({\n width: width,\n height: height\n }, wrapperStyle)\n }), /*#__PURE__*/React.createElement(\"img\", _extends({}, imgCommonProps, {\n ref: getImgRef\n }, isError && fallback ? {\n src: fallback\n } : {\n onLoad: onLoad,\n onError: onError,\n src: imgSrc\n }, {\n width: width,\n height: height\n })), status === 'loading' && /*#__PURE__*/React.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: \"\".concat(prefixCls, \"-placeholder\")\n }, placeholder), previewMask && canPreview && /*#__PURE__*/React.createElement(\"div\", {\n className: cn(\"\".concat(prefixCls, \"-mask\"), maskClassName),\n style: {\n display: ((_imgCommonProps$style = imgCommonProps.style) === null || _imgCommonProps$style === void 0 ? void 0 : _imgCommonProps$style.display) === 'none' ? 'none' : undefined\n }\n }, previewMask)), !isPreviewGroup && canPreview && /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: mergedSrc,\n alt: alt,\n getContainer: getPreviewContainer,\n icons: icons,\n scaleStep: scaleStep,\n rootClassName: rootClassName\n }, dialogProps)));\n};\n\nImageInternal.PreviewGroup = PreviewGroup;\nImageInternal.displayName = 'Image';\nexport default ImageInternal;","import Image from \"./Image\";\nexport * from \"./Image\";\nexport default Image;","// This icon file is generated automatically.\nvar RotateLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z\" } }] }, \"name\": \"rotate-left\", \"theme\": \"outlined\" };\nexport default RotateLeftOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar RotateLeftOutlined = function RotateLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: RotateLeftOutlinedSvg\n }));\n};\nRotateLeftOutlined.displayName = 'RotateLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateLeftOutlined);","// This icon file is generated automatically.\nvar RotateRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z\" } }] }, \"name\": \"rotate-right\", \"theme\": \"outlined\" };\nexport default RotateRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar RotateRightOutlined = function RotateRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: RotateRightOutlinedSvg\n }));\n};\nRotateRightOutlined.displayName = 'RotateRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateRightOutlined);","// This icon file is generated automatically.\nvar ZoomInOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-in\", \"theme\": \"outlined\" };\nexport default ZoomInOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomInOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomInOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ZoomInOutlined = function ZoomInOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ZoomInOutlinedSvg\n }));\n};\nZoomInOutlined.displayName = 'ZoomInOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomInOutlined);","// This icon file is generated automatically.\nvar ZoomOutOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-out\", \"theme\": \"outlined\" };\nexport default ZoomOutOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomOutOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomOutOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ZoomOutOutlined = function ZoomOutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ZoomOutOutlinedSvg\n }));\n};\nZoomOutOutlined.displayName = 'ZoomOutOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomOutOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport RotateLeftOutlined from \"@ant-design/icons/es/icons/RotateLeftOutlined\";\nimport RotateRightOutlined from \"@ant-design/icons/es/icons/RotateRightOutlined\";\nimport ZoomInOutlined from \"@ant-design/icons/es/icons/ZoomInOutlined\";\nimport ZoomOutOutlined from \"@ant-design/icons/es/icons/ZoomOutOutlined\";\nimport RcImage from 'rc-image';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nexport var icons = {\n rotateLeft: /*#__PURE__*/React.createElement(RotateLeftOutlined, null),\n rotateRight: /*#__PURE__*/React.createElement(RotateRightOutlined, null),\n zoomIn: /*#__PURE__*/React.createElement(ZoomInOutlined, null),\n zoomOut: /*#__PURE__*/React.createElement(ZoomOutOutlined, null),\n close: /*#__PURE__*/React.createElement(CloseOutlined, null),\n left: /*#__PURE__*/React.createElement(LeftOutlined, null),\n right: /*#__PURE__*/React.createElement(RightOutlined, null)\n};\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n var customizePrefixCls = _a.previewPrefixCls,\n preview = _a.preview,\n props = __rest(_a, [\"previewPrefixCls\", \"preview\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n var _preview = _typeof(preview) === 'object' ? preview : {};\n return _extends(_extends({}, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview]);\n return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n preview: mergedPreview,\n previewPrefixCls: prefixCls,\n icons: icons\n }, props));\n};\nexport default InternalPreviewGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport RcImage from 'rc-image';\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultLocale from '../locale/en_US';\nimport { getTransitionName } from '../_util/motion';\nimport PreviewGroup, { icons } from './PreviewGroup';\nvar Image = function Image(_a) {\n var customizePrefixCls = _a.prefixCls,\n preview = _a.preview,\n otherProps = __rest(_a, [\"prefixCls\", \"preview\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n _useContext$locale = _useContext.locale,\n contextLocale = _useContext$locale === void 0 ? defaultLocale : _useContext$locale,\n getContextPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('image', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var imageLocale = contextLocale.Image || defaultLocale.Image;\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n var _preview = _typeof(preview) === 'object' ? preview : {};\n var getContainer = _preview.getContainer,\n restPreviewProps = __rest(_preview, [\"getContainer\"]);\n return _extends(_extends({\n mask: /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-mask-info\")\n }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n icons: icons\n }, restPreviewProps), {\n getContainer: getContainer || getContextPopupContainer,\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview, imageLocale]);\n return /*#__PURE__*/React.createElement(RcImage, _extends({\n prefixCls: prefixCls,\n preview: mergedPreview\n }, otherProps));\n};\nImage.PreviewGroup = PreviewGroup;\nexport default Image;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React, { Children, forwardRef, useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { Col } from '../grid';\nimport { cloneElement } from '../_util/reactNode';\nimport { ListContext } from './index';\nexport var Meta = function Meta(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n avatar = _a.avatar,\n title = _a.title,\n description = _a.description,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls;\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-item-meta\"), className);\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-content\")\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"\".concat(prefixCls, \"-item-meta-title\")\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-description\")\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-avatar\")\n }, avatar), (title || description) && content);\n};\nvar InternalItem = function InternalItem(_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n children = _a.children,\n actions = _a.actions,\n extra = _a.extra,\n className = _a.className,\n colStyle = _a.colStyle,\n others = __rest(_a, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"className\", \"colStyle\"]);\n var _useContext2 = useContext(ListContext),\n grid = _useContext2.grid,\n itemLayout = _useContext2.itemLayout;\n var _useContext3 = useContext(ConfigContext),\n getPrefixCls = _useContext3.getPrefixCls;\n var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {\n var result;\n Children.forEach(children, function (element) {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && Children.count(children) > 1;\n };\n var isFlexMode = function isFlexMode() {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n return !isItemContainsTextNodeAndNotSingular();\n };\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var actionsContent = actions && actions.length > 0 && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-item-action\"),\n key: \"actions\"\n }, actions.map(function (action, i) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: \"\".concat(prefixCls, \"-item-action-\").concat(i)\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: \"\".concat(prefixCls, \"-item-action-split\")\n }))\n );\n }));\n var Element = grid ? 'div' : 'li';\n var itemChildren = /*#__PURE__*/React.createElement(Element, _extends({}, others, !grid ? {\n ref: ref\n } : {}, {\n className: classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-no-flex\"), !isFlexMode()), className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-main\"),\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-extra\"),\n key: \"extra\"\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? /*#__PURE__*/React.createElement(Col, {\n ref: ref,\n flex: 1,\n style: colStyle\n }, itemChildren) : itemChildren;\n};\nvar Item = /*#__PURE__*/forwardRef(InternalItem);\nItem.Meta = Meta;\nexport default Item;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { Row } from '../grid';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport Item from './Item';\nexport var ListContext = /*#__PURE__*/React.createContext({});\nexport var ListConsumer = ListContext.Consumer;\nfunction List(_a) {\n var _classNames;\n var _a$pagination = _a.pagination,\n pagination = _a$pagination === void 0 ? false : _a$pagination,\n customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? false : _a$bordered,\n _a$split = _a.split,\n split = _a$split === void 0 ? true : _a$split,\n className = _a.className,\n children = _a.children,\n itemLayout = _a.itemLayout,\n loadMore = _a.loadMore,\n grid = _a.grid,\n _a$dataSource = _a.dataSource,\n dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,\n size = _a.size,\n header = _a.header,\n footer = _a.footer,\n _a$loading = _a.loading,\n loading = _a$loading === void 0 ? false : _a$loading,\n rowKey = _a.rowKey,\n renderItem = _a.renderItem,\n locale = _a.locale,\n rest = __rest(_a, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};\n var _React$useState = React.useState(paginationObj.defaultCurrent || 1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n paginationCurrent = _React$useState2[0],\n setPaginationCurrent = _React$useState2[1];\n var _React$useState3 = React.useState(paginationObj.defaultPageSize || 10),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n paginationSize = _React$useState4[0],\n setPaginationSize = _React$useState4[1];\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n var defaultPaginationProps = {\n current: 1,\n total: 0\n };\n var triggerPaginationEvent = function triggerPaginationEvent(eventName) {\n return function (page, pageSize) {\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n if (pagination && pagination[eventName]) {\n pagination[eventName](page, pageSize);\n }\n };\n };\n var onPaginationChange = triggerPaginationEvent('onChange');\n var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n var renderInnerItem = function renderInnerItem(item, index) {\n if (!renderItem) return null;\n var key;\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (rowKey) {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n if (!key) {\n key = \"list-item-\".concat(index);\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: key\n }, renderItem(item, index));\n };\n var isSomethingAfterLastItem = function isSomethingAfterLastItem() {\n return !!(loadMore || pagination || footer);\n };\n var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-empty-text\")\n }, locale && locale.emptyText || renderEmptyHandler('List'));\n };\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var loadingProp = loading;\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n var isLoading = loadingProp && loadingProp.spinning;\n // large => lg\n // small => sm\n var sizeCls = '';\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n default:\n break;\n }\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), itemLayout === 'vertical'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-split\"), split), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), isLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-grid\"), !!grid), _defineProperty(_classNames, \"\".concat(prefixCls, \"-something-after-last-item\"), isSomethingAfterLastItem()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var paginationProps = _extends(_extends(_extends({}, defaultPaginationProps), {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }), pagination || {});\n var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n if (paginationProps.current > largestPage) {\n paginationProps.current = largestPage;\n }\n var paginationContent = pagination ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-pagination\")\n }, /*#__PURE__*/React.createElement(Pagination, _extends({}, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))) : null;\n var splitDataSource = _toConsumableArray(dataSource);\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n var needResponsive = Object.keys(grid || {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var currentBreakpoint = React.useMemo(function () {\n for (var i = 0; i < responsiveArray.length; i += 1) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n return undefined;\n }, [screens]);\n var colStyle = React.useMemo(function () {\n if (!grid) {\n return undefined;\n }\n var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n if (columnCount) {\n return {\n width: \"\".concat(100 / columnCount, \"%\"),\n maxWidth: \"\".concat(100 / columnCount, \"%\")\n };\n }\n }, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);\n var childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n if (splitDataSource.length > 0) {\n var items = splitDataSource.map(function (item, index) {\n return renderInnerItem(item, index);\n });\n childrenContent = grid ? /*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, React.Children.map(items, function (child) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: child === null || child === void 0 ? void 0 : child.key,\n style: colStyle\n }, child);\n })) : /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-items\")\n }, items);\n } else if (!children && !isLoading) {\n childrenContent = renderEmptyFunc(prefixCls, renderEmpty || defaultRenderEmpty);\n }\n var paginationPosition = paginationProps.position || 'bottom';\n var contextValue = React.useMemo(function () {\n return {\n grid: grid,\n itemLayout: itemLayout\n };\n }, [JSON.stringify(grid), itemLayout]);\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, header), /*#__PURE__*/React.createElement(Spin, _extends({}, loadingProp), childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));\n}\nList.Item = Item;\nexport default List;","/* tslint:disable: no-object-literal-type-assertion */\nimport * as React from 'react'; // We will never use default, here only to fix TypeScript warning\n\nvar MentionsContext = /*#__PURE__*/React.createContext(null);\nexport default MentionsContext;","import Menu, { MenuItem } from 'rc-menu';\nimport * as React from 'react';\nimport MentionsContext from './MentionsContext';\n/**\n * We only use Menu to display the candidate.\n * The focus is controlled by textarea to make accessibility easy.\n */\n\nfunction DropdownMenu(props) {\n var _React$useContext = React.useContext(MentionsContext),\n notFoundContent = _React$useContext.notFoundContent,\n activeIndex = _React$useContext.activeIndex,\n setActiveIndex = _React$useContext.setActiveIndex,\n selectOption = _React$useContext.selectOption,\n onFocus = _React$useContext.onFocus,\n onBlur = _React$useContext.onBlur;\n\n var prefixCls = props.prefixCls,\n options = props.options;\n var activeOption = options[activeIndex] || {};\n return /*#__PURE__*/React.createElement(Menu, {\n prefixCls: \"\".concat(prefixCls, \"-menu\"),\n activeKey: activeOption.key,\n onSelect: function onSelect(_ref) {\n var key = _ref.key;\n var option = options.find(function (_ref2) {\n var optionKey = _ref2.key;\n return optionKey === key;\n });\n selectOption(option);\n },\n onFocus: onFocus,\n onBlur: onBlur\n }, options.map(function (option, index) {\n var key = option.key,\n disabled = option.disabled,\n children = option.children,\n className = option.className,\n style = option.style;\n return /*#__PURE__*/React.createElement(MenuItem, {\n key: key,\n disabled: disabled,\n className: className,\n style: style,\n onMouseEnter: function onMouseEnter() {\n setActiveIndex(index);\n }\n }, children);\n }), !options.length && /*#__PURE__*/React.createElement(MenuItem, {\n disabled: true\n }, notFoundContent));\n}\n\nexport default DropdownMenu;","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport Trigger from 'rc-trigger';\nimport * as React from 'react';\nimport DropdownMenu from './DropdownMenu';\nvar BUILT_IN_PLACEMENTS = {\n bottomRight: {\n points: ['tl', 'br'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n bottomLeft: {\n points: ['tr', 'bl'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topRight: {\n points: ['bl', 'tr'],\n offset: [0, -4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topLeft: {\n points: ['br', 'tl'],\n offset: [0, -4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n }\n};\n\nvar KeywordTrigger = /*#__PURE__*/function (_React$Component) {\n _inherits(KeywordTrigger, _React$Component);\n\n var _super = _createSuper(KeywordTrigger);\n\n function KeywordTrigger() {\n var _this;\n\n _classCallCheck(this, KeywordTrigger);\n\n _this = _super.apply(this, arguments);\n\n _this.getDropdownPrefix = function () {\n return \"\".concat(_this.props.prefixCls, \"-dropdown\");\n };\n\n _this.getDropdownElement = function () {\n var options = _this.props.options;\n return /*#__PURE__*/React.createElement(DropdownMenu, {\n prefixCls: _this.getDropdownPrefix(),\n options: options\n });\n };\n\n _this.getDropDownPlacement = function () {\n var _this$props = _this.props,\n placement = _this$props.placement,\n direction = _this$props.direction;\n var popupPlacement = 'topRight';\n\n if (direction === 'rtl') {\n popupPlacement = placement === 'top' ? 'topLeft' : 'bottomLeft';\n } else {\n popupPlacement = placement === 'top' ? 'topRight' : 'bottomRight';\n }\n\n return popupPlacement;\n };\n\n return _this;\n }\n\n _createClass(KeywordTrigger, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n children = _this$props2.children,\n visible = _this$props2.visible,\n transitionName = _this$props2.transitionName,\n getPopupContainer = _this$props2.getPopupContainer;\n var popupElement = this.getDropdownElement();\n return /*#__PURE__*/React.createElement(Trigger, {\n prefixCls: this.getDropdownPrefix(),\n popupVisible: visible,\n popup: popupElement,\n popupPlacement: this.getDropDownPlacement(),\n popupTransitionName: transitionName,\n builtinPlacements: BUILT_IN_PLACEMENTS,\n getPopupContainer: getPopupContainer,\n popupClassName: this.props.dropdownClassName\n }, children);\n }\n }]);\n\n return KeywordTrigger;\n}(React.Component);\n\nexport default KeywordTrigger;","var Option = function Option() {\n return null;\n};\n\nexport default Option;","/**\n * Cut input selection into 2 part and return text before selection start\n */\nexport function getBeforeSelectionText(input) {\n var selectionStart = input.selectionStart;\n return input.value.slice(0, selectionStart);\n}\n/**\n * Find the last match prefix index\n */\n\nexport function getLastMeasureIndex(text, prefix) {\n return prefix.reduce(function (lastMatch, prefixStr) {\n var lastIndex = text.lastIndexOf(prefixStr);\n\n if (lastIndex > lastMatch.location) {\n return {\n location: lastIndex,\n prefix: prefixStr\n };\n }\n\n return lastMatch;\n }, {\n location: -1,\n prefix: ''\n });\n}\n\nfunction lower(char) {\n return (char || '').toLowerCase();\n}\n\nfunction reduceText(text, targetText, split) {\n var firstChar = text[0];\n\n if (!firstChar || firstChar === split) {\n return text;\n } // Reuse rest text as it can\n\n\n var restText = text;\n var targetTextLen = targetText.length;\n\n for (var i = 0; i < targetTextLen; i += 1) {\n if (lower(restText[i]) !== lower(targetText[i])) {\n restText = restText.slice(i);\n break;\n } else if (i === targetTextLen - 1) {\n restText = restText.slice(targetTextLen);\n }\n }\n\n return restText;\n}\n/**\n * Paint targetText into current text:\n * text: little@litest\n * targetText: light\n * => little @light test\n */\n\n\nexport function replaceWithMeasure(text, measureConfig) {\n var measureLocation = measureConfig.measureLocation,\n prefix = measureConfig.prefix,\n targetText = measureConfig.targetText,\n selectionStart = measureConfig.selectionStart,\n split = measureConfig.split; // Before text will append one space if have other text\n\n var beforeMeasureText = text.slice(0, measureLocation);\n\n if (beforeMeasureText[beforeMeasureText.length - split.length] === split) {\n beforeMeasureText = beforeMeasureText.slice(0, beforeMeasureText.length - split.length);\n }\n\n if (beforeMeasureText) {\n beforeMeasureText = \"\".concat(beforeMeasureText).concat(split);\n } // Cut duplicate string with current targetText\n\n\n var restText = reduceText(text.slice(selectionStart), targetText.slice(selectionStart - measureLocation - prefix.length), split);\n\n if (restText.slice(0, split.length) === split) {\n restText = restText.slice(split.length);\n }\n\n var connectedStartText = \"\".concat(beforeMeasureText).concat(prefix).concat(targetText).concat(split);\n return {\n text: \"\".concat(connectedStartText).concat(restText),\n selectionLocation: connectedStartText.length\n };\n}\nexport function setInputSelection(input, location) {\n input.setSelectionRange(location, location);\n /**\n * Reset caret into view.\n * Since this function always called by user control, it's safe to focus element.\n */\n\n input.blur();\n input.focus();\n}\nexport function validateSearch(text, props) {\n var split = props.split;\n return !split || text.indexOf(split) === -1;\n}\nexport function filterOption(input, _ref) {\n var _ref$value = _ref.value,\n value = _ref$value === void 0 ? '' : _ref$value;\n var lowerCase = input.toLowerCase();\n return value.toLowerCase().indexOf(lowerCase) !== -1;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useCallback, useEffect } from 'react';\n/**\n * Trigger a callback on state change\n */\n\nexport default function useEffectState() {\n var _useState = useState({\n id: 0,\n callback: null\n }),\n _useState2 = _slicedToArray(_useState, 2),\n effectId = _useState2[0],\n setEffectId = _useState2[1];\n\n var update = useCallback(function (callback) {\n setEffectId(function (_ref) {\n var id = _ref.id;\n return {\n id: id + 1,\n callback: callback\n };\n });\n }, []);\n useEffect(function () {\n var _effectId$callback;\n\n (_effectId$callback = effectId.callback) === null || _effectId$callback === void 0 ? void 0 : _effectId$callback.call(effectId);\n }, [effectId]);\n return update;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport toArray from \"rc-util/es/Children/toArray\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport warning from \"rc-util/es/warning\";\nimport React, { useState, useRef, useEffect } from 'react';\nimport TextArea from 'rc-textarea';\nimport KeywordTrigger from './KeywordTrigger';\nimport MentionsContext from './MentionsContext';\nimport Option from './Option';\nimport { filterOption as defaultFilterOption, getBeforeSelectionText, getLastMeasureIndex, replaceWithMeasure, setInputSelection, validateSearch as defaultValidateSearch } from './util';\nimport useEffectState from './hooks/useEffectState';\nvar Mentions = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n prefix = props.prefix,\n split = props.split,\n notFoundContent = props.notFoundContent,\n value = props.value,\n defaultValue = props.defaultValue,\n children = props.children,\n open = props.open,\n validateSearch = props.validateSearch,\n filterOption = props.filterOption,\n onChange = props.onChange,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n onPressEnter = props.onPressEnter,\n onSearch = props.onSearch,\n onSelect = props.onSelect,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n transitionName = props.transitionName,\n placement = props.placement,\n direction = props.direction,\n getPopupContainer = props.getPopupContainer,\n dropdownClassName = props.dropdownClassName,\n restProps = _objectWithoutProperties(props, [\"prefixCls\", \"className\", \"style\", \"prefix\", \"split\", \"notFoundContent\", \"value\", \"defaultValue\", \"children\", \"open\", \"validateSearch\", \"filterOption\", \"onChange\", \"onKeyDown\", \"onKeyUp\", \"onPressEnter\", \"onSearch\", \"onSelect\", \"onFocus\", \"onBlur\", \"transitionName\", \"placement\", \"direction\", \"getPopupContainer\", \"dropdownClassName\"]);\n\n var mergedPrefix = Array.isArray(prefix) ? prefix : [prefix];\n\n var mergedProps = _objectSpread(_objectSpread({}, props), {}, {\n prefix: mergedPrefix\n }); // =============================== Refs ===============================\n\n\n var textareaRef = useRef(null);\n var measureRef = useRef(null);\n\n var getTextArea = function getTextArea() {\n var _textareaRef$current, _textareaRef$current$;\n\n return (_textareaRef$current = textareaRef.current) === null || _textareaRef$current === void 0 ? void 0 : (_textareaRef$current$ = _textareaRef$current.resizableTextArea) === null || _textareaRef$current$ === void 0 ? void 0 : _textareaRef$current$.textArea;\n };\n\n React.useImperativeHandle(ref, function () {\n var _textareaRef$current4, _textareaRef$current5;\n\n return {\n focus: function focus() {\n var _textareaRef$current2;\n\n return (_textareaRef$current2 = textareaRef.current) === null || _textareaRef$current2 === void 0 ? void 0 : _textareaRef$current2.focus();\n },\n blur: function blur() {\n var _textareaRef$current3;\n\n return (_textareaRef$current3 = textareaRef.current) === null || _textareaRef$current3 === void 0 ? void 0 : _textareaRef$current3.blur();\n },\n textarea: (_textareaRef$current4 = textareaRef.current) === null || _textareaRef$current4 === void 0 ? void 0 : (_textareaRef$current5 = _textareaRef$current4.resizableTextArea) === null || _textareaRef$current5 === void 0 ? void 0 : _textareaRef$current5.textArea\n };\n }); // ============================== State ===============================\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n measuring = _useState2[0],\n setMeasuring = _useState2[1];\n\n var _useState3 = useState(''),\n _useState4 = _slicedToArray(_useState3, 2),\n measureText = _useState4[0],\n setMeasureText = _useState4[1];\n\n var _useState5 = useState(''),\n _useState6 = _slicedToArray(_useState5, 2),\n measurePrefix = _useState6[0],\n setMeasurePrefix = _useState6[1];\n\n var _useState7 = useState(0),\n _useState8 = _slicedToArray(_useState7, 2),\n measureLocation = _useState8[0],\n setMeasureLocation = _useState8[1];\n\n var _useState9 = useState(0),\n _useState10 = _slicedToArray(_useState9, 2),\n activeIndex = _useState10[0],\n setActiveIndex = _useState10[1];\n\n var _useState11 = useState(false),\n _useState12 = _slicedToArray(_useState11, 2),\n isFocus = _useState12[0],\n setIsFocus = _useState12[1]; // ============================== Value ===============================\n\n\n var _useMergedState = useMergedState('', {\n defaultValue: defaultValue,\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1]; // =============================== Open ===============================\n\n\n useEffect(function () {\n // Sync measure div top with textarea for rc-trigger usage\n if (measuring && measureRef.current) {\n measureRef.current.scrollTop = getTextArea().scrollTop;\n }\n }, [measuring]);\n\n var _React$useMemo = React.useMemo(function () {\n if (open) {\n if (process.env.NODE_ENV !== 'production') {\n warning(false, '`open` of Mentions is only used for debug usage. Do not use in you production.');\n }\n\n for (var i = 0; i < mergedPrefix.length; i += 1) {\n var curPrefix = mergedPrefix[i];\n var index = mergedValue.lastIndexOf(curPrefix);\n\n if (index >= 0) {\n return [true, '', curPrefix, index];\n }\n }\n }\n\n return [measuring, measureText, measurePrefix, measureLocation];\n }, [open, measuring, mergedPrefix, mergedValue, measureText, measurePrefix, measureLocation]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 4),\n mergedMeasuring = _React$useMemo2[0],\n mergedMeasureText = _React$useMemo2[1],\n mergedMeasurePrefix = _React$useMemo2[2],\n mergedMeasureLocation = _React$useMemo2[3]; // ============================== Option ==============================\n\n\n var getOptions = React.useCallback(function (targetMeasureText) {\n var list = toArray(children).map(function (_ref) {\n var optionProps = _ref.props,\n key = _ref.key;\n return _objectSpread(_objectSpread({}, optionProps), {}, {\n key: key || optionProps.value\n });\n }).filter(function (option) {\n /** Return all result if `filterOption` is false. */\n if (filterOption === false) {\n return true;\n }\n\n return filterOption(targetMeasureText, option);\n });\n return list;\n }, [children, filterOption]);\n var options = React.useMemo(function () {\n return getOptions(mergedMeasureText);\n }, [getOptions, mergedMeasureText]); // ============================= Measure ==============================\n // Mark that we will reset input selection to target position when user select option\n\n var onSelectionEffect = useEffectState();\n\n var startMeasure = function startMeasure(nextMeasureText, nextMeasurePrefix, nextMeasureLocation) {\n setMeasuring(true);\n setMeasureText(nextMeasureText);\n setMeasurePrefix(nextMeasurePrefix);\n setMeasureLocation(nextMeasureLocation);\n setActiveIndex(0);\n };\n\n var stopMeasure = function stopMeasure(callback) {\n setMeasuring(false);\n setMeasureLocation(0);\n setMeasureText('');\n onSelectionEffect(callback);\n }; // ============================== Change ==============================\n\n\n var triggerChange = function triggerChange(nextValue) {\n setMergedValue(nextValue);\n onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);\n };\n\n var onInternalChange = function onInternalChange(_ref2) {\n var nextValue = _ref2.target.value;\n triggerChange(nextValue);\n };\n\n var selectOption = function selectOption(option) {\n var _getTextArea;\n\n var _option$value = option.value,\n mentionValue = _option$value === void 0 ? '' : _option$value;\n\n var _replaceWithMeasure = replaceWithMeasure(mergedValue, {\n measureLocation: mergedMeasureLocation,\n targetText: mentionValue,\n prefix: mergedMeasurePrefix,\n selectionStart: (_getTextArea = getTextArea()) === null || _getTextArea === void 0 ? void 0 : _getTextArea.selectionStart,\n split: split\n }),\n text = _replaceWithMeasure.text,\n selectionLocation = _replaceWithMeasure.selectionLocation;\n\n triggerChange(text);\n stopMeasure(function () {\n // We need restore the selection position\n setInputSelection(getTextArea(), selectionLocation);\n });\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(option, mergedMeasurePrefix);\n }; // ============================= KeyEvent =============================\n // Check if hit the measure keyword\n\n\n var onInternalKeyDown = function onInternalKeyDown(event) {\n var which = event.which;\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); // Skip if not measuring\n\n if (!mergedMeasuring) {\n return;\n }\n\n if (which === KeyCode.UP || which === KeyCode.DOWN) {\n // Control arrow function\n var optionLen = options.length;\n var offset = which === KeyCode.UP ? -1 : 1;\n var newActiveIndex = (activeIndex + offset + optionLen) % optionLen;\n setActiveIndex(newActiveIndex);\n event.preventDefault();\n } else if (which === KeyCode.ESC) {\n stopMeasure();\n } else if (which === KeyCode.ENTER) {\n // Measure hit\n event.preventDefault();\n\n if (!options.length) {\n stopMeasure();\n return;\n }\n\n var option = options[activeIndex];\n selectOption(option);\n }\n };\n /**\n * When to start measure:\n * 1. When user press `prefix`\n * 2. When measureText !== prevMeasureText\n * - If measure hit\n * - If measuring\n *\n * When to stop measure:\n * 1. Selection is out of range\n * 2. Contains `space`\n * 3. ESC or select one\n */\n\n\n var onInternalKeyUp = function onInternalKeyUp(event) {\n var key = event.key,\n which = event.which;\n var target = event.target;\n var selectionStartText = getBeforeSelectionText(target);\n\n var _getLastMeasureIndex = getLastMeasureIndex(selectionStartText, mergedPrefix),\n measureIndex = _getLastMeasureIndex.location,\n nextMeasurePrefix = _getLastMeasureIndex.prefix; // If the client implements an onKeyUp handler, call it\n\n\n onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(event); // Skip if match the white key list\n\n if ([KeyCode.ESC, KeyCode.UP, KeyCode.DOWN, KeyCode.ENTER].indexOf(which) !== -1) {\n return;\n }\n\n if (measureIndex !== -1) {\n var nextMeasureText = selectionStartText.slice(measureIndex + nextMeasurePrefix.length);\n var validateMeasure = validateSearch(nextMeasureText, mergedProps);\n var matchOption = !!getOptions(nextMeasureText).length;\n\n if (validateMeasure) {\n if (key === nextMeasurePrefix || key === 'Shift' || mergedMeasuring || nextMeasureText !== mergedMeasureText && matchOption) {\n startMeasure(nextMeasureText, nextMeasurePrefix, measureIndex);\n }\n } else if (mergedMeasuring) {\n // Stop if measureText is invalidate\n stopMeasure();\n }\n /**\n * We will trigger `onSearch` to developer since they may use for async update.\n * If met `space` means user finished searching.\n */\n\n\n if (onSearch && validateMeasure) {\n onSearch(nextMeasureText, nextMeasurePrefix);\n }\n } else if (mergedMeasuring) {\n stopMeasure();\n }\n };\n\n var onInternalPressEnter = function onInternalPressEnter(event) {\n if (!mergedMeasuring && onPressEnter) {\n onPressEnter(event);\n }\n }; // ============================ Focus Blur ============================\n\n\n var focusRef = useRef();\n\n var onInternalFocus = function onInternalFocus(event) {\n window.clearTimeout(focusRef.current);\n\n if (!isFocus && event && onFocus) {\n onFocus(event);\n }\n\n setIsFocus(true);\n };\n\n var onInternalBlur = function onInternalBlur(event) {\n focusRef.current = window.setTimeout(function () {\n setIsFocus(false);\n stopMeasure();\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);\n }, 0);\n };\n\n var onDropdownFocus = function onDropdownFocus() {\n onInternalFocus();\n };\n\n var onDropdownBlur = function onDropdownBlur() {\n onInternalBlur();\n }; // ============================== Render ==============================\n\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, className),\n style: style\n }, /*#__PURE__*/React.createElement(TextArea, _extends({\n ref: textareaRef,\n value: mergedValue\n }, restProps, {\n onChange: onInternalChange,\n onKeyDown: onInternalKeyDown,\n onKeyUp: onInternalKeyUp,\n onPressEnter: onInternalPressEnter,\n onFocus: onInternalFocus,\n onBlur: onInternalBlur\n })), mergedMeasuring && /*#__PURE__*/React.createElement(\"div\", {\n ref: measureRef,\n className: \"\".concat(prefixCls, \"-measure\")\n }, mergedValue.slice(0, mergedMeasureLocation), /*#__PURE__*/React.createElement(MentionsContext.Provider, {\n value: {\n notFoundContent: notFoundContent,\n activeIndex: activeIndex,\n setActiveIndex: setActiveIndex,\n selectOption: selectOption,\n onFocus: onDropdownFocus,\n onBlur: onDropdownBlur\n }\n }, /*#__PURE__*/React.createElement(KeywordTrigger, {\n prefixCls: prefixCls,\n transitionName: transitionName,\n placement: placement,\n direction: direction,\n options: options,\n visible: true,\n getPopupContainer: getPopupContainer,\n dropdownClassName: dropdownClassName\n }, /*#__PURE__*/React.createElement(\"span\", null, mergedMeasurePrefix))), mergedValue.slice(mergedMeasureLocation + mergedMeasurePrefix.length)));\n});\nMentions.defaultProps = {\n prefixCls: 'rc-mentions',\n prefix: '@',\n split: ' ',\n validateSearch: defaultValidateSearch,\n filterOption: defaultFilterOption,\n notFoundContent: 'Not Found',\n rows: 1\n};\nMentions.Option = Option;\nexport default Mentions;","import Mentions from './Mentions';\nexport default Mentions;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport Spin from '../spin';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nvar Option = RcMentions.Option;\nexport { Option };\nfunction loadingFilterOption() {\n return true;\n}\nvar InternalMentions = function InternalMentions(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n disabled = _a.disabled,\n loading = _a.loading,\n filterOption = _a.filterOption,\n children = _a.children,\n notFoundContent = _a.notFoundContent,\n customStatus = _a.status,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"status\"]);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n var innerRef = React.useRef();\n var mergedRef = composeRef(ref, innerRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(FormItemInputContext),\n contextStatus = _React$useContext2.status,\n hasFeedback = _React$useContext2.hasFeedback,\n feedbackIcon = _React$useContext2.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var onFocus = function onFocus() {\n if (restProps.onFocus) {\n restProps.onFocus.apply(restProps, arguments);\n }\n setFocused(true);\n };\n var onBlur = function onBlur() {\n if (restProps.onBlur) {\n restProps.onBlur.apply(restProps, arguments);\n }\n setFocused(false);\n };\n var getNotFoundContent = function getNotFoundContent() {\n if (notFoundContent !== undefined) {\n return notFoundContent;\n }\n return (renderEmpty || defaultRenderEmpty)('Select');\n };\n var getOptions = function getOptions() {\n if (loading) {\n return /*#__PURE__*/React.createElement(Option, {\n value: \"ANTD_SEARCHING\",\n disabled: true\n }, /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n }));\n }\n return children;\n };\n var getFilterOption = function getFilterOption() {\n if (loading) {\n return loadingFilterOption;\n }\n return filterOption;\n };\n var prefixCls = getPrefixCls('mentions', customizePrefixCls);\n var mergedClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-focused\"), focused), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), getStatusClassNames(prefixCls, mergedStatus), !hasFeedback && className);\n var mentions = /*#__PURE__*/React.createElement(RcMentions, _extends({\n prefixCls: prefixCls,\n notFoundContent: getNotFoundContent(),\n className: mergedClassName,\n disabled: disabled,\n direction: direction\n }, restProps, {\n filterOption: getFilterOption(),\n onFocus: onFocus,\n onBlur: onBlur,\n ref: mergedRef\n }), getOptions());\n if (hasFeedback) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-affix-wrapper\"), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), mergedStatus, hasFeedback), className)\n }, mentions, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, feedbackIcon));\n }\n return mentions;\n};\nvar Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\nMentions.getMentions = function () {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _config$prefix = config.prefix,\n prefix = _config$prefix === void 0 ? '@' : _config$prefix,\n _config$split = config.split,\n split = _config$split === void 0 ? ' ' : _config$split;\n var prefixList = Array.isArray(prefix) ? prefix : [prefix];\n return value.split(split).map(function () {\n var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var hitPrefix = null;\n prefixList.some(function (prefixStr) {\n var startStr = str.slice(0, prefixStr.length);\n if (startStr === prefixStr) {\n hitPrefix = prefixStr;\n return true;\n }\n return false;\n });\n if (hitPrefix !== null) {\n return {\n prefix: hitPrefix,\n value: str.slice(hitPrefix.length)\n };\n }\n return null;\n }).filter(function (entity) {\n return !!entity && !!entity.value;\n });\n};\nexport default Mentions;","// This icon file is generated automatically.\nvar ArrowLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"arrow-left\", \"theme\": \"outlined\" };\nexport default ArrowLeftOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ArrowLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/ArrowLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ArrowLeftOutlinedSvg\n }));\n};\nArrowLeftOutlined.displayName = 'ArrowLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(ArrowLeftOutlined);","// This icon file is generated automatically.\nvar ArrowRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z\" } }] }, \"name\": \"arrow-right\", \"theme\": \"outlined\" };\nexport default ArrowRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ArrowRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/ArrowRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ArrowRightOutlined = function ArrowRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ArrowRightOutlinedSvg\n }));\n};\nArrowRightOutlined.displayName = 'ArrowRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(ArrowRightOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport ArrowLeftOutlined from \"@ant-design/icons/es/icons/ArrowLeftOutlined\";\nimport ArrowRightOutlined from \"@ant-design/icons/es/icons/ArrowRightOutlined\";\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport useState from \"rc-util/es/hooks/useState\";\nimport * as React from 'react';\nimport Avatar from '../avatar';\nimport Breadcrumb from '../breadcrumb';\nimport { ConfigConsumer } from '../config-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport Space from '../space';\nimport TransButton from '../_util/transButton';\nvar renderBack = function renderBack(prefixCls, backIcon, onBack) {\n if (!backIcon || !onBack) {\n return null;\n }\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"PageHeader\"\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-back\")\n }, /*#__PURE__*/React.createElement(TransButton, {\n onClick: function onClick(e) {\n onBack === null || onBack === void 0 ? void 0 : onBack(e);\n },\n className: \"\".concat(prefixCls, \"-back-button\"),\n \"aria-label\": contextLocale.back\n }, backIcon));\n });\n};\nvar renderBreadcrumb = function renderBreadcrumb(breadcrumb) {\n return /*#__PURE__*/React.createElement(Breadcrumb, _extends({}, breadcrumb));\n};\nvar getBackIcon = function getBackIcon(props) {\n var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'ltr';\n if (props.backIcon !== undefined) {\n return props.backIcon;\n }\n return direction === 'rtl' ? /*#__PURE__*/React.createElement(ArrowRightOutlined, null) : /*#__PURE__*/React.createElement(ArrowLeftOutlined, null);\n};\nvar renderTitle = function renderTitle(prefixCls, props) {\n var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';\n var title = props.title,\n avatar = props.avatar,\n subTitle = props.subTitle,\n tags = props.tags,\n extra = props.extra,\n onBack = props.onBack;\n var headingPrefixCls = \"\".concat(prefixCls, \"-heading\");\n var hasHeading = title || subTitle || tags || extra;\n // If there is nothing, return a null\n if (!hasHeading) {\n return null;\n }\n var backIcon = getBackIcon(props, direction);\n var backIconDom = renderBack(prefixCls, backIcon, onBack);\n var hasTitle = backIconDom || avatar || hasHeading;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: headingPrefixCls\n }, hasTitle && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(headingPrefixCls, \"-left\")\n }, backIconDom, avatar && /*#__PURE__*/React.createElement(Avatar, _extends({}, avatar)), title && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-title\"),\n title: typeof title === 'string' ? title : undefined\n }, title), subTitle && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-sub-title\"),\n title: typeof subTitle === 'string' ? subTitle : undefined\n }, subTitle), tags && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-tags\")\n }, tags)), extra && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-extra\")\n }, /*#__PURE__*/React.createElement(Space, null, extra)));\n};\nvar renderFooter = function renderFooter(prefixCls, footer) {\n if (footer) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer);\n }\n return null;\n};\nvar renderChildren = function renderChildren(prefixCls, children) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n};\nvar PageHeader = function PageHeader(props) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n compact = _useState2[0],\n updateCompact = _useState2[1];\n var onResize = function onResize(_ref) {\n var width = _ref.width;\n updateCompact(width < 768, true);\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref2) {\n var _classNames;\n var getPrefixCls = _ref2.getPrefixCls,\n pageHeader = _ref2.pageHeader,\n direction = _ref2.direction;\n var _a;\n var customizePrefixCls = props.prefixCls,\n style = props.style,\n footer = props.footer,\n children = props.children,\n breadcrumb = props.breadcrumb,\n breadcrumbRender = props.breadcrumbRender,\n customizeClassName = props.className;\n var ghost = true;\n // Use `ghost` from `props` or from `ConfigProvider` instead.\n if ('ghost' in props) {\n ghost = props.ghost;\n } else if (pageHeader && 'ghost' in pageHeader) {\n ghost = pageHeader.ghost;\n }\n var prefixCls = getPrefixCls('page-header', customizePrefixCls);\n var getDefaultBreadcrumbDom = function getDefaultBreadcrumbDom() {\n if (breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.routes) {\n return renderBreadcrumb(breadcrumb);\n }\n return null;\n };\n var defaultBreadcrumbDom = getDefaultBreadcrumbDom();\n var isBreadcrumbComponent = breadcrumb && 'props' in breadcrumb;\n // support breadcrumbRender function\n var breadcrumbRenderDomFromProps = (_a = breadcrumbRender === null || breadcrumbRender === void 0 ? void 0 : breadcrumbRender(props, defaultBreadcrumbDom)) !== null && _a !== void 0 ? _a : defaultBreadcrumbDom;\n var breadcrumbDom = isBreadcrumbComponent ? breadcrumb : breadcrumbRenderDomFromProps;\n var className = classNames(prefixCls, customizeClassName, (_classNames = {\n 'has-breadcrumb': !!breadcrumbDom,\n 'has-footer': !!footer\n }, _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), ghost), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\"), compact), _classNames));\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onResize\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, breadcrumbDom, renderTitle(prefixCls, props, direction), children && renderChildren(prefixCls, children), renderFooter(prefixCls, footer)));\n });\n};\nexport default PageHeader;","// This icon file is generated automatically.\nvar StarFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z\" } }] }, \"name\": \"star\", \"theme\": \"filled\" };\nexport default StarFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport StarFilledSvg from \"@ant-design/icons-svg/es/asn/StarFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar StarFilled = function StarFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: StarFilledSvg\n }));\n};\nStarFilled.displayName = 'StarFilled';\nexport default /*#__PURE__*/React.forwardRef(StarFilled);","function getScroll(w) {\n var ret = w.pageXOffset;\n var method = 'scrollLeft';\n\n if (typeof ret !== 'number') {\n var d = w.document; // ie6,7,8 standard mode\n\n ret = d.documentElement[method];\n\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n\n return ret;\n}\n\nfunction getClientPosition(elem) {\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n var box = elem.getBoundingClientRect();\n x = box.left;\n y = box.top;\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\n\nexport function getOffsetLeft(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument; // Only IE use `parentWindow`\n\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n return pos.left;\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from 'react';\n\nvar Star = /*#__PURE__*/function (_React$Component) {\n _inherits(Star, _React$Component);\n\n var _super = _createSuper(Star);\n\n function Star() {\n var _this;\n\n _classCallCheck(this, Star);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onHover = function (e) {\n var _this$props = _this.props,\n onHover = _this$props.onHover,\n index = _this$props.index;\n onHover(e, index);\n };\n\n _this.onClick = function (e) {\n var _this$props2 = _this.props,\n onClick = _this$props2.onClick,\n index = _this$props2.index;\n onClick(e, index);\n };\n\n _this.onKeyDown = function (e) {\n var _this$props3 = _this.props,\n onClick = _this$props3.onClick,\n index = _this$props3.index;\n\n if (e.keyCode === 13) {\n onClick(e, index);\n }\n };\n\n return _this;\n }\n\n _createClass(Star, [{\n key: \"getClassName\",\n value: function getClassName() {\n var _this$props4 = this.props,\n prefixCls = _this$props4.prefixCls,\n index = _this$props4.index,\n value = _this$props4.value,\n allowHalf = _this$props4.allowHalf,\n focused = _this$props4.focused;\n var starValue = index + 1;\n var className = prefixCls;\n\n if (value === 0 && index === 0 && focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n } else if (allowHalf && value + 0.5 >= starValue && value < starValue) {\n className += \" \".concat(prefixCls, \"-half \").concat(prefixCls, \"-active\");\n\n if (focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n }\n } else {\n className += starValue <= value ? \" \".concat(prefixCls, \"-full\") : \" \".concat(prefixCls, \"-zero\");\n\n if (starValue === value && focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n }\n }\n\n return className;\n }\n }, {\n key: \"render\",\n value: function render() {\n var onHover = this.onHover,\n onClick = this.onClick,\n onKeyDown = this.onKeyDown;\n var _this$props5 = this.props,\n disabled = _this$props5.disabled,\n prefixCls = _this$props5.prefixCls,\n character = _this$props5.character,\n characterRender = _this$props5.characterRender,\n index = _this$props5.index,\n count = _this$props5.count,\n value = _this$props5.value;\n var characterNode = typeof character === 'function' ? character(this.props) : character;\n var start = /*#__PURE__*/React.createElement(\"li\", {\n className: this.getClassName()\n }, /*#__PURE__*/React.createElement(\"div\", {\n onClick: disabled ? null : onClick,\n onKeyDown: disabled ? null : onKeyDown,\n onMouseMove: disabled ? null : onHover,\n role: \"radio\",\n \"aria-checked\": value > index ? 'true' : 'false',\n \"aria-posinset\": index + 1,\n \"aria-setsize\": count,\n tabIndex: disabled ? -1 : 0\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-first\")\n }, characterNode), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-second\")\n }, characterNode)));\n\n if (characterRender) {\n start = characterRender(start, this.props);\n }\n\n return start;\n }\n }]);\n\n return Star;\n}(React.Component);\n\nexport { Star as default };","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { getOffsetLeft } from './util';\nimport Star from './Star';\n\nfunction noop() {}\n\nvar Rate = /*#__PURE__*/function (_React$Component) {\n _inherits(Rate, _React$Component);\n\n var _super = _createSuper(Rate);\n\n function Rate(props) {\n var _this;\n\n _classCallCheck(this, Rate);\n\n _this = _super.call(this, props);\n _this.stars = void 0;\n _this.rate = void 0;\n\n _this.onHover = function (event, index) {\n var onHoverChange = _this.props.onHoverChange;\n\n var hoverValue = _this.getStarValue(index, event.pageX);\n\n var cleanedValue = _this.state.cleanedValue;\n\n if (hoverValue !== cleanedValue) {\n _this.setState({\n hoverValue: hoverValue,\n cleanedValue: null\n });\n }\n\n onHoverChange(hoverValue);\n };\n\n _this.onMouseLeave = function () {\n var onHoverChange = _this.props.onHoverChange;\n\n _this.setState({\n hoverValue: undefined,\n cleanedValue: null\n });\n\n onHoverChange(undefined);\n };\n\n _this.onClick = function (event, index) {\n var allowClear = _this.props.allowClear;\n var value = _this.state.value;\n\n var newValue = _this.getStarValue(index, event.pageX);\n\n var isReset = false;\n\n if (allowClear) {\n isReset = newValue === value;\n }\n\n _this.onMouseLeave();\n\n _this.changeValue(isReset ? 0 : newValue);\n\n _this.setState({\n cleanedValue: isReset ? newValue : null\n });\n };\n\n _this.onFocus = function () {\n var onFocus = _this.props.onFocus;\n\n _this.setState({\n focused: true\n });\n\n if (onFocus) {\n onFocus();\n }\n };\n\n _this.onBlur = function () {\n var onBlur = _this.props.onBlur;\n\n _this.setState({\n focused: false\n });\n\n if (onBlur) {\n onBlur();\n }\n };\n\n _this.onKeyDown = function (event) {\n var keyCode = event.keyCode;\n var _this$props = _this.props,\n count = _this$props.count,\n allowHalf = _this$props.allowHalf,\n onKeyDown = _this$props.onKeyDown,\n direction = _this$props.direction;\n var reverse = direction === 'rtl';\n var value = _this.state.value;\n\n if (keyCode === KeyCode.RIGHT && value < count && !reverse) {\n if (allowHalf) {\n value += 0.5;\n } else {\n value += 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.LEFT && value > 0 && !reverse) {\n if (allowHalf) {\n value -= 0.5;\n } else {\n value -= 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.RIGHT && value > 0 && reverse) {\n if (allowHalf) {\n value -= 0.5;\n } else {\n value -= 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.LEFT && value < count && reverse) {\n if (allowHalf) {\n value += 0.5;\n } else {\n value += 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n _this.saveRef = function (index) {\n return function (node) {\n _this.stars[index] = node;\n };\n };\n\n _this.saveRate = function (node) {\n _this.rate = node;\n };\n\n var _value = props.value;\n\n if (_value === undefined) {\n _value = props.defaultValue;\n }\n\n _this.stars = {};\n _this.state = {\n value: _value,\n focused: false,\n cleanedValue: null\n };\n return _this;\n }\n\n _createClass(Rate, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props2 = this.props,\n autoFocus = _this$props2.autoFocus,\n disabled = _this$props2.disabled;\n\n if (autoFocus && !disabled) {\n this.focus();\n }\n }\n }, {\n key: \"getStarDOM\",\n value: function getStarDOM(index) {\n return findDOMNode(this.stars[index]);\n }\n }, {\n key: \"getStarValue\",\n value: function getStarValue(index, x) {\n var _this$props3 = this.props,\n allowHalf = _this$props3.allowHalf,\n direction = _this$props3.direction;\n var reverse = direction === 'rtl';\n var value = index + 1;\n\n if (allowHalf) {\n var starEle = this.getStarDOM(index);\n var leftDis = getOffsetLeft(starEle);\n var width = starEle.clientWidth;\n\n if (reverse && x - leftDis > width / 2) {\n value -= 0.5;\n } else if (!reverse && x - leftDis < width / 2) {\n value -= 0.5;\n }\n }\n\n return value;\n }\n }, {\n key: \"focus\",\n value: function focus() {\n var disabled = this.props.disabled;\n\n if (!disabled) {\n this.rate.focus();\n }\n }\n }, {\n key: \"blur\",\n value: function blur() {\n var disabled = this.props.disabled;\n\n if (!disabled) {\n this.rate.blur();\n }\n }\n }, {\n key: \"changeValue\",\n value: function changeValue(value) {\n var onChange = this.props.onChange;\n\n if (!('value' in this.props)) {\n this.setState({\n value: value\n });\n }\n\n onChange(value);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props4 = this.props,\n count = _this$props4.count,\n allowHalf = _this$props4.allowHalf,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n disabled = _this$props4.disabled,\n className = _this$props4.className,\n character = _this$props4.character,\n characterRender = _this$props4.characterRender,\n tabIndex = _this$props4.tabIndex,\n direction = _this$props4.direction;\n var _this$state = this.state,\n value = _this$state.value,\n hoverValue = _this$state.hoverValue,\n focused = _this$state.focused;\n var stars = [];\n var disabledClass = disabled ? \"\".concat(prefixCls, \"-disabled\") : '';\n\n for (var index = 0; index < count; index += 1) {\n stars.push( /*#__PURE__*/React.createElement(Star, {\n ref: this.saveRef(index),\n index: index,\n count: count,\n disabled: disabled,\n prefixCls: \"\".concat(prefixCls, \"-star\"),\n allowHalf: allowHalf,\n value: hoverValue === undefined ? value : hoverValue,\n onClick: this.onClick,\n onHover: this.onHover,\n key: index,\n character: character,\n characterRender: characterRender,\n focused: focused\n }));\n }\n\n var rateClassName = classNames(prefixCls, disabledClass, className, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'));\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: rateClassName,\n style: style,\n onMouseLeave: disabled ? null : this.onMouseLeave,\n tabIndex: disabled ? -1 : tabIndex,\n onFocus: disabled ? null : this.onFocus,\n onBlur: disabled ? null : this.onBlur,\n onKeyDown: disabled ? null : this.onKeyDown,\n ref: this.saveRate,\n role: \"radiogroup\"\n }, stars);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, state) {\n if ('value' in nextProps && nextProps.value !== undefined) {\n return _objectSpread(_objectSpread({}, state), {}, {\n value: nextProps.value\n });\n }\n\n return state;\n }\n }]);\n\n return Rate;\n}(React.Component);\n\nRate.defaultProps = {\n defaultValue: 0,\n count: 5,\n allowHalf: false,\n allowClear: true,\n style: {},\n prefixCls: 'rc-rate',\n onChange: noop,\n character: '★',\n onHoverChange: noop,\n tabIndex: 0,\n direction: 'ltr'\n};\nexport default Rate;","import Rate from './Rate';\nexport default Rate;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport StarFilled from \"@ant-design/icons/es/icons/StarFilled\";\nimport RcRate from 'rc-rate';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nvar Rate = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n tooltips = props.tooltips,\n _props$character = props.character,\n character = _props$character === void 0 ? /*#__PURE__*/React.createElement(StarFilled, null) : _props$character,\n rest = __rest(props, [\"prefixCls\", \"tooltips\", \"character\"]);\n var characterRender = function characterRender(node, _ref) {\n var index = _ref.index;\n if (!tooltips) {\n return node;\n }\n return /*#__PURE__*/React.createElement(Tooltip, {\n title: tooltips[index]\n }, node);\n };\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var ratePrefixCls = getPrefixCls('rate', prefixCls);\n return /*#__PURE__*/React.createElement(RcRate, _extends({\n ref: ref,\n character: character,\n characterRender: characterRender\n }, rest, {\n prefixCls: ratePrefixCls,\n direction: direction\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Rate.displayName = 'Rate';\n}\nexport default Rate;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\n\nvar calcThumbStyle = function calcThumbStyle(targetElement) {\n return targetElement ? {\n left: targetElement.offsetLeft,\n width: targetElement.clientWidth\n } : null;\n};\n\nvar toPX = function toPX(value) {\n return value !== undefined ? \"\".concat(value, \"px\") : undefined;\n};\n\nexport default function MotionThumb(props) {\n var prefixCls = props.prefixCls,\n containerRef = props.containerRef,\n value = props.value,\n getValueIndex = props.getValueIndex,\n motionName = props.motionName,\n onMotionStart = props.onMotionStart,\n onMotionEnd = props.onMotionEnd;\n var thumbRef = React.useRef(null);\n\n var _React$useState = React.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prevValue = _React$useState2[0],\n setPrevValue = _React$useState2[1]; // =========================== Effect ===========================\n\n\n var findValueElement = function findValueElement(val) {\n var _containerRef$current;\n\n var index = getValueIndex(val);\n var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelectorAll(\".\".concat(prefixCls, \"-item\"))[index];\n return ele;\n };\n\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n prevStyle = _React$useState4[0],\n setPrevStyle = _React$useState4[1];\n\n var _React$useState5 = React.useState(null),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n nextStyle = _React$useState6[0],\n setNextStyle = _React$useState6[1];\n\n useLayoutEffect(function () {\n if (prevValue !== value) {\n var prev = findValueElement(prevValue);\n var next = findValueElement(value);\n var calcPrevStyle = calcThumbStyle(prev);\n var calcNextStyle = calcThumbStyle(next);\n setPrevValue(value);\n setPrevStyle(calcPrevStyle);\n setNextStyle(calcNextStyle);\n\n if (prev && next) {\n onMotionStart();\n } else {\n onMotionEnd();\n }\n }\n }, [value]); // =========================== Motion ===========================\n\n var onAppearStart = function onAppearStart() {\n return {\n transform: \"translateX(var(--thumb-start-left))\",\n width: \"var(--thumb-start-width)\"\n };\n };\n\n var onAppearActive = function onAppearActive() {\n return {\n transform: \"translateX(var(--thumb-active-left))\",\n width: \"var(--thumb-active-width)\"\n };\n };\n\n var onAppearEnd = function onAppearEnd() {\n setPrevStyle(null);\n setNextStyle(null);\n onMotionEnd();\n }; // =========================== Render ===========================\n // No need motion when nothing exist in queue\n\n\n if (!prevStyle || !nextStyle) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: true,\n motionName: motionName,\n motionAppear: true,\n onAppearStart: onAppearStart,\n onAppearActive: onAppearActive,\n onAppearEnd: onAppearEnd\n }, function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n\n var mergedStyle = _objectSpread(_objectSpread({}, motionStyle), {}, {\n '--thumb-start-left': toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.left),\n '--thumb-start-width': toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.width),\n '--thumb-active-left': toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.left),\n '--thumb-active-width': toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.width)\n }); // It's little ugly which should be refactor when @umi/test update to latest jsdom\n\n\n var motionProps = {\n ref: composeRef(thumbRef, ref),\n style: mergedStyle,\n className: classNames(\"\".concat(prefixCls, \"-thumb\"), motionClassName)\n };\n\n if (process.env.NODE_ENV === 'test') {\n motionProps['data-test-style'] = JSON.stringify(mergedStyle);\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _objectSpread({}, motionProps));\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"prefixCls\", \"direction\", \"options\", \"disabled\", \"defaultValue\", \"value\", \"onChange\", \"className\", \"motionName\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport omit from \"rc-util/es/omit\";\nimport MotionThumb from './MotionThumb';\n\nfunction getValidTitle(option) {\n if (typeof option.title !== 'undefined') {\n return option.title;\n } // read `label` when title is `undefined`\n\n\n if (_typeof(option.label) !== 'object') {\n var _option$label;\n\n return (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toString();\n }\n}\n\nfunction normalizeOptions(options) {\n return options.map(function (option) {\n if (_typeof(option) === 'object' && option !== null) {\n var validTitle = getValidTitle(option);\n return _objectSpread(_objectSpread({}, option), {}, {\n title: validTitle\n });\n }\n\n return {\n label: option === null || option === void 0 ? void 0 : option.toString(),\n title: option === null || option === void 0 ? void 0 : option.toString(),\n value: option\n };\n });\n}\n\nvar InternalSegmentedOption = function InternalSegmentedOption(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n disabled = _ref.disabled,\n checked = _ref.checked,\n label = _ref.label,\n title = _ref.title,\n value = _ref.value,\n onChange = _ref.onChange;\n\n var handleChange = function handleChange(event) {\n if (disabled) {\n return;\n }\n\n onChange(event, value);\n };\n\n return /*#__PURE__*/React.createElement(\"label\", {\n className: classNames(className, _defineProperty({}, \"\".concat(prefixCls, \"-item-disabled\"), disabled))\n }, /*#__PURE__*/React.createElement(\"input\", {\n className: \"\".concat(prefixCls, \"-item-input\"),\n type: \"radio\",\n disabled: disabled,\n checked: checked,\n onChange: handleChange\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-label\"),\n title: title\n }, label));\n};\n\nvar Segmented = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _segmentedOptions$, _classNames2;\n\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-segmented' : _props$prefixCls,\n direction = props.direction,\n options = props.options,\n disabled = props.disabled,\n defaultValue = props.defaultValue,\n value = props.value,\n onChange = props.onChange,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$motionName = props.motionName,\n motionName = _props$motionName === void 0 ? 'thumb-motion' : _props$motionName,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var containerRef = React.useRef(null);\n var mergedRef = React.useMemo(function () {\n return composeRef(containerRef, ref);\n }, [containerRef, ref]);\n var segmentedOptions = React.useMemo(function () {\n return normalizeOptions(options);\n }, [options]); // Note: We should not auto switch value when value not exist in options\n // which may break single source of truth.\n\n var _useMergedState = useMergedState((_segmentedOptions$ = segmentedOptions[0]) === null || _segmentedOptions$ === void 0 ? void 0 : _segmentedOptions$.value, {\n value: value,\n defaultValue: defaultValue\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n rawValue = _useMergedState2[0],\n setRawValue = _useMergedState2[1]; // ======================= Change ========================\n\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n thumbShow = _React$useState2[0],\n setThumbShow = _React$useState2[1];\n\n var handleChange = function handleChange(event, val) {\n if (disabled) {\n return;\n }\n\n setRawValue(val);\n onChange === null || onChange === void 0 ? void 0 : onChange(val);\n };\n\n var divProps = omit(restProps, ['children']);\n return /*#__PURE__*/React.createElement(\"div\", _objectSpread(_objectSpread({}, divProps), {}, {\n className: classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames2), className),\n ref: mergedRef\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-group\")\n }, /*#__PURE__*/React.createElement(MotionThumb, {\n prefixCls: prefixCls,\n value: rawValue,\n containerRef: containerRef,\n motionName: \"\".concat(prefixCls, \"-\").concat(motionName),\n getValueIndex: function getValueIndex(val) {\n return segmentedOptions.findIndex(function (n) {\n return n.value === val;\n });\n },\n onMotionStart: function onMotionStart() {\n setThumbShow(true);\n },\n onMotionEnd: function onMotionEnd() {\n setThumbShow(false);\n }\n }), segmentedOptions.map(function (segmentedOption) {\n return /*#__PURE__*/React.createElement(InternalSegmentedOption, _objectSpread(_objectSpread({\n key: segmentedOption.value,\n prefixCls: prefixCls,\n className: classNames(segmentedOption.className, \"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-selected\"), segmentedOption.value === rawValue && !thumbShow)),\n checked: segmentedOption.value === rawValue,\n onChange: handleChange\n }, segmentedOption), {}, {\n disabled: !!disabled || !!segmentedOption.disabled\n }));\n })));\n});\nSegmented.displayName = 'Segmented';\nSegmented.defaultProps = {\n options: []\n};\nexport default Segmented;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcSegmented from 'rc-segmented';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nfunction isSegmentedLabeledOptionWithIcon(option) {\n return _typeof(option) === 'object' && !!(option === null || option === void 0 ? void 0 : option.icon);\n}\nvar Segmented = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n block = props.block,\n _props$options = props.options,\n options = _props$options === void 0 ? [] : _props$options,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'middle' : _props$size,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"block\", \"options\", \"size\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('segmented', customizePrefixCls);\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = customSize || size;\n // syntactic sugar to support `icon` for Segmented Item\n var extendedOptions = React.useMemo(function () {\n return options.map(function (option) {\n if (isSegmentedLabeledOptionWithIcon(option)) {\n var icon = option.icon,\n label = option.label,\n restOption = __rest(option, [\"icon\", \"label\"]);\n return _extends(_extends({}, restOption), {\n label: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-item-icon\")\n }, icon), label && /*#__PURE__*/React.createElement(\"span\", null, label))\n });\n }\n return option;\n });\n }, [options, prefixCls]);\n return /*#__PURE__*/React.createElement(RcSegmented, _extends({}, restProps, {\n className: classNames(className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _classNames)),\n options: extendedOptions,\n ref: ref,\n prefixCls: prefixCls,\n direction: direction\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Segmented.displayName = 'Segmented';\n}\nexport default Segmented;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"className\", \"prefixCls\", \"style\", \"active\", \"status\", \"iconPrefix\", \"icon\", \"wrapperStyle\", \"stepNumber\", \"disabled\", \"description\", \"title\", \"subTitle\", \"progressDot\", \"stepIcon\", \"tailContent\", \"icons\", \"stepIndex\", \"onStepClick\", \"onClick\"];\n\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nfunction isString(str) {\n return typeof str === 'string';\n}\n\nvar Step = /*#__PURE__*/function (_React$Component) {\n _inherits(Step, _React$Component);\n\n var _super = _createSuper(Step);\n\n function Step() {\n var _this;\n\n _classCallCheck(this, Step);\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(_args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function () {\n var _this$props = _this.props,\n onClick = _this$props.onClick,\n onStepClick = _this$props.onStepClick,\n stepIndex = _this$props.stepIndex;\n\n if (onClick) {\n onClick.apply(void 0, arguments);\n }\n\n onStepClick(stepIndex);\n });\n\n return _this;\n }\n\n _createClass(Step, [{\n key: \"renderIconNode\",\n value: function renderIconNode() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n progressDot = _this$props2.progressDot,\n stepIcon = _this$props2.stepIcon,\n stepNumber = _this$props2.stepNumber,\n status = _this$props2.status,\n title = _this$props2.title,\n description = _this$props2.description,\n icon = _this$props2.icon,\n iconPrefix = _this$props2.iconPrefix,\n icons = _this$props2.icons;\n var iconNode;\n var iconClassName = classNames(\"\".concat(prefixCls, \"-icon\"), \"\".concat(iconPrefix, \"icon\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-\").concat(icon), icon && isString(icon)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-check\"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-cross\"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));\n var iconDot = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon-dot\")\n }); // `progressDot` enjoy the highest priority\n\n if (progressDot) {\n if (typeof progressDot === 'function') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, progressDot(iconDot, {\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description\n }));\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, iconDot);\n }\n } else if (icon && !isString(icon)) {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icon);\n } else if (icons && icons.finish && status === 'finish') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.finish);\n } else if (icons && icons.error && status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.error);\n } else if (icon || status === 'finish' || status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n });\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, stepNumber);\n }\n\n if (stepIcon) {\n iconNode = stepIcon({\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description,\n node: iconNode\n });\n }\n\n return iconNode;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames2;\n\n var _this$props3 = this.props,\n className = _this$props3.className,\n prefixCls = _this$props3.prefixCls,\n style = _this$props3.style,\n active = _this$props3.active,\n _this$props3$status = _this$props3.status,\n status = _this$props3$status === void 0 ? 'wait' : _this$props3$status,\n iconPrefix = _this$props3.iconPrefix,\n icon = _this$props3.icon,\n wrapperStyle = _this$props3.wrapperStyle,\n stepNumber = _this$props3.stepNumber,\n disabled = _this$props3.disabled,\n description = _this$props3.description,\n title = _this$props3.title,\n subTitle = _this$props3.subTitle,\n progressDot = _this$props3.progressDot,\n stepIcon = _this$props3.stepIcon,\n tailContent = _this$props3.tailContent,\n icons = _this$props3.icons,\n stepIndex = _this$props3.stepIndex,\n onStepClick = _this$props3.onStepClick,\n onClick = _this$props3.onClick,\n restProps = _objectWithoutProperties(_this$props3, _excluded);\n\n var classString = classNames(\"\".concat(prefixCls, \"-item\"), \"\".concat(prefixCls, \"-item-\").concat(status), className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-custom\"), icon), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-active\"), active), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-disabled\"), disabled === true), _classNames2));\n\n var stepItemStyle = _objectSpread({}, style);\n\n var accessibilityProps = {};\n\n if (onStepClick && !disabled) {\n accessibilityProps.role = 'button';\n accessibilityProps.tabIndex = 0;\n accessibilityProps.onClick = this.onClick;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, restProps, {\n className: classString,\n style: stepItemStyle\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n onClick: onClick\n }, accessibilityProps, {\n className: \"\".concat(prefixCls, \"-item-container\")\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-tail\")\n }, tailContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-icon\")\n }, this.renderIconNode()), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-title\")\n }, title, subTitle && /*#__PURE__*/React.createElement(\"div\", {\n title: typeof subTitle === 'string' ? subTitle : undefined,\n className: \"\".concat(prefixCls, \"-item-subtitle\")\n }, subTitle)), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-description\")\n }, description))));\n }\n }]);\n\n return Step;\n}(React.Component);\n\nexport { Step as default };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"prefixCls\", \"style\", \"className\", \"children\", \"direction\", \"type\", \"labelPlacement\", \"iconPrefix\", \"status\", \"size\", \"current\", \"progressDot\", \"stepIcon\", \"initial\", \"icons\", \"onChange\", \"items\"];\n\n/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */\nimport classNames from 'classnames';\nimport React from 'react';\nimport Step from \"./Step\";\n\nvar Steps = /*#__PURE__*/function (_React$Component) {\n _inherits(Steps, _React$Component);\n\n var _super = _createSuper(Steps);\n\n function Steps() {\n var _this;\n\n _classCallCheck(this, Steps);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onStepClick\", function (next) {\n var _this$props = _this.props,\n onChange = _this$props.onChange,\n current = _this$props.current;\n\n if (onChange && current !== next) {\n onChange(next);\n }\n });\n\n return _this;\n }\n\n _createClass(Steps, [{\n key: \"render\",\n value: function render() {\n var _classNames,\n _this2 = this;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n _this$props2$style = _this$props2.style,\n style = _this$props2$style === void 0 ? {} : _this$props2$style,\n className = _this$props2.className,\n children = _this$props2.children,\n direction = _this$props2.direction,\n type = _this$props2.type,\n labelPlacement = _this$props2.labelPlacement,\n iconPrefix = _this$props2.iconPrefix,\n status = _this$props2.status,\n size = _this$props2.size,\n current = _this$props2.current,\n progressDot = _this$props2.progressDot,\n stepIcon = _this$props2.stepIcon,\n initial = _this$props2.initial,\n icons = _this$props2.icons,\n onChange = _this$props2.onChange,\n _this$props2$items = _this$props2.items,\n items = _this$props2$items === void 0 ? [] : _this$props2$items,\n restProps = _objectWithoutProperties(_this$props2, _excluded);\n\n var isNav = type === 'navigation';\n var adjustedLabelPlacement = progressDot ? 'vertical' : labelPlacement;\n var classString = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(direction), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), size), _defineProperty(_classNames, \"\".concat(prefixCls, \"-label-\").concat(adjustedLabelPlacement), direction === 'horizontal'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dot\"), !!progressDot), _defineProperty(_classNames, \"\".concat(prefixCls, \"-navigation\"), isNav), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString,\n style: style\n }, restProps), items.filter(function (item) {\n return item;\n }).map(function (item, index) {\n var mergedItem = _objectSpread({}, item);\n\n var stepNumber = initial + index; // fix tail color\n\n if (status === 'error' && index === current - 1) {\n mergedItem.className = \"\".concat(prefixCls, \"-next-error\");\n }\n\n if (!mergedItem.status) {\n if (stepNumber === current) {\n mergedItem.status = status;\n } else if (stepNumber < current) {\n mergedItem.status = 'finish';\n } else {\n mergedItem.status = 'wait';\n }\n }\n\n return /*#__PURE__*/React.createElement(Step, _extends({}, mergedItem, {\n active: stepNumber === current,\n stepNumber: stepNumber + 1,\n stepIndex: stepNumber,\n key: stepNumber,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n wrapperStyle: style,\n progressDot: progressDot,\n stepIcon: stepIcon,\n icons: icons,\n onStepClick: onChange && _this2.onStepClick\n }));\n }));\n }\n }]);\n\n return Steps;\n}(React.Component);\n\n_defineProperty(Steps, \"Step\", Step);\n\n_defineProperty(Steps, \"defaultProps\", {\n type: 'default',\n prefixCls: 'rc-steps',\n iconPrefix: 'rc',\n direction: 'horizontal',\n labelPlacement: 'horizontal',\n initial: 0,\n current: 0,\n status: 'process',\n size: '',\n progressDot: false\n});\n\nexport { Steps as default };","import Steps from \"./Steps\";\nimport Step from \"./Step\";\nexport { Step };\nexport default Steps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from '../_util/warning';\nfunction filter(items) {\n return items.filter(function (item) {\n return item;\n });\n}\nexport default function useLegacyItems(items, children) {\n if (items) {\n return items;\n }\n process.env.NODE_ENV !== \"production\" ? warning(!children, 'Steps', 'Step is deprecated. Please use `items` directly.') : void 0;\n var childrenItems = toArray(children).map(function (node) {\n if ( /*#__PURE__*/React.isValidElement(node)) {\n var props = node.props;\n var item = _extends({}, props);\n return item;\n }\n return null;\n });\n return filter(childrenItems);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport RcSteps from 'rc-steps';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Progress from '../progress';\nimport useLegacyItems from './useLegacyItems';\nvar Steps = function Steps(props) {\n var _classNames;\n var percent = props.percent,\n size = props.size,\n className = props.className,\n direction = props.direction,\n items = props.items,\n _props$responsive = props.responsive,\n responsive = _props$responsive === void 0 ? true : _props$responsive,\n _props$current = props.current,\n current = _props$current === void 0 ? 0 : _props$current,\n children = props.children,\n restProps = __rest(props, [\"percent\", \"size\", \"className\", \"direction\", \"items\", \"responsive\", \"current\", \"children\"]);\n var _useBreakpoint = useBreakpoint(responsive),\n xs = _useBreakpoint.xs;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n rtlDirection = _React$useContext.direction;\n var getDirection = React.useCallback(function () {\n return responsive && xs ? 'vertical' : direction;\n }, [xs, direction]);\n var prefixCls = getPrefixCls('steps', props.prefixCls);\n var iconPrefix = getPrefixCls('', props.iconPrefix);\n var mergedItems = useLegacyItems(items, children);\n var stepsClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), rtlDirection === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-progress\"), percent !== undefined), _classNames), className);\n var icons = {\n finish: /*#__PURE__*/React.createElement(CheckOutlined, {\n className: \"\".concat(prefixCls, \"-finish-icon\")\n }),\n error: /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-error-icon\")\n })\n };\n var stepIconRender = function stepIconRender(_ref) {\n var node = _ref.node,\n status = _ref.status;\n if (status === 'process' && percent !== undefined) {\n // currently it's hard-coded, since we can't easily read the actually width of icon\n var progressWidth = size === 'small' ? 32 : 40;\n // iconWithProgress\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-progress-icon\")\n }, /*#__PURE__*/React.createElement(Progress, {\n type: \"circle\",\n percent: percent,\n width: progressWidth,\n strokeWidth: 4,\n format: function format() {\n return null;\n }\n }), node);\n }\n return node;\n };\n return /*#__PURE__*/React.createElement(RcSteps, _extends({\n icons: icons\n }, restProps, {\n current: current,\n size: size,\n items: mergedItems,\n direction: getDirection(),\n stepIcon: stepIconRender,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n className: stepsClassName\n }));\n};\nSteps.Step = RcSteps.Step;\nexport default Steps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport DatePicker from '../date-picker';\nimport warning from '../_util/warning';\nvar InternalTimePicker = DatePicker.TimePicker,\n InternalRangePicker = DatePicker.RangePicker;\nvar RangePicker = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var dropdownClassName = props.dropdownClassName,\n popupClassName = props.popupClassName;\n return /*#__PURE__*/React.createElement(InternalRangePicker, _extends({}, props, {\n dropdownClassName: popupClassName || dropdownClassName,\n picker: \"time\",\n mode: undefined,\n ref: ref\n }));\n});\nvar TimePicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var addon = _a.addon,\n renderExtraFooter = _a.renderExtraFooter,\n popupClassName = _a.popupClassName,\n dropdownClassName = _a.dropdownClassName,\n restProps = __rest(_a, [\"addon\", \"renderExtraFooter\", \"popupClassName\", \"dropdownClassName\"]);\n var internalRenderExtraFooter = React.useMemo(function () {\n if (renderExtraFooter) {\n return renderExtraFooter;\n }\n if (addon) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'TimePicker', '`addon` is deprecated. Please use `renderExtraFooter` instead.') : void 0;\n return addon;\n }\n return undefined;\n }, [addon, renderExtraFooter]);\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'TimePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n return /*#__PURE__*/React.createElement(InternalTimePicker, _extends({\n dropdownClassName: popupClassName || dropdownClassName\n }, restProps, {\n mode: undefined,\n ref: ref,\n renderExtraFooter: internalRenderExtraFooter\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n TimePicker.displayName = 'TimePicker';\n}\nTimePicker.RangePicker = RangePicker;\nexport default TimePicker;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar TimelineItem = function TimelineItem(_a) {\n var _classNames, _classNames2;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n _a$color = _a.color,\n color = _a$color === void 0 ? 'blue' : _a$color,\n dot = _a.dot,\n _a$pending = _a.pending,\n pending = _a$pending === void 0 ? false : _a$pending,\n position = _a.position,\n label = _a.label,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"color\", \"dot\", \"pending\", \"position\", \"label\", \"children\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('timeline', customizePrefixCls);\n var itemClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-pending\"), pending), _classNames), className);\n var dotClassName = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head\"), true), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head-custom\"), !!dot), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head-\").concat(color), true), _classNames2));\n var customColor = /blue|red|green|gray/.test(color || '') ? undefined : color;\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, restProps, {\n className: itemClassName\n }), label && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-label\")\n }, label), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-tail\")\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: dotClassName,\n style: {\n borderColor: customColor,\n color: customColor\n }\n }, dot), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-content\")\n }, children));\n};\nexport default TimelineItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport TimelineItem from './TimelineItem';\nvar Timeline = function Timeline(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$pending = props.pending,\n pending = _props$pending === void 0 ? null : _props$pending,\n pendingDot = props.pendingDot,\n children = props.children,\n className = props.className,\n _props$reverse = props.reverse,\n reverse = _props$reverse === void 0 ? false : _props$reverse,\n _props$mode = props.mode,\n mode = _props$mode === void 0 ? '' : _props$mode,\n restProps = __rest(props, [\"prefixCls\", \"pending\", \"pendingDot\", \"children\", \"className\", \"reverse\", \"mode\"]);\n var prefixCls = getPrefixCls('timeline', customizePrefixCls);\n var pendingNode = typeof pending === 'boolean' ? null : pending;\n var pendingItem = pending ? /*#__PURE__*/React.createElement(TimelineItem, {\n pending: !!pending,\n dot: pendingDot || /*#__PURE__*/React.createElement(LoadingOutlined, null)\n }, pendingNode) : null;\n var timeLineItems = React.Children.toArray(children);\n timeLineItems.push(pendingItem);\n if (reverse) {\n timeLineItems.reverse();\n }\n var getPositionCls = function getPositionCls(ele, idx) {\n if (mode === 'alternate') {\n if (ele.props.position === 'right') return \"\".concat(prefixCls, \"-item-right\");\n if (ele.props.position === 'left') return \"\".concat(prefixCls, \"-item-left\");\n return idx % 2 === 0 ? \"\".concat(prefixCls, \"-item-left\") : \"\".concat(prefixCls, \"-item-right\");\n }\n if (mode === 'left') return \"\".concat(prefixCls, \"-item-left\");\n if (mode === 'right') return \"\".concat(prefixCls, \"-item-right\");\n if (ele.props.position === 'right') return \"\".concat(prefixCls, \"-item-right\");\n return '';\n };\n // Remove falsy items\n var truthyItems = timeLineItems.filter(function (item) {\n return !!item;\n });\n var itemsCount = React.Children.count(truthyItems);\n var lastCls = \"\".concat(prefixCls, \"-item-last\");\n var items = React.Children.map(truthyItems, function (ele, idx) {\n var pendingClass = idx === itemsCount - 2 ? lastCls : '';\n var readyClass = idx === itemsCount - 1 ? lastCls : '';\n return cloneElement(ele, {\n className: classNames([ele.props.className, !reverse && !!pending ? pendingClass : readyClass, getPositionCls(ele, idx)])\n });\n });\n var hasLabelItem = timeLineItems.some(function (item) {\n var _a;\n return !!((_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.label);\n });\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-pending\"), !!pending), _defineProperty(_classNames, \"\".concat(prefixCls, \"-reverse\"), !!reverse), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mode), !!mode && !hasLabelItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-label\"), hasLabelItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n return /*#__PURE__*/React.createElement(\"ul\", _extends({}, restProps, {\n className: classString\n }), items);\n};\nTimeline.Item = TimelineItem;\nexport default Timeline;","import Timeline from './Timeline';\nexport default Timeline;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DeleteOutlined from \"@ant-design/icons/es/icons/DeleteOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport Checkbox from '../checkbox';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport TransButton from '../_util/transButton';\nvar ListItem = function ListItem(props) {\n var _classNames;\n var renderedText = props.renderedText,\n renderedEl = props.renderedEl,\n item = props.item,\n checked = props.checked,\n disabled = props.disabled,\n prefixCls = props.prefixCls,\n onClick = props.onClick,\n onRemove = props.onRemove,\n showRemove = props.showRemove;\n var className = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item-disabled\"), disabled || item.disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item-checked\"), checked), _classNames));\n var title;\n if (typeof renderedText === 'string' || typeof renderedText === 'number') {\n title = String(renderedText);\n }\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Transfer\",\n defaultLocale: defaultLocale.Transfer\n }, function (contextLocale) {\n var liProps = {\n className: className,\n title: title\n };\n var labelNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-item-text\")\n }, renderedEl);\n // Show remove\n if (showRemove) {\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, liProps), labelNode, /*#__PURE__*/React.createElement(TransButton, {\n disabled: disabled || item.disabled,\n className: \"\".concat(prefixCls, \"-content-item-remove\"),\n \"aria-label\": contextLocale.remove,\n onClick: function onClick() {\n onRemove === null || onRemove === void 0 ? void 0 : onRemove(item);\n }\n }, /*#__PURE__*/React.createElement(DeleteOutlined, null)));\n }\n // Default click to select\n liProps.onClick = disabled || item.disabled ? undefined : function () {\n return onClick(item);\n };\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, liProps), /*#__PURE__*/React.createElement(Checkbox, {\n className: \"\".concat(prefixCls, \"-checkbox\"),\n checked: checked,\n disabled: disabled || item.disabled\n }), labelNode);\n });\n};\nexport default /*#__PURE__*/React.memo(ListItem);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport Pagination from '../pagination';\nimport { tuple } from '../_util/type';\nimport ListItem from './ListItem';\nexport var OmitProps = tuple('handleFilter', 'handleClear', 'checkedKeys');\nfunction parsePagination(pagination) {\n if (!pagination) {\n return null;\n }\n var defaultPagination = {\n pageSize: 10,\n simple: true,\n showSizeChanger: false,\n showLessItems: false\n };\n if (_typeof(pagination) === 'object') {\n return _extends(_extends({}, defaultPagination), pagination);\n }\n return defaultPagination;\n}\nvar ListBody = /*#__PURE__*/function (_React$Component) {\n _inherits(ListBody, _React$Component);\n var _super = _createSuper(ListBody);\n function ListBody() {\n var _this;\n _classCallCheck(this, ListBody);\n _this = _super.apply(this, arguments);\n _this.state = {\n current: 1\n };\n _this.onItemSelect = function (item) {\n var _this$props = _this.props,\n onItemSelect = _this$props.onItemSelect,\n selectedKeys = _this$props.selectedKeys;\n var checked = selectedKeys.includes(item.key);\n onItemSelect(item.key, !checked);\n };\n _this.onItemRemove = function (item) {\n var onItemRemove = _this.props.onItemRemove;\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove([item.key]);\n };\n _this.onPageChange = function (current) {\n _this.setState({\n current: current\n });\n };\n _this.getItems = function () {\n var current = _this.state.current;\n var _this$props2 = _this.props,\n pagination = _this$props2.pagination,\n filteredRenderItems = _this$props2.filteredRenderItems;\n var mergedPagination = parsePagination(pagination);\n var displayItems = filteredRenderItems;\n if (mergedPagination) {\n displayItems = filteredRenderItems.slice((current - 1) * mergedPagination.pageSize, current * mergedPagination.pageSize);\n }\n return displayItems;\n };\n return _this;\n }\n _createClass(ListBody, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var current = this.state.current;\n var _this$props3 = this.props,\n prefixCls = _this$props3.prefixCls,\n onScroll = _this$props3.onScroll,\n filteredRenderItems = _this$props3.filteredRenderItems,\n selectedKeys = _this$props3.selectedKeys,\n globalDisabled = _this$props3.disabled,\n showRemove = _this$props3.showRemove,\n pagination = _this$props3.pagination;\n var mergedPagination = parsePagination(pagination);\n var paginationNode = null;\n if (mergedPagination) {\n paginationNode = /*#__PURE__*/React.createElement(Pagination, {\n simple: mergedPagination.simple,\n showSizeChanger: mergedPagination.showSizeChanger,\n showLessItems: mergedPagination.showLessItems,\n size: \"small\",\n disabled: globalDisabled,\n className: \"\".concat(prefixCls, \"-pagination\"),\n total: filteredRenderItems.length,\n pageSize: mergedPagination.pageSize,\n current: current,\n onChange: this.onPageChange\n });\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), _defineProperty({}, \"\".concat(prefixCls, \"-content-show-remove\"), showRemove)),\n onScroll: onScroll\n }, this.getItems().map(function (_ref) {\n var renderedEl = _ref.renderedEl,\n renderedText = _ref.renderedText,\n item = _ref.item;\n var disabled = item.disabled;\n var checked = selectedKeys.includes(item.key);\n return /*#__PURE__*/React.createElement(ListItem, {\n disabled: globalDisabled || disabled,\n key: item.key,\n item: item,\n renderedText: renderedText,\n renderedEl: renderedEl,\n checked: checked,\n prefixCls: prefixCls,\n onClick: _this2.onItemSelect,\n onRemove: _this2.onItemRemove,\n showRemove: showRemove\n });\n })), paginationNode);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref2, _ref3) {\n var filteredRenderItems = _ref2.filteredRenderItems,\n pagination = _ref2.pagination;\n var current = _ref3.current;\n var mergedPagination = parsePagination(pagination);\n if (mergedPagination) {\n // Calculate the page number\n var maxPageCount = Math.ceil(filteredRenderItems.length / mergedPagination.pageSize);\n if (current > maxPageCount) {\n return {\n current: maxPageCount\n };\n }\n }\n return null;\n }\n }]);\n return ListBody;\n}(React.Component);\nexport default ListBody;","import SearchOutlined from \"@ant-design/icons/es/icons/SearchOutlined\";\nimport * as React from 'react';\nimport Input from '../input';\nexport default function Search(props) {\n var _props$placeholder = props.placeholder,\n placeholder = _props$placeholder === void 0 ? '' : _props$placeholder,\n value = props.value,\n prefixCls = props.prefixCls,\n disabled = props.disabled,\n onChange = props.onChange,\n handleClear = props.handleClear;\n var handleChange = React.useCallback(function (e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(e);\n if (e.target.value === '') {\n handleClear === null || handleClear === void 0 ? void 0 : handleClear();\n }\n }, [onChange]);\n return /*#__PURE__*/React.createElement(Input, {\n placeholder: placeholder,\n className: prefixCls,\n value: value,\n onChange: handleChange,\n disabled: disabled,\n allowClear: true,\n prefix: /*#__PURE__*/React.createElement(SearchOutlined, null)\n });\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport Checkbox from '../checkbox';\nimport Dropdown from '../dropdown';\nimport { isValidElement } from '../_util/reactNode';\nimport DefaultListBody, { OmitProps } from './ListBody';\nimport Search from './search';\nvar defaultRender = function defaultRender() {\n return null;\n};\nfunction isRenderResultPlainObject(result) {\n return !!(result && !isValidElement(result) && Object.prototype.toString.call(result) === '[object Object]');\n}\nfunction getEnabledItemKeys(items) {\n return items.filter(function (data) {\n return !data.disabled;\n }).map(function (data) {\n return data.key;\n });\n}\nvar TransferList = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(TransferList, _React$PureComponent);\n var _super = _createSuper(TransferList);\n function TransferList(props) {\n var _this;\n _classCallCheck(this, TransferList);\n _this = _super.call(this, props);\n _this.defaultListBodyRef = /*#__PURE__*/React.createRef();\n // =============================== Filter ===============================\n _this.handleFilter = function (e) {\n var handleFilter = _this.props.handleFilter;\n var filterValue = e.target.value;\n _this.setState({\n filterValue: filterValue\n });\n handleFilter(e);\n };\n _this.handleClear = function () {\n var handleClear = _this.props.handleClear;\n _this.setState({\n filterValue: ''\n });\n handleClear();\n };\n _this.matchFilter = function (text, item) {\n var filterValue = _this.state.filterValue;\n var filterOption = _this.props.filterOption;\n if (filterOption) {\n return filterOption(filterValue, item);\n }\n return text.includes(filterValue);\n };\n // =============================== Render ===============================\n _this.renderListBody = function (renderList, props) {\n var bodyContent = renderList ? renderList(props) : null;\n var customize = !!bodyContent;\n if (!customize) {\n bodyContent = /*#__PURE__*/React.createElement(DefaultListBody, _extends({\n ref: _this.defaultListBodyRef\n }, props));\n }\n return {\n customize: customize,\n bodyContent: bodyContent\n };\n };\n _this.renderItem = function (item) {\n var _this$props$render = _this.props.render,\n render = _this$props$render === void 0 ? defaultRender : _this$props$render;\n var renderResult = render(item);\n var isRenderResultPlain = isRenderResultPlainObject(renderResult);\n return {\n renderedText: isRenderResultPlain ? renderResult.value : renderResult,\n renderedEl: isRenderResultPlain ? renderResult.label : renderResult,\n item: item\n };\n };\n _this.getSelectAllLabel = function (selectedCount, totalCount) {\n var _this$props = _this.props,\n itemsUnit = _this$props.itemsUnit,\n itemUnit = _this$props.itemUnit,\n selectAllLabel = _this$props.selectAllLabel;\n if (selectAllLabel) {\n return typeof selectAllLabel === 'function' ? selectAllLabel({\n selectedCount: selectedCount,\n totalCount: totalCount\n }) : selectAllLabel;\n }\n var unit = totalCount > 1 ? itemsUnit : itemUnit;\n return /*#__PURE__*/React.createElement(React.Fragment, null, (selectedCount > 0 ? \"\".concat(selectedCount, \"/\") : '') + totalCount, \" \", unit);\n };\n _this.state = {\n filterValue: ''\n };\n return _this;\n }\n _createClass(TransferList, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.triggerScrollTimer);\n }\n }, {\n key: \"getCheckStatus\",\n value: function getCheckStatus(filteredItems) {\n var checkedKeys = this.props.checkedKeys;\n if (checkedKeys.length === 0) {\n return 'none';\n }\n if (filteredItems.every(function (item) {\n return checkedKeys.includes(item.key) || !!item.disabled;\n })) {\n return 'all';\n }\n return 'part';\n }\n // ================================ Item ================================\n }, {\n key: \"getFilteredItems\",\n value: function getFilteredItems(dataSource, filterValue) {\n var _this2 = this;\n var filteredItems = [];\n var filteredRenderItems = [];\n dataSource.forEach(function (item) {\n var renderedItem = _this2.renderItem(item);\n var renderedText = renderedItem.renderedText;\n // Filter skip\n if (filterValue && !_this2.matchFilter(renderedText, item)) {\n return null;\n }\n filteredItems.push(item);\n filteredRenderItems.push(renderedItem);\n });\n return {\n filteredItems: filteredItems,\n filteredRenderItems: filteredRenderItems\n };\n }\n }, {\n key: \"getListBody\",\n value: function getListBody(prefixCls, searchPlaceholder, filterValue, filteredItems, notFoundContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled) {\n var _this3 = this;\n var search = showSearch ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-search-wrapper\")\n }, /*#__PURE__*/React.createElement(Search, {\n prefixCls: \"\".concat(prefixCls, \"-search\"),\n onChange: this.handleFilter,\n handleClear: this.handleClear,\n placeholder: searchPlaceholder,\n value: filterValue,\n disabled: disabled\n })) : null;\n var _this$renderListBody = this.renderListBody(renderList, _extends(_extends({}, omit(this.props, OmitProps)), {\n filteredItems: filteredItems,\n filteredRenderItems: filteredRenderItems,\n selectedKeys: checkedKeys\n })),\n bodyContent = _this$renderListBody.bodyContent,\n customize = _this$renderListBody.customize;\n var getNotFoundContent = function getNotFoundContent() {\n var contentIndex = _this3.props.direction === 'left' ? 0 : 1;\n return Array.isArray(notFoundContent) ? notFoundContent[contentIndex] : notFoundContent;\n };\n var bodyNode;\n // We should wrap customize list body in a classNamed div to use flex layout.\n if (customize) {\n bodyNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-customize-wrapper\")\n }, bodyContent);\n } else {\n bodyNode = filteredItems.length ? bodyContent : /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-not-found\")\n }, getNotFoundContent());\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(showSearch ? \"\".concat(prefixCls, \"-body \").concat(prefixCls, \"-body-with-search\") : \"\".concat(prefixCls, \"-body\"))\n }, search, bodyNode);\n }\n }, {\n key: \"getCheckBox\",\n value: function getCheckBox(_ref) {\n var filteredItems = _ref.filteredItems,\n onItemSelectAll = _ref.onItemSelectAll,\n disabled = _ref.disabled,\n prefixCls = _ref.prefixCls;\n var checkStatus = this.getCheckStatus(filteredItems);\n var checkedAll = checkStatus === 'all';\n var checkAllCheckbox = /*#__PURE__*/React.createElement(Checkbox, {\n disabled: disabled,\n checked: checkedAll,\n indeterminate: checkStatus === 'part',\n className: \"\".concat(prefixCls, \"-checkbox\"),\n onChange: function onChange() {\n // Only select enabled items\n onItemSelectAll(filteredItems.filter(function (item) {\n return !item.disabled;\n }).map(function (_ref2) {\n var key = _ref2.key;\n return key;\n }), !checkedAll);\n }\n });\n return checkAllCheckbox;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames,\n _this4 = this;\n var filterValue = this.state.filterValue;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n _this$props2$dataSour = _this$props2.dataSource,\n dataSource = _this$props2$dataSour === void 0 ? [] : _this$props2$dataSour,\n _this$props2$titleTex = _this$props2.titleText,\n titleText = _this$props2$titleTex === void 0 ? '' : _this$props2$titleTex,\n checkedKeys = _this$props2.checkedKeys,\n disabled = _this$props2.disabled,\n footer = _this$props2.footer,\n _this$props2$showSear = _this$props2.showSearch,\n showSearch = _this$props2$showSear === void 0 ? false : _this$props2$showSear,\n style = _this$props2.style,\n searchPlaceholder = _this$props2.searchPlaceholder,\n notFoundContent = _this$props2.notFoundContent,\n selectAll = _this$props2.selectAll,\n selectCurrent = _this$props2.selectCurrent,\n selectInvert = _this$props2.selectInvert,\n removeAll = _this$props2.removeAll,\n removeCurrent = _this$props2.removeCurrent,\n renderList = _this$props2.renderList,\n onItemSelectAll = _this$props2.onItemSelectAll,\n onItemRemove = _this$props2.onItemRemove,\n _this$props2$showSele = _this$props2.showSelectAll,\n showSelectAll = _this$props2$showSele === void 0 ? true : _this$props2$showSele,\n showRemove = _this$props2.showRemove,\n pagination = _this$props2.pagination,\n direction = _this$props2.direction;\n // Custom Layout\n var footerDom = footer && (footer.length < 2 ? footer(this.props) : footer(this.props, {\n direction: direction\n }));\n var listCls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-pagination\"), !!pagination), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-footer\"), !!footerDom), _classNames));\n // ====================== Get filtered, checked item list ======================\n var _this$getFilteredItem = this.getFilteredItems(dataSource, filterValue),\n filteredItems = _this$getFilteredItem.filteredItems,\n filteredRenderItems = _this$getFilteredItem.filteredRenderItems;\n // ================================= List Body =================================\n var listBody = this.getListBody(prefixCls, searchPlaceholder, filterValue, filteredItems, notFoundContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled);\n // ================================ List Footer ================================\n var listFooter = footerDom ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footerDom) : null;\n var checkAllCheckbox = !showRemove && !pagination && this.getCheckBox({\n filteredItems: filteredItems,\n onItemSelectAll: onItemSelectAll,\n disabled: disabled,\n prefixCls: prefixCls\n });\n var items;\n if (showRemove) {\n items = [/* Remove Current Page */\n pagination ? {\n key: 'removeCurrent',\n onClick: function onClick() {\n var _a;\n var pageKeys = getEnabledItemKeys((((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || []).map(function (entity) {\n return entity.item;\n }));\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove(pageKeys);\n },\n label: removeCurrent\n } : null, /* Remove All */\n {\n key: 'removeAll',\n onClick: function onClick() {\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove(getEnabledItemKeys(filteredItems));\n },\n label: removeAll\n }].filter(function (item) {\n return item;\n });\n } else {\n items = [{\n key: 'selectAll',\n onClick: function onClick() {\n var keys = getEnabledItemKeys(filteredItems);\n onItemSelectAll(keys, keys.length !== checkedKeys.length);\n },\n label: selectAll\n }, pagination ? {\n key: 'selectCurrent',\n onClick: function onClick() {\n var _a;\n var pageItems = ((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || [];\n onItemSelectAll(getEnabledItemKeys(pageItems.map(function (entity) {\n return entity.item;\n })), true);\n },\n label: selectCurrent\n } : null, {\n key: 'selectInvert',\n onClick: function onClick() {\n var _a;\n var availableKeys;\n if (pagination) {\n availableKeys = getEnabledItemKeys((((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || []).map(function (entity) {\n return entity.item;\n }));\n } else {\n availableKeys = getEnabledItemKeys(filteredItems);\n }\n var checkedKeySet = new Set(checkedKeys);\n var newCheckedKeys = [];\n var newUnCheckedKeys = [];\n availableKeys.forEach(function (key) {\n if (checkedKeySet.has(key)) {\n newUnCheckedKeys.push(key);\n } else {\n newCheckedKeys.push(key);\n }\n });\n onItemSelectAll(newCheckedKeys, true);\n onItemSelectAll(newUnCheckedKeys, false);\n },\n label: selectInvert\n }];\n }\n var dropdown = /*#__PURE__*/React.createElement(Dropdown, {\n className: \"\".concat(prefixCls, \"-header-dropdown\"),\n menu: {\n items: items\n },\n disabled: disabled\n }, /*#__PURE__*/React.createElement(DownOutlined, null));\n // ================================== Render ===================================\n return /*#__PURE__*/React.createElement(\"div\", {\n className: listCls,\n style: style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, showSelectAll ? /*#__PURE__*/React.createElement(React.Fragment, null, checkAllCheckbox, dropdown) : null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-selected\")\n }, this.getSelectAllLabel(checkedKeys.length, filteredItems.length)), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-title\")\n }, titleText)), listBody, listFooter);\n }\n }]);\n return TransferList;\n}(React.PureComponent);\nexport { TransferList as default };","import LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport * as React from 'react';\nimport Button from '../button';\nvar Operation = function Operation(_ref) {\n var disabled = _ref.disabled,\n moveToLeft = _ref.moveToLeft,\n moveToRight = _ref.moveToRight,\n _ref$leftArrowText = _ref.leftArrowText,\n leftArrowText = _ref$leftArrowText === void 0 ? '' : _ref$leftArrowText,\n _ref$rightArrowText = _ref.rightArrowText,\n rightArrowText = _ref$rightArrowText === void 0 ? '' : _ref$rightArrowText,\n leftActive = _ref.leftActive,\n rightActive = _ref.rightActive,\n className = _ref.className,\n style = _ref.style,\n direction = _ref.direction,\n oneWay = _ref.oneWay;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, /*#__PURE__*/React.createElement(Button, {\n type: \"primary\",\n size: \"small\",\n disabled: disabled || !rightActive,\n onClick: moveToRight,\n icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null)\n }, rightArrowText), !oneWay && /*#__PURE__*/React.createElement(Button, {\n type: \"primary\",\n size: \"small\",\n disabled: disabled || !leftActive,\n onClick: moveToLeft,\n icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n }, leftArrowText));\n};\nexport default Operation;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nimport List from './list';\nimport Operation from './operation';\nimport Search from './search';\nvar Transfer = /*#__PURE__*/function (_React$Component) {\n _inherits(Transfer, _React$Component);\n var _super = _createSuper(Transfer);\n function Transfer(props) {\n var _this;\n _classCallCheck(this, Transfer);\n _this = _super.call(this, props);\n _this.separatedDataSource = null;\n _this.setStateKeys = function (direction, keys) {\n if (direction === 'left') {\n _this.setState(function (_ref) {\n var sourceSelectedKeys = _ref.sourceSelectedKeys;\n return {\n sourceSelectedKeys: typeof keys === 'function' ? keys(sourceSelectedKeys || []) : keys\n };\n });\n } else {\n _this.setState(function (_ref2) {\n var targetSelectedKeys = _ref2.targetSelectedKeys;\n return {\n targetSelectedKeys: typeof keys === 'function' ? keys(targetSelectedKeys || []) : keys\n };\n });\n }\n };\n _this.getLocale = function (transferLocale, renderEmpty) {\n var _this$props$locale = _this.props.locale,\n locale = _this$props$locale === void 0 ? {} : _this$props$locale;\n return _extends(_extends(_extends({}, transferLocale), {\n notFoundContent: renderEmpty('Transfer')\n }), locale);\n };\n _this.moveTo = function (direction) {\n var _this$props = _this.props,\n _this$props$targetKey = _this$props.targetKeys,\n targetKeys = _this$props$targetKey === void 0 ? [] : _this$props$targetKey,\n _this$props$dataSourc = _this$props.dataSource,\n dataSource = _this$props$dataSourc === void 0 ? [] : _this$props$dataSourc,\n onChange = _this$props.onChange;\n var _this$state = _this.state,\n sourceSelectedKeys = _this$state.sourceSelectedKeys,\n targetSelectedKeys = _this$state.targetSelectedKeys;\n var moveKeys = direction === 'right' ? sourceSelectedKeys : targetSelectedKeys;\n // filter the disabled options\n var newMoveKeys = moveKeys.filter(function (key) {\n return !dataSource.some(function (data) {\n return !!(key === data.key && data.disabled);\n });\n });\n // move items to target box\n var newTargetKeys = direction === 'right' ? newMoveKeys.concat(targetKeys) : targetKeys.filter(function (targetKey) {\n return !newMoveKeys.includes(targetKey);\n });\n // empty checked keys\n var oppositeDirection = direction === 'right' ? 'left' : 'right';\n _this.setStateKeys(oppositeDirection, []);\n _this.handleSelectChange(oppositeDirection, []);\n onChange === null || onChange === void 0 ? void 0 : onChange(newTargetKeys, direction, newMoveKeys);\n };\n _this.moveToLeft = function () {\n return _this.moveTo('left');\n };\n _this.moveToRight = function () {\n return _this.moveTo('right');\n };\n _this.onItemSelectAll = function (direction, selectedKeys, checkAll) {\n _this.setStateKeys(direction, function (prevKeys) {\n var mergedCheckedKeys = [];\n if (checkAll) {\n // Merge current keys with origin key\n mergedCheckedKeys = Array.from(new Set([].concat(_toConsumableArray(prevKeys), _toConsumableArray(selectedKeys))));\n } else {\n // Remove current keys from origin keys\n mergedCheckedKeys = prevKeys.filter(function (key) {\n return !selectedKeys.includes(key);\n });\n }\n _this.handleSelectChange(direction, mergedCheckedKeys);\n return mergedCheckedKeys;\n });\n };\n _this.onLeftItemSelectAll = function (selectedKeys, checkAll) {\n return _this.onItemSelectAll('left', selectedKeys, checkAll);\n };\n _this.onRightItemSelectAll = function (selectedKeys, checkAll) {\n return _this.onItemSelectAll('right', selectedKeys, checkAll);\n };\n _this.handleFilter = function (direction, e) {\n var onSearch = _this.props.onSearch;\n var value = e.target.value;\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(direction, value);\n };\n _this.handleLeftFilter = function (e) {\n return _this.handleFilter('left', e);\n };\n _this.handleRightFilter = function (e) {\n return _this.handleFilter('right', e);\n };\n _this.handleClear = function (direction) {\n var onSearch = _this.props.onSearch;\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(direction, '');\n };\n _this.handleLeftClear = function () {\n return _this.handleClear('left');\n };\n _this.handleRightClear = function () {\n return _this.handleClear('right');\n };\n _this.onItemSelect = function (direction, selectedKey, checked) {\n var _this$state2 = _this.state,\n sourceSelectedKeys = _this$state2.sourceSelectedKeys,\n targetSelectedKeys = _this$state2.targetSelectedKeys;\n var holder = direction === 'left' ? _toConsumableArray(sourceSelectedKeys) : _toConsumableArray(targetSelectedKeys);\n var index = holder.indexOf(selectedKey);\n if (index > -1) {\n holder.splice(index, 1);\n }\n if (checked) {\n holder.push(selectedKey);\n }\n _this.handleSelectChange(direction, holder);\n if (!_this.props.selectedKeys) {\n _this.setStateKeys(direction, holder);\n }\n };\n _this.onLeftItemSelect = function (selectedKey, checked) {\n return _this.onItemSelect('left', selectedKey, checked);\n };\n _this.onRightItemSelect = function (selectedKey, checked) {\n return _this.onItemSelect('right', selectedKey, checked);\n };\n _this.onRightItemRemove = function (selectedKeys) {\n var _this$props2 = _this.props,\n _this$props2$targetKe = _this$props2.targetKeys,\n targetKeys = _this$props2$targetKe === void 0 ? [] : _this$props2$targetKe,\n onChange = _this$props2.onChange;\n _this.setStateKeys('right', []);\n onChange === null || onChange === void 0 ? void 0 : onChange(targetKeys.filter(function (key) {\n return !selectedKeys.includes(key);\n }), 'left', _toConsumableArray(selectedKeys));\n };\n _this.handleScroll = function (direction, e) {\n var onScroll = _this.props.onScroll;\n onScroll === null || onScroll === void 0 ? void 0 : onScroll(direction, e);\n };\n _this.handleLeftScroll = function (e) {\n return _this.handleScroll('left', e);\n };\n _this.handleRightScroll = function (e) {\n return _this.handleScroll('right', e);\n };\n // eslint-disable-next-line class-methods-use-this\n _this.handleListStyle = function (listStyle, direction) {\n if (typeof listStyle === 'function') {\n return listStyle({\n direction: direction\n });\n }\n return listStyle;\n };\n var _props$selectedKeys = props.selectedKeys,\n selectedKeys = _props$selectedKeys === void 0 ? [] : _props$selectedKeys,\n _props$targetKeys = props.targetKeys,\n targetKeys = _props$targetKeys === void 0 ? [] : _props$targetKeys;\n _this.state = {\n sourceSelectedKeys: selectedKeys.filter(function (key) {\n return !targetKeys.includes(key);\n }),\n targetSelectedKeys: selectedKeys.filter(function (key) {\n return targetKeys.includes(key);\n })\n };\n return _this;\n }\n _createClass(Transfer, [{\n key: \"getTitles\",\n value: function getTitles(transferLocale) {\n var _a, _b;\n return (_b = (_a = this.props.titles) !== null && _a !== void 0 ? _a : transferLocale.titles) !== null && _b !== void 0 ? _b : [];\n }\n }, {\n key: \"handleSelectChange\",\n value: function handleSelectChange(direction, holder) {\n var _this$state3 = this.state,\n sourceSelectedKeys = _this$state3.sourceSelectedKeys,\n targetSelectedKeys = _this$state3.targetSelectedKeys;\n var onSelectChange = this.props.onSelectChange;\n if (!onSelectChange) {\n return;\n }\n if (direction === 'left') {\n onSelectChange(holder, targetSelectedKeys);\n } else {\n onSelectChange(sourceSelectedKeys, holder);\n }\n }\n }, {\n key: \"separateDataSource\",\n value: function separateDataSource() {\n var _this$props3 = this.props,\n _this$props3$dataSour = _this$props3.dataSource,\n dataSource = _this$props3$dataSour === void 0 ? [] : _this$props3$dataSour,\n rowKey = _this$props3.rowKey,\n _this$props3$targetKe = _this$props3.targetKeys,\n targetKeys = _this$props3$targetKe === void 0 ? [] : _this$props3$targetKe;\n var leftDataSource = [];\n var rightDataSource = new Array(targetKeys.length);\n dataSource.forEach(function (record) {\n if (rowKey) {\n record = _extends(_extends({}, record), {\n key: rowKey(record)\n });\n }\n // rightDataSource should be ordered by targetKeys\n // leftDataSource should be ordered by dataSource\n var indexOfKey = targetKeys.indexOf(record.key);\n if (indexOfKey !== -1) {\n rightDataSource[indexOfKey] = record;\n } else {\n leftDataSource.push(record);\n }\n });\n return {\n leftDataSource: leftDataSource,\n rightDataSource: rightDataSource\n };\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Transfer\",\n defaultLocale: defaultLocale.Transfer\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref3) {\n var getPrefixCls = _ref3.getPrefixCls,\n renderEmpty = _ref3.renderEmpty,\n direction = _ref3.direction;\n return /*#__PURE__*/React.createElement(FormItemInputContext.Consumer, null, function (_ref4) {\n var _classNames;\n var hasFeedback = _ref4.hasFeedback,\n contextStatus = _ref4.status;\n var _this2$props = _this2.props,\n customizePrefixCls = _this2$props.prefixCls,\n className = _this2$props.className,\n disabled = _this2$props.disabled,\n _this2$props$operatio = _this2$props.operations,\n operations = _this2$props$operatio === void 0 ? [] : _this2$props$operatio,\n _this2$props$showSear = _this2$props.showSearch,\n showSearch = _this2$props$showSear === void 0 ? false : _this2$props$showSear,\n footer = _this2$props.footer,\n style = _this2$props.style,\n _this2$props$listStyl = _this2$props.listStyle,\n listStyle = _this2$props$listStyl === void 0 ? {} : _this2$props$listStyl,\n operationStyle = _this2$props.operationStyle,\n filterOption = _this2$props.filterOption,\n render = _this2$props.render,\n children = _this2$props.children,\n showSelectAll = _this2$props.showSelectAll,\n oneWay = _this2$props.oneWay,\n pagination = _this2$props.pagination,\n customStatus = _this2$props.status;\n var prefixCls = getPrefixCls('transfer', customizePrefixCls);\n var locale = _this2.getLocale(contextLocale, renderEmpty || defaultRenderEmpty);\n var _this2$state = _this2.state,\n sourceSelectedKeys = _this2$state.sourceSelectedKeys,\n targetSelectedKeys = _this2$state.targetSelectedKeys;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var mergedPagination = !children && pagination;\n var _this2$separateDataSo = _this2.separateDataSource(),\n leftDataSource = _this2$separateDataSo.leftDataSource,\n rightDataSource = _this2$separateDataSo.rightDataSource;\n var leftActive = targetSelectedKeys.length > 0;\n var rightActive = sourceSelectedKeys.length > 0;\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-customize-list\"), !!children), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), className);\n var titles = _this2.getTitles(locale);\n var selectAllLabels = _this2.props.selectAllLabels || [];\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, /*#__PURE__*/React.createElement(List, _extends({\n prefixCls: \"\".concat(prefixCls, \"-list\"),\n titleText: titles === null || titles === void 0 ? void 0 : titles[0],\n dataSource: leftDataSource,\n filterOption: filterOption,\n style: _this2.handleListStyle(listStyle, 'left'),\n checkedKeys: sourceSelectedKeys,\n handleFilter: _this2.handleLeftFilter,\n handleClear: _this2.handleLeftClear,\n onItemSelect: _this2.onLeftItemSelect,\n onItemSelectAll: _this2.onLeftItemSelectAll,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: _this2.handleLeftScroll,\n disabled: disabled,\n direction: direction === 'rtl' ? 'right' : 'left',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[0],\n pagination: mergedPagination\n }, locale)), /*#__PURE__*/React.createElement(Operation, {\n className: \"\".concat(prefixCls, \"-operation\"),\n rightActive: rightActive,\n rightArrowText: operations[0],\n moveToRight: _this2.moveToRight,\n leftActive: leftActive,\n leftArrowText: operations[1],\n moveToLeft: _this2.moveToLeft,\n style: operationStyle,\n disabled: disabled,\n direction: direction,\n oneWay: oneWay\n }), /*#__PURE__*/React.createElement(List, _extends({\n prefixCls: \"\".concat(prefixCls, \"-list\"),\n titleText: titles === null || titles === void 0 ? void 0 : titles[1],\n dataSource: rightDataSource,\n filterOption: filterOption,\n style: _this2.handleListStyle(listStyle, 'right'),\n checkedKeys: targetSelectedKeys,\n handleFilter: _this2.handleRightFilter,\n handleClear: _this2.handleRightClear,\n onItemSelect: _this2.onRightItemSelect,\n onItemSelectAll: _this2.onRightItemSelectAll,\n onItemRemove: _this2.onRightItemRemove,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: _this2.handleRightScroll,\n disabled: disabled,\n direction: direction === 'rtl' ? 'left' : 'right',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[1],\n showRemove: oneWay,\n pagination: mergedPagination\n }, locale)));\n });\n });\n });\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref5) {\n var selectedKeys = _ref5.selectedKeys,\n targetKeys = _ref5.targetKeys,\n pagination = _ref5.pagination,\n children = _ref5.children;\n if (selectedKeys) {\n var mergedTargetKeys = targetKeys || [];\n return {\n sourceSelectedKeys: selectedKeys.filter(function (key) {\n return !mergedTargetKeys.includes(key);\n }),\n targetSelectedKeys: selectedKeys.filter(function (key) {\n return mergedTargetKeys.includes(key);\n })\n };\n }\n process.env.NODE_ENV !== \"production\" ? warning(!pagination || !children, 'Transfer', '`pagination` not support customize render list.') : void 0;\n return null;\n }\n }]);\n return Transfer;\n}(React.Component); // For high-level customized Transfer @dqaria\nTransfer.List = List;\nTransfer.Operation = Operation;\nTransfer.Search = Search;\nexport default Transfer;","import * as React from 'react';\nvar LegacySelectContext = /*#__PURE__*/React.createContext(null);\nexport default LegacySelectContext;","import * as React from 'react';\nvar TreeSelectContext = /*#__PURE__*/React.createContext(null);\nexport default TreeSelectContext;","export function toArray(value) {\n if (Array.isArray(value)) {\n return value;\n }\n\n return value !== undefined ? [value] : [];\n}\nexport function fillFieldNames(fieldNames) {\n var _ref = fieldNames || {},\n label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n\n var mergedValue = value || 'value';\n return {\n _title: label ? [label] : ['title', 'label'],\n value: mergedValue,\n key: mergedValue,\n children: children || 'children'\n };\n}\nexport function isCheckDisabled(node) {\n return !node || node.disabled || node.disableCheckbox || node.checkable === false;\n}\n/** Loop fetch all the keys exist in the tree */\n\nexport function getAllKeys(treeData, fieldNames) {\n var keys = [];\n\n function dig(list) {\n list.forEach(function (item) {\n var children = item[fieldNames.children];\n\n if (children) {\n keys.push(item[fieldNames.value]);\n dig(children);\n }\n });\n }\n\n dig(treeData);\n return keys;\n}\nexport function isNil(val) {\n return val === null || val === undefined;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport { useBaseProps } from 'rc-select';\nimport Tree from 'rc-tree';\nimport LegacyContext from \"./LegacyContext\";\nimport TreeSelectContext from \"./TreeSelectContext\";\nimport { getAllKeys, isCheckDisabled } from \"./utils/valueUtil\";\nvar HIDDEN_STYLE = {\n width: 0,\n height: 0,\n display: 'flex',\n overflow: 'hidden',\n opacity: 0,\n border: 0,\n padding: 0,\n margin: 0\n};\n\nvar OptionList = function OptionList(_, ref) {\n var _useBaseProps = useBaseProps(),\n prefixCls = _useBaseProps.prefixCls,\n multiple = _useBaseProps.multiple,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n open = _useBaseProps.open,\n notFoundContent = _useBaseProps.notFoundContent;\n\n var _React$useContext = React.useContext(TreeSelectContext),\n virtual = _React$useContext.virtual,\n listHeight = _React$useContext.listHeight,\n listItemHeight = _React$useContext.listItemHeight,\n treeData = _React$useContext.treeData,\n fieldNames = _React$useContext.fieldNames,\n onSelect = _React$useContext.onSelect,\n dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth,\n treeExpandAction = _React$useContext.treeExpandAction;\n\n var _React$useContext2 = React.useContext(LegacyContext),\n checkable = _React$useContext2.checkable,\n checkedKeys = _React$useContext2.checkedKeys,\n halfCheckedKeys = _React$useContext2.halfCheckedKeys,\n treeExpandedKeys = _React$useContext2.treeExpandedKeys,\n treeDefaultExpandAll = _React$useContext2.treeDefaultExpandAll,\n treeDefaultExpandedKeys = _React$useContext2.treeDefaultExpandedKeys,\n onTreeExpand = _React$useContext2.onTreeExpand,\n treeIcon = _React$useContext2.treeIcon,\n showTreeIcon = _React$useContext2.showTreeIcon,\n switcherIcon = _React$useContext2.switcherIcon,\n treeLine = _React$useContext2.treeLine,\n treeNodeFilterProp = _React$useContext2.treeNodeFilterProp,\n loadData = _React$useContext2.loadData,\n treeLoadedKeys = _React$useContext2.treeLoadedKeys,\n treeMotion = _React$useContext2.treeMotion,\n onTreeLoad = _React$useContext2.onTreeLoad,\n keyEntities = _React$useContext2.keyEntities;\n\n var treeRef = React.useRef();\n var memoTreeData = useMemo(function () {\n return treeData;\n }, [open, treeData], function (prev, next) {\n return next[0] && prev[1] !== next[1];\n }); // ========================== Values ==========================\n\n var mergedCheckedKeys = React.useMemo(function () {\n if (!checkable) {\n return null;\n }\n\n return {\n checked: checkedKeys,\n halfChecked: halfCheckedKeys\n };\n }, [checkable, checkedKeys, halfCheckedKeys]); // ========================== Scroll ==========================\n\n React.useEffect(function () {\n // Single mode should scroll to current key\n if (open && !multiple && checkedKeys.length) {\n var _treeRef$current;\n\n (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.scrollTo({\n key: checkedKeys[0]\n });\n }\n }, [open]); // ========================== Search ==========================\n\n var lowerSearchValue = String(searchValue).toLowerCase();\n\n var filterTreeNode = function filterTreeNode(treeNode) {\n if (!lowerSearchValue) {\n return false;\n }\n\n return String(treeNode[treeNodeFilterProp]).toLowerCase().includes(lowerSearchValue);\n }; // =========================== Keys ===========================\n\n\n var _React$useState = React.useState(treeDefaultExpandedKeys),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n expandedKeys = _React$useState2[0],\n setExpandedKeys = _React$useState2[1];\n\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n searchExpandedKeys = _React$useState4[0],\n setSearchExpandedKeys = _React$useState4[1];\n\n var mergedExpandedKeys = React.useMemo(function () {\n if (treeExpandedKeys) {\n return _toConsumableArray(treeExpandedKeys);\n }\n\n return searchValue ? searchExpandedKeys : expandedKeys;\n }, [expandedKeys, searchExpandedKeys, treeExpandedKeys, searchValue]);\n React.useEffect(function () {\n if (searchValue) {\n setSearchExpandedKeys(getAllKeys(treeData, fieldNames));\n }\n }, [searchValue]);\n\n var onInternalExpand = function onInternalExpand(keys) {\n setExpandedKeys(keys);\n setSearchExpandedKeys(keys);\n\n if (onTreeExpand) {\n onTreeExpand(keys);\n }\n }; // ========================== Events ==========================\n\n\n var onListMouseDown = function onListMouseDown(event) {\n event.preventDefault();\n };\n\n var onInternalSelect = function onInternalSelect(__, info) {\n var node = info.node;\n\n if (checkable && isCheckDisabled(node)) {\n return;\n }\n\n onSelect(node.key, {\n selected: !checkedKeys.includes(node.key)\n });\n\n if (!multiple) {\n toggleOpen(false);\n }\n }; // ========================= Keyboard =========================\n\n\n var _React$useState5 = React.useState(null),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n activeKey = _React$useState6[0],\n setActiveKey = _React$useState6[1];\n\n var activeEntity = keyEntities[activeKey];\n React.useImperativeHandle(ref, function () {\n var _treeRef$current2;\n\n return {\n scrollTo: (_treeRef$current2 = treeRef.current) === null || _treeRef$current2 === void 0 ? void 0 : _treeRef$current2.scrollTo,\n onKeyDown: function onKeyDown(event) {\n var _treeRef$current3;\n\n var which = event.which;\n\n switch (which) {\n // >>> Arrow keys\n case KeyCode.UP:\n case KeyCode.DOWN:\n case KeyCode.LEFT:\n case KeyCode.RIGHT:\n (_treeRef$current3 = treeRef.current) === null || _treeRef$current3 === void 0 ? void 0 : _treeRef$current3.onKeyDown(event);\n break;\n // >>> Select item\n\n case KeyCode.ENTER:\n {\n if (activeEntity) {\n var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {},\n selectable = _ref.selectable,\n value = _ref.value;\n\n if (selectable !== false) {\n onInternalSelect(null, {\n node: {\n key: activeKey\n },\n selected: !checkedKeys.includes(value)\n });\n }\n }\n\n break;\n }\n // >>> Close\n\n case KeyCode.ESC:\n {\n toggleOpen(false);\n }\n }\n },\n onKeyUp: function onKeyUp() {}\n };\n }); // ========================== Render ==========================\n\n if (memoTreeData.length === 0) {\n return /*#__PURE__*/React.createElement(\"div\", {\n role: \"listbox\",\n className: \"\".concat(prefixCls, \"-empty\"),\n onMouseDown: onListMouseDown\n }, notFoundContent);\n }\n\n var treeProps = {\n fieldNames: fieldNames\n };\n\n if (treeLoadedKeys) {\n treeProps.loadedKeys = treeLoadedKeys;\n }\n\n if (mergedExpandedKeys) {\n treeProps.expandedKeys = mergedExpandedKeys;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onListMouseDown\n }, activeEntity && open && /*#__PURE__*/React.createElement(\"span\", {\n style: HIDDEN_STYLE,\n \"aria-live\": \"assertive\"\n }, activeEntity.node.value), /*#__PURE__*/React.createElement(Tree, _extends({\n ref: treeRef,\n focusable: false,\n prefixCls: \"\".concat(prefixCls, \"-tree\"),\n treeData: memoTreeData,\n height: listHeight,\n itemHeight: listItemHeight,\n virtual: virtual !== false && dropdownMatchSelectWidth !== false,\n multiple: multiple,\n icon: treeIcon,\n showIcon: showTreeIcon,\n switcherIcon: switcherIcon,\n showLine: treeLine,\n loadData: searchValue ? null : loadData,\n motion: treeMotion,\n activeKey: activeKey // We handle keys by out instead tree self\n ,\n checkable: checkable,\n checkStrictly: true,\n checkedKeys: mergedCheckedKeys,\n selectedKeys: !checkable ? checkedKeys : [],\n defaultExpandAll: treeDefaultExpandAll\n }, treeProps, {\n // Proxy event out\n onActiveChange: setActiveKey,\n onSelect: onInternalSelect,\n onCheck: onInternalSelect,\n onExpand: onInternalExpand,\n onLoad: onTreeLoad,\n filterTreeNode: filterTreeNode,\n expandAction: treeExpandAction\n })));\n};\n\nvar RefOptionList = /*#__PURE__*/React.forwardRef(OptionList);\nRefOptionList.displayName = 'OptionList';\nexport default RefOptionList;","/* istanbul ignore file */\n\n/** This is a placeholder, not real render in dom */\nvar TreeNode = function TreeNode() {\n return null;\n};\n\nexport default TreeNode;","import { isCheckDisabled } from \"./valueUtil\";\nexport var SHOW_ALL = 'SHOW_ALL';\nexport var SHOW_PARENT = 'SHOW_PARENT';\nexport var SHOW_CHILD = 'SHOW_CHILD';\nexport function formatStrategyValues(values, strategy, keyEntities, fieldNames) {\n var valueSet = new Set(values);\n\n if (strategy === SHOW_CHILD) {\n return values.filter(function (key) {\n var entity = keyEntities[key];\n\n if (entity && entity.children && entity.children.some(function (_ref) {\n var node = _ref.node;\n return valueSet.has(node[fieldNames.value]);\n }) && entity.children.every(function (_ref2) {\n var node = _ref2.node;\n return isCheckDisabled(node) || valueSet.has(node[fieldNames.value]);\n })) {\n return false;\n }\n\n return true;\n });\n }\n\n if (strategy === SHOW_PARENT) {\n return values.filter(function (key) {\n var entity = keyEntities[key];\n var parent = entity ? entity.parent : null;\n\n if (parent && !isCheckDisabled(parent.node) && valueSet.has(parent.key)) {\n return false;\n }\n\n return true;\n });\n }\n\n return values;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"children\", \"value\"];\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport TreeNode from \"../TreeNode\";\nexport function convertChildrenToData(nodes) {\n return toArray(nodes).map(function (node) {\n if (! /*#__PURE__*/React.isValidElement(node) || !node.type) {\n return null;\n }\n\n var _ref = node,\n key = _ref.key,\n _ref$props = _ref.props,\n children = _ref$props.children,\n value = _ref$props.value,\n restProps = _objectWithoutProperties(_ref$props, _excluded);\n\n var data = _objectSpread({\n key: key,\n value: value\n }, restProps);\n\n var childData = convertChildrenToData(children);\n\n if (childData.length) {\n data.children = childData;\n }\n\n return data;\n }).filter(function (data) {\n return data;\n });\n}\nexport function fillLegacyProps(dataNode) {\n if (!dataNode) {\n return dataNode;\n }\n\n var cloneNode = _objectSpread({}, dataNode);\n\n if (!('props' in cloneNode)) {\n Object.defineProperty(cloneNode, 'props', {\n get: function get() {\n warning(false, 'New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access.');\n return cloneNode;\n }\n });\n }\n\n return cloneNode;\n}\nexport function fillAdditionalInfo(extra, triggerValue, checkedValues, treeData, showPosition, fieldNames) {\n var triggerNode = null;\n var nodeList = null;\n\n function generateMap() {\n function dig(list) {\n var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';\n var parentIncluded = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return list.map(function (option, index) {\n var pos = \"\".concat(level, \"-\").concat(index);\n var value = option[fieldNames.value];\n var included = checkedValues.includes(value);\n var children = dig(option[fieldNames.children] || [], pos, included);\n var node = /*#__PURE__*/React.createElement(TreeNode, option, children.map(function (child) {\n return child.node;\n })); // Link with trigger node\n\n if (triggerValue === value) {\n triggerNode = node;\n }\n\n if (included) {\n var checkedNode = {\n pos: pos,\n node: node,\n children: children\n };\n\n if (!parentIncluded) {\n nodeList.push(checkedNode);\n }\n\n return checkedNode;\n }\n\n return null;\n }).filter(function (node) {\n return node;\n });\n }\n\n if (!nodeList) {\n nodeList = [];\n dig(treeData); // Sort to keep the checked node length\n\n nodeList.sort(function (_ref2, _ref3) {\n var val1 = _ref2.node.props.value;\n var val2 = _ref3.node.props.value;\n var index1 = checkedValues.indexOf(val1);\n var index2 = checkedValues.indexOf(val2);\n return index1 - index2;\n });\n }\n }\n\n Object.defineProperty(extra, 'triggerNode', {\n get: function get() {\n warning(false, '`triggerNode` is deprecated. Please consider decoupling data with node.');\n generateMap();\n return triggerNode;\n }\n });\n Object.defineProperty(extra, 'allCheckedNodes', {\n get: function get() {\n warning(false, '`allCheckedNodes` is deprecated. Please consider decoupling data with node.');\n generateMap();\n\n if (showPosition) {\n return nodeList;\n }\n\n return nodeList.map(function (_ref4) {\n var node = _ref4.node;\n return node;\n });\n }\n });\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertChildrenToData } from \"../utils/legacyUtil\";\n\nfunction parseSimpleTreeData(treeData, _ref) {\n var id = _ref.id,\n pId = _ref.pId,\n rootPId = _ref.rootPId;\n var keyNodes = {};\n var rootNodeList = []; // Fill in the map\n\n var nodeList = treeData.map(function (node) {\n var clone = _objectSpread({}, node);\n\n var key = clone[id];\n keyNodes[key] = clone;\n clone.key = clone.key || key;\n return clone;\n }); // Connect tree\n\n nodeList.forEach(function (node) {\n var parentKey = node[pId];\n var parent = keyNodes[parentKey]; // Fill parent\n\n if (parent) {\n parent.children = parent.children || [];\n parent.children.push(node);\n } // Fill root tree node\n\n\n if (parentKey === rootPId || !parent && rootPId === null) {\n rootNodeList.push(node);\n }\n });\n return rootNodeList;\n}\n/**\n * Convert `treeData` or `children` into formatted `treeData`.\n * Will not re-calculate if `treeData` or `children` not change.\n */\n\n\nexport default function useTreeData(treeData, children, simpleMode) {\n return React.useMemo(function () {\n if (treeData) {\n return simpleMode ? parseSimpleTreeData(treeData, _objectSpread({\n id: 'id',\n pId: 'pId',\n rootPId: null\n }, simpleMode !== true ? simpleMode : {})) : treeData;\n }\n\n return convertChildrenToData(children);\n }, [children, simpleMode, treeData]);\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\n\n/**\n * This function will try to call requestIdleCallback if available to save performance.\n * No need `getLabel` here since already fetch on `rawLabeledValue`.\n */\nexport default (function (values) {\n var cacheRef = React.useRef({\n valueLabels: new Map()\n });\n return React.useMemo(function () {\n var valueLabels = cacheRef.current.valueLabels;\n var valueLabelsCache = new Map();\n var filledValues = values.map(function (item) {\n var _item$label;\n\n var value = item.value;\n var mergedLabel = (_item$label = item.label) !== null && _item$label !== void 0 ? _item$label : valueLabels.get(value); // Save in cache\n\n valueLabelsCache.set(value, mergedLabel);\n return _objectSpread(_objectSpread({}, item), {}, {\n label: mergedLabel\n });\n });\n cacheRef.current.valueLabels = valueLabelsCache;\n return [filledValues];\n }, [values]);\n});","import * as React from 'react';\n/**\n * Same as `React.useCallback` but always return a memoized function\n * but redirect to real function.\n */\n\nexport default function useRefFunc(callback) {\n var funcRef = React.useRef();\n funcRef.current = callback;\n var cacheFn = React.useCallback(function () {\n return funcRef.current.apply(funcRef, arguments);\n }, []);\n return cacheFn;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertDataToEntities } from \"rc-tree/es/utils/treeUtil\";\nimport warning from \"rc-util/es/warning\";\nimport { isNil } from \"../utils/valueUtil\";\nexport default (function (treeData, fieldNames) {\n return React.useMemo(function () {\n var collection = convertDataToEntities(treeData, {\n fieldNames: fieldNames,\n initWrapper: function initWrapper(wrapper) {\n return _objectSpread(_objectSpread({}, wrapper), {}, {\n valueEntities: new Map()\n });\n },\n processEntity: function processEntity(entity, wrapper) {\n var val = entity.node[fieldNames.value]; // Check if exist same value\n\n if (process.env.NODE_ENV !== 'production') {\n var key = entity.node.key;\n warning(!isNil(val), 'TreeNode `value` is invalidate: undefined');\n warning(!wrapper.valueEntities.has(val), \"Same `value` exist in the tree: \".concat(val));\n warning(!key || String(key) === String(val), \"`key` or `value` with TreeNode must be the same or you can remove one of them. key: \".concat(key, \", value: \").concat(val, \".\"));\n }\n\n wrapper.valueEntities.set(val, entity);\n }\n });\n return collection;\n }, [treeData, fieldNames]);\n});","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nexport default (function (rawLabeledValues, rawHalfCheckedValues, treeConduction, keyEntities) {\n return React.useMemo(function () {\n var checkedKeys = rawLabeledValues.map(function (_ref) {\n var value = _ref.value;\n return value;\n });\n var halfCheckedKeys = rawHalfCheckedValues.map(function (_ref2) {\n var value = _ref2.value;\n return value;\n });\n var missingValues = checkedKeys.filter(function (key) {\n return !keyEntities[key];\n });\n\n if (treeConduction) {\n var _conductCheck = conductCheck(checkedKeys, true, keyEntities);\n\n checkedKeys = _conductCheck.checkedKeys;\n halfCheckedKeys = _conductCheck.halfCheckedKeys;\n }\n\n return [// Checked keys should fill with missing keys which should de-duplicated\n Array.from(new Set([].concat(_toConsumableArray(missingValues), _toConsumableArray(checkedKeys)))), // Half checked keys\n halfCheckedKeys];\n }, [rawLabeledValues, rawHalfCheckedValues, treeConduction, keyEntities]);\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { fillLegacyProps } from \"../utils/legacyUtil\";\nexport default (function (treeData, searchValue, _ref) {\n var treeNodeFilterProp = _ref.treeNodeFilterProp,\n filterTreeNode = _ref.filterTreeNode,\n fieldNames = _ref.fieldNames;\n var fieldChildren = fieldNames.children;\n return React.useMemo(function () {\n if (!searchValue || filterTreeNode === false) {\n return treeData;\n }\n\n var filterOptionFunc;\n\n if (typeof filterTreeNode === 'function') {\n filterOptionFunc = filterTreeNode;\n } else {\n var upperStr = searchValue.toUpperCase();\n\n filterOptionFunc = function filterOptionFunc(_, dataNode) {\n var value = dataNode[treeNodeFilterProp];\n return String(value).toUpperCase().includes(upperStr);\n };\n }\n\n function dig(list) {\n var keepAll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return list.map(function (dataNode) {\n var children = dataNode[fieldChildren];\n var match = keepAll || filterOptionFunc(searchValue, fillLegacyProps(dataNode));\n var childList = dig(children || [], match);\n\n if (match || childList.length) {\n return _objectSpread(_objectSpread({}, dataNode), {}, _defineProperty({\n isLeaf: undefined\n }, fieldChildren, childList));\n }\n\n return null;\n }).filter(function (node) {\n return node;\n });\n }\n\n return dig(treeData);\n }, [treeData, searchValue, fieldChildren, treeNodeFilterProp, filterTreeNode]);\n});","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport warning from \"rc-util/es/warning\";\nimport { toArray } from \"./valueUtil\";\n\nfunction warningProps(props) {\n var searchPlaceholder = props.searchPlaceholder,\n treeCheckStrictly = props.treeCheckStrictly,\n treeCheckable = props.treeCheckable,\n labelInValue = props.labelInValue,\n value = props.value,\n multiple = props.multiple;\n warning(!searchPlaceholder, '`searchPlaceholder` has been removed.');\n\n if (treeCheckStrictly && labelInValue === false) {\n warning(false, '`treeCheckStrictly` will force set `labelInValue` to `true`.');\n }\n\n if (labelInValue || treeCheckStrictly) {\n warning(toArray(value).every(function (val) {\n return val && _typeof(val) === 'object' && 'value' in val;\n }), 'Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead.');\n }\n\n if (treeCheckStrictly || multiple || treeCheckable) {\n warning(!value || Array.isArray(value), '`value` should be an array when `TreeSelect` is checkable or multiple.');\n } else {\n warning(!Array.isArray(value), '`value` should not be array when `TreeSelect` is single mode.');\n }\n}\n\nexport default warningProps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"id\", \"prefixCls\", \"value\", \"defaultValue\", \"onChange\", \"onSelect\", \"onDeselect\", \"searchValue\", \"inputValue\", \"onSearch\", \"autoClearSearchValue\", \"filterTreeNode\", \"treeNodeFilterProp\", \"showCheckedStrategy\", \"treeNodeLabelProp\", \"multiple\", \"treeCheckable\", \"treeCheckStrictly\", \"labelInValue\", \"fieldNames\", \"treeDataSimpleMode\", \"treeData\", \"children\", \"loadData\", \"treeLoadedKeys\", \"onTreeLoad\", \"treeDefaultExpandAll\", \"treeExpandedKeys\", \"treeDefaultExpandedKeys\", \"onTreeExpand\", \"treeExpandAction\", \"virtual\", \"listHeight\", \"listItemHeight\", \"onDropdownVisibleChange\", \"dropdownMatchSelectWidth\", \"treeLine\", \"treeIcon\", \"showTreeIcon\", \"switcherIcon\", \"treeMotion\"];\nimport * as React from 'react';\nimport { BaseSelect } from 'rc-select';\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nimport useId from \"rc-select/es/hooks/useId\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport OptionList from \"./OptionList\";\nimport TreeNode from \"./TreeNode\";\nimport { formatStrategyValues, SHOW_ALL, SHOW_PARENT, SHOW_CHILD } from \"./utils/strategyUtil\";\nimport TreeSelectContext from \"./TreeSelectContext\";\nimport LegacyContext from \"./LegacyContext\";\nimport useTreeData from \"./hooks/useTreeData\";\nimport { toArray, fillFieldNames, isNil } from \"./utils/valueUtil\";\nimport useCache from \"./hooks/useCache\";\nimport useRefFunc from \"./hooks/useRefFunc\";\nimport useDataEntities from \"./hooks/useDataEntities\";\nimport { fillAdditionalInfo, fillLegacyProps } from \"./utils/legacyUtil\";\nimport useCheckedKeys from \"./hooks/useCheckedKeys\";\nimport useFilterTreeData from \"./hooks/useFilterTreeData\";\nimport warningProps from \"./utils/warningPropsUtil\";\nimport warning from \"rc-util/es/warning\";\n\nfunction isRawValue(value) {\n return !value || _typeof(value) !== 'object';\n}\n\nvar TreeSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var id = props.id,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tree-select' : _props$prefixCls,\n value = props.value,\n defaultValue = props.defaultValue,\n onChange = props.onChange,\n onSelect = props.onSelect,\n onDeselect = props.onDeselect,\n searchValue = props.searchValue,\n inputValue = props.inputValue,\n onSearch = props.onSearch,\n _props$autoClearSearc = props.autoClearSearchValue,\n autoClearSearchValue = _props$autoClearSearc === void 0 ? true : _props$autoClearSearc,\n filterTreeNode = props.filterTreeNode,\n _props$treeNodeFilter = props.treeNodeFilterProp,\n treeNodeFilterProp = _props$treeNodeFilter === void 0 ? 'value' : _props$treeNodeFilter,\n _props$showCheckedStr = props.showCheckedStrategy,\n showCheckedStrategy = _props$showCheckedStr === void 0 ? SHOW_CHILD : _props$showCheckedStr,\n treeNodeLabelProp = props.treeNodeLabelProp,\n multiple = props.multiple,\n treeCheckable = props.treeCheckable,\n treeCheckStrictly = props.treeCheckStrictly,\n labelInValue = props.labelInValue,\n fieldNames = props.fieldNames,\n treeDataSimpleMode = props.treeDataSimpleMode,\n treeData = props.treeData,\n children = props.children,\n loadData = props.loadData,\n treeLoadedKeys = props.treeLoadedKeys,\n onTreeLoad = props.onTreeLoad,\n treeDefaultExpandAll = props.treeDefaultExpandAll,\n treeExpandedKeys = props.treeExpandedKeys,\n treeDefaultExpandedKeys = props.treeDefaultExpandedKeys,\n onTreeExpand = props.onTreeExpand,\n treeExpandAction = props.treeExpandAction,\n virtual = props.virtual,\n _props$listHeight = props.listHeight,\n listHeight = _props$listHeight === void 0 ? 200 : _props$listHeight,\n _props$listItemHeight = props.listItemHeight,\n listItemHeight = _props$listItemHeight === void 0 ? 20 : _props$listItemHeight,\n onDropdownVisibleChange = props.onDropdownVisibleChange,\n _props$dropdownMatchS = props.dropdownMatchSelectWidth,\n dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? true : _props$dropdownMatchS,\n treeLine = props.treeLine,\n treeIcon = props.treeIcon,\n showTreeIcon = props.showTreeIcon,\n switcherIcon = props.switcherIcon,\n treeMotion = props.treeMotion,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedId = useId(id);\n var treeConduction = treeCheckable && !treeCheckStrictly;\n var mergedCheckable = treeCheckable || treeCheckStrictly;\n var mergedLabelInValue = treeCheckStrictly || labelInValue;\n var mergedMultiple = mergedCheckable || multiple;\n\n var _useMergedState = useMergedState(defaultValue, {\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n internalValue = _useMergedState2[0],\n setInternalValue = _useMergedState2[1]; // ========================== Warning ===========================\n\n\n if (process.env.NODE_ENV !== 'production') {\n warningProps(props);\n } // ========================= FieldNames =========================\n\n\n var mergedFieldNames = React.useMemo(function () {\n return fillFieldNames(fieldNames);\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [JSON.stringify(fieldNames)]\n /* eslint-enable react-hooks/exhaustive-deps */\n ); // =========================== Search ===========================\n\n var _useMergedState3 = useMergedState('', {\n value: searchValue !== undefined ? searchValue : inputValue,\n postState: function postState(search) {\n return search || '';\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedSearchValue = _useMergedState4[0],\n setSearchValue = _useMergedState4[1];\n\n var onInternalSearch = function onInternalSearch(searchText) {\n setSearchValue(searchText);\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(searchText);\n }; // ============================ Data ============================\n // `useTreeData` only do convert of `children` or `simpleMode`.\n // Else will return origin `treeData` for perf consideration.\n // Do not do anything to loop the data.\n\n\n var mergedTreeData = useTreeData(treeData, children, treeDataSimpleMode);\n\n var _useDataEntities = useDataEntities(mergedTreeData, mergedFieldNames),\n keyEntities = _useDataEntities.keyEntities,\n valueEntities = _useDataEntities.valueEntities;\n /** Get `missingRawValues` which not exist in the tree yet */\n\n\n var splitRawValues = React.useCallback(function (newRawValues) {\n var missingRawValues = [];\n var existRawValues = []; // Keep missing value in the cache\n\n newRawValues.forEach(function (val) {\n if (valueEntities.has(val)) {\n existRawValues.push(val);\n } else {\n missingRawValues.push(val);\n }\n });\n return {\n missingRawValues: missingRawValues,\n existRawValues: existRawValues\n };\n }, [valueEntities]); // Filtered Tree\n\n var filteredTreeData = useFilterTreeData(mergedTreeData, mergedSearchValue, {\n fieldNames: mergedFieldNames,\n treeNodeFilterProp: treeNodeFilterProp,\n filterTreeNode: filterTreeNode\n }); // =========================== Label ============================\n\n var getLabel = React.useCallback(function (item) {\n if (item) {\n if (treeNodeLabelProp) {\n return item[treeNodeLabelProp];\n } // Loop from fieldNames\n\n\n var titleList = mergedFieldNames._title;\n\n for (var i = 0; i < titleList.length; i += 1) {\n var title = item[titleList[i]];\n\n if (title !== undefined) {\n return title;\n }\n }\n }\n }, [mergedFieldNames, treeNodeLabelProp]); // ========================= Wrap Value =========================\n\n var toLabeledValues = React.useCallback(function (draftValues) {\n var values = toArray(draftValues);\n return values.map(function (val) {\n if (isRawValue(val)) {\n return {\n value: val\n };\n }\n\n return val;\n });\n }, []);\n var convert2LabelValues = React.useCallback(function (draftValues) {\n var values = toLabeledValues(draftValues);\n return values.map(function (item) {\n var rawLabel = item.label;\n var rawValue = item.value,\n rawHalfChecked = item.halfChecked;\n var rawDisabled;\n var entity = valueEntities.get(rawValue); // Fill missing label & status\n\n if (entity) {\n var _rawLabel;\n\n rawLabel = (_rawLabel = rawLabel) !== null && _rawLabel !== void 0 ? _rawLabel : getLabel(entity.node);\n rawDisabled = entity.node.disabled;\n } else if (rawLabel === undefined) {\n // We try to find in current `labelInValue` value\n var labelInValueItem = toLabeledValues(internalValue).find(function (labeledItem) {\n return labeledItem.value === rawValue;\n });\n rawLabel = labelInValueItem.label;\n }\n\n return {\n label: rawLabel,\n value: rawValue,\n halfChecked: rawHalfChecked,\n disabled: rawDisabled\n };\n });\n }, [valueEntities, getLabel, toLabeledValues, internalValue]); // =========================== Values ===========================\n\n var rawMixedLabeledValues = React.useMemo(function () {\n return toLabeledValues(internalValue);\n }, [toLabeledValues, internalValue]); // Split value into full check and half check\n\n var _React$useMemo = React.useMemo(function () {\n var fullCheckValues = [];\n var halfCheckValues = [];\n rawMixedLabeledValues.forEach(function (item) {\n if (item.halfChecked) {\n halfCheckValues.push(item);\n } else {\n fullCheckValues.push(item);\n }\n });\n return [fullCheckValues, halfCheckValues];\n }, [rawMixedLabeledValues]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n rawLabeledValues = _React$useMemo2[0],\n rawHalfLabeledValues = _React$useMemo2[1]; // const [mergedValues] = useCache(rawLabeledValues);\n\n\n var rawValues = React.useMemo(function () {\n return rawLabeledValues.map(function (item) {\n return item.value;\n });\n }, [rawLabeledValues]); // Convert value to key. Will fill missed keys for conduct check.\n\n var _useCheckedKeys = useCheckedKeys(rawLabeledValues, rawHalfLabeledValues, treeConduction, keyEntities),\n _useCheckedKeys2 = _slicedToArray(_useCheckedKeys, 2),\n rawCheckedValues = _useCheckedKeys2[0],\n rawHalfCheckedValues = _useCheckedKeys2[1]; // Convert rawCheckedKeys to check strategy related values\n\n\n var displayValues = React.useMemo(function () {\n // Collect keys which need to show\n var displayKeys = formatStrategyValues(rawCheckedValues, showCheckedStrategy, keyEntities, mergedFieldNames); // Convert to value and filled with label\n\n var values = displayKeys.map(function (key) {\n var _keyEntities$key$node, _keyEntities$key, _keyEntities$key$node2;\n\n return (_keyEntities$key$node = (_keyEntities$key = keyEntities[key]) === null || _keyEntities$key === void 0 ? void 0 : (_keyEntities$key$node2 = _keyEntities$key.node) === null || _keyEntities$key$node2 === void 0 ? void 0 : _keyEntities$key$node2[mergedFieldNames.value]) !== null && _keyEntities$key$node !== void 0 ? _keyEntities$key$node : key;\n }); // Back fill with origin label\n\n var labeledValues = values.map(function (val) {\n var targetItem = rawLabeledValues.find(function (item) {\n return item.value === val;\n });\n return {\n value: val,\n label: targetItem === null || targetItem === void 0 ? void 0 : targetItem.label\n };\n });\n var rawDisplayValues = convert2LabelValues(labeledValues);\n var firstVal = rawDisplayValues[0];\n\n if (!mergedMultiple && firstVal && isNil(firstVal.value) && isNil(firstVal.label)) {\n return [];\n }\n\n return rawDisplayValues.map(function (item) {\n var _item$label;\n\n return _objectSpread(_objectSpread({}, item), {}, {\n label: (_item$label = item.label) !== null && _item$label !== void 0 ? _item$label : item.value\n });\n });\n }, [mergedFieldNames, mergedMultiple, rawCheckedValues, rawLabeledValues, convert2LabelValues, showCheckedStrategy, keyEntities]);\n\n var _useCache = useCache(displayValues),\n _useCache2 = _slicedToArray(_useCache, 1),\n cachedDisplayValues = _useCache2[0]; // =========================== Change ===========================\n\n\n var triggerChange = useRefFunc(function (newRawValues, extra, source) {\n var labeledValues = convert2LabelValues(newRawValues);\n setInternalValue(labeledValues); // Clean up if needed\n\n if (autoClearSearchValue) {\n setSearchValue('');\n } // Generate rest parameters is costly, so only do it when necessary\n\n\n if (onChange) {\n var eventValues = newRawValues;\n\n if (treeConduction) {\n var formattedKeyList = formatStrategyValues(newRawValues, showCheckedStrategy, keyEntities, mergedFieldNames);\n eventValues = formattedKeyList.map(function (key) {\n var entity = valueEntities.get(key);\n return entity ? entity.node[mergedFieldNames.value] : key;\n });\n }\n\n var _ref = extra || {\n triggerValue: undefined,\n selected: undefined\n },\n triggerValue = _ref.triggerValue,\n selected = _ref.selected;\n\n var returnRawValues = eventValues; // We need fill half check back\n\n if (treeCheckStrictly) {\n var halfValues = rawHalfLabeledValues.filter(function (item) {\n return !eventValues.includes(item.value);\n });\n returnRawValues = [].concat(_toConsumableArray(returnRawValues), _toConsumableArray(halfValues));\n }\n\n var returnLabeledValues = convert2LabelValues(returnRawValues);\n var additionalInfo = {\n // [Legacy] Always return as array contains label & value\n preValue: rawLabeledValues,\n triggerValue: triggerValue\n }; // [Legacy] Fill legacy data if user query.\n // This is expansive that we only fill when user query\n // https://github.com/react-component/tree-select/blob/fe33eb7c27830c9ac70cd1fdb1ebbe7bc679c16a/src/Select.jsx\n\n var showPosition = true;\n\n if (treeCheckStrictly || source === 'selection' && !selected) {\n showPosition = false;\n }\n\n fillAdditionalInfo(additionalInfo, triggerValue, newRawValues, mergedTreeData, showPosition, mergedFieldNames);\n\n if (mergedCheckable) {\n additionalInfo.checked = selected;\n } else {\n additionalInfo.selected = selected;\n }\n\n var returnValues = mergedLabelInValue ? returnLabeledValues : returnLabeledValues.map(function (item) {\n return item.value;\n });\n onChange(mergedMultiple ? returnValues : returnValues[0], mergedLabelInValue ? null : returnLabeledValues.map(function (item) {\n return item.label;\n }), additionalInfo);\n }\n }); // ========================== Options ===========================\n\n /** Trigger by option list */\n\n var onOptionSelect = React.useCallback(function (selectedKey, _ref2) {\n var _node$mergedFieldName;\n\n var selected = _ref2.selected,\n source = _ref2.source;\n var entity = keyEntities[selectedKey];\n var node = entity === null || entity === void 0 ? void 0 : entity.node;\n var selectedValue = (_node$mergedFieldName = node === null || node === void 0 ? void 0 : node[mergedFieldNames.value]) !== null && _node$mergedFieldName !== void 0 ? _node$mergedFieldName : selectedKey; // Never be falsy but keep it safe\n\n if (!mergedMultiple) {\n // Single mode always set value\n triggerChange([selectedValue], {\n selected: true,\n triggerValue: selectedValue\n }, 'option');\n } else {\n var newRawValues = selected ? [].concat(_toConsumableArray(rawValues), [selectedValue]) : rawCheckedValues.filter(function (v) {\n return v !== selectedValue;\n }); // Add keys if tree conduction\n\n if (treeConduction) {\n // Should keep missing values\n var _splitRawValues = splitRawValues(newRawValues),\n missingRawValues = _splitRawValues.missingRawValues,\n existRawValues = _splitRawValues.existRawValues;\n\n var keyList = existRawValues.map(function (val) {\n return valueEntities.get(val).key;\n }); // Conduction by selected or not\n\n var checkedKeys;\n\n if (selected) {\n var _conductCheck = conductCheck(keyList, true, keyEntities);\n\n checkedKeys = _conductCheck.checkedKeys;\n } else {\n var _conductCheck2 = conductCheck(keyList, {\n checked: false,\n halfCheckedKeys: rawHalfCheckedValues\n }, keyEntities);\n\n checkedKeys = _conductCheck2.checkedKeys;\n } // Fill back of keys\n\n\n newRawValues = [].concat(_toConsumableArray(missingRawValues), _toConsumableArray(checkedKeys.map(function (key) {\n return keyEntities[key].node[mergedFieldNames.value];\n })));\n }\n\n triggerChange(newRawValues, {\n selected: selected,\n triggerValue: selectedValue\n }, source || 'option');\n } // Trigger select event\n\n\n if (selected || !mergedMultiple) {\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectedValue, fillLegacyProps(node));\n } else {\n onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect(selectedValue, fillLegacyProps(node));\n }\n }, [splitRawValues, valueEntities, keyEntities, mergedFieldNames, mergedMultiple, rawValues, triggerChange, treeConduction, onSelect, onDeselect, rawCheckedValues, rawHalfCheckedValues]); // ========================== Dropdown ==========================\n\n var onInternalDropdownVisibleChange = React.useCallback(function (open) {\n if (onDropdownVisibleChange) {\n var legacyParam = {};\n Object.defineProperty(legacyParam, 'documentClickClose', {\n get: function get() {\n warning(false, 'Second param of `onDropdownVisibleChange` has been removed.');\n return false;\n }\n });\n onDropdownVisibleChange(open, legacyParam);\n }\n }, [onDropdownVisibleChange]); // ====================== Display Change ========================\n\n var onDisplayValuesChange = useRefFunc(function (newValues, info) {\n var newRawValues = newValues.map(function (item) {\n return item.value;\n });\n\n if (info.type === 'clear') {\n triggerChange(newRawValues, {}, 'selection');\n return;\n } // TreeSelect only have multiple mode which means display change only has remove\n\n\n if (info.values.length) {\n onOptionSelect(info.values[0].value, {\n selected: false,\n source: 'selection'\n });\n }\n }); // ========================== Context ===========================\n\n var treeSelectContext = React.useMemo(function () {\n return {\n virtual: virtual,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n listHeight: listHeight,\n listItemHeight: listItemHeight,\n treeData: filteredTreeData,\n fieldNames: mergedFieldNames,\n onSelect: onOptionSelect,\n treeExpandAction: treeExpandAction\n };\n }, [virtual, dropdownMatchSelectWidth, listHeight, listItemHeight, filteredTreeData, mergedFieldNames, onOptionSelect, treeExpandAction]); // ======================= Legacy Context =======================\n\n var legacyContext = React.useMemo(function () {\n return {\n checkable: mergedCheckable,\n loadData: loadData,\n treeLoadedKeys: treeLoadedKeys,\n onTreeLoad: onTreeLoad,\n checkedKeys: rawCheckedValues,\n halfCheckedKeys: rawHalfCheckedValues,\n treeDefaultExpandAll: treeDefaultExpandAll,\n treeExpandedKeys: treeExpandedKeys,\n treeDefaultExpandedKeys: treeDefaultExpandedKeys,\n onTreeExpand: onTreeExpand,\n treeIcon: treeIcon,\n treeMotion: treeMotion,\n showTreeIcon: showTreeIcon,\n switcherIcon: switcherIcon,\n treeLine: treeLine,\n treeNodeFilterProp: treeNodeFilterProp,\n keyEntities: keyEntities\n };\n }, [mergedCheckable, loadData, treeLoadedKeys, onTreeLoad, rawCheckedValues, rawHalfCheckedValues, treeDefaultExpandAll, treeExpandedKeys, treeDefaultExpandedKeys, onTreeExpand, treeIcon, treeMotion, showTreeIcon, switcherIcon, treeLine, treeNodeFilterProp, keyEntities]); // =========================== Render ===========================\n\n return /*#__PURE__*/React.createElement(TreeSelectContext.Provider, {\n value: treeSelectContext\n }, /*#__PURE__*/React.createElement(LegacyContext.Provider, {\n value: legacyContext\n }, /*#__PURE__*/React.createElement(BaseSelect, _extends({\n ref: ref\n }, restProps, {\n // >>> MISC\n id: mergedId,\n prefixCls: prefixCls,\n mode: mergedMultiple ? 'multiple' : undefined // >>> Display Value\n ,\n displayValues: cachedDisplayValues,\n onDisplayValuesChange: onDisplayValuesChange // >>> Search\n ,\n searchValue: mergedSearchValue,\n onSearch: onInternalSearch // >>> Options\n ,\n OptionList: OptionList,\n emptyOptions: !mergedTreeData.length,\n onDropdownVisibleChange: onInternalDropdownVisibleChange,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth\n }))));\n}); // Assign name for Debug\n\nif (process.env.NODE_ENV !== 'production') {\n TreeSelect.displayName = 'TreeSelect';\n}\n\nvar GenericTreeSelect = TreeSelect;\nGenericTreeSelect.TreeNode = TreeNode;\nGenericTreeSelect.SHOW_ALL = SHOW_ALL;\nGenericTreeSelect.SHOW_PARENT = SHOW_PARENT;\nGenericTreeSelect.SHOW_CHILD = SHOW_CHILD;\nexport default GenericTreeSelect;","import TreeSelect from \"./TreeSelect\";\nimport TreeNode from \"./TreeNode\";\nimport { SHOW_ALL, SHOW_CHILD, SHOW_PARENT } from \"./utils/strategyUtil\";\nexport { TreeNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT };\nexport default TreeSelect;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcTreeSelect, { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode } from 'rc-tree-select';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { FormItemInputContext } from '../form/context';\nimport getIcons from '../select/utils/iconUtil';\nimport renderSwitcherIcon from '../tree/utils/iconUtil';\nimport { getTransitionDirection, getTransitionName } from '../_util/motion';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { useCompactItemContext } from '../space/Compact';\nimport warning from '../_util/warning';\nvar InternalTreeSelect = function InternalTreeSelect(_a, ref) {\n var _classNames2;\n var customizePrefixCls = _a.prefixCls,\n customizeSize = _a.size,\n customDisabled = _a.disabled,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? true : _a$bordered,\n className = _a.className,\n treeCheckable = _a.treeCheckable,\n multiple = _a.multiple,\n _a$listHeight = _a.listHeight,\n listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight,\n _a$listItemHeight = _a.listItemHeight,\n listItemHeight = _a$listItemHeight === void 0 ? 26 : _a$listItemHeight,\n placement = _a.placement,\n notFoundContent = _a.notFoundContent,\n _switcherIcon = _a.switcherIcon,\n treeLine = _a.treeLine,\n getPopupContainer = _a.getPopupContainer,\n dropdownClassName = _a.dropdownClassName,\n popupClassName = _a.popupClassName,\n _a$treeIcon = _a.treeIcon,\n treeIcon = _a$treeIcon === void 0 ? false : _a$treeIcon,\n transitionName = _a.transitionName,\n _a$choiceTransitionNa = _a.choiceTransitionName,\n choiceTransitionName = _a$choiceTransitionNa === void 0 ? '' : _a$choiceTransitionNa,\n customStatus = _a.status,\n showArrow = _a.showArrow,\n treeExpandAction = _a.treeExpandAction,\n props = __rest(_a, [\"prefixCls\", \"size\", \"disabled\", \"bordered\", \"className\", \"treeCheckable\", \"multiple\", \"listHeight\", \"listItemHeight\", \"placement\", \"notFoundContent\", \"switcherIcon\", \"treeLine\", \"getPopupContainer\", \"dropdownClassName\", \"popupClassName\", \"treeIcon\", \"transitionName\", \"choiceTransitionName\", \"status\", \"showArrow\", \"treeExpandAction\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getContextPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction,\n virtual = _React$useContext.virtual,\n dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth;\n var size = React.useContext(SizeContext);\n process.env.NODE_ENV !== \"production\" ? warning(multiple !== false || !treeCheckable, 'TreeSelect', '`multiple` will always be `true` when `treeCheckable` is true') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'TreeSelect', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n var treePrefixCls = getPrefixCls('select-tree', customizePrefixCls);\n var treeSelectPrefixCls = getPrefixCls('tree-select', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var mergedDropdownClassName = classNames(popupClassName || dropdownClassName, \"\".concat(treeSelectPrefixCls, \"-dropdown\"), _defineProperty({}, \"\".concat(treeSelectPrefixCls, \"-dropdown-rtl\"), direction === 'rtl'));\n var isMultiple = !!(treeCheckable || multiple);\n var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !isMultiple;\n // ===================== Form =====================\n var _useContext = useContext(FormItemInputContext),\n contextStatus = _useContext.status,\n hasFeedback = _useContext.hasFeedback,\n isFormItemInput = _useContext.isFormItemInput,\n feedbackIcon = _useContext.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n // ===================== Icons =====================\n var _getIcons = getIcons(_extends(_extends({}, props), {\n multiple: isMultiple,\n showArrow: mergedShowArrow,\n hasFeedback: hasFeedback,\n feedbackIcon: feedbackIcon,\n prefixCls: prefixCls\n })),\n suffixIcon = _getIcons.suffixIcon,\n removeIcon = _getIcons.removeIcon,\n clearIcon = _getIcons.clearIcon;\n // ===================== Empty =====================\n var mergedNotFound;\n if (notFoundContent !== undefined) {\n mergedNotFound = notFoundContent;\n } else {\n mergedNotFound = (renderEmpty || defaultRenderEmpty)('Select');\n }\n // ==================== Render =====================\n var selectProps = omit(props, ['suffixIcon', 'itemIcon', 'removeIcon', 'clearIcon', 'switcherIcon']);\n // ===================== Placement =====================\n var getPlacement = function getPlacement() {\n if (placement !== undefined) {\n return placement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n var mergedClassName = classNames(!customizePrefixCls && treeSelectPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-in-form-item\"), isFormItemInput), _classNames2), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(RcTreeSelect, _extends({\n virtual: virtual,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n disabled: mergedDisabled\n }, selectProps, {\n ref: ref,\n prefixCls: prefixCls,\n className: mergedClassName,\n listHeight: listHeight,\n listItemHeight: listItemHeight,\n treeCheckable: treeCheckable ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-tree-checkbox-inner\")\n }) : treeCheckable,\n treeLine: !!treeLine,\n inputIcon: suffixIcon,\n multiple: multiple,\n placement: getPlacement(),\n removeIcon: removeIcon,\n clearIcon: clearIcon,\n switcherIcon: function switcherIcon(nodeProps) {\n return renderSwitcherIcon(treePrefixCls, _switcherIcon, treeLine, nodeProps);\n },\n showTreeIcon: treeIcon,\n notFoundContent: mergedNotFound,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n treeMotion: null,\n dropdownClassName: mergedDropdownClassName,\n choiceTransitionName: getTransitionName(rootPrefixCls, '', choiceTransitionName),\n transitionName: getTransitionName(rootPrefixCls, getTransitionDirection(placement), transitionName),\n showArrow: hasFeedback || showArrow,\n treeExpandAction: treeExpandAction\n }));\n};\nvar TreeSelectRef = /*#__PURE__*/React.forwardRef(InternalTreeSelect);\nvar TreeSelect = TreeSelectRef;\nTreeSelect.TreeNode = TreeNode;\nTreeSelect.SHOW_ALL = SHOW_ALL;\nTreeSelect.SHOW_PARENT = SHOW_PARENT;\nTreeSelect.SHOW_CHILD = SHOW_CHILD;\nexport { TreeNode };\nexport default TreeSelect;","export default '4.24.3';","/* eslint import/no-unresolved: 0 */\n// @ts-ignore\nimport version from './version';\nexport default version;","// Fix vite build error\nexport var theme = null;\nexport { default as Affix } from './affix';\nexport { default as Alert } from './alert';\nexport { default as Anchor } from './anchor';\nexport { default as AutoComplete } from './auto-complete';\nexport { default as Avatar } from './avatar';\nexport { default as BackTop } from './back-top';\nexport { default as Badge } from './badge';\nexport { default as Breadcrumb } from './breadcrumb';\nexport { default as Button } from './button';\nexport { default as Calendar } from './calendar';\nexport { default as Card } from './card';\nexport { default as Carousel } from './carousel';\nexport { default as Cascader } from './cascader';\nexport { default as Checkbox } from './checkbox';\nexport { default as Col } from './col';\nexport { default as Collapse } from './collapse';\nexport { default as Comment } from './comment';\nexport { default as ConfigProvider } from './config-provider';\nexport { default as DatePicker } from './date-picker';\nexport { default as Descriptions } from './descriptions';\nexport { default as Divider } from './divider';\nexport { default as Drawer } from './drawer';\nexport { default as Dropdown } from './dropdown';\nexport { default as Empty } from './empty';\nexport { default as Form } from './form';\nexport { default as Grid } from './grid';\nexport { default as Image } from './image';\nexport { default as Input } from './input';\nexport { default as InputNumber } from './input-number';\nexport { default as Layout } from './layout';\nexport { default as List } from './list';\nexport { default as Mentions } from './mentions';\nexport { default as Menu } from './menu';\nexport { default as message } from './message';\nexport { default as Modal } from './modal';\nexport { default as notification } from './notification';\nexport { default as PageHeader } from './page-header';\nexport { default as Pagination } from './pagination';\nexport { default as Popconfirm } from './popconfirm';\nexport { default as Popover } from './popover';\nexport { default as Progress } from './progress';\nexport { default as Radio } from './radio';\nexport { default as Rate } from './rate';\nexport { default as Result } from './result';\nexport { default as Row } from './row';\nexport { default as Segmented } from './segmented';\nexport { default as Select } from './select';\nexport { default as Skeleton } from './skeleton';\nexport { default as Slider } from './slider';\nexport { default as Space } from './space';\nexport { default as Spin } from './spin';\nexport { default as Statistic } from './statistic';\nexport { default as Steps } from './steps';\nexport { default as Switch } from './switch';\nexport { default as Table } from './table';\nexport { default as Tabs } from './tabs';\nexport { default as Tag } from './tag';\nexport { default as TimePicker } from './time-picker';\nexport { default as Timeline } from './timeline';\nexport { default as Tooltip } from './tooltip';\nexport { default as Transfer } from './transfer';\nexport { default as Tree } from './tree';\nexport { default as TreeSelect } from './tree-select';\nexport { default as Typography } from './typography';\nexport { default as Upload } from './upload';\nexport { default as version } from './version';","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { convertLegacyProps } from '../button/button';\nimport ActionButton from '../_util/ActionButton';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { ConfigContext } from '../config-provider';\nexport var Overlay = function Overlay(props) {\n var prefixCls = props.prefixCls,\n okButtonProps = props.okButtonProps,\n cancelButtonProps = props.cancelButtonProps,\n title = props.title,\n cancelText = props.cancelText,\n okText = props.okText,\n okType = props.okType,\n icon = props.icon,\n _props$showCancel = props.showCancel,\n showCancel = _props$showCancel === void 0 ? true : _props$showCancel,\n close = props.close,\n onConfirm = props.onConfirm,\n onCancel = props.onCancel;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Popconfirm\",\n defaultLocale: defaultLocale.Popconfirm\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message\")\n }, icon && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-message-icon\")\n }, icon), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message-title\")\n }, getRenderPropValue(title))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-buttons\")\n }, showCancel && /*#__PURE__*/React.createElement(Button, _extends({\n onClick: onCancel,\n size: \"small\"\n }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale.cancelText), /*#__PURE__*/React.createElement(ActionButton, {\n buttonProps: _extends(_extends({\n size: 'small'\n }, convertLegacyProps(okType)), okButtonProps),\n actionFn: onConfirm,\n close: close,\n prefixCls: getPrefixCls('btn'),\n quitOnNullishReturnValue: true,\n emitEvent: true\n }, okText !== null && okText !== void 0 ? okText : contextLocale.okText)));\n });\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar _this = this;\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport { Overlay } from './PurePanel';\nvar Popconfirm = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var _useMergedState = useMergedState(false, {\n value: props.open !== undefined ? props.open : props.visible,\n defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n open = _useMergedState2[0],\n setOpen = _useMergedState2[1];\n // const isDestroyed = useDestroyed();\n var settingOpen = function settingOpen(value, e) {\n var _a, _b;\n setOpen(value, true);\n (_a = props.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(props, value, e);\n (_b = props.onOpenChange) === null || _b === void 0 ? void 0 : _b.call(props, value, e);\n };\n var close = function close(e) {\n settingOpen(false, e);\n };\n var onConfirm = function onConfirm(e) {\n var _a;\n return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var onCancel = function onCancel(e) {\n var _a;\n settingOpen(false, e);\n (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var _onKeyDown = function onKeyDown(e) {\n if (e.keyCode === KeyCode.ESC && open) {\n settingOpen(false, e);\n }\n };\n var onOpenChange = function onOpenChange(value) {\n var _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled;\n if (disabled) {\n return;\n }\n settingOpen(value);\n };\n var customizePrefixCls = props.prefixCls,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'click' : _props$trigger,\n _props$okType = props.okType,\n okType = _props$okType === void 0 ? 'primary' : _props$okType,\n _props$icon = props.icon,\n icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(ExclamationCircleFilled, null) : _props$icon,\n children = props.children,\n overlayClassName = props.overlayClassName,\n restProps = __rest(props, [\"prefixCls\", \"placement\", \"trigger\", \"okType\", \"icon\", \"children\", \"overlayClassName\"]);\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var prefixClsConfirm = getPrefixCls('popconfirm', customizePrefixCls);\n var overlayClassNames = classNames(prefixClsConfirm, overlayClassName);\n return /*#__PURE__*/React.createElement(Popover, _extends({}, restProps, {\n trigger: trigger,\n prefixCls: prefixCls,\n placement: placement,\n onOpenChange: onOpenChange,\n open: open,\n ref: ref,\n overlayClassName: overlayClassNames,\n _overlay: /*#__PURE__*/React.createElement(Overlay, _extends({\n okType: okType,\n icon: icon\n }, props, {\n prefixCls: prefixCls,\n close: close,\n onConfirm: onConfirm,\n onCancel: onCancel\n }))\n }), cloneElement(children, {\n onKeyDown: function onKeyDown(e) {\n var _a, _b;\n if ( /*#__PURE__*/React.isValidElement(children)) {\n (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n }\n _onKeyDown(e);\n }\n }));\n});\nexport default Popconfirm;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nvar Overlay = function Overlay(_ref) {\n var title = _ref.title,\n content = _ref.content,\n prefixCls = _ref.prefixCls;\n if (!title && !content) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, getRenderPropValue(content)));\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n title = props.title,\n content = props.content,\n _overlay = props._overlay,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n _props$overlayStyle = props.overlayStyle,\n overlayStyle = _props$overlayStyle === void 0 ? {} : _props$overlayStyle,\n otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"_overlay\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(Tooltip, _extends({\n placement: placement,\n trigger: trigger,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n overlayStyle: overlayStyle\n }, otherProps, {\n prefixCls: prefixCls,\n ref: ref,\n overlay: _overlay || /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n title: title,\n content: content\n }),\n transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName)\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popover.displayName = 'Popover';\n}\nexport default Popover;","var camel2hyphen = require('string-convert/camel2hyphen');\n\nvar isDimension = function (feature) {\n var re = /[height|width]$/;\n return re.test(feature);\n};\n\nvar obj2mq = function (obj) {\n var mq = '';\n var features = Object.keys(obj);\n features.forEach(function (feature, index) {\n var value = obj[feature];\n feature = camel2hyphen(feature);\n // Add px to dimension features\n if (isDimension(feature) && typeof value === 'number') {\n value = value + 'px';\n }\n if (value === true) {\n mq += feature;\n } else if (value === false) {\n mq += 'not ' + feature;\n } else {\n mq += '(' + feature + ': ' + value + ')';\n }\n if (index < features.length-1) {\n mq += ' and '\n }\n });\n return mq;\n};\n\nvar json2mq = function (query) {\n var mq = '';\n if (typeof query === 'string') {\n return query;\n }\n // Handling array of media queries\n if (query instanceof Array) {\n query.forEach(function (q, index) {\n mq += obj2mq(q);\n if (index < query.length-1) {\n mq += ', '\n }\n });\n return mq;\n }\n // Handling single media query\n return obj2mq(query);\n};\n\nmodule.exports = json2mq;","var camel2hyphen = function (str) {\n return str\n .replace(/[A-Z]/g, function (match) {\n return '-' + match.toLowerCase();\n })\n .toLowerCase();\n};\n\nmodule.exports = camel2hyphen;"],"names":["asn_DownOutlined","DownOutlined_DownOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_DownOutlined","forwardRef","getRenderPropValue","propValue","SizeContext","createContext","SizeContextProvider","_ref","children","size","Consumer","originSize","Provider","value","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Avatar","_classNames","_classNames2","childrenToRender","groupSize","useContext","_React$useState","useState","_React$useState2","slicedToArray","scale","setScale","_React$useState3","_React$useState4","mounted","setMounted","_React$useState5","_React$useState6","isImgExist","setIsImgExist","avatarNodeRef","useRef","avatarChildrenRef","avatarNodeMergeRef","es_ref","sQ","getPrefixCls","_React$useContext","context","E_","setScaleParam","current","childrenWidth","offsetWidth","nodeWidth","_props$gap","gap","useEffect","src","customizePrefixCls","prefixCls","_props$shape","shape","_props$size","customSize","srcSet","className","alt","draggable","crossOrigin","others","needResponsive","keys","esm_typeof","some","key","includes","screens","useBreakpoint","responsiveSizeStyle","useMemo","currentSize","responsiveObserve","c4","find","screen","width","height","lineHeight","concat","fontSize","sizeCls","classnames_default","defineProperty","hasImageElement","isValidElement","classString","onError","undefined","transformString","es","onResize","style","esm_extends","msTransform","WebkitTransform","transform","opacity","avatar_Avatar","Group","direction","_props$className","maxCount","maxStyle","cls","_props$maxPopoverPlac","maxPopoverPlacement","_props$maxPopoverTrig","maxPopoverTrigger","childrenWithProps","toArray","map","child","index","reactNode","Tm","numOfChildren","childrenShow","slice","childrenHidden","push","popover","content","trigger","placement","overlayClassName","es_avatar","AffixStatus","_generateSinglePicker","DatePicker","WeekPicker","MonthPicker","YearPicker","TimePicker","QuarterPicker","RangePicker","MergedDatePicker","throttleByAnimationFrame","fn","requestId","throttled","_len","arguments","args","_key","raf","apply","toConsumableArray","cancel","throttleByAnimationFrameDecorator","target","descriptor","definingProperty","configurable","get","boundFn","bind","writable","getTargetRect","window","getBoundingClientRect","top","bottom","innerHeight","getFixedTop","placeholderReact","targetRect","offsetTop","getFixedBottom","offsetBottom","TRIGGER_EVENTS","observerEntities","addObserveTarget","affix","entity","item","affixList","eventHandlers","forEach","eventName","addEventListener","targetAffix","lazyUpdatePosition","removeObserveTarget","observerEntity","oriObserverEntity","hasAffix","filter","handler","remove","__decorate","decorators","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","getDefaultTarget","Affix","_React$Component","inherits","_super","createSuper","_this","classCallCheck","state","status","None","lastAffix","prevTarget","getOffsetTop","_this$props","getOffsetBottom","savePlaceholderNode","node","placeholderNode","saveFixedNode","fixedNode","measure","_this$state","onChange","targetFunc","getTargetFunc","Prepare","targetNode","newState","fixedTop","fixedBottom","left","affixStyle","position","placeholderStyle","setState","prepareMeasure","createClass","getTargetContainer","_this2","timeout","setTimeout","updatePosition","prevProps","newTarget","clearTimeout","_this3","_this$state2","_this$props2","affixPrefixCls","omit","Component","contextType","config_provider_context","es_affix","affixProps","AnchorContext","getDefaultContainer","element","container","getClientRects","rect","ownerDocument","documentElement","clientTop","sharpMatcherRegx","AnchorContent","_a","anchorPrefixCls","_props$affix","_props$showInkInFixed","showInkInFixed","bounds","targetOffset","onClick","getContainer","getCurrentAnchor","links","setLinks","activeLink","setActiveLink","activeLinkRef","wrapperRef","spanLinkNode","animating","getCurrentContainer","dependencyListItem","JSON","stringify","registerLink","useCallback","link","prev","unregisterLink","updateInk","linkNode","querySelector","clientHeight","getInternalCurrentAnchor","_links","_offsetTop","_bounds","linkSections","sharpLinkMatch","exec","toString","document","getElementById","maxSection","reduce","curr","setCurrentActiveLink","newLink","handleScroll","handleScrollTo","scrollTop","getScroll","targetElement","y","scrollTo","callback","inkClass","wrapperClass","anchorClass","wrapperStyle","maxHeight","anchorContent","scrollContainer","scrollEvent","memoizedContextValue","anchor_context","es_anchor_Anchor","_React$useContext2","Link","_props$href","href","title","handleClick","C","_ref2","active","wrapperClassName","titleClassName","es_anchor","Option","es_select","isSelectOptionOrSelectOptGroup","type","isSelectOption","isSelectOptGroup","RefAutoComplete","customizeInput","optionChildren","popupClassName","dropdownClassName","dataSource","childNodes","Children_toArray","l$","_childNodes","getInputElement","optionValue","text","mode","SECRET_COMBOBOX_MODE_DO_NOT_USE","auto_complete","asn_VerticalAlignTopOutlined","VerticalAlignTopOutlined_VerticalAlignTopOutlined","icons_VerticalAlignTopOutlined","BackTopContent","rootPrefixCls","visible","defaultElement","rc_motion_es","motionName","motionClassName","back_top","memo","_useMergedState","useMergedState","_useMergedState2","setVisible","createRef","_props$visibilityHeig","visibilityHeight","bindScrollEvent","getTarget","divProps","_props$duration","duration","isPresetColor","color","colors","Y","UnitNumber","_ref$offset","offset","SingleNumber","unitNodes","offsetStyle","originCount","count","Number","Math","abs","prevValue","setPrevValue","prevCount","setPrevCount","onTransitionEnd","isNaN","transition","end","unitNumberList","prevIndex","findIndex","n","getOffset","start","unit","badge_ScrollNumber","show","_a$component","component","restProps","newProps","numberNodes","numberList","String","split","num","borderColor","boxShadow","oriProps","badge_rest","Badge","customizeScrollNumberPrefixCls","scrollNumberPrefixCls","_a$count","_a$overflowCount","overflowCount","_a$dot","dot","_a$size","_a$showZero","showZero","numberedDisplayCount","isZero","hasStatus","showAsDot","mergedCount","isHidden","isEmpty","countRef","livingCount","displayCountRef","displayCount","isDotRef","mergedStyle","marginTop","parseInt","right","titleNode","statusTextNode","displayNode","statusCls","statusStyle","background","badgeClassName","statusTextColor","motionAppear","motionDeadline","_classNames3","isDot","scrollNumberCls","scrollNumberStyle","Ribbon","_ref$placement","colorInPreset","ribbonCls","colorStyle","cornerColorStyle","badge","BreadcrumbItem_rest","BreadcrumbItem","breadcrumbItem","_props$separator","separator","menu","overlay","dropdownProps","dropdown","DownOutlined","__ANT_BREADCRUMB_ITEM","BreadcrumbSeparator","__ANT_BREADCRUMB_SEPARATOR","Breadcrumb_rest","defaultItemRender","route","params","routes","paths","isLastItem","name","getBreadcrumbName","breadcrumbName","paramsKeys","join","replace","replacement","getPath","path","addChildPath","childPath","originalPaths","Breadcrumb","crumbs","_a$separator","_a$itemRender","itemRender","_a$params","items","label","itemProps","breadcrumbClassName","Item","Separator","es_breadcrumb","generate_moment","getNow","moment_default","getFixedDate","string","getEndDate","date","clone","endOf","getWeekDay","locale","weekday","localeData","firstDayOfWeek","getYear","year","getMonth","month","getDate","getHour","hour","getMinute","minute","getSecond","second","addYear","diff","add","addMonth","addDate","setYear","setMonth","setDate","setHour","setMinute","setSecond","isAfter","date1","date2","isValidate","isValid","getWeekFirstDay","getWeekFirstDate","result","getWeek","week","getShortWeekDays","weekdaysMin","getShortMonths","monthsShort","format","_format","parse","formats","fallbackFormatList","formatText","matchFormat","match","matchText","_i","_date","es_warning","ET","PanelContext","HIDDEN_STYLE","visibility","panels_Header","_ref$prevIcon","prevIcon","_ref$nextIcon","nextIcon","_ref$superPrevIcon","superPrevIcon","_ref$superNextIcon","superNextIcon","onSuperPrev","onSuperNext","onPrev","onNext","hideNextBtn","hidePrevBtn","tabIndex","DecadePanel_DecadeHeader","generateConfig","viewDate","onPrevDecades","onNextDecades","hideHeader","startYear","floor","yearNumber","DECADE_DISTANCE_COUNT","timeUtil_setTime","nextTime","setDateTime","defaultDate","newDate","PanelBody","disabledDate","onSelect","picker","rowNum","colNum","prefixColumn","rowClassName","baseDate","getCellClassName","getCellText","getCellNode","getCellDate","titleCell","headerCells","onDateMouseEnter","onDateMouseLeave","cellPrefixCls","rows","row","rowStartDate","j","_loop","_objectSpread2","currentDate","disabled","getCellDateDisabled","_ref3","cellDate","getDisabledFromRange","currentMode","startMonth","DECADE_UNIT_DIFF","getLastDay","endDate","lastDay","onMouseEnter","onMouseLeave","DecadePanel_DecadeBody","DECADE_UNIT_DIFF_DES","decadeYearNumber","startDecadeYear","endDecadeYear","baseDecadeYear","ceil","DECADE_COL_COUNT","startDecadeNumber","endDecadeNumber","scrollIds","Map","uiUtil_scrollTo","to","cancelAnimationFrame","set","requestAnimationFrame","perTick","difference","createKeyDownHandler","event","onLeftRight","onCtrlLeftRight","onUpDown","onPageUpDown","onEnter","which","ctrlKey","metaKey","KeyCode","LEFT","RIGHT","UP","DOWN","PAGE_UP","PAGE_DOWN","ENTER","getDefaultFormat","showTime","use12Hours","mergedFormat","getInputSize","max","globalClickFunc","clickCallbacks","Set","PickerModeMap","next","quarter","time","elementsContains","elements","ele","contains","panels_DecadePanel","onViewDateChange","operationRef","onPanelChange","onKeyDown","onDecadesChange","isNullEqual","value1","value2","isSameYear","year1","year2","equal","getQuarter","quota","isSameQuarter","quarter1","quarter2","isSameMonth","month1","month2","isSameDate","isSameWeek","isEqual","isInRange","startDate","getClosingViewDate","formatValue","parseValue","formatList","TimePanel_TimeHeader","TimePanel_TimeUnitColumn","units","hideDisabledOptions","open","ulRef","liRefs","scrollRef","useLayoutEffect","li","id","tryOrNextFrame","isVisible","_scrollRef$current","leftPad","str","fill","miscUtil_toArray","val","Array","isArray","getDataOrAriaProps","retProps","substr","getValue","values","updateValues","newValues","shouldUnitsUpdate","prevUnits","nextUnits","generateUnits","step","disabledUnits","TimePanel_TimeBody","isPM","activeColumnIndex","showHour","showMinute","showSecond","_props$hourStep","hourStep","_props$minuteStep","minuteStep","_props$secondStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","columns","columnPrefixCls","originHour","now","_React$useMemo","disabledConfig","_React$useMemo2","mergedDisabledHours","mergedDisabledMinutes","mergedDisabledSeconds","setTime","isNewPM","newHour","newMinute","newSecond","mergedHour","rawHours","memorizedRawHours","_React$useMemo3","AMPMDisabled","hourValue","_React$useMemo4","AMDisabled","PMDisabled","hours","hourMeta","hourLabel","minutes","seconds","addColumnNode","condition","columnValue","onColumnSelect","cloneElement","column","valueIndex","unitLen","nextUnit","PMIndex","panels_TimePanel","_props$format","_props$use12Hours","panelPrefixCls","bodyOperationRef","setActiveColumnIndex","columnsCount","boolList","bool","onBlur","RangeContext","useCellClassName","rangedValue","hoverRangedValue","isInView","isSameCell","offsetCell","today","prevDate","nextDate","rangeStart","rangeEnd","hoverStart","hoverEnd","isRangeHovered","isHoverStart","isHoverEnd","isHoverEdgeStart","isHoverEdgeEnd","isRangeStart","isRangeEnd","DatePanel_DateBody","weekFirstDay","monthStartDate","startDateWeekDay","alignStartDate","rowCount","dateRender","weekDaysLocale","shortWeekDays","DatePanel_DateHeader","onNextMonth","onPrevMonth","onNextYear","onPrevYear","onYearClick","onMonthClick","monthsLocale","shortMonths","yearNode","yearFormat","monthNode","monthFormat","monthYearNodes","monthBeforeYear","panels_DatePanel","_props$panelName","panelName","keyboardConfig","_onSelect","onYearChange","onMonthChange","ACTIVE_PANEL","tuple","panels_DatetimePanel","defaultValue","activePanel","setActivePanel","dateOperationRef","timeOperationRef","timeProps","TAB","activeIndex","nextActivePanel","shiftKey","preventDefault","onClose","onInternalSelect","source","selectedDate","disabledTimes","panels_WeekPanel","rowPrefixCls","MonthPanel_MonthHeader","MonthPanel_MonthBody","monthCellRender","baseMonth","panels_MonthPanel","QuarterPanel_QuarterHeader","QuarterPanel_QuarterBody","baseQuarter","quarterFormat","panels_QuarterPanel","YearPanel_YearHeader","onPrevDecade","onNextDecade","onDecadeClick","YEAR_DECADE_COUNT","YearPanel_YearBody","endYear","baseYear","YEAR_COL_COUNT","currentYearNumber","panels_YearPanel","sourceMode","onDecadeChange","getExtraFooter","renderExtraFooter","getRanges","presetNode","okNode","_ref$rangeList","rangeList","_ref$components","components","needConfirmButton","onNow","onOk","okDisabled","showNow","rangeItem","Fragment","Button","button","ok","es_PickerPanel","panelNode","extraFooter","rangesNode","todayNode","_props$prefixCls","pickerValue","defaultPickerValue","_props$picker","_props$tabIndex","showToday","onMouseDown","onPickerValueChange","_onOk","isHourStepValid","isMinuteStepValid","isSecondStepValid","panelContext","panelDivRef","panelRef","onContextSelect","hideRanges","defaultOpenValue","inRange","panelPosition","initRef","postState","mergedValue","setInnerValue","_useMergedState3","defaultDateObject","_useMergedState4","setInnerViewDate","setViewDate","getInternalNextMode","nextMode","getNextMode","_useMergedState5","_useMergedState6","mergedMode","setInnerMode","setSourceMode","triggerSelect","forceTriggerSelect","onInternalKeyDown","ZP","pickerProps","newMode","viewValue","lowerBoundTime","getLowerBoundTime","lowerBoundHour","lowerBoundMinute","todayCls","es_PanelContext","BUILT_IN_PLACEMENTS","bottomLeft","points","overflow","adjustX","adjustY","bottomRight","topLeft","topRight","es_PickerTrigger","popupElement","popupStyle","dropdownAlign","transitionName","getPopupContainer","range","popupPlacement","dropdownPrefixCls","rc_trigger_es","showAction","hideAction","builtinPlacements","popupTransitionName","popup","popupAlign","popupVisible","usePickerInput","isClickOutside","triggerOpen","forwardKeyDown","_onKeyDown","blurToCancel","onSubmit","onCancel","_onFocus","onFocus","_onBlur","currentFocusedKey","_ref$key","_useState","_useState2","typing","setTyping","_useState3","_useState4","focused","setFocused","delayBlurTimer","preventBlurRef","valueChangedRef","preventDefaultRef","_e$composedPath","composed","shadowRoot","composedPath","clickedOutside","queueFunc","delete","removeEventListener","ESC","SHIFT","activeElement","_document","useTextValueMapping","valueTexts","onTextChange","setInnerText","valueTextsRef","resetText","every","valText","useValueTexts","firstValueText","fullValueTexts","formatStr","shallowequal_default","useHoverValue","valueText","internalSetValue","setValue","immediately","_useValueTexts","firstText","_useValueTexts2","onLeave","InnerPicker","suffixNode","clearNode","inputReadOnly","allowClear","autoFocus","defaultOpen","suffixIcon","clearIcon","placeholder","pickerRef","panelRender","onOpenChange","onMouseUp","onContextMenu","_props$autoComplete","autoComplete","inputRender","inputRef","inputDivRef","containerRef","selectedValue","setSelectedValue","postOpen","newOpen","mergedOpen","triggerInnerOpen","_useTextValueMapping","newText","inputDate","_useTextValueMapping2","triggerTextChange","triggerChange","newValue","_usePickerInput","_usePickerInput2","inputProps","_usePickerInput2$","focus","blur","_useHoverValue","_useHoverValue2","hoverValue","panelProps","panel","stopPropagation","role","mergedInputProps","readOnly","inputNode","Picker","_len2","_key2","reorderValues","canValueTrigger","allowEmpty","InnerRangePicker","defaultDates","defaultViewDates","setDefaultViewDates","viewDates","setInternalViewDates","_classNames4","_disabledTime","ranges","onCalendarChange","order","activePickerIndex","openRecordsRef","startInputDivRef","endInputDivRef","separatorRef","startInputRef","endInputRef","arrowRef","mergedActivePickerIndex","setMergedActivePickerIndex","mergedDisabled","_useRangeViewDates","getRangeViewDate","getStartEndDistance","startNext","getDistance","compareFunc","num1","newViewDates","anotherIndex","_useRangeViewDates2","getViewDate","postValues","_useMergedState7","_useMergedState8","mergedModes","setInnerModes","triggerModesChange","modes","_useRangeDisabled","useRangeDisabled","disabledStart","disabledEnd","weekFirstDate","monthNumber","quarterNumber","_useRangeDisabled2","disabledStartDate","disabledEndDate","_useMergedState9","_useMergedState10","popupMinWidth","setPopupMinWidth","triggerRef","_triggerOpen","openRecords","triggerOpenAndFocus","sourceIndex","startValue","endValue","startStr","endStr","canStartValueTrigger","canEndValueTrigger","nextOpenIndex","sharedTextHooksProps","startValueTexts","firstStartValueText","_useValueTexts3","_useValueTexts4","endValueTexts","firstEndValueText","_onTextChange","disabledFunc","startText","triggerStartTextChange","resetStartText","_useTextValueMapping3","_useTextValueMapping4","endText","triggerEndTextChange","resetEndText","rangeHoverValue","setRangeHoverValue","_useState5","_useState6","setHoverRangedValue","startHoverValue","onStartEnter","onStartLeave","_useHoverValue3","_useHoverValue4","endHoverValue","onEndEnter","onEndLeave","getSharedInputHookProps","startInputProps","startFocused","startTyping","_usePickerInput3","_usePickerInput4","endInputProps","_usePickerInput4$","endFocused","endTyping","rangeLabels","renderPanel","panelHoverRangedValue","panelShowTime","timeDefaultValues","panelDateRender","es_RangeContext","arrowLeft","panelLeft","arrowMarginLeft","offsetLeft","arrowPositionStyle","rangePanel","minWidth","renderPanels","panels","extraNode","nextViewDate","showDoublePanel","leftPanel","newViewDate","rightPanel","mergedNodes","marginLeft","inputSharedProps","activeBarLeft","activeBarWidth","activeBarPositionStyle","YearSelect","fullscreen","validRange","_onChange","divRef","suffix","options","numYear","_validRange","newYear","newMonth","MonthSelect","_onChange2","_validRange2","currentYear","months","ModeSwitch","onModeChange","group","radioButton","calendar_Header","formItemInputContext","aM","mergedFormItemInputContext","isFormItemInput","sharedProps","calendar","calendar_generateCalendar","dateFullCellRender","dateCellRender","monthFullCellRender","headerRender","_props$fullscreen","calendarPrefixCls","setMergedValue","setMergedMode","panelMode","mergedDisabledDate","notInRange","triggerPanelChange","triggerModeChange","padStart_default","monthRender","LocaleReceiver","componentName","defaultLocale","en_US","lang","contextLocale","onTypeChange","initial_state","autoplaying","currentDirection","currentLeft","currentSlide","dragging","edgeDragged","initialized","lazyLoadedList","listHeight","listWidth","scrolling","slideCount","slideHeight","slideWidth","swipeLeft","swiped","swiping","touchObject","startX","startY","curX","curY","trackStyle","trackWidth","targetSlide","clamp","number","lowerBound","upperBound","min","safePreventDefault","passiveEvents","_reactName","getOnDemandLazySlides","spec","onDemandSlides","startIndex","lazyStartIndex","endIndex","lazyEndIndex","slideIndex","lazySlidesOnLeft","lazySlidesOnRight","centerMode","slidesToShow","centerPadding","getWidth","elem","getHeight","offsetHeight","getSwipeDirection","xDist","swipeAngle","verticalSwiping","round","atan2","PI","canGoNext","canGo","infinite","extractObject","newObject","initializedState","Children","listNode","listRef","trackRef","vertical","centerPaddingAdj","initialSlide","rtl","slidesToLoad","autoplay","slideHandler","waitForAnimate","fade","lazyLoad","slidesToScroll","useCSS","finalSlide","animationLeft","finalLeft","animationSlide","nextState","getTrackLeft","getTrackAnimateCSS","getTrackCSS","changeSlide","indexOffset","previousInt","slideOffset","previousTargetSlide","unevenOffset","message","siblingDirection","swipeMove","swipeToSlide","edgeFriction","onEdge","swipeEvent","curLeft","touches","pageX","clientX","pageY","clientY","swipeLength","sqrt","pow","verticalSwipeLength","positionOffset","swipeDirection","touchSwipeLength","swipeEnd","swipe","touchThreshold","onSwipe","newSlide","activeSlide","getSlideCount","checkNavigable","getNavigableIndexes","breakpoint","counter","indexes","navigables","prevNavigable","centerOffset","swipedSlide","slickList","from","querySelectorAll","slide","currentIndex","dataset","checkSpecKeys","keysArray","console","error","trackHeight","trackChildren","getTotalSlides","WebkitTransition","useTransform","attachEvent","speed","cssEase","unslick","variableWidth","verticalOffset","slidesToOffset","getPreClones","targetLeft","targetSlideIndex","trackElem","getPostClones","slidesOnRight","slidesOnLeft","canUseDOM","getSlideClasses","slickActive","slickCenter","slickCloned","getSlideStyle","getKey","fallbackKey","renderSlides","slides","preCloneSlides","postCloneSlides","childrenCount","childOnClickOptions","childStyle","slideClass","slideClasses","outline","focusOnSelect","preCloneNo","reverse","Track","_React$PureComponent","assertThisInitialized","onMouseOver","handleRef","PureComponent","Dots","clickHandler","dotCount","dots","_rightBound","rightBound","_leftBound","leftBound","dotOptions","customPaging","appendDots","dotsClass","PrevArrow","prevClasses","prevHandler","prevArrowProps","display","customProps","prevArrow","NextArrow","_React$PureComponent2","_super2","nextClasses","nextHandler","nextArrowProps","nextArrow","_excluded","InnerSlider","list","track","adaptiveHeight","onInit","prevState","onLazyLoad","updateState","adaptHeight","autoPlay","lazyLoadTimer","setInterval","progressiveLazyLoad","ro","ResizeObserver_es","onWindowResized","callbackTimers","observe","onfocus","pauseOnFocus","onSlideFocus","onblur","onSlideBlur","animationEndCallback","clearInterval","timer","detachEvent","autoplayTimer","disconnect","checkImagesLoad","onReInit","setTrackStyle","didPropsChange","autoplaySpeed","pause","debouncedResize","debounce_default","resizeWindow","Boolean","updatedState","_trackWidth","_trackLeft","childrenWidths","preClones","postClones","_i2","_trackStyle","currentWidth","trackLeft","images","imagesCount","loadedCount","image","onclick","prevClickHandler","parentNode","onload","onerror","onLazyLoadError","_index","dontAnimate","asNavFor","beforeChange","afterChange","_slideHandler","asNavForIndex","innerSlider","firstBatch","objectWithoutProperties","nodes","clickable","accessibility","dir","tagName","keyCode","ontouchmove","returnValue","disableBodyScroll","triggerSlideHandler","enableBodyScroll","nextIndex","playType","play","pauseType","trackProps","pauseOnHover","onTrackOver","onTrackLeave","selectHandler","dotProps","pauseOnDotsHover","onDotsLeave","onDotsOver","arrowProps","arrows","verticalHeightStyle","centerPaddingStyle","padding","listStyle","touchMove","listProps","swipeStart","onMouseMove","onTouchStart","onTouchMove","onTouchEnd","touchEnd","onTouchCancel","keyHandler","innerSliderProps","listRefHandler","trackRefHandler","ssrState","ssrInit","_i3","_Object$keys","default_props","easing","responsive","slidesPerRow","Slider","slickPrev","slickNext","slickGoTo","_responsiveMediaHandlers","query","mql","matchMedia","listener","matches","addListener","breakpoints","breakpt","sort","x","bQuery","json2mq_default","maxWidth","media","obj","removeListener","settings","resp","trim","warn","newChildren","k","innerSliderRefHandler","carousel_rest","carousel","_a$dots","_a$arrows","_a$draggable","_a$dotPosition","dotPosition","_a$vertical","slickRef","goTo","useImperativeHandle","effect","dsClass","CascaderContext","VALUE_SPLIT","SHOW_PARENT","SHOW_CHILD","toPathKey","toPathKeys","isLeaf","option","fieldNames","_option$isLeaf","_option$fieldNames$ch","formatStrategyValues","pathKeys","getKeyPathEntities","showCheckedStrategy","valueSet","keyPathEntities","parent","has","toPathOptions","valueCells","stringMode","currentList","valueOptions","_currentList","_currentList2","_foundOption$fieldNam","valueCell","foundIndex","foundOption","useEntities","cacheRef","info","treeUtil","I8","initWrapper","wrapper","pathKeyEntities","processEntity","pathKey","useRefFunc","funcRef","SEARCH_MARK","defaultFilter","search","opt","toLowerCase","defaultRender","inputValue","useSearchOptions","config","changeOnSelect","_config$filter","_config$render","render","_config$limit","limit","filteredOptions","dig","pathOptions","connectedPathOptions","a","b","Checkbox","checked","halfChecked","checkable","FIX_LABEL","Column","multiple","activeValue","prevValuePath","onToggleOpen","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable","menuItemPrefixCls","expandTrigger","expandIcon","loadingIcon","dropdownMenuColumnStyle","hoverOpen","optionInfoList","_option$FIX_LABEL","searchOptions","isMergedLeaf","fullPath","fullPathKey","isLoading","triggerOpenPath","onDoubleClick","useActive","_useBaseProps","rc_select_es","lk","activeValueCells","setActiveValueCells","firstValueCells","useKeyboard","onKeyBoardSelect","searchValue","toggleOpen","currentOptions","mergedActiveIndexes","mergedActiveValueCells","len","nextActiveIndex","_ret","activeOptions","validActiveValueCells","lastActiveIndex","lastActiveOptions","internalSetActiveValueCells","offsetActiveOption","prevColumn","nextColumn","_lastActiveOptions$la","nextOption","nextOptions","BACKSPACE","originOptions","onKeyUp","RefOptionList","_optionColumns$","_optionColumns$$optio","notFoundContent","halfValues","loadData","mergedPrefixCls","setLoadingKeys","internalLoadData","rawOptions","optionList","lastOption","loadingKey","_useActive","_useActive2","onPathOpen","nextValueCells","onPathSelect","valuePath","leaf","fromKeyboard","mergedOptions","optionColumns","activeValueCell","currentOption","subOptions","selectValueCells","_containerRef$current","cellKeyPath","scrollIntoParentView","parentElement","elementToParent","emptyList","columnProps","columnNodes","mergedOptionColumns","col","Cascader_excluded","toRawValues","Cascader","rawValues","displayRender","onSearch","showSearch","onDropdownVisibleChange","onPopupVisibleChange","_props$expandIcon","_props$dropdownMatchS","dropdownMatchSelectWidth","_props$showCheckedStr","mergedId","useId","setRawValues","mergedFieldNames","getPathKeyEntities","getValueByKeyPath","mergedSearchValue","setSearchValue","_useSearchConfig","searchConfig","matchInputWidth","_useSearchConfig2","mergedShowSearch","getMissingValues","missingValues","existsValues","_getMissingValues","_getMissingValues2","existValues","keyPathValues","_conductCheck","conductUtil","S","checkedKeys","halfCheckedKeys","checkedValues","halfCheckedValues","missingCheckedValues","displayValues","deduplicateKeys","mergedDisplayRender","labels","mergedLabels","keyedLabel","_valueOptions","_valueOptions$option","_option$fieldNames$la","nextValues","nextRawValues","valueOpt","checkedPathKeys","halfCheckedPathKeys","existInChecked","existInMissing","nextCheckedValues","nextMissingValues","nextRawCheckedKeys","_conductCheck2","_conductCheck3","cascaderContext","emptyOptions","dropdownStyle","es_context","Ac","onDisplayValuesChange","_","searchText","OptionList","nextVisible","getRawInputElement","cascader_rest","cascader_SHOW_CHILD","rc_cascader_es","cascader_SHOW_PARENT","defaultSearchRender","lower","cells","fillCells","cur","cell","originWorld","cascader_Cascader","customizeSize","customDisabled","_props$bordered","bordered","_props$choiceTransiti","choiceTransitionName","_props$allowClear","customStatus","showArrow","rest","_useContext","getContextPopupContainer","renderEmpty","rootDirection","mergedDirection","isRtl","_useContext2","contextStatus","hasFeedback","feedbackIcon","mergedStatus","statusUtils","F","mergedNotFoundContent","defaultRenderEmpty","cascaderPrefixCls","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","mergedDropdownClassName","mergedSize","DisabledContext","mergedExpandIcon","LeftOutlined","RightOutlined","LoadingOutlined","spin","mergedShowArrow","loading","_getIcons","iconUtil","removeIcon","inputIcon","motion","mL","q0","cascader","comment_rest","comment","actions","author","avatar","datetime","otherProps","avatarDom","actionDom","action","authorContent","contentDom","asn_CalendarOutlined","CalendarOutlined_CalendarOutlined","icons_CalendarOutlined","asn_ClockCircleOutlined","ClockCircleOutlined_ClockCircleOutlined","icons_ClockCircleOutlined","asn_SwapRightOutlined","SwapRightOutlined_SwapRightOutlined","icons_SwapRightOutlined","transPlacement2DropdownAlign","generateRangePicker_rest","generateSinglePicker_rest","Components","es_button","tag","getTimeProps","firstFormat","generatePicker_toArray","showTimeObj","date_picker","generatePicker","getPicker","customizeGetPopupContainer","innerRef","additionalProps","additionalOverrideProps","mergedPicker","formItemContext","locale_en_US","yearPlaceholder","quarterPlaceholder","monthPlaceholder","weekPlaceholder","timePickerLocale","CloseCircleFilled","customGetPopupContainer","rangeYearPlaceholder","rangeQuarterPlaceholder","rangeMonthPlaceholder","rangeWeekPlaceholder","rangePlaceholder","descriptions_Cell","itemPrefixCls","span","labelStyle","contentStyle","colon","colSpan","notEmpty","renderCells","showLabel","showContent","rootLabelStyle","rootContentStyle","_ref3$props","_ref3$props$prefixCls","_ref3$props$span","descriptions_Row","descContext","DescriptionsContext","DEFAULT_COLUMN_MAP","xxl","xl","lg","md","sm","xs","getFilledItem","rowRestCol","Descriptions","tmpRow","extra","_ref$column","_ref$colon","layout","setScreens","mergedColumn","getColumn","token","subscribe","newScreens","unsubscribe","mergedSpan","contextValue","descriptions","es_DrawerPanel","DrawerContext","parseWidthHeight","sentinelStyle","DrawerPopup","_pushConfig$distance","_pushConfig","inline","forceRender","keyboard","rootClassName","rootStyle","zIndex","contentWrapperStyle","mask","maskClosable","maskMotion","maskClassName","maskStyle","afterOpenChange","sentinelStartRef","sentinelEndRef","_panelRef$current","preventScroll","pushed","setPushed","parentContext","pushDistance","distance","mergedContext","pull","_parentContext$push","_parentContext$pull","_parentContext$pull2","maskNode","maskRef","motionMaskClassName","motionMaskStyle","motionProps","onVisibleChanged","removeOnLeave","leavedClassName","motionRef","motionStyle","containerStyle","rc_drawer_es_context","_sentinelStartRef$cur","_sentinelEndRef$curre","Drawer","destroyOnClose","animatedVisible","setAnimatedVisible","sharedDrawerProps","portal_es","autoDestroy","autoLock","defaultProps","drawer_rest","defaultPushState","drawer","_props$closable","closable","_props$mask","_props$push","_props$closeIcon","closeIcon","CloseOutlined","bodyStyle","drawerStyle","headerStyle","footer","footerStyle","customizeGetContainer","afterVisibleChange","_afterOpenChange","closeIconNode","drawerClassName","mergedWidth","mergedHeight","motionEnter","motionLeave","Ux","override","body","isOpen","motionPlacement","grid","fixPoint","clientWidth","startAddWidth","offsetStart","PreviewGroup_excluded","PreviewGroup_context","previewUrls","setPreviewUrls","setCurrent","setShowPreview","setMousePosition","registerImage","Preview_excluded","initialPosition","es_Preview","frame","queue","_countRender","afterClose","_props$icons","icons","countRender","_props$scaleStep","scaleStep","_props$transitionName","_props$maskTransition","maskTransitionName","rotateLeft","rotateRight","zoomIn","zoomOut","close","rotate","setRotate","_useFrameSetState","preState","memoState","queueState","_useFrameSetState2","setPosition","imgRef","originPositionRef","originX","originY","deltaX","deltaY","isMoving","setMoving","isPreviewGroup","previewGroupCount","previewUrlsKeys","currentPreviewIndex","combinationSrc","showLeftOrRightSwitches","_useState7","wheelDirection","_useState8","lastWheelZoomDirection","setLastWheelZoomDirection","onZoomIn","onZoomOut","wrapClassName","toolClassName","iconClassName","_getClientSize","fixPos","_imgRef$current$getBo","_left","isRotate","fixState","css","g1","onWheelMove","onTopMouseUpListener","onTopMouseMoveListener","onMouseUpListener","onMouseMoveListener","onScrollWheelListener","passive","onKeyDownListener","self","Kp","_onTopMouseUpListener","_onTopMouseMoveListen","operations","showOperationsProgress","tools","_classnames4","rc_dialog_es","Image_excluded","_excluded2","uuid","ImageInternal","_imgCommonProps$style","imgSrc","onInitialPreviewClose","onPreviewClose","_ref$prefixCls","_ref$previewPrefixCls","previewPrefixCls","fallback","_ref$preview","preview","onImageError","decoding","referrerPolicy","sizes","useMap","isCustomPlaceholder","previewSrc","_ref2$visible","previewVisible","_ref2$onVisibleChange","onVisibleChange","_ref2$getContainer","previewMask","dialogProps","isControlled","isShowPreview","setStatus","mousePosition","isError","setGroupShowPreview","setGroupMousePosition","currentId","canPreview","isLoaded","onLoad","imgCommonProps","_getOffset","os","img","complete","naturalWidth","naturalHeight","PreviewGroup","_ref$icons","_ref2$current","_ref2$countRender","currentControlledKey","canPreviewUrls","_ref4","_ref5","_ref6","url","oldPreviewUrls","clonePreviewUrls","deleteResult","asn_RotateLeftOutlined","RotateLeftOutlined_RotateLeftOutlined","icons_RotateLeftOutlined","asn_RotateRightOutlined","RotateRightOutlined_RotateRightOutlined","icons_RotateRightOutlined","asn_ZoomInOutlined","ZoomInOutlined_ZoomInOutlined","icons_ZoomInOutlined","asn_ZoomOutOutlined","ZoomOutOutlined_ZoomOutOutlined","icons_ZoomOutOutlined","PreviewGroup_rest","image_rest","image_Image","_useContext$locale","es_locale_en_US","imageLocale","Image","mergedPreview","_preview","restPreviewProps","EyeOutlined","rc_image_es","es_image","Item_rest","Item_Item","colStyle","ListContext","itemLayout","_useContext3","actionsContent","itemChildren","grid_col","flex","Meta","description","list_rest","List","renderEmptyHandler","_a$pagination","pagination","_a$bordered","_a$split","loadMore","_a$dataSource","header","_a$loading","rowKey","renderItem","paginationObj","defaultCurrent","paginationCurrent","setPaginationCurrent","defaultPageSize","paginationSize","setPaginationSize","triggerPaginationEvent","page","pageSize","onPaginationChange","onPaginationShowSizeChange","renderInnerItem","loadingProp","spinning","paginationProps","total","largestPage","paginationContent","es_pagination","onShowSizeChange","splitDataSource","splice","currentBreakpoint","columnCount","childrenContent","minHeight","gutter","emptyText","paginationPosition","MentionsContext","es_DropdownMenu","setActiveIndex","selectOption","activeOption","rc_menu_es","activeKey","optionKey","sN","KeywordTrigger_BUILT_IN_PLACEMENTS","KeywordTrigger","getDropdownPrefix","getDropdownElement","getDropDownPlacement","char","Mentions","effectId","setEffectId","update","prefix","validateSearch","filterOption","onPressEnter","mergedPrefix","mergedProps","textareaRef","measureRef","getTextArea","_textareaRef$current","_textareaRef$current$","resizableTextArea","textArea","_textareaRef$current4","_textareaRef$current5","_textareaRef$current2","_textareaRef$current3","textarea","measuring","setMeasuring","measureText","setMeasureText","measurePrefix","setMeasurePrefix","measureLocation","setMeasureLocation","_useState9","_useState10","_useState11","_useState12","isFocus","setIsFocus","curPrefix","lastIndexOf","mergedMeasuring","mergedMeasureText","mergedMeasurePrefix","mergedMeasureLocation","getOptions","targetMeasureText","optionProps","onSelectionEffect","_effectId$callback","startMeasure","nextMeasureText","nextMeasurePrefix","nextMeasureLocation","stopMeasure","nextValue","measureConfig","targetText","selectionStart","beforeMeasureText","restText","connectedStartText","_getTextArea","_option$value","_replaceWithMeasure","reduceText","firstChar","targetTextLen","selectionLocation","input","setSelectionRange","focusRef","onInternalFocus","onInternalBlur","rc_textarea_es","optionLen","selectionStartText","_getLastMeasureIndex","lastMatch","prefixStr","lastIndex","location","measureIndex","validateMeasure","matchOption","es_MentionsContext","_ref$value","lowerCase","mentions_rest","mentions_Option","rc_mentions_es","loadingFilterOption","mentions_Mentions","mergedRef","mergedClassName","mentions","getMentions","_config$prefix","_config$split","prefixList","hitPrefix","asn_ArrowLeftOutlined","ArrowLeftOutlined_ArrowLeftOutlined","icons_ArrowLeftOutlined","asn_ArrowRightOutlined","ArrowRightOutlined_ArrowRightOutlined","icons_ArrowRightOutlined","getBackIcon","backIcon","renderTitle","subTitle","tags","onBack","headingPrefixCls","hasHeading","backIconDom","transButton","back","hasTitle","space","page_header","hooks_useState","compact","updateCompact","pageHeader","breadcrumb","breadcrumbRender","customizeClassName","ghost","defaultBreadcrumbDom","breadcrumbRenderDomFromProps","breadcrumbDom","isBreadcrumbComponent","asn_StarFilled","StarFilled_StarFilled","icons_StarFilled","Star","onHover","_this$props3","_this$props4","allowHalf","starValue","_this$props5","character","characterRender","characterNode","getClassName","noop","Rate","stars","rate","onHoverChange","getStarValue","cleanedValue","isReset","changeValue","saveRef","saveRate","_value","findDOMNode","doc","docElem","box","pos","w","starEle","getStarDOM","leftDis","clientLeft","el","defaultView","parentWindow","util_getScroll","ret","pageXOffset","method","rateClassName","nextProps","rate_rest","tooltips","_props$character","ratePrefixCls","tooltip","calcThumbStyle","toPX","MotionThumb","getValueIndex","onMotionStart","onMotionEnd","thumbRef","findValueElement","prevStyle","setPrevStyle","nextStyle","setNextStyle","calcPrevStyle","calcNextStyle","onAppearStart","onAppearActive","onAppearEnd","es_excluded","InternalSegmentedOption","Segmented","_segmentedOptions$","_props$motionName","segmentedOptions","validTitle","getValidTitle","_option$label","rawValue","setRawValue","thumbShow","setThumbShow","handleChange","segmentedOption","segmented_rest","segmented","block","_props$options","extendedOptions","restOption","Step_excluded","isString","Step","_args","onStepClick","stepIndex","iconNode","progressDot","stepIcon","stepNumber","iconPrefix","finish","iconDot","_this$props3$status","tailContent","stepItemStyle","accessibilityProps","renderIconNode","Steps_excluded","Steps","_this$props2$style","labelPlacement","initial","_this$props2$items","mergedItem","steps_rest","steps_Steps","percent","_props$responsive","_props$current","_useBreakpoint","rtlDirection","getDirection","mergedItems","stepsClassName","CheckOutlined","progress","strokeWidth","rc_steps_es","steps","time_picker_rest","InternalTimePicker","InternalRangePicker","time_picker_RangePicker","addon","internalRenderExtraFooter","time_picker","TimelineItem_rest","timeline_TimelineItem","_a$color","_a$pending","pending","itemClassName","dotClassName","customColor","test","Timeline_rest","Timeline","_props$pending","pendingDot","_props$reverse","_props$mode","pendingItem","timeLineItems","truthyItems","itemsCount","lastCls","idx","hasLabelItem","timeline","transfer_ListItem","renderedText","renderedEl","onRemove","showRemove","locale_default","Transfer","liProps","labelNode","DeleteOutlined","es_checkbox","OmitProps","parsePagination","defaultPagination","simple","showSizeChanger","showLessItems","ListBody","onItemSelect","selectedKeys","onItemRemove","onPageChange","getItems","filteredRenderItems","mergedPagination","displayItems","onScroll","globalDisabled","paginationNode","maxPageCount","Search","_props$placeholder","handleClear","SearchOutlined","list_defaultRender","getEnabledItemKeys","data","TransferList","defaultListBodyRef","handleFilter","filterValue","matchFilter","renderListBody","renderList","bodyContent","customize","_this$props$render","renderResult","isRenderResultPlain","getSelectAllLabel","selectedCount","totalCount","itemsUnit","itemUnit","selectAllLabel","triggerScrollTimer","filteredItems","renderedItem","searchPlaceholder","contentIndex","bodyNode","_this$renderListBody","onItemSelectAll","checkStatus","getCheckStatus","checkedAll","indeterminate","_this4","_this$props2$dataSour","_this$props2$titleTex","titleText","_this$props2$showSear","selectAll","selectCurrent","selectInvert","removeAll","removeCurrent","_this$props2$showSele","showSelectAll","footerDom","listCls","_this$getFilteredItem","getFilteredItems","listBody","getListBody","listFooter","checkAllCheckbox","getCheckBox","pageKeys","pageItems","availableKeys","checkedKeySet","newCheckedKeys","newUnCheckedKeys","es_dropdown","operation","moveToLeft","moveToRight","_ref$leftArrowText","leftArrowText","_ref$rightArrowText","rightArrowText","leftActive","rightActive","oneWay","separatedDataSource","setStateKeys","sourceSelectedKeys","targetSelectedKeys","getLocale","transferLocale","_this$props$locale","moveTo","_this$props$targetKey","targetKeys","_this$props$dataSourc","newMoveKeys","moveKeys","newTargetKeys","targetKey","oppositeDirection","handleSelectChange","checkAll","prevKeys","mergedCheckedKeys","onLeftItemSelectAll","onRightItemSelectAll","handleLeftFilter","handleRightFilter","handleLeftClear","handleRightClear","selectedKey","holder","onLeftItemSelect","onRightItemSelect","onRightItemRemove","_this$props2$targetKe","handleLeftScroll","handleRightScroll","handleListStyle","_props$selectedKeys","_props$targetKeys","_b","titles","_this$state3","onSelectChange","_this$props3$dataSour","_this$props3$targetKe","leftDataSource","rightDataSource","record","indexOfKey","_this2$props","_this2$props$operatio","_this2$props$showSear","_this2$props$listStyl","operationStyle","_this2$state","_this2$separateDataSo","separateDataSource","getTitles","selectAllLabels","mergedTargetKeys","Operation","transfer","LegacySelectContext","TreeSelectContext","isCheckDisabled","disableCheckbox","OptionList_HIDDEN_STYLE","border","margin","OptionList_RefOptionList","virtual","listItemHeight","treeData","treeExpandAction","treeExpandedKeys","treeDefaultExpandAll","treeDefaultExpandedKeys","onTreeExpand","treeIcon","showTreeIcon","switcherIcon","treeLine","treeNodeFilterProp","treeLoadedKeys","treeMotion","onTreeLoad","keyEntities","treeRef","memoTreeData","_treeRef$current","lowerSearchValue","expandedKeys","setExpandedKeys","searchExpandedKeys","setSearchExpandedKeys","mergedExpandedKeys","onListMouseDown","__","selected","setActiveKey","activeEntity","_treeRef$current2","_treeRef$current3","selectable","treeProps","loadedKeys","rc_tree_es","focusable","itemHeight","showIcon","showLine","checkStrictly","defaultExpandAll","onActiveChange","onCheck","onExpand","filterTreeNode","treeNode","expandAction","es_TreeNode","SHOW_ALL","strategyUtil_SHOW_PARENT","strategyUtil_SHOW_CHILD","strategyUtil_formatStrategyValues","strategy","legacyUtil_excluded","fillLegacyProps","dataNode","cloneNode","useCache","valueLabels","valueLabelsCache","filledValues","_item$label","mergedLabel","useRefFunc_useRefFunc","useFilterTreeData","fieldChildren","filterOptionFunc","upperStr","toUpperCase","keepAll","childList","TreeSelect_excluded","GenericTreeSelect","onDeselect","_props$autoClearSearc","autoClearSearchValue","_props$treeNodeFilter","treeNodeLabelProp","treeCheckable","treeCheckStrictly","labelInValue","treeDataSimpleMode","_props$listHeight","_props$listItemHeight","treeConduction","mergedCheckable","mergedLabelInValue","mergedMultiple","internalValue","setInternalValue","_title","mergedTreeData","pId","rootPId","keyNodes","rootNodeList","simpleMode","nodeList","parentKey","convertChildrenToData","_ref$props","childData","_useDataEntities","valueEntities","splitRawValues","newRawValues","missingRawValues","existRawValues","filteredTreeData","getLabel","titleList","toLabeledValues","draftValues","convert2LabelValues","rawDisabled","_rawLabel","rawLabel","rawHalfChecked","labelInValueItem","labeledItem","rawMixedLabeledValues","fullCheckValues","halfCheckValues","rawLabeledValues","rawHalfLabeledValues","_useCheckedKeys","rawHalfCheckedValues","_useCheckedKeys2","rawCheckedValues","_useCache","rawDisplayValues","_keyEntities$key$node","_keyEntities$key","_keyEntities$key$node2","targetItem","firstVal","cachedDisplayValues","_useCache2","eventValues","formattedKeyList","triggerValue","returnRawValues","returnLabeledValues","additionalInfo","preValue","showPosition","fillAdditionalInfo","triggerNode","generateMap","level","parentIncluded","included","checkedNode","val1","val2","index1","returnValues","onOptionSelect","_node$mergedFieldName","v","_splitRawValues","keyList","onInternalDropdownVisibleChange","legacyParam","treeSelectContext","legacyContext","es_TreeSelectContext","LegacyContext","TreeNode","tree_select_rest","tree_select_TreeSelect","mergedNotFound","_a$listHeight","_a$listItemHeight","_switcherIcon","_a$treeIcon","_a$choiceTransitionNa","treePrefixCls","treeSelectPrefixCls","isMultiple","selectProps","nodeProps","utils_iconUtil","tree_select","es_version","theme","Overlay","okButtonProps","cancelButtonProps","cancelText","okText","okType","_props$showCancel","showCancel","onConfirm","Popconfirm","ActionButton","buttonProps","button_button","actionFn","quitOnNullishReturnValue","emitEvent","popconfirm","defaultVisible","setOpen","settingOpen","_props$placement","_props$trigger","_props$okType","_props$icon","ExclamationCircleFilled","prefixClsConfirm","overlayClassNames","_props$disabled","_overlay","react__WEBPACK_IMPORTED_MODULE_0__","_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_1__","Popover","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","_props$overlayStyle","overlayStyle","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_tooltip__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","_util_motion__WEBPACK_IMPORTED_MODULE_5__","__webpack_exports__","camel2hyphen","__webpack_require__","obj2mq","mq","features","feature","isDimension","module","exports","q"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4768.b1ba3da9c17069b9.js b/static/web/_next/static/chunks/4768.b1ba3da9c17069b9.js deleted file mode 100644 index 9881c2282..000000000 --- a/static/web/_next/static/chunks/4768.b1ba3da9c17069b9.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4768],{81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},24093:function(e,t,n){"use strict";n.d(t,{C:function(){return E}});var r=n(87462),o=n(4942),a=n(71002),l=n(97685),i=n(94184),c=n.n(i),u=n(48555),s=n(42550),d=n(67294),f=n(53124),p=n(25378),m=n(24308),v=d.createContext("default"),h=function(e){var t=e.children,n=e.size;return d.createElement(v.Consumer,null,function(e){return d.createElement(v.Provider,{value:n||e},t)})},g=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},y=d.forwardRef(function(e,t){var n,i,h,y=d.useContext(v),C=d.useState(1),Z=(0,l.Z)(C,2),b=Z[0],w=Z[1],E=d.useState(!1),k=(0,l.Z)(E,2),x=k[0],S=k[1],N=d.useState(!0),P=(0,l.Z)(N,2),O=P[0],M=P[1],R=d.useRef(null),T=d.useRef(null),D=(0,s.sQ)(t,R),L=d.useContext(f.E_).getPrefixCls,I=function(){if(T.current&&R.current){var t=T.current.offsetWidth,n=R.current.offsetWidth;if(0!==t&&0!==n){var r=e.gap,o=void 0===r?4:r;2*oe.top-n)return n+t.top}function L(e,t,n){if(void 0!==n&&t.bottom=0;i--)(o=e[i])&&(l=(a<3?o(l):a>3?o(t,n,l):o(t,n))||l);return a>3&&l&&Object.defineProperty(t,n,l),l};function j(){return"undefined"!=typeof window?window:null}(r=p||(p={}))[r.None=0]="None",r[r.Prepare=1]="Prepare";var Y=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.state={status:p.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props,n=t.offsetBottom,r=t.offsetTop;return void 0===n&&void 0===r?0:r},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,o=e.props.onChange,a=e.getTargetFunc();if(n===p.Prepare&&e.fixedNode&&e.placeholderNode&&a){var l=e.getOffsetTop(),i=e.getOffsetBottom(),c=a();if(c){var u={status:p.None},s=T(c),d=T(e.placeholderNode),f=D(d,s,l),m=L(d,s,i);(0!==d.top||0!==d.left||0!==d.width||0!==d.height)&&(void 0!==f?(u.affixStyle={position:"fixed",top:f,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}):void 0!==m&&(u.affixStyle={position:"fixed",bottom:m,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}),u.lastAffix=!!u.affixStyle,o&&r!==u.lastAffix&&o(u.lastAffix),e.setState(u))}}},e.prepareMeasure=function(){e.setState({status:p.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e}return(0,g.Z)(n,[{key:"getTargetFunc",value:function(){var e=this.context.getTargetContainer,t=this.props.target;return void 0!==t?t:null!=e?e:j}},{key:"componentDidMount",value:function(){var e=this,t=this.getTargetFunc();t&&(this.timeout=setTimeout(function(){H(t(),e),e.updatePosition()}))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.getTargetFunc(),r=(null==n?void 0:n())||null;t!==r&&(z(this),r&&(H(r,this),this.updatePosition()),this.setState({prevTarget:r})),(e.offsetTop!==this.props.offsetTop||e.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),z(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.getTargetFunc(),t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),o=e();if(o&&this.placeholderNode){var a=T(o),l=T(this.placeholderNode),i=D(l,a,n),c=L(l,a,r);if(void 0!==i&&t.top===i||void 0!==c&&t.bottom===c)return}}this.prepareMeasure()}},{key:"render",value:function(){var e=this,t=this.state,n=t.affixStyle,r=t.placeholderStyle,o=this.props,a=o.affixPrefixCls,l=o.children,i=w()((0,v.Z)({},a,!!n)),c=(0,k.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return x.createElement(E.default,{onResize:function(){e.updatePosition()}},x.createElement("div",(0,m.Z)({},c,{ref:this.savePlaceholderNode}),n&&x.createElement("div",{style:r,"aria-hidden":"true"}),x.createElement("div",{className:i,ref:this.saveFixedNode,style:n},x.createElement(E.default,{onResize:function(){e.updatePosition()}},l))))}}]),n}(x.Component);Y.contextType=S.E_,V([M()],Y.prototype,"updatePosition",null),V([M()],Y.prototype,"lazyUpdatePosition",null);var F=x.forwardRef(function(e,t){var n=e.prefixCls,r=(0,x.useContext(S.E_).getPrefixCls)("affix",n),o=(0,m.Z)((0,m.Z)({},e),{affixPrefixCls:r});return x.createElement(Y,(0,m.Z)({},o,{ref:t}))}),W=n(14670),K=n(97685),_=n(66367),B=n(58375),U=x.createContext(void 0);function X(){return window}function q(e,t){if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var G=/#([\S ]+)$/,Q=function(e){var t,n=e.anchorPrefixCls,r=e.className,o=e.style,a=e.offsetTop,l=e.affix,i=void 0===l||l,c=e.showInkInFixed,u=e.children,s=e.bounds,d=e.targetOffset,f=e.onClick,p=e.onChange,h=e.getContainer,g=e.getCurrentAnchor,y=x.useState([]),C=(0,K.Z)(y,2),Z=C[0],b=C[1],E=x.useState(null),k=(0,K.Z)(E,2),P=k[0],O=k[1],M=x.useRef(P),T=x.useRef(null),D=x.useRef(null),L=x.useRef(!1),I=x.useContext(S.E_),A=I.direction,H=I.getTargetContainer,z=null!==(t=null!=h?h:H)&&void 0!==t?t:X,V=JSON.stringify(Z),j=x.useCallback(function(e){Z.includes(e)||b(function(t){return[].concat((0,N.Z)(t),[e])})},[V]),Y=x.useCallback(function(e){Z.includes(e)&&b(function(t){return t.filter(function(t){return t!==e})})},[V]),W=function(){var e,t=null===(e=T.current)||void 0===e?void 0:e.querySelector(".".concat(n,"-link-title-active"));t&&D.current&&(D.current.style.top="".concat(t.offsetTop+t.clientHeight/2-4.5,"px"))},Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[],o=z();return(e.forEach(function(e){var a=G.exec(null==e?void 0:e.toString());if(a){var l=document.getElementById(a[1]);if(l){var i=q(l,o);ie.top?t:e}).link:""},$=function(e){if(M.current!==e){var t="function"==typeof g?g(e):e;O(t),M.current=t,null==p||p(e)}},J=x.useCallback(function(){L.current||"function"==typeof g||$(Q(Z,void 0!==d?d:a||0,s))},[V,d,a]),ee=x.useCallback(function(e){$(e);var t=z(),n=(0,_.Z)(t,!0),r=G.exec(e);if(r){var o=document.getElementById(r[1]);if(o){var l=n+q(o,t);l-=void 0!==d?d:a||0,L.current=!0,(0,B.Z)(l,{getContainer:z,callback:function(){L.current=!1}})}}},[d,a]),et=w()((0,v.Z)({},"".concat(n,"-ink-ball-visible"),P),"".concat(n,"-ink-ball")),en=w()("".concat(n,"-wrapper"),(0,v.Z)({},"".concat(n,"-rtl"),"rtl"===A),void 0===r?"":r),er=w()(n,(0,v.Z)({},"".concat(n,"-fixed"),!i&&!(void 0!==c&&c))),eo=(0,m.Z)({maxHeight:a?"calc(100vh - ".concat(a,"px)"):"100vh"},o),ea=x.createElement("div",{ref:T,className:en,style:eo},x.createElement("div",{className:er},x.createElement("div",{className:"".concat(n,"-ink")},x.createElement("span",{className:et,ref:D})),u));x.useEffect(function(){var e=z(),t=(0,R.Z)(e,"scroll",J);return J(),function(){null==t||t.remove()}},[V]),x.useEffect(function(){"function"==typeof g&&$(g(M.current||""))},[g]),x.useEffect(function(){W()},[g,V,P]);var el=x.useMemo(function(){return{registerLink:j,unregisterLink:Y,scrollTo:ee,activeLink:P,onClick:f}},[P,f,ee]);return x.createElement(U.Provider,{value:el},i?x.createElement(F,{offsetTop:a,target:z},ea):ea)},$=function(e){var t=e.prefixCls,n=(0,x.useContext(S.E_).getPrefixCls)("anchor",t);return x.createElement(Q,(0,m.Z)({},e,{anchorPrefixCls:n}))};$.Link=function(e){var t=e.href,n=void 0===t?"#":t,r=e.title,o=e.prefixCls,a=e.children,l=e.className,i=e.target,c=x.useContext(U)||{},u=c.registerLink,s=c.unregisterLink,d=c.scrollTo,f=c.onClick,p=c.activeLink;x.useEffect(function(){return null==u||u(n),function(){null==s||s(n)}},[n,u,s]);var m=function(e){null==f||f(e,{title:r,href:n}),null==d||d(n)};return x.createElement(S.C,null,function(e){var t=(0,e.getPrefixCls)("anchor",o),c=p===n,u=w()("".concat(t,"-link"),l,(0,v.Z)({},"".concat(t,"-link-active"),c)),s=w()("".concat(t,"-link-title"),(0,v.Z)({},"".concat(t,"-link-title-active"),c));return x.createElement("div",{className:u},x.createElement("a",{className:s,href:n,title:"string"==typeof r?r:"",target:i,onClick:m},r),a)})};var J=$,ee=n(50344),et=n(34041),en=n(96159),er=et.Z.Option;function eo(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var ea=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.className,l=e.popupClassName,i=e.dropdownClassName,c=e.children,u=e.dataSource,s=(0,ee.Z)(c);1===s.length&&(0,en.l$)(s[0])&&!eo(s[0])&&(n=(0,K.Z)(s,1)[0]);var d=n?function(){return n}:void 0;return r=s.length&&eo(s[0])?c:u?u.map(function(e){if((0,en.l$)(e))return e;switch((0,Z.Z)(e)){case"string":return x.createElement(er,{key:e,value:e},e);case"object":var t=e.value;return x.createElement(er,{key:t,value:t},e.text);default:return}}):[],x.createElement(S.C,null,function(n){var c=(0,n.getPrefixCls)("select",o);return x.createElement(et.Z,(0,m.Z)({ref:t},(0,k.Z)(e,["dataSource"]),{prefixCls:c,popupClassName:l||i,className:w()("".concat(c,"-auto-complete"),a),mode:et.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:d}),r)})});ea.Option=er;var el=ea,ei=n(24093),ec=n(1413),eu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},es=n(42135),ed=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:eu}))};ed.displayName="VerticalAlignTopOutlined";var ef=x.forwardRef(ed),ep=n(62874),em=n(21770),ev=function(e){var t=e.prefixCls,n=e.rootPrefixCls,r=e.children,o=e.visible,a=x.createElement("div",{className:"".concat(t,"-content")},x.createElement("div",{className:"".concat(t,"-icon")},x.createElement(ef,null)));return x.createElement(ep.Z,{visible:o,motionName:"".concat(n,"-fade")},function(e){var t=e.className;return(0,en.Tm)(r||a,function(e){var n=e.className;return{className:w()(t,n)}})})},eh=x.memo(function(e){var t=(0,em.Z)(!1,{value:e.visible}),n=(0,K.Z)(t,2),r=n[0],o=n[1],a=x.createRef(),l=x.useRef(null),i=function(){return a.current&&a.current.ownerDocument?a.current.ownerDocument:window},c=O(function(t){var n=e.visibilityHeight;o((0,_.Z)(t.target,!0)>(void 0===n?400:n))}),u=function(){var t=(e.target||i)();l.current=(0,R.Z)(t,"scroll",function(e){c(e)}),c({target:t})};x.useEffect(function(){return u(),function(){l.current&&l.current.remove(),c.cancel()}},[e.target]);var s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=e.prefixCls,h=e.className,g=d("back-top",p),y=d(),C=w()(g,(0,v.Z)({},"".concat(g,"-rtl"),"rtl"===f),void 0===h?"":h),Z=(0,k.Z)(e,["prefixCls","className","children","visibilityHeight","target","visible"]);return x.createElement("div",(0,m.Z)({},Z,{className:C,onClick:function(t){var n=e.onClick,r=e.target,o=e.duration;(0,B.Z)(0,{getContainer:r||i,duration:void 0===o?450:o}),"function"==typeof n&&n(t)},ref:a}),x.createElement(ev,{prefixCls:g,rootPrefixCls:y,visible:r},e.children))}),eg=n(98787);function ey(e){return eg.Y.includes(e)}function eC(e){var t,n=e.prefixCls,r=e.value,o=e.current,a=e.offset,l=void 0===a?0:a;return l&&(t={position:"absolute",top:"".concat(l,"00%"),left:0}),x.createElement("span",{style:t,className:w()("".concat(n,"-only-unit"),{current:o})},r)}function eZ(e){var t,n,r=e.prefixCls,o=e.count,a=Number(e.value),l=Math.abs(o),i=x.useState(a),c=(0,K.Z)(i,2),u=c[0],s=c[1],d=x.useState(l),f=(0,K.Z)(d,2),p=f[0],v=f[1],h=function(){s(a),v(l)};if(x.useEffect(function(){var e=setTimeout(function(){h()},1e3);return function(){clearTimeout(e)}},[a]),u===a||Number.isNaN(a)||Number.isNaN(u))t=[x.createElement(eC,(0,m.Z)({},e,{key:a,current:!0}))],n={transition:"none"};else{t=[];for(var g=a+10,y=[],C=a;C<=g;C+=1)y.push(C);var Z=y.findIndex(function(e){return e%10===u});t=y.map(function(t,n){return x.createElement(eC,(0,m.Z)({},e,{key:t,value:t%10,offset:n-Z,current:n===Z}))}),n={transform:"translateY(".concat(-function(e,t,n){for(var r=e,o=0;(r+10)%10!==t;)r+=n,o+=n;return o}(u,a,pt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ew=function(e){var t=e.prefixCls,n=e.count,r=e.className,o=e.motionClassName,a=e.style,l=e.title,i=e.show,c=e.component,u=e.children,s=eb(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),d=(0,x.useContext(S.E_).getPrefixCls)("scroll-number",t),f=(0,m.Z)((0,m.Z)({},s),{"data-show":i,style:a,className:w()(d,r,o),title:l}),p=n;if(n&&Number(n)%1==0){var v=String(n).split("");p=v.map(function(e,t){return x.createElement(eZ,{prefixCls:d,count:Number(n),value:e,key:v.length-t})})}return(a&&a.borderColor&&(f.style=(0,m.Z)((0,m.Z)({},a),{boxShadow:"0 0 0 1px ".concat(a.borderColor," inset")})),u)?(0,en.Tm)(u,function(e){return{className:w()("".concat(d,"-custom-component"),null==e?void 0:e.className,o)}}):x.createElement(void 0===c?"sup":c,f,p)},eE=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ek=function(e){var t,n,r=e.prefixCls,o=e.scrollNumberPrefixCls,a=e.children,l=e.status,i=e.text,c=e.color,u=e.count,s=void 0===u?null:u,d=e.overflowCount,f=void 0===d?99:d,p=e.dot,h=e.size,g=void 0===h?"default":h,y=e.title,C=e.offset,b=e.style,E=e.className,k=e.showZero,N=void 0!==k&&k,P=eE(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),O=x.useContext(S.E_),M=O.getPrefixCls,R=O.direction,T=M("badge",r),D=s>f?"".concat(f,"+"):s,L="0"===D||0===D,I=(null!=l||null!=c)&&(null===s||L),A=void 0!==p&&p&&!L,H=A?"":D,z=(0,x.useMemo)(function(){return(null==H||""===H||L&&!N)&&!A},[H,L,N,A]),V=(0,x.useRef)(s);z||(V.current=s);var j=V.current,Y=(0,x.useRef)(H);z||(Y.current=H);var F=Y.current,W=(0,x.useRef)(A);z||(W.current=A);var K=(0,x.useMemo)(function(){if(!C)return(0,m.Z)({},b);var e={marginTop:C[1]};return"rtl"===R?e.left=parseInt(C[0],10):e.right=-parseInt(C[0],10),(0,m.Z)((0,m.Z)({},e),b)},[R,C,b]),_=null!=y?y:"string"==typeof j||"number"==typeof j?j:void 0,B=z||!i?null:x.createElement("span",{className:"".concat(T,"-status-text")},i),U=j&&"object"===(0,Z.Z)(j)?(0,en.Tm)(j,function(e){return{style:(0,m.Z)((0,m.Z)({},K),e.style)}}):void 0,X=w()((t={},(0,v.Z)(t,"".concat(T,"-status-dot"),I),(0,v.Z)(t,"".concat(T,"-status-").concat(l),!!l),(0,v.Z)(t,"".concat(T,"-status-").concat(c),ey(c)),t)),q={};c&&!ey(c)&&(q.background=c);var G=w()(T,(n={},(0,v.Z)(n,"".concat(T,"-status"),I),(0,v.Z)(n,"".concat(T,"-not-a-wrapper"),!a),(0,v.Z)(n,"".concat(T,"-rtl"),"rtl"===R),n),E);if(!a&&I){var Q=K.color;return x.createElement("span",(0,m.Z)({},P,{className:G,style:K}),x.createElement("span",{className:X,style:q}),i&&x.createElement("span",{style:{color:Q},className:"".concat(T,"-status-text")},i))}return x.createElement("span",(0,m.Z)({},P,{className:G}),a,x.createElement(ep.Z,{visible:!z,motionName:"".concat(T,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(e){var t,n=e.className,r=M("scroll-number",o),a=W.current,i=w()((t={},(0,v.Z)(t,"".concat(T,"-dot"),a),(0,v.Z)(t,"".concat(T,"-count"),!a),(0,v.Z)(t,"".concat(T,"-count-sm"),"small"===g),(0,v.Z)(t,"".concat(T,"-multiple-words"),!a&&F&&F.toString().length>1),(0,v.Z)(t,"".concat(T,"-status-").concat(l),!!l),(0,v.Z)(t,"".concat(T,"-status-").concat(c),ey(c)),t)),u=(0,m.Z)({},K);return c&&!ey(c)&&((u=u||{}).background=c),x.createElement(ew,{prefixCls:r,show:!z,motionClassName:n,className:i,count:F,title:_,style:u,key:"scrollNumber"},U)}),B)};ek.Ribbon=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,a=e.color,l=e.children,i=e.text,c=e.placement,u=x.useContext(S.E_),s=u.getPrefixCls,d=u.direction,f=s("ribbon",r),p=ey(a),h=w()(f,"".concat(f,"-placement-").concat(void 0===c?"end":c),(t={},(0,v.Z)(t,"".concat(f,"-rtl"),"rtl"===d),(0,v.Z)(t,"".concat(f,"-color-").concat(a),p),t),n),g={},y={};return a&&!p&&(g.background=a,y.color=a),x.createElement("div",{className:"".concat(f,"-wrapper")},l,x.createElement("div",{className:h,style:(0,m.Z)((0,m.Z)({},g),o)},x.createElement("span",{className:"".concat(f,"-text")},i),x.createElement("div",{className:"".concat(f,"-corner"),style:y})))};var ex=ek,eS=n(66516),eN=n(80882),eP=n(18562),eO=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eM=function(e){var t,n,r=e.prefixCls,o=e.separator,a=void 0===o?"/":o,l=e.children,i=e.menu,c=e.overlay,u=e.dropdownProps,s=eO(e,["prefixCls","separator","children","menu","overlay","dropdownProps"]),d=(0,x.useContext(S.E_).getPrefixCls)("breadcrumb",r);return(t=n="href"in s?x.createElement("a",(0,m.Z)({className:"".concat(d,"-link")},s),l):x.createElement("span",(0,m.Z)({className:"".concat(d,"-link")},s),l),n=i||c?x.createElement(eP.Z,(0,m.Z)({menu:i,overlay:c,placement:"bottom"},u),x.createElement("span",{className:"".concat(d,"-overlay-link")},t,x.createElement(eN.Z,null))):t,null!=l)?x.createElement("li",null,n,a&&x.createElement("span",{className:"".concat(d,"-separator")},a)):null};eM.__ANT_BREADCRUMB_ITEM=!0;var eR=function(e){var t=e.children,n=(0,x.useContext(S.E_).getPrefixCls)("breadcrumb");return x.createElement("span",{className:"".concat(n,"-separator")},t||"/")};eR.__ANT_BREADCRUMB_SEPARATOR=!0;var eT=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eD(e,t,n,r){var o=n.indexOf(e)===n.length-1,a=function(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|");return e.breadcrumbName.replace(RegExp(":(".concat(n,")"),"g"),function(e,n){return t[n]||e})}(e,t);return o?x.createElement("span",null,a):x.createElement("a",{href:"#/".concat(r.join("/"))},a)}var eL=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach(function(n){e=e.replace(":".concat(n),t[n])}),e},eI=function(e,t,n){var r=(0,N.Z)(e),o=eL(t||"",n);return o&&r.push(o),r},eA=function(e){var t,n=e.prefixCls,r=e.separator,o=void 0===r?"/":r,a=e.style,l=e.className,i=e.routes,c=e.children,u=e.itemRender,s=void 0===u?eD:u,d=e.params,f=void 0===d?{}:d,p=eT(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),h=x.useContext(S.E_),g=h.getPrefixCls,y=h.direction,C=g("breadcrumb",n);if(i&&i.length>0){var Z=[];t=i.map(function(e){var t,n=eL(e.path,f);n&&Z.push(n),e.children&&e.children.length&&(t=x.createElement(eS.Z,{items:e.children.map(function(e){return{key:e.path||e.breadcrumbName,label:s(e,f,i,eI(Z,e.path,f))}})}));var r={separator:o};return t&&(r.overlay=t),x.createElement(eM,(0,m.Z)({},r,{key:n||e.breadcrumbName}),s(e,f,i,Z))})}else c&&(t=(0,ee.Z)(c).map(function(e,t){return e?(0,en.Tm)(e,{separator:o,key:t}):e}));var b=w()(C,(0,v.Z)({},"".concat(C,"-rtl"),"rtl"===y),l);return x.createElement("nav",(0,m.Z)({className:b,style:a},p),x.createElement("ol",null,t))};eA.Item=eM,eA.Separator=eR;var eH=eA,ez=n(71577),eV=n(30381),ej=n.n(eV),eY=n(80334),eF={getNow:function(){return ej()()},getFixedDate:function(e){return ej()(e,"YYYY-MM-DD")},getEndDate:function(e){return e.clone().endOf("month")},getWeekDay:function(e){var t=e.clone().locale("en_US");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,t){return e.clone().add(t,"year")},addMonth:function(e,t){return e.clone().add(t,"month")},addDate:function(e,t){return e.clone().add(t,"day")},setYear:function(e,t){return e.clone().year(t)},setMonth:function(e,t){return e.clone().month(t)},setDate:function(e,t){return e.clone().date(t)},setHour:function(e,t){return e.clone().hour(t)},setMinute:function(e,t){return e.clone().minute(t)},setSecond:function(e,t){return e.clone().second(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return ej()().locale(e).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.clone().locale(e).weekday(0)},getWeek:function(e,t){return t.clone().locale(e).week()},getShortWeekDays:function(e){return ej()().locale(e).localeData().weekdaysMin()},getShortMonths:function(e){return ej()().locale(e).localeData().monthsShort()},format:function(e,t,n){return t.clone().locale(e).format(n)},parse:function(e,t,n){for(var r=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:1;switch(t){case"year":return n.addYear(e,10*r);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function tp(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return"function"==typeof o?o(e):n.locale.format(r.locale,e,o)}function tm(e,t){var n=t.generateConfig,r=t.locale,o=t.formatList;return e&&"function"!=typeof o[0]?n.locale.parse(r.locale,e,o):null}var tv=function(e){if(x.useContext(eB).hideHeader)return null;var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.value,a=e.format;return x.createElement(eX,{prefixCls:"".concat(t,"-header")},o?tp(o,{locale:r,format:a,generateConfig:n}):"\xa0")},th=n(56982),tg=function(e){var t=e.prefixCls,n=e.units,r=e.onSelect,o=e.value,a=e.active,l=e.hideDisabledOptions,i="".concat(t,"-cell"),c=x.useContext(eB).open,u=(0,x.useRef)(null),s=(0,x.useRef)(new Map),d=(0,x.useRef)();return(0,x.useLayoutEffect)(function(){var e=s.current.get(o);e&&!1!==c&&e2(u.current,e.offsetTop,120)},[o]),(0,x.useLayoutEffect)(function(){if(c){var e,t,n=s.current.get(o);n&&(d.current=(e=function(){e2(u.current,n.offsetTop,0)},function r(){(0,e0.Z)(n)?e():t=(0,P.Z)(function(){r()})}(),function(){P.Z.cancel(t)}))}return function(){var e;null===(e=d.current)||void 0===e||e.call(d)}},[c]),x.createElement("ul",{className:w()("".concat(t,"-column"),(0,v.Z)({},"".concat(t,"-column-active"),a)),ref:u,style:{position:"relative"}},n.map(function(e){var t;return l&&e.disabled?null:x.createElement("li",{key:e.value,ref:function(t){s.current.set(e.value,t)},className:w()(i,(t={},(0,v.Z)(t,"".concat(i,"-disabled"),e.disabled),(0,v.Z)(t,"".concat(i,"-selected"),o===e.value),t)),onClick:function(){e.disabled||r(e.value)}},x.createElement("div",{className:"".concat(i,"-inner")},e.label))}))};function ty(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length=12,E%=12);var A=x.useMemo(function(){if(!s)return[!1,!1];var e=[!0,!0];return I.forEach(function(t){var n=t.disabled,r=t.value;n||(r>=12?e[1]=!1:e[0]=!1)}),e},[s,I]),H=(0,K.Z)(A,2),z=H[0],V=H[1],j=x.useMemo(function(){return s?I.filter(t?function(e){return e.value>=12}:function(e){return e.value<12}).map(function(e){var t=e.value%12,n=0===t?"12":ty(t,2);return(0,ec.Z)((0,ec.Z)({},e),{},{label:n,value:t})}):I},[s,t,I]),Y=tk(0,59,void 0===f?1:f,R&&R(w)),F=tk(0,59,void 0===p?1:p,T&&T(w,k));function W(e,t,n,r,o){!1!==e&&Z.push({node:x.cloneElement(t,{prefixCls:b,value:n,active:a===Z.length,onSelect:o,units:r,hideDisabledOptions:y}),onSelect:o,value:n,units:r})}o.current={onUpDown:function(e){var t=Z[a];if(t)for(var n=t.units.findIndex(function(e){return e.value===t.value}),r=t.units.length,o=1;o1&&(a=i.addDate(a,-7)),a),C=i.locale.getWeekFirstDay(u.locale),Z=i.getNow(),b=[],w=u.shortWeekDays||(i.locale.getShortWeekDays?i.locale.getShortWeekDays(u.locale):[]);c&&b.push(x.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var E=0;E<7;E+=1)b.push(x.createElement("th",{key:E},w[(E+C)%7]));var k=tP({cellPrefixCls:"".concat(l,"-cell"),today:Z,value:f,generateConfig:i,rangedValue:c?null:h,hoverRangedValue:c?null:g,isSameCell:function(e,t){return tc(i,e,t)},isInView:function(e){return ti(i,e,d)},offsetCell:function(e,t){return i.addDate(e,t)}});return x.createElement(e$,(0,m.Z)({},e,{rowNum:s,colNum:7,baseDate:y,getCellNode:p?function(e){return p(e,Z)}:void 0,getCellText:i.getDate,getCellClassName:k,getCellDate:i.addDate,titleCell:function(e){return tp(e,{locale:u,format:"YYYY-MM-DD",generateConfig:i})},headerCells:b}))},tM=function(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.viewDate,a=e.onNextMonth,l=e.onPrevMonth,i=e.onNextYear,c=e.onPrevYear,u=e.onYearClick,s=e.onMonthClick;if(x.useContext(eB).hideHeader)return null;var d=r.shortMonths||(n.locale.getShortMonths?n.locale.getShortMonths(r.locale):[]),f=n.getMonth(o),p=x.createElement("button",{type:"button",key:"year",onClick:u,tabIndex:-1,className:"".concat(t,"-year-btn")},tp(o,{locale:r,format:r.yearFormat,generateConfig:n})),v=x.createElement("button",{type:"button",key:"month",onClick:s,tabIndex:-1,className:"".concat(t,"-month-btn")},r.monthFormat?tp(o,{locale:r,format:r.monthFormat,generateConfig:n}):d[f]),h=r.monthBeforeYear?[v,p]:[p,v];return x.createElement(eX,(0,m.Z)({},e,{prefixCls:"".concat(t,"-header"),onSuperPrev:c,onPrev:l,onNext:a,onSuperNext:i}),h)},tR=function(e){var t=e.prefixCls,n=e.panelName,r=e.keyboardConfig,o=e.active,a=e.operationRef,l=e.generateConfig,i=e.value,c=e.viewDate,u=e.onViewDateChange,s=e.onPanelChange,d=e.onSelect,f="".concat(t,"-").concat(void 0===n?"date":n,"-panel");a.current={onKeyDown:function(e){return e3(e,(0,ec.Z)({onLeftRight:function(e){d(l.addDate(i||c,e),"key")},onCtrlLeftRight:function(e){d(l.addYear(i||c,e),"key")},onUpDown:function(e){d(l.addDate(i||c,7*e),"key")},onPageUpDown:function(e){d(l.addMonth(i||c,e),"key")}},r))}};var p=function(e){var t=l.addYear(c,e);u(t),s(null,t)},h=function(e){var t=l.addMonth(c,e);u(t),s(null,t)};return x.createElement("div",{className:w()(f,(0,v.Z)({},"".concat(f,"-active"),o))},x.createElement(tM,(0,m.Z)({},e,{prefixCls:t,value:i,viewDate:c,onPrevYear:function(){p(-1)},onNextYear:function(){p(1)},onPrevMonth:function(){h(-1)},onNextMonth:function(){h(1)},onMonthClick:function(){s("month",c)},onYearClick:function(){s("year",c)}})),x.createElement(tO,(0,m.Z)({},e,{onSelect:function(e){return d(e,"mouse")},prefixCls:t,value:i,viewDate:c,rowCount:6})))},tT=function(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2];eE!==E&&!n||(ep(e),R&&R(e),J&&J(e,t),!T||ts(d,e,ef)||(null==y?void 0:y(e))||T(e))},eM=function(e){return ei.current&&ei.current.onKeyDown?([e_.Z.LEFT,e_.Z.RIGHT,e_.Z.UP,e_.Z.DOWN,e_.Z.PAGE_UP,e_.Z.PAGE_DOWN,e_.Z.ENTER].includes(e.which)&&e.preventDefault(),ei.current.onKeyDown(e)):((0,eY.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)};Q&&"right"!==eo&&(Q.current={onKeyDown:eM,onClose:function(){ei.current&&ei.current.onClose&&ei.current.onClose()}}),x.useEffect(function(){f&&!eu.current&&ey(f)},[f]),x.useEffect(function(){eu.current=!1},[]);var eR=(0,ec.Z)((0,ec.Z)({},e),{},{operationRef:ei,prefixCls:i,viewDate:eg,value:ef,onViewDateChange:eC,sourceMode:eN,onPanelChange:function(e,t){var n=eZ(e||eE);eP(eE),ek(n),D&&(eE!==n||ts(d,eg,eg))&&D(t,n)},disabledDate:y});switch(delete eR.onChange,delete eR.onSelect,eE){case"decade":n=x.createElement(tn,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"year":n=x.createElement(tK,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"month":n=x.createElement(tH,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"quarter":n=x.createElement(tj,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"week":n=x.createElement(tL,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;case"time":delete eR.showTime,n=x.createElement(tS,(0,m.Z)({},eR,"object"===(0,Z.Z)(N)?N:null,{onSelect:function(e,t){eC(e),eO(e,t)}}));break;default:n=N?x.createElement(tD,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}})):x.createElement(tR,(0,m.Z)({},eR,{onSelect:function(e,t){eC(e),eO(e,t)}}))}if(ee||(r=t_(i,eE,O),o=tB({prefixCls:i,components:H,needConfirmButton:B,okDisabled:!ef||y&&y(ef),locale:s,showNow:S,onNow:B&&function(){var e=d.getNow(),t=function(e,t,n,r,o,a){var l=Math.floor(e/r)*r;if(l1&&void 0!==arguments[1]&&arguments[1];if(cancelAnimationFrame(u.current),t){c(e);return}u.current=requestAnimationFrame(function(){c(e)})}var d=t1(i,{formatList:n,generateConfig:r,locale:o}),f=(0,K.Z)(d,2)[1];function p(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];s(null,e)}return(0,x.useEffect)(function(){p(!0)},[e]),(0,x.useEffect)(function(){return function(){return cancelAnimationFrame(u.current)}},[]),[f,function(e){s(e)},p]}function t3(e){var t,n,r,o=e.prefixCls,a=void 0===o?"rc-picker":o,l=e.id,i=e.tabIndex,c=e.style,u=e.className,s=e.dropdownClassName,d=e.dropdownAlign,f=e.popupStyle,p=e.transitionName,h=e.generateConfig,g=e.locale,y=e.inputReadOnly,C=e.allowClear,Z=e.autoFocus,b=e.showTime,E=e.picker,k=void 0===E?"date":E,S=e.format,N=e.use12Hours,P=e.value,O=e.defaultValue,M=e.open,R=e.defaultOpen,T=e.defaultOpenValue,D=e.suffixIcon,L=e.clearIcon,I=e.disabled,A=e.disabledDate,H=e.placeholder,z=e.getPopupContainer,V=e.pickerRef,j=e.panelRender,Y=e.onChange,F=e.onOpenChange,W=e.onFocus,_=e.onBlur,B=e.onMouseDown,U=e.onMouseUp,X=e.onMouseEnter,q=e.onMouseLeave,G=e.onContextMenu,Q=e.onClick,$=e.onKeyDown,J=e.onSelect,ee=e.direction,et=e.autoComplete,en=e.inputRender,er=x.useRef(null),eo="date"===k&&!!b||"time"===k,ea=tC(e4(S,k,b,N)),el=x.useRef(null),ei=x.useRef(null),eu=x.useRef(null),es=(0,em.Z)(null,{value:P,defaultValue:O}),ed=(0,K.Z)(es,2),ef=ed[0],ep=ed[1],ev=x.useState(ef),eh=(0,K.Z)(ev,2),eg=eh[0],ey=eh[1],eC=x.useRef(null),eZ=(0,em.Z)(!1,{value:M,defaultValue:R,postState:function(e){return!I&&e},onChange:function(e){F&&F(e),!e&&eC.current&&eC.current.onClose&&eC.current.onClose()}}),eb=(0,K.Z)(eZ,2),ew=eb[0],eE=eb[1],ek=t1(eg,{formatList:ea,generateConfig:h,locale:g}),ex=(0,K.Z)(ek,2),eS=ex[0],eN=ex[1],eP=t$({valueTexts:eS,onTextChange:function(e){var t=tm(e,{locale:g,formatList:ea,generateConfig:h});!t||A&&A(t)||ey(t)}}),eO=(0,K.Z)(eP,3),eM=eO[0],eR=eO[1],eT=eO[2],eD=function(e){ey(e),ep(e),Y&&!ts(h,ef,e)&&Y(e,e?tp(e,{generateConfig:h,locale:g,format:ea[0]}):"")},eL=function(e){I&&e||eE(e)},eI=tQ({blurToCancel:eo,open:ew,value:eM,triggerOpen:eL,forwardKeyDown:function(e){return ew&&eC.current&&eC.current.onKeyDown?eC.current.onKeyDown(e):((0,eY.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},isClickOutside:function(e){return!e9([el.current,ei.current,eu.current],e)},onSubmit:function(){return!(!eg||A&&A(eg))&&(eD(eg),eL(!1),eT(),!0)},onCancel:function(){eL(!1),ey(ef),eT()},onKeyDown:function(e,t){null==$||$(e,t)},onFocus:W,onBlur:_}),eA=(0,K.Z)(eI,2),eH=eA[0],ez=eA[1],eV=ez.focused,ej=ez.typing;x.useEffect(function(){ew||(ey(ef),eS.length&&""!==eS[0]?eN!==eM&&eT():eR(""))},[ew,eS]),x.useEffect(function(){ew||eT()},[k]),x.useEffect(function(){ey(ef)},[ef]),V&&(V.current={focus:function(){er.current&&er.current.focus()},blur:function(){er.current&&er.current.blur()}});var eF=t2(eM,{formatList:ea,generateConfig:h,locale:g}),eW=(0,K.Z)(eF,3),eK=eW[0],e_=eW[1],eU=eW[2],eX=(0,ec.Z)((0,ec.Z)({},e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),eq=x.createElement(tU,(0,m.Z)({},eX,{generateConfig:h,className:w()((0,v.Z)({},"".concat(a,"-panel-focused"),!ej)),value:eg,locale:g,tabIndex:-1,onSelect:function(e){null==J||J(e),ey(e)},direction:ee,onPanelChange:function(t,n){var r=e.onPanelChange;eU(!0),null==r||r(t,n)}}));j&&(eq=j(eq));var eG=x.createElement("div",{className:"".concat(a,"-panel-container"),onMouseDown:function(e){e.preventDefault()}},eq);D&&(n=x.createElement("span",{className:"".concat(a,"-suffix")},D)),C&&ef&&!I&&(r=x.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation(),eD(null),eL(!1)},className:"".concat(a,"-clear"),role:"button"},L||x.createElement("span",{className:"".concat(a,"-clear-btn")})));var eQ=(0,ec.Z)((0,ec.Z)((0,ec.Z)({id:l,tabIndex:i,disabled:I,readOnly:y||"function"==typeof ea[0]||!ej,value:eK||eM,onChange:function(e){eR(e.target.value)},autoFocus:Z,placeholder:H,ref:er,title:eM},eH),{},{size:e8(k,ea[0],h)},tZ(e)),{},{autoComplete:void 0===et?"off":et}),e$=en?en(eQ):x.createElement("input",eQ);return x.createElement(eB.Provider,{value:{operationRef:eC,hideHeader:"time"===k,panelRef:el,onSelect:function(e,t){"submit"!==t&&("key"===t||eo)||(eD(e),eL(!1))},open:ew,defaultOpenValue:T,onDateMouseEnter:e_,onDateMouseLeave:eU}},x.createElement(tG,{visible:ew,popupElement:eG,popupStyle:f,prefixCls:a,dropdownClassName:s,dropdownAlign:d,getPopupContainer:z,transitionName:p,popupPlacement:"rtl"===ee?"bottomRight":"bottomLeft",direction:ee},x.createElement("div",{ref:eu,className:w()(a,u,(t={},(0,v.Z)(t,"".concat(a,"-disabled"),I),(0,v.Z)(t,"".concat(a,"-focused"),eV),(0,v.Z)(t,"".concat(a,"-rtl"),"rtl"===ee),t)),style:c,onMouseDown:B,onMouseUp:U,onMouseEnter:X,onMouseLeave:q,onContextMenu:G,onClick:function(){for(var e=arguments.length,t=Array(e),n=0;np(s);case"month":return f(e)>f(s);case"week":return d(e)>d(s);default:return!tc(c,e,s)&&c.isAfter(e,s)}return!1},[l,i[1],s,t]),x.useCallback(function(e){if(l&&l(e))return!0;if(i[0]&&u)return!tc(c,e,s)&&c.isAfter(u,e);if(n&&u)switch(r){case"quarter":return p(e)0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;tM&&np&&np[0]&&np[1]&&A.isAfter(np[1],np[0])&&(r=np);var o=_;if(_&&"object"===(0,Z.Z)(_)&&_.defaultValue){var a=_.defaultValue;o=(0,ec.Z)((0,ec.Z)({},_),{},{defaultValue:tb(a,eX)||void 0})}var l=null;return et&&(l=function(e,t){return et(e,t,{range:eX?"end":"start"})}),x.createElement(tN.Provider,{value:{inRange:!0,panelPosition:t,rangedValue:nu||tt,hoverRangedValue:r}},x.createElement(tU,(0,m.Z)({},e,n,{dateRender:l,showTime:o,mode:th[eX],generateConfig:A,style:void 0,direction:eO,disabledDate:0===eX?tx:tS,disabledTime:function(e){return!!ee&&ee(e,0===eX?"start":"end")},className:w()((0,v.Z)({},"".concat(N,"-panel-focused"),0===eX?!nT:!nz)),value:tb(tt,eX),locale:H,tabIndex:-1,onPanelChange:function(e,n){0===eX&&nC(!0),1===eX&&nk(!0),ty(tw(th,n,eX),tw(tt,e,eX));var r=e;"right"===t&&th[eX]===n&&(r=tf(r,n,A,-1)),e5(r,eX)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:0===eX?tb(tt,1):tb(tt,0)})))}var nW=0,nK=0;if(eX&&eH.current&&eV.current&&eA.current){nW=eH.current.offsetWidth+eV.current.offsetWidth;var n_=eW.current.offsetLeft>nW?eW.current.offsetLeft-nW:eW.current.offsetLeft;eA.current.offsetWidth&&eW.current.offsetWidth&&nW>eA.current.offsetWidth-eW.current.offsetWidth-("rtl"===eO?0:n_)&&(nK=nW)}var nB="rtl"===eO?{right:nW}:{left:nW},nU=x.createElement("div",{className:w()("".concat(N,"-range-wrapper"),"".concat(N,"-").concat(W,"-range-wrapper")),style:{minWidth:tL}},x.createElement("div",{ref:eW,className:"".concat(N,"-range-arrow"),style:nB}),function(){var e,t=t_(N,th[eX],ef),n=tB({prefixCls:N,components:eN,needConfirmButton:eD,okDisabled:!tb(tt,eX)||J&&J(tt[eX]),locale:H,rangeList:nY,onOk:function(){tb(tt,eX)&&(tV(tt,eX),ex&&ex(tt))}});if("time"===W||_)e=nF();else{var r=e6(eX),o=tf(r,W,A),a=th[eX]===W,l=nF(!!a&&"left",{pickerValue:r,onPickerValueChange:function(e){e5(e,eX)}}),i=nF("right",{pickerValue:o,onPickerValueChange:function(e){e5(tf(e,W,A,-1),eX)}});e="rtl"===eO?x.createElement(x.Fragment,null,i,a&&l):x.createElement(x.Fragment,null,l,a&&i)}var c=x.createElement(x.Fragment,null,x.createElement("div",{className:"".concat(N,"-panels")},e),(t||n)&&x.createElement("div",{className:"".concat(N,"-footer")},t,n));return en&&(c=en(c)),x.createElement("div",{className:"".concat(N,"-panel-container"),style:{marginLeft:nK},ref:eA,onMouseDown:function(e){e.preventDefault()}},c)}());el&&(E=x.createElement("span",{className:"".concat(N,"-suffix")},el)),ea&&(tb(e0,0)&&!eQ[0]||tb(e0,1)&&!eQ[1])&&(k=x.createElement("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation();var t=e0;eQ[0]||(t=tw(t,null,0)),eQ[1]||(t=tw(t,null,1)),tV(t,null),tH(!1,eX)},className:"".concat(N,"-clear")},ei||x.createElement("span",{className:"".concat(N,"-clear-btn")})));var nX={size:e8(W,eK[0],A)},nq=0,nG=0;eH.current&&ez.current&&eV.current&&(0===eX?nG=eH.current.offsetWidth:(nq=nW,nG=ez.current.offsetWidth));var nQ="rtl"===eO?{right:nq}:{left:nq};return x.createElement(eB.Provider,{value:{operationRef:eG,hideHeader:"time"===W,onDateMouseEnter:function(e){nm(tw(tt,e,eX)),0===eX?ny(e):nE(e)},onDateMouseLeave:function(){nm(tw(tt,null,eX)),0===eX?nC():nk()},hideRanges:!0,onSelect:function(e,t){var n=tw(tt,e,eX);"submit"!==t&&("key"===t||eD)?tn(n):(tV(n,eX),0===eX?nC():nk())},open:tM}},x.createElement(tG,{visible:tM,popupElement:nU,popupStyle:R,prefixCls:N,dropdownClassName:T,dropdownAlign:L,getPopupContainer:I,transitionName:D,range:!0,direction:eO},x.createElement("div",(0,m.Z)({ref:eI,className:w()(N,"".concat(N,"-range"),M,(y={},(0,v.Z)(y,"".concat(N,"-disabled"),eQ[0]&&eQ[1]),(0,v.Z)(y,"".concat(N,"-focused"),0===eX?nR:nH),(0,v.Z)(y,"".concat(N,"-rtl"),"rtl"===eO),y)),style:O,onClick:function(e){ek&&ek(e),tM||ej.current.contains(e.target)||eF.current.contains(e.target)||(eQ[0]?eQ[1]||tz(1):tz(0))},onMouseEnter:ew,onMouseLeave:eE,onMouseDown:function(e){eZ&&eZ(e),tM&&(nR||nH)&&!ej.current.contains(e.target)&&!eF.current.contains(e.target)&&e.preventDefault()},onMouseUp:eb},tZ(e)),x.createElement("div",{className:w()("".concat(N,"-input"),(C={},(0,v.Z)(C,"".concat(N,"-input-active"),0===eX),(0,v.Z)(C,"".concat(N,"-input-placeholder"),!!ng),C)),ref:eH},x.createElement("input",(0,m.Z)({id:P,disabled:eQ[0],readOnly:es||"function"==typeof eK[0]||!nT,value:ng||t9,onChange:function(e){ne(e.target.value)},autoFocus:V,placeholder:tb(z,0)||"",ref:ej},nO,nX,{autoComplete:eT}))),x.createElement("div",{className:"".concat(N,"-range-separator"),ref:eV},void 0===U?"~":U),x.createElement("div",{className:w()("".concat(N,"-input"),(b={},(0,v.Z)(b,"".concat(N,"-input-active"),1===eX),(0,v.Z)(b,"".concat(N,"-input-placeholder"),!!nw),b)),ref:ez},x.createElement("input",(0,m.Z)({disabled:eQ[1],readOnly:es||"function"==typeof eK[0]||!nz,value:nw||no,onChange:function(e){na(e.target.value)},placeholder:tb(z,1)||"",ref:eF},nI,nX,{autoComplete:eT}))),x.createElement("div",{className:"".concat(N,"-active-bar"),style:(0,ec.Z)((0,ec.Z)({},nQ),{},{width:nG,position:"absolute"})}),E,k)))}var t7=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;ar.getMonth(c)&&(t=r.setMonth(t,r.getMonth(c))),u===r.getYear(a)&&se.lazyLoadedList.indexOf(o)&&t.push(o);return t},ny=function(e){return e.currentSlide-nZ(e)},nC=function(e){return e.currentSlide+nb(e)},nZ=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},nb=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},nw=function(e){return e&&e.offsetWidth||0},nE=function(e){return e&&e.offsetHeight||0},nk=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"},nx=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},nS=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},nN=function(e){var t,n=x.Children.count(e.children),r=e.listRef,o=Math.ceil(nw(r)),a=Math.ceil(nw(e.trackRef&&e.trackRef.node));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var i=r&&nE(r.querySelector('[data-index="0"]')),c=i*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var s=e.lazyLoadedList||[],d=ng((0,ec.Z)((0,ec.Z)({},e),{},{currentSlide:u,lazyLoadedList:s}));s=s.concat(d);var f={slideCount:n,slideWidth:t,listWidth:o,trackWidth:a,currentSlide:u,slideHeight:i,listHeight:c,lazyLoadedList:s};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f},nP=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,l=e.slideCount,i=e.lazyLoad,c=e.currentSlide,u=e.centerMode,s=e.slidesToScroll,d=e.slidesToShow,f=e.useCSS,p=e.lazyLoadedList;if(t&&n)return{};var m,v,h,g=a,y={},C={},Z=o?a:nv(a,0,l-1);if(r){if(!o&&(a<0||a>=l))return{};a<0?g=a+l:a>=l&&(g=a-l),i&&0>p.indexOf(g)&&(p=p.concat(g)),y={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},C={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+l,o?l%s!=0&&(m=l-l%s):m=0):!nx(e)&&g>c?g=m=c:u&&g>=l?(g=o?l:l-1,m=o?0:l-1):g>=l&&(m=g-l,o?l%s!=0&&(m=0):m=l-d),!o&&g+d>=l&&(m=l-d),v=nz((0,ec.Z)((0,ec.Z)({},e),{},{slideIndex:g})),h=nz((0,ec.Z)((0,ec.Z)({},e),{},{slideIndex:m})),o||(v===h&&(g=m),v=h),i&&(p=p.concat(ng((0,ec.Z)((0,ec.Z)({},e),{},{currentSlide:g})))),f?(y={animating:!0,currentSlide:m,trackStyle:nH((0,ec.Z)((0,ec.Z)({},e),{},{left:v})),lazyLoadedList:p,targetSlide:Z},C={animating:!1,currentSlide:m,trackStyle:nA((0,ec.Z)((0,ec.Z)({},e),{},{left:h})),swipeLeft:null,targetSlide:Z}):y={currentSlide:m,trackStyle:nA((0,ec.Z)((0,ec.Z)({},e),{},{left:h})),lazyLoadedList:p,targetSlide:Z};return{state:y,nextState:C}},nO=function(e,t){var n,r,o,a,l=e.slidesToScroll,i=e.slidesToShow,c=e.slideCount,u=e.currentSlide,s=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=c%l!=0?0:(c-u)%l,"previous"===t.message)a=u-(o=0===n?l:i-n),d&&!f&&(a=-1==(r=u-o)?c-1:r),f||(a=s-l);else if("next"===t.message)a=u+(o=0===n?l:n),d&&!f&&(a=(u+l)%c+n),f||(a=s+l);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var p=nF((0,ec.Z)((0,ec.Z)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a10)return{scrolling:!0};l&&(g.swipeLength=k);var x=(i?-1:1)*(g.curX>g.startX?1:-1);l&&(x=g.curY>g.startY?1:-1);var S=nk(t.touchObject,l),N=g.swipeLength;return!h&&(0===c&&("right"===S||"down"===S)||c+1>=Math.ceil(m/v)&&("left"===S||"up"===S)||!nx(t)&&("left"===S||"up"===S))&&(N=g.swipeLength*u,!1===s&&d&&(d(S),w.edgeDragged=!0)),!f&&y&&(y(S),w.swiped=!0),b=o?E+N*(C/Z)*x:i?E-N*x:E+N*x,l&&(b=E+N*x),w=(0,ec.Z)((0,ec.Z)({},w),{},{touchObject:g,swipeLeft:b,trackStyle:nA((0,ec.Z)((0,ec.Z)({},t),{},{left:b}))}),Math.abs(g.curX-g.startX)<.8*Math.abs(g.curY-g.startY)||g.swipeLength>10&&(w.swiping=!0,nh(e)),w}},nR=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,l=t.touchThreshold,i=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,s=t.scrolling,d=t.onSwipe,f=t.targetSlide,p=t.currentSlide,m=t.infinite;if(!n)return r&&nh(e),{};var v=nk(o,i),h={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(s||!o.swipeLength)return h;if(o.swipeLength>(i?c/l:a/l)){nh(e),d&&d(v);var g,y,C=m?p:f;switch(v){case"left":case"up":y=C+nL(t),g=u?nD(t,y):y,h.currentDirection=0;break;case"right":case"down":y=C-nL(t),g=u?nD(t,y):y,h.currentDirection=1;break;default:g=C}h.triggerSlideHandler=g}else{var Z=nz(t);h.trackStyle=nH((0,ec.Z)((0,ec.Z)({},t),{},{left:Z}))}return h},nT=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+nw(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1},nI=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},nA=function(e){nI(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=nY(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=(0,ec.Z)((0,ec.Z)({},o),{},{WebkitTransform:a,transform:l,msTransform:i})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},nH=function(e){nI(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=nA(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},nz=function(e){if(e.unslick)return 0;nI(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,a=e.slideCount,l=e.slidesToShow,i=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,s=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,m=0,v=0;if(f||1===e.slideCount)return 0;var h=0;if(r?(h=-nV(e),a%i!=0&&t+i>a&&(h=-(t>a?l-(t-a):a%i)),o&&(h+=parseInt(l/2))):(a%i!=0&&t+i>a&&(h=l-a%i),o&&(h=parseInt(l/2))),m=h*c,v=h*d,g=p?-(t*d*1)+v:-(t*c*1)+m,!0===s){var g,y,C,Z=n&&n.node;if(C=t+nV(e),g=(y=Z&&Z.childNodes[C])?-1*y.offsetLeft:0,!0===o){C=r?t+nV(e):t,y=Z&&Z.children[C],g=0;for(var b=0;be.currentSlide?e.targetSlide>e.currentSlide+nW(e)?"left":"right":e.targetSlide0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1},nK=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(o)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0},n_=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},nB=function(e){var t,n,r,o,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-o-1&&a<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=a&&a=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},nU=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},nX=function(e,t){return e.key+"-"+t},nq=function(e){var t,n=[],r=[],o=[],a=x.Children.count(e.children),l=ny(e),i=nC(e);return(x.Children.forEach(e.children,function(c,u){var s,d={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};s=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?c:x.createElement("div",null);var f=nU((0,ec.Z)((0,ec.Z)({},e),{},{index:u})),p=s.props.className||"",m=nB((0,ec.Z)((0,ec.Z)({},e),{},{index:u}));if(n.push(x.cloneElement(s,{key:"original"+nX(s,u),"data-index":u,className:w()(m,p),tabIndex:"-1","aria-hidden":!m["slick-active"],style:(0,ec.Z)((0,ec.Z)({outline:"none"},s.props.style||{}),f),onClick:function(t){s.props&&s.props.onClick&&s.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}})),e.infinite&&!1===e.fade){var v=a-u;v<=nV(e)&&a!==e.slidesToShow&&((t=-v)>=l&&(s=c),m=nB((0,ec.Z)((0,ec.Z)({},e),{},{index:t})),r.push(x.cloneElement(s,{key:"precloned"+nX(s,t),"data-index":t,tabIndex:"-1",className:w()(m,p),"aria-hidden":!m["slick-active"],style:(0,ec.Z)((0,ec.Z)({},s.props.style||{}),f),onClick:function(t){s.props&&s.props.onClick&&s.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(d)}}))),a!==e.slidesToShow&&((t=a+u)=h&&u<=m:u===h}),y={message:"dots",index:f,slidesToScroll:l,currentSlide:u},C=this.clickHandler.bind(this,y);d=d.concat(x.createElement("li",{key:f,className:g},x.cloneElement(this.props.customPaging(f),{onClick:C})))}return x.cloneElement(this.props.appendDots(d),(0,ec.Z)({className:this.props.dotsClass},{onMouseEnter:n,onMouseOver:r,onMouseLeave:o}))}}]),n}(x.PureComponent),n$=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:w()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?x.cloneElement(this.props.prevArrow,(0,ec.Z)((0,ec.Z)({},n),r)):x.createElement("button",(0,m.Z)({key:"0",type:"button"},n)," ","Previous")}}]),n}(x.PureComponent),nJ=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});nx(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:w()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?x.cloneElement(this.props.nextArrow,(0,ec.Z)((0,ec.Z)({},n),r)):x.createElement("button",(0,m.Z)({key:"1",type:"button"},n)," ","Next")}}]),n}(x.PureComponent),n0=n(91033),n1=["animating"],n2=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),r=t.call(this,e),(0,v.Z)((0,ns.Z)(r),"listRefHandler",function(e){return r.list=e}),(0,v.Z)((0,ns.Z)(r),"trackRefHandler",function(e){return r.track=e}),(0,v.Z)((0,ns.Z)(r),"adaptHeight",function(){if(r.props.adaptiveHeight&&r.list){var e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]'));r.list.style.height=nE(e)+"px"}}),(0,v.Z)((0,ns.Z)(r),"componentDidMount",function(){if(r.props.onInit&&r.props.onInit(),r.props.lazyLoad){var e=ng((0,ec.Z)((0,ec.Z)({},r.props),r.state));e.length>0&&(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e))}var t=(0,ec.Z)({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("playing")}),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new n0.Z(function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout(function(){return r.onWindowResized()},r.props.speed))):r.onWindowResized()}),r.ro.observe(r.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)}),(0,v.Z)((0,ns.Z)(r),"componentWillUnmount",function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach(function(e){return clearTimeout(e)}),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro.disconnect()}),(0,v.Z)((0,ns.Z)(r),"componentDidUpdate",function(e){if(r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad){var t=ng((0,ec.Z)((0,ec.Z)({},r.props),r.state));t.length>0&&(r.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),r.props.onLazyLoad&&r.props.onLazyLoad(t))}r.adaptHeight();var n=(0,ec.Z)((0,ec.Z)({listRef:r.list,trackRef:r.track},r.props),r.state),o=r.didPropsChange(e);o&&r.updateState(n,o,function(){r.state.currentSlide>=x.Children.count(r.props.children)&&r.changeSlide({message:"index",index:x.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),(e.autoplay!==r.props.autoplay||e.autoplaySpeed!==r.props.autoplaySpeed)&&(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))})}),(0,v.Z)((0,ns.Z)(r),"onWindowResized",function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=nm()(function(){return r.resizeWindow(e)},50),r.debouncedResize()}),(0,v.Z)((0,ns.Z)(r),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(Boolean(r.track&&r.track.node)){var t=(0,ec.Z)((0,ec.Z)({listRef:r.list,trackRef:r.track},r.props),r.state);r.updateState(t,e,function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")}),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback}}),(0,v.Z)((0,ns.Z)(r),"updateState",function(e,t,n){var o=nN(e),a=nz(e=(0,ec.Z)((0,ec.Z)((0,ec.Z)({},e),o),{},{slideIndex:o.currentSlide})),l=nA(e=(0,ec.Z)((0,ec.Z)({},e),{},{left:a}));(t||x.Children.count(r.props.children)!==x.Children.count(e.children))&&(o.trackStyle=l),r.setState(o,n)}),(0,v.Z)((0,ns.Z)(r),"ssrInit",function(){if(r.props.variableWidth){var e=0,t=0,n=[],o=nV((0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{slideCount:r.props.children.length})),a=nj((0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{slideCount:r.props.children.length}));r.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l=t&&r.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))})}),(0,v.Z)((0,ns.Z)(r),"progressiveLazyLoad",function(){for(var e=[],t=(0,ec.Z)((0,ec.Z)({},r.props),r.state),n=r.state.currentSlide;nr.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var o=r.state.currentSlide-1;o>=-nV(t);o--)if(0>r.state.lazyLoadedList.indexOf(o)){e.push(o);break}e.length>0?(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)}),(0,v.Z)((0,ns.Z)(r),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.props,o=n.asNavFor,a=n.beforeChange,l=n.onLazyLoad,i=n.speed,c=n.afterChange,u=r.state.currentSlide,s=nP((0,ec.Z)((0,ec.Z)((0,ec.Z)({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!t})),d=s.state,f=s.nextState;if(d){a&&a(u,d.currentSlide);var p=d.lazyLoadedList.filter(function(e){return 0>r.state.lazyLoadedList.indexOf(e)});l&&p.length>0&&l(p),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),c&&c(u),delete r.animationEndCallback),r.setState(d,function(){o&&r.asNavForIndex!==e&&(r.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(r.animationEndCallback=setTimeout(function(){var e=f.animating,t=(0,nd.Z)(f,n1);r.setState(t,function(){r.callbackTimers.push(setTimeout(function(){return r.setState({animating:e})},10)),c&&c(d.currentSlide),delete r.animationEndCallback})},i))})}}),(0,v.Z)((0,ns.Z)(r),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=nO((0,ec.Z)((0,ec.Z)({},r.props),r.state),e);if((0===n||n)&&(!0===t?r.slideHandler(n,t):r.slideHandler(n),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)){var o=r.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),(0,v.Z)((0,ns.Z)(r),"clickHandler",function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0}),(0,v.Z)((0,ns.Z)(r),"keyHandler",function(e){var t,n,o=(t=r.props.accessibility,n=r.props.rtl,e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":"");""!==o&&r.changeSlide({message:o})}),(0,v.Z)((0,ns.Z)(r),"selectHandler",function(e){r.changeSlide(e)}),(0,v.Z)((0,ns.Z)(r),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,v.Z)((0,ns.Z)(r),"enableBodyScroll",function(){window.ontouchmove=null}),(0,v.Z)((0,ns.Z)(r),"swipeStart",function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t,n,o=(t=r.props.swipe,n=r.props.draggable,("IMG"===e.target.tagName&&nh(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:"");""!==o&&r.setState(o)}),(0,v.Z)((0,ns.Z)(r),"swipeMove",function(e){var t=nM(e,(0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))}),(0,v.Z)((0,ns.Z)(r),"swipeEnd",function(e){var t=nR(e,(0,ec.Z)((0,ec.Z)((0,ec.Z)({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,r.setState(t),void 0!==n&&(r.slideHandler(n),r.props.verticalSwiping&&r.enableBodyScroll())}}),(0,v.Z)((0,ns.Z)(r),"touchEnd",function(e){r.swipeEnd(e),r.clickable=!0}),(0,v.Z)((0,ns.Z)(r),"slickPrev",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"previous"})},0))}),(0,v.Z)((0,ns.Z)(r),"slickNext",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"next"})},0))}),(0,v.Z)((0,ns.Z)(r),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)},0))}),(0,v.Z)((0,ns.Z)(r),"play",function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!nx((0,ec.Z)((0,ec.Z)({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)}),(0,v.Z)((0,ns.Z)(r),"autoPlay",function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})}),(0,v.Z)((0,ns.Z)(r),"pause",function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})}),(0,v.Z)((0,ns.Z)(r),"onDotsOver",function(){return r.props.autoplay&&r.pause("hovered")}),(0,v.Z)((0,ns.Z)(r),"onDotsLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),(0,v.Z)((0,ns.Z)(r),"onTrackOver",function(){return r.props.autoplay&&r.pause("hovered")}),(0,v.Z)((0,ns.Z)(r),"onTrackLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),(0,v.Z)((0,ns.Z)(r),"onSlideFocus",function(){return r.props.autoplay&&r.pause("focused")}),(0,v.Z)((0,ns.Z)(r),"onSlideBlur",function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")}),(0,v.Z)((0,ns.Z)(r),"render",function(){var e,t,n,o=w()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),a=(0,ec.Z)((0,ec.Z)({},r.props),r.state),l=nS(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),i=r.props.pauseOnHover;if(l=(0,ec.Z)((0,ec.Z)({},l),{},{onMouseEnter:i?r.onTrackOver:null,onMouseLeave:i?r.onTrackLeave:null,onMouseOver:i?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow){var c=nS(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),u=r.props.pauseOnDotsHover;c=(0,ec.Z)((0,ec.Z)({},c),{},{clickHandler:r.changeSlide,onMouseEnter:u?r.onDotsLeave:null,onMouseOver:u?r.onDotsOver:null,onMouseLeave:u?r.onDotsLeave:null}),e=x.createElement(nQ,c)}var s=nS(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);s.clickHandler=r.changeSlide,r.props.arrows&&(t=x.createElement(n$,s),n=x.createElement(nJ,s));var d=null;r.props.vertical&&(d={height:r.state.listHeight});var f=null;!1===r.props.vertical?!0===r.props.centerMode&&(f={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(f={padding:r.props.centerPadding+" 0px"});var p=(0,ec.Z)((0,ec.Z)({},d),f),v=r.props.touchMove,h={className:"slick-list",style:p,onClick:r.clickHandler,onMouseDown:v?r.swipeStart:null,onMouseMove:r.state.dragging&&v?r.swipeMove:null,onMouseUp:v?r.swipeEnd:null,onMouseLeave:r.state.dragging&&v?r.swipeEnd:null,onTouchStart:v?r.swipeStart:null,onTouchMove:r.state.dragging&&v?r.swipeMove:null,onTouchEnd:v?r.touchEnd:null,onTouchCancel:r.state.dragging&&v?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},g={className:o,dir:"ltr",style:r.props.style};return r.props.unslick&&(h={className:"slick-list"},g={className:o}),x.createElement("div",g,r.props.unslick?"":t,x.createElement("div",(0,m.Z)({ref:r.listRefHandler},h),x.createElement(nG,(0,m.Z)({ref:r.trackRefHandler},l),r.props.children)),r.props.unslick?"":n,r.props.unslick?"":e)}),r.list=null,r.track=null,r.state=(0,ec.Z)((0,ec.Z)({},nf),{},{currentSlide:r.props.initialSlide,slideCount:x.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var r,o=r.ssrInit();return r.state=(0,ec.Z)((0,ec.Z)({},r.state),o),r}return(0,g.Z)(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)}),(0,v.Z)((0,ns.Z)(r),"slickPause",function(){return r.innerSlider.pause("paused")}),(0,v.Z)((0,ns.Z)(r),"slickPlay",function(){return r.innerSlider.autoPlay("play")}),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return(0,g.Z)(n,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?n4()({minWidth:0,maxWidth:n}):n4()({minWidth:t[r-1]+1,maxWidth:n}),n_()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=n4()({minWidth:t.slice(-1)[0]});n_()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,ec.Z)((0,ec.Z)((0,ec.Z)({},n8),this.props),t[0].settings):(0,ec.Z)((0,ec.Z)({},n8),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=x.Children.toArray(this.props.children);r=r.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var o=[],a=null,l=0;l=r.length));s+=1)u.push(x.cloneElement(r[s],{key:100*l+10*c+s,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));i.push(x.createElement("div",{key:10*l+c},u))}e.variableWidth?o.push(x.createElement("div",{key:l,style:{width:a}},i)):o.push(x.createElement("div",{key:l},i))}if("unslick"===e){var d="regular slider "+(this.props.className||"");return x.createElement("div",{className:d},r)}return o.length<=e.slidesToShow&&(e.unslick=!0),x.createElement(n2,(0,m.Z)({style:this.props.style,ref:this.innerSliderRefHandler},e),o)}}]),n}(x.Component),n5=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},n7=x.forwardRef(function(e,t){var n,r=e.dots,o=void 0===r||r,a=e.arrows,l=e.draggable,i=e.dotPosition,c=void 0===i?"bottom":i,u=e.vertical,s=n5(e,["dots","arrows","draggable","dotPosition","vertical"]),d=x.useContext(S.E_),f=d.getPrefixCls,p=d.direction,h=x.useRef(),g=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.current.slickGoTo(e,t)};x.useImperativeHandle(t,function(){return{goTo:g,autoPlay:h.current.innerSlider.autoPlay,innerSlider:h.current.innerSlider,prev:h.current.slickPrev,next:h.current.slickNext}},[h.current]);var y=x.useRef(x.Children.count(s.children));x.useEffect(function(){y.current!==x.Children.count(s.children)&&(g(s.initialSlide||0,!1),y.current=x.Children.count(s.children))},[s.children]);var C=(0,m.Z)({vertical:void 0===u?"left"===c||"right"===c:u},s);"fade"===C.effect&&(C.fade=!0);var Z=f("carousel",C.prefixCls),b="slick-dots",E=w()(b,"".concat(b,"-").concat(c),"boolean"!=typeof o&&(null==o?void 0:o.className)),k=w()(Z,(n={},(0,v.Z)(n,"".concat(Z,"-rtl"),"rtl"===p),(0,v.Z)(n,"".concat(Z,"-vertical"),"left"===c||"right"===c),n));return x.createElement("div",{className:k},x.createElement(n6,(0,m.Z)({ref:h},C,{dots:!!o,dotsClass:E,arrows:void 0!==a&&a,draggable:void 0!==l&&l})))}),n9=n(6171),re=n(50888),rt=n(18073),rn=n(7752),rr=n(88708),ro=n(17341),ra=x.createContext(null),rl="__RC_CASCADER_SPLIT__",ri="SHOW_PARENT",rc="SHOW_CHILD";function ru(e){return e.join(rl)}function rs(e){return e.map(ru)}function rd(e,t){var n,r;return null!==(n=e.isLeaf)&&void 0!==n?n:!(null===(r=e[t.children])||void 0===r?void 0:r.length)}function rf(e,t,n){var r=new Set(e),o=t();return e.filter(function(e){var t=o[e],a=t?t.parent:null,l=t?t.children:null;return n===rc?!(l&&l.some(function(e){return e.key&&r.has(e.key)})):!(a&&!a.node.disabled&&r.has(a.key))})}function rp(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t,a=[],l=0;l0)||!(o.length>=d)){var s,p=[].concat((0,N.Z)(c),[l]),m=l[n.children];(!m||0===m.length||a)&&i(e,p,{label:n.label})&&o.push((0,ec.Z)((0,ec.Z)({},l),{},(s={},(0,v.Z)(s,n.label,u(e,p,r,n)),(0,v.Z)(s,rg,p),s))),m&&t(l[n.children],p)}})}(t,[]),f&&o.sort(function(t,r){return f(t[rg],r[rg],e,n)}),d>0?o.slice(0,d):o):[]},[e,t,n,r,u,a,i,f,d])};function rb(e){var t,n=e.prefixCls,r=e.checked,o=e.halfChecked,a=e.disabled,l=e.onClick,i=x.useContext(ra).checkable;return x.createElement("span",{className:w()("".concat(n),(t={},(0,v.Z)(t,"".concat(n,"-checked"),r),(0,v.Z)(t,"".concat(n,"-indeterminate"),!r&&o),(0,v.Z)(t,"".concat(n,"-disabled"),a),t)),onClick:l},"boolean"!=typeof i?i:null)}var rw="__cascader_fix_label__";function rE(e){var t=e.prefixCls,n=e.multiple,r=e.options,o=e.activeValue,a=e.prevValuePath,l=e.onToggleOpen,i=e.onSelect,c=e.onActive,u=e.checkedSet,s=e.halfCheckedSet,d=e.loadingKeys,f=e.isSelectable,p="".concat(t,"-menu-item"),m=x.useContext(ra),h=m.fieldNames,g=m.changeOnSelect,y=m.expandTrigger,C=m.expandIcon,Z=m.loadingIcon,b=m.dropdownMenuColumnStyle,E="hover"===y,k=x.useMemo(function(){return r.map(function(e){var t,n=e.disabled,r=e[rg],o=null!==(t=e[rw])&&void 0!==t?t:e[h.label],l=e[h.value],i=rd(e,h),c=r?r.map(function(e){return e[h.value]}):[].concat((0,N.Z)(a),[l]),f=ru(c),p=d.includes(f),m=u.has(f),v=s.has(f);return{disabled:n,label:o,value:l,isLeaf:i,isLoading:p,checked:m,halfChecked:v,option:e,fullPath:c,fullPathKey:f}})},[r,u,h,s,d,a]);return x.createElement("ul",{className:"".concat(t,"-menu"),role:"menu"},k.map(function(e){var r,a,u=e.disabled,s=e.label,d=e.value,m=e.isLeaf,h=e.isLoading,y=e.checked,k=e.halfChecked,S=e.option,N=e.fullPath,P=e.fullPathKey,O=function(){u||E&&m||c(N)},M=function(){f(S)&&i(N,m)};return"string"==typeof S.title?a=S.title:"string"==typeof s&&(a=s),x.createElement("li",{key:P,className:w()(p,(r={},(0,v.Z)(r,"".concat(p,"-expand"),!m),(0,v.Z)(r,"".concat(p,"-active"),o===d),(0,v.Z)(r,"".concat(p,"-disabled"),u),(0,v.Z)(r,"".concat(p,"-loading"),h),r)),style:b,role:"menuitemcheckbox",title:a,"aria-checked":y,"data-path-key":P,onClick:function(){O(),(!n||m)&&M()},onDoubleClick:function(){g&&l(!1)},onMouseEnter:function(){E&&O()},onMouseDown:function(e){e.preventDefault()}},n&&x.createElement(rb,{prefixCls:"".concat(t,"-checkbox"),checked:y,halfChecked:k,disabled:u,onClick:function(e){e.stopPropagation(),M()}}),x.createElement("div",{className:"".concat(p,"-content")},s),!h&&C&&!m&&x.createElement("div",{className:"".concat(p,"-expand-icon")},C),h&&Z&&x.createElement("div",{className:"".concat(p,"-loading-icon")},Z))}))}var rk=function(){var e=(0,rn.lk)(),t=e.multiple,n=e.open,r=x.useContext(ra).values,o=x.useState([]),a=(0,K.Z)(o,2),l=a[0],i=a[1];return x.useEffect(function(){n&&!t&&i(r[0]||[])},[n]),[l,i]},rx=function(e,t,n,r,o,a){var l=(0,rn.lk)(),i=l.direction,c=l.searchValue,u=l.toggleOpen,s=l.open,d="rtl"===i,f=x.useMemo(function(){for(var e=-1,o=t,a=[],l=[],i=r.length,c=function(t){var i=o.findIndex(function(e){return e[n.value]===r[t]});if(-1===i)return"break";e=i,a.push(e),l.push(r[t]),o=o[e][n.children]},u=0;u1?g(m.slice(0,-1)):u(!1)},Z=function(){var e,t=((null===(e=h[v])||void 0===e?void 0:e[n.children])||[]).find(function(e){return!e.disabled});t&&g([].concat((0,N.Z)(m),[t[n.value]]))};x.useImperativeHandle(e,function(){return{onKeyDown:function(e){var t=e.which;switch(t){case e_.Z.UP:case e_.Z.DOWN:var r=0;t===e_.Z.UP?r=-1:t===e_.Z.DOWN&&(r=1),0!==r&&y(r);break;case e_.Z.LEFT:d?Z():C();break;case e_.Z.RIGHT:d?C():Z();break;case e_.Z.BACKSPACE:c||C();break;case e_.Z.ENTER:if(m.length){var o=h[v],l=(null==o?void 0:o[rg])||[];l.length?a(l.map(function(e){return e[n.value]}),l[l.length-1]):a(m,h[v])}break;case e_.Z.ESC:u(!1),s&&e.stopPropagation()}},onKeyUp:function(){}}})},rS=x.forwardRef(function(e,t){var n,r,o,a,l=(0,rn.lk)(),i=l.prefixCls,c=l.multiple,u=l.searchValue,s=l.toggleOpen,d=l.notFoundContent,f=l.direction,p=x.useRef(),h=x.useContext(ra),g=h.options,y=h.values,C=h.halfValues,Z=h.fieldNames,b=h.changeOnSelect,E=h.onSelect,k=h.searchOptions,S=h.dropdownPrefixCls,P=h.loadData,O=h.expandTrigger,M=S||i,R=x.useState([]),T=(0,K.Z)(R,2),D=T[0],L=T[1],I=function(e){if(P&&!u){var t=rp(e,g,Z).map(function(e){return e.option}),n=t[t.length-1];if(n&&!rd(n,Z)){var r=ru(e);L(function(e){return[].concat((0,N.Z)(e),[r])}),P(t)}}};x.useEffect(function(){D.length&&D.forEach(function(e){var t=rp(e.split(rl),g,Z,!0).map(function(e){return e.option}),n=t[t.length-1];(!n||n[Z.children]||rd(n,Z))&&L(function(t){return t.filter(function(t){return t!==e})})})},[g,D,Z]);var A=x.useMemo(function(){return new Set(rs(y))},[y]),H=x.useMemo(function(){return new Set(rs(C))},[C]),z=rk(),V=(0,K.Z)(z,2),j=V[0],Y=V[1],F=function(e){Y(e),I(e)},W=function(e){var t=e.disabled,n=rd(e,Z);return!t&&(n||b||c)},_=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];E(e),!c&&(t||b&&("hover"===O||n))&&s(!1)},B=x.useMemo(function(){return u?k:g},[u,k,g]),U=x.useMemo(function(){for(var e=[{options:B}],t=B,n=0;nt.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}(r)}},[j]);var X=!(null===(n=U[0])||void 0===n?void 0:null===(r=n.options)||void 0===r?void 0:r.length),q=[(o={},(0,v.Z)(o,Z.value,"__EMPTY__"),(0,v.Z)(o,rw,d),(0,v.Z)(o,"disabled",!0),o)],G=(0,ec.Z)((0,ec.Z)({},e),{},{multiple:!X&&c,onSelect:_,onActive:F,onToggleOpen:s,checkedSet:A,halfCheckedSet:H,loadingKeys:D,isSelectable:W}),Q=(X?[{options:q}]:U).map(function(e,t){var n=j.slice(0,t),r=j[t];return x.createElement(rE,(0,m.Z)({key:t},G,{prefixCls:M,options:e.options,prevValuePath:n,activeValue:r}))});return x.createElement("div",{className:w()("".concat(M,"-menus"),(a={},(0,v.Z)(a,"".concat(M,"-menu-empty"),X),(0,v.Z)(a,"".concat(M,"-rtl"),"rtl"===f),a)),ref:p},Q)}),rN=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function rP(e){return e?Array.isArray(e)&&Array.isArray(e[0])?e:(0===e.length?[]:[e]).map(function(e){return Array.isArray(e)?e:[e]}):[]}var rO=x.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,a=void 0===o?"rc-cascader":o,l=e.fieldNames,i=e.defaultValue,c=e.value,u=e.changeOnSelect,s=e.onChange,d=e.displayRender,f=e.checkable,p=e.searchValue,v=e.onSearch,h=e.showSearch,g=e.expandTrigger,y=e.options,C=e.dropdownPrefixCls,b=e.loadData,w=e.popupVisible,E=e.open,k=e.popupClassName,S=e.dropdownClassName,P=e.dropdownMenuColumnStyle,O=e.popupPlacement,M=e.placement,R=e.onDropdownVisibleChange,T=e.onPopupVisibleChange,D=e.expandIcon,L=void 0===D?">":D,I=e.loadingIcon,A=e.children,H=e.dropdownMatchSelectWidth,z=e.showCheckedStrategy,V=void 0===z?ri:z,j=(0,nd.Z)(e,rN),Y=(0,rr.ZP)(r),F=!!f,W=(0,em.Z)(i,{value:c,postState:rP}),_=(0,K.Z)(W,2),B=_[0],U=_[1],X=x.useMemo(function(){var e,t,n,r,o;return t=(e=l||{}).label,n=e.value,r=e.children,{label:t||"label",value:o=n||"value",key:o,children:r||"children"}},[JSON.stringify(l)]),q=x.useMemo(function(){return y||[]},[y]),G=rv(q,X),Q=x.useCallback(function(e){var t=G();return e.map(function(e){return t[e].nodes.map(function(e){return e[X.value]})})},[G,X]),$=(0,em.Z)("",{value:p,postState:function(e){return e||""}}),J=(0,K.Z)($,2),ee=J[0],et=J[1],en=x.useMemo(function(){if(!h)return[!1,{}];var e={matchInputWidth:!0,limit:50};return h&&"object"===(0,Z.Z)(h)&&(e=(0,ec.Z)((0,ec.Z)({},e),h)),e.limit<=0&&delete e.limit,[!0,e]},[h]),er=(0,K.Z)(en,2),eo=er[0],ea=er[1],el=rZ(ee,q,X,C||a,ea,u),ei=x.useCallback(function(e){var t=[],n=[];return e.forEach(function(e){rp(e,q,X).every(function(e){return e.option})?n.push(e):t.push(e)}),[n,t]},[q,X]),eu=x.useMemo(function(){var e=ei(B),t=(0,K.Z)(e,2),n=t[0],r=t[1];if(!F||!B.length)return[n,[],r];var o=rs(n),a=G(),l=(0,ro.S)(o,!0,a),i=l.checkedKeys,c=l.halfCheckedKeys;return[Q(i),Q(c),r]},[F,B,G,Q,ei]),es=(0,K.Z)(eu,3),ed=es[0],ef=es[1],ep=es[2],ev=(n=x.useMemo(function(){var e=rf(rs(ed),G,V);return[].concat((0,N.Z)(ep),(0,N.Z)(Q(e)))},[ed,G,Q,ep,V]),x.useMemo(function(){var e=d||function(e){var t=F?e.slice(-1):e;return t.every(function(e){return["string","number"].includes((0,Z.Z)(e))})?t.join(" / "):t.reduce(function(e,t,n){var r=x.isValidElement(t)?x.cloneElement(t,{key:n}):t;return 0===n?[r]:[].concat((0,N.Z)(e),[" / ",r])},[])};return n.map(function(t){var n,r,o=rp(t,q,X),a=e(o.map(function(e){var t,n=e.option,r=e.value;return null!==(t=null==n?void 0:n[X.label])&&void 0!==t?t:r}),o.map(function(e){return e.option})),l=ru(t);return{label:a,value:l,key:l,valueCells:t,disabled:null===(n=o[o.length-1])||void 0===n?void 0:null===(r=n.option)||void 0===r?void 0:r.disabled}})},[n,q,X,d,F])),eh=rh(function(e){if(U(e),s){var t=rP(e),n=t.map(function(e){return rp(e,q,X).map(function(e){return e.option})});s(F?t:t[0],F?n:n[0])}}),eg=rh(function(e){if(et(""),F){var t=ru(e),n=rs(ed),r=rs(ef),o=n.includes(t),a=ep.some(function(e){return ru(e)===t}),l=ed,i=ep;if(a&&!o)i=ep.filter(function(e){return ru(e)!==t});else{var c=o?n.filter(function(e){return e!==t}):[].concat((0,N.Z)(n),[t]),u=G();l=Q(rf(o?(0,ro.S)(c,{checked:!1,halfCheckedKeys:r},u).checkedKeys:(0,ro.S)(c,!0,u).checkedKeys,G,V))}eh([].concat((0,N.Z)(i),(0,N.Z)(l)))}else eh(e)}),ey=x.useMemo(function(){return{options:q,fieldNames:X,values:ed,halfValues:ef,changeOnSelect:u,onSelect:eg,checkable:f,searchOptions:el,dropdownPrefixCls:C,loadData:b,expandTrigger:g,expandIcon:L,loadingIcon:I,dropdownMenuColumnStyle:P}},[q,X,ed,ef,u,eg,f,el,C,b,g,L,I,P]),eC=!(ee?el:q).length,eZ=ee&&ea.matchInputWidth||eC?{}:{minWidth:"auto"};return x.createElement(ra.Provider,{value:ey},x.createElement(rn.Ac,(0,m.Z)({},j,{ref:t,id:Y,prefixCls:a,dropdownMatchSelectWidth:void 0!==H&&H,dropdownStyle:eZ,displayValues:ev,onDisplayValuesChange:function(e,t){if("clear"===t.type){eh([]);return}eg(t.values[0].valueCells)},mode:F?"multiple":void 0,searchValue:ee,onSearch:function(e,t){et(e),"blur"!==t.source&&v&&v(e)},showSearch:eo,OptionList:rS,emptyOptions:eC,open:void 0!==E?E:w,dropdownClassName:S||k,placement:M||O,onDropdownVisibleChange:function(e){null==R||R(e),null==T||T(e)},getRawInputElement:function(){return A}})))});rO.SHOW_PARENT=ri,rO.SHOW_CHILD=rc;var rM=n(88258),rR=n(98866),rT=n(97647),rD=n(4173),rL=n(46163),rI=n(33603),rA=n(9708),rH=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},rz=rO.SHOW_CHILD,rV=rO.SHOW_PARENT,rj=function(e,t,n,r){var o=[],a=e.toLowerCase();return t.forEach(function(e,t){0!==t&&o.push(" / ");var l,i,c,u,s=e[r.label],d=(0,Z.Z)(s);("string"===d||"number"===d)&&(i=(l=String(s)).toLowerCase().split(a).reduce(function(e,t,n){return 0===n?[t]:[].concat((0,N.Z)(e),[a,t])},[]),c=[],u=0,i.forEach(function(e,t){var r=u+e.length,o=l.slice(u,r);u=r,t%2==1&&(o=x.createElement("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator-".concat(t)},o)),c.push(o)}),s=c),o.push(s)}),o},rY=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.size,a=e.disabled,l=e.className,i=e.multiple,c=e.bordered,u=e.transitionName,s=e.choiceTransitionName,d=e.popupClassName,f=e.dropdownClassName,p=e.expandIcon,h=e.placement,g=e.showSearch,y=e.allowClear,C=e.notFoundContent,b=e.direction,E=e.getPopupContainer,N=e.status,P=e.showArrow,O=rH(e,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),M=(0,k.Z)(O,["suffixIcon"]),R=(0,x.useContext)(S.E_),T=R.getPopupContainer,D=R.getPrefixCls,L=R.renderEmpty,I=R.direction,A=b||I,H="rtl"===A,z=(0,x.useContext)(ne.aM),V=z.status,j=z.hasFeedback,Y=z.isFormItemInput,F=z.feedbackIcon,W=(0,rA.F)(V,N),K=C||(L||rM.Z)("Cascader"),_=D(),B=D("select",r),U=D("cascader",r),X=(0,rD.ri)(B,b),q=X.compactSize,G=X.compactItemClassnames,Q=w()(d||f,"".concat(U,"-dropdown"),(0,v.Z)({},"".concat(U,"-dropdown-rtl"),"rtl"===A)),$=x.useMemo(function(){if(!g)return g;var e={render:rj};return"object"===(0,Z.Z)(g)&&(e=(0,m.Z)((0,m.Z)({},e),g)),e},[g]),J=x.useContext(rT.Z),ee=q||o||J,et=x.useContext(rR.Z),en=p;p||(en=H?x.createElement(n9.Z,null):x.createElement(rt.Z,null));var er=x.createElement("span",{className:"".concat(B,"-menu-item-loading-icon")},x.createElement(re.Z,{spin:!0})),eo=x.useMemo(function(){return!!i&&x.createElement("span",{className:"".concat(U,"-checkbox-inner")})},[i]),ea=void 0!==P?P:e.loading||!i,el=(0,rL.Z)((0,m.Z)((0,m.Z)({},e),{hasFeedback:j,feedbackIcon:F,showArrow:ea,multiple:i,prefixCls:B})),ei=el.suffixIcon,ec=el.removeIcon,eu=el.clearIcon;return x.createElement(rO,(0,m.Z)({prefixCls:B,className:w()(!r&&U,(n={},(0,v.Z)(n,"".concat(B,"-lg"),"large"===ee),(0,v.Z)(n,"".concat(B,"-sm"),"small"===ee),(0,v.Z)(n,"".concat(B,"-rtl"),H),(0,v.Z)(n,"".concat(B,"-borderless"),!(void 0===c||c)),(0,v.Z)(n,"".concat(B,"-in-form-item"),Y),n),(0,rA.Z)(B,W,j),G,l),disabled:null!=a?a:et},M,{direction:A,placement:void 0!==h?h:"rtl"===b?"bottomRight":"bottomLeft",notFoundContent:K,allowClear:void 0===y||y,showSearch:$,expandIcon:en,inputIcon:ei,removeIcon:ec,clearIcon:eu,loadingIcon:er,checkable:eo,dropdownClassName:Q,dropdownPrefixCls:r||U,choiceTransitionName:(0,rI.mL)(_,"",void 0===s?"":s),transitionName:(0,rI.mL)(_,(0,rI.q0)(h),u),getPopupContainer:E||T,ref:t,showArrow:j||P}))});rY.SHOW_PARENT=rV,rY.SHOW_CHILD=rz;var rF=rY,rW=n(32808),rK=n(15746),r_=n(54907),rB=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},rU=function(e){var t=e.actions,n=e.author,r=e.avatar,o=e.children,a=e.className,l=e.content,i=e.prefixCls,c=e.datetime,u=rB(e,["actions","author","avatar","children","className","content","prefixCls","datetime"]),s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=d("comment",i),h=r?x.createElement("div",{className:"".concat(p,"-avatar")},"string"==typeof r?x.createElement("img",{src:r,alt:"comment-avatar"}):r):null,g=t&&t.length?x.createElement("ul",{className:"".concat(p,"-actions")},t.map(function(e,t){return x.createElement("li",{key:"action-".concat(t)},e)})):null,y=(n||c)&&x.createElement("div",{className:"".concat(p,"-content-author")},n&&x.createElement("span",{className:"".concat(p,"-content-author-name")},n),c&&x.createElement("span",{className:"".concat(p,"-content-author-time")},c)),C=x.createElement("div",{className:"".concat(p,"-content")},y,x.createElement("div",{className:"".concat(p,"-content-detail")},l),g),Z=w()(p,(0,v.Z)({},"".concat(p,"-rtl"),"rtl"===f),a);return x.createElement("div",(0,m.Z)({},u,{className:Z}),x.createElement("div",{className:"".concat(p,"-inner")},h,C),o?x.createElement("div",{className:w()("".concat(p,"-nested"))},o):null)},rX=n(76519),rq=n(93355),rG=n(20550),rQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},r$=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:rQ}))};r$.displayName="CalendarOutlined";var rJ=x.forwardRef(r$),r0={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},r1=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:r0}))};r1.displayName="ClockCircleOutlined";var r2=x.forwardRef(r1),r3=n(4340),r4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},r8=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:r4}))};r8.displayName="SwapRightOutlined";var r6=x.forwardRef(r8),r5=n(87206);function r7(e,t){var n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}var r9=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},oe=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ot={button:function(e){return x.createElement(ez.Z,(0,m.Z)({size:"small",type:"primary"},e))},rangeItem:function(e){return x.createElement(rG.Z,(0,m.Z)({color:"blue"},e))}};function on(e){var t=e.format,n=e.picker,r=e.showHour,o=e.showMinute,a=e.showSecond,l=e.use12Hours,i=(t?Array.isArray(t)?t:[t]:[])[0],c=(0,m.Z)({},e);return(i&&"string"==typeof i&&(i.includes("s")||void 0!==a||(c.showSecond=!1),i.includes("m")||void 0!==o||(c.showMinute=!1),i.includes("H")||i.includes("h")||void 0!==r||(c.showHour=!1),(i.includes("a")||i.includes("A"))&&void 0===l&&(c.use12Hours=!0)),"time"===n)?c:("function"==typeof i&&delete c.format,{showTime:c})}(0,rq.b)("bottomLeft","bottomRight","topLeft","topRight");var or=(a=(o=function(e){function t(t,n){var r=(0,x.forwardRef)(function(n,r){var o=n.prefixCls,a=n.getPopupContainer,l=n.className,i=n.size,c=n.bordered,u=void 0===c||c,s=n.placement,d=n.placeholder,f=n.popupClassName,p=n.dropdownClassName,h=n.disabled,g=n.status,y=oe(n,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),C=(0,x.useContext)(S.E_),Z=C.getPrefixCls,b=C.direction,E=C.getPopupContainer,k=Z("picker",o),N=(0,rD.ri)(k,b),P=N.compactSize,O=N.compactItemClassnames,M=x.useRef(null),R=n.format,T=n.showTime;(0,x.useImperativeHandle)(r,function(){return{focus:function(){var e;return null===(e=M.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=M.current)||void 0===e?void 0:e.blur()}}});var D={showToday:!0},L={};t&&(L.picker=t);var I=t||n.picker;L=(0,m.Z)((0,m.Z)((0,m.Z)({},L),T?on((0,m.Z)({format:R,picker:I},T)):{}),"time"===I?on((0,m.Z)((0,m.Z)({format:R},n),{picker:I})):{});var A=Z(),H=x.useContext(rT.Z),z=P||i||H,V=x.useContext(rR.Z),j=null!=h?h:V,Y=(0,x.useContext)(ne.aM),F=Y.hasFeedback,W=Y.status,K=Y.feedbackIcon,_=x.createElement(x.Fragment,null,"time"===I?x.createElement(r2,null):x.createElement(rJ,null),F&&K);return x.createElement(t9.Z,{componentName:"DatePicker",defaultLocale:r5.Z},function(t){var r,o=(0,m.Z)((0,m.Z)({},t),n.locale);return x.createElement(t4,(0,m.Z)({ref:M,placeholder:void 0!==d?d:"year"===I&&o.lang.yearPlaceholder?o.lang.yearPlaceholder:"quarter"===I&&o.lang.quarterPlaceholder?o.lang.quarterPlaceholder:"month"===I&&o.lang.monthPlaceholder?o.lang.monthPlaceholder:"week"===I&&o.lang.weekPlaceholder?o.lang.weekPlaceholder:"time"===I&&o.timePickerLocale.placeholder?o.timePickerLocale.placeholder:o.lang.placeholder,suffixIcon:_,dropdownAlign:r7(b,s),dropdownClassName:f||p,clearIcon:x.createElement(r3.Z,null),prevIcon:x.createElement("span",{className:"".concat(k,"-prev-icon")}),nextIcon:x.createElement("span",{className:"".concat(k,"-next-icon")}),superPrevIcon:x.createElement("span",{className:"".concat(k,"-super-prev-icon")}),superNextIcon:x.createElement("span",{className:"".concat(k,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(A,"-slide-up")},D,y,L,{locale:o.lang,className:w()((r={},(0,v.Z)(r,"".concat(k,"-").concat(z),z),(0,v.Z)(r,"".concat(k,"-borderless"),!u),r),(0,rA.Z)(k,(0,rA.F)(W,g),F),O,l),prefixCls:k,getPopupContainer:a||E,generateConfig:e,components:ot,direction:b,disabled:j}))})});return n&&(r.displayName=n),r}return{DatePicker:t(),WeekPicker:t("week","WeekPicker"),MonthPicker:t("month","MonthPicker"),YearPicker:t("year","YearPicker"),TimePicker:t("time","TimePicker"),QuarterPicker:t("quarter","QuarterPicker")}}(eF)).DatePicker,l=o.WeekPicker,i=o.MonthPicker,c=o.YearPicker,u=o.TimePicker,s=o.QuarterPicker,d=(0,x.forwardRef)(function(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=e.className,a=e.placement,l=e.size,i=e.disabled,c=e.bordered,u=void 0===c||c,s=e.placeholder,d=e.popupClassName,f=e.dropdownClassName,p=e.status,h=r9(e,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),g=x.useRef(null),y=(0,x.useContext)(S.E_),C=y.getPrefixCls,Z=y.direction,b=y.getPopupContainer,E=C("picker",n),k=(0,rD.ri)(E,Z),N=k.compactSize,P=k.compactItemClassnames,O=e.format,M=e.showTime,R=e.picker,T=C(),D={};D=(0,m.Z)((0,m.Z)((0,m.Z)({},D),M?on((0,m.Z)({format:O,picker:R},M)):{}),"time"===R?on((0,m.Z)((0,m.Z)({format:O},e),{picker:R})):{});var L=x.useContext(rT.Z),I=N||l||L,A=x.useContext(rR.Z),H=null!=i?i:A,z=(0,x.useContext)(ne.aM),V=z.hasFeedback,j=z.status,Y=z.feedbackIcon,F=x.createElement(x.Fragment,null,"time"===R?x.createElement(r2,null):x.createElement(rJ,null),V&&Y);return(0,x.useImperativeHandle)(t,function(){return{focus:function(){var e;return null===(e=g.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=g.current)||void 0===e?void 0:e.blur()}}}),x.createElement(t9.Z,{componentName:"DatePicker",defaultLocale:r5.Z},function(t){var n,l=(0,m.Z)((0,m.Z)({},t),e.locale);return x.createElement(t7,(0,m.Z)({separator:x.createElement("span",{"aria-label":"to",className:"".concat(E,"-separator")},x.createElement(r6,null)),disabled:H,ref:g,dropdownClassName:d||f,dropdownAlign:r7(Z,a),placeholder:void 0!==s?s:"year"===R&&l.lang.yearPlaceholder?l.lang.rangeYearPlaceholder:"quarter"===R&&l.lang.quarterPlaceholder?l.lang.rangeQuarterPlaceholder:"month"===R&&l.lang.monthPlaceholder?l.lang.rangeMonthPlaceholder:"week"===R&&l.lang.weekPlaceholder?l.lang.rangeWeekPlaceholder:"time"===R&&l.timePickerLocale.placeholder?l.timePickerLocale.rangePlaceholder:l.lang.rangePlaceholder,suffixIcon:F,clearIcon:x.createElement(r3.Z,null),prevIcon:x.createElement("span",{className:"".concat(E,"-prev-icon")}),nextIcon:x.createElement("span",{className:"".concat(E,"-next-icon")}),superPrevIcon:x.createElement("span",{className:"".concat(E,"-super-prev-icon")}),superNextIcon:x.createElement("span",{className:"".concat(E,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(T,"-slide-up")},h,D,{className:w()((n={},(0,v.Z)(n,"".concat(E,"-").concat(I),I),(0,v.Z)(n,"".concat(E,"-borderless"),!u),n),(0,rA.Z)(E,(0,rA.F)(j,p),V),P,o),locale:l.lang,prefixCls:E,getPopupContainer:r||b,generateConfig:eF,components:ot,direction:Z}))})}),(f=a).WeekPicker=l,f.MonthPicker=i,f.YearPicker=c,f.RangePicker=d,f.TimePicker=u,f.QuarterPicker=s,f),oo=n(24308),oa=function(e){var t,n=e.itemPrefixCls,r=e.component,o=e.span,a=e.className,l=e.style,i=e.labelStyle,c=e.contentStyle,u=e.bordered,s=e.label,d=e.content,f=e.colon;return u?x.createElement(r,{className:w()((t={},(0,v.Z)(t,"".concat(n,"-item-label"),null!=s),(0,v.Z)(t,"".concat(n,"-item-content"),null!=d),t),a),style:l,colSpan:o},null!=s&&x.createElement("span",{style:i},s),null!=d&&x.createElement("span",{style:c},d)):x.createElement(r,{className:w()("".concat(n,"-item"),a),style:l,colSpan:o},x.createElement("div",{className:"".concat(n,"-item-container")},(s||0===s)&&x.createElement("span",{className:w()("".concat(n,"-item-label"),(0,v.Z)({},"".concat(n,"-item-no-colon"),!f)),style:i},s),(d||0===d)&&x.createElement("span",{className:w()("".concat(n,"-item-content")),style:c},d)))};function ol(e,t,n){var r=t.colon,o=t.prefixCls,a=t.bordered,l=n.component,i=n.type,c=n.showLabel,u=n.showContent,s=n.labelStyle,d=n.contentStyle;return e.map(function(e,t){var n=e.props,f=n.label,p=n.children,v=n.prefixCls,h=void 0===v?o:v,g=n.className,y=n.style,C=n.labelStyle,Z=n.contentStyle,b=n.span,w=void 0===b?1:b,E=e.key;return"string"==typeof l?x.createElement(oa,{key:"".concat(i,"-").concat(E||t),className:g,style:y,labelStyle:(0,m.Z)((0,m.Z)({},s),C),contentStyle:(0,m.Z)((0,m.Z)({},d),Z),span:w,colon:r,component:l,itemPrefixCls:h,bordered:a,label:c?f:null,content:u?p:null}):[x.createElement(oa,{key:"label-".concat(E||t),className:g,style:(0,m.Z)((0,m.Z)((0,m.Z)({},s),y),C),span:1,colon:r,component:l[0],itemPrefixCls:h,bordered:a,label:f}),x.createElement(oa,{key:"content-".concat(E||t),className:g,style:(0,m.Z)((0,m.Z)((0,m.Z)({},d),y),Z),span:2*w-1,component:l[1],itemPrefixCls:h,bordered:a,content:p})]})}var oi=function(e){var t=x.useContext(oc),n=e.prefixCls,r=e.vertical,o=e.row,a=e.index,l=e.bordered;return r?x.createElement(x.Fragment,null,x.createElement("tr",{key:"label-".concat(a),className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:"th",type:"label",showLabel:!0},t))),x.createElement("tr",{key:"content-".concat(a),className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:"td",type:"content",showContent:!0},t)))):x.createElement("tr",{key:a,className:"".concat(n,"-row")},ol(o,e,(0,m.Z)({component:l?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},oc=x.createContext({}),ou={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function os(e,t,n){var r=e;return(void 0===t||t>n)&&(r=(0,en.Tm)(e,{span:n})),r}function od(e){var t,n,r,o,a,l=e.prefixCls,i=e.title,c=e.extra,u=e.column,s=void 0===u?ou:u,d=e.colon,f=void 0===d||d,p=e.bordered,m=e.layout,h=e.children,g=e.className,y=e.style,C=e.size,b=e.labelStyle,E=e.contentStyle,k=x.useContext(S.E_),N=k.getPrefixCls,P=k.direction,O=N("descriptions",l),M=x.useState({}),R=(0,K.Z)(M,2),T=R[0],D=R[1],L=function(e,t){if("number"==typeof e)return e;if("object"===(0,Z.Z)(e))for(var n=0;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,rq.b)("default","large");var oE={distance:180},ok=function(e){var t=e.width,n=e.height,r=e.size,o=void 0===r?"default":r,a=e.closable,l=void 0===a||a,i=e.mask,c=void 0===i||i,u=e.push,s=e.closeIcon,d=void 0===s?x.createElement(om.Z,null):s,f=e.bodyStyle,p=e.drawerStyle,h=e.className,g=e.visible,y=e.open,C=e.children,Z=e.style,b=e.title,E=e.headerStyle,k=e.onClose,N=e.footer,P=e.footerStyle,O=e.prefixCls,M=e.getContainer,R=e.extra,T=e.afterVisibleChange,D=e.afterOpenChange,L=ow(e,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),I=x.useContext(S.E_),A=I.getPopupContainer,H=I.getPrefixCls,z=I.direction,V=H("drawer",O),j=l&&x.createElement("button",{type:"button",onClick:k,"aria-label":"Close",className:"".concat(V,"-close")},d);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(e){var t=(0,K.Z)(e,2);t[0],t[1]});var Y=w()((0,v.Z)({"no-mask":!c},"".concat(V,"-rtl"),"rtl"===z),h),F=x.useMemo(function(){return null!=t?t:"large"===o?736:378},[t,o]),W=x.useMemo(function(){return null!=n?n:"large"===o?736:378},[n,o]),_={motionName:(0,rI.mL)(V,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return x.createElement(ne.Ux,{status:!0,override:!0},x.createElement(ob,(0,m.Z)({prefixCls:V,onClose:k},L,{open:y||g,mask:c,push:void 0===u?oE:u,width:F,height:W,rootClassName:Y,getContainer:void 0===M&&A?function(){return A(document.body)}:M,afterOpenChange:function(e){null==D||D(e),null==T||T(e)},maskMotion:_,motion:function(e){return{motionName:(0,rI.mL)(V,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}},rootStyle:Z}),x.createElement("div",{className:"".concat(V,"-wrapper-body"),style:(0,m.Z)({},p)},b||l?x.createElement("div",{className:w()("".concat(V,"-header"),(0,v.Z)({},"".concat(V,"-header-close-only"),l&&!b&&!R)),style:E},x.createElement("div",{className:"".concat(V,"-header-title")},j,b&&x.createElement("div",{className:"".concat(V,"-title")},b)),R&&x.createElement("div",{className:"".concat(V,"-extra")},R)):null,x.createElement("div",{className:"".concat(V,"-body"),style:f},C),N?x.createElement("div",{className:"".concat(V,"-footer"),style:P},N):null)))},ox=n(13013),oS=n(62986),oN=n(79292),oP=n(25378),oO={useBreakpoint:function(){return(0,oP.Z)()}},oM=n(99611),oR=n(27678),oT=n(38425);function oD(e,t,n,r){var o=t+n,a=(n-r)/2;if(n>r){if(t>0)return(0,v.Z)({},e,a);if(t<0&&or)return(0,v.Z)({},e,t<0?a:-a);return{}}var oL=["visible","onVisibleChange","getContainer","current","countRender"],oI=x.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),oA=oI.Provider,oH=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],oz=x.useState,oV=x.useEffect,oj=x.useCallback,oY=x.useRef,oF=x.useContext,oW={x:0,y:0},oK=function(e){var t,n,r,o,a,l,i,c=e.prefixCls,u=e.src,s=e.alt,d=e.onClose,f=(e.afterClose,e.visible),p=e.icons,h=void 0===p?{}:p,g=e.rootClassName,y=e.getContainer,C=e.countRender,Z=e.scaleStep,b=void 0===Z?.5:Z,E=e.transitionName,k=e.maskTransitionName,S=void 0===k?"fade":k,N=(0,nd.Z)(e,oH),O=h.rotateLeft,M=h.rotateRight,T=h.zoomIn,D=h.zoomOut,L=h.close,I=h.left,A=h.right,H=oz(1),z=(0,K.Z)(H,2),V=z[0],j=z[1],Y=oz(0),F=(0,K.Z)(Y,2),W=F[0],_=F[1],B=(t=x.useRef(null),n=x.useState(oW),o=(r=(0,K.Z)(n,2))[0],a=r[1],l=x.useRef([]),x.useEffect(function(){return function(){return t.current&&P.Z.cancel(t.current)}},[]),[o,function(e){null===t.current&&(l.current=[],t.current=(0,P.Z)(function(){a(function(e){var n=e;return l.current.forEach(function(e){n=(0,ec.Z)((0,ec.Z)({},n),e)}),t.current=null,n})})),l.current.push(e)}]),U=(0,K.Z)(B,2),X=U[0],q=U[1],G=oY(),Q=oY({originX:0,originY:0,deltaX:0,deltaY:0}),$=oz(!1),J=(0,K.Z)($,2),ee=J[0],et=J[1],en=oF(oI),er=en.previewUrls,eo=en.current,ea=en.isPreviewGroup,el=en.setCurrent,ei=er.size,eu=Array.from(er.keys()),es=eu.indexOf(eo),ed=ea?er.get(eo):u,ef=ea&&ei>1,em=oz({wheelDirection:0}),ev=(0,K.Z)(em,2),eh=ev[0],eg=ev[1],ey=function(){j(function(e){return e+b}),q(oW)},eC=function(){V>1&&j(function(e){return e-b}),q(oW)},eZ=w()((0,v.Z)({},"".concat(c,"-moving"),ee)),eb="".concat(c,"-operations-operation"),ew="".concat(c,"-operations-icon"),eE=function(){if(f&&ee){var e,t,n,r,o,a,l=G.current.offsetWidth*V,i=G.current.offsetHeight*V,c=G.current.getBoundingClientRect(),u=c.left,s=c.top,d=W%180!=0;et(!1);var p=(e=d?i:l,t=d?l:i,r=(n=(0,oR.g1)()).width,o=n.height,a=null,e<=r&&t<=o?a={x:0,y:0}:(e>r||t>o)&&(a=(0,ec.Z)((0,ec.Z)({},oD("x",u,e,r)),oD("y",s,t,o))),a);p&&q((0,ec.Z)({},p))}},ek=function(e){f&&ee&&q({x:e.pageX-Q.current.deltaX,y:e.pageY-Q.current.deltaY})},ex=function(e){f&&(e.preventDefault(),eg({wheelDirection:e.deltaY}))},eS=oj(function(e){f&&ef&&(e.keyCode===e_.Z.LEFT?es>0&&el(eu[es-1]):e.keyCode===e_.Z.RIGHT&&es0?eC():e<0&&ey()},[eh]),oV(function(){var e,t,n=(0,R.Z)(window,"mouseup",eE,!1),r=(0,R.Z)(window,"mousemove",ek,!1),o=(0,R.Z)(window,"wheel",ex,{passive:!1}),a=(0,R.Z)(window,"keydown",eS,!1);try{window.top!==window.self&&(e=(0,R.Z)(window.top,"mouseup",eE,!1),t=(0,R.Z)(window.top,"mousemove",ek,!1))}catch(l){(0,eY.Kp)(!1,"[rc-image] ".concat(l))}return function(){n.remove(),r.remove(),o.remove(),a.remove(),null==e||e.remove(),null==t||t.remove()}},[f,ee,eS]);var eN=x.createElement(x.Fragment,null,ef&&x.createElement("div",{className:w()("".concat(c,"-switch-left"),(0,v.Z)({},"".concat(c,"-switch-left-disabled"),0===es)),onClick:function(e){e.preventDefault(),e.stopPropagation(),es>0&&el(eu[es-1])}},I),ef&&x.createElement("div",{className:w()("".concat(c,"-switch-right"),(0,v.Z)({},"".concat(c,"-switch-right-disabled"),es===ei-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),es=1&&x.createElement("li",{className:"".concat(c,"-operations-progress")},null!==(i=null==C?void 0:C(es+1,ei))&&void 0!==i?i:"".concat(es+1," / ").concat(ei)),[{icon:L,onClick:d,type:"close"},{icon:T,onClick:ey,type:"zoomIn"},{icon:D,onClick:eC,type:"zoomOut",disabled:1===V},{icon:M,onClick:function(){_(function(e){return e+90})},type:"rotateRight"},{icon:O,onClick:function(){_(function(e){return e-90})},type:"rotateLeft"}].map(function(e){var t,n=e.icon,r=e.onClick,o=e.type,a=e.disabled;return x.createElement("li",{className:w()(eb,(t={},(0,v.Z)(t,"".concat(c,"-operations-operation-").concat(o),!0),(0,v.Z)(t,"".concat(c,"-operations-operation-disabled"),!!a),t)),onClick:r,key:o},x.isValidElement(n)?x.cloneElement(n,{className:ew}):n)})));return x.createElement(x.Fragment,null,x.createElement(oT.Z,(0,m.Z)({transitionName:void 0===E?"zoom":E,maskTransitionName:S,closable:!1,keyboard:!0,prefixCls:c,onClose:d,afterClose:function(){j(1),_(0),q(oW)},visible:f,wrapClassName:eZ,rootClassName:g,getContainer:y},N),x.createElement("div",{className:"".concat(c,"-img-wrapper"),style:{transform:"translate3d(".concat(X.x,"px, ").concat(X.y,"px, 0)")}},x.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),Q.current.deltaX=e.pageX-X.x,Q.current.deltaY=e.pageY-X.y,Q.current.originX=X.x,Q.current.originY=X.y,et(!0))},onDoubleClick:function(){f&&(1!==V&&j(1),(X.x!==oW.x||X.y!==oW.y)&&q(oW))},ref:G,className:"".concat(c,"-img"),src:ed,alt:s,style:{transform:"scale3d(".concat(V,", ").concat(V,", 1) rotate(").concat(W,"deg)")}}))),x.createElement(ep.Z,{visible:f,motionName:S},function(e){var t=e.className,n=e.style;return x.createElement(ov.Z,{open:!0,getContainer:null!=y?y:document.body},x.createElement("div",{className:w()("".concat(c,"-operations-wrapper"),t,g),style:n},eN))}))},o_=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","draggable"],oB=["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons","scaleStep"],oU=0,oX=function(e){var t,n=e.src,r=e.alt,o=e.onPreviewClose,a=e.prefixCls,l=void 0===a?"rc-image":a,i=e.previewPrefixCls,c=e.placeholder,u=e.fallback,s=e.width,d=e.height,f=e.style,p=e.preview,h=void 0===p||p,g=e.className,y=e.onClick,C=e.onError,b=e.wrapperClassName,E=e.wrapperStyle,k=e.rootClassName,S=e.crossOrigin,N=e.decoding,P=e.loading,O=e.referrerPolicy,M=e.sizes,R=e.srcSet,T=e.useMap,D=e.draggable,L=(0,nd.Z)(e,o_),I=c&&!0!==c,A="object"===(0,Z.Z)(h)?h:{},H=A.src,z=A.visible,V=void 0===z?void 0:z,j=A.onVisibleChange,Y=A.getContainer,F=A.mask,W=A.maskClassName,_=A.icons,B=A.scaleStep,U=(0,nd.Z)(A,oB),X=null!=H?H:n,q=void 0!==V,G=(0,em.Z)(!!V,{value:V,onChange:void 0===j?o:j}),Q=(0,K.Z)(G,2),$=Q[0],J=Q[1],ee=(0,x.useState)(I?"loading":"normal"),et=(0,K.Z)(ee,2),en=et[0],er=et[1],eo=(0,x.useState)(null),ea=(0,K.Z)(eo,2),el=ea[0],ei=ea[1],eu="error"===en,es=x.useContext(oI),ed=es.isPreviewGroup,ef=es.setCurrent,ep=es.setShowPreview,ev=es.setMousePosition,eh=es.registerImage,eg=x.useState(function(){return oU+=1}),ey=(0,K.Z)(eg,1)[0],eC=!!h,eZ=x.useRef(!1),eb=function(){er("normal")};x.useEffect(function(){return eh(ey,X)},[]),x.useEffect(function(){eh(ey,X,eC)},[X,eC]),x.useEffect(function(){eu&&er("normal"),I&&!eZ.current&&er("loading")},[n]);var ew=w()(l,b,k,(0,v.Z)({},"".concat(l,"-error"),eu)),eE={crossOrigin:S,decoding:N,draggable:D,loading:P,referrerPolicy:O,sizes:M,srcSet:R,useMap:T,alt:r,className:w()("".concat(l,"-img"),(0,v.Z)({},"".concat(l,"-img-placeholder"),!0===c),g),style:(0,ec.Z)({height:d},f)};return x.createElement(x.Fragment,null,x.createElement("div",(0,m.Z)({},L,{className:ew,onClick:eC?function(e){if(!q){var t=(0,oR.os)(e.target),n=t.left,r=t.top;ed?(ef(ey),ev({x:n,y:r})):ei({x:n,y:r})}ed?ep(!0):J(!0),y&&y(e)}:y,style:(0,ec.Z)({width:s,height:d},E)}),x.createElement("img",(0,m.Z)({},eE,{ref:function(e){eZ.current=!1,"loading"===en&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(eZ.current=!0,eb())}},eu&&u?{src:u}:{onLoad:eb,onError:function(e){C&&C(e),er("error")},src:n},{width:s,height:d})),"loading"===en&&x.createElement("div",{"aria-hidden":"true",className:"".concat(l,"-placeholder")},c),F&&eC&&x.createElement("div",{className:w()("".concat(l,"-mask"),W),style:{display:(null===(t=eE.style)||void 0===t?void 0:t.display)==="none"?"none":void 0}},F)),!ed&&eC&&x.createElement(oK,(0,m.Z)({"aria-hidden":!$,visible:$,prefixCls:void 0===i?"".concat(l,"-preview"):i,onClose:function(e){e.stopPropagation(),J(!1),q||ei(null)},mousePosition:el,src:eu&&u?u:X,alt:r,getContainer:void 0===Y?void 0:Y,icons:_,scaleStep:B,rootClassName:k},U)))};oX.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.children,r=e.icons,o=e.preview,a="object"===(0,Z.Z)(o)?o:{},l=a.visible,i=void 0===l?void 0:l,c=a.onVisibleChange,u=a.getContainer,s=a.current,d=a.countRender,f=(0,nd.Z)(a,oL),p=(0,x.useState)(new Map),v=(0,K.Z)(p,2),h=v[0],g=v[1],y=(0,x.useState)(),C=(0,K.Z)(y,2),b=C[0],w=C[1],E=(0,em.Z)(!!i,{value:i,onChange:void 0===c?void 0:c}),k=(0,K.Z)(E,2),S=k[0],N=k[1],P=(0,x.useState)(null),O=(0,K.Z)(P,2),M=O[0],R=O[1],T=void 0!==i,D=Array.from(h.keys())[void 0===s?0:s],L=new Map(Array.from(h).filter(function(e){return!!(0,K.Z)(e,2)[1].canPreview}).map(function(e){var t=(0,K.Z)(e,2);return[t[0],t[1].url]}));return x.useEffect(function(){w(D)},[D]),x.useEffect(function(){!S&&T&&w(D)},[D,T,S]),x.createElement(oA,{value:{isPreviewGroup:!0,previewUrls:L,setPreviewUrls:g,current:b,setCurrent:w,setShowPreview:N,setMousePosition:R,registerImage:function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return g(function(r){return new Map(r).set(e,{url:t,canPreview:n})}),function(){g(function(t){var n=new Map(t);return n.delete(e)?n:t})}}}},n,x.createElement(oK,(0,m.Z)({"aria-hidden":!S,visible:S,prefixCls:void 0===t?"rc-image-preview":t,onClose:function(e){e.stopPropagation(),N(!1),R(null)},mousePosition:M,src:L.get(b),icons:void 0===r?{}:r,getContainer:void 0===u?void 0:u,countRender:void 0===d?void 0:d},f)))},oX.displayName="Image";var oq=n(40378),oG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},oQ=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:oG}))};oQ.displayName="RotateLeftOutlined";var o$=x.forwardRef(oQ),oJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},o0=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:oJ}))};o0.displayName="RotateRightOutlined";var o1=x.forwardRef(o0),o2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},o3=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:o2}))};o3.displayName="ZoomInOutlined";var o4=x.forwardRef(o3),o8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},o6=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:o8}))};o6.displayName="ZoomOutOutlined";var o5=x.forwardRef(o6),o7=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},o9={rotateLeft:x.createElement(o$,null),rotateRight:x.createElement(o1,null),zoomIn:x.createElement(o4,null),zoomOut:x.createElement(o5,null),close:x.createElement(om.Z,null),left:x.createElement(n9.Z,null),right:x.createElement(rt.Z,null)},ae=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},at=function(e){var t=e.prefixCls,n=e.preview,r=ae(e,["prefixCls","preview"]),o=(0,x.useContext)(S.E_),a=o.getPrefixCls,l=o.locale,i=void 0===l?oq.Z:l,c=o.getPopupContainer,u=a("image",t),s=a(),d=i.Image||oq.Z.Image,f=x.useMemo(function(){if(!1===n)return n;var e="object"===(0,Z.Z)(n)?n:{},t=e.getContainer,r=ae(e,["getContainer"]);return(0,m.Z)((0,m.Z)({mask:x.createElement("div",{className:"".concat(u,"-mask-info")},x.createElement(oM.Z,null),null==d?void 0:d.preview),icons:o9},r),{getContainer:t||c,transitionName:(0,rI.mL)(s,"zoom",e.transitionName),maskTransitionName:(0,rI.mL)(s,"fade",e.maskTransitionName)})},[n,d]);return x.createElement(oX,(0,m.Z)({prefixCls:u,preview:f},r))};at.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.preview,r=o7(e,["previewPrefixCls","preview"]),o=x.useContext(S.E_).getPrefixCls,a=o("image-preview",t),l=o(),i=x.useMemo(function(){if(!1===n)return n;var e="object"===(0,Z.Z)(n)?n:{};return(0,m.Z)((0,m.Z)({},e),{transitionName:(0,rI.mL)(l,"zoom",e.transitionName),maskTransitionName:(0,rI.mL)(l,"fade",e.maskTransitionName)})},[n]);return x.createElement(oX.PreviewGroup,(0,m.Z)({preview:i,previewPrefixCls:a,icons:o9},r))};var an=at,ar=n(79531),ao=n(79915),aa=n(97183),al=n(92820),ai=n(3698),ac=n(11382),au=n(21584),as=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ad=(0,x.forwardRef)(function(e,t){var n,r=e.prefixCls,o=e.children,a=e.actions,l=e.extra,i=e.className,c=e.colStyle,u=as(e,["prefixCls","children","actions","extra","className","colStyle"]),s=(0,x.useContext)(ap),d=s.grid,f=s.itemLayout,p=(0,(0,x.useContext)(S.E_).getPrefixCls)("list",r),h=a&&a.length>0&&x.createElement("ul",{className:"".concat(p,"-item-action"),key:"actions"},a.map(function(e,t){return x.createElement("li",{key:"".concat(p,"-item-action-").concat(t)},e,t!==a.length-1&&x.createElement("em",{className:"".concat(p,"-item-action-split")}))})),g=x.createElement(d?"div":"li",(0,m.Z)({},u,d?{}:{ref:t},{className:w()("".concat(p,"-item"),(0,v.Z)({},"".concat(p,"-item-no-flex"),!("vertical"===f?!!l:(x.Children.forEach(o,function(e){"string"==typeof e&&(n=!0)}),!(n&&x.Children.count(o)>1)))),i)}),"vertical"===f&&l?[x.createElement("div",{className:"".concat(p,"-item-main"),key:"content"},o,h),x.createElement("div",{className:"".concat(p,"-item-extra"),key:"extra"},l)]:[o,h,(0,en.Tm)(l,{key:"extra"})]);return d?x.createElement(au.Z,{ref:t,flex:1,style:c},g):g});ad.Meta=function(e){var t=e.prefixCls,n=e.className,r=e.avatar,o=e.title,a=e.description,l=as(e,["prefixCls","className","avatar","title","description"]),i=(0,(0,x.useContext)(S.E_).getPrefixCls)("list",t),c=w()("".concat(i,"-item-meta"),n),u=x.createElement("div",{className:"".concat(i,"-item-meta-content")},o&&x.createElement("h4",{className:"".concat(i,"-item-meta-title")},o),a&&x.createElement("div",{className:"".concat(i,"-item-meta-description")},a));return x.createElement("div",(0,m.Z)({},l,{className:c}),r&&x.createElement("div",{className:"".concat(i,"-item-meta-avatar")},r),(o||a)&&u)};var af=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ap=x.createContext({});function am(e){var t,n,r=e.pagination,o=void 0!==r&&r,a=e.prefixCls,l=e.bordered,i=e.split,c=e.className,u=e.children,s=e.itemLayout,d=e.loadMore,f=e.grid,p=e.dataSource,h=void 0===p?[]:p,g=e.size,y=e.header,C=e.footer,b=e.loading,E=e.rowKey,k=e.renderItem,P=e.locale,O=af(e,["pagination","prefixCls","bordered","split","className","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),M=o&&"object"===(0,Z.Z)(o)?o:{},R=x.useState(M.defaultCurrent||1),T=(0,K.Z)(R,2),D=T[0],L=T[1],I=x.useState(M.defaultPageSize||10),A=(0,K.Z)(I,2),H=A[0],z=A[1],V=x.useContext(S.E_),j=V.getPrefixCls,Y=V.renderEmpty,F=V.direction,W=function(e){return function(t,n){L(t),z(n),o&&o[e]&&o[e](t,n)}},_=W("onChange"),B=W("onShowSizeChange"),U=function(e,t){var n;return k?((n="function"==typeof E?E(e):E?e[E]:e.key)||(n="list-item-".concat(t)),x.createElement(x.Fragment,{key:n},k(e,t))):null},X=j("list",a),q=void 0!==b&&b;"boolean"==typeof q&&(q={spinning:q});var G=q&&q.spinning,Q="";switch(g){case"large":Q="lg";break;case"small":Q="sm"}var $=w()(X,(n={},(0,v.Z)(n,"".concat(X,"-vertical"),"vertical"===s),(0,v.Z)(n,"".concat(X,"-").concat(Q),Q),(0,v.Z)(n,"".concat(X,"-split"),void 0===i||i),(0,v.Z)(n,"".concat(X,"-bordered"),void 0!==l&&l),(0,v.Z)(n,"".concat(X,"-loading"),G),(0,v.Z)(n,"".concat(X,"-grid"),!!f),(0,v.Z)(n,"".concat(X,"-something-after-last-item"),!!(d||o||C)),(0,v.Z)(n,"".concat(X,"-rtl"),"rtl"===F),n),c),J=(0,m.Z)((0,m.Z)((0,m.Z)({},{current:1,total:0}),{total:h.length,current:D,pageSize:H}),o||{}),ee=Math.ceil(J.total/J.pageSize);J.current>ee&&(J.current=ee);var et=o?x.createElement("div",{className:"".concat(X,"-pagination")},x.createElement(ai.Z,(0,m.Z)({},J,{onChange:_,onShowSizeChange:B}))):null,en=(0,N.Z)(h);o&&h.length>(J.current-1)*J.pageSize&&(en=(0,N.Z)(h).splice((J.current-1)*J.pageSize,J.pageSize));var er=Object.keys(f||{}).some(function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)}),eo=(0,oP.Z)(er),ea=x.useMemo(function(){for(var e=0;e0){var ec=en.map(function(e,t){return U(e,t)});ei=f?x.createElement(al.Z,{gutter:f.gutter},x.Children.map(ec,function(e){return x.createElement("div",{key:null==e?void 0:e.key,style:el},e)})):x.createElement("ul",{className:"".concat(X,"-items")},ec)}else u||G||(t=Y||rM.Z,ei=x.createElement("div",{className:"".concat(X,"-empty-text")},P&&P.emptyText||t("List")));var eu=J.position||"bottom",es=x.useMemo(function(){return{grid:f,itemLayout:s}},[JSON.stringify(f),s]);return x.createElement(ap.Provider,{value:es},x.createElement("div",(0,m.Z)({className:$},O),("top"===eu||"both"===eu)&&et,y&&x.createElement("div",{className:"".concat(X,"-header")},y),x.createElement(ac.Z,(0,m.Z)({},q),ei,u),C&&x.createElement("div",{className:"".concat(X,"-footer")},C),d||("bottom"===eu||"both"===eu)&&et))}ap.Consumer,am.Item=ad;var av=am,ah=n(57239),ag=n(97868),ay=x.createContext(null),aC=function(e){var t=x.useContext(ay),n=t.notFoundContent,r=t.activeIndex,o=t.setActiveIndex,a=t.selectOption,l=t.onFocus,i=t.onBlur,c=e.prefixCls,u=e.options,s=u[r]||{};return x.createElement(ag.ZP,{prefixCls:"".concat(c,"-menu"),activeKey:s.key,onSelect:function(e){var t=e.key;a(u.find(function(e){return e.key===t}))},onFocus:l,onBlur:i},u.map(function(e,t){var n=e.key,r=e.disabled,a=e.children,l=e.className,i=e.style;return x.createElement(ag.sN,{key:n,disabled:r,className:l,style:i,onMouseEnter:function(){o(t)}},a)}),!u.length&&x.createElement(ag.sN,{disabled:!0},n))},aZ={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},ab=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.getDropdownPrefix=function(){return"".concat(e.props.prefixCls,"-dropdown")},e.getDropdownElement=function(){var t=e.props.options;return x.createElement(aC,{prefixCls:e.getDropdownPrefix(),options:t})},e.getDropDownPlacement=function(){var t=e.props,n=t.placement;return"rtl"===t.direction?"top"===n?"topLeft":"bottomLeft":"top"===n?"topRight":"bottomRight"},e}return(0,g.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.visible,r=e.transitionName,o=e.getPopupContainer,a=this.getDropdownElement();return x.createElement(tX.Z,{prefixCls:this.getDropdownPrefix(),popupVisible:n,popup:a,popupPlacement:this.getDropDownPlacement(),popupTransitionName:r,builtinPlacements:aZ,getPopupContainer:o,popupClassName:this.props.dropdownClassName},t)}}]),n}(x.Component);function aw(e){return(e||"").toLowerCase()}var aE=x.forwardRef(function(e,t){var n,r,o,a,l,i=e.prefixCls,c=e.className,u=e.style,s=e.prefix,d=e.split,f=e.notFoundContent,p=e.value,v=e.defaultValue,h=e.children,g=e.open,y=e.validateSearch,C=e.filterOption,Z=e.onChange,b=e.onKeyDown,E=e.onKeyUp,k=e.onPressEnter,S=e.onSearch,N=e.onSelect,P=e.onFocus,O=e.onBlur,M=e.transitionName,R=e.placement,T=e.direction,D=e.getPopupContainer,L=e.dropdownClassName,I=(0,nd.Z)(e,["prefixCls","className","style","prefix","split","notFoundContent","value","defaultValue","children","open","validateSearch","filterOption","onChange","onKeyDown","onKeyUp","onPressEnter","onSearch","onSelect","onFocus","onBlur","transitionName","placement","direction","getPopupContainer","dropdownClassName"]),A=Array.isArray(s)?s:[s],H=(0,ec.Z)((0,ec.Z)({},e),{},{prefix:A}),z=(0,x.useRef)(null),V=(0,x.useRef)(null),j=function(){var e,t;return null===(e=z.current)||void 0===e?void 0:null===(t=e.resizableTextArea)||void 0===t?void 0:t.textArea};x.useImperativeHandle(t,function(){var e,t;return{focus:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.blur()},textarea:null===(e=z.current)||void 0===e?void 0:null===(t=e.resizableTextArea)||void 0===t?void 0:t.textArea}});var Y=(0,x.useState)(!1),F=(0,K.Z)(Y,2),W=F[0],_=F[1],B=(0,x.useState)(""),U=(0,K.Z)(B,2),X=U[0],q=U[1],G=(0,x.useState)(""),Q=(0,K.Z)(G,2),$=Q[0],J=Q[1],et=(0,x.useState)(0),en=(0,K.Z)(et,2),er=en[0],eo=en[1],ea=(0,x.useState)(0),el=(0,K.Z)(ea,2),ei=el[0],eu=el[1],es=(0,x.useState)(!1),ed=(0,K.Z)(es,2),ef=ed[0],ep=ed[1],ev=(0,em.Z)("",{defaultValue:v,value:p}),eh=(0,K.Z)(ev,2),eg=eh[0],ey=eh[1];(0,x.useEffect)(function(){W&&V.current&&(V.current.scrollTop=j().scrollTop)},[W]);var eC=x.useMemo(function(){if(g)for(var e=0;e=0)return[!0,"",t,n]}return[W,X,$,er]},[g,W,A,eg,X,$,er]),eZ=(0,K.Z)(eC,4),eb=eZ[0],ew=eZ[1],eE=eZ[2],ek=eZ[3],ex=x.useCallback(function(e){return(0,ee.Z)(h).map(function(e){var t=e.props,n=e.key;return(0,ec.Z)((0,ec.Z)({},t),{},{key:n||t.value})}).filter(function(t){return!1===C||C(e,t)})},[h,C]),eS=x.useMemo(function(){return ex(ew)},[ex,ew]),eN=(n=(0,x.useState)({id:0,callback:null}),o=(r=(0,K.Z)(n,2))[0],a=r[1],l=(0,x.useCallback)(function(e){a(function(t){return{id:t.id+1,callback:e}})},[]),(0,x.useEffect)(function(){var e;null===(e=o.callback)||void 0===e||e.call(o)},[o]),l),eP=function(e,t,n){_(!0),q(e),J(t),eo(n),eu(0)},eO=function(e){_(!1),eo(0),q(""),eN(e)},eM=function(e){ey(e),null==Z||Z(e)},eR=function(e){var t,n,r,o,a,l,i,c,u,s,f=e.value,p=(n=(t={measureLocation:ek,targetText:void 0===f?"":f,prefix:eE,selectionStart:null===(s=j())||void 0===s?void 0:s.selectionStart,split:d}).measureLocation,r=t.prefix,o=t.targetText,a=t.selectionStart,l=t.split,(i=eg.slice(0,n))[i.length-l.length]===l&&(i=i.slice(0,i.length-l.length)),i&&(i="".concat(i).concat(l)),(c=function(e,t,n){var r=e[0];if(!r||r===n)return e;for(var o=e,a=t.length,l=0;le.location?{location:n,prefix:t}:e},{location:-1,prefix:""}),i=l.location,c=l.prefix;if(null==E||E(e),-1===[e_.Z.ESC,e_.Z.UP,e_.Z.DOWN,e_.Z.ENTER].indexOf(o)){if(-1!==i){var u=a.slice(i+c.length),s=y(u,H),d=!!ex(u).length;s?(r===c||"Shift"===r||eb||u!==ew&&d)&&eP(u,c,i):eb&&eO(),S&&s&&S(u,c)}else eb&&eO()}},onPressEnter:function(e){!eb&&k&&k(e)},onFocus:eD,onBlur:eL})),eb&&x.createElement("div",{ref:V,className:"".concat(i,"-measure")},eg.slice(0,ek),x.createElement(ay.Provider,{value:{notFoundContent:f,activeIndex:ei,setActiveIndex:eu,selectOption:eR,onFocus:function(){eD()},onBlur:function(){eL()}}},x.createElement(ab,{prefixCls:i,transitionName:M,placement:R,direction:T,options:eS,visible:!0,getPopupContainer:D,dropdownClassName:L},x.createElement("span",null,eE))),eg.slice(ek+eE.length)))});aE.defaultProps={prefixCls:"rc-mentions",prefix:"@",split:" ",validateSearch:function(e,t){var n=t.split;return!n||-1===e.indexOf(n)},filterOption:function(e,t){var n=t.value,r=e.toLowerCase();return -1!==(void 0===n?"":n).toLowerCase().indexOf(r)},notFoundContent:"Not Found",rows:1},aE.Option=function(){return null};var ak=n(42550),ax=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},aS=aE.Option;function aN(){return!0}var aP=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.className,a=e.disabled,l=e.loading,i=e.filterOption,c=e.children,u=e.notFoundContent,s=e.status,d=ax(e,["prefixCls","className","disabled","loading","filterOption","children","notFoundContent","status"]),f=x.useState(!1),p=(0,K.Z)(f,2),h=p[0],g=p[1],y=x.useRef(),C=(0,ak.sQ)(t,y),Z=x.useContext(S.E_),b=Z.getPrefixCls,E=Z.renderEmpty,k=Z.direction,N=x.useContext(ne.aM),P=N.status,O=N.hasFeedback,M=N.feedbackIcon,R=(0,rA.F)(P,s),T=b("mentions",r),D=w()((n={},(0,v.Z)(n,"".concat(T,"-disabled"),a),(0,v.Z)(n,"".concat(T,"-focused"),h),(0,v.Z)(n,"".concat(T,"-rtl"),"rtl"===k),n),(0,rA.Z)(T,R),!O&&o),L=x.createElement(aE,(0,m.Z)({prefixCls:T,notFoundContent:void 0!==u?u:(E||rM.Z)("Select"),className:D,disabled:a,direction:k},d,{filterOption:l?aN:i,onFocus:function(){d.onFocus&&d.onFocus.apply(d,arguments),g(!0)},onBlur:function(){d.onBlur&&d.onBlur.apply(d,arguments),g(!1)},ref:C}),l?x.createElement(aS,{value:"ANTD_SEARCHING",disabled:!0},x.createElement(ac.Z,{size:"small"})):c);return O?x.createElement("div",{className:w()("".concat(T,"-affix-wrapper"),(0,rA.Z)("".concat(T,"-affix-wrapper"),R,O),o)},L,x.createElement("span",{className:"".concat(T,"-suffix")},M)):L});aP.Option=aS,aP.getMentions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"@":n,o=t.split,a=Array.isArray(r)?r:[r];return e.split(void 0===o?" ":o).map(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null;return(a.some(function(n){return e.slice(0,n.length)===n&&(t=n,!0)}),null!==t)?{prefix:t,value:e.slice(t.length)}:null}).filter(function(e){return!!e&&!!e.value})};var aO=aP,aM=n(12461),aR=n(85402),aT=n(13448),aD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},aL=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aD}))};aL.displayName="ArrowLeftOutlined";var aI=x.forwardRef(aL),aA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},aH=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aA}))};aH.displayName="ArrowRightOutlined";var az=x.forwardRef(aH),aV=n(30470),aj=n(26713),aY=n(34952),aF=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";return void 0!==e.backIcon?e.backIcon:"rtl"===t?x.createElement(az,null):x.createElement(aI,null)},aW=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=t.title,o=t.avatar,a=t.subTitle,l=t.tags,i=t.extra,c=t.onBack,u="".concat(e,"-heading"),s=r||a||l||i;if(!s)return null;var d=aF(t,n),f=d&&c?x.createElement(t9.Z,{componentName:"PageHeader"},function(t){return x.createElement("div",{className:"".concat(e,"-back")},x.createElement(aY.Z,{onClick:function(e){null==c||c(e)},className:"".concat(e,"-back-button"),"aria-label":t.back},d))}):null;return x.createElement("div",{className:u},(f||o||s)&&x.createElement("div",{className:"".concat(u,"-left")},f,o&&x.createElement(ei.C,(0,m.Z)({},o)),r&&x.createElement("span",{className:"".concat(u,"-title"),title:"string"==typeof r?r:void 0},r),a&&x.createElement("span",{className:"".concat(u,"-sub-title"),title:"string"==typeof a?a:void 0},a),l&&x.createElement("span",{className:"".concat(u,"-tags")},l)),i&&x.createElement("span",{className:"".concat(u,"-extra")},x.createElement(aj.Z,null,i)))},aK=function(e){var t=(0,aV.Z)(!1),n=(0,K.Z)(t,2),r=n[0],o=n[1],a=function(e){o(e.width<768,!0)};return x.createElement(S.C,null,function(t){var n,o,l=t.getPrefixCls,i=t.pageHeader,c=t.direction,u=e.prefixCls,s=e.style,d=e.footer,f=e.children,p=e.breadcrumb,h=e.breadcrumbRender,g=e.className,y=!0;"ghost"in e?y=e.ghost:i&&"ghost"in i&&(y=i.ghost);var C=l("page-header",u),Z=(null==p?void 0:p.routes)?x.createElement(eH,(0,m.Z)({},p)):null,b=null!==(o=null==h?void 0:h(e,Z))&&void 0!==o?o:Z,k=p&&"props"in p?p:b,S=w()(C,g,(n={"has-breadcrumb":!!k,"has-footer":!!d},(0,v.Z)(n,"".concat(C,"-ghost"),y),(0,v.Z)(n,"".concat(C,"-rtl"),"rtl"===c),(0,v.Z)(n,"".concat(C,"-compact"),r),n));return x.createElement(E.default,{onResize:a},x.createElement("div",{className:S,style:s},k,aW(C,e,c),f&&x.createElement("div",{className:"".concat(C,"-content")},f),d?x.createElement("div",{className:"".concat(C,"-footer")},d):null))})},a_=n(65360),aB=n(55241),aU=n(97910),aX=n(55742),aq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},aG=function(e,t){return x.createElement(es.Z,(0,ec.Z)((0,ec.Z)({},e),{},{ref:t,icon:aq}))};aG.displayName="StarFilled";var aQ=x.forwardRef(aG),a$=n(34203),aJ=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=l&&rc?"true":"false","aria-posinset":c+1,"aria-setsize":u,tabIndex:o?-1:0},x.createElement("div",{className:"".concat(a,"-first")},d),x.createElement("div",{className:"".concat(a,"-second")},d)));return i&&(f=i(f,this.props)),f}}]),n}(x.Component);function a0(){}var a1=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),(r=t.call(this,e)).stars=void 0,r.rate=void 0,r.onHover=function(e,t){var n=r.props.onHoverChange,o=r.getStarValue(t,e.pageX);o!==r.state.cleanedValue&&r.setState({hoverValue:o,cleanedValue:null}),n(o)},r.onMouseLeave=function(){var e=r.props.onHoverChange;r.setState({hoverValue:void 0,cleanedValue:null}),e(void 0)},r.onClick=function(e,t){var n=r.props.allowClear,o=r.state.value,a=r.getStarValue(t,e.pageX),l=!1;n&&(l=a===o),r.onMouseLeave(),r.changeValue(l?0:a),r.setState({cleanedValue:l?a:null})},r.onFocus=function(){var e=r.props.onFocus;r.setState({focused:!0}),e&&e()},r.onBlur=function(){var e=r.props.onBlur;r.setState({focused:!1}),e&&e()},r.onKeyDown=function(e){var t=e.keyCode,n=r.props,o=n.count,a=n.allowHalf,l=n.onKeyDown,i="rtl"===n.direction,c=r.state.value;t===e_.Z.RIGHT&&c0&&!i?(a?c-=.5:c-=1,r.changeValue(c),e.preventDefault()):t===e_.Z.RIGHT&&c>0&&i?(a?c-=.5:c-=1,r.changeValue(c),e.preventDefault()):t===e_.Z.LEFT&&cg/2?a-=.5:!o&&t-ht.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a4=x.forwardRef(function(e,t){var n=e.prefixCls,r=e.tooltips,o=e.character,a=void 0===o?x.createElement(aQ,null):o,l=a3(e,["prefixCls","tooltips","character"]),i=x.useContext(S.E_),c=i.getPrefixCls,u=i.direction,s=c("rate",n);return x.createElement(a1,(0,m.Z)({ref:t,character:a,characterRender:function(e,t){var n=t.index;return r?x.createElement(a2.Z,{title:r[n]},e):e}},l,{prefixCls:s,direction:u}))}),a8=n(33859),a6=n(71230),a5=n(8410),a7=function(e){return e?{left:e.offsetLeft,width:e.clientWidth}:null},a9=function(e){return void 0!==e?"".concat(e,"px"):void 0};function le(e){var t=e.prefixCls,n=e.containerRef,r=e.value,o=e.getValueIndex,a=e.motionName,l=e.onMotionStart,i=e.onMotionEnd,c=x.useRef(null),u=x.useState(r),s=(0,K.Z)(u,2),d=s[0],f=s[1],p=function(e){var r,a=o(e);return null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[a]},m=x.useState(null),v=(0,K.Z)(m,2),h=v[0],g=v[1],y=x.useState(null),C=(0,K.Z)(y,2),Z=C[0],b=C[1];return((0,a5.Z)(function(){if(d!==r){var e=p(d),t=p(r),n=a7(e),o=a7(t);f(r),g(n),b(o),e&&t?l():i()}},[r]),h&&Z)?x.createElement(ep.Z,{visible:!0,motionName:a,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onAppearEnd:function(){g(null),b(null),i()}},function(e,n){var r=e.className,o=e.style,a=(0,ec.Z)((0,ec.Z)({},o),{},{"--thumb-start-left":a9(null==h?void 0:h.left),"--thumb-start-width":a9(null==h?void 0:h.width),"--thumb-active-left":a9(null==Z?void 0:Z.left),"--thumb-active-width":a9(null==Z?void 0:Z.width)}),l={ref:(0,ak.sQ)(c,n),style:a,className:w()("".concat(t,"-thumb"),r)};return x.createElement("div",(0,ec.Z)({},l))}):null}var lt=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],ln=function(e){var t=e.prefixCls,n=e.className,r=e.disabled,o=e.checked,a=e.label,l=e.title,i=e.value,c=e.onChange;return x.createElement("label",{className:w()(n,(0,v.Z)({},"".concat(t,"-item-disabled"),r))},x.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:r,checked:o,onChange:function(e){r||c(e,i)}}),x.createElement("div",{className:"".concat(t,"-item-label"),title:l},a))},lr=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=void 0===o?"rc-segmented":o,l=e.direction,i=e.options,c=e.disabled,u=e.defaultValue,s=e.value,d=e.onChange,f=e.className,p=e.motionName,m=(0,nd.Z)(e,lt),h=x.useRef(null),g=x.useMemo(function(){return(0,ak.sQ)(h,t)},[h,t]),y=x.useMemo(function(){return i.map(function(e){if("object"===(0,Z.Z)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,Z.Z)(e.label)){var t;return null===(t=e.label)||void 0===t?void 0:t.toString()}}(e);return(0,ec.Z)((0,ec.Z)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[i]),C=(0,em.Z)(null===(n=y[0])||void 0===n?void 0:n.value,{value:s,defaultValue:u}),b=(0,K.Z)(C,2),E=b[0],S=b[1],N=x.useState(!1),P=(0,K.Z)(N,2),O=P[0],M=P[1],R=function(e,t){c||(S(t),null==d||d(t))},T=(0,k.Z)(m,["children"]);return x.createElement("div",(0,ec.Z)((0,ec.Z)({},T),{},{className:w()(a,(r={},(0,v.Z)(r,"".concat(a,"-rtl"),"rtl"===l),(0,v.Z)(r,"".concat(a,"-disabled"),c),r),void 0===f?"":f),ref:g}),x.createElement("div",{className:"".concat(a,"-group")},x.createElement(le,{prefixCls:a,value:E,containerRef:h,motionName:"".concat(a,"-").concat(void 0===p?"thumb-motion":p),getValueIndex:function(e){return y.findIndex(function(t){return t.value===e})},onMotionStart:function(){M(!0)},onMotionEnd:function(){M(!1)}}),y.map(function(e){return x.createElement(ln,(0,ec.Z)((0,ec.Z)({key:e.value,prefixCls:a,className:w()(e.className,"".concat(a,"-item"),(0,v.Z)({},"".concat(a,"-item-selected"),e.value===E&&!O)),checked:e.value===E,onChange:R},e),{},{disabled:!!c||!!e.disabled}))})))});lr.displayName="Segmented",lr.defaultProps={options:[]};var lo=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},la=x.forwardRef(function(e,t){var n,r=e.prefixCls,o=e.className,a=e.block,l=e.options,i=void 0===l?[]:l,c=e.size,u=lo(e,["prefixCls","className","block","options","size"]),s=x.useContext(S.E_),d=s.getPrefixCls,f=s.direction,p=d("segmented",r),h=x.useContext(rT.Z),g=(void 0===c?"middle":c)||h,y=x.useMemo(function(){return i.map(function(e){if("object"===(0,Z.Z)(e)&&(null==e?void 0:e.icon)){var t=e.icon,n=e.label,r=lo(e,["icon","label"]);return(0,m.Z)((0,m.Z)({},r),{label:x.createElement(x.Fragment,null,x.createElement("span",{className:"".concat(p,"-item-icon")},t),n&&x.createElement("span",null,n))})}return e})},[i,p]);return x.createElement(lr,(0,m.Z)({},u,{className:w()(o,(n={},(0,v.Z)(n,"".concat(p,"-block"),a),(0,v.Z)(n,"".concat(p,"-sm"),"small"===g),(0,v.Z)(n,"".concat(p,"-lg"),"large"===g),n)),options:y,ref:t,prefixCls:p,direction:f}))}),ll=n(26303),li=n(22918),lc=n(74763),lu=n(63606),ls=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function ld(e){return"string"==typeof e}var lf=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;(0,h.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lh=function(e){var t,n=e.percent,r=e.size,o=e.className,a=e.direction,l=e.items,i=e.responsive,c=void 0===i||i,u=e.current,s=e.children,d=lv(e,["percent","size","className","direction","items","responsive","current","children"]),f=(0,oP.Z)(c).xs,p=x.useContext(S.E_),h=p.getPrefixCls,g=p.direction,y=x.useCallback(function(){return c&&f?"vertical":a},[f,a]),C=h("steps",e.prefixCls),Z=h("",e.iconPrefix),b=l||(0,ee.Z)(s).map(function(e){if(x.isValidElement(e)){var t=e.props;return(0,m.Z)({},t)}return null}).filter(function(e){return e}),E=w()((t={},(0,v.Z)(t,"".concat(C,"-rtl"),"rtl"===g),(0,v.Z)(t,"".concat(C,"-with-progress"),void 0!==n),t),o),k={finish:x.createElement(lu.Z,{className:"".concat(C,"-finish-icon")}),error:x.createElement(om.Z,{className:"".concat(C,"-error-icon")})};return x.createElement(lm,(0,m.Z)({icons:k},d,{current:void 0===u?0:u,size:r,items:b,direction:y(),stepIcon:function(e){var t=e.node;return"process"===e.status&&void 0!==n?x.createElement("div",{className:"".concat(C,"-progress-icon")},x.createElement(aU.Z,{type:"circle",percent:n,width:"small"===r?32:40,strokeWidth:4,format:function(){return null}}),t):t},prefixCls:C,iconPrefix:Z,className:E}))};lh.Step=lm.Step;var lg=lh,ly=n(94594),lC=n(54398),lZ=n(84381),lb=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lw=or.TimePicker,lE=or.RangePicker,lk=x.forwardRef(function(e,t){var n=e.dropdownClassName,r=e.popupClassName;return x.createElement(lE,(0,m.Z)({},e,{dropdownClassName:r||n,picker:"time",mode:void 0,ref:t}))}),lx=x.forwardRef(function(e,t){var n=e.addon,r=e.renderExtraFooter,o=e.popupClassName,a=e.dropdownClassName,l=lb(e,["addon","renderExtraFooter","popupClassName","dropdownClassName"]),i=x.useMemo(function(){return r||n||void 0},[n,r]);return x.createElement(lw,(0,m.Z)({dropdownClassName:o||a},l,{mode:void 0,ref:t,renderExtraFooter:i}))});lx.RangePicker=lk;var lS=lx,lN=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lP=function(e){var t,n,r=e.prefixCls,o=e.className,a=e.color,l=void 0===a?"blue":a,i=e.dot,c=e.pending,u=(e.position,e.label),s=e.children,d=lN(e,["prefixCls","className","color","dot","pending","position","label","children"]),f=(0,x.useContext(S.E_).getPrefixCls)("timeline",r),p=w()((t={},(0,v.Z)(t,"".concat(f,"-item"),!0),(0,v.Z)(t,"".concat(f,"-item-pending"),void 0!==c&&c),t),o),h=w()((n={},(0,v.Z)(n,"".concat(f,"-item-head"),!0),(0,v.Z)(n,"".concat(f,"-item-head-custom"),!!i),(0,v.Z)(n,"".concat(f,"-item-head-").concat(l),!0),n)),g=/blue|red|green|gray/.test(l||"")?void 0:l;return x.createElement("li",(0,m.Z)({},d,{className:p}),u&&x.createElement("div",{className:"".concat(f,"-item-label")},u),x.createElement("div",{className:"".concat(f,"-item-tail")}),x.createElement("div",{className:h,style:{borderColor:g,color:g}},i),x.createElement("div",{className:"".concat(f,"-item-content")},s))},lO=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},lM=function(e){var t,n=x.useContext(S.E_),r=n.getPrefixCls,o=n.direction,a=e.prefixCls,l=e.pending,i=void 0===l?null:l,c=e.pendingDot,u=e.children,s=e.className,d=e.reverse,f=void 0!==d&&d,p=e.mode,h=void 0===p?"":p,g=lO(e,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),y=r("timeline",a),C=i?x.createElement(lP,{pending:!!i,dot:c||x.createElement(re.Z,null)},"boolean"==typeof i?null:i):null,Z=x.Children.toArray(u);Z.push(C),f&&Z.reverse();var b=Z.filter(function(e){return!!e}),E=x.Children.count(b),k="".concat(y,"-item-last"),N=x.Children.map(b,function(e,t){return(0,en.Tm)(e,{className:w()([e.props.className,!f&&i?t===E-2?k:"":t===E-1?k:"","alternate"===h?"right"===e.props.position?"".concat(y,"-item-right"):"left"===e.props.position?"".concat(y,"-item-left"):t%2==0?"".concat(y,"-item-left"):"".concat(y,"-item-right"):"left"===h?"".concat(y,"-item-left"):"right"===h||"right"===e.props.position?"".concat(y,"-item-right"):""])})}),P=Z.some(function(e){var t;return!!(null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.label)}),O=w()(y,(t={},(0,v.Z)(t,"".concat(y,"-pending"),!!i),(0,v.Z)(t,"".concat(y,"-reverse"),!!f),(0,v.Z)(t,"".concat(y,"-").concat(h),!!h&&!P),(0,v.Z)(t,"".concat(y,"-label"),P),(0,v.Z)(t,"".concat(y,"-rtl"),"rtl"===o),t),s);return x.createElement("ul",(0,m.Z)({},g,{className:O}),N)};lM.Item=lP;var lR=lM,lT=n(7734),lD=n(48689),lL=x.memo(function(e){var t,n,r=e.renderedText,o=e.renderedEl,a=e.item,l=e.checked,i=e.disabled,c=e.prefixCls,u=e.onClick,s=e.onRemove,d=e.showRemove,f=w()((t={},(0,v.Z)(t,"".concat(c,"-content-item"),!0),(0,v.Z)(t,"".concat(c,"-content-item-disabled"),i||a.disabled),(0,v.Z)(t,"".concat(c,"-content-item-checked"),l),t));return("string"==typeof r||"number"==typeof r)&&(n=String(r)),x.createElement(t9.Z,{componentName:"Transfer",defaultLocale:lT.Z.Transfer},function(e){var t={className:f,title:n},r=x.createElement("span",{className:"".concat(c,"-content-item-text")},o);return d?x.createElement("li",(0,m.Z)({},t),r,x.createElement(aY.Z,{disabled:i||a.disabled,className:"".concat(c,"-content-item-remove"),"aria-label":e.remove,onClick:function(){null==s||s(a)}},x.createElement(lD.Z,null))):(t.onClick=i||a.disabled?void 0:function(){return u(a)},x.createElement("li",(0,m.Z)({},t),x.createElement(rW.Z,{className:"".concat(c,"-checkbox"),checked:l,disabled:i||a.disabled}),r))})}),lI=(0,rq.b)("handleFilter","handleClear","checkedKeys");function lA(e){if(!e)return null;var t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return"object"===(0,Z.Z)(e)?(0,m.Z)((0,m.Z)({},t),e):t}var lH=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(){var e;return(0,h.Z)(this,n),e=t.apply(this,arguments),e.state={current:1},e.onItemSelect=function(t){var n=e.props,r=n.onItemSelect,o=n.selectedKeys.includes(t.key);r(t.key,!o)},e.onItemRemove=function(t){var n=e.props.onItemRemove;null==n||n([t.key])},e.onPageChange=function(t){e.setState({current:t})},e.getItems=function(){var t=e.state.current,n=e.props,r=n.pagination,o=n.filteredRenderItems,a=lA(r),l=o;return a&&(l=o.slice((t-1)*a.pageSize,t*a.pageSize)),l},e}return(0,g.Z)(n,[{key:"render",value:function(){var e=this,t=this.state.current,n=this.props,r=n.prefixCls,o=n.onScroll,a=n.filteredRenderItems,l=n.selectedKeys,i=n.disabled,c=n.showRemove,u=lA(n.pagination),s=null;return u&&(s=x.createElement(ai.Z,{simple:u.simple,showSizeChanger:u.showSizeChanger,showLessItems:u.showLessItems,size:"small",disabled:i,className:"".concat(r,"-pagination"),total:a.length,pageSize:u.pageSize,current:t,onChange:this.onPageChange})),x.createElement(x.Fragment,null,x.createElement("ul",{className:w()("".concat(r,"-content"),(0,v.Z)({},"".concat(r,"-content-show-remove"),c)),onScroll:o},this.getItems().map(function(t){var n=t.renderedEl,o=t.renderedText,a=t.item,u=a.disabled,s=l.includes(a.key);return x.createElement(lL,{disabled:i||u,key:a.key,item:a,renderedText:o,renderedEl:n,checked:s,prefixCls:r,onClick:e.onItemSelect,onRemove:e.onItemRemove,showRemove:c})})),s)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.filteredRenderItems,r=e.pagination,o=t.current,a=lA(r);if(a){var l=Math.ceil(n.length/a.pageSize);if(o>l)return{current:l}}return null}}]),n}(x.Component),lz=n(68795);function lV(e){var t=e.placeholder,n=e.value,r=e.prefixCls,o=e.disabled,a=e.onChange,l=e.handleClear,i=x.useCallback(function(e){null==a||a(e),""===e.target.value&&(null==l||l())},[a]);return x.createElement(ar.Z,{placeholder:void 0===t?"":t,className:r,value:n,onChange:i,disabled:o,allowClear:!0,prefix:x.createElement(lz.Z,null)})}var lj=function(){return null};function lY(e){return e.filter(function(e){return!e.disabled}).map(function(e){return e.key})}var lF=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this,e)).defaultListBodyRef=x.createRef(),r.handleFilter=function(e){var t=r.props.handleFilter,n=e.target.value;r.setState({filterValue:n}),t(e)},r.handleClear=function(){var e=r.props.handleClear;r.setState({filterValue:""}),e()},r.matchFilter=function(e,t){var n=r.state.filterValue,o=r.props.filterOption;return o?o(n,t):e.includes(n)},r.renderListBody=function(e,t){var n=e?e(t):null,o=!!n;return o||(n=x.createElement(lH,(0,m.Z)({ref:r.defaultListBodyRef},t))),{customize:o,bodyContent:n}},r.renderItem=function(e){var t=r.props.render,n=(void 0===t?lj:t)(e),o=!!(n&&!(0,en.l$)(n)&&"[object Object]"===Object.prototype.toString.call(n));return{renderedText:o?n.value:n,renderedEl:o?n.label:n,item:e}},r.getSelectAllLabel=function(e,t){var n=r.props,o=n.itemsUnit,a=n.itemUnit,l=n.selectAllLabel;return l?"function"==typeof l?l({selectedCount:e,totalCount:t}):l:x.createElement(x.Fragment,null,(e>0?"".concat(e,"/"):"")+t," ",t>1?o:a)},r.state={filterValue:""},r}return(0,g.Z)(n,[{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerScrollTimer)}},{key:"getCheckStatus",value:function(e){var t=this.props.checkedKeys;return 0===t.length?"none":e.every(function(e){return t.includes(e.key)||!!e.disabled})?"all":"part"}},{key:"getFilteredItems",value:function(e,t){var n=this,r=[],o=[];return e.forEach(function(e){var a=n.renderItem(e),l=a.renderedText;if(t&&!n.matchFilter(l,e))return null;r.push(e),o.push(a)}),{filteredItems:r,filteredRenderItems:o}}},{key:"getListBody",value:function(e,t,n,r,o,a,l,i,c,u){var s,d,f=c?x.createElement("div",{className:"".concat(e,"-body-search-wrapper")},x.createElement(lV,{prefixCls:"".concat(e,"-search"),onChange:this.handleFilter,handleClear:this.handleClear,placeholder:t,value:n,disabled:u})):null,p=this.renderListBody(i,(0,m.Z)((0,m.Z)({},(0,k.Z)(this.props,lI)),{filteredItems:r,filteredRenderItems:a,selectedKeys:l})),v=p.bodyContent;return d=p.customize?x.createElement("div",{className:"".concat(e,"-body-customize-wrapper")},v):r.length?v:x.createElement("div",{className:"".concat(e,"-body-not-found")},(s="left"===this.props.direction?0:1,Array.isArray(o)?o[s]:o)),x.createElement("div",{className:w()(c?"".concat(e,"-body ").concat(e,"-body-with-search"):"".concat(e,"-body"))},f,d)}},{key:"getCheckBox",value:function(e){var t=e.filteredItems,n=e.onItemSelectAll,r=e.disabled,o=e.prefixCls,a=this.getCheckStatus(t),l="all"===a;return x.createElement(rW.Z,{disabled:r,checked:l,indeterminate:"part"===a,className:"".concat(o,"-checkbox"),onChange:function(){n(t.filter(function(e){return!e.disabled}).map(function(e){return e.key}),!l)}})}},{key:"render",value:function(){var e,t,n=this,r=this.state.filterValue,o=this.props,a=o.prefixCls,l=o.dataSource,i=o.titleText,c=o.checkedKeys,u=o.disabled,s=o.footer,d=o.showSearch,f=o.style,p=o.searchPlaceholder,m=o.notFoundContent,h=o.selectAll,g=o.selectCurrent,y=o.selectInvert,C=o.removeAll,Z=o.removeCurrent,b=o.renderList,E=o.onItemSelectAll,k=o.onItemRemove,S=o.showSelectAll,N=o.showRemove,P=o.pagination,O=o.direction,M=s&&(s.length<2?s(this.props):s(this.props,{direction:O})),R=w()(a,(t={},(0,v.Z)(t,"".concat(a,"-with-pagination"),!!P),(0,v.Z)(t,"".concat(a,"-with-footer"),!!M),t)),T=this.getFilteredItems(void 0===l?[]:l,r),D=T.filteredItems,L=T.filteredRenderItems,I=this.getListBody(a,p,r,D,m,L,c,b,void 0!==d&&d,u),A=M?x.createElement("div",{className:"".concat(a,"-footer")},M):null,H=!N&&!P&&this.getCheckBox({filteredItems:D,onItemSelectAll:E,disabled:u,prefixCls:a});e=N?[P?{key:"removeCurrent",onClick:function(){var e,t=lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item}));null==k||k(t)},label:Z}:null,{key:"removeAll",onClick:function(){null==k||k(lY(D))},label:C}].filter(function(e){return e}):[{key:"selectAll",onClick:function(){var e=lY(D);E(e,e.length!==c.length)},label:h},P?{key:"selectCurrent",onClick:function(){var e;E(lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item})),!0)},label:g}:null,{key:"selectInvert",onClick:function(){t=P?lY(((null===(e=n.defaultListBodyRef.current)||void 0===e?void 0:e.getItems())||[]).map(function(e){return e.item})):lY(D);var e,t,r=new Set(c),o=[],a=[];t.forEach(function(e){r.has(e)?a.push(e):o.push(e)}),E(o,!0),E(a,!1)},label:y}];var z=x.createElement(ox.Z,{className:"".concat(a,"-header-dropdown"),menu:{items:e},disabled:u},x.createElement(eN.Z,null));return x.createElement("div",{className:R,style:f},x.createElement("div",{className:"".concat(a,"-header")},void 0===S||S?x.createElement(x.Fragment,null,H,z):null,x.createElement("span",{className:"".concat(a,"-header-selected")},this.getSelectAllLabel(c.length,D.length)),x.createElement("span",{className:"".concat(a,"-header-title")},void 0===i?"":i)),I,A)}}]),n}(x.PureComponent),lW=function(e){var t=e.disabled,n=e.moveToLeft,r=e.moveToRight,o=e.leftArrowText,a=e.rightArrowText,l=e.leftActive,i=e.rightActive,c=e.className,u=e.style,s=e.direction,d=e.oneWay;return x.createElement("div",{className:c,style:u},x.createElement(ez.Z,{type:"primary",size:"small",disabled:t||!i,onClick:r,icon:"rtl"!==s?x.createElement(rt.Z,null):x.createElement(n9.Z,null)},void 0===a?"":a),!d&&x.createElement(ez.Z,{type:"primary",size:"small",disabled:t||!l,onClick:n,icon:"rtl"!==s?x.createElement(n9.Z,null):x.createElement(rt.Z,null)},void 0===o?"":o))},lK=function(e){(0,y.Z)(n,e);var t=(0,C.Z)(n);function n(e){(0,h.Z)(this,n),(r=t.call(this,e)).separatedDataSource=null,r.setStateKeys=function(e,t){"left"===e?r.setState(function(e){var n=e.sourceSelectedKeys;return{sourceSelectedKeys:"function"==typeof t?t(n||[]):t}}):r.setState(function(e){var n=e.targetSelectedKeys;return{targetSelectedKeys:"function"==typeof t?t(n||[]):t}})},r.getLocale=function(e,t){var n=r.props.locale;return(0,m.Z)((0,m.Z)((0,m.Z)({},e),{notFoundContent:t("Transfer")}),void 0===n?{}:n)},r.moveTo=function(e){var t=r.props,n=t.targetKeys,o=void 0===n?[]:n,a=t.dataSource,l=void 0===a?[]:a,i=t.onChange,c=r.state,u=c.sourceSelectedKeys,s=c.targetSelectedKeys,d=("right"===e?u:s).filter(function(e){return!l.some(function(t){return!!(e===t.key&&t.disabled)})}),f="right"===e?d.concat(o):o.filter(function(e){return!d.includes(e)}),p="right"===e?"left":"right";r.setStateKeys(p,[]),r.handleSelectChange(p,[]),null==i||i(f,e,d)},r.moveToLeft=function(){return r.moveTo("left")},r.moveToRight=function(){return r.moveTo("right")},r.onItemSelectAll=function(e,t,n){r.setStateKeys(e,function(o){var a=[];return a=n?Array.from(new Set([].concat((0,N.Z)(o),(0,N.Z)(t)))):o.filter(function(e){return!t.includes(e)}),r.handleSelectChange(e,a),a})},r.onLeftItemSelectAll=function(e,t){return r.onItemSelectAll("left",e,t)},r.onRightItemSelectAll=function(e,t){return r.onItemSelectAll("right",e,t)},r.handleFilter=function(e,t){var n=r.props.onSearch,o=t.target.value;null==n||n(e,o)},r.handleLeftFilter=function(e){return r.handleFilter("left",e)},r.handleRightFilter=function(e){return r.handleFilter("right",e)},r.handleClear=function(e){var t=r.props.onSearch;null==t||t(e,"")},r.handleLeftClear=function(){return r.handleClear("left")},r.handleRightClear=function(){return r.handleClear("right")},r.onItemSelect=function(e,t,n){var o=r.state,a=o.sourceSelectedKeys,l=o.targetSelectedKeys,i="left"===e?(0,N.Z)(a):(0,N.Z)(l),c=i.indexOf(t);c>-1&&i.splice(c,1),n&&i.push(t),r.handleSelectChange(e,i),r.props.selectedKeys||r.setStateKeys(e,i)},r.onLeftItemSelect=function(e,t){return r.onItemSelect("left",e,t)},r.onRightItemSelect=function(e,t){return r.onItemSelect("right",e,t)},r.onRightItemRemove=function(e){var t=r.props,n=t.targetKeys,o=t.onChange;r.setStateKeys("right",[]),null==o||o((void 0===n?[]:n).filter(function(t){return!e.includes(t)}),"left",(0,N.Z)(e))},r.handleScroll=function(e,t){var n=r.props.onScroll;null==n||n(e,t)},r.handleLeftScroll=function(e){return r.handleScroll("left",e)},r.handleRightScroll=function(e){return r.handleScroll("right",e)},r.handleListStyle=function(e,t){return"function"==typeof e?e({direction:t}):e};var r,o=e.selectedKeys,a=void 0===o?[]:o,l=e.targetKeys,i=void 0===l?[]:l;return r.state={sourceSelectedKeys:a.filter(function(e){return!i.includes(e)}),targetSelectedKeys:a.filter(function(e){return i.includes(e)})},r}return(0,g.Z)(n,[{key:"getTitles",value:function(e){var t,n;return null!==(n=null!==(t=this.props.titles)&&void 0!==t?t:e.titles)&&void 0!==n?n:[]}},{key:"handleSelectChange",value:function(e,t){var n=this.state,r=n.sourceSelectedKeys,o=n.targetSelectedKeys,a=this.props.onSelectChange;a&&("left"===e?a(t,o):a(r,t))}},{key:"separateDataSource",value:function(){var e=this.props,t=e.dataSource,n=e.rowKey,r=e.targetKeys,o=void 0===r?[]:r,a=[],l=Array(o.length);return(void 0===t?[]:t).forEach(function(e){n&&(e=(0,m.Z)((0,m.Z)({},e),{key:n(e)}));var t=o.indexOf(e.key);-1!==t?l[t]=e:a.push(e)}),{leftDataSource:a,rightDataSource:l}}},{key:"render",value:function(){var e=this;return x.createElement(t9.Z,{componentName:"Transfer",defaultLocale:lT.Z.Transfer},function(t){return x.createElement(S.C,null,function(n){var r=n.getPrefixCls,o=n.renderEmpty,a=n.direction;return x.createElement(ne.aM.Consumer,null,function(n){var l,i=n.hasFeedback,c=n.status,u=e.props,s=u.prefixCls,d=u.className,f=u.disabled,p=u.operations,h=void 0===p?[]:p,g=u.showSearch,y=void 0!==g&&g,C=u.footer,Z=u.style,b=u.listStyle,E=void 0===b?{}:b,k=u.operationStyle,S=u.filterOption,N=u.render,P=u.children,O=u.showSelectAll,M=u.oneWay,R=u.pagination,T=u.status,D=r("transfer",s),L=e.getLocale(t,o||rM.Z),I=e.state,A=I.sourceSelectedKeys,H=I.targetSelectedKeys,z=(0,rA.F)(c,T),V=!P&&R,j=e.separateDataSource(),Y=j.leftDataSource,F=j.rightDataSource,W=H.length>0,K=A.length>0,_=w()(D,(l={},(0,v.Z)(l,"".concat(D,"-disabled"),f),(0,v.Z)(l,"".concat(D,"-customize-list"),!!P),(0,v.Z)(l,"".concat(D,"-rtl"),"rtl"===a),l),(0,rA.Z)(D,z,i),d),B=e.getTitles(L),U=e.props.selectAllLabels||[];return x.createElement("div",{className:_,style:Z},x.createElement(lF,(0,m.Z)({prefixCls:"".concat(D,"-list"),titleText:null==B?void 0:B[0],dataSource:Y,filterOption:S,style:e.handleListStyle(E,"left"),checkedKeys:A,handleFilter:e.handleLeftFilter,handleClear:e.handleLeftClear,onItemSelect:e.onLeftItemSelect,onItemSelectAll:e.onLeftItemSelectAll,render:N,showSearch:y,renderList:P,footer:C,onScroll:e.handleLeftScroll,disabled:f,direction:"rtl"===a?"right":"left",showSelectAll:O,selectAllLabel:U[0],pagination:V},L)),x.createElement(lW,{className:"".concat(D,"-operation"),rightActive:K,rightArrowText:h[0],moveToRight:e.moveToRight,leftActive:W,leftArrowText:h[1],moveToLeft:e.moveToLeft,style:k,disabled:f,direction:a,oneWay:M}),x.createElement(lF,(0,m.Z)({prefixCls:"".concat(D,"-list"),titleText:null==B?void 0:B[1],dataSource:F,filterOption:S,style:e.handleListStyle(E,"right"),checkedKeys:H,handleFilter:e.handleRightFilter,handleClear:e.handleRightClear,onItemSelect:e.onRightItemSelect,onItemSelectAll:e.onRightItemSelectAll,onItemRemove:e.onRightItemRemove,render:N,showSearch:y,renderList:P,footer:C,onScroll:e.handleRightScroll,disabled:f,direction:"rtl"===a?"left":"right",showSelectAll:O,selectAllLabel:U[1],showRemove:M,pagination:V},L)))})})})}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.selectedKeys,n=e.targetKeys;if(e.pagination,e.children,t){var r=n||[];return{sourceSelectedKeys:t.filter(function(e){return!r.includes(e)}),targetSelectedKeys:t.filter(function(e){return r.includes(e)})}}return null}}]),n}(x.Component);lK.List=lF,lK.Operation=lW,lK.Search=lV;var l_=lK,lB=n(88306),lU=n(31343),lX=x.createContext(null),lq=x.createContext(null);function lG(e){return!e||e.disabled||e.disableCheckbox||!1===e.checkable}var lQ={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},l$=x.forwardRef(function(e,t){var n=(0,rn.lk)(),r=n.prefixCls,o=n.multiple,a=n.searchValue,l=n.toggleOpen,i=n.open,c=n.notFoundContent,u=x.useContext(lq),s=u.virtual,d=u.listHeight,f=u.listItemHeight,p=u.treeData,v=u.fieldNames,h=u.onSelect,g=u.dropdownMatchSelectWidth,y=u.treeExpandAction,C=x.useContext(lX),Z=C.checkable,b=C.checkedKeys,w=C.halfCheckedKeys,E=C.treeExpandedKeys,k=C.treeDefaultExpandAll,S=C.treeDefaultExpandedKeys,P=C.onTreeExpand,O=C.treeIcon,M=C.showTreeIcon,R=C.switcherIcon,T=C.treeLine,D=C.treeNodeFilterProp,L=C.loadData,I=C.treeLoadedKeys,A=C.treeMotion,H=C.onTreeLoad,z=C.keyEntities,V=x.useRef(),j=(0,th.Z)(function(){return p},[i,p],function(e,t){return t[0]&&e[1]!==t[1]}),Y=x.useMemo(function(){return Z?{checked:b,halfChecked:w}:null},[Z,b,w]);x.useEffect(function(){if(i&&!o&&b.length){var e;null===(e=V.current)||void 0===e||e.scrollTo({key:b[0]})}},[i]);var F=String(a).toLowerCase(),W=x.useState(S),_=(0,K.Z)(W,2),B=_[0],U=_[1],X=x.useState(null),q=(0,K.Z)(X,2),G=q[0],Q=q[1],$=x.useMemo(function(){return E?(0,N.Z)(E):a?G:B},[B,G,E,a]);x.useEffect(function(){if(a){var e;Q((e=[],!function t(n){n.forEach(function(n){var r=n[v.children];r&&(e.push(n[v.value]),t(r))})}(p),e))}},[a]);var J=function(e){e.preventDefault()},ee=function(e,t){var n=t.node;!(Z&&lG(n))&&(h(n.key,{selected:!b.includes(n.key)}),o||l(!1))},et=x.useState(null),en=(0,K.Z)(et,2),er=en[0],eo=en[1],ea=z[er];if(x.useImperativeHandle(t,function(){var e;return{scrollTo:null===(e=V.current)||void 0===e?void 0:e.scrollTo,onKeyDown:function(e){var t;switch(e.which){case e_.Z.UP:case e_.Z.DOWN:case e_.Z.LEFT:case e_.Z.RIGHT:null===(t=V.current)||void 0===t||t.onKeyDown(e);break;case e_.Z.ENTER:if(ea){var n=(null==ea?void 0:ea.node)||{},r=n.selectable,o=n.value;!1!==r&&ee(null,{node:{key:er},selected:!b.includes(o)})}break;case e_.Z.ESC:l(!1)}},onKeyUp:function(){}}}),0===j.length)return x.createElement("div",{role:"listbox",className:"".concat(r,"-empty"),onMouseDown:J},c);var el={fieldNames:v};return I&&(el.loadedKeys=I),$&&(el.expandedKeys=$),x.createElement("div",{onMouseDown:J},ea&&i&&x.createElement("span",{style:lQ,"aria-live":"assertive"},ea.node.value),x.createElement(lU.Z,(0,m.Z)({ref:V,focusable:!1,prefixCls:"".concat(r,"-tree"),treeData:j,height:d,itemHeight:f,virtual:!1!==s&&!1!==g,multiple:o,icon:O,showIcon:M,switcherIcon:R,showLine:T,loadData:a?null:L,motion:A,activeKey:er,checkable:Z,checkStrictly:!0,checkedKeys:Y,selectedKeys:Z?[]:b,defaultExpandAll:k},el,{onActiveChange:eo,onSelect:ee,onCheck:ee,onExpand:function(e){U(e),Q(e),P&&P(e)},onLoad:H,filterTreeNode:function(e){return!!F&&String(e[D]).toLowerCase().includes(F)},expandAction:y})))});l$.displayName="OptionList";var lJ=function(){return null},l0="SHOW_ALL",l1="SHOW_PARENT",l2="SHOW_CHILD";function l3(e,t,n,r){var o=new Set(e);return t===l2?e.filter(function(e){var t=n[e];return!(t&&t.children&&t.children.some(function(e){var t=e.node;return o.has(t[r.value])})&&t.children.every(function(e){var t=e.node;return lG(t)||o.has(t[r.value])}))}):t===l1?e.filter(function(e){var t=n[e],r=t?t.parent:null;return!(r&&!lG(r.node)&&o.has(r.key))}):e}var l4=["children","value"];function l8(e){if(!e)return e;var t=(0,ec.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,eY.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}var l6=function(e){var t=x.useRef({valueLabels:new Map});return x.useMemo(function(){var n=t.current.valueLabels,r=new Map,o=e.map(function(e){var t,o=e.value,a=null!==(t=e.label)&&void 0!==t?t:n.get(o);return r.set(o,a),(0,ec.Z)((0,ec.Z)({},e),{},{label:a})});return t.current.valueLabels=r,[o]},[e])};function l5(e){var t=x.useRef();return t.current=e,x.useCallback(function(){return t.current.apply(t,arguments)},[])}var l7=function(e,t,n){var r=n.treeNodeFilterProp,o=n.filterTreeNode,a=n.fieldNames.children;return x.useMemo(function(){if(!t||!1===o)return e;if("function"==typeof o)n=o;else{var n,l=t.toUpperCase();n=function(e,t){return String(t[r]).toUpperCase().includes(l)}}return function e(r){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.map(function(r){var l=r[a],i=o||n(t,l8(r)),c=e(l||[],i);return i||c.length?(0,ec.Z)((0,ec.Z)({},r),{},(0,v.Z)({isLeaf:void 0},a,c)):null}).filter(function(e){return e})}(e)},[e,t,a,r,o])},l9=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"],ie=x.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,o=e.value,a=e.defaultValue,l=e.onChange,i=e.onSelect,c=e.onDeselect,u=e.searchValue,s=e.inputValue,d=e.onSearch,f=e.autoClearSearchValue,p=void 0===f||f,v=e.filterTreeNode,h=e.treeNodeFilterProp,g=void 0===h?"value":h,y=e.showCheckedStrategy,C=void 0===y?l2:y,b=e.treeNodeLabelProp,w=e.multiple,E=e.treeCheckable,k=e.treeCheckStrictly,S=e.labelInValue,P=e.fieldNames,O=e.treeDataSimpleMode,M=e.treeData,R=e.children,T=e.loadData,D=e.treeLoadedKeys,L=e.onTreeLoad,I=e.treeDefaultExpandAll,A=e.treeExpandedKeys,H=e.treeDefaultExpandedKeys,z=e.onTreeExpand,V=e.treeExpandAction,j=e.virtual,Y=e.listHeight,F=void 0===Y?200:Y,W=e.listItemHeight,_=void 0===W?20:W,B=e.onDropdownVisibleChange,U=e.dropdownMatchSelectWidth,X=void 0===U||U,q=e.treeLine,G=e.treeIcon,Q=e.showTreeIcon,$=e.switcherIcon,J=e.treeMotion,et=(0,nd.Z)(e,l9),en=(0,rr.ZP)(n),er=E&&!k,eo=E||k,ea=k||S,el=eo||w,ei=(0,em.Z)(a,{value:o}),eu=(0,K.Z)(ei,2),es=eu[0],ed=eu[1],ef=x.useMemo(function(){var e,t,n,r,o;return t=(e=P||{}).label,n=e.value,r=e.children,{_title:t?[t]:["title","label"],value:o=n||"value",key:o,children:r||"children"}},[JSON.stringify(P)]),ep=(0,em.Z)("",{value:void 0!==u?u:s,postState:function(e){return e||""}}),ev=(0,K.Z)(ep,2),eh=ev[0],eg=ev[1],ey=x.useMemo(function(){if(M){var e,t,n,r,o,a;return O?(t=(e=(0,ec.Z)({id:"id",pId:"pId",rootPId:null},!0!==O?O:{})).id,n=e.pId,r=e.rootPId,o={},a=[],M.map(function(e){var n=(0,ec.Z)({},e),r=n[t];return o[r]=n,n.key=n.key||r,n}).forEach(function(e){var t=e[n],l=o[t];l&&(l.children=l.children||[],l.children.push(e)),t!==r&&(l||null!==r)||a.push(e)}),a):M}return function e(t){return(0,ee.Z)(t).map(function(t){if(!x.isValidElement(t)||!t.type)return null;var n=t.key,r=t.props,o=r.children,a=r.value,l=(0,nd.Z)(r,l4),i=(0,ec.Z)({key:n,value:a},l),c=e(o);return c.length&&(i.children=c),i}).filter(function(e){return e})}(R)},[R,O,M]),eC=x.useMemo(function(){return(0,rm.I8)(ey,{fieldNames:ef,initWrapper:function(e){return(0,ec.Z)((0,ec.Z)({},e),{},{valueEntities:new Map})},processEntity:function(e,t){var n=e.node[ef.value];t.valueEntities.set(n,e)}})},[ey,ef]),eZ=eC.keyEntities,eb=eC.valueEntities,ew=x.useCallback(function(e){var t=[],n=[];return e.forEach(function(e){eb.has(e)?n.push(e):t.push(e)}),{missingRawValues:t,existRawValues:n}},[eb]),eE=l7(ey,eh,{fieldNames:ef,treeNodeFilterProp:g,filterTreeNode:v}),ek=x.useCallback(function(e){if(e){if(b)return e[b];for(var t=ef._title,n=0;n1&&void 0!==arguments[1]?arguments[1]:"0",c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map(function(r,u){var s="".concat(o,"-").concat(u),d=r[a.value],f=n.includes(d),p=e(r[a.children]||[],s,f),m=x.createElement(lJ,r,p.map(function(e){return e.node}));if(t===d&&(l=m),f){var v={pos:s,node:m,children:p};return c||i.push(v),v}return null}).filter(function(e){return e})}(r),i.sort(function(e,t){var r=e.node.props.value,o=t.node.props.value;return n.indexOf(r)-n.indexOf(o)}))}Object.defineProperty(e,"triggerNode",{get:function(){return(0,eY.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),l}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return((0,eY.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),o)?i:i.map(function(e){return e.node})}})}(d,a,e,ey,f,ef),eo?d.checked=i:d.selected=i;var m=ea?s:s.map(function(e){return e.value});l(el?m:m[0],ea?null:s.map(function(e){return e.label}),d)}}),ej=x.useCallback(function(e,t){var n=t.selected,r=t.source,o=eZ[e],a=null==o?void 0:o.node,l=null!==(s=null==a?void 0:a[ef.value])&&void 0!==s?s:e;if(el){var u=n?[].concat((0,N.Z)(eT),[l]):eI.filter(function(e){return e!==l});if(er){var s,d,f=ew(u),p=f.missingRawValues,m=f.existRawValues.map(function(e){return eb.get(e).key});d=n?(0,ro.S)(m,!0,eZ).checkedKeys:(0,ro.S)(m,{checked:!1,halfCheckedKeys:eA},eZ).checkedKeys,u=[].concat((0,N.Z)(p),(0,N.Z)(d.map(function(e){return eZ[e].node[ef.value]})))}eV(u,{selected:n,triggerValue:l},r||"option")}else eV([l],{selected:!0,triggerValue:l},"option");n||!el?null==i||i(l,l8(a)):null==c||c(l,l8(a))},[ew,eb,eZ,ef,el,eT,eV,er,i,c,eI,eA]),eF=x.useCallback(function(e){if(B){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return(0,eY.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),B(e,t)}},[B]),eW=l5(function(e,t){var n=e.map(function(e){return e.value});if("clear"===t.type){eV(n,{},"selection");return}t.values.length&&ej(t.values[0].value,{selected:!1,source:"selection"})}),eK=x.useMemo(function(){return{virtual:j,dropdownMatchSelectWidth:X,listHeight:F,listItemHeight:_,treeData:eE,fieldNames:ef,onSelect:ej,treeExpandAction:V}},[j,X,F,_,eE,ef,ej,V]),e_=x.useMemo(function(){return{checkable:eo,loadData:T,treeLoadedKeys:D,onTreeLoad:L,checkedKeys:eI,halfCheckedKeys:eA,treeDefaultExpandAll:I,treeExpandedKeys:A,treeDefaultExpandedKeys:H,onTreeExpand:z,treeIcon:G,treeMotion:J,showTreeIcon:Q,switcherIcon:$,treeLine:q,treeNodeFilterProp:g,keyEntities:eZ}},[eo,T,D,L,eI,eA,I,A,H,z,G,J,Q,$,q,g,eZ]);return x.createElement(lq.Provider,{value:eK},x.createElement(lX.Provider,{value:e_},x.createElement(rn.Ac,(0,m.Z)({ref:t},et,{id:en,prefixCls:void 0===r?"rc-tree-select":r,mode:el?"multiple":void 0,displayValues:ez,onDisplayValuesChange:eW,searchValue:eh,onSearch:function(e){eg(e),null==d||d(e)},OptionList:l$,emptyOptions:!ey.length,onDropdownVisibleChange:eF,dropdownMatchSelectWidth:X}))))});ie.TreeNode=lJ,ie.SHOW_ALL=l0,ie.SHOW_PARENT=l1,ie.SHOW_CHILD=l2;var it=n(23797),ir=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},io=x.forwardRef(function(e,t){var n,r,o=e.prefixCls,a=e.size,l=e.disabled,i=e.bordered,c=e.className,u=e.treeCheckable,s=e.multiple,d=e.listHeight,f=e.listItemHeight,p=e.placement,h=e.notFoundContent,g=e.switcherIcon,y=e.treeLine,C=e.getPopupContainer,Z=e.dropdownClassName,b=e.popupClassName,E=e.treeIcon,N=e.transitionName,P=e.choiceTransitionName,O=e.status,M=e.showArrow,R=e.treeExpandAction,T=ir(e,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","popupClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]),D=x.useContext(S.E_),L=D.getPopupContainer,I=D.getPrefixCls,A=D.renderEmpty,H=D.direction,z=D.virtual,V=D.dropdownMatchSelectWidth,j=x.useContext(rT.Z),Y=I("select",o),F=I("select-tree",o),W=I("tree-select",o),K=(0,rD.ri)(Y,H),_=K.compactSize,B=K.compactItemClassnames,U=w()(b||Z,"".concat(W,"-dropdown"),(0,v.Z)({},"".concat(W,"-dropdown-rtl"),"rtl"===H)),X=!!(u||s),q=void 0!==M?M:T.loading||!X,G=(0,x.useContext)(ne.aM),Q=G.status,$=G.hasFeedback,J=G.isFormItemInput,ee=G.feedbackIcon,et=(0,rA.F)(Q,O),en=(0,rL.Z)((0,m.Z)((0,m.Z)({},T),{multiple:X,showArrow:q,hasFeedback:$,feedbackIcon:ee,prefixCls:Y})),er=en.suffixIcon,eo=en.removeIcon,ea=en.clearIcon;r=void 0!==h?h:(A||rM.Z)("Select");var el=(0,k.Z)(T,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),ei=_||a||j,ec=x.useContext(rR.Z),eu=w()(!o&&W,(n={},(0,v.Z)(n,"".concat(Y,"-lg"),"large"===ei),(0,v.Z)(n,"".concat(Y,"-sm"),"small"===ei),(0,v.Z)(n,"".concat(Y,"-rtl"),"rtl"===H),(0,v.Z)(n,"".concat(Y,"-borderless"),!(void 0===i||i)),(0,v.Z)(n,"".concat(Y,"-in-form-item"),J),n),(0,rA.Z)(Y,et,$),B,c),es=I();return x.createElement(ie,(0,m.Z)({virtual:z,dropdownMatchSelectWidth:V,disabled:null!=l?l:ec},el,{ref:t,prefixCls:Y,className:eu,listHeight:void 0===d?256:d,listItemHeight:void 0===f?26:f,treeCheckable:u?x.createElement("span",{className:"".concat(Y,"-tree-checkbox-inner")}):u,treeLine:!!y,inputIcon:er,multiple:s,placement:void 0!==p?p:"rtl"===H?"bottomRight":"bottomLeft",removeIcon:eo,clearIcon:ea,switcherIcon:function(e){return(0,it.Z)(F,g,y,e)},showTreeIcon:void 0!==E&&E,notFoundContent:r,getPopupContainer:C||L,treeMotion:null,dropdownClassName:U,choiceTransitionName:(0,rI.mL)(es,"",void 0===P?"":P),transitionName:(0,rI.mL)(es,(0,rI.q0)(p),N),showArrow:$||M,treeExpandAction:R}))});io.TreeNode=lJ,io.SHOW_ALL=l0,io.SHOW_PARENT=l1,io.SHOW_CHILD=l2;var ia=io,il=n(85818),ii=n(77916),ic="4.24.3",iu=null},65360:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(87462),o=n(97685),a=n(21640),l=n(94184),i=n.n(l),c=n(21770),u=n(15105),s=n(67294),d=n(53124),f=n(55241),p=n(96159),m=n(71577),v=n(6134),h=n(86743),g=n(23715),y=n(7734),C=n(81643),Z=function(e){var t=e.prefixCls,n=e.okButtonProps,o=e.cancelButtonProps,a=e.title,l=e.cancelText,i=e.okText,c=e.okType,u=e.icon,f=e.showCancel,p=void 0===f||f,Z=e.close,b=e.onConfirm,w=e.onCancel,E=s.useContext(d.E_).getPrefixCls;return s.createElement(g.Z,{componentName:"Popconfirm",defaultLocale:y.Z.Popconfirm},function(e){return s.createElement("div",{className:"".concat(t,"-inner-content")},s.createElement("div",{className:"".concat(t,"-message")},u&&s.createElement("span",{className:"".concat(t,"-message-icon")},u),s.createElement("div",{className:"".concat(t,"-message-title")},(0,C.Z)(a))),s.createElement("div",{className:"".concat(t,"-buttons")},p&&s.createElement(m.Z,(0,r.Z)({onClick:w,size:"small"},o),null!=l?l:e.cancelText),s.createElement(h.Z,{buttonProps:(0,r.Z)((0,r.Z)({size:"small"},(0,v.n)(c)),n),actionFn:b,close:Z,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},null!=i?i:e.okText)))})},b=void 0,w=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=s.forwardRef(function(e,t){var n=s.useContext(d.E_).getPrefixCls,l=(0,c.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),m=(0,o.Z)(l,2),v=m[0],h=m[1],g=function(t,n){var r,o;h(t,!0),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t,n),null===(o=e.onOpenChange)||void 0===o||o.call(e,t,n)},y=function(e){e.keyCode===u.Z.ESC&&v&&g(!1,e)},C=e.prefixCls,E=e.placement,k=e.trigger,x=e.okType,S=e.icon,N=void 0===S?s.createElement(a.Z,null):S,P=e.children,O=e.overlayClassName,M=w(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),R=n("popover",C),T=n("popconfirm",C),D=i()(T,O);return s.createElement(f.Z,(0,r.Z)({},M,{trigger:void 0===k?"click":k,prefixCls:R,placement:void 0===E?"top":E,onOpenChange:function(t){var n=e.disabled;void 0!==n&&n||g(t)},open:v,ref:t,overlayClassName:D,_overlay:s.createElement(Z,(0,r.Z)({okType:void 0===x?"primary":x,icon:N},e,{prefixCls:R,close:function(e){g(!1,e)},onConfirm:function(t){var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(b,t)},onCancel:function(t){var n;g(!1,t),null===(n=e.onCancel)||void 0===n||n.call(b,t)}}))}),(0,p.Tm)(P,{onKeyDown:function(e){var t,n;s.isValidElement(P)&&(null===(n=null==P?void 0:(t=P.props).onKeyDown)||void 0===n||n.call(t,e)),y(e)}}))})},55241:function(e,t,n){"use strict";var r=n(87462),o=n(67294),a=n(53124),l=n(94199),i=n(81643),c=n(33603),u=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},s=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,i.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,i.Z)(n))):null},d=o.forwardRef(function(e,t){var n=e.prefixCls,i=e.title,d=e.content,f=e._overlay,p=e.placement,m=e.trigger,v=e.mouseEnterDelay,h=e.mouseLeaveDelay,g=e.overlayStyle,y=u(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),C=o.useContext(a.E_).getPrefixCls,Z=C("popover",n),b=C();return o.createElement(l.Z,(0,r.Z)({placement:void 0===p?"top":p,trigger:void 0===m?"hover":m,mouseEnterDelay:void 0===v?.1:v,mouseLeaveDelay:void 0===h?.1:h,overlayStyle:void 0===g?{}:g},y,{prefixCls:Z,ref:t,overlay:f||o.createElement(s,{prefixCls:Z,title:i,content:d}),transitionName:(0,c.mL)(b,"zoom-big",y.transitionName)}))});t.Z=d},80973:function(e,t,n){var r=n(71169),o=function(e){var t="",n=Object.keys(e);return n.forEach(function(o,a){var l,i=e[o];l=o=r(o),/[height|width]$/.test(l)&&"number"==typeof i&&(i+="px"),!0===i?t+=o:!1===i?t+="not "+o:t+="("+o+": "+i+")",a"],"sourcesContent":["export var getRenderPropValue = function getRenderPropValue(propValue) {\n if (!propValue) {\n return null;\n }\n if (typeof propValue === 'function') {\n return propValue();\n }\n return propValue;\n};","import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext('default');\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n var children = _ref.children,\n size = _ref.size;\n return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n });\n};\nexport default SizeContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport SizeContext from './SizeContext';\nvar InternalAvatar = function InternalAvatar(props, ref) {\n var _classNames, _classNames2;\n var groupSize = React.useContext(SizeContext);\n var _React$useState = React.useState(1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n scale = _React$useState2[0],\n setScale = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n mounted = _React$useState4[0],\n setMounted = _React$useState4[1];\n var _React$useState5 = React.useState(true),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n isImgExist = _React$useState6[0],\n setIsImgExist = _React$useState6[1];\n var avatarNodeRef = React.useRef(null);\n var avatarChildrenRef = React.useRef(null);\n var avatarNodeMergeRef = composeRef(ref, avatarNodeRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var setScaleParam = function setScaleParam() {\n if (!avatarChildrenRef.current || !avatarNodeRef.current) {\n return;\n }\n var childrenWidth = avatarChildrenRef.current.offsetWidth; // offsetWidth avoid affecting be transform scale\n var nodeWidth = avatarNodeRef.current.offsetWidth;\n // denominator is 0 is no meaning\n if (childrenWidth !== 0 && nodeWidth !== 0) {\n var _props$gap = props.gap,\n gap = _props$gap === void 0 ? 4 : _props$gap;\n if (gap * 2 < nodeWidth) {\n setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n setIsImgExist(true);\n setScale(1);\n }, [props.src]);\n React.useEffect(function () {\n setScaleParam();\n }, [props.gap]);\n var handleImgLoadError = function handleImgLoadError() {\n var onError = props.onError;\n var errorFlag = onError ? onError() : undefined;\n if (errorFlag !== false) {\n setIsImgExist(false);\n }\n };\n var customizePrefixCls = props.prefixCls,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'default' : _props$size,\n src = props.src,\n srcSet = props.srcSet,\n icon = props.icon,\n className = props.className,\n alt = props.alt,\n draggable = props.draggable,\n children = props.children,\n crossOrigin = props.crossOrigin,\n others = __rest(props, [\"prefixCls\", \"shape\", \"size\", \"src\", \"srcSet\", \"icon\", \"className\", \"alt\", \"draggable\", \"children\", \"crossOrigin\"]);\n var size = customSize === 'default' ? groupSize : customSize;\n var needResponsive = Object.keys(_typeof(size) === 'object' ? size || {} : {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var responsiveSizeStyle = React.useMemo(function () {\n if (_typeof(size) !== 'object') {\n return {};\n }\n var currentBreakpoint = responsiveArray.find(function (screen) {\n return screens[screen];\n });\n var currentSize = size[currentBreakpoint];\n return currentSize ? {\n width: currentSize,\n height: currentSize,\n lineHeight: \"\".concat(currentSize, \"px\"),\n fontSize: icon ? currentSize / 2 : 18\n } : {};\n }, [screens, size]);\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Avatar', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n var prefixCls = getPrefixCls('avatar', customizePrefixCls);\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var hasImageElement = /*#__PURE__*/React.isValidElement(src);\n var classString = classNames(prefixCls, sizeCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-\").concat(shape), !!shape), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-image\"), hasImageElement || src && isImgExist), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon\"), !!icon), _classNames2), className);\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\"),\n fontSize: icon ? size / 2 : 18\n } : {};\n var childrenToRender;\n if (typeof src === 'string' && isImgExist) {\n childrenToRender = /*#__PURE__*/React.createElement(\"img\", {\n src: src,\n draggable: draggable,\n srcSet: srcSet,\n onError: handleImgLoadError,\n alt: alt,\n crossOrigin: crossOrigin\n });\n } else if (hasImageElement) {\n childrenToRender = src;\n } else if (icon) {\n childrenToRender = icon;\n } else if (mounted || scale !== 1) {\n var transformString = \"scale(\".concat(scale, \") translateX(-50%)\");\n var childrenStyle = {\n msTransform: transformString,\n WebkitTransform: transformString,\n transform: transformString\n };\n var sizeChildrenStyle = typeof size === 'number' ? {\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n childrenToRender = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: setScaleParam\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n ref: avatarChildrenRef,\n style: _extends(_extends({}, sizeChildrenStyle), childrenStyle)\n }, children));\n } else {\n childrenToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n style: {\n opacity: 0\n },\n ref: avatarChildrenRef\n }, children);\n }\n // The event is triggered twice from bubbling up the DOM tree.\n // see https://codesandbox.io/s/kind-snow-9lidz\n delete others.onError;\n delete others.gap;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, others, {\n style: _extends(_extends(_extends({}, sizeStyle), responsiveSizeStyle), others.style),\n className: classString,\n ref: avatarNodeMergeRef\n }), childrenToRender);\n};\nvar Avatar = /*#__PURE__*/React.forwardRef(InternalAvatar);\nif (process.env.NODE_ENV !== 'production') {\n Avatar.displayName = 'Avatar';\n}\nexport default Avatar;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport Avatar from './avatar';\nimport { SizeContextProvider } from './SizeContext';\nvar Group = function Group(props) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n maxCount = props.maxCount,\n maxStyle = props.maxStyle,\n size = props.size;\n var prefixCls = getPrefixCls('avatar-group', customizePrefixCls);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var children = props.children,\n _props$maxPopoverPlac = props.maxPopoverPlacement,\n maxPopoverPlacement = _props$maxPopoverPlac === void 0 ? 'top' : _props$maxPopoverPlac,\n _props$maxPopoverTrig = props.maxPopoverTrigger,\n maxPopoverTrigger = _props$maxPopoverTrig === void 0 ? 'hover' : _props$maxPopoverTrig;\n var childrenWithProps = toArray(children).map(function (child, index) {\n return cloneElement(child, {\n key: \"avatar-key-\".concat(index)\n });\n });\n var numOfChildren = childrenWithProps.length;\n if (maxCount && maxCount < numOfChildren) {\n var childrenShow = childrenWithProps.slice(0, maxCount);\n var childrenHidden = childrenWithProps.slice(maxCount, numOfChildren);\n childrenShow.push( /*#__PURE__*/React.createElement(Popover, {\n key: \"avatar-popover-key\",\n content: childrenHidden,\n trigger: maxPopoverTrigger,\n placement: maxPopoverPlacement,\n overlayClassName: \"\".concat(prefixCls, \"-popover\")\n }, /*#__PURE__*/React.createElement(Avatar, {\n style: maxStyle\n }, \"+\".concat(numOfChildren - maxCount))));\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenShow));\n }\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenWithProps));\n};\nexport default Group;","import InternalAvatar from './avatar';\nimport Group from './group';\nexport { Group };\nvar Avatar = InternalAvatar;\nAvatar.Group = Group;\nexport default Avatar;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport raf from \"rc-util/es/raf\";\nexport function throttleByAnimationFrame(fn) {\n var requestId;\n var later = function later(args) {\n return function () {\n requestId = null;\n fn.apply(void 0, _toConsumableArray(args));\n };\n };\n var throttled = function throttled() {\n if (requestId == null) {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n requestId = raf(later(args));\n }\n };\n throttled.cancel = function () {\n raf.cancel(requestId);\n requestId = null;\n };\n return throttled;\n}\nexport function throttleByAnimationFrameDecorator() {\n return function throttle(target, key, descriptor) {\n var fn = descriptor.value;\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key)) {\n /* istanbul ignore next */\n return fn;\n }\n var boundFn = throttleByAnimationFrame(fn.bind(this));\n definingProperty = true;\n Object.defineProperty(this, key, {\n value: boundFn,\n configurable: true,\n writable: true\n });\n definingProperty = false;\n return boundFn;\n }\n };\n };\n}","import addEventListener from \"rc-util/es/Dom/addEventListener\";\nexport function getTargetRect(target) {\n return target !== window ? target.getBoundingClientRect() : {\n top: 0,\n bottom: window.innerHeight\n };\n}\nexport function getFixedTop(placeholderReact, targetRect, offsetTop) {\n if (offsetTop !== undefined && targetRect.top > placeholderReact.top - offsetTop) {\n return offsetTop + targetRect.top;\n }\n return undefined;\n}\nexport function getFixedBottom(placeholderReact, targetRect, offsetBottom) {\n if (offsetBottom !== undefined && targetRect.bottom < placeholderReact.bottom + offsetBottom) {\n var targetBottomOffset = window.innerHeight - targetRect.bottom;\n return offsetBottom + targetBottomOffset;\n }\n return undefined;\n}\n// ======================== Observer ========================\nvar TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load'];\nvar observerEntities = [];\nexport function getObserverEntities() {\n // Only used in test env. Can be removed if refactor.\n return observerEntities;\n}\nexport function addObserveTarget(target, affix) {\n if (!target) {\n return;\n }\n var entity = observerEntities.find(function (item) {\n return item.target === target;\n });\n if (entity) {\n entity.affixList.push(affix);\n } else {\n entity = {\n target: target,\n affixList: [affix],\n eventHandlers: {}\n };\n observerEntities.push(entity);\n // Add listener\n TRIGGER_EVENTS.forEach(function (eventName) {\n entity.eventHandlers[eventName] = addEventListener(target, eventName, function () {\n entity.affixList.forEach(function (targetAffix) {\n targetAffix.lazyUpdatePosition();\n });\n });\n });\n }\n}\nexport function removeObserveTarget(affix) {\n var observerEntity = observerEntities.find(function (oriObserverEntity) {\n var hasAffix = oriObserverEntity.affixList.some(function (item) {\n return item === affix;\n });\n if (hasAffix) {\n oriObserverEntity.affixList = oriObserverEntity.affixList.filter(function (item) {\n return item !== affix;\n });\n }\n return hasAffix;\n });\n if (observerEntity && observerEntity.affixList.length === 0) {\n observerEntities = observerEntities.filter(function (item) {\n return item !== observerEntity;\n });\n // Remove listener\n TRIGGER_EVENTS.forEach(function (eventName) {\n var handler = observerEntity.eventHandlers[eventName];\n if (handler && handler.remove) {\n handler.remove();\n }\n });\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { throttleByAnimationFrameDecorator } from '../_util/throttleByAnimationFrame';\nimport { addObserveTarget, getFixedBottom, getFixedTop, getTargetRect, removeObserveTarget } from './utils';\nfunction getDefaultTarget() {\n return typeof window !== 'undefined' ? window : null;\n}\nvar AffixStatus;\n(function (AffixStatus) {\n AffixStatus[AffixStatus[\"None\"] = 0] = \"None\";\n AffixStatus[AffixStatus[\"Prepare\"] = 1] = \"Prepare\";\n})(AffixStatus || (AffixStatus = {}));\nvar Affix = /*#__PURE__*/function (_React$Component) {\n _inherits(Affix, _React$Component);\n var _super = _createSuper(Affix);\n function Affix() {\n var _this;\n _classCallCheck(this, Affix);\n _this = _super.apply(this, arguments);\n _this.state = {\n status: AffixStatus.None,\n lastAffix: false,\n prevTarget: null\n };\n _this.getOffsetTop = function () {\n var _this$props = _this.props,\n offsetBottom = _this$props.offsetBottom,\n offsetTop = _this$props.offsetTop;\n return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop;\n };\n _this.getOffsetBottom = function () {\n return _this.props.offsetBottom;\n };\n _this.savePlaceholderNode = function (node) {\n _this.placeholderNode = node;\n };\n _this.saveFixedNode = function (node) {\n _this.fixedNode = node;\n };\n // =================== Measure ===================\n _this.measure = function () {\n var _this$state = _this.state,\n status = _this$state.status,\n lastAffix = _this$state.lastAffix;\n var onChange = _this.props.onChange;\n var targetFunc = _this.getTargetFunc();\n if (status !== AffixStatus.Prepare || !_this.fixedNode || !_this.placeholderNode || !targetFunc) {\n return;\n }\n var offsetTop = _this.getOffsetTop();\n var offsetBottom = _this.getOffsetBottom();\n var targetNode = targetFunc();\n if (!targetNode) {\n return;\n }\n var newState = {\n status: AffixStatus.None\n };\n var targetRect = getTargetRect(targetNode);\n var placeholderReact = getTargetRect(_this.placeholderNode);\n var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop);\n var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom);\n if (placeholderReact.top === 0 && placeholderReact.left === 0 && placeholderReact.width === 0 && placeholderReact.height === 0) {\n return;\n }\n if (fixedTop !== undefined) {\n newState.affixStyle = {\n position: 'fixed',\n top: fixedTop,\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n newState.placeholderStyle = {\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n } else if (fixedBottom !== undefined) {\n newState.affixStyle = {\n position: 'fixed',\n bottom: fixedBottom,\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n newState.placeholderStyle = {\n width: placeholderReact.width,\n height: placeholderReact.height\n };\n }\n newState.lastAffix = !!newState.affixStyle;\n if (onChange && lastAffix !== newState.lastAffix) {\n onChange(newState.lastAffix);\n }\n _this.setState(newState);\n };\n // @ts-ignore TS6133\n _this.prepareMeasure = function () {\n // event param is used before. Keep compatible ts define here.\n _this.setState({\n status: AffixStatus.Prepare,\n affixStyle: undefined,\n placeholderStyle: undefined\n });\n // Test if `updatePosition` called\n if (process.env.NODE_ENV === 'test') {\n var onTestUpdatePosition = _this.props.onTestUpdatePosition;\n onTestUpdatePosition === null || onTestUpdatePosition === void 0 ? void 0 : onTestUpdatePosition();\n }\n };\n return _this;\n }\n _createClass(Affix, [{\n key: \"getTargetFunc\",\n value: function getTargetFunc() {\n var getTargetContainer = this.context.getTargetContainer;\n var target = this.props.target;\n if (target !== undefined) {\n return target;\n }\n return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget;\n }\n // Event handler\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n var targetFunc = this.getTargetFunc();\n if (targetFunc) {\n // [Legacy] Wait for parent component ref has its value.\n // We should use target as directly element instead of function which makes element check hard.\n this.timeout = setTimeout(function () {\n addObserveTarget(targetFunc(), _this2);\n // Mock Event object.\n _this2.updatePosition();\n });\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var prevTarget = this.state.prevTarget;\n var targetFunc = this.getTargetFunc();\n var newTarget = (targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc()) || null;\n if (prevTarget !== newTarget) {\n removeObserveTarget(this);\n if (newTarget) {\n addObserveTarget(newTarget, this);\n // Mock Event object.\n this.updatePosition();\n }\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n prevTarget: newTarget\n });\n }\n if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) {\n this.updatePosition();\n }\n this.measure();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.timeout);\n removeObserveTarget(this);\n this.updatePosition.cancel();\n // https://github.com/ant-design/ant-design/issues/22683\n this.lazyUpdatePosition.cancel();\n }\n // Handle realign logic\n }, {\n key: \"updatePosition\",\n value: function updatePosition() {\n this.prepareMeasure();\n }\n }, {\n key: \"lazyUpdatePosition\",\n value: function lazyUpdatePosition() {\n var targetFunc = this.getTargetFunc();\n var affixStyle = this.state.affixStyle;\n // Check position change before measure to make Safari smooth\n if (targetFunc && affixStyle) {\n var offsetTop = this.getOffsetTop();\n var offsetBottom = this.getOffsetBottom();\n var targetNode = targetFunc();\n if (targetNode && this.placeholderNode) {\n var targetRect = getTargetRect(targetNode);\n var placeholderReact = getTargetRect(this.placeholderNode);\n var fixedTop = getFixedTop(placeholderReact, targetRect, offsetTop);\n var fixedBottom = getFixedBottom(placeholderReact, targetRect, offsetBottom);\n if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) {\n return;\n }\n }\n }\n // Directly call prepare measure since it's already throttled.\n this.prepareMeasure();\n }\n // =================== Render ===================\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n var _this$state2 = this.state,\n affixStyle = _this$state2.affixStyle,\n placeholderStyle = _this$state2.placeholderStyle;\n var _this$props2 = this.props,\n affixPrefixCls = _this$props2.affixPrefixCls,\n children = _this$props2.children;\n var className = classNames(_defineProperty({}, affixPrefixCls, !!affixStyle));\n var props = omit(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls']);\n // Omit this since `onTestUpdatePosition` only works on test.\n if (process.env.NODE_ENV === 'test') {\n props = omit(props, ['onTestUpdatePosition']);\n }\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize() {\n _this3.updatePosition();\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, props, {\n ref: this.savePlaceholderNode\n }), affixStyle && /*#__PURE__*/React.createElement(\"div\", {\n style: placeholderStyle,\n \"aria-hidden\": \"true\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n ref: this.saveFixedNode,\n style: affixStyle\n }, /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize() {\n _this3.updatePosition();\n }\n }, children))));\n }\n }]);\n return Affix;\n}(React.Component);\nAffix.contextType = ConfigContext;\n__decorate([throttleByAnimationFrameDecorator()], Affix.prototype, \"updatePosition\", null);\n__decorate([throttleByAnimationFrameDecorator()], Affix.prototype, \"lazyUpdatePosition\", null);\nvar AffixFC = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var affixPrefixCls = getPrefixCls('affix', customizePrefixCls);\n var affixProps = _extends(_extends({}, props), {\n affixPrefixCls: affixPrefixCls\n });\n return /*#__PURE__*/React.createElement(Affix, _extends({}, affixProps, {\n ref: ref\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n AffixFC.displayName = 'Affix';\n}\nexport default AffixFC;","import * as React from 'react';\nvar AnchorContext = /*#__PURE__*/React.createContext(undefined);\nexport default AnchorContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport * as React from 'react';\nimport Affix from '../affix';\nimport { ConfigContext } from '../config-provider';\nimport getScroll from '../_util/getScroll';\nimport scrollTo from '../_util/scrollTo';\nimport AnchorContext from './context';\nfunction getDefaultContainer() {\n return window;\n}\nfunction getOffsetTop(element, container) {\n if (!element.getClientRects().length) {\n return 0;\n }\n var rect = element.getBoundingClientRect();\n if (rect.width || rect.height) {\n if (container === window) {\n container = element.ownerDocument.documentElement;\n return rect.top - container.clientTop;\n }\n return rect.top - container.getBoundingClientRect().top;\n }\n return rect.top;\n}\nvar sharpMatcherRegx = /#([\\S ]+)$/;\nvar AnchorContent = function AnchorContent(props) {\n var _a;\n var prefixCls = props.anchorPrefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n style = props.style,\n offsetTop = props.offsetTop,\n _props$affix = props.affix,\n affix = _props$affix === void 0 ? true : _props$affix,\n _props$showInkInFixed = props.showInkInFixed,\n showInkInFixed = _props$showInkInFixed === void 0 ? false : _props$showInkInFixed,\n children = props.children,\n bounds = props.bounds,\n targetOffset = props.targetOffset,\n onClick = props.onClick,\n onChange = props.onChange,\n getContainer = props.getContainer,\n getCurrentAnchor = props.getCurrentAnchor;\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n links = _React$useState2[0],\n setLinks = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n activeLink = _React$useState4[0],\n setActiveLink = _React$useState4[1];\n var activeLinkRef = React.useRef(activeLink);\n var wrapperRef = React.useRef(null);\n var spanLinkNode = React.useRef(null);\n var animating = React.useRef(false);\n var _React$useContext = React.useContext(ConfigContext),\n direction = _React$useContext.direction,\n getTargetContainer = _React$useContext.getTargetContainer;\n var getCurrentContainer = (_a = getContainer !== null && getContainer !== void 0 ? getContainer : getTargetContainer) !== null && _a !== void 0 ? _a : getDefaultContainer;\n var dependencyListItem = JSON.stringify(links);\n var registerLink = React.useCallback(function (link) {\n if (!links.includes(link)) {\n setLinks(function (prev) {\n return [].concat(_toConsumableArray(prev), [link]);\n });\n }\n }, [dependencyListItem]);\n var unregisterLink = React.useCallback(function (link) {\n if (links.includes(link)) {\n setLinks(function (prev) {\n return prev.filter(function (i) {\n return i !== link;\n });\n });\n }\n }, [dependencyListItem]);\n var updateInk = function updateInk() {\n var _a;\n var linkNode = (_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.querySelector(\".\".concat(prefixCls, \"-link-title-active\"));\n if (linkNode && spanLinkNode.current) {\n spanLinkNode.current.style.top = \"\".concat(linkNode.offsetTop + linkNode.clientHeight / 2 - 4.5, \"px\");\n }\n };\n var getInternalCurrentAnchor = function getInternalCurrentAnchor(_links) {\n var _offsetTop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var _bounds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5;\n var linkSections = [];\n var container = getCurrentContainer();\n _links.forEach(function (link) {\n var sharpLinkMatch = sharpMatcherRegx.exec(link === null || link === void 0 ? void 0 : link.toString());\n if (!sharpLinkMatch) {\n return;\n }\n var target = document.getElementById(sharpLinkMatch[1]);\n if (target) {\n var top = getOffsetTop(target, container);\n if (top < _offsetTop + _bounds) {\n linkSections.push({\n link: link,\n top: top\n });\n }\n }\n });\n if (linkSections.length) {\n var maxSection = linkSections.reduce(function (prev, curr) {\n return curr.top > prev.top ? curr : prev;\n });\n return maxSection.link;\n }\n return '';\n };\n var setCurrentActiveLink = function setCurrentActiveLink(link) {\n if (activeLinkRef.current === link) {\n return;\n }\n // https://github.com/ant-design/ant-design/issues/30584\n var newLink = typeof getCurrentAnchor === 'function' ? getCurrentAnchor(link) : link;\n setActiveLink(newLink);\n activeLinkRef.current = newLink;\n // onChange should respect the original link (which may caused by\n // window scroll or user click), not the new link\n onChange === null || onChange === void 0 ? void 0 : onChange(link);\n };\n var handleScroll = React.useCallback(function () {\n if (animating.current) {\n return;\n }\n if (typeof getCurrentAnchor === 'function') {\n return;\n }\n var currentActiveLink = getInternalCurrentAnchor(links, targetOffset !== undefined ? targetOffset : offsetTop || 0, bounds);\n setCurrentActiveLink(currentActiveLink);\n }, [dependencyListItem, targetOffset, offsetTop]);\n var handleScrollTo = React.useCallback(function (link) {\n setCurrentActiveLink(link);\n var container = getCurrentContainer();\n var scrollTop = getScroll(container, true);\n var sharpLinkMatch = sharpMatcherRegx.exec(link);\n if (!sharpLinkMatch) {\n return;\n }\n var targetElement = document.getElementById(sharpLinkMatch[1]);\n if (!targetElement) {\n return;\n }\n var eleOffsetTop = getOffsetTop(targetElement, container);\n var y = scrollTop + eleOffsetTop;\n y -= targetOffset !== undefined ? targetOffset : offsetTop || 0;\n animating.current = true;\n scrollTo(y, {\n getContainer: getCurrentContainer,\n callback: function callback() {\n animating.current = false;\n }\n });\n }, [targetOffset, offsetTop]);\n var inkClass = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-ink-ball-visible\"), activeLink), \"\".concat(prefixCls, \"-ink-ball\"));\n var wrapperClass = classNames(\"\".concat(prefixCls, \"-wrapper\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var anchorClass = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-fixed\"), !affix && !showInkInFixed));\n var wrapperStyle = _extends({\n maxHeight: offsetTop ? \"calc(100vh - \".concat(offsetTop, \"px)\") : '100vh'\n }, style);\n var anchorContent = /*#__PURE__*/React.createElement(\"div\", {\n ref: wrapperRef,\n className: wrapperClass,\n style: wrapperStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: anchorClass\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-ink\")\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: inkClass,\n ref: spanLinkNode\n })), children));\n React.useEffect(function () {\n var scrollContainer = getCurrentContainer();\n var scrollEvent = addEventListener(scrollContainer, 'scroll', handleScroll);\n handleScroll();\n return function () {\n scrollEvent === null || scrollEvent === void 0 ? void 0 : scrollEvent.remove();\n };\n }, [dependencyListItem]);\n React.useEffect(function () {\n if (typeof getCurrentAnchor === 'function') {\n setCurrentActiveLink(getCurrentAnchor(activeLinkRef.current || ''));\n }\n }, [getCurrentAnchor]);\n React.useEffect(function () {\n updateInk();\n }, [getCurrentAnchor, dependencyListItem, activeLink]);\n var memoizedContextValue = React.useMemo(function () {\n return {\n registerLink: registerLink,\n unregisterLink: unregisterLink,\n scrollTo: handleScrollTo,\n activeLink: activeLink,\n onClick: onClick\n };\n }, [activeLink, onClick, handleScrollTo]);\n return /*#__PURE__*/React.createElement(AnchorContext.Provider, {\n value: memoizedContextValue\n }, affix ? /*#__PURE__*/React.createElement(Affix, {\n offsetTop: offsetTop,\n target: getCurrentContainer\n }, anchorContent) : anchorContent);\n};\nvar Anchor = function Anchor(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext2 = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext2.getPrefixCls;\n var anchorPrefixCls = getPrefixCls('anchor', customizePrefixCls);\n return /*#__PURE__*/React.createElement(AnchorContent, _extends({}, props, {\n anchorPrefixCls: anchorPrefixCls\n }));\n};\nexport default Anchor;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport AnchorContext from './context';\nvar AnchorLink = function AnchorLink(props) {\n var _props$href = props.href,\n href = _props$href === void 0 ? '#' : _props$href,\n title = props.title,\n customizePrefixCls = props.prefixCls,\n children = props.children,\n className = props.className,\n target = props.target;\n var context = React.useContext(AnchorContext);\n var _ref = context || {},\n registerLink = _ref.registerLink,\n unregisterLink = _ref.unregisterLink,\n scrollTo = _ref.scrollTo,\n onClick = _ref.onClick,\n activeLink = _ref.activeLink;\n React.useEffect(function () {\n registerLink === null || registerLink === void 0 ? void 0 : registerLink(href);\n return function () {\n unregisterLink === null || unregisterLink === void 0 ? void 0 : unregisterLink(href);\n };\n }, [href, registerLink, unregisterLink]);\n var handleClick = function handleClick(e) {\n onClick === null || onClick === void 0 ? void 0 : onClick(e, {\n title: title,\n href: href\n });\n scrollTo === null || scrollTo === void 0 ? void 0 : scrollTo(href);\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref2) {\n var getPrefixCls = _ref2.getPrefixCls;\n var prefixCls = getPrefixCls('anchor', customizePrefixCls);\n var active = activeLink === href;\n var wrapperClassName = classNames(\"\".concat(prefixCls, \"-link\"), className, _defineProperty({}, \"\".concat(prefixCls, \"-link-active\"), active));\n var titleClassName = classNames(\"\".concat(prefixCls, \"-link-title\"), _defineProperty({}, \"\".concat(prefixCls, \"-link-title-active\"), active));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: wrapperClassName\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: titleClassName,\n href: href,\n title: typeof title === 'string' ? title : '',\n target: target,\n onClick: handleClick\n }, title), children);\n });\n};\nexport default AnchorLink;","import InternalAnchor from './Anchor';\nimport AnchorLink from './AnchorLink';\nvar Anchor = InternalAnchor;\nAnchor.Link = AnchorLink;\nexport default Anchor;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * TODO: 4.0\n *\n * - Remove `dataSource`\n * - `size` not work with customizeInput\n * - CustomizeInput not feedback `ENTER` key since accessibility enhancement\n */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport Select from '../select';\nimport { isValidElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nvar Option = Select.Option;\nfunction isSelectOptionOrSelectOptGroup(child) {\n return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup);\n}\nvar AutoComplete = function AutoComplete(props, ref) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n children = props.children,\n dataSource = props.dataSource;\n var childNodes = toArray(children);\n // ============================= Input =============================\n var customizeInput;\n if (childNodes.length === 1 && isValidElement(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) {\n var _childNodes = _slicedToArray(childNodes, 1);\n customizeInput = _childNodes[0];\n }\n var getInputElement = customizeInput ? function () {\n return customizeInput;\n } : undefined;\n // ============================ Options ============================\n var optionChildren;\n // [Legacy] convert `children` or `dataSource` into option children\n if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) {\n optionChildren = children;\n } else {\n optionChildren = dataSource ? dataSource.map(function (item) {\n if (isValidElement(item)) {\n return item;\n }\n switch (_typeof(item)) {\n case 'string':\n return /*#__PURE__*/React.createElement(Option, {\n key: item,\n value: item\n }, item);\n case 'object':\n {\n var optionValue = item.value;\n return /*#__PURE__*/React.createElement(Option, {\n key: optionValue,\n value: optionValue\n }, item.text);\n }\n default:\n process.env.NODE_ENV !== \"production\" ? warning(false, 'AutoComplete', '`dataSource` is only supports type `string[] | Object[]`.') : void 0;\n return undefined;\n }\n }) : [];\n }\n process.env.NODE_ENV !== \"production\" ? warning(!('dataSource' in props), 'AutoComplete', '`dataSource` is deprecated, please use `options` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'AutoComplete', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!customizeInput || !('size' in props), 'AutoComplete', 'You need to control style self instead of setting `size` when using customize input.') : void 0;\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n return /*#__PURE__*/React.createElement(Select, _extends({\n ref: ref\n }, omit(props, ['dataSource']), {\n prefixCls: prefixCls,\n popupClassName: popupClassName || dropdownClassName,\n className: classNames(\"\".concat(prefixCls, \"-auto-complete\"), className),\n mode: Select.SECRET_COMBOBOX_MODE_DO_NOT_USE\n }, {\n // Internal api\n getInputElement: getInputElement\n }), optionChildren);\n });\n};\nvar RefAutoComplete = /*#__PURE__*/React.forwardRef(AutoComplete);\nRefAutoComplete.Option = Option;\nexport default RefAutoComplete;","// This icon file is generated automatically.\nvar VerticalAlignTopOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z\" } }] }, \"name\": \"vertical-align-top\", \"theme\": \"outlined\" };\nexport default VerticalAlignTopOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport VerticalAlignTopOutlinedSvg from \"@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar VerticalAlignTopOutlined = function VerticalAlignTopOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: VerticalAlignTopOutlinedSvg\n }));\n};\nVerticalAlignTopOutlined.displayName = 'VerticalAlignTopOutlined';\nexport default /*#__PURE__*/React.forwardRef(VerticalAlignTopOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport VerticalAlignTopOutlined from \"@ant-design/icons/es/icons/VerticalAlignTopOutlined\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport getScroll from '../_util/getScroll';\nimport { cloneElement } from '../_util/reactNode';\nimport scrollTo from '../_util/scrollTo';\nimport { throttleByAnimationFrame } from '../_util/throttleByAnimationFrame';\nvar BackTopContent = function BackTopContent(props) {\n var prefixCls = props.prefixCls,\n rootPrefixCls = props.rootPrefixCls,\n children = props.children,\n visible = props.visible;\n var defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, /*#__PURE__*/React.createElement(VerticalAlignTopOutlined, null)));\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n motionName: \"\".concat(rootPrefixCls, \"-fade\")\n }, function (_ref) {\n var motionClassName = _ref.className;\n return cloneElement(children || defaultElement, function (_ref2) {\n var className = _ref2.className;\n return {\n className: classNames(motionClassName, className)\n };\n });\n });\n};\nvar BackTop = function BackTop(props) {\n var _useMergedState = useMergedState(false, {\n value: props.visible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n visible = _useMergedState2[0],\n setVisible = _useMergedState2[1];\n var ref = /*#__PURE__*/React.createRef();\n var scrollEvent = React.useRef(null);\n var getDefaultTarget = function getDefaultTarget() {\n return ref.current && ref.current.ownerDocument ? ref.current.ownerDocument : window;\n };\n var handleScroll = throttleByAnimationFrame(function (e) {\n var _props$visibilityHeig = props.visibilityHeight,\n visibilityHeight = _props$visibilityHeig === void 0 ? 400 : _props$visibilityHeig;\n var scrollTop = getScroll(e.target, true);\n setVisible(scrollTop > visibilityHeight);\n });\n var bindScrollEvent = function bindScrollEvent() {\n var target = props.target;\n var getTarget = target || getDefaultTarget;\n var container = getTarget();\n scrollEvent.current = addEventListener(container, 'scroll', function (e) {\n handleScroll(e);\n });\n handleScroll({\n target: container\n });\n };\n React.useEffect(function () {\n bindScrollEvent();\n return function () {\n if (scrollEvent.current) {\n scrollEvent.current.remove();\n }\n handleScroll.cancel();\n };\n }, [props.target]);\n var scrollToTop = function scrollToTop(e) {\n var onClick = props.onClick,\n target = props.target,\n _props$duration = props.duration,\n duration = _props$duration === void 0 ? 450 : _props$duration;\n scrollTo(0, {\n getContainer: target || getDefaultTarget,\n duration: duration\n });\n if (typeof onClick === 'function') {\n onClick(e);\n }\n };\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className;\n var prefixCls = getPrefixCls('back-top', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var classString = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(props, ['prefixCls', 'className', 'children', 'visibilityHeight', 'target', 'visible']);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classString,\n onClick: scrollToTop,\n ref: ref\n }), /*#__PURE__*/React.createElement(BackTopContent, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n visible: visible\n }, props.children));\n};\nexport default /*#__PURE__*/React.memo(BackTop);","import { PresetColorTypes } from '../_util/colors';\n// eslint-disable-next-line import/prefer-default-export\nexport function isPresetColor(color) {\n return PresetColorTypes.includes(color);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { isPresetColor } from './utils';\nvar Ribbon = function Ribbon(_ref) {\n var _classNames;\n var className = _ref.className,\n customizePrefixCls = _ref.prefixCls,\n style = _ref.style,\n color = _ref.color,\n children = _ref.children,\n text = _ref.text,\n _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'end' : _ref$placement;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('ribbon', customizePrefixCls);\n var colorInPreset = isPresetColor(color);\n var ribbonCls = classNames(prefixCls, \"\".concat(prefixCls, \"-placement-\").concat(placement), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-color-\").concat(color), colorInPreset), _classNames), className);\n var colorStyle = {};\n var cornerColorStyle = {};\n if (color && !colorInPreset) {\n colorStyle.background = color;\n cornerColorStyle.color = color;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-wrapper\")\n }, children, /*#__PURE__*/React.createElement(\"div\", {\n className: ribbonCls,\n style: _extends(_extends({}, colorStyle), style)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, text), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-corner\"),\n style: cornerColorStyle\n })));\n};\nexport default Ribbon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction UnitNumber(_ref) {\n var prefixCls = _ref.prefixCls,\n value = _ref.value,\n current = _ref.current,\n _ref$offset = _ref.offset,\n offset = _ref$offset === void 0 ? 0 : _ref$offset;\n var style;\n if (offset) {\n style = {\n position: 'absolute',\n top: \"\".concat(offset, \"00%\"),\n left: 0\n };\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n style: style,\n className: classNames(\"\".concat(prefixCls, \"-only-unit\"), {\n current: current\n })\n }, value);\n}\nfunction getOffset(start, end, unit) {\n var index = start;\n var offset = 0;\n while ((index + 10) % 10 !== end) {\n index += unit;\n offset += unit;\n }\n return offset;\n}\nexport default function SingleNumber(props) {\n var prefixCls = props.prefixCls,\n originCount = props.count,\n originValue = props.value;\n var value = Number(originValue);\n var count = Math.abs(originCount);\n var _React$useState = React.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prevValue = _React$useState2[0],\n setPrevValue = _React$useState2[1];\n var _React$useState3 = React.useState(count),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n prevCount = _React$useState4[0],\n setPrevCount = _React$useState4[1];\n // ============================= Events =============================\n var onTransitionEnd = function onTransitionEnd() {\n setPrevValue(value);\n setPrevCount(count);\n };\n // Fallback if transition event not support\n React.useEffect(function () {\n var timeout = setTimeout(function () {\n onTransitionEnd();\n }, 1000);\n return function () {\n clearTimeout(timeout);\n };\n }, [value]);\n // ============================= Render =============================\n // Render unit list\n var unitNodes;\n var offsetStyle;\n if (prevValue === value || Number.isNaN(value) || Number.isNaN(prevValue)) {\n // Nothing to change\n unitNodes = [/*#__PURE__*/React.createElement(UnitNumber, _extends({}, props, {\n key: value,\n current: true\n }))];\n offsetStyle = {\n transition: 'none'\n };\n } else {\n unitNodes = [];\n // Fill basic number units\n var end = value + 10;\n var unitNumberList = [];\n for (var index = value; index <= end; index += 1) {\n unitNumberList.push(index);\n }\n // Fill with number unit nodes\n var prevIndex = unitNumberList.findIndex(function (n) {\n return n % 10 === prevValue;\n });\n unitNodes = unitNumberList.map(function (n, index) {\n var singleUnit = n % 10;\n return /*#__PURE__*/React.createElement(UnitNumber, _extends({}, props, {\n key: n,\n value: singleUnit,\n offset: index - prevIndex,\n current: index === prevIndex\n }));\n });\n // Calculate container offset value\n var unit = prevCount < count ? 1 : -1;\n offsetStyle = {\n transform: \"translateY(\".concat(-getOffset(prevValue, value, unit), \"00%)\")\n };\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-only\"),\n style: offsetStyle,\n onTransitionEnd: onTransitionEnd\n }, unitNodes);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport SingleNumber from './SingleNumber';\nvar ScrollNumber = function ScrollNumber(_a) {\n var customizePrefixCls = _a.prefixCls,\n count = _a.count,\n className = _a.className,\n motionClassName = _a.motionClassName,\n style = _a.style,\n title = _a.title,\n show = _a.show,\n _a$component = _a.component,\n component = _a$component === void 0 ? 'sup' : _a$component,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"count\", \"className\", \"motionClassName\", \"style\", \"title\", \"show\", \"component\", \"children\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('scroll-number', customizePrefixCls);\n // ============================ Render ============================\n var newProps = _extends(_extends({}, restProps), {\n 'data-show': show,\n style: style,\n className: classNames(prefixCls, className, motionClassName),\n title: title\n });\n // Only integer need motion\n var numberNodes = count;\n if (count && Number(count) % 1 === 0) {\n var numberList = String(count).split('');\n numberNodes = numberList.map(function (num, i) {\n return /*#__PURE__*/React.createElement(SingleNumber, {\n prefixCls: prefixCls,\n count: Number(count),\n value: num,\n // eslint-disable-next-line react/no-array-index-key\n key: numberList.length - i\n });\n });\n }\n // allow specify the border\n // mock border-color by box-shadow for compatible with old usage:\n // \n if (style && style.borderColor) {\n newProps.style = _extends(_extends({}, style), {\n boxShadow: \"0 0 0 1px \".concat(style.borderColor, \" inset\")\n });\n }\n if (children) {\n return cloneElement(children, function (oriProps) {\n return {\n className: classNames(\"\".concat(prefixCls, \"-custom-component\"), oriProps === null || oriProps === void 0 ? void 0 : oriProps.className, motionClassName)\n };\n });\n }\n return /*#__PURE__*/React.createElement(component, newProps, numberNodes);\n};\nexport default ScrollNumber;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport { useMemo, useRef } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport Ribbon from './Ribbon';\nimport ScrollNumber from './ScrollNumber';\nimport { isPresetColor } from './utils';\nvar Badge = function Badge(_a) {\n var _classNames, _classNames2;\n var customizePrefixCls = _a.prefixCls,\n customizeScrollNumberPrefixCls = _a.scrollNumberPrefixCls,\n children = _a.children,\n status = _a.status,\n text = _a.text,\n color = _a.color,\n _a$count = _a.count,\n count = _a$count === void 0 ? null : _a$count,\n _a$overflowCount = _a.overflowCount,\n overflowCount = _a$overflowCount === void 0 ? 99 : _a$overflowCount,\n _a$dot = _a.dot,\n dot = _a$dot === void 0 ? false : _a$dot,\n _a$size = _a.size,\n size = _a$size === void 0 ? 'default' : _a$size,\n title = _a.title,\n offset = _a.offset,\n style = _a.style,\n className = _a.className,\n _a$showZero = _a.showZero,\n showZero = _a$showZero === void 0 ? false : _a$showZero,\n restProps = __rest(_a, [\"prefixCls\", \"scrollNumberPrefixCls\", \"children\", \"status\", \"text\", \"color\", \"count\", \"overflowCount\", \"dot\", \"size\", \"title\", \"offset\", \"style\", \"className\", \"showZero\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('badge', customizePrefixCls);\n // ================================ Misc ================================\n var numberedDisplayCount = count > overflowCount ? \"\".concat(overflowCount, \"+\") : count;\n var isZero = numberedDisplayCount === '0' || numberedDisplayCount === 0;\n var ignoreCount = count === null || isZero;\n var hasStatus = (status !== null && status !== undefined || color !== null && color !== undefined) && ignoreCount;\n var showAsDot = dot && !isZero;\n var mergedCount = showAsDot ? '' : numberedDisplayCount;\n var isHidden = useMemo(function () {\n var isEmpty = mergedCount === null || mergedCount === undefined || mergedCount === '';\n return (isEmpty || isZero && !showZero) && !showAsDot;\n }, [mergedCount, isZero, showZero, showAsDot]);\n // Count should be cache in case hidden change it\n var countRef = useRef(count);\n if (!isHidden) {\n countRef.current = count;\n }\n var livingCount = countRef.current;\n // We need cache count since remove motion should not change count display\n var displayCountRef = useRef(mergedCount);\n if (!isHidden) {\n displayCountRef.current = mergedCount;\n }\n var displayCount = displayCountRef.current;\n // We will cache the dot status to avoid shaking on leaved motion\n var isDotRef = useRef(showAsDot);\n if (!isHidden) {\n isDotRef.current = showAsDot;\n }\n // =============================== Styles ===============================\n var mergedStyle = useMemo(function () {\n if (!offset) {\n return _extends({}, style);\n }\n var offsetStyle = {\n marginTop: offset[1]\n };\n if (direction === 'rtl') {\n offsetStyle.left = parseInt(offset[0], 10);\n } else {\n offsetStyle.right = -parseInt(offset[0], 10);\n }\n return _extends(_extends({}, offsetStyle), style);\n }, [direction, offset, style]);\n // =============================== Render ===============================\n // >>> Title\n var titleNode = title !== null && title !== void 0 ? title : typeof livingCount === 'string' || typeof livingCount === 'number' ? livingCount : undefined;\n // >>> Status Text\n var statusTextNode = isHidden || !text ? null : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-status-text\")\n }, text);\n // >>> Display Component\n var displayNode = !livingCount || _typeof(livingCount) !== 'object' ? undefined : cloneElement(livingCount, function (oriProps) {\n return {\n style: _extends(_extends({}, mergedStyle), oriProps.style)\n };\n });\n // Shared styles\n var statusCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-dot\"), hasStatus), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-\").concat(status), !!status), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-\").concat(color), isPresetColor(color)), _classNames));\n var statusStyle = {};\n if (color && !isPresetColor(color)) {\n statusStyle.background = color;\n }\n var badgeClassName = classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-status\"), hasStatus), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-not-a-wrapper\"), !children), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2), className);\n // \n if (!children && hasStatus) {\n var statusTextColor = mergedStyle.color;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: badgeClassName,\n style: mergedStyle\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: statusCls,\n style: statusStyle\n }), text && /*#__PURE__*/React.createElement(\"span\", {\n style: {\n color: statusTextColor\n },\n className: \"\".concat(prefixCls, \"-status-text\")\n }, text));\n }\n // }>\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: badgeClassName\n }), children, /*#__PURE__*/React.createElement(CSSMotion, {\n visible: !isHidden,\n motionName: \"\".concat(prefixCls, \"-zoom\"),\n motionAppear: false,\n motionDeadline: 1000\n }, function (_ref) {\n var _classNames3;\n var motionClassName = _ref.className;\n var scrollNumberPrefixCls = getPrefixCls('scroll-number', customizeScrollNumberPrefixCls);\n var isDot = isDotRef.current;\n var scrollNumberCls = classNames((_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(prefixCls, \"-dot\"), isDot), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-count\"), !isDot), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-count-sm\"), size === 'small'), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-multiple-words\"), !isDot && displayCount && displayCount.toString().length > 1), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-status-\").concat(status), !!status), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-status-\").concat(color), isPresetColor(color)), _classNames3));\n var scrollNumberStyle = _extends({}, mergedStyle);\n if (color && !isPresetColor(color)) {\n scrollNumberStyle = scrollNumberStyle || {};\n scrollNumberStyle.background = color;\n }\n return /*#__PURE__*/React.createElement(ScrollNumber, {\n prefixCls: scrollNumberPrefixCls,\n show: !isHidden,\n motionClassName: motionClassName,\n className: scrollNumberCls,\n count: displayCount,\n title: titleNode,\n style: scrollNumberStyle,\n key: \"scrollNumber\"\n }, displayNode);\n }), statusTextNode);\n};\nBadge.Ribbon = Ribbon;\nexport default Badge;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport * as React from 'react';\nimport warning from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport Dropdown from '../dropdown/dropdown';\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var customizePrefixCls = props.prefixCls,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '/' : _props$separator,\n children = props.children,\n menu = props.menu,\n overlay = props.overlay,\n dropdownProps = props.dropdownProps,\n restProps = __rest(props, [\"prefixCls\", \"separator\", \"children\", \"menu\", \"overlay\", \"dropdownProps\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('overlay' in props), 'Breadcrumb.Item', '`overlay` is deprecated. Please use `menu` instead.') : void 0;\n }\n /** If overlay is have Wrap a Dropdown */\n var renderBreadcrumbNode = function renderBreadcrumbNode(breadcrumbItem) {\n if (menu || overlay) {\n return /*#__PURE__*/React.createElement(Dropdown, _extends({\n menu: menu,\n overlay: overlay,\n placement: \"bottom\"\n }, dropdownProps), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-overlay-link\")\n }, breadcrumbItem, /*#__PURE__*/React.createElement(DownOutlined, null)));\n }\n return breadcrumbItem;\n };\n var link;\n if ('href' in restProps) {\n link = /*#__PURE__*/React.createElement(\"a\", _extends({\n className: \"\".concat(prefixCls, \"-link\")\n }, restProps), children);\n } else {\n link = /*#__PURE__*/React.createElement(\"span\", _extends({\n className: \"\".concat(prefixCls, \"-link\")\n }, restProps), children);\n }\n // wrap to dropDown\n link = renderBreadcrumbNode(link);\n if (children !== undefined && children !== null) {\n return /*#__PURE__*/React.createElement(\"li\", null, link, separator && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-separator\")\n }, separator));\n }\n return null;\n};\nBreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;\nexport default BreadcrumbItem;","import * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {\n var children = _ref.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('breadcrumb');\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-separator\")\n }, children || '/');\n};\nBreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;\nexport default BreadcrumbSeparator;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Menu from '../menu';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport BreadcrumbItem from './BreadcrumbItem';\nimport BreadcrumbSeparator from './BreadcrumbSeparator';\nfunction getBreadcrumbName(route, params) {\n if (!route.breadcrumbName) {\n return null;\n }\n var paramsKeys = Object.keys(params).join('|');\n var name = route.breadcrumbName.replace(new RegExp(\":(\".concat(paramsKeys, \")\"), 'g'), function (replacement, key) {\n return params[key] || replacement;\n });\n return name;\n}\nfunction defaultItemRender(route, params, routes, paths) {\n var isLastItem = routes.indexOf(route) === routes.length - 1;\n var name = getBreadcrumbName(route, params);\n return isLastItem ? /*#__PURE__*/React.createElement(\"span\", null, name) : /*#__PURE__*/React.createElement(\"a\", {\n href: \"#/\".concat(paths.join('/'))\n }, name);\n}\nvar getPath = function getPath(path, params) {\n path = (path || '').replace(/^\\//, '');\n Object.keys(params).forEach(function (key) {\n path = path.replace(\":\".concat(key), params[key]);\n });\n return path;\n};\nvar addChildPath = function addChildPath(paths, childPath, params) {\n var originalPaths = _toConsumableArray(paths);\n var path = getPath(childPath || '', params);\n if (path) {\n originalPaths.push(path);\n }\n return originalPaths;\n};\nvar Breadcrumb = function Breadcrumb(_a) {\n var customizePrefixCls = _a.prefixCls,\n _a$separator = _a.separator,\n separator = _a$separator === void 0 ? '/' : _a$separator,\n style = _a.style,\n className = _a.className,\n routes = _a.routes,\n children = _a.children,\n _a$itemRender = _a.itemRender,\n itemRender = _a$itemRender === void 0 ? defaultItemRender : _a$itemRender,\n _a$params = _a.params,\n params = _a$params === void 0 ? {} : _a$params,\n restProps = __rest(_a, [\"prefixCls\", \"separator\", \"style\", \"className\", \"routes\", \"children\", \"itemRender\", \"params\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var crumbs;\n var prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);\n if (routes && routes.length > 0) {\n // generated by route\n var paths = [];\n crumbs = routes.map(function (route) {\n var path = getPath(route.path, params);\n if (path) {\n paths.push(path);\n }\n // generated overlay by route.children\n var overlay;\n if (route.children && route.children.length) {\n overlay = /*#__PURE__*/React.createElement(Menu, {\n items: route.children.map(function (child) {\n return {\n key: child.path || child.breadcrumbName,\n label: itemRender(child, params, routes, addChildPath(paths, child.path, params))\n };\n })\n });\n }\n var itemProps = {\n separator: separator\n };\n if (overlay) {\n itemProps.overlay = overlay;\n }\n return /*#__PURE__*/React.createElement(BreadcrumbItem, _extends({}, itemProps, {\n key: path || route.breadcrumbName\n }), itemRender(route, params, routes, paths));\n });\n } else if (children) {\n crumbs = toArray(children).map(function (element, index) {\n if (!element) {\n return element;\n }\n process.env.NODE_ENV !== \"production\" ? warning(element.type && (element.type.__ANT_BREADCRUMB_ITEM === true || element.type.__ANT_BREADCRUMB_SEPARATOR === true), 'Breadcrumb', \"Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children\") : void 0;\n return cloneElement(element, {\n separator: separator,\n key: index\n });\n });\n }\n var breadcrumbClassName = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(\"nav\", _extends({\n className: breadcrumbClassName,\n style: style\n }, restProps), /*#__PURE__*/React.createElement(\"ol\", null, crumbs));\n};\nBreadcrumb.Item = BreadcrumbItem;\nBreadcrumb.Separator = BreadcrumbSeparator;\nexport default Breadcrumb;","import Breadcrumb from './Breadcrumb';\nexport default Breadcrumb;","import moment from 'moment';\nimport { noteOnce } from \"rc-util/es/warning\";\nvar generateConfig = {\n // get\n getNow: function getNow() {\n return moment();\n },\n getFixedDate: function getFixedDate(string) {\n return moment(string, 'YYYY-MM-DD');\n },\n getEndDate: function getEndDate(date) {\n var clone = date.clone();\n return clone.endOf('month');\n },\n getWeekDay: function getWeekDay(date) {\n var clone = date.clone().locale('en_US');\n return clone.weekday() + clone.localeData().firstDayOfWeek();\n },\n getYear: function getYear(date) {\n return date.year();\n },\n getMonth: function getMonth(date) {\n return date.month();\n },\n getDate: function getDate(date) {\n return date.date();\n },\n getHour: function getHour(date) {\n return date.hour();\n },\n getMinute: function getMinute(date) {\n return date.minute();\n },\n getSecond: function getSecond(date) {\n return date.second();\n },\n // set\n addYear: function addYear(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'year');\n },\n addMonth: function addMonth(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'month');\n },\n addDate: function addDate(date, diff) {\n var clone = date.clone();\n return clone.add(diff, 'day');\n },\n setYear: function setYear(date, year) {\n var clone = date.clone();\n return clone.year(year);\n },\n setMonth: function setMonth(date, month) {\n var clone = date.clone();\n return clone.month(month);\n },\n setDate: function setDate(date, num) {\n var clone = date.clone();\n return clone.date(num);\n },\n setHour: function setHour(date, hour) {\n var clone = date.clone();\n return clone.hour(hour);\n },\n setMinute: function setMinute(date, minute) {\n var clone = date.clone();\n return clone.minute(minute);\n },\n setSecond: function setSecond(date, second) {\n var clone = date.clone();\n return clone.second(second);\n },\n // Compare\n isAfter: function isAfter(date1, date2) {\n return date1.isAfter(date2);\n },\n isValidate: function isValidate(date) {\n return date.isValid();\n },\n locale: {\n getWeekFirstDay: function getWeekFirstDay(locale) {\n var date = moment().locale(locale);\n return date.localeData().firstDayOfWeek();\n },\n getWeekFirstDate: function getWeekFirstDate(locale, date) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.weekday(0);\n },\n getWeek: function getWeek(locale, date) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.week();\n },\n getShortWeekDays: function getShortWeekDays(locale) {\n var date = moment().locale(locale);\n return date.localeData().weekdaysMin();\n },\n getShortMonths: function getShortMonths(locale) {\n var date = moment().locale(locale);\n return date.localeData().monthsShort();\n },\n format: function format(locale, date, _format) {\n var clone = date.clone();\n var result = clone.locale(locale);\n return result.format(_format);\n },\n parse: function parse(locale, text, formats) {\n var fallbackFormatList = [];\n for (var i = 0; i < formats.length; i += 1) {\n var format = formats[i];\n var formatText = text;\n if (format.includes('wo') || format.includes('Wo')) {\n format = format.replace(/wo/g, 'w').replace(/Wo/g, 'W');\n var matchFormat = format.match(/[-YyMmDdHhSsWwGg]+/g);\n var matchText = formatText.match(/[-\\d]+/g);\n if (matchFormat && matchText) {\n format = matchFormat.join('');\n formatText = matchText.join('');\n } else {\n fallbackFormatList.push(format.replace(/o/g, ''));\n }\n }\n var date = moment(formatText, format, locale, true);\n if (date.isValid()) {\n return date;\n }\n }\n // Fallback to fuzzy matching, this should always not reach match or need fire a issue\n for (var _i = 0; _i < fallbackFormatList.length; _i += 1) {\n var _date = moment(text, fallbackFormatList[_i], locale, false);\n /* istanbul ignore next */\n if (_date.isValid()) {\n noteOnce(false, 'Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this.');\n return _date;\n }\n }\n return null;\n }\n }\n};\nexport default generateConfig;","import * as React from 'react';\nvar PanelContext = /*#__PURE__*/React.createContext({});\nexport default PanelContext;","import * as React from 'react';\nimport PanelContext from '../PanelContext';\nvar HIDDEN_STYLE = {\n visibility: 'hidden'\n};\nfunction Header(_ref) {\n var prefixCls = _ref.prefixCls,\n _ref$prevIcon = _ref.prevIcon,\n prevIcon = _ref$prevIcon === void 0 ? \"\\u2039\" : _ref$prevIcon,\n _ref$nextIcon = _ref.nextIcon,\n nextIcon = _ref$nextIcon === void 0 ? \"\\u203A\" : _ref$nextIcon,\n _ref$superPrevIcon = _ref.superPrevIcon,\n superPrevIcon = _ref$superPrevIcon === void 0 ? \"\\xAB\" : _ref$superPrevIcon,\n _ref$superNextIcon = _ref.superNextIcon,\n superNextIcon = _ref$superNextIcon === void 0 ? \"\\xBB\" : _ref$superNextIcon,\n onSuperPrev = _ref.onSuperPrev,\n onSuperNext = _ref.onSuperNext,\n onPrev = _ref.onPrev,\n onNext = _ref.onNext,\n children = _ref.children;\n var _React$useContext = React.useContext(PanelContext),\n hideNextBtn = _React$useContext.hideNextBtn,\n hidePrevBtn = _React$useContext.hidePrevBtn;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: prefixCls\n }, onSuperPrev && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onSuperPrev,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-super-prev-btn\"),\n style: hidePrevBtn ? HIDDEN_STYLE : {}\n }, superPrevIcon), onPrev && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onPrev,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-prev-btn\"),\n style: hidePrevBtn ? HIDDEN_STYLE : {}\n }, prevIcon), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-view\")\n }, children), onNext && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onNext,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-next-btn\"),\n style: hideNextBtn ? HIDDEN_STYLE : {}\n }, nextIcon), onSuperNext && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onSuperNext,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-super-next-btn\"),\n style: hideNextBtn ? HIDDEN_STYLE : {}\n }, superNextIcon));\n}\nexport default Header;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport { DECADE_DISTANCE_COUNT } from '.';\nimport PanelContext from '../../PanelContext';\nfunction DecadeHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n onPrevDecades = props.onPrevDecades,\n onNextDecades = props.onNextDecades;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / DECADE_DISTANCE_COUNT) * DECADE_DISTANCE_COUNT;\n var endYear = startYear + DECADE_DISTANCE_COUNT - 1;\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevDecades,\n onSuperNext: onNextDecades\n }), startYear, \"-\", endYear);\n}\nexport default DecadeHeader;","export function setTime(generateConfig, date, hour, minute, second) {\n var nextTime = generateConfig.setHour(date, hour);\n nextTime = generateConfig.setMinute(nextTime, minute);\n nextTime = generateConfig.setSecond(nextTime, second);\n return nextTime;\n}\nexport function setDateTime(generateConfig, date, defaultDate) {\n if (!defaultDate) {\n return date;\n }\n var newDate = date;\n newDate = generateConfig.setHour(newDate, generateConfig.getHour(defaultDate));\n newDate = generateConfig.setMinute(newDate, generateConfig.getMinute(defaultDate));\n newDate = generateConfig.setSecond(newDate, generateConfig.getSecond(defaultDate));\n return newDate;\n}\nexport function getLowerBoundTime(hour, minute, second, hourStep, minuteStep, secondStep) {\n var lowerBoundHour = Math.floor(hour / hourStep) * hourStep;\n if (lowerBoundHour < hour) {\n return [lowerBoundHour, 60 - minuteStep, 60 - secondStep];\n }\n var lowerBoundMinute = Math.floor(minute / minuteStep) * minuteStep;\n if (lowerBoundMinute < minute) {\n return [lowerBoundHour, lowerBoundMinute, 60 - secondStep];\n }\n var lowerBoundSecond = Math.floor(second / secondStep) * secondStep;\n return [lowerBoundHour, lowerBoundMinute, lowerBoundSecond];\n}\nexport function getLastDay(generateConfig, date) {\n var year = generateConfig.getYear(date);\n var month = generateConfig.getMonth(date) + 1;\n var endDate = generateConfig.getEndDate(generateConfig.getFixedDate(\"\".concat(year, \"-\").concat(month, \"-01\")));\n var lastDay = generateConfig.getDate(endDate);\n var monthShow = month < 10 ? \"0\".concat(month) : \"\".concat(month);\n return \"\".concat(year, \"-\").concat(monthShow, \"-\").concat(lastDay);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport PanelContext from '../PanelContext';\nimport { getLastDay } from '../utils/timeUtil';\nimport { getCellDateDisabled } from '../utils/dateUtil';\nexport default function PanelBody(_ref) {\n var prefixCls = _ref.prefixCls,\n disabledDate = _ref.disabledDate,\n onSelect = _ref.onSelect,\n picker = _ref.picker,\n rowNum = _ref.rowNum,\n colNum = _ref.colNum,\n prefixColumn = _ref.prefixColumn,\n rowClassName = _ref.rowClassName,\n baseDate = _ref.baseDate,\n getCellClassName = _ref.getCellClassName,\n getCellText = _ref.getCellText,\n getCellNode = _ref.getCellNode,\n getCellDate = _ref.getCellDate,\n generateConfig = _ref.generateConfig,\n titleCell = _ref.titleCell,\n headerCells = _ref.headerCells;\n var _React$useContext = React.useContext(PanelContext),\n onDateMouseEnter = _React$useContext.onDateMouseEnter,\n onDateMouseLeave = _React$useContext.onDateMouseLeave,\n mode = _React$useContext.mode;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n // =============================== Body ===============================\n var rows = [];\n for (var i = 0; i < rowNum; i += 1) {\n var row = [];\n var rowStartDate = void 0;\n var _loop = function _loop(j) {\n var _objectSpread2;\n var offset = i * colNum + j;\n var currentDate = getCellDate(baseDate, offset);\n var disabled = getCellDateDisabled({\n cellDate: currentDate,\n mode: mode,\n disabledDate: disabledDate,\n generateConfig: generateConfig\n });\n if (j === 0) {\n rowStartDate = currentDate;\n if (prefixColumn) {\n row.push(prefixColumn(rowStartDate));\n }\n }\n var title = titleCell && titleCell(currentDate);\n row.push( /*#__PURE__*/React.createElement(\"td\", {\n key: j,\n title: title,\n className: classNames(cellPrefixCls, _objectSpread((_objectSpread2 = {}, _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-disabled\"), disabled), _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-start\"), getCellText(currentDate) === 1 || picker === 'year' && Number(title) % 10 === 0), _defineProperty(_objectSpread2, \"\".concat(cellPrefixCls, \"-end\"), title === getLastDay(generateConfig, currentDate) || picker === 'year' && Number(title) % 10 === 9), _objectSpread2), getCellClassName(currentDate))),\n onClick: function onClick() {\n if (!disabled) {\n onSelect(currentDate);\n }\n },\n onMouseEnter: function onMouseEnter() {\n if (!disabled && onDateMouseEnter) {\n onDateMouseEnter(currentDate);\n }\n },\n onMouseLeave: function onMouseLeave() {\n if (!disabled && onDateMouseLeave) {\n onDateMouseLeave(currentDate);\n }\n }\n }, getCellNode ? getCellNode(currentDate) : /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(cellPrefixCls, \"-inner\")\n }, getCellText(currentDate))));\n };\n for (var j = 0; j < colNum; j += 1) {\n _loop(j);\n }\n rows.push( /*#__PURE__*/React.createElement(\"tr\", {\n key: i,\n className: rowClassName && rowClassName(rowStartDate)\n }, row));\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body\")\n }, /*#__PURE__*/React.createElement(\"table\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, headerCells && /*#__PURE__*/React.createElement(\"thead\", null, /*#__PURE__*/React.createElement(\"tr\", null, headerCells)), /*#__PURE__*/React.createElement(\"tbody\", null, rows)));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { DECADE_DISTANCE_COUNT, DECADE_UNIT_DIFF } from '.';\nimport PanelBody from '../PanelBody';\nexport var DECADE_COL_COUNT = 3;\nvar DECADE_ROW_COUNT = 4;\nfunction DecadeBody(props) {\n var DECADE_UNIT_DIFF_DES = DECADE_UNIT_DIFF - 1;\n var prefixCls = props.prefixCls,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var yearNumber = generateConfig.getYear(viewDate);\n var decadeYearNumber = Math.floor(yearNumber / DECADE_UNIT_DIFF) * DECADE_UNIT_DIFF;\n var startDecadeYear = Math.floor(yearNumber / DECADE_DISTANCE_COUNT) * DECADE_DISTANCE_COUNT;\n var endDecadeYear = startDecadeYear + DECADE_DISTANCE_COUNT - 1;\n var baseDecadeYear = generateConfig.setYear(viewDate, startDecadeYear - Math.ceil((DECADE_COL_COUNT * DECADE_ROW_COUNT * DECADE_UNIT_DIFF - DECADE_DISTANCE_COUNT) / 2));\n var getCellClassName = function getCellClassName(date) {\n var _ref;\n var startDecadeNumber = generateConfig.getYear(date);\n var endDecadeNumber = startDecadeNumber + DECADE_UNIT_DIFF_DES;\n return _ref = {}, _defineProperty(_ref, \"\".concat(cellPrefixCls, \"-in-view\"), startDecadeYear <= startDecadeNumber && endDecadeNumber <= endDecadeYear), _defineProperty(_ref, \"\".concat(cellPrefixCls, \"-selected\"), startDecadeNumber === decadeYearNumber), _ref;\n };\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: DECADE_ROW_COUNT,\n colNum: DECADE_COL_COUNT,\n baseDate: baseDecadeYear,\n getCellText: function getCellText(date) {\n var startDecadeNumber = generateConfig.getYear(date);\n return \"\".concat(startDecadeNumber, \"-\").concat(startDecadeNumber + DECADE_UNIT_DIFF_DES);\n },\n getCellClassName: getCellClassName,\n getCellDate: function getCellDate(date, offset) {\n return generateConfig.addYear(date, offset * DECADE_UNIT_DIFF);\n }\n }));\n}\nexport default DecadeBody;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nvar scrollIds = new Map();\n/** Trigger when element is visible in view */\nexport function waitElementReady(element, callback) {\n var id;\n function tryOrNextFrame() {\n if (isVisible(element)) {\n callback();\n } else {\n id = raf(function () {\n tryOrNextFrame();\n });\n }\n }\n tryOrNextFrame();\n return function () {\n raf.cancel(id);\n };\n}\n/* eslint-disable no-param-reassign */\nexport function scrollTo(element, to, duration) {\n if (scrollIds.get(element)) {\n cancelAnimationFrame(scrollIds.get(element));\n }\n // jump to target if duration zero\n if (duration <= 0) {\n scrollIds.set(element, requestAnimationFrame(function () {\n element.scrollTop = to;\n }));\n return;\n }\n var difference = to - element.scrollTop;\n var perTick = difference / duration * 10;\n scrollIds.set(element, requestAnimationFrame(function () {\n element.scrollTop += perTick;\n if (element.scrollTop !== to) {\n scrollTo(element, to, duration - 10);\n }\n }));\n}\nexport function createKeyDownHandler(event, _ref) {\n var onLeftRight = _ref.onLeftRight,\n onCtrlLeftRight = _ref.onCtrlLeftRight,\n onUpDown = _ref.onUpDown,\n onPageUpDown = _ref.onPageUpDown,\n onEnter = _ref.onEnter;\n var which = event.which,\n ctrlKey = event.ctrlKey,\n metaKey = event.metaKey;\n switch (which) {\n case KeyCode.LEFT:\n if (ctrlKey || metaKey) {\n if (onCtrlLeftRight) {\n onCtrlLeftRight(-1);\n return true;\n }\n } else if (onLeftRight) {\n onLeftRight(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.RIGHT:\n if (ctrlKey || metaKey) {\n if (onCtrlLeftRight) {\n onCtrlLeftRight(1);\n return true;\n }\n } else if (onLeftRight) {\n onLeftRight(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.UP:\n if (onUpDown) {\n onUpDown(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.DOWN:\n if (onUpDown) {\n onUpDown(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.PAGE_UP:\n if (onPageUpDown) {\n onPageUpDown(-1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.PAGE_DOWN:\n if (onPageUpDown) {\n onPageUpDown(1);\n return true;\n }\n /* istanbul ignore next */\n break;\n case KeyCode.ENTER:\n if (onEnter) {\n onEnter();\n return true;\n }\n /* istanbul ignore next */\n break;\n }\n return false;\n}\n// ===================== Format =====================\nexport function getDefaultFormat(format, picker, showTime, use12Hours) {\n var mergedFormat = format;\n if (!mergedFormat) {\n switch (picker) {\n case 'time':\n mergedFormat = use12Hours ? 'hh:mm:ss a' : 'HH:mm:ss';\n break;\n case 'week':\n mergedFormat = 'gggg-wo';\n break;\n case 'month':\n mergedFormat = 'YYYY-MM';\n break;\n case 'quarter':\n mergedFormat = 'YYYY-[Q]Q';\n break;\n case 'year':\n mergedFormat = 'YYYY';\n break;\n default:\n mergedFormat = showTime ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD';\n }\n }\n return mergedFormat;\n}\nexport function getInputSize(picker, format, generateConfig) {\n var defaultSize = picker === 'time' ? 8 : 10;\n var length = typeof format === 'function' ? format(generateConfig.getNow()).length : format.length;\n return Math.max(defaultSize, length) + 2;\n}\nvar globalClickFunc = null;\nvar clickCallbacks = new Set();\nexport function addGlobalMouseDownEvent(callback) {\n if (!globalClickFunc && typeof window !== 'undefined' && window.addEventListener) {\n globalClickFunc = function globalClickFunc(e) {\n // Clone a new list to avoid repeat trigger events\n _toConsumableArray(clickCallbacks).forEach(function (queueFunc) {\n queueFunc(e);\n });\n };\n window.addEventListener('mousedown', globalClickFunc);\n }\n clickCallbacks.add(callback);\n return function () {\n clickCallbacks.delete(callback);\n if (clickCallbacks.size === 0) {\n window.removeEventListener('mousedown', globalClickFunc);\n globalClickFunc = null;\n }\n };\n}\nexport function getTargetFromEvent(e) {\n var target = e.target;\n // get target if in shadow dom\n if (e.composed && target.shadowRoot) {\n var _e$composedPath;\n return ((_e$composedPath = e.composedPath) === null || _e$composedPath === void 0 ? void 0 : _e$composedPath.call(e)[0]) || target;\n }\n return target;\n}\n// ====================== Mode ======================\nvar getYearNextMode = function getYearNextMode(next) {\n if (next === 'month' || next === 'date') {\n return 'year';\n }\n return next;\n};\nvar getMonthNextMode = function getMonthNextMode(next) {\n if (next === 'date') {\n return 'month';\n }\n return next;\n};\nvar getQuarterNextMode = function getQuarterNextMode(next) {\n if (next === 'month' || next === 'date') {\n return 'quarter';\n }\n return next;\n};\nvar getWeekNextMode = function getWeekNextMode(next) {\n if (next === 'date') {\n return 'week';\n }\n return next;\n};\nexport var PickerModeMap = {\n year: getYearNextMode,\n month: getMonthNextMode,\n quarter: getQuarterNextMode,\n week: getWeekNextMode,\n time: null,\n date: null\n};\nexport function elementsContains(elements, target) {\n return elements.some(function (ele) {\n return ele && ele.contains(target);\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport DecadeHeader from './DecadeHeader';\nimport DecadeBody, { DECADE_COL_COUNT } from './DecadeBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nexport var DECADE_UNIT_DIFF = 10;\nexport var DECADE_DISTANCE_COUNT = DECADE_UNIT_DIFF * 10;\nfunction DecadePanel(props) {\n var prefixCls = props.prefixCls,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n operationRef = props.operationRef,\n onSelect = props.onSelect,\n onPanelChange = props.onPanelChange;\n var panelPrefixCls = \"\".concat(prefixCls, \"-decade-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_UNIT_DIFF), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_DISTANCE_COUNT), 'key');\n },\n onUpDown: function onUpDown(diff) {\n onSelect(generateConfig.addYear(viewDate, diff * DECADE_UNIT_DIFF * DECADE_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange('year', viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onDecadesChange = function onDecadesChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff * DECADE_DISTANCE_COUNT);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n var onInternalSelect = function onInternalSelect(date) {\n onSelect(date, 'mouse');\n onPanelChange('year', date);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(DecadeHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevDecades: function onPrevDecades() {\n onDecadesChange(-1);\n },\n onNextDecades: function onNextDecades() {\n onDecadesChange(1);\n }\n })), /*#__PURE__*/React.createElement(DecadeBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: onInternalSelect\n })));\n}\nexport default DecadePanel;","import { DECADE_UNIT_DIFF } from '../panels/DecadePanel/index';\nexport var WEEK_DAY_COUNT = 7;\nexport function isNullEqual(value1, value2) {\n if (!value1 && !value2) {\n return true;\n }\n if (!value1 || !value2) {\n return false;\n }\n return undefined;\n}\nexport function isSameDecade(generateConfig, decade1, decade2) {\n var equal = isNullEqual(decade1, decade2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n var num1 = Math.floor(generateConfig.getYear(decade1) / 10);\n var num2 = Math.floor(generateConfig.getYear(decade2) / 10);\n return num1 === num2;\n}\nexport function isSameYear(generateConfig, year1, year2) {\n var equal = isNullEqual(year1, year2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getYear(year1) === generateConfig.getYear(year2);\n}\nexport function getQuarter(generateConfig, date) {\n var quota = Math.floor(generateConfig.getMonth(date) / 3);\n return quota + 1;\n}\nexport function isSameQuarter(generateConfig, quarter1, quarter2) {\n var equal = isNullEqual(quarter1, quarter2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return isSameYear(generateConfig, quarter1, quarter2) && getQuarter(generateConfig, quarter1) === getQuarter(generateConfig, quarter2);\n}\nexport function isSameMonth(generateConfig, month1, month2) {\n var equal = isNullEqual(month1, month2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return isSameYear(generateConfig, month1, month2) && generateConfig.getMonth(month1) === generateConfig.getMonth(month2);\n}\nexport function isSameDate(generateConfig, date1, date2) {\n var equal = isNullEqual(date1, date2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getYear(date1) === generateConfig.getYear(date2) && generateConfig.getMonth(date1) === generateConfig.getMonth(date2) && generateConfig.getDate(date1) === generateConfig.getDate(date2);\n}\nexport function isSameTime(generateConfig, time1, time2) {\n var equal = isNullEqual(time1, time2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.getHour(time1) === generateConfig.getHour(time2) && generateConfig.getMinute(time1) === generateConfig.getMinute(time2) && generateConfig.getSecond(time1) === generateConfig.getSecond(time2);\n}\nexport function isSameWeek(generateConfig, locale, date1, date2) {\n var equal = isNullEqual(date1, date2);\n if (typeof equal === 'boolean') {\n return equal;\n }\n return generateConfig.locale.getWeek(locale, date1) === generateConfig.locale.getWeek(locale, date2);\n}\nexport function isEqual(generateConfig, value1, value2) {\n return isSameDate(generateConfig, value1, value2) && isSameTime(generateConfig, value1, value2);\n}\n/** Between in date but not equal of date */\nexport function isInRange(generateConfig, startDate, endDate, current) {\n if (!startDate || !endDate || !current) {\n return false;\n }\n return !isSameDate(generateConfig, startDate, current) && !isSameDate(generateConfig, endDate, current) && generateConfig.isAfter(current, startDate) && generateConfig.isAfter(endDate, current);\n}\nexport function getWeekStartDate(locale, generateConfig, value) {\n var weekFirstDay = generateConfig.locale.getWeekFirstDay(locale);\n var monthStartDate = generateConfig.setDate(value, 1);\n var startDateWeekDay = generateConfig.getWeekDay(monthStartDate);\n var alignStartDate = generateConfig.addDate(monthStartDate, weekFirstDay - startDateWeekDay);\n if (generateConfig.getMonth(alignStartDate) === generateConfig.getMonth(value) && generateConfig.getDate(alignStartDate) > 1) {\n alignStartDate = generateConfig.addDate(alignStartDate, -7);\n }\n return alignStartDate;\n}\nexport function getClosingViewDate(viewDate, picker, generateConfig) {\n var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n switch (picker) {\n case 'year':\n return generateConfig.addYear(viewDate, offset * 10);\n case 'quarter':\n case 'month':\n return generateConfig.addYear(viewDate, offset);\n default:\n return generateConfig.addMonth(viewDate, offset);\n }\n}\nexport function formatValue(value, _ref) {\n var generateConfig = _ref.generateConfig,\n locale = _ref.locale,\n format = _ref.format;\n return typeof format === 'function' ? format(value) : generateConfig.locale.format(locale.locale, value, format);\n}\nexport function parseValue(value, _ref2) {\n var generateConfig = _ref2.generateConfig,\n locale = _ref2.locale,\n formatList = _ref2.formatList;\n if (!value || typeof formatList[0] === 'function') {\n return null;\n }\n return generateConfig.locale.parse(locale.locale, value, formatList);\n}\n// eslint-disable-next-line consistent-return\nexport function getCellDateDisabled(_ref3) {\n var cellDate = _ref3.cellDate,\n mode = _ref3.mode,\n disabledDate = _ref3.disabledDate,\n generateConfig = _ref3.generateConfig;\n if (!disabledDate) return false;\n // Whether cellDate is disabled in range\n var getDisabledFromRange = function getDisabledFromRange(currentMode, start, end) {\n var current = start;\n while (current <= end) {\n var date = void 0;\n switch (currentMode) {\n case 'date':\n {\n date = generateConfig.setDate(cellDate, current);\n if (!disabledDate(date)) {\n return false;\n }\n break;\n }\n case 'month':\n {\n date = generateConfig.setMonth(cellDate, current);\n if (!getCellDateDisabled({\n cellDate: date,\n mode: 'month',\n generateConfig: generateConfig,\n disabledDate: disabledDate\n })) {\n return false;\n }\n break;\n }\n case 'year':\n {\n date = generateConfig.setYear(cellDate, current);\n if (!getCellDateDisabled({\n cellDate: date,\n mode: 'year',\n generateConfig: generateConfig,\n disabledDate: disabledDate\n })) {\n return false;\n }\n break;\n }\n }\n current += 1;\n }\n return true;\n };\n switch (mode) {\n case 'date':\n case 'week':\n {\n return disabledDate(cellDate);\n }\n case 'month':\n {\n var startDate = 1;\n var endDate = generateConfig.getDate(generateConfig.getEndDate(cellDate));\n return getDisabledFromRange('date', startDate, endDate);\n }\n case 'quarter':\n {\n var startMonth = Math.floor(generateConfig.getMonth(cellDate) / 3) * 3;\n var endMonth = startMonth + 2;\n return getDisabledFromRange('month', startMonth, endMonth);\n }\n case 'year':\n {\n return getDisabledFromRange('month', 0, 11);\n }\n case 'decade':\n {\n var year = generateConfig.getYear(cellDate);\n var startYear = Math.floor(year / DECADE_UNIT_DIFF) * DECADE_UNIT_DIFF;\n var endYear = startYear + DECADE_UNIT_DIFF - 1;\n return getDisabledFromRange('year', startYear, endYear);\n }\n }\n}","import * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction TimeHeader(props) {\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n value = props.value,\n format = props.format;\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, {\n prefixCls: headerPrefixCls\n }, value ? formatValue(value, {\n locale: locale,\n format: format,\n generateConfig: generateConfig\n }) : \"\\xA0\");\n}\nexport default TimeHeader;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { useRef, useLayoutEffect } from 'react';\nimport classNames from 'classnames';\nimport { scrollTo, waitElementReady } from '../../utils/uiUtil';\nimport PanelContext from '../../PanelContext';\nfunction TimeUnitColumn(props) {\n var prefixCls = props.prefixCls,\n units = props.units,\n onSelect = props.onSelect,\n value = props.value,\n active = props.active,\n hideDisabledOptions = props.hideDisabledOptions;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var _React$useContext = React.useContext(PanelContext),\n open = _React$useContext.open;\n var ulRef = useRef(null);\n var liRefs = useRef(new Map());\n var scrollRef = useRef();\n // `useLayoutEffect` here to avoid blink by duration is 0\n useLayoutEffect(function () {\n var li = liRefs.current.get(value);\n if (li && open !== false) {\n scrollTo(ulRef.current, li.offsetTop, 120);\n }\n }, [value]);\n useLayoutEffect(function () {\n if (open) {\n var li = liRefs.current.get(value);\n if (li) {\n scrollRef.current = waitElementReady(li, function () {\n scrollTo(ulRef.current, li.offsetTop, 0);\n });\n }\n }\n return function () {\n var _scrollRef$current;\n (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.call(scrollRef);\n };\n }, [open]);\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(\"\".concat(prefixCls, \"-column\"), _defineProperty({}, \"\".concat(prefixCls, \"-column-active\"), active)),\n ref: ulRef,\n style: {\n position: 'relative'\n }\n }, units.map(function (unit) {\n var _classNames2;\n if (hideDisabledOptions && unit.disabled) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n key: unit.value,\n ref: function ref(element) {\n liRefs.current.set(unit.value, element);\n },\n className: classNames(cellPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(cellPrefixCls, \"-disabled\"), unit.disabled), _defineProperty(_classNames2, \"\".concat(cellPrefixCls, \"-selected\"), value === unit.value), _classNames2)),\n onClick: function onClick() {\n if (unit.disabled) {\n return;\n }\n onSelect(unit.value);\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(cellPrefixCls, \"-inner\")\n }, unit.label));\n }));\n}\nexport default TimeUnitColumn;","export function leftPad(str, length) {\n var fill = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';\n var current = String(str);\n while (current.length < length) {\n current = \"\".concat(fill).concat(str);\n }\n return current;\n}\nexport var tuple = function tuple() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return args;\n};\nexport function toArray(val) {\n if (val === null || val === undefined) {\n return [];\n }\n return Array.isArray(val) ? val : [val];\n}\nexport default function getDataOrAriaProps(props) {\n var retProps = {};\n Object.keys(props).forEach(function (key) {\n if ((key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role' || key === 'name') && key.substr(0, 7) !== 'data-__') {\n retProps[key] = props[key];\n }\n });\n return retProps;\n}\nexport function getValue(values, index) {\n return values ? values[index] : null;\n}\nexport function updateValues(values, value, index) {\n var newValues = [getValue(values, 0), getValue(values, 1)];\n newValues[index] = typeof value === 'function' ? value(newValues[index]) : value;\n if (!newValues[0] && !newValues[1]) {\n return null;\n }\n return newValues;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport TimeUnitColumn from './TimeUnitColumn';\nimport { leftPad } from '../../utils/miscUtil';\nimport { setTime as utilSetTime } from '../../utils/timeUtil';\nfunction shouldUnitsUpdate(prevUnits, nextUnits) {\n if (prevUnits.length !== nextUnits.length) return true;\n // if any unit's disabled status is different, the units should be re-evaluted\n for (var i = 0; i < prevUnits.length; i += 1) {\n if (prevUnits[i].disabled !== nextUnits[i].disabled) return true;\n }\n return false;\n}\nfunction generateUnits(start, end, step, disabledUnits) {\n var units = [];\n for (var i = start; i <= end; i += step) {\n units.push({\n label: leftPad(i, 2),\n value: i,\n disabled: (disabledUnits || []).includes(i)\n });\n }\n return units;\n}\nfunction TimeBody(props) {\n var generateConfig = props.generateConfig,\n prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n activeColumnIndex = props.activeColumnIndex,\n value = props.value,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n use12Hours = props.use12Hours,\n _props$hourStep = props.hourStep,\n hourStep = _props$hourStep === void 0 ? 1 : _props$hourStep,\n _props$minuteStep = props.minuteStep,\n minuteStep = _props$minuteStep === void 0 ? 1 : _props$minuteStep,\n _props$secondStep = props.secondStep,\n secondStep = _props$secondStep === void 0 ? 1 : _props$secondStep,\n disabledHours = props.disabledHours,\n disabledMinutes = props.disabledMinutes,\n disabledSeconds = props.disabledSeconds,\n disabledTime = props.disabledTime,\n hideDisabledOptions = props.hideDisabledOptions,\n onSelect = props.onSelect;\n // Misc\n var columns = [];\n var contentPrefixCls = \"\".concat(prefixCls, \"-content\");\n var columnPrefixCls = \"\".concat(prefixCls, \"-time-panel\");\n var isPM;\n var originHour = value ? generateConfig.getHour(value) : -1;\n var hour = originHour;\n var minute = value ? generateConfig.getMinute(value) : -1;\n var second = value ? generateConfig.getSecond(value) : -1;\n // Disabled Time\n var now = generateConfig.getNow();\n var _React$useMemo = React.useMemo(function () {\n if (disabledTime) {\n var disabledConfig = disabledTime(now);\n return [disabledConfig.disabledHours, disabledConfig.disabledMinutes, disabledConfig.disabledSeconds];\n }\n return [disabledHours, disabledMinutes, disabledSeconds];\n }, [disabledHours, disabledMinutes, disabledSeconds, disabledTime, now]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n mergedDisabledHours = _React$useMemo2[0],\n mergedDisabledMinutes = _React$useMemo2[1],\n mergedDisabledSeconds = _React$useMemo2[2];\n // Set Time\n var setTime = function setTime(isNewPM, newHour, newMinute, newSecond) {\n var newDate = value || generateConfig.getNow();\n var mergedHour = Math.max(0, newHour);\n var mergedMinute = Math.max(0, newMinute);\n var mergedSecond = Math.max(0, newSecond);\n newDate = utilSetTime(generateConfig, newDate, !use12Hours || !isNewPM ? mergedHour : mergedHour + 12, mergedMinute, mergedSecond);\n return newDate;\n };\n // ========================= Unit =========================\n var rawHours = generateUnits(0, 23, hourStep, mergedDisabledHours && mergedDisabledHours());\n var memorizedRawHours = useMemo(function () {\n return rawHours;\n }, rawHours, shouldUnitsUpdate);\n // Should additional logic to handle 12 hours\n if (use12Hours) {\n isPM = hour >= 12; // -1 means should display AM\n hour %= 12;\n }\n var _React$useMemo3 = React.useMemo(function () {\n if (!use12Hours) {\n return [false, false];\n }\n var AMPMDisabled = [true, true];\n memorizedRawHours.forEach(function (_ref) {\n var disabled = _ref.disabled,\n hourValue = _ref.value;\n if (disabled) return;\n if (hourValue >= 12) {\n AMPMDisabled[1] = false;\n } else {\n AMPMDisabled[0] = false;\n }\n });\n return AMPMDisabled;\n }, [use12Hours, memorizedRawHours]),\n _React$useMemo4 = _slicedToArray(_React$useMemo3, 2),\n AMDisabled = _React$useMemo4[0],\n PMDisabled = _React$useMemo4[1];\n var hours = React.useMemo(function () {\n if (!use12Hours) return memorizedRawHours;\n return memorizedRawHours.filter(isPM ? function (hourMeta) {\n return hourMeta.value >= 12;\n } : function (hourMeta) {\n return hourMeta.value < 12;\n }).map(function (hourMeta) {\n var hourValue = hourMeta.value % 12;\n var hourLabel = hourValue === 0 ? '12' : leftPad(hourValue, 2);\n return _objectSpread(_objectSpread({}, hourMeta), {}, {\n label: hourLabel,\n value: hourValue\n });\n });\n }, [use12Hours, isPM, memorizedRawHours]);\n var minutes = generateUnits(0, 59, minuteStep, mergedDisabledMinutes && mergedDisabledMinutes(originHour));\n var seconds = generateUnits(0, 59, secondStep, mergedDisabledSeconds && mergedDisabledSeconds(originHour, minute));\n // ====================== Operations ======================\n operationRef.current = {\n onUpDown: function onUpDown(diff) {\n var column = columns[activeColumnIndex];\n if (column) {\n var valueIndex = column.units.findIndex(function (unit) {\n return unit.value === column.value;\n });\n var unitLen = column.units.length;\n for (var i = 1; i < unitLen; i += 1) {\n var nextUnit = column.units[(valueIndex + diff * i + unitLen) % unitLen];\n if (nextUnit.disabled !== true) {\n column.onSelect(nextUnit.value);\n break;\n }\n }\n }\n }\n };\n // ======================== Render ========================\n function addColumnNode(condition, node, columnValue, units, onColumnSelect) {\n if (condition !== false) {\n columns.push({\n node: /*#__PURE__*/React.cloneElement(node, {\n prefixCls: columnPrefixCls,\n value: columnValue,\n active: activeColumnIndex === columns.length,\n onSelect: onColumnSelect,\n units: units,\n hideDisabledOptions: hideDisabledOptions\n }),\n onSelect: onColumnSelect,\n value: columnValue,\n units: units\n });\n }\n }\n // Hour\n addColumnNode(showHour, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"hour\"\n }), hour, hours, function (num) {\n onSelect(setTime(isPM, num, minute, second), 'mouse');\n });\n // Minute\n addColumnNode(showMinute, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"minute\"\n }), minute, minutes, function (num) {\n onSelect(setTime(isPM, hour, num, second), 'mouse');\n });\n // Second\n addColumnNode(showSecond, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"second\"\n }), second, seconds, function (num) {\n onSelect(setTime(isPM, hour, minute, num), 'mouse');\n });\n // 12 Hours\n var PMIndex = -1;\n if (typeof isPM === 'boolean') {\n PMIndex = isPM ? 1 : 0;\n }\n addColumnNode(use12Hours === true, /*#__PURE__*/React.createElement(TimeUnitColumn, {\n key: \"12hours\"\n }), PMIndex, [{\n label: 'AM',\n value: 0,\n disabled: AMDisabled\n }, {\n label: 'PM',\n value: 1,\n disabled: PMDisabled\n }], function (num) {\n onSelect(setTime(!!num, hour, minute, second), 'mouse');\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: contentPrefixCls\n }, columns.map(function (_ref2) {\n var node = _ref2.node;\n return node;\n }));\n}\nexport default TimeBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport TimeHeader from './TimeHeader';\nimport TimeBody from './TimeBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nvar countBoolean = function countBoolean(boolList) {\n return boolList.filter(function (bool) {\n return bool !== false;\n }).length;\n};\nfunction TimePanel(props) {\n var generateConfig = props.generateConfig,\n _props$format = props.format,\n format = _props$format === void 0 ? 'HH:mm:ss' : _props$format,\n prefixCls = props.prefixCls,\n active = props.active,\n operationRef = props.operationRef,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n _props$use12Hours = props.use12Hours,\n use12Hours = _props$use12Hours === void 0 ? false : _props$use12Hours,\n onSelect = props.onSelect,\n value = props.value;\n var panelPrefixCls = \"\".concat(prefixCls, \"-time-panel\");\n var bodyOperationRef = React.useRef();\n // ======================= Keyboard =======================\n var _React$useState = React.useState(-1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeColumnIndex = _React$useState2[0],\n setActiveColumnIndex = _React$useState2[1];\n var columnsCount = countBoolean([showHour, showMinute, showSecond, use12Hours]);\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n setActiveColumnIndex((activeColumnIndex + diff + columnsCount) % columnsCount);\n },\n onUpDown: function onUpDown(diff) {\n if (activeColumnIndex === -1) {\n setActiveColumnIndex(0);\n } else if (bodyOperationRef.current) {\n bodyOperationRef.current.onUpDown(diff);\n }\n },\n onEnter: function onEnter() {\n onSelect(value || generateConfig.getNow(), 'key');\n setActiveColumnIndex(-1);\n }\n });\n },\n onBlur: function onBlur() {\n setActiveColumnIndex(-1);\n }\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), active))\n }, /*#__PURE__*/React.createElement(TimeHeader, _extends({}, props, {\n format: format,\n prefixCls: prefixCls\n })), /*#__PURE__*/React.createElement(TimeBody, _extends({}, props, {\n prefixCls: prefixCls,\n activeColumnIndex: activeColumnIndex,\n operationRef: bodyOperationRef\n })));\n}\nexport default TimePanel;","import * as React from 'react';\nvar RangeContext = /*#__PURE__*/React.createContext({});\nexport default RangeContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { isInRange } from '../utils/dateUtil';\nimport { getValue } from '../utils/miscUtil';\nexport default function useCellClassName(_ref) {\n var cellPrefixCls = _ref.cellPrefixCls,\n generateConfig = _ref.generateConfig,\n rangedValue = _ref.rangedValue,\n hoverRangedValue = _ref.hoverRangedValue,\n isInView = _ref.isInView,\n isSameCell = _ref.isSameCell,\n offsetCell = _ref.offsetCell,\n today = _ref.today,\n value = _ref.value;\n function getClassName(currentDate) {\n var _ref2;\n var prevDate = offsetCell(currentDate, -1);\n var nextDate = offsetCell(currentDate, 1);\n var rangeStart = getValue(rangedValue, 0);\n var rangeEnd = getValue(rangedValue, 1);\n var hoverStart = getValue(hoverRangedValue, 0);\n var hoverEnd = getValue(hoverRangedValue, 1);\n var isRangeHovered = isInRange(generateConfig, hoverStart, hoverEnd, currentDate);\n function isRangeStart(date) {\n return isSameCell(rangeStart, date);\n }\n function isRangeEnd(date) {\n return isSameCell(rangeEnd, date);\n }\n var isHoverStart = isSameCell(hoverStart, currentDate);\n var isHoverEnd = isSameCell(hoverEnd, currentDate);\n var isHoverEdgeStart = (isRangeHovered || isHoverEnd) && (!isInView(prevDate) || isRangeEnd(prevDate));\n var isHoverEdgeEnd = (isRangeHovered || isHoverStart) && (!isInView(nextDate) || isRangeStart(nextDate));\n return _ref2 = {}, _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-in-view\"), isInView(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-in-range\"), isInRange(generateConfig, rangeStart, rangeEnd, currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start\"), isRangeStart(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end\"), isRangeEnd(currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start-single\"), isRangeStart(currentDate) && !rangeEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end-single\"), isRangeEnd(currentDate) && !rangeStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-start-near-hover\"), isRangeStart(currentDate) && (isSameCell(prevDate, hoverStart) || isInRange(generateConfig, hoverStart, hoverEnd, prevDate))), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-end-near-hover\"), isRangeEnd(currentDate) && (isSameCell(nextDate, hoverEnd) || isInRange(generateConfig, hoverStart, hoverEnd, nextDate))), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover\"), isRangeHovered), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-start\"), isHoverStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-end\"), isHoverEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-start\"), isHoverEdgeStart), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-end\"), isHoverEdgeEnd), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-start-near-range\"), isHoverEdgeStart && isSameCell(prevDate, rangeEnd)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-range-hover-edge-end-near-range\"), isHoverEdgeEnd && isSameCell(nextDate, rangeStart)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-today\"), isSameCell(today, currentDate)), _defineProperty(_ref2, \"\".concat(cellPrefixCls, \"-selected\"), isSameCell(value, currentDate)), _ref2;\n }\n return getClassName;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { WEEK_DAY_COUNT, getWeekStartDate, isSameDate, isSameMonth, formatValue } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nfunction DateBody(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n prefixColumn = props.prefixColumn,\n locale = props.locale,\n rowCount = props.rowCount,\n viewDate = props.viewDate,\n value = props.value,\n dateRender = props.dateRender;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var baseDate = getWeekStartDate(locale.locale, generateConfig, viewDate);\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var weekFirstDay = generateConfig.locale.getWeekFirstDay(locale.locale);\n var today = generateConfig.getNow();\n // ============================== Header ==============================\n var headerCells = [];\n var weekDaysLocale = locale.shortWeekDays || (generateConfig.locale.getShortWeekDays ? generateConfig.locale.getShortWeekDays(locale.locale) : []);\n if (prefixColumn) {\n headerCells.push( /*#__PURE__*/React.createElement(\"th\", {\n key: \"empty\",\n \"aria-label\": \"empty cell\"\n }));\n }\n for (var i = 0; i < WEEK_DAY_COUNT; i += 1) {\n headerCells.push( /*#__PURE__*/React.createElement(\"th\", {\n key: i\n }, weekDaysLocale[(i + weekFirstDay) % WEEK_DAY_COUNT]));\n }\n // =============================== Body ===============================\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n today: today,\n value: value,\n generateConfig: generateConfig,\n rangedValue: prefixColumn ? null : rangedValue,\n hoverRangedValue: prefixColumn ? null : hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameDate(generateConfig, current, target);\n },\n isInView: function isInView(date) {\n return isSameMonth(generateConfig, date, viewDate);\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addDate(date, offset);\n }\n });\n var getCellNode = dateRender ? function (date) {\n return dateRender(date, today);\n } : undefined;\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: rowCount,\n colNum: WEEK_DAY_COUNT,\n baseDate: baseDate,\n getCellNode: getCellNode,\n getCellText: generateConfig.getDate,\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addDate,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-MM-DD',\n generateConfig: generateConfig\n });\n },\n headerCells: headerCells\n }));\n}\nexport default DateBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction DateHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextMonth = props.onNextMonth,\n onPrevMonth = props.onPrevMonth,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick,\n onMonthClick = props.onMonthClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var monthsLocale = locale.shortMonths || (generateConfig.locale.getShortMonths ? generateConfig.locale.getShortMonths(locale.locale) : []);\n var month = generateConfig.getMonth(viewDate);\n // =================== Month & Year ===================\n var yearNode = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n key: \"year\",\n onClick: onYearClick,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n }));\n var monthNode = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n key: \"month\",\n onClick: onMonthClick,\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-month-btn\")\n }, locale.monthFormat ? formatValue(viewDate, {\n locale: locale,\n format: locale.monthFormat,\n generateConfig: generateConfig\n }) : monthsLocale[month]);\n var monthYearNodes = locale.monthBeforeYear ? [monthNode, yearNode] : [yearNode, monthNode];\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onPrev: onPrevMonth,\n onNext: onNextMonth,\n onSuperNext: onNextYear\n }), monthYearNodes);\n}\nexport default DateHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport DateBody from './DateBody';\nimport DateHeader from './DateHeader';\nimport { WEEK_DAY_COUNT } from '../../utils/dateUtil';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nvar DATE_ROW_COUNT = 6;\nfunction DatePanel(props) {\n var prefixCls = props.prefixCls,\n _props$panelName = props.panelName,\n panelName = _props$panelName === void 0 ? 'date' : _props$panelName,\n keyboardConfig = props.keyboardConfig,\n active = props.active,\n operationRef = props.operationRef,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onViewDateChange = props.onViewDateChange,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-\").concat(panelName, \"-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, _objectSpread({\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addDate(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addDate(value || viewDate, diff * WEEK_DAY_COUNT), 'key');\n },\n onPageUpDown: function onPageUpDown(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff), 'key');\n }\n }, keyboardConfig));\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n var onMonthChange = function onMonthChange(diff) {\n var newDate = generateConfig.addMonth(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), active))\n }, /*#__PURE__*/React.createElement(DateHeader, _extends({}, props, {\n prefixCls: prefixCls,\n value: value,\n viewDate: viewDate\n // View Operation\n ,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onPrevMonth: function onPrevMonth() {\n onMonthChange(-1);\n },\n onNextMonth: function onNextMonth() {\n onMonthChange(1);\n },\n onMonthClick: function onMonthClick() {\n onPanelChange('month', viewDate);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(DateBody, _extends({}, props, {\n onSelect: function onSelect(date) {\n return _onSelect(date, 'mouse');\n },\n prefixCls: prefixCls,\n value: value,\n viewDate: viewDate,\n rowCount: DATE_ROW_COUNT\n })));\n}\nexport default DatePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport DatePanel from '../DatePanel';\nimport TimePanel from '../TimePanel';\nimport { tuple } from '../../utils/miscUtil';\nimport { setDateTime as setTime } from '../../utils/timeUtil';\nvar ACTIVE_PANEL = tuple('date', 'time');\nfunction DatetimePanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n generateConfig = props.generateConfig,\n value = props.value,\n defaultValue = props.defaultValue,\n disabledTime = props.disabledTime,\n showTime = props.showTime,\n onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-datetime-panel\");\n var _React$useState = React.useState(null),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activePanel = _React$useState2[0],\n setActivePanel = _React$useState2[1];\n var dateOperationRef = React.useRef({});\n var timeOperationRef = React.useRef({});\n var timeProps = _typeof(showTime) === 'object' ? _objectSpread({}, showTime) : {};\n // ======================= Keyboard =======================\n function getNextActive(offset) {\n var activeIndex = ACTIVE_PANEL.indexOf(activePanel) + offset;\n var nextActivePanel = ACTIVE_PANEL[activeIndex] || null;\n return nextActivePanel;\n }\n var onBlur = function onBlur(e) {\n if (timeOperationRef.current.onBlur) {\n timeOperationRef.current.onBlur(e);\n }\n setActivePanel(null);\n };\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n // Switch active panel\n if (event.which === KeyCode.TAB) {\n var nextActivePanel = getNextActive(event.shiftKey ? -1 : 1);\n setActivePanel(nextActivePanel);\n if (nextActivePanel) {\n event.preventDefault();\n }\n return true;\n }\n // Operate on current active panel\n if (activePanel) {\n var ref = activePanel === 'date' ? dateOperationRef : timeOperationRef;\n if (ref.current && ref.current.onKeyDown) {\n ref.current.onKeyDown(event);\n }\n return true;\n }\n // Switch first active panel if operate without panel\n if ([KeyCode.LEFT, KeyCode.RIGHT, KeyCode.UP, KeyCode.DOWN].includes(event.which)) {\n setActivePanel('date');\n return true;\n }\n return false;\n },\n onBlur: onBlur,\n onClose: onBlur\n };\n // ======================== Events ========================\n var onInternalSelect = function onInternalSelect(date, source) {\n var selectedDate = date;\n if (source === 'date' && !value && timeProps.defaultValue) {\n // Date with time defaultValue\n selectedDate = generateConfig.setHour(selectedDate, generateConfig.getHour(timeProps.defaultValue));\n selectedDate = generateConfig.setMinute(selectedDate, generateConfig.getMinute(timeProps.defaultValue));\n selectedDate = generateConfig.setSecond(selectedDate, generateConfig.getSecond(timeProps.defaultValue));\n } else if (source === 'time' && !value && defaultValue) {\n selectedDate = generateConfig.setYear(selectedDate, generateConfig.getYear(defaultValue));\n selectedDate = generateConfig.setMonth(selectedDate, generateConfig.getMonth(defaultValue));\n selectedDate = generateConfig.setDate(selectedDate, generateConfig.getDate(defaultValue));\n }\n if (onSelect) {\n onSelect(selectedDate, 'mouse');\n }\n };\n // ======================== Render ========================\n var disabledTimes = disabledTime ? disabledTime(value || null) : {};\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(panelPrefixCls, _defineProperty({}, \"\".concat(panelPrefixCls, \"-active\"), activePanel))\n }, /*#__PURE__*/React.createElement(DatePanel, _extends({}, props, {\n operationRef: dateOperationRef,\n active: activePanel === 'date',\n onSelect: function onSelect(date) {\n onInternalSelect(setTime(generateConfig, date, !value && _typeof(showTime) === 'object' ? showTime.defaultValue : null), 'date');\n }\n })), /*#__PURE__*/React.createElement(TimePanel, _extends({}, props, {\n format: undefined\n }, timeProps, disabledTimes, {\n disabledTime: null,\n defaultValue: undefined,\n operationRef: timeOperationRef,\n active: activePanel === 'time',\n onSelect: function onSelect(date) {\n onInternalSelect(date, 'time');\n }\n })));\n}\nexport default DatetimePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport DatePanel from '../DatePanel';\nimport { isSameWeek } from '../../utils/dateUtil';\nfunction WeekPanel(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n value = props.value;\n // Render additional column\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var prefixColumn = function prefixColumn(date) {\n return /*#__PURE__*/React.createElement(\"td\", {\n key: \"week\",\n className: classNames(cellPrefixCls, \"\".concat(cellPrefixCls, \"-week\"))\n }, generateConfig.locale.getWeek(locale.locale, date));\n };\n // Add row className\n var rowPrefixCls = \"\".concat(prefixCls, \"-week-panel-row\");\n var rowClassName = function rowClassName(date) {\n return classNames(rowPrefixCls, _defineProperty({}, \"\".concat(rowPrefixCls, \"-selected\"), isSameWeek(generateConfig, locale.locale, value, date)));\n };\n return /*#__PURE__*/React.createElement(DatePanel, _extends({}, props, {\n panelName: \"week\",\n prefixColumn: prefixColumn,\n rowClassName: rowClassName,\n keyboardConfig: {\n onLeftRight: null\n }\n }));\n}\nexport default WeekPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction MonthHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onSuperNext: onNextYear\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onYearClick,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n })));\n}\nexport default MonthHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { formatValue, isSameMonth } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nexport var MONTH_COL_COUNT = 3;\nvar MONTH_ROW_COUNT = 4;\nfunction MonthBody(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n value = props.value,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig,\n monthCellRender = props.monthCellRender;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameMonth(generateConfig, current, target);\n },\n isInView: function isInView() {\n return true;\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addMonth(date, offset);\n }\n });\n var monthsLocale = locale.shortMonths || (generateConfig.locale.getShortMonths ? generateConfig.locale.getShortMonths(locale.locale) : []);\n var baseMonth = generateConfig.setMonth(viewDate, 0);\n var getCellNode = monthCellRender ? function (date) {\n return monthCellRender(date, locale);\n } : undefined;\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: MONTH_ROW_COUNT,\n colNum: MONTH_COL_COUNT,\n baseDate: baseMonth,\n getCellNode: getCellNode,\n getCellText: function getCellText(date) {\n return locale.monthFormat ? formatValue(date, {\n locale: locale,\n format: locale.monthFormat,\n generateConfig: generateConfig\n }) : monthsLocale[generateConfig.getMonth(date)];\n },\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addMonth,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-MM',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default MonthBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport MonthHeader from './MonthHeader';\nimport MonthBody, { MONTH_COL_COUNT } from './MonthBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nfunction MonthPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-month-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff * MONTH_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange('date', value || viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(MonthHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(MonthBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n _onSelect(date, 'mouse');\n onPanelChange('date', date);\n }\n })));\n}\nexport default MonthPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport PanelContext from '../../PanelContext';\nimport { formatValue } from '../../utils/dateUtil';\nfunction QuarterHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n viewDate = props.viewDate,\n onNextYear = props.onNextYear,\n onPrevYear = props.onPrevYear,\n onYearClick = props.onYearClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevYear,\n onSuperNext: onNextYear\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onYearClick,\n className: \"\".concat(prefixCls, \"-year-btn\")\n }, formatValue(viewDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n })));\n}\nexport default QuarterHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { formatValue, isSameQuarter } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport PanelBody from '../PanelBody';\nexport var QUARTER_COL_COUNT = 4;\nvar QUARTER_ROW_COUNT = 1;\nfunction QuarterBody(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n value = props.value,\n viewDate = props.viewDate,\n generateConfig = props.generateConfig;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n var getCellClassName = useCellClassName({\n cellPrefixCls: cellPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameQuarter(generateConfig, current, target);\n },\n isInView: function isInView() {\n return true;\n },\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addMonth(date, offset * 3);\n }\n });\n var baseQuarter = generateConfig.setDate(generateConfig.setMonth(viewDate, 0), 1);\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: QUARTER_ROW_COUNT,\n colNum: QUARTER_COL_COUNT,\n baseDate: baseQuarter,\n getCellText: function getCellText(date) {\n return formatValue(date, {\n locale: locale,\n format: locale.quarterFormat || '[Q]Q',\n generateConfig: generateConfig\n });\n },\n getCellClassName: getCellClassName,\n getCellDate: function getCellDate(date, offset) {\n return generateConfig.addMonth(date, offset * 3);\n },\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY-[Q]Q',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default QuarterBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport QuarterHeader from './QuarterHeader';\nimport QuarterBody from './QuarterBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nfunction QuarterPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n onPanelChange = props.onPanelChange,\n _onSelect = props.onSelect;\n var panelPrefixCls = \"\".concat(prefixCls, \"-quarter-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addMonth(value || viewDate, diff * 3), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onYearChange = function onYearChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(QuarterHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevYear: function onPrevYear() {\n onYearChange(-1);\n },\n onNextYear: function onNextYear() {\n onYearChange(1);\n },\n onYearClick: function onYearClick() {\n onPanelChange('year', viewDate);\n }\n })), /*#__PURE__*/React.createElement(QuarterBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n _onSelect(date, 'mouse');\n }\n })));\n}\nexport default QuarterPanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Header from '../Header';\nimport { YEAR_DECADE_COUNT } from '.';\nimport PanelContext from '../../PanelContext';\nfunction YearHeader(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n viewDate = props.viewDate,\n onPrevDecade = props.onPrevDecade,\n onNextDecade = props.onNextDecade,\n onDecadeClick = props.onDecadeClick;\n var _React$useContext = React.useContext(PanelContext),\n hideHeader = _React$useContext.hideHeader;\n if (hideHeader) {\n return null;\n }\n var headerPrefixCls = \"\".concat(prefixCls, \"-header\");\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / YEAR_DECADE_COUNT) * YEAR_DECADE_COUNT;\n var endYear = startYear + YEAR_DECADE_COUNT - 1;\n return /*#__PURE__*/React.createElement(Header, _extends({}, props, {\n prefixCls: headerPrefixCls,\n onSuperPrev: onPrevDecade,\n onSuperNext: onNextDecade\n }), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onDecadeClick,\n className: \"\".concat(prefixCls, \"-decade-btn\")\n }, startYear, \"-\", endYear));\n}\nexport default YearHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { YEAR_DECADE_COUNT } from '.';\nimport useCellClassName from '../../hooks/useCellClassName';\nimport { formatValue, isSameYear } from '../../utils/dateUtil';\nimport RangeContext from '../../RangeContext';\nimport PanelBody from '../PanelBody';\nexport var YEAR_COL_COUNT = 3;\nvar YEAR_ROW_COUNT = 4;\nfunction YearBody(props) {\n var prefixCls = props.prefixCls,\n value = props.value,\n viewDate = props.viewDate,\n locale = props.locale,\n generateConfig = props.generateConfig;\n var _React$useContext = React.useContext(RangeContext),\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var yearPrefixCls = \"\".concat(prefixCls, \"-cell\");\n // =============================== Year ===============================\n var yearNumber = generateConfig.getYear(viewDate);\n var startYear = Math.floor(yearNumber / YEAR_DECADE_COUNT) * YEAR_DECADE_COUNT;\n var endYear = startYear + YEAR_DECADE_COUNT - 1;\n var baseYear = generateConfig.setYear(viewDate, startYear - Math.ceil((YEAR_COL_COUNT * YEAR_ROW_COUNT - YEAR_DECADE_COUNT) / 2));\n var isInView = function isInView(date) {\n var currentYearNumber = generateConfig.getYear(date);\n return startYear <= currentYearNumber && currentYearNumber <= endYear;\n };\n var getCellClassName = useCellClassName({\n cellPrefixCls: yearPrefixCls,\n value: value,\n generateConfig: generateConfig,\n rangedValue: rangedValue,\n hoverRangedValue: hoverRangedValue,\n isSameCell: function isSameCell(current, target) {\n return isSameYear(generateConfig, current, target);\n },\n isInView: isInView,\n offsetCell: function offsetCell(date, offset) {\n return generateConfig.addYear(date, offset);\n }\n });\n return /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n rowNum: YEAR_ROW_COUNT,\n colNum: YEAR_COL_COUNT,\n baseDate: baseYear,\n getCellText: generateConfig.getYear,\n getCellClassName: getCellClassName,\n getCellDate: generateConfig.addYear,\n titleCell: function titleCell(date) {\n return formatValue(date, {\n locale: locale,\n format: 'YYYY',\n generateConfig: generateConfig\n });\n }\n }));\n}\nexport default YearBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport YearHeader from './YearHeader';\nimport YearBody, { YEAR_COL_COUNT } from './YearBody';\nimport { createKeyDownHandler } from '../../utils/uiUtil';\nexport var YEAR_DECADE_COUNT = 10;\nfunction YearPanel(props) {\n var prefixCls = props.prefixCls,\n operationRef = props.operationRef,\n onViewDateChange = props.onViewDateChange,\n generateConfig = props.generateConfig,\n value = props.value,\n viewDate = props.viewDate,\n sourceMode = props.sourceMode,\n _onSelect = props.onSelect,\n onPanelChange = props.onPanelChange;\n var panelPrefixCls = \"\".concat(prefixCls, \"-year-panel\");\n // ======================= Keyboard =======================\n operationRef.current = {\n onKeyDown: function onKeyDown(event) {\n return createKeyDownHandler(event, {\n onLeftRight: function onLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff), 'key');\n },\n onCtrlLeftRight: function onCtrlLeftRight(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff * YEAR_DECADE_COUNT), 'key');\n },\n onUpDown: function onUpDown(diff) {\n _onSelect(generateConfig.addYear(value || viewDate, diff * YEAR_COL_COUNT), 'key');\n },\n onEnter: function onEnter() {\n onPanelChange(sourceMode === 'date' ? 'date' : 'month', value || viewDate);\n }\n });\n }\n };\n // ==================== View Operation ====================\n var onDecadeChange = function onDecadeChange(diff) {\n var newDate = generateConfig.addYear(viewDate, diff * 10);\n onViewDateChange(newDate);\n onPanelChange(null, newDate);\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(YearHeader, _extends({}, props, {\n prefixCls: prefixCls,\n onPrevDecade: function onPrevDecade() {\n onDecadeChange(-1);\n },\n onNextDecade: function onNextDecade() {\n onDecadeChange(1);\n },\n onDecadeClick: function onDecadeClick() {\n onPanelChange('decade', viewDate);\n }\n })), /*#__PURE__*/React.createElement(YearBody, _extends({}, props, {\n prefixCls: prefixCls,\n onSelect: function onSelect(date) {\n onPanelChange(sourceMode === 'date' ? 'date' : 'month', date);\n _onSelect(date, 'mouse');\n }\n })));\n}\nexport default YearPanel;","import * as React from 'react';\nexport default function getExtraFooter(prefixCls, mode, renderExtraFooter) {\n if (!renderExtraFooter) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer-extra\")\n }, renderExtraFooter(mode));\n}","import * as React from 'react';\nexport default function getRanges(_ref) {\n var prefixCls = _ref.prefixCls,\n _ref$rangeList = _ref.rangeList,\n rangeList = _ref$rangeList === void 0 ? [] : _ref$rangeList,\n _ref$components = _ref.components,\n components = _ref$components === void 0 ? {} : _ref$components,\n needConfirmButton = _ref.needConfirmButton,\n onNow = _ref.onNow,\n onOk = _ref.onOk,\n okDisabled = _ref.okDisabled,\n showNow = _ref.showNow,\n locale = _ref.locale;\n var presetNode;\n var okNode;\n if (rangeList.length) {\n var Item = components.rangeItem || 'span';\n presetNode = /*#__PURE__*/React.createElement(React.Fragment, null, rangeList.map(function (_ref2) {\n var label = _ref2.label,\n onClick = _ref2.onClick,\n onMouseEnter = _ref2.onMouseEnter,\n onMouseLeave = _ref2.onMouseLeave;\n return /*#__PURE__*/React.createElement(\"li\", {\n key: label,\n className: \"\".concat(prefixCls, \"-preset\")\n }, /*#__PURE__*/React.createElement(Item, {\n onClick: onClick,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave\n }, label));\n }));\n }\n if (needConfirmButton) {\n var Button = components.button || 'button';\n if (onNow && !presetNode && showNow !== false) {\n presetNode = /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-now\")\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"\".concat(prefixCls, \"-now-btn\"),\n onClick: onNow\n }, locale.now));\n }\n okNode = needConfirmButton && /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-ok\")\n }, /*#__PURE__*/React.createElement(Button, {\n disabled: okDisabled,\n onClick: onOk\n }, locale.ok));\n }\n if (!presetNode && !okNode) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-ranges\")\n }, presetNode, okNode);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * Logic:\n * When `mode` === `picker`,\n * click will trigger `onSelect` (if value changed trigger `onChange` also).\n * Panel change will not trigger `onSelect` but trigger `onPanelChange`\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport TimePanel from './panels/TimePanel';\nimport DatetimePanel from './panels/DatetimePanel';\nimport DatePanel from './panels/DatePanel';\nimport WeekPanel from './panels/WeekPanel';\nimport MonthPanel from './panels/MonthPanel';\nimport QuarterPanel from './panels/QuarterPanel';\nimport YearPanel from './panels/YearPanel';\nimport DecadePanel from './panels/DecadePanel';\nimport { isEqual } from './utils/dateUtil';\nimport PanelContext from './PanelContext';\nimport { PickerModeMap } from './utils/uiUtil';\nimport RangeContext from './RangeContext';\nimport getExtraFooter from './utils/getExtraFooter';\nimport getRanges from './utils/getRanges';\nimport { getLowerBoundTime, setDateTime, setTime } from './utils/timeUtil';\nfunction PickerPanel(props) {\n var _classNames;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n className = props.className,\n style = props.style,\n locale = props.locale,\n generateConfig = props.generateConfig,\n value = props.value,\n defaultValue = props.defaultValue,\n pickerValue = props.pickerValue,\n defaultPickerValue = props.defaultPickerValue,\n disabledDate = props.disabledDate,\n mode = props.mode,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n _props$tabIndex = props.tabIndex,\n tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,\n showNow = props.showNow,\n showTime = props.showTime,\n showToday = props.showToday,\n renderExtraFooter = props.renderExtraFooter,\n hideHeader = props.hideHeader,\n onSelect = props.onSelect,\n onChange = props.onChange,\n onPanelChange = props.onPanelChange,\n onMouseDown = props.onMouseDown,\n onPickerValueChange = props.onPickerValueChange,\n _onOk = props.onOk,\n components = props.components,\n direction = props.direction,\n _props$hourStep = props.hourStep,\n hourStep = _props$hourStep === void 0 ? 1 : _props$hourStep,\n _props$minuteStep = props.minuteStep,\n minuteStep = _props$minuteStep === void 0 ? 1 : _props$minuteStep,\n _props$secondStep = props.secondStep,\n secondStep = _props$secondStep === void 0 ? 1 : _props$secondStep;\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n var isHourStepValid = 24 % hourStep === 0;\n var isMinuteStepValid = 60 % minuteStep === 0;\n var isSecondStepValid = 60 % secondStep === 0;\n if (process.env.NODE_ENV !== 'production') {\n warning(!value || generateConfig.isValidate(value), 'Invalidate date pass to `value`.');\n warning(!value || generateConfig.isValidate(value), 'Invalidate date pass to `defaultValue`.');\n warning(isHourStepValid, \"`hourStep` \".concat(hourStep, \" is invalid. It should be a factor of 24.\"));\n warning(isMinuteStepValid, \"`minuteStep` \".concat(minuteStep, \" is invalid. It should be a factor of 60.\"));\n warning(isSecondStepValid, \"`secondStep` \".concat(secondStep, \" is invalid. It should be a factor of 60.\"));\n }\n // ============================ State =============================\n var panelContext = React.useContext(PanelContext);\n var operationRef = panelContext.operationRef,\n panelDivRef = panelContext.panelRef,\n onContextSelect = panelContext.onSelect,\n hideRanges = panelContext.hideRanges,\n defaultOpenValue = panelContext.defaultOpenValue;\n var _React$useContext = React.useContext(RangeContext),\n inRange = _React$useContext.inRange,\n panelPosition = _React$useContext.panelPosition,\n rangedValue = _React$useContext.rangedValue,\n hoverRangedValue = _React$useContext.hoverRangedValue;\n var panelRef = React.useRef({});\n // Handle init logic\n var initRef = React.useRef(true);\n // Value\n var _useMergedState = useMergedState(null, {\n value: value,\n defaultValue: defaultValue,\n postState: function postState(val) {\n if (!val && defaultOpenValue && picker === 'time') {\n return defaultOpenValue;\n }\n return val;\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setInnerValue = _useMergedState2[1];\n // View date control\n var _useMergedState3 = useMergedState(null, {\n value: pickerValue,\n defaultValue: defaultPickerValue || mergedValue,\n postState: function postState(date) {\n var now = generateConfig.getNow();\n if (!date) {\n return now;\n }\n // When value is null and set showTime\n if (!mergedValue && showTime) {\n var defaultDateObject = _typeof(showTime) === 'object' ? showTime.defaultValue : defaultValue;\n return setDateTime(generateConfig, Array.isArray(date) ? date[0] : date, defaultDateObject || now);\n }\n return Array.isArray(date) ? date[0] : date;\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n viewDate = _useMergedState4[0],\n setInnerViewDate = _useMergedState4[1];\n var setViewDate = function setViewDate(date) {\n setInnerViewDate(date);\n if (onPickerValueChange) {\n onPickerValueChange(date);\n }\n };\n // Panel control\n var getInternalNextMode = function getInternalNextMode(nextMode) {\n var getNextMode = PickerModeMap[picker];\n if (getNextMode) {\n return getNextMode(nextMode);\n }\n return nextMode;\n };\n // Save panel is changed from which panel\n var _useMergedState5 = useMergedState(function () {\n if (picker === 'time') {\n return 'time';\n }\n return getInternalNextMode('date');\n }, {\n value: mode\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n mergedMode = _useMergedState6[0],\n setInnerMode = _useMergedState6[1];\n React.useEffect(function () {\n setInnerMode(picker);\n }, [picker]);\n var _React$useState = React.useState(function () {\n return mergedMode;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n sourceMode = _React$useState2[0],\n setSourceMode = _React$useState2[1];\n var onInternalPanelChange = function onInternalPanelChange(newMode, viewValue) {\n var nextMode = getInternalNextMode(newMode || mergedMode);\n setSourceMode(mergedMode);\n setInnerMode(nextMode);\n if (onPanelChange && (mergedMode !== nextMode || isEqual(generateConfig, viewDate, viewDate))) {\n onPanelChange(viewValue, nextMode);\n }\n };\n var triggerSelect = function triggerSelect(date, type) {\n var forceTriggerSelect = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n if (mergedMode === picker || forceTriggerSelect) {\n setInnerValue(date);\n if (onSelect) {\n onSelect(date);\n }\n if (onContextSelect) {\n onContextSelect(date, type);\n }\n if (onChange && !isEqual(generateConfig, date, mergedValue) && !(disabledDate === null || disabledDate === void 0 ? void 0 : disabledDate(date))) {\n onChange(date);\n }\n }\n };\n // ========================= Interactive ==========================\n var onInternalKeyDown = function onInternalKeyDown(e) {\n if (panelRef.current && panelRef.current.onKeyDown) {\n if ([KeyCode.LEFT, KeyCode.RIGHT, KeyCode.UP, KeyCode.DOWN, KeyCode.PAGE_UP, KeyCode.PAGE_DOWN, KeyCode.ENTER].includes(e.which)) {\n e.preventDefault();\n }\n return panelRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Panel not correct handle keyDown event. Please help to fire issue about this.');\n return false;\n }\n /* eslint-enable no-lone-blocks */\n };\n\n var onInternalBlur = function onInternalBlur(e) {\n if (panelRef.current && panelRef.current.onBlur) {\n panelRef.current.onBlur(e);\n }\n };\n if (operationRef && panelPosition !== 'right') {\n operationRef.current = {\n onKeyDown: onInternalKeyDown,\n onClose: function onClose() {\n if (panelRef.current && panelRef.current.onClose) {\n panelRef.current.onClose();\n }\n }\n };\n }\n // ============================ Effect ============================\n React.useEffect(function () {\n if (value && !initRef.current) {\n setInnerViewDate(value);\n }\n }, [value]);\n React.useEffect(function () {\n initRef.current = false;\n }, []);\n // ============================ Panels ============================\n var panelNode;\n var pickerProps = _objectSpread(_objectSpread({}, props), {}, {\n operationRef: panelRef,\n prefixCls: prefixCls,\n viewDate: viewDate,\n value: mergedValue,\n onViewDateChange: setViewDate,\n sourceMode: sourceMode,\n onPanelChange: onInternalPanelChange,\n disabledDate: disabledDate\n });\n delete pickerProps.onChange;\n delete pickerProps.onSelect;\n switch (mergedMode) {\n case 'decade':\n panelNode = /*#__PURE__*/React.createElement(DecadePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'year':\n panelNode = /*#__PURE__*/React.createElement(YearPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'month':\n panelNode = /*#__PURE__*/React.createElement(MonthPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'quarter':\n panelNode = /*#__PURE__*/React.createElement(QuarterPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'week':\n panelNode = /*#__PURE__*/React.createElement(WeekPanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n case 'time':\n delete pickerProps.showTime;\n panelNode = /*#__PURE__*/React.createElement(TimePanel, _extends({}, pickerProps, _typeof(showTime) === 'object' ? showTime : null, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n break;\n default:\n if (showTime) {\n panelNode = /*#__PURE__*/React.createElement(DatetimePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n } else {\n panelNode = /*#__PURE__*/React.createElement(DatePanel, _extends({}, pickerProps, {\n onSelect: function onSelect(date, type) {\n setViewDate(date);\n triggerSelect(date, type);\n }\n }));\n }\n }\n // ============================ Footer ============================\n var extraFooter;\n var rangesNode;\n var onNow = function onNow() {\n var now = generateConfig.getNow();\n var lowerBoundTime = getLowerBoundTime(generateConfig.getHour(now), generateConfig.getMinute(now), generateConfig.getSecond(now), isHourStepValid ? hourStep : 1, isMinuteStepValid ? minuteStep : 1, isSecondStepValid ? secondStep : 1);\n var adjustedNow = setTime(generateConfig, now, lowerBoundTime[0],\n // hour\n lowerBoundTime[1],\n // minute\n lowerBoundTime[2]);\n triggerSelect(adjustedNow, 'submit');\n };\n if (!hideRanges) {\n extraFooter = getExtraFooter(prefixCls, mergedMode, renderExtraFooter);\n rangesNode = getRanges({\n prefixCls: prefixCls,\n components: components,\n needConfirmButton: needConfirmButton,\n okDisabled: !mergedValue || disabledDate && disabledDate(mergedValue),\n locale: locale,\n showNow: showNow,\n onNow: needConfirmButton && onNow,\n onOk: function onOk() {\n if (mergedValue) {\n triggerSelect(mergedValue, 'submit', true);\n if (_onOk) {\n _onOk(mergedValue);\n }\n }\n }\n });\n }\n var todayNode;\n if (showToday && mergedMode === 'date' && picker === 'date' && !showTime) {\n var now = generateConfig.getNow();\n var todayCls = \"\".concat(prefixCls, \"-today-btn\");\n var disabled = disabledDate && disabledDate(now);\n todayNode = /*#__PURE__*/React.createElement(\"a\", {\n className: classNames(todayCls, disabled && \"\".concat(todayCls, \"-disabled\")),\n \"aria-disabled\": disabled,\n onClick: function onClick() {\n if (!disabled) {\n triggerSelect(now, 'mouse', true);\n }\n }\n }, locale.today);\n }\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: _objectSpread(_objectSpread({}, panelContext), {}, {\n mode: mergedMode,\n hideHeader: 'hideHeader' in props ? hideHeader : panelContext.hideHeader,\n hidePrevBtn: inRange && panelPosition === 'right',\n hideNextBtn: inRange && panelPosition === 'left'\n })\n }, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: tabIndex,\n className: classNames(\"\".concat(prefixCls, \"-panel\"), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-has-range\"), rangedValue && rangedValue[0] && rangedValue[1]), _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-has-range-hover\"), hoverRangedValue && hoverRangedValue[0] && hoverRangedValue[1]), _defineProperty(_classNames, \"\".concat(prefixCls, \"-panel-rtl\"), direction === 'rtl'), _classNames)),\n style: style,\n onKeyDown: onInternalKeyDown,\n onBlur: onInternalBlur,\n onMouseDown: onMouseDown,\n ref: panelDivRef\n }, panelNode, extraFooter || rangesNode || todayNode ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, extraFooter, rangesNode, todayNode) : null));\n}\nexport default PickerPanel;\n/* eslint-enable */","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Trigger from 'rc-trigger';\nvar BUILT_IN_PLACEMENTS = {\n bottomLeft: {\n points: ['tl', 'bl'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n bottomRight: {\n points: ['tr', 'br'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topLeft: {\n points: ['bl', 'tl'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n },\n topRight: {\n points: ['br', 'tr'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n }\n};\nfunction PickerTrigger(_ref) {\n var _classNames;\n var prefixCls = _ref.prefixCls,\n popupElement = _ref.popupElement,\n popupStyle = _ref.popupStyle,\n visible = _ref.visible,\n dropdownClassName = _ref.dropdownClassName,\n dropdownAlign = _ref.dropdownAlign,\n transitionName = _ref.transitionName,\n getPopupContainer = _ref.getPopupContainer,\n children = _ref.children,\n range = _ref.range,\n popupPlacement = _ref.popupPlacement,\n direction = _ref.direction;\n var dropdownPrefixCls = \"\".concat(prefixCls, \"-dropdown\");\n var getPopupPlacement = function getPopupPlacement() {\n if (popupPlacement !== undefined) {\n return popupPlacement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n return /*#__PURE__*/React.createElement(Trigger, {\n showAction: [],\n hideAction: [],\n popupPlacement: getPopupPlacement(),\n builtinPlacements: BUILT_IN_PLACEMENTS,\n prefixCls: dropdownPrefixCls,\n popupTransitionName: transitionName,\n popup: popupElement,\n popupAlign: dropdownAlign,\n popupVisible: visible,\n popupClassName: classNames(dropdownClassName, (_classNames = {}, _defineProperty(_classNames, \"\".concat(dropdownPrefixCls, \"-range\"), range), _defineProperty(_classNames, \"\".concat(dropdownPrefixCls, \"-rtl\"), direction === 'rtl'), _classNames)),\n popupStyle: popupStyle,\n getPopupContainer: getPopupContainer\n }, children);\n}\nexport default PickerTrigger;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useEffect, useRef } from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { addGlobalMouseDownEvent, getTargetFromEvent } from '../utils/uiUtil';\nexport default function usePickerInput(_ref) {\n var open = _ref.open,\n value = _ref.value,\n isClickOutside = _ref.isClickOutside,\n triggerOpen = _ref.triggerOpen,\n forwardKeyDown = _ref.forwardKeyDown,\n _onKeyDown = _ref.onKeyDown,\n blurToCancel = _ref.blurToCancel,\n onSubmit = _ref.onSubmit,\n onCancel = _ref.onCancel,\n _onFocus = _ref.onFocus,\n _onBlur = _ref.onBlur,\n currentFocusedKey = _ref.currentFocusedKey,\n _ref$key = _ref.key,\n key = _ref$key === void 0 ? 'start' : _ref$key;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n typing = _useState2[0],\n setTyping = _useState2[1];\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n focused = _useState4[0],\n setFocused = _useState4[1];\n var delayBlurTimer = useRef();\n /**\n * We will prevent blur to handle open event when user click outside,\n * since this will repeat trigger `onOpenChange` event.\n */\n var preventBlurRef = useRef(false);\n var valueChangedRef = useRef(false);\n var preventDefaultRef = useRef(false);\n var inputProps = {\n onMouseDown: function onMouseDown() {\n setTyping(true);\n triggerOpen(true);\n },\n onKeyDown: function onKeyDown(e) {\n var preventDefault = function preventDefault() {\n preventDefaultRef.current = true;\n };\n _onKeyDown(e, preventDefault);\n if (preventDefaultRef.current) return;\n switch (e.which) {\n case KeyCode.ENTER:\n {\n if (!open) {\n triggerOpen(true);\n } else if (onSubmit() !== false) {\n setTyping(true);\n }\n e.preventDefault();\n return;\n }\n case KeyCode.TAB:\n {\n if (typing && open && !e.shiftKey) {\n setTyping(false);\n e.preventDefault();\n } else if (!typing && open) {\n if (!forwardKeyDown(e) && e.shiftKey) {\n setTyping(true);\n e.preventDefault();\n }\n }\n return;\n }\n case KeyCode.ESC:\n {\n setTyping(true);\n onCancel();\n return;\n }\n }\n if (!open && ![KeyCode.SHIFT].includes(e.which)) {\n triggerOpen(true);\n } else if (!typing) {\n // Let popup panel handle keyboard\n forwardKeyDown(e);\n }\n },\n onFocus: function onFocus(e) {\n setTyping(true);\n setFocused(true);\n if (currentFocusedKey) {\n currentFocusedKey.current = key;\n }\n clearTimeout(delayBlurTimer.current);\n if (_onFocus) {\n _onFocus(e);\n }\n },\n onBlur: function onBlur(e) {\n if (preventBlurRef.current || !isClickOutside(document.activeElement)) {\n preventBlurRef.current = false;\n return;\n }\n if (blurToCancel) {\n setTimeout(function () {\n var _document = document,\n activeElement = _document.activeElement;\n while (activeElement && activeElement.shadowRoot) {\n activeElement = activeElement.shadowRoot.activeElement;\n }\n if (isClickOutside(activeElement)) {\n onCancel();\n }\n }, 0);\n } else if (open) {\n triggerOpen(false);\n if (valueChangedRef.current) {\n onSubmit();\n }\n }\n setFocused(false);\n if (currentFocusedKey) {\n currentFocusedKey.current = '';\n // Delay to prevent 'range' focus transitions from firing resulting in incorrect out-of-focus events\n delayBlurTimer.current = setTimeout(function () {\n // Prevent the 'blur' event from firing when there is currently a focused input\n if (currentFocusedKey.current) {\n return;\n }\n _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e);\n }, 100);\n } else {\n _onBlur === null || _onBlur === void 0 ? void 0 : _onBlur(e);\n }\n }\n };\n // check if value changed\n useEffect(function () {\n valueChangedRef.current = false;\n }, [open]);\n useEffect(function () {\n valueChangedRef.current = true;\n }, [value]);\n // Global click handler\n useEffect(function () {\n return addGlobalMouseDownEvent(function (e) {\n var target = getTargetFromEvent(e);\n if (open) {\n var clickedOutside = isClickOutside(target);\n if (!clickedOutside) {\n preventBlurRef.current = true;\n // Always set back in case `onBlur` prevented by user\n requestAnimationFrame(function () {\n preventBlurRef.current = false;\n });\n } else if (!focused || clickedOutside) {\n triggerOpen(false);\n }\n }\n });\n });\n useEffect(function () {\n return function () {\n return clearTimeout(delayBlurTimer.current);\n };\n }, []);\n return [inputProps, {\n focused: focused,\n typing: typing\n }];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default function useTextValueMapping(_ref) {\n var valueTexts = _ref.valueTexts,\n onTextChange = _ref.onTextChange;\n var _React$useState = React.useState(''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n text = _React$useState2[0],\n setInnerText = _React$useState2[1];\n var valueTextsRef = React.useRef([]);\n valueTextsRef.current = valueTexts;\n function triggerTextChange(value) {\n setInnerText(value);\n onTextChange(value);\n }\n function resetText() {\n setInnerText(valueTextsRef.current[0]);\n }\n React.useEffect(function () {\n if (valueTexts.every(function (valText) {\n return valText !== text;\n })) {\n resetText();\n }\n }, [valueTexts.join('||')]);\n return [text, triggerTextChange, resetText];\n}","import shallowEqual from 'shallowequal';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport { formatValue } from '../utils/dateUtil';\nexport default function useValueTexts(value, _ref) {\n var formatList = _ref.formatList,\n generateConfig = _ref.generateConfig,\n locale = _ref.locale;\n return useMemo(function () {\n if (!value) {\n return [[''], ''];\n }\n // We will convert data format back to first format\n var firstValueText = '';\n var fullValueTexts = [];\n for (var i = 0; i < formatList.length; i += 1) {\n var format = formatList[i];\n var formatStr = formatValue(value, {\n generateConfig: generateConfig,\n locale: locale,\n format: format\n });\n fullValueTexts.push(formatStr);\n if (i === 0) {\n firstValueText = formatStr;\n }\n }\n return [fullValueTexts, firstValueText];\n }, [value, formatList], function (prev, next) {\n return prev[0] !== next[0] || !shallowEqual(prev[1], next[1]);\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useEffect, useRef } from 'react';\nimport useValueTexts from './useValueTexts';\nexport default function useHoverValue(valueText, _ref) {\n var formatList = _ref.formatList,\n generateConfig = _ref.generateConfig,\n locale = _ref.locale;\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n value = _useState2[0],\n internalSetValue = _useState2[1];\n var raf = useRef(null);\n function setValue(val) {\n var immediately = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n cancelAnimationFrame(raf.current);\n if (immediately) {\n internalSetValue(val);\n return;\n }\n raf.current = requestAnimationFrame(function () {\n internalSetValue(val);\n });\n }\n var _useValueTexts = useValueTexts(value, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n firstText = _useValueTexts2[1];\n function onEnter(date) {\n setValue(date);\n }\n function onLeave() {\n var immediately = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n setValue(null, immediately);\n }\n useEffect(function () {\n onLeave(true);\n }, [valueText]);\n useEffect(function () {\n return function () {\n return cancelAnimationFrame(raf.current);\n };\n }, []);\n return [firstText, onEnter, onLeave];\n}","import warning from \"rc-util/es/warning\";\nexport function legacyPropsWarning(props) {\n var picker = props.picker,\n disabledHours = props.disabledHours,\n disabledMinutes = props.disabledMinutes,\n disabledSeconds = props.disabledSeconds;\n if (picker === 'time' && (disabledHours || disabledMinutes || disabledSeconds)) {\n warning(false, \"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.\");\n }\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n/**\n * Removed:\n * - getCalendarContainer: use `getPopupContainer` instead\n * - onOk\n *\n * New Feature:\n * - picker\n * - allowEmpty\n * - selectable\n *\n * Tips: Should add faq about `datetime` mode with `defaultValue`\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport PickerPanel from './PickerPanel';\nimport PickerTrigger from './PickerTrigger';\nimport { formatValue, isEqual, parseValue } from './utils/dateUtil';\nimport getDataOrAriaProps, { toArray } from './utils/miscUtil';\nimport PanelContext from './PanelContext';\nimport { getDefaultFormat, getInputSize, elementsContains } from './utils/uiUtil';\nimport usePickerInput from './hooks/usePickerInput';\nimport useTextValueMapping from './hooks/useTextValueMapping';\nimport useValueTexts from './hooks/useValueTexts';\nimport useHoverValue from './hooks/useHoverValue';\nimport { legacyPropsWarning } from './utils/warnUtil';\nfunction InnerPicker(props) {\n var _classNames2;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n id = props.id,\n tabIndex = props.tabIndex,\n style = props.style,\n className = props.className,\n dropdownClassName = props.dropdownClassName,\n dropdownAlign = props.dropdownAlign,\n popupStyle = props.popupStyle,\n transitionName = props.transitionName,\n generateConfig = props.generateConfig,\n locale = props.locale,\n inputReadOnly = props.inputReadOnly,\n allowClear = props.allowClear,\n autoFocus = props.autoFocus,\n showTime = props.showTime,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n format = props.format,\n use12Hours = props.use12Hours,\n value = props.value,\n defaultValue = props.defaultValue,\n open = props.open,\n defaultOpen = props.defaultOpen,\n defaultOpenValue = props.defaultOpenValue,\n suffixIcon = props.suffixIcon,\n clearIcon = props.clearIcon,\n disabled = props.disabled,\n disabledDate = props.disabledDate,\n placeholder = props.placeholder,\n getPopupContainer = props.getPopupContainer,\n pickerRef = props.pickerRef,\n panelRender = props.panelRender,\n onChange = props.onChange,\n onOpenChange = props.onOpenChange,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onContextMenu = props.onContextMenu,\n onClick = props.onClick,\n _onKeyDown = props.onKeyDown,\n _onSelect = props.onSelect,\n direction = props.direction,\n _props$autoComplete = props.autoComplete,\n autoComplete = _props$autoComplete === void 0 ? 'off' : _props$autoComplete,\n inputRender = props.inputRender;\n var inputRef = React.useRef(null);\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n legacyPropsWarning(props);\n }\n // ============================= State =============================\n var formatList = toArray(getDefaultFormat(format, picker, showTime, use12Hours));\n // Panel ref\n var panelDivRef = React.useRef(null);\n var inputDivRef = React.useRef(null);\n var containerRef = React.useRef(null);\n // Real value\n var _useMergedState = useMergedState(null, {\n value: value,\n defaultValue: defaultValue\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setInnerValue = _useMergedState2[1];\n // Selected value\n var _React$useState = React.useState(mergedValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n selectedValue = _React$useState2[0],\n setSelectedValue = _React$useState2[1];\n // Operation ref\n var operationRef = React.useRef(null);\n // Open\n var _useMergedState3 = useMergedState(false, {\n value: open,\n defaultValue: defaultOpen,\n postState: function postState(postOpen) {\n return disabled ? false : postOpen;\n },\n onChange: function onChange(newOpen) {\n if (onOpenChange) {\n onOpenChange(newOpen);\n }\n if (!newOpen && operationRef.current && operationRef.current.onClose) {\n operationRef.current.onClose();\n }\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedOpen = _useMergedState4[0],\n triggerInnerOpen = _useMergedState4[1];\n // ============================= Text ==============================\n var _useValueTexts = useValueTexts(selectedValue, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n valueTexts = _useValueTexts2[0],\n firstValueText = _useValueTexts2[1];\n var _useTextValueMapping = useTextValueMapping({\n valueTexts: valueTexts,\n onTextChange: function onTextChange(newText) {\n var inputDate = parseValue(newText, {\n locale: locale,\n formatList: formatList,\n generateConfig: generateConfig\n });\n if (inputDate && (!disabledDate || !disabledDate(inputDate))) {\n setSelectedValue(inputDate);\n }\n }\n }),\n _useTextValueMapping2 = _slicedToArray(_useTextValueMapping, 3),\n text = _useTextValueMapping2[0],\n triggerTextChange = _useTextValueMapping2[1],\n resetText = _useTextValueMapping2[2];\n // ============================ Trigger ============================\n var triggerChange = function triggerChange(newValue) {\n setSelectedValue(newValue);\n setInnerValue(newValue);\n if (onChange && !isEqual(generateConfig, mergedValue, newValue)) {\n onChange(newValue, newValue ? formatValue(newValue, {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '');\n }\n };\n var triggerOpen = function triggerOpen(newOpen) {\n if (disabled && newOpen) {\n return;\n }\n triggerInnerOpen(newOpen);\n };\n var forwardKeyDown = function forwardKeyDown(e) {\n if (mergedOpen && operationRef.current && operationRef.current.onKeyDown) {\n // Let popup panel handle keyboard\n return operationRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Picker not correct forward KeyDown operation. Please help to fire issue about this.');\n return false;\n }\n };\n var onInternalClick = function onInternalClick() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n onClick === null || onClick === void 0 ? void 0 : onClick.apply(void 0, args);\n if (inputRef.current) {\n inputRef.current.focus();\n triggerOpen(true);\n }\n };\n // ============================= Input =============================\n var _usePickerInput = usePickerInput({\n blurToCancel: needConfirmButton,\n open: mergedOpen,\n value: text,\n triggerOpen: triggerOpen,\n forwardKeyDown: forwardKeyDown,\n isClickOutside: function isClickOutside(target) {\n return !elementsContains([panelDivRef.current, inputDivRef.current, containerRef.current], target);\n },\n onSubmit: function onSubmit() {\n if (\n // When user typing disabledDate with keyboard and enter, this value will be empty\n !selectedValue ||\n // Normal disabled check\n disabledDate && disabledDate(selectedValue)) {\n return false;\n }\n triggerChange(selectedValue);\n triggerOpen(false);\n resetText();\n return true;\n },\n onCancel: function onCancel() {\n triggerOpen(false);\n setSelectedValue(mergedValue);\n resetText();\n },\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n },\n onFocus: onFocus,\n onBlur: onBlur\n }),\n _usePickerInput2 = _slicedToArray(_usePickerInput, 2),\n inputProps = _usePickerInput2[0],\n _usePickerInput2$ = _usePickerInput2[1],\n focused = _usePickerInput2$.focused,\n typing = _usePickerInput2$.typing;\n // ============================= Sync ==============================\n // Close should sync back with text value\n React.useEffect(function () {\n if (!mergedOpen) {\n setSelectedValue(mergedValue);\n if (!valueTexts.length || valueTexts[0] === '') {\n triggerTextChange('');\n } else if (firstValueText !== text) {\n resetText();\n }\n }\n }, [mergedOpen, valueTexts]);\n // Change picker should sync back with text value\n React.useEffect(function () {\n if (!mergedOpen) {\n resetText();\n }\n }, [picker]);\n // Sync innerValue with control mode\n React.useEffect(function () {\n // Sync select value\n setSelectedValue(mergedValue);\n }, [mergedValue]);\n // ============================ Private ============================\n if (pickerRef) {\n pickerRef.current = {\n focus: function focus() {\n if (inputRef.current) {\n inputRef.current.focus();\n }\n },\n blur: function blur() {\n if (inputRef.current) {\n inputRef.current.blur();\n }\n }\n };\n }\n var _useHoverValue = useHoverValue(text, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue2 = _slicedToArray(_useHoverValue, 3),\n hoverValue = _useHoverValue2[0],\n onEnter = _useHoverValue2[1],\n onLeave = _useHoverValue2[2];\n // ============================= Panel =============================\n var panelProps = _objectSpread(_objectSpread({}, props), {}, {\n className: undefined,\n style: undefined,\n pickerValue: undefined,\n onPickerValueChange: undefined,\n onChange: null\n });\n var panelNode = /*#__PURE__*/React.createElement(PickerPanel, _extends({}, panelProps, {\n generateConfig: generateConfig,\n className: classNames(_defineProperty({}, \"\".concat(prefixCls, \"-panel-focused\"), !typing)),\n value: selectedValue,\n locale: locale,\n tabIndex: -1,\n onSelect: function onSelect(date) {\n _onSelect === null || _onSelect === void 0 ? void 0 : _onSelect(date);\n setSelectedValue(date);\n },\n direction: direction,\n onPanelChange: function onPanelChange(viewDate, mode) {\n var onPanelChange = props.onPanelChange;\n onLeave(true);\n onPanelChange === null || onPanelChange === void 0 ? void 0 : onPanelChange(viewDate, mode);\n }\n }));\n if (panelRender) {\n panelNode = panelRender(panelNode);\n }\n var panel = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-container\"),\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n }\n }, panelNode);\n var suffixNode;\n if (suffixIcon) {\n suffixNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, suffixIcon);\n }\n var clearNode;\n if (allowClear && mergedValue && !disabled) {\n clearNode = /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n e.stopPropagation();\n },\n onMouseUp: function onMouseUp(e) {\n e.preventDefault();\n e.stopPropagation();\n triggerChange(null);\n triggerOpen(false);\n },\n className: \"\".concat(prefixCls, \"-clear\"),\n role: \"button\"\n }, clearIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-clear-btn\")\n }));\n }\n var mergedInputProps = _objectSpread(_objectSpread(_objectSpread({\n id: id,\n tabIndex: tabIndex,\n disabled: disabled,\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !typing,\n value: hoverValue || text,\n onChange: function onChange(e) {\n triggerTextChange(e.target.value);\n },\n autoFocus: autoFocus,\n placeholder: placeholder,\n ref: inputRef,\n title: text\n }, inputProps), {}, {\n size: getInputSize(picker, formatList[0], generateConfig)\n }, getDataOrAriaProps(props)), {}, {\n autoComplete: autoComplete\n });\n var inputNode = inputRender ? inputRender(mergedInputProps) : /*#__PURE__*/React.createElement(\"input\", mergedInputProps);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n warning(!defaultOpenValue, '`defaultOpenValue` may confuse user for the current value status. Please use `defaultValue` instead.');\n }\n // ============================ Return =============================\n var onContextSelect = function onContextSelect(date, type) {\n if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n // triggerChange will also update selected values\n triggerChange(date);\n triggerOpen(false);\n }\n };\n var popupPlacement = direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: {\n operationRef: operationRef,\n hideHeader: picker === 'time',\n panelRef: panelDivRef,\n onSelect: onContextSelect,\n open: mergedOpen,\n defaultOpenValue: defaultOpenValue,\n onDateMouseEnter: onEnter,\n onDateMouseLeave: onLeave\n }\n }, /*#__PURE__*/React.createElement(PickerTrigger, {\n visible: mergedOpen,\n popupElement: panel,\n popupStyle: popupStyle,\n prefixCls: prefixCls,\n dropdownClassName: dropdownClassName,\n dropdownAlign: dropdownAlign,\n getPopupContainer: getPopupContainer,\n transitionName: transitionName,\n popupPlacement: popupPlacement,\n direction: direction\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: containerRef,\n className: classNames(prefixCls, className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-focused\"), focused), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2)),\n style: style,\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onContextMenu: onContextMenu,\n onClick: onInternalClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), _defineProperty({}, \"\".concat(prefixCls, \"-input-placeholder\"), !!hoverValue)),\n ref: inputDivRef\n }, inputNode, suffixNode, clearNode))));\n}\n// Wrap with class component to enable pass generic with instance method\nvar Picker = /*#__PURE__*/function (_React$Component) {\n _inherits(Picker, _React$Component);\n var _super = _createSuper(Picker);\n function Picker() {\n var _this;\n _classCallCheck(this, Picker);\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.pickerRef = /*#__PURE__*/React.createRef();\n _this.focus = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.focus();\n }\n };\n _this.blur = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.blur();\n }\n };\n return _this;\n }\n _createClass(Picker, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(InnerPicker, _extends({}, this.props, {\n pickerRef: this.pickerRef\n }));\n }\n }]);\n return Picker;\n}(React.Component);\nexport default Picker;","import * as React from 'react';\nimport { getValue } from '../utils/miscUtil';\nimport { isSameDate, getQuarter } from '../utils/dateUtil';\nexport default function useRangeDisabled(_ref, disabledStart, disabledEnd) {\n var picker = _ref.picker,\n locale = _ref.locale,\n selectedValue = _ref.selectedValue,\n disabledDate = _ref.disabledDate,\n disabled = _ref.disabled,\n generateConfig = _ref.generateConfig;\n var startDate = getValue(selectedValue, 0);\n var endDate = getValue(selectedValue, 1);\n function weekFirstDate(date) {\n return generateConfig.locale.getWeekFirstDate(locale.locale, date);\n }\n function monthNumber(date) {\n var year = generateConfig.getYear(date);\n var month = generateConfig.getMonth(date);\n return year * 100 + month;\n }\n function quarterNumber(date) {\n var year = generateConfig.getYear(date);\n var quarter = getQuarter(generateConfig, date);\n return year * 10 + quarter;\n }\n var disabledStartDate = React.useCallback(function (date) {\n if (disabledDate && disabledDate(date)) {\n return true;\n }\n // Disabled range\n if (disabled[1] && endDate) {\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(date, endDate);\n }\n // Disabled part\n if (disabledStart && endDate) {\n switch (picker) {\n case 'quarter':\n return quarterNumber(date) > quarterNumber(endDate);\n case 'month':\n return monthNumber(date) > monthNumber(endDate);\n case 'week':\n return weekFirstDate(date) > weekFirstDate(endDate);\n default:\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(date, endDate);\n }\n }\n return false;\n }, [disabledDate, disabled[1], endDate, disabledStart]);\n var disabledEndDate = React.useCallback(function (date) {\n if (disabledDate && disabledDate(date)) {\n return true;\n }\n // Disabled range\n if (disabled[0] && startDate) {\n return !isSameDate(generateConfig, date, endDate) && generateConfig.isAfter(startDate, date);\n }\n // Disabled part\n if (disabledEnd && startDate) {\n switch (picker) {\n case 'quarter':\n return quarterNumber(date) < quarterNumber(startDate);\n case 'month':\n return monthNumber(date) < monthNumber(startDate);\n case 'week':\n return weekFirstDate(date) < weekFirstDate(startDate);\n default:\n return !isSameDate(generateConfig, date, startDate) && generateConfig.isAfter(startDate, date);\n }\n }\n return false;\n }, [disabledDate, disabled[0], startDate, disabledEnd]);\n return [disabledStartDate, disabledEndDate];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { getValue, updateValues } from '../utils/miscUtil';\nimport { getClosingViewDate, isSameYear, isSameMonth, isSameDecade } from '../utils/dateUtil';\nfunction getStartEndDistance(startDate, endDate, picker, generateConfig) {\n var startNext = getClosingViewDate(startDate, picker, generateConfig, 1);\n function getDistance(compareFunc) {\n if (compareFunc(startDate, endDate)) {\n return 'same';\n }\n if (compareFunc(startNext, endDate)) {\n return 'closing';\n }\n return 'far';\n }\n switch (picker) {\n case 'year':\n return getDistance(function (start, end) {\n return isSameDecade(generateConfig, start, end);\n });\n case 'quarter':\n case 'month':\n return getDistance(function (start, end) {\n return isSameYear(generateConfig, start, end);\n });\n default:\n return getDistance(function (start, end) {\n return isSameMonth(generateConfig, start, end);\n });\n }\n}\nfunction getRangeViewDate(values, index, picker, generateConfig) {\n var startDate = getValue(values, 0);\n var endDate = getValue(values, 1);\n if (index === 0) {\n return startDate;\n }\n if (startDate && endDate) {\n var distance = getStartEndDistance(startDate, endDate, picker, generateConfig);\n switch (distance) {\n case 'same':\n return startDate;\n case 'closing':\n return startDate;\n default:\n return getClosingViewDate(endDate, picker, generateConfig, -1);\n }\n }\n return startDate;\n}\nexport default function useRangeViewDates(_ref) {\n var values = _ref.values,\n picker = _ref.picker,\n defaultDates = _ref.defaultDates,\n generateConfig = _ref.generateConfig;\n var _React$useState = React.useState(function () {\n return [getValue(defaultDates, 0), getValue(defaultDates, 1)];\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n defaultViewDates = _React$useState2[0],\n setDefaultViewDates = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n viewDates = _React$useState4[0],\n setInternalViewDates = _React$useState4[1];\n var startDate = getValue(values, 0);\n var endDate = getValue(values, 1);\n function getViewDate(index) {\n // If set default view date, use it\n if (defaultViewDates[index]) {\n return defaultViewDates[index];\n }\n return getValue(viewDates, index) || getRangeViewDate(values, index, picker, generateConfig) || startDate || endDate || generateConfig.getNow();\n }\n function setViewDate(viewDate, index) {\n if (viewDate) {\n var newViewDates = updateValues(viewDates, viewDate, index);\n // Set view date will clean up default one\n setDefaultViewDates(\n // Should always be an array\n updateValues(defaultViewDates, null, index) || [null, null]);\n // Reset another one when not have value\n var anotherIndex = (index + 1) % 2;\n if (!getValue(values, anotherIndex)) {\n newViewDates = updateValues(newViewDates, viewDate, anotherIndex);\n }\n setInternalViewDates(newViewDates);\n } else if (startDate || endDate) {\n // Reset all when has values when `viewDate` is `null` which means from open trigger\n setInternalViewDates(null);\n }\n }\n return [getViewDate, setViewDate];\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport warning from \"rc-util/es/warning\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport PickerTrigger from './PickerTrigger';\nimport PickerPanel from './PickerPanel';\nimport usePickerInput from './hooks/usePickerInput';\nimport getDataOrAriaProps, { toArray, getValue, updateValues } from './utils/miscUtil';\nimport { getDefaultFormat, getInputSize, elementsContains } from './utils/uiUtil';\nimport PanelContext from './PanelContext';\nimport { isEqual, getClosingViewDate, isSameDate, isSameWeek, isSameQuarter, formatValue, parseValue } from './utils/dateUtil';\nimport useValueTexts from './hooks/useValueTexts';\nimport useTextValueMapping from './hooks/useTextValueMapping';\nimport RangeContext from './RangeContext';\nimport useRangeDisabled from './hooks/useRangeDisabled';\nimport getExtraFooter from './utils/getExtraFooter';\nimport getRanges from './utils/getRanges';\nimport useRangeViewDates from './hooks/useRangeViewDates';\nimport useHoverValue from './hooks/useHoverValue';\nimport { legacyPropsWarning } from './utils/warnUtil';\nfunction reorderValues(values, generateConfig) {\n if (values && values[0] && values[1] && generateConfig.isAfter(values[0], values[1])) {\n return [values[1], values[0]];\n }\n return values;\n}\nfunction canValueTrigger(value, index, disabled, allowEmpty) {\n if (value) {\n return true;\n }\n if (allowEmpty && allowEmpty[index]) {\n return true;\n }\n if (disabled[(index + 1) % 2]) {\n return true;\n }\n return false;\n}\nfunction InnerRangePicker(props) {\n var _classNames2, _classNames3, _classNames4;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-picker' : _props$prefixCls,\n id = props.id,\n style = props.style,\n className = props.className,\n popupStyle = props.popupStyle,\n dropdownClassName = props.dropdownClassName,\n transitionName = props.transitionName,\n dropdownAlign = props.dropdownAlign,\n getPopupContainer = props.getPopupContainer,\n generateConfig = props.generateConfig,\n locale = props.locale,\n placeholder = props.placeholder,\n autoFocus = props.autoFocus,\n disabled = props.disabled,\n format = props.format,\n _props$picker = props.picker,\n picker = _props$picker === void 0 ? 'date' : _props$picker,\n showTime = props.showTime,\n use12Hours = props.use12Hours,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '~' : _props$separator,\n value = props.value,\n defaultValue = props.defaultValue,\n defaultPickerValue = props.defaultPickerValue,\n open = props.open,\n defaultOpen = props.defaultOpen,\n disabledDate = props.disabledDate,\n _disabledTime = props.disabledTime,\n dateRender = props.dateRender,\n panelRender = props.panelRender,\n ranges = props.ranges,\n allowEmpty = props.allowEmpty,\n allowClear = props.allowClear,\n suffixIcon = props.suffixIcon,\n clearIcon = props.clearIcon,\n pickerRef = props.pickerRef,\n inputReadOnly = props.inputReadOnly,\n mode = props.mode,\n renderExtraFooter = props.renderExtraFooter,\n onChange = props.onChange,\n onOpenChange = props.onOpenChange,\n onPanelChange = props.onPanelChange,\n onCalendarChange = props.onCalendarChange,\n _onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onClick = props.onClick,\n _onOk = props.onOk,\n _onKeyDown = props.onKeyDown,\n components = props.components,\n order = props.order,\n direction = props.direction,\n activePickerIndex = props.activePickerIndex,\n _props$autoComplete = props.autoComplete,\n autoComplete = _props$autoComplete === void 0 ? 'off' : _props$autoComplete;\n var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n // We record opened status here in case repeat open with picker\n var openRecordsRef = useRef({});\n var containerRef = useRef(null);\n var panelDivRef = useRef(null);\n var startInputDivRef = useRef(null);\n var endInputDivRef = useRef(null);\n var separatorRef = useRef(null);\n var startInputRef = useRef(null);\n var endInputRef = useRef(null);\n var arrowRef = useRef(null);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n legacyPropsWarning(props);\n }\n // ============================= Misc ==============================\n var formatList = toArray(getDefaultFormat(format, picker, showTime, use12Hours));\n // Active picker\n var _useMergedState = useMergedState(0, {\n value: activePickerIndex\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedActivePickerIndex = _useMergedState2[0],\n setMergedActivePickerIndex = _useMergedState2[1];\n // Operation ref\n var operationRef = useRef(null);\n var mergedDisabled = React.useMemo(function () {\n if (Array.isArray(disabled)) {\n return disabled;\n }\n return [disabled || false, disabled || false];\n }, [disabled]);\n // ============================= Value =============================\n var _useMergedState3 = useMergedState(null, {\n value: value,\n defaultValue: defaultValue,\n postState: function postState(values) {\n return picker === 'time' && !order ? values : reorderValues(values, generateConfig);\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedValue = _useMergedState4[0],\n setInnerValue = _useMergedState4[1];\n // =========================== View Date ===========================\n // Config view panel\n var _useRangeViewDates = useRangeViewDates({\n values: mergedValue,\n picker: picker,\n defaultDates: defaultPickerValue,\n generateConfig: generateConfig\n }),\n _useRangeViewDates2 = _slicedToArray(_useRangeViewDates, 2),\n getViewDate = _useRangeViewDates2[0],\n setViewDate = _useRangeViewDates2[1];\n // ========================= Select Values =========================\n var _useMergedState5 = useMergedState(mergedValue, {\n postState: function postState(values) {\n var postValues = values;\n if (mergedDisabled[0] && mergedDisabled[1]) {\n return postValues;\n }\n // Fill disabled unit\n for (var i = 0; i < 2; i += 1) {\n if (mergedDisabled[i] && !getValue(postValues, i) && !getValue(allowEmpty, i)) {\n postValues = updateValues(postValues, generateConfig.getNow(), i);\n }\n }\n return postValues;\n }\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n selectedValue = _useMergedState6[0],\n setSelectedValue = _useMergedState6[1];\n // ============================= Modes =============================\n var _useMergedState7 = useMergedState([picker, picker], {\n value: mode\n }),\n _useMergedState8 = _slicedToArray(_useMergedState7, 2),\n mergedModes = _useMergedState8[0],\n setInnerModes = _useMergedState8[1];\n useEffect(function () {\n setInnerModes([picker, picker]);\n }, [picker]);\n var triggerModesChange = function triggerModesChange(modes, values) {\n setInnerModes(modes);\n if (onPanelChange) {\n onPanelChange(values, modes);\n }\n };\n // ========================= Disable Date ==========================\n var _useRangeDisabled = useRangeDisabled({\n picker: picker,\n selectedValue: selectedValue,\n locale: locale,\n disabled: mergedDisabled,\n disabledDate: disabledDate,\n generateConfig: generateConfig\n }, openRecordsRef.current[1], openRecordsRef.current[0]),\n _useRangeDisabled2 = _slicedToArray(_useRangeDisabled, 2),\n disabledStartDate = _useRangeDisabled2[0],\n disabledEndDate = _useRangeDisabled2[1];\n // ============================= Open ==============================\n var _useMergedState9 = useMergedState(false, {\n value: open,\n defaultValue: defaultOpen,\n postState: function postState(postOpen) {\n return mergedDisabled[mergedActivePickerIndex] ? false : postOpen;\n },\n onChange: function onChange(newOpen) {\n if (onOpenChange) {\n onOpenChange(newOpen);\n }\n if (!newOpen && operationRef.current && operationRef.current.onClose) {\n operationRef.current.onClose();\n }\n }\n }),\n _useMergedState10 = _slicedToArray(_useMergedState9, 2),\n mergedOpen = _useMergedState10[0],\n triggerInnerOpen = _useMergedState10[1];\n var startOpen = mergedOpen && mergedActivePickerIndex === 0;\n var endOpen = mergedOpen && mergedActivePickerIndex === 1;\n // ============================= Popup =============================\n // Popup min width\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n popupMinWidth = _useState2[0],\n setPopupMinWidth = _useState2[1];\n useEffect(function () {\n if (!mergedOpen && containerRef.current) {\n setPopupMinWidth(containerRef.current.offsetWidth);\n }\n }, [mergedOpen]);\n // ============================ Trigger ============================\n var triggerRef = React.useRef();\n function _triggerOpen(newOpen, index) {\n if (newOpen) {\n clearTimeout(triggerRef.current);\n openRecordsRef.current[index] = true;\n setMergedActivePickerIndex(index);\n triggerInnerOpen(newOpen);\n // Open to reset view date\n if (!mergedOpen) {\n setViewDate(null, index);\n }\n } else if (mergedActivePickerIndex === index) {\n triggerInnerOpen(newOpen);\n // Clean up async\n // This makes ref not quick refresh in case user open another input with blur trigger\n var openRecords = openRecordsRef.current;\n triggerRef.current = setTimeout(function () {\n if (openRecords === openRecordsRef.current) {\n openRecordsRef.current = {};\n }\n });\n }\n }\n function triggerOpenAndFocus(index) {\n _triggerOpen(true, index);\n // Use setTimeout to make sure panel DOM exists\n setTimeout(function () {\n var inputRef = [startInputRef, endInputRef][index];\n if (inputRef.current) {\n inputRef.current.focus();\n }\n }, 0);\n }\n function triggerChange(newValue, sourceIndex) {\n var values = newValue;\n var startValue = getValue(values, 0);\n var endValue = getValue(values, 1);\n // >>>>> Format start & end values\n if (startValue && endValue && generateConfig.isAfter(startValue, endValue)) {\n if (\n // WeekPicker only compare week\n picker === 'week' && !isSameWeek(generateConfig, locale.locale, startValue, endValue) ||\n // QuotaPicker only compare week\n picker === 'quarter' && !isSameQuarter(generateConfig, startValue, endValue) ||\n // Other non-TimePicker compare date\n picker !== 'week' && picker !== 'quarter' && picker !== 'time' && !isSameDate(generateConfig, startValue, endValue)) {\n // Clean up end date when start date is after end date\n if (sourceIndex === 0) {\n values = [startValue, null];\n endValue = null;\n } else {\n startValue = null;\n values = [null, endValue];\n }\n // Clean up cache since invalidate\n openRecordsRef.current = _defineProperty({}, sourceIndex, true);\n } else if (picker !== 'time' || order !== false) {\n // Reorder when in same date\n values = reorderValues(values, generateConfig);\n }\n }\n setSelectedValue(values);\n var startStr = values && values[0] ? formatValue(values[0], {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '';\n var endStr = values && values[1] ? formatValue(values[1], {\n generateConfig: generateConfig,\n locale: locale,\n format: formatList[0]\n }) : '';\n if (onCalendarChange) {\n var info = {\n range: sourceIndex === 0 ? 'start' : 'end'\n };\n onCalendarChange(values, [startStr, endStr], info);\n }\n // >>>>> Trigger `onChange` event\n var canStartValueTrigger = canValueTrigger(startValue, 0, mergedDisabled, allowEmpty);\n var canEndValueTrigger = canValueTrigger(endValue, 1, mergedDisabled, allowEmpty);\n var canTrigger = values === null || canStartValueTrigger && canEndValueTrigger;\n if (canTrigger) {\n // Trigger onChange only when value is validate\n setInnerValue(values);\n if (onChange && (!isEqual(generateConfig, getValue(mergedValue, 0), startValue) || !isEqual(generateConfig, getValue(mergedValue, 1), endValue))) {\n onChange(values, [startStr, endStr]);\n }\n }\n // >>>>> Open picker when\n // Always open another picker if possible\n var nextOpenIndex = null;\n if (sourceIndex === 0 && !mergedDisabled[1]) {\n nextOpenIndex = 1;\n } else if (sourceIndex === 1 && !mergedDisabled[0]) {\n nextOpenIndex = 0;\n }\n if (nextOpenIndex !== null && nextOpenIndex !== mergedActivePickerIndex && (!openRecordsRef.current[nextOpenIndex] || !getValue(values, nextOpenIndex)) && getValue(values, sourceIndex)) {\n // Delay to focus to avoid input blur trigger expired selectedValues\n triggerOpenAndFocus(nextOpenIndex);\n } else {\n _triggerOpen(false, sourceIndex);\n }\n }\n var forwardKeyDown = function forwardKeyDown(e) {\n if (mergedOpen && operationRef.current && operationRef.current.onKeyDown) {\n // Let popup panel handle keyboard\n return operationRef.current.onKeyDown(e);\n }\n /* istanbul ignore next */\n /* eslint-disable no-lone-blocks */\n {\n warning(false, 'Picker not correct forward KeyDown operation. Please help to fire issue about this.');\n return false;\n }\n };\n // ============================= Text ==============================\n var sharedTextHooksProps = {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n };\n var _useValueTexts = useValueTexts(getValue(selectedValue, 0), sharedTextHooksProps),\n _useValueTexts2 = _slicedToArray(_useValueTexts, 2),\n startValueTexts = _useValueTexts2[0],\n firstStartValueText = _useValueTexts2[1];\n var _useValueTexts3 = useValueTexts(getValue(selectedValue, 1), sharedTextHooksProps),\n _useValueTexts4 = _slicedToArray(_useValueTexts3, 2),\n endValueTexts = _useValueTexts4[0],\n firstEndValueText = _useValueTexts4[1];\n var _onTextChange = function onTextChange(newText, index) {\n var inputDate = parseValue(newText, {\n locale: locale,\n formatList: formatList,\n generateConfig: generateConfig\n });\n var disabledFunc = index === 0 ? disabledStartDate : disabledEndDate;\n if (inputDate && !disabledFunc(inputDate)) {\n setSelectedValue(updateValues(selectedValue, inputDate, index));\n setViewDate(inputDate, index);\n }\n };\n var _useTextValueMapping = useTextValueMapping({\n valueTexts: startValueTexts,\n onTextChange: function onTextChange(newText) {\n return _onTextChange(newText, 0);\n }\n }),\n _useTextValueMapping2 = _slicedToArray(_useTextValueMapping, 3),\n startText = _useTextValueMapping2[0],\n triggerStartTextChange = _useTextValueMapping2[1],\n resetStartText = _useTextValueMapping2[2];\n var _useTextValueMapping3 = useTextValueMapping({\n valueTexts: endValueTexts,\n onTextChange: function onTextChange(newText) {\n return _onTextChange(newText, 1);\n }\n }),\n _useTextValueMapping4 = _slicedToArray(_useTextValueMapping3, 3),\n endText = _useTextValueMapping4[0],\n triggerEndTextChange = _useTextValueMapping4[1],\n resetEndText = _useTextValueMapping4[2];\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n rangeHoverValue = _useState4[0],\n setRangeHoverValue = _useState4[1];\n // ========================== Hover Range ==========================\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n hoverRangedValue = _useState6[0],\n setHoverRangedValue = _useState6[1];\n var _useHoverValue = useHoverValue(startText, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue2 = _slicedToArray(_useHoverValue, 3),\n startHoverValue = _useHoverValue2[0],\n onStartEnter = _useHoverValue2[1],\n onStartLeave = _useHoverValue2[2];\n var _useHoverValue3 = useHoverValue(endText, {\n formatList: formatList,\n generateConfig: generateConfig,\n locale: locale\n }),\n _useHoverValue4 = _slicedToArray(_useHoverValue3, 3),\n endHoverValue = _useHoverValue4[0],\n onEndEnter = _useHoverValue4[1],\n onEndLeave = _useHoverValue4[2];\n var onDateMouseEnter = function onDateMouseEnter(date) {\n setHoverRangedValue(updateValues(selectedValue, date, mergedActivePickerIndex));\n if (mergedActivePickerIndex === 0) {\n onStartEnter(date);\n } else {\n onEndEnter(date);\n }\n };\n var onDateMouseLeave = function onDateMouseLeave() {\n setHoverRangedValue(updateValues(selectedValue, null, mergedActivePickerIndex));\n if (mergedActivePickerIndex === 0) {\n onStartLeave();\n } else {\n onEndLeave();\n }\n };\n // ============================= Input =============================\n var getSharedInputHookProps = function getSharedInputHookProps(index, resetText) {\n return {\n blurToCancel: needConfirmButton,\n forwardKeyDown: forwardKeyDown,\n onBlur: onBlur,\n isClickOutside: function isClickOutside(target) {\n return !elementsContains([panelDivRef.current, startInputDivRef.current, endInputDivRef.current, containerRef.current], target);\n },\n onFocus: function onFocus(e) {\n setMergedActivePickerIndex(index);\n if (_onFocus) {\n _onFocus(e);\n }\n },\n triggerOpen: function triggerOpen(newOpen) {\n _triggerOpen(newOpen, index);\n },\n onSubmit: function onSubmit() {\n if (\n // When user typing disabledDate with keyboard and enter, this value will be empty\n !selectedValue ||\n // Normal disabled check\n disabledDate && disabledDate(selectedValue[index])) {\n return false;\n }\n triggerChange(selectedValue, index);\n resetText();\n },\n onCancel: function onCancel() {\n _triggerOpen(false, index);\n setSelectedValue(mergedValue);\n resetText();\n }\n };\n };\n var currentFocusedKey = useRef('');\n var _usePickerInput = usePickerInput(_objectSpread(_objectSpread({}, getSharedInputHookProps(0, resetStartText)), {}, {\n open: startOpen,\n value: startText,\n currentFocusedKey: currentFocusedKey,\n key: 'start',\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n }\n })),\n _usePickerInput2 = _slicedToArray(_usePickerInput, 2),\n startInputProps = _usePickerInput2[0],\n _usePickerInput2$ = _usePickerInput2[1],\n startFocused = _usePickerInput2$.focused,\n startTyping = _usePickerInput2$.typing;\n var _usePickerInput3 = usePickerInput(_objectSpread(_objectSpread({}, getSharedInputHookProps(1, resetEndText)), {}, {\n open: endOpen,\n value: endText,\n currentFocusedKey: currentFocusedKey,\n key: 'end',\n onKeyDown: function onKeyDown(e, preventDefault) {\n _onKeyDown === null || _onKeyDown === void 0 ? void 0 : _onKeyDown(e, preventDefault);\n }\n })),\n _usePickerInput4 = _slicedToArray(_usePickerInput3, 2),\n endInputProps = _usePickerInput4[0],\n _usePickerInput4$ = _usePickerInput4[1],\n endFocused = _usePickerInput4$.focused,\n endTyping = _usePickerInput4$.typing;\n // ========================== Click Picker ==========================\n var onPickerClick = function onPickerClick(e) {\n // When click inside the picker & outside the picker's input elements\n // the panel should still be opened\n if (onClick) {\n onClick(e);\n }\n if (!mergedOpen && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n if (!mergedDisabled[0]) {\n triggerOpenAndFocus(0);\n } else if (!mergedDisabled[1]) {\n triggerOpenAndFocus(1);\n }\n }\n };\n var onPickerMouseDown = function onPickerMouseDown(e) {\n // shouldn't affect input elements if picker is active\n if (onMouseDown) {\n onMouseDown(e);\n }\n if (mergedOpen && (startFocused || endFocused) && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n e.preventDefault();\n }\n };\n // ============================= Sync ==============================\n // Close should sync back with text value\n var startStr = mergedValue && mergedValue[0] ? formatValue(mergedValue[0], {\n locale: locale,\n format: 'YYYYMMDDHHmmss',\n generateConfig: generateConfig\n }) : '';\n var endStr = mergedValue && mergedValue[1] ? formatValue(mergedValue[1], {\n locale: locale,\n format: 'YYYYMMDDHHmmss',\n generateConfig: generateConfig\n }) : '';\n useEffect(function () {\n if (!mergedOpen) {\n setSelectedValue(mergedValue);\n if (!startValueTexts.length || startValueTexts[0] === '') {\n triggerStartTextChange('');\n } else if (firstStartValueText !== startText) {\n resetStartText();\n }\n if (!endValueTexts.length || endValueTexts[0] === '') {\n triggerEndTextChange('');\n } else if (firstEndValueText !== endText) {\n resetEndText();\n }\n }\n }, [mergedOpen, startValueTexts, endValueTexts]);\n // Sync innerValue with control mode\n useEffect(function () {\n setSelectedValue(mergedValue);\n }, [startStr, endStr]);\n // ============================ Warning ============================\n if (process.env.NODE_ENV !== 'production') {\n if (value && Array.isArray(disabled) && (getValue(disabled, 0) && !getValue(value, 0) || getValue(disabled, 1) && !getValue(value, 1))) {\n warning(false, '`disabled` should not set with empty `value`. You should set `allowEmpty` or `value` instead.');\n }\n }\n // ============================ Private ============================\n if (pickerRef) {\n pickerRef.current = {\n focus: function focus() {\n if (startInputRef.current) {\n startInputRef.current.focus();\n }\n },\n blur: function blur() {\n if (startInputRef.current) {\n startInputRef.current.blur();\n }\n if (endInputRef.current) {\n endInputRef.current.blur();\n }\n }\n };\n }\n // ============================ Ranges =============================\n var rangeLabels = Object.keys(ranges || {});\n var rangeList = rangeLabels.map(function (label) {\n var range = ranges[label];\n var newValues = typeof range === 'function' ? range() : range;\n return {\n label: label,\n onClick: function onClick() {\n triggerChange(newValues, null);\n _triggerOpen(false, mergedActivePickerIndex);\n },\n onMouseEnter: function onMouseEnter() {\n setRangeHoverValue(newValues);\n },\n onMouseLeave: function onMouseLeave() {\n setRangeHoverValue(null);\n }\n };\n });\n // ============================= Panel =============================\n function renderPanel() {\n var panelPosition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var panelProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var panelHoverRangedValue = null;\n if (mergedOpen && hoverRangedValue && hoverRangedValue[0] && hoverRangedValue[1] && generateConfig.isAfter(hoverRangedValue[1], hoverRangedValue[0])) {\n panelHoverRangedValue = hoverRangedValue;\n }\n var panelShowTime = showTime;\n if (showTime && _typeof(showTime) === 'object' && showTime.defaultValue) {\n var timeDefaultValues = showTime.defaultValue;\n panelShowTime = _objectSpread(_objectSpread({}, showTime), {}, {\n defaultValue: getValue(timeDefaultValues, mergedActivePickerIndex) || undefined\n });\n }\n var panelDateRender = null;\n if (dateRender) {\n panelDateRender = function panelDateRender(date, today) {\n return dateRender(date, today, {\n range: mergedActivePickerIndex ? 'end' : 'start'\n });\n };\n }\n return /*#__PURE__*/React.createElement(RangeContext.Provider, {\n value: {\n inRange: true,\n panelPosition: panelPosition,\n rangedValue: rangeHoverValue || selectedValue,\n hoverRangedValue: panelHoverRangedValue\n }\n }, /*#__PURE__*/React.createElement(PickerPanel, _extends({}, props, panelProps, {\n dateRender: panelDateRender,\n showTime: panelShowTime,\n mode: mergedModes[mergedActivePickerIndex],\n generateConfig: generateConfig,\n style: undefined,\n direction: direction,\n disabledDate: mergedActivePickerIndex === 0 ? disabledStartDate : disabledEndDate,\n disabledTime: function disabledTime(date) {\n if (_disabledTime) {\n return _disabledTime(date, mergedActivePickerIndex === 0 ? 'start' : 'end');\n }\n return false;\n },\n className: classNames(_defineProperty({}, \"\".concat(prefixCls, \"-panel-focused\"), mergedActivePickerIndex === 0 ? !startTyping : !endTyping)),\n value: getValue(selectedValue, mergedActivePickerIndex),\n locale: locale,\n tabIndex: -1,\n onPanelChange: function onPanelChange(date, newMode) {\n // clear hover value when panel change\n if (mergedActivePickerIndex === 0) {\n onStartLeave(true);\n }\n if (mergedActivePickerIndex === 1) {\n onEndLeave(true);\n }\n triggerModesChange(updateValues(mergedModes, newMode, mergedActivePickerIndex), updateValues(selectedValue, date, mergedActivePickerIndex));\n var viewDate = date;\n if (panelPosition === 'right' && mergedModes[mergedActivePickerIndex] === newMode) {\n viewDate = getClosingViewDate(viewDate, newMode, generateConfig, -1);\n }\n setViewDate(viewDate, mergedActivePickerIndex);\n },\n onOk: null,\n onSelect: undefined,\n onChange: undefined,\n defaultValue: mergedActivePickerIndex === 0 ? getValue(selectedValue, 1) : getValue(selectedValue, 0)\n })));\n }\n var arrowLeft = 0;\n var panelLeft = 0;\n if (mergedActivePickerIndex && startInputDivRef.current && separatorRef.current && panelDivRef.current) {\n // Arrow offset\n arrowLeft = startInputDivRef.current.offsetWidth + separatorRef.current.offsetWidth;\n // If panelWidth - arrowWidth - arrowMarginLeft < arrowLeft, panel should move to right side.\n // If arrowOffsetLeft > arrowLeft, arrowMarginLeft = arrowOffsetLeft - arrowLeft\n var arrowMarginLeft = arrowRef.current.offsetLeft > arrowLeft ? arrowRef.current.offsetLeft - arrowLeft : arrowRef.current.offsetLeft;\n if (panelDivRef.current.offsetWidth && arrowRef.current.offsetWidth && arrowLeft > panelDivRef.current.offsetWidth - arrowRef.current.offsetWidth - (direction === 'rtl' ? 0 : arrowMarginLeft)) {\n panelLeft = arrowLeft;\n }\n }\n var arrowPositionStyle = direction === 'rtl' ? {\n right: arrowLeft\n } : {\n left: arrowLeft\n };\n function renderPanels() {\n var panels;\n var extraNode = getExtraFooter(prefixCls, mergedModes[mergedActivePickerIndex], renderExtraFooter);\n var rangesNode = getRanges({\n prefixCls: prefixCls,\n components: components,\n needConfirmButton: needConfirmButton,\n okDisabled: !getValue(selectedValue, mergedActivePickerIndex) || disabledDate && disabledDate(selectedValue[mergedActivePickerIndex]),\n locale: locale,\n rangeList: rangeList,\n onOk: function onOk() {\n if (getValue(selectedValue, mergedActivePickerIndex)) {\n // triggerChangeOld(selectedValue);\n triggerChange(selectedValue, mergedActivePickerIndex);\n if (_onOk) {\n _onOk(selectedValue);\n }\n }\n }\n });\n if (picker !== 'time' && !showTime) {\n var viewDate = getViewDate(mergedActivePickerIndex);\n var nextViewDate = getClosingViewDate(viewDate, picker, generateConfig);\n var currentMode = mergedModes[mergedActivePickerIndex];\n var showDoublePanel = currentMode === picker;\n var leftPanel = renderPanel(showDoublePanel ? 'left' : false, {\n pickerValue: viewDate,\n onPickerValueChange: function onPickerValueChange(newViewDate) {\n setViewDate(newViewDate, mergedActivePickerIndex);\n }\n });\n var rightPanel = renderPanel('right', {\n pickerValue: nextViewDate,\n onPickerValueChange: function onPickerValueChange(newViewDate) {\n setViewDate(getClosingViewDate(newViewDate, picker, generateConfig, -1), mergedActivePickerIndex);\n }\n });\n if (direction === 'rtl') {\n panels = /*#__PURE__*/React.createElement(React.Fragment, null, rightPanel, showDoublePanel && leftPanel);\n } else {\n panels = /*#__PURE__*/React.createElement(React.Fragment, null, leftPanel, showDoublePanel && rightPanel);\n }\n } else {\n panels = renderPanel();\n }\n var mergedNodes = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panels\")\n }, panels), (extraNode || rangesNode) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, extraNode, rangesNode));\n if (panelRender) {\n mergedNodes = panelRender(mergedNodes);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-container\"),\n style: {\n marginLeft: panelLeft\n },\n ref: panelDivRef,\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n }\n }, mergedNodes);\n }\n var rangePanel = /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-range-wrapper\"), \"\".concat(prefixCls, \"-\").concat(picker, \"-range-wrapper\")),\n style: {\n minWidth: popupMinWidth\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: \"\".concat(prefixCls, \"-range-arrow\"),\n style: arrowPositionStyle\n }), renderPanels());\n // ============================= Icons =============================\n var suffixNode;\n if (suffixIcon) {\n suffixNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, suffixIcon);\n }\n var clearNode;\n if (allowClear && (getValue(mergedValue, 0) && !mergedDisabled[0] || getValue(mergedValue, 1) && !mergedDisabled[1])) {\n clearNode = /*#__PURE__*/React.createElement(\"span\", {\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n e.stopPropagation();\n },\n onMouseUp: function onMouseUp(e) {\n e.preventDefault();\n e.stopPropagation();\n var values = mergedValue;\n if (!mergedDisabled[0]) {\n values = updateValues(values, null, 0);\n }\n if (!mergedDisabled[1]) {\n values = updateValues(values, null, 1);\n }\n triggerChange(values, null);\n _triggerOpen(false, mergedActivePickerIndex);\n },\n className: \"\".concat(prefixCls, \"-clear\")\n }, clearIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-clear-btn\")\n }));\n }\n var inputSharedProps = {\n size: getInputSize(picker, formatList[0], generateConfig)\n };\n var activeBarLeft = 0;\n var activeBarWidth = 0;\n if (startInputDivRef.current && endInputDivRef.current && separatorRef.current) {\n if (mergedActivePickerIndex === 0) {\n activeBarWidth = startInputDivRef.current.offsetWidth;\n } else {\n activeBarLeft = arrowLeft;\n activeBarWidth = endInputDivRef.current.offsetWidth;\n }\n }\n var activeBarPositionStyle = direction === 'rtl' ? {\n right: activeBarLeft\n } : {\n left: activeBarLeft\n };\n // ============================ Return =============================\n var onContextSelect = function onContextSelect(date, type) {\n var values = updateValues(selectedValue, date, mergedActivePickerIndex);\n if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n // triggerChange will also update selected values\n triggerChange(values, mergedActivePickerIndex);\n // clear hover value style\n if (mergedActivePickerIndex === 0) {\n onStartLeave();\n } else {\n onEndLeave();\n }\n } else {\n setSelectedValue(values);\n }\n };\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: {\n operationRef: operationRef,\n hideHeader: picker === 'time',\n onDateMouseEnter: onDateMouseEnter,\n onDateMouseLeave: onDateMouseLeave,\n hideRanges: true,\n onSelect: onContextSelect,\n open: mergedOpen\n }\n }, /*#__PURE__*/React.createElement(PickerTrigger, {\n visible: mergedOpen,\n popupElement: rangePanel,\n popupStyle: popupStyle,\n prefixCls: prefixCls,\n dropdownClassName: dropdownClassName,\n dropdownAlign: dropdownAlign,\n getPopupContainer: getPopupContainer,\n transitionName: transitionName,\n range: true,\n direction: direction\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: containerRef,\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-range\"), className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), mergedDisabled[0] && mergedDisabled[1]), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-focused\"), mergedActivePickerIndex === 0 ? startFocused : endFocused), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames2)),\n style: style,\n onClick: onPickerClick,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onMouseDown: onPickerMouseDown,\n onMouseUp: onMouseUp\n }, getDataOrAriaProps(props)), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), (_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 0), _defineProperty(_classNames3, \"\".concat(prefixCls, \"-input-placeholder\"), !!startHoverValue), _classNames3)),\n ref: startInputDivRef\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n id: id,\n disabled: mergedDisabled[0],\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !startTyping,\n value: startHoverValue || startText,\n onChange: function onChange(e) {\n triggerStartTextChange(e.target.value);\n },\n autoFocus: autoFocus,\n placeholder: getValue(placeholder, 0) || '',\n ref: startInputRef\n }, startInputProps, inputSharedProps, {\n autoComplete: autoComplete\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-range-separator\"),\n ref: separatorRef\n }, separator), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-input\"), (_classNames4 = {}, _defineProperty(_classNames4, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 1), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-input-placeholder\"), !!endHoverValue), _classNames4)),\n ref: endInputDivRef\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n disabled: mergedDisabled[1],\n readOnly: inputReadOnly || typeof formatList[0] === 'function' || !endTyping,\n value: endHoverValue || endText,\n onChange: function onChange(e) {\n triggerEndTextChange(e.target.value);\n },\n placeholder: getValue(placeholder, 1) || '',\n ref: endInputRef\n }, endInputProps, inputSharedProps, {\n autoComplete: autoComplete\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-active-bar\"),\n style: _objectSpread(_objectSpread({}, activeBarPositionStyle), {}, {\n width: activeBarWidth,\n position: 'absolute'\n })\n }), suffixNode, clearNode)));\n}\n// Wrap with class component to enable pass generic with instance method\nvar RangePicker = /*#__PURE__*/function (_React$Component) {\n _inherits(RangePicker, _React$Component);\n var _super = _createSuper(RangePicker);\n function RangePicker() {\n var _this;\n _classCallCheck(this, RangePicker);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.pickerRef = /*#__PURE__*/React.createRef();\n _this.focus = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.focus();\n }\n };\n _this.blur = function () {\n if (_this.pickerRef.current) {\n _this.pickerRef.current.blur();\n }\n };\n return _this;\n }\n _createClass(RangePicker, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(InnerRangePicker, _extends({}, this.props, {\n pickerRef: this.pickerRef\n }));\n }\n }]);\n return RangePicker;\n}(React.Component);\nexport default RangePicker;","import Picker from './Picker';\nimport PickerPanel from './PickerPanel';\nimport RangePicker from './RangePicker';\nexport { PickerPanel, RangePicker };\nexport default Picker;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nimport { FormItemInputContext } from '../form/context';\nimport { Button, Group } from '../radio';\nimport Select from '../select';\nvar YearSelectOffset = 10;\nvar YearSelectTotal = 20;\nfunction YearSelect(props) {\n var fullscreen = props.fullscreen,\n validRange = props.validRange,\n generateConfig = props.generateConfig,\n locale = props.locale,\n prefixCls = props.prefixCls,\n value = props.value,\n _onChange = props.onChange,\n divRef = props.divRef;\n var year = generateConfig.getYear(value || generateConfig.getNow());\n var start = year - YearSelectOffset;\n var end = start + YearSelectTotal;\n if (validRange) {\n start = generateConfig.getYear(validRange[0]);\n end = generateConfig.getYear(validRange[1]) + 1;\n }\n var suffix = locale && locale.year === '年' ? '年' : '';\n var options = [];\n for (var index = start; index < end; index++) {\n options.push({\n label: \"\".concat(index).concat(suffix),\n value: index\n });\n }\n return /*#__PURE__*/React.createElement(Select, {\n size: fullscreen ? undefined : 'small',\n options: options,\n value: year,\n className: \"\".concat(prefixCls, \"-year-select\"),\n onChange: function onChange(numYear) {\n var newDate = generateConfig.setYear(value, numYear);\n if (validRange) {\n var _validRange = _slicedToArray(validRange, 2),\n startDate = _validRange[0],\n endDate = _validRange[1];\n var newYear = generateConfig.getYear(newDate);\n var newMonth = generateConfig.getMonth(newDate);\n if (newYear === generateConfig.getYear(endDate) && newMonth > generateConfig.getMonth(endDate)) {\n newDate = generateConfig.setMonth(newDate, generateConfig.getMonth(endDate));\n }\n if (newYear === generateConfig.getYear(startDate) && newMonth < generateConfig.getMonth(startDate)) {\n newDate = generateConfig.setMonth(newDate, generateConfig.getMonth(startDate));\n }\n }\n _onChange(newDate);\n },\n getPopupContainer: function getPopupContainer() {\n return divRef.current;\n }\n });\n}\nfunction MonthSelect(props) {\n var prefixCls = props.prefixCls,\n fullscreen = props.fullscreen,\n validRange = props.validRange,\n value = props.value,\n generateConfig = props.generateConfig,\n locale = props.locale,\n _onChange2 = props.onChange,\n divRef = props.divRef;\n var month = generateConfig.getMonth(value || generateConfig.getNow());\n var start = 0;\n var end = 11;\n if (validRange) {\n var _validRange2 = _slicedToArray(validRange, 2),\n rangeStart = _validRange2[0],\n rangeEnd = _validRange2[1];\n var currentYear = generateConfig.getYear(value);\n if (generateConfig.getYear(rangeEnd) === currentYear) {\n end = generateConfig.getMonth(rangeEnd);\n }\n if (generateConfig.getYear(rangeStart) === currentYear) {\n start = generateConfig.getMonth(rangeStart);\n }\n }\n var months = locale.shortMonths || generateConfig.locale.getShortMonths(locale.locale);\n var options = [];\n for (var index = start; index <= end; index += 1) {\n options.push({\n label: months[index],\n value: index\n });\n }\n return /*#__PURE__*/React.createElement(Select, {\n size: fullscreen ? undefined : 'small',\n className: \"\".concat(prefixCls, \"-month-select\"),\n value: month,\n options: options,\n onChange: function onChange(newMonth) {\n _onChange2(generateConfig.setMonth(value, newMonth));\n },\n getPopupContainer: function getPopupContainer() {\n return divRef.current;\n }\n });\n}\nfunction ModeSwitch(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n mode = props.mode,\n fullscreen = props.fullscreen,\n onModeChange = props.onModeChange;\n return /*#__PURE__*/React.createElement(Group, {\n onChange: function onChange(_ref) {\n var value = _ref.target.value;\n onModeChange(value);\n },\n value: mode,\n size: fullscreen ? undefined : 'small',\n className: \"\".concat(prefixCls, \"-mode-switch\")\n }, /*#__PURE__*/React.createElement(Button, {\n value: \"month\"\n }, locale.month), /*#__PURE__*/React.createElement(Button, {\n value: \"year\"\n }, locale.year));\n}\nfunction CalendarHeader(props) {\n var prefixCls = props.prefixCls,\n fullscreen = props.fullscreen,\n mode = props.mode,\n onChange = props.onChange,\n onModeChange = props.onModeChange;\n var divRef = React.useRef(null);\n var formItemInputContext = useContext(FormItemInputContext);\n var mergedFormItemInputContext = useMemo(function () {\n return _extends(_extends({}, formItemInputContext), {\n isFormItemInput: false\n });\n }, [formItemInputContext]);\n var sharedProps = _extends(_extends({}, props), {\n onChange: onChange,\n fullscreen: fullscreen,\n divRef: divRef\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\"),\n ref: divRef\n }, /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: mergedFormItemInputContext\n }, /*#__PURE__*/React.createElement(YearSelect, _extends({}, sharedProps)), mode === 'month' && /*#__PURE__*/React.createElement(MonthSelect, _extends({}, sharedProps))), /*#__PURE__*/React.createElement(ModeSwitch, _extends({}, sharedProps, {\n onModeChange: onModeChange\n })));\n}\nexport default CalendarHeader;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport padStart from 'lodash/padStart';\nimport { PickerPanel as RCPickerPanel } from 'rc-picker';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport CalendarHeader from './Header';\nimport enUS from './locale/en_US';\nfunction generateCalendar(generateConfig) {\n function isSameYear(date1, date2) {\n return date1 && date2 && generateConfig.getYear(date1) === generateConfig.getYear(date2);\n }\n function isSameMonth(date1, date2) {\n return isSameYear(date1, date2) && generateConfig.getMonth(date1) === generateConfig.getMonth(date2);\n }\n function isSameDate(date1, date2) {\n return isSameMonth(date1, date2) && generateConfig.getDate(date1) === generateConfig.getDate(date2);\n }\n var Calendar = function Calendar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n dateFullCellRender = props.dateFullCellRender,\n dateCellRender = props.dateCellRender,\n monthFullCellRender = props.monthFullCellRender,\n monthCellRender = props.monthCellRender,\n headerRender = props.headerRender,\n value = props.value,\n defaultValue = props.defaultValue,\n disabledDate = props.disabledDate,\n mode = props.mode,\n validRange = props.validRange,\n _props$fullscreen = props.fullscreen,\n fullscreen = _props$fullscreen === void 0 ? true : _props$fullscreen,\n onChange = props.onChange,\n onPanelChange = props.onPanelChange,\n onSelect = props.onSelect;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var calendarPrefixCls = \"\".concat(prefixCls, \"-calendar\");\n var today = generateConfig.getNow();\n // ====================== State =======================\n // Value\n var _useMergedState = useMergedState(function () {\n return value || generateConfig.getNow();\n }, {\n defaultValue: defaultValue,\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1];\n // Mode\n var _useMergedState3 = useMergedState('month', {\n value: mode\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedMode = _useMergedState4[0],\n setMergedMode = _useMergedState4[1];\n var panelMode = React.useMemo(function () {\n return mergedMode === 'year' ? 'month' : 'date';\n }, [mergedMode]);\n // Disabled Date\n var mergedDisabledDate = React.useCallback(function (date) {\n var notInRange = validRange ? generateConfig.isAfter(validRange[0], date) || generateConfig.isAfter(date, validRange[1]) : false;\n return notInRange || !!(disabledDate === null || disabledDate === void 0 ? void 0 : disabledDate(date));\n }, [disabledDate, validRange]);\n // ====================== Events ======================\n var triggerPanelChange = function triggerPanelChange(date, newMode) {\n onPanelChange === null || onPanelChange === void 0 ? void 0 : onPanelChange(date, newMode);\n };\n var triggerChange = function triggerChange(date) {\n setMergedValue(date);\n if (!isSameDate(date, mergedValue)) {\n // Trigger when month panel switch month\n if (panelMode === 'date' && !isSameMonth(date, mergedValue) || panelMode === 'month' && !isSameYear(date, mergedValue)) {\n triggerPanelChange(date, mergedMode);\n }\n onChange === null || onChange === void 0 ? void 0 : onChange(date);\n }\n };\n var triggerModeChange = function triggerModeChange(newMode) {\n setMergedMode(newMode);\n triggerPanelChange(mergedValue, newMode);\n };\n var onInternalSelect = function onInternalSelect(date) {\n triggerChange(date);\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(date);\n };\n // ====================== Locale ======================\n var getDefaultLocale = function getDefaultLocale() {\n var locale = props.locale;\n var result = _extends(_extends({}, enUS), locale);\n result.lang = _extends(_extends({}, result.lang), (locale || {}).lang);\n return result;\n };\n // ====================== Render ======================\n var dateRender = React.useCallback(function (date) {\n if (dateFullCellRender) {\n return dateFullCellRender(date);\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-cell-inner\"), \"\".concat(calendarPrefixCls, \"-date\"), _defineProperty({}, \"\".concat(calendarPrefixCls, \"-date-today\"), isSameDate(today, date)))\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-value\")\n }, padStart(String(generateConfig.getDate(date)), 2, '0')), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-content\")\n }, dateCellRender && dateCellRender(date)));\n }, [dateFullCellRender, dateCellRender]);\n var monthRender = React.useCallback(function (date, locale) {\n if (monthFullCellRender) {\n return monthFullCellRender(date);\n }\n var months = locale.shortMonths || generateConfig.locale.getShortMonths(locale.locale);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-cell-inner\"), \"\".concat(calendarPrefixCls, \"-date\"), _defineProperty({}, \"\".concat(calendarPrefixCls, \"-date-today\"), isSameMonth(today, date)))\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-value\")\n }, months[generateConfig.getMonth(date)]), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(calendarPrefixCls, \"-date-content\")\n }, monthCellRender && monthCellRender(date)));\n }, [monthFullCellRender, monthCellRender]);\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Calendar\",\n defaultLocale: getDefaultLocale\n }, function (contextLocale) {\n var _classNames3;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(calendarPrefixCls, (_classNames3 = {}, _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-full\"), fullscreen), _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-mini\"), !fullscreen), _defineProperty(_classNames3, \"\".concat(calendarPrefixCls, \"-rtl\"), direction === 'rtl'), _classNames3), className),\n style: style\n }, headerRender ? headerRender({\n value: mergedValue,\n type: mergedMode,\n onChange: onInternalSelect,\n onTypeChange: triggerModeChange\n }) : /*#__PURE__*/React.createElement(CalendarHeader, {\n prefixCls: calendarPrefixCls,\n value: mergedValue,\n generateConfig: generateConfig,\n mode: mergedMode,\n fullscreen: fullscreen,\n locale: contextLocale.lang,\n validRange: validRange,\n onChange: onInternalSelect,\n onModeChange: triggerModeChange\n }), /*#__PURE__*/React.createElement(RCPickerPanel, {\n value: mergedValue,\n prefixCls: prefixCls,\n locale: contextLocale.lang,\n generateConfig: generateConfig,\n dateRender: dateRender,\n monthCellRender: function monthCellRender(date) {\n return monthRender(date, contextLocale.lang);\n },\n onSelect: onInternalSelect,\n mode: panelMode,\n picker: panelMode,\n disabledDate: mergedDisabledDate,\n hideHeader: true\n }));\n });\n };\n return Calendar;\n}\nexport default generateCalendar;","import momentGenerateConfig from \"rc-picker/es/generate/moment\";\nimport generateCalendar from './generateCalendar';\nvar Calendar = generateCalendar(momentGenerateConfig);\nexport default Calendar;","var initialState = {\n animating: false,\n autoplaying: null,\n currentDirection: 0,\n currentLeft: null,\n currentSlide: 0,\n direction: 1,\n dragging: false,\n edgeDragged: false,\n initialized: false,\n lazyLoadedList: [],\n listHeight: null,\n listWidth: null,\n scrolling: false,\n slideCount: null,\n slideHeight: null,\n slideWidth: null,\n swipeLeft: null,\n swiped: false,\n // used by swipeEvent. differentites between touch and swipe.\n swiping: false,\n touchObject: {\n startX: 0,\n startY: 0,\n curX: 0,\n curY: 0\n },\n trackStyle: {},\n trackWidth: 0,\n targetSlide: 0\n};\nexport default initialState;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport React from \"react\";\nexport function clamp(number, lowerBound, upperBound) {\n return Math.max(lowerBound, Math.min(number, upperBound));\n}\nexport var safePreventDefault = function safePreventDefault(event) {\n var passiveEvents = [\"onTouchStart\", \"onTouchMove\", \"onWheel\"];\n\n if (!passiveEvents.includes(event._reactName)) {\n event.preventDefault();\n }\n};\nexport var getOnDemandLazySlides = function getOnDemandLazySlides(spec) {\n var onDemandSlides = [];\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n\n for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {\n if (spec.lazyLoadedList.indexOf(slideIndex) < 0) {\n onDemandSlides.push(slideIndex);\n }\n }\n\n return onDemandSlides;\n}; // return list of slides that need to be present\n\nexport var getRequiredLazySlides = function getRequiredLazySlides(spec) {\n var requiredSlides = [];\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n\n for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {\n requiredSlides.push(slideIndex);\n }\n\n return requiredSlides;\n}; // startIndex that needs to be present\n\nexport var lazyStartIndex = function lazyStartIndex(spec) {\n return spec.currentSlide - lazySlidesOnLeft(spec);\n};\nexport var lazyEndIndex = function lazyEndIndex(spec) {\n return spec.currentSlide + lazySlidesOnRight(spec);\n};\nexport var lazySlidesOnLeft = function lazySlidesOnLeft(spec) {\n return spec.centerMode ? Math.floor(spec.slidesToShow / 2) + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : 0;\n};\nexport var lazySlidesOnRight = function lazySlidesOnRight(spec) {\n return spec.centerMode ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow;\n}; // get width of an element\n\nexport var getWidth = function getWidth(elem) {\n return elem && elem.offsetWidth || 0;\n};\nexport var getHeight = function getHeight(elem) {\n return elem && elem.offsetHeight || 0;\n};\nexport var getSwipeDirection = function getSwipeDirection(touchObject) {\n var verticalSwiping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var xDist, yDist, r, swipeAngle;\n xDist = touchObject.startX - touchObject.curX;\n yDist = touchObject.startY - touchObject.curY;\n r = Math.atan2(yDist, xDist);\n swipeAngle = Math.round(r * 180 / Math.PI);\n\n if (swipeAngle < 0) {\n swipeAngle = 360 - Math.abs(swipeAngle);\n }\n\n if (swipeAngle <= 45 && swipeAngle >= 0 || swipeAngle <= 360 && swipeAngle >= 315) {\n return \"left\";\n }\n\n if (swipeAngle >= 135 && swipeAngle <= 225) {\n return \"right\";\n }\n\n if (verticalSwiping === true) {\n if (swipeAngle >= 35 && swipeAngle <= 135) {\n return \"up\";\n } else {\n return \"down\";\n }\n }\n\n return \"vertical\";\n}; // whether or not we can go next\n\nexport var canGoNext = function canGoNext(spec) {\n var canGo = true;\n\n if (!spec.infinite) {\n if (spec.centerMode && spec.currentSlide >= spec.slideCount - 1) {\n canGo = false;\n } else if (spec.slideCount <= spec.slidesToShow || spec.currentSlide >= spec.slideCount - spec.slidesToShow) {\n canGo = false;\n }\n }\n\n return canGo;\n}; // given an object and a list of keys, return new object with given keys\n\nexport var extractObject = function extractObject(spec, keys) {\n var newObject = {};\n keys.forEach(function (key) {\n return newObject[key] = spec[key];\n });\n return newObject;\n}; // get initialized state\n\nexport var initializedState = function initializedState(spec) {\n // spec also contains listRef, trackRef\n var slideCount = React.Children.count(spec.children);\n var listNode = spec.listRef;\n var listWidth = Math.ceil(getWidth(listNode));\n var trackNode = spec.trackRef && spec.trackRef.node;\n var trackWidth = Math.ceil(getWidth(trackNode));\n var slideWidth;\n\n if (!spec.vertical) {\n var centerPaddingAdj = spec.centerMode && parseInt(spec.centerPadding) * 2;\n\n if (typeof spec.centerPadding === \"string\" && spec.centerPadding.slice(-1) === \"%\") {\n centerPaddingAdj *= listWidth / 100;\n }\n\n slideWidth = Math.ceil((listWidth - centerPaddingAdj) / spec.slidesToShow);\n } else {\n slideWidth = listWidth;\n }\n\n var slideHeight = listNode && getHeight(listNode.querySelector('[data-index=\"0\"]'));\n var listHeight = slideHeight * spec.slidesToShow;\n var currentSlide = spec.currentSlide === undefined ? spec.initialSlide : spec.currentSlide;\n\n if (spec.rtl && spec.currentSlide === undefined) {\n currentSlide = slideCount - 1 - spec.initialSlide;\n }\n\n var lazyLoadedList = spec.lazyLoadedList || [];\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, spec), {}, {\n currentSlide: currentSlide,\n lazyLoadedList: lazyLoadedList\n }));\n lazyLoadedList = lazyLoadedList.concat(slidesToLoad);\n var state = {\n slideCount: slideCount,\n slideWidth: slideWidth,\n listWidth: listWidth,\n trackWidth: trackWidth,\n currentSlide: currentSlide,\n slideHeight: slideHeight,\n listHeight: listHeight,\n lazyLoadedList: lazyLoadedList\n };\n\n if (spec.autoplaying === null && spec.autoplay) {\n state[\"autoplaying\"] = \"playing\";\n }\n\n return state;\n};\nexport var slideHandler = function slideHandler(spec) {\n var waitForAnimate = spec.waitForAnimate,\n animating = spec.animating,\n fade = spec.fade,\n infinite = spec.infinite,\n index = spec.index,\n slideCount = spec.slideCount,\n lazyLoad = spec.lazyLoad,\n currentSlide = spec.currentSlide,\n centerMode = spec.centerMode,\n slidesToScroll = spec.slidesToScroll,\n slidesToShow = spec.slidesToShow,\n useCSS = spec.useCSS;\n var lazyLoadedList = spec.lazyLoadedList;\n if (waitForAnimate && animating) return {};\n var animationSlide = index,\n finalSlide,\n animationLeft,\n finalLeft;\n var state = {},\n nextState = {};\n var targetSlide = infinite ? index : clamp(index, 0, slideCount - 1);\n\n if (fade) {\n if (!infinite && (index < 0 || index >= slideCount)) return {};\n\n if (index < 0) {\n animationSlide = index + slideCount;\n } else if (index >= slideCount) {\n animationSlide = index - slideCount;\n }\n\n if (lazyLoad && lazyLoadedList.indexOf(animationSlide) < 0) {\n lazyLoadedList = lazyLoadedList.concat(animationSlide);\n }\n\n state = {\n animating: true,\n currentSlide: animationSlide,\n lazyLoadedList: lazyLoadedList,\n targetSlide: animationSlide\n };\n nextState = {\n animating: false,\n targetSlide: animationSlide\n };\n } else {\n finalSlide = animationSlide;\n\n if (animationSlide < 0) {\n finalSlide = animationSlide + slideCount;\n if (!infinite) finalSlide = 0;else if (slideCount % slidesToScroll !== 0) finalSlide = slideCount - slideCount % slidesToScroll;\n } else if (!canGoNext(spec) && animationSlide > currentSlide) {\n animationSlide = finalSlide = currentSlide;\n } else if (centerMode && animationSlide >= slideCount) {\n animationSlide = infinite ? slideCount : slideCount - 1;\n finalSlide = infinite ? 0 : slideCount - 1;\n } else if (animationSlide >= slideCount) {\n finalSlide = animationSlide - slideCount;\n if (!infinite) finalSlide = slideCount - slidesToShow;else if (slideCount % slidesToScroll !== 0) finalSlide = 0;\n }\n\n if (!infinite && animationSlide + slidesToShow >= slideCount) {\n finalSlide = slideCount - slidesToShow;\n }\n\n animationLeft = getTrackLeft(_objectSpread(_objectSpread({}, spec), {}, {\n slideIndex: animationSlide\n }));\n finalLeft = getTrackLeft(_objectSpread(_objectSpread({}, spec), {}, {\n slideIndex: finalSlide\n }));\n\n if (!infinite) {\n if (animationLeft === finalLeft) animationSlide = finalSlide;\n animationLeft = finalLeft;\n }\n\n if (lazyLoad) {\n lazyLoadedList = lazyLoadedList.concat(getOnDemandLazySlides(_objectSpread(_objectSpread({}, spec), {}, {\n currentSlide: animationSlide\n })));\n }\n\n if (!useCSS) {\n state = {\n currentSlide: finalSlide,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: finalLeft\n })),\n lazyLoadedList: lazyLoadedList,\n targetSlide: targetSlide\n };\n } else {\n state = {\n animating: true,\n currentSlide: finalSlide,\n trackStyle: getTrackAnimateCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: animationLeft\n })),\n lazyLoadedList: lazyLoadedList,\n targetSlide: targetSlide\n };\n nextState = {\n animating: false,\n currentSlide: finalSlide,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: finalLeft\n })),\n swipeLeft: null,\n targetSlide: targetSlide\n };\n }\n }\n\n return {\n state: state,\n nextState: nextState\n };\n};\nexport var changeSlide = function changeSlide(spec, options) {\n var indexOffset, previousInt, slideOffset, unevenOffset, targetSlide;\n var slidesToScroll = spec.slidesToScroll,\n slidesToShow = spec.slidesToShow,\n slideCount = spec.slideCount,\n currentSlide = spec.currentSlide,\n previousTargetSlide = spec.targetSlide,\n lazyLoad = spec.lazyLoad,\n infinite = spec.infinite;\n unevenOffset = slideCount % slidesToScroll !== 0;\n indexOffset = unevenOffset ? 0 : (slideCount - currentSlide) % slidesToScroll;\n\n if (options.message === \"previous\") {\n slideOffset = indexOffset === 0 ? slidesToScroll : slidesToShow - indexOffset;\n targetSlide = currentSlide - slideOffset;\n\n if (lazyLoad && !infinite) {\n previousInt = currentSlide - slideOffset;\n targetSlide = previousInt === -1 ? slideCount - 1 : previousInt;\n }\n\n if (!infinite) {\n targetSlide = previousTargetSlide - slidesToScroll;\n }\n } else if (options.message === \"next\") {\n slideOffset = indexOffset === 0 ? slidesToScroll : indexOffset;\n targetSlide = currentSlide + slideOffset;\n\n if (lazyLoad && !infinite) {\n targetSlide = (currentSlide + slidesToScroll) % slideCount + indexOffset;\n }\n\n if (!infinite) {\n targetSlide = previousTargetSlide + slidesToScroll;\n }\n } else if (options.message === \"dots\") {\n // Click on dots\n targetSlide = options.index * options.slidesToScroll;\n } else if (options.message === \"children\") {\n // Click on the slides\n targetSlide = options.index;\n\n if (infinite) {\n var direction = siblingDirection(_objectSpread(_objectSpread({}, spec), {}, {\n targetSlide: targetSlide\n }));\n\n if (targetSlide > options.currentSlide && direction === \"left\") {\n targetSlide = targetSlide - slideCount;\n } else if (targetSlide < options.currentSlide && direction === \"right\") {\n targetSlide = targetSlide + slideCount;\n }\n }\n } else if (options.message === \"index\") {\n targetSlide = Number(options.index);\n }\n\n return targetSlide;\n};\nexport var keyHandler = function keyHandler(e, accessibility, rtl) {\n if (e.target.tagName.match(\"TEXTAREA|INPUT|SELECT\") || !accessibility) return \"\";\n if (e.keyCode === 37) return rtl ? \"next\" : \"previous\";\n if (e.keyCode === 39) return rtl ? \"previous\" : \"next\";\n return \"\";\n};\nexport var swipeStart = function swipeStart(e, swipe, draggable) {\n e.target.tagName === \"IMG\" && safePreventDefault(e);\n if (!swipe || !draggable && e.type.indexOf(\"mouse\") !== -1) return \"\";\n return {\n dragging: true,\n touchObject: {\n startX: e.touches ? e.touches[0].pageX : e.clientX,\n startY: e.touches ? e.touches[0].pageY : e.clientY,\n curX: e.touches ? e.touches[0].pageX : e.clientX,\n curY: e.touches ? e.touches[0].pageY : e.clientY\n }\n };\n};\nexport var swipeMove = function swipeMove(e, spec) {\n // spec also contains, trackRef and slideIndex\n var scrolling = spec.scrolling,\n animating = spec.animating,\n vertical = spec.vertical,\n swipeToSlide = spec.swipeToSlide,\n verticalSwiping = spec.verticalSwiping,\n rtl = spec.rtl,\n currentSlide = spec.currentSlide,\n edgeFriction = spec.edgeFriction,\n edgeDragged = spec.edgeDragged,\n onEdge = spec.onEdge,\n swiped = spec.swiped,\n swiping = spec.swiping,\n slideCount = spec.slideCount,\n slidesToScroll = spec.slidesToScroll,\n infinite = spec.infinite,\n touchObject = spec.touchObject,\n swipeEvent = spec.swipeEvent,\n listHeight = spec.listHeight,\n listWidth = spec.listWidth;\n if (scrolling) return;\n if (animating) return safePreventDefault(e);\n if (vertical && swipeToSlide && verticalSwiping) safePreventDefault(e);\n var swipeLeft,\n state = {};\n var curLeft = getTrackLeft(spec);\n touchObject.curX = e.touches ? e.touches[0].pageX : e.clientX;\n touchObject.curY = e.touches ? e.touches[0].pageY : e.clientY;\n touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curX - touchObject.startX, 2)));\n var verticalSwipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curY - touchObject.startY, 2)));\n\n if (!verticalSwiping && !swiping && verticalSwipeLength > 10) {\n return {\n scrolling: true\n };\n }\n\n if (verticalSwiping) touchObject.swipeLength = verticalSwipeLength;\n var positionOffset = (!rtl ? 1 : -1) * (touchObject.curX > touchObject.startX ? 1 : -1);\n if (verticalSwiping) positionOffset = touchObject.curY > touchObject.startY ? 1 : -1;\n var dotCount = Math.ceil(slideCount / slidesToScroll);\n var swipeDirection = getSwipeDirection(spec.touchObject, verticalSwiping);\n var touchSwipeLength = touchObject.swipeLength;\n\n if (!infinite) {\n if (currentSlide === 0 && (swipeDirection === \"right\" || swipeDirection === \"down\") || currentSlide + 1 >= dotCount && (swipeDirection === \"left\" || swipeDirection === \"up\") || !canGoNext(spec) && (swipeDirection === \"left\" || swipeDirection === \"up\")) {\n touchSwipeLength = touchObject.swipeLength * edgeFriction;\n\n if (edgeDragged === false && onEdge) {\n onEdge(swipeDirection);\n state[\"edgeDragged\"] = true;\n }\n }\n }\n\n if (!swiped && swipeEvent) {\n swipeEvent(swipeDirection);\n state[\"swiped\"] = true;\n }\n\n if (!vertical) {\n if (!rtl) {\n swipeLeft = curLeft + touchSwipeLength * positionOffset;\n } else {\n swipeLeft = curLeft - touchSwipeLength * positionOffset;\n }\n } else {\n swipeLeft = curLeft + touchSwipeLength * (listHeight / listWidth) * positionOffset;\n }\n\n if (verticalSwiping) {\n swipeLeft = curLeft + touchSwipeLength * positionOffset;\n }\n\n state = _objectSpread(_objectSpread({}, state), {}, {\n touchObject: touchObject,\n swipeLeft: swipeLeft,\n trackStyle: getTrackCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: swipeLeft\n }))\n });\n\n if (Math.abs(touchObject.curX - touchObject.startX) < Math.abs(touchObject.curY - touchObject.startY) * 0.8) {\n return state;\n }\n\n if (touchObject.swipeLength > 10) {\n state[\"swiping\"] = true;\n safePreventDefault(e);\n }\n\n return state;\n};\nexport var swipeEnd = function swipeEnd(e, spec) {\n var dragging = spec.dragging,\n swipe = spec.swipe,\n touchObject = spec.touchObject,\n listWidth = spec.listWidth,\n touchThreshold = spec.touchThreshold,\n verticalSwiping = spec.verticalSwiping,\n listHeight = spec.listHeight,\n swipeToSlide = spec.swipeToSlide,\n scrolling = spec.scrolling,\n onSwipe = spec.onSwipe,\n targetSlide = spec.targetSlide,\n currentSlide = spec.currentSlide,\n infinite = spec.infinite;\n\n if (!dragging) {\n if (swipe) safePreventDefault(e);\n return {};\n }\n\n var minSwipe = verticalSwiping ? listHeight / touchThreshold : listWidth / touchThreshold;\n var swipeDirection = getSwipeDirection(touchObject, verticalSwiping); // reset the state of touch related state variables.\n\n var state = {\n dragging: false,\n edgeDragged: false,\n scrolling: false,\n swiping: false,\n swiped: false,\n swipeLeft: null,\n touchObject: {}\n };\n\n if (scrolling) {\n return state;\n }\n\n if (!touchObject.swipeLength) {\n return state;\n }\n\n if (touchObject.swipeLength > minSwipe) {\n safePreventDefault(e);\n\n if (onSwipe) {\n onSwipe(swipeDirection);\n }\n\n var slideCount, newSlide;\n var activeSlide = infinite ? currentSlide : targetSlide;\n\n switch (swipeDirection) {\n case \"left\":\n case \"up\":\n newSlide = activeSlide + getSlideCount(spec);\n slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;\n state[\"currentDirection\"] = 0;\n break;\n\n case \"right\":\n case \"down\":\n newSlide = activeSlide - getSlideCount(spec);\n slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;\n state[\"currentDirection\"] = 1;\n break;\n\n default:\n slideCount = activeSlide;\n }\n\n state[\"triggerSlideHandler\"] = slideCount;\n } else {\n // Adjust the track back to it's original position.\n var currentLeft = getTrackLeft(spec);\n state[\"trackStyle\"] = getTrackAnimateCSS(_objectSpread(_objectSpread({}, spec), {}, {\n left: currentLeft\n }));\n }\n\n return state;\n};\nexport var getNavigableIndexes = function getNavigableIndexes(spec) {\n var max = spec.infinite ? spec.slideCount * 2 : spec.slideCount;\n var breakpoint = spec.infinite ? spec.slidesToShow * -1 : 0;\n var counter = spec.infinite ? spec.slidesToShow * -1 : 0;\n var indexes = [];\n\n while (breakpoint < max) {\n indexes.push(breakpoint);\n breakpoint = counter + spec.slidesToScroll;\n counter += Math.min(spec.slidesToScroll, spec.slidesToShow);\n }\n\n return indexes;\n};\nexport var checkNavigable = function checkNavigable(spec, index) {\n var navigables = getNavigableIndexes(spec);\n var prevNavigable = 0;\n\n if (index > navigables[navigables.length - 1]) {\n index = navigables[navigables.length - 1];\n } else {\n for (var n in navigables) {\n if (index < navigables[n]) {\n index = prevNavigable;\n break;\n }\n\n prevNavigable = navigables[n];\n }\n }\n\n return index;\n};\nexport var getSlideCount = function getSlideCount(spec) {\n var centerOffset = spec.centerMode ? spec.slideWidth * Math.floor(spec.slidesToShow / 2) : 0;\n\n if (spec.swipeToSlide) {\n var swipedSlide;\n var slickList = spec.listRef;\n var slides = slickList.querySelectorAll && slickList.querySelectorAll(\".slick-slide\") || [];\n Array.from(slides).every(function (slide) {\n if (!spec.vertical) {\n if (slide.offsetLeft - centerOffset + getWidth(slide) / 2 > spec.swipeLeft * -1) {\n swipedSlide = slide;\n return false;\n }\n } else {\n if (slide.offsetTop + getHeight(slide) / 2 > spec.swipeLeft * -1) {\n swipedSlide = slide;\n return false;\n }\n }\n\n return true;\n });\n\n if (!swipedSlide) {\n return 0;\n }\n\n var currentIndex = spec.rtl === true ? spec.slideCount - spec.currentSlide : spec.currentSlide;\n var slidesTraversed = Math.abs(swipedSlide.dataset.index - currentIndex) || 1;\n return slidesTraversed;\n } else {\n return spec.slidesToScroll;\n }\n};\nexport var checkSpecKeys = function checkSpecKeys(spec, keysArray) {\n return (// eslint-disable-next-line no-prototype-builtins\n keysArray.reduce(function (value, key) {\n return value && spec.hasOwnProperty(key);\n }, true) ? null : console.error(\"Keys Missing:\", spec)\n );\n};\nexport var getTrackCSS = function getTrackCSS(spec) {\n checkSpecKeys(spec, [\"left\", \"variableWidth\", \"slideCount\", \"slidesToShow\", \"slideWidth\"]);\n var trackWidth, trackHeight;\n var trackChildren = spec.slideCount + 2 * spec.slidesToShow;\n\n if (!spec.vertical) {\n trackWidth = getTotalSlides(spec) * spec.slideWidth;\n } else {\n trackHeight = trackChildren * spec.slideHeight;\n }\n\n var style = {\n opacity: 1,\n transition: \"\",\n WebkitTransition: \"\"\n };\n\n if (spec.useTransform) {\n var WebkitTransform = !spec.vertical ? \"translate3d(\" + spec.left + \"px, 0px, 0px)\" : \"translate3d(0px, \" + spec.left + \"px, 0px)\";\n var transform = !spec.vertical ? \"translate3d(\" + spec.left + \"px, 0px, 0px)\" : \"translate3d(0px, \" + spec.left + \"px, 0px)\";\n var msTransform = !spec.vertical ? \"translateX(\" + spec.left + \"px)\" : \"translateY(\" + spec.left + \"px)\";\n style = _objectSpread(_objectSpread({}, style), {}, {\n WebkitTransform: WebkitTransform,\n transform: transform,\n msTransform: msTransform\n });\n } else {\n if (spec.vertical) {\n style[\"top\"] = spec.left;\n } else {\n style[\"left\"] = spec.left;\n }\n }\n\n if (spec.fade) style = {\n opacity: 1\n };\n if (trackWidth) style.width = trackWidth;\n if (trackHeight) style.height = trackHeight; // Fallback for IE8\n\n if (window && !window.addEventListener && window.attachEvent) {\n if (!spec.vertical) {\n style.marginLeft = spec.left + \"px\";\n } else {\n style.marginTop = spec.left + \"px\";\n }\n }\n\n return style;\n};\nexport var getTrackAnimateCSS = function getTrackAnimateCSS(spec) {\n checkSpecKeys(spec, [\"left\", \"variableWidth\", \"slideCount\", \"slidesToShow\", \"slideWidth\", \"speed\", \"cssEase\"]);\n var style = getTrackCSS(spec); // useCSS is true by default so it can be undefined\n\n if (spec.useTransform) {\n style.WebkitTransition = \"-webkit-transform \" + spec.speed + \"ms \" + spec.cssEase;\n style.transition = \"transform \" + spec.speed + \"ms \" + spec.cssEase;\n } else {\n if (spec.vertical) {\n style.transition = \"top \" + spec.speed + \"ms \" + spec.cssEase;\n } else {\n style.transition = \"left \" + spec.speed + \"ms \" + spec.cssEase;\n }\n }\n\n return style;\n};\nexport var getTrackLeft = function getTrackLeft(spec) {\n if (spec.unslick) {\n return 0;\n }\n\n checkSpecKeys(spec, [\"slideIndex\", \"trackRef\", \"infinite\", \"centerMode\", \"slideCount\", \"slidesToShow\", \"slidesToScroll\", \"slideWidth\", \"listWidth\", \"variableWidth\", \"slideHeight\"]);\n var slideIndex = spec.slideIndex,\n trackRef = spec.trackRef,\n infinite = spec.infinite,\n centerMode = spec.centerMode,\n slideCount = spec.slideCount,\n slidesToShow = spec.slidesToShow,\n slidesToScroll = spec.slidesToScroll,\n slideWidth = spec.slideWidth,\n listWidth = spec.listWidth,\n variableWidth = spec.variableWidth,\n slideHeight = spec.slideHeight,\n fade = spec.fade,\n vertical = spec.vertical;\n var slideOffset = 0;\n var targetLeft;\n var targetSlide;\n var verticalOffset = 0;\n\n if (fade || spec.slideCount === 1) {\n return 0;\n }\n\n var slidesToOffset = 0;\n\n if (infinite) {\n slidesToOffset = -getPreClones(spec); // bring active slide to the beginning of visual area\n // if next scroll doesn't have enough children, just reach till the end of original slides instead of shifting slidesToScroll children\n\n if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {\n slidesToOffset = -(slideIndex > slideCount ? slidesToShow - (slideIndex - slideCount) : slideCount % slidesToScroll);\n } // shift current slide to center of the frame\n\n\n if (centerMode) {\n slidesToOffset += parseInt(slidesToShow / 2);\n }\n } else {\n if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {\n slidesToOffset = slidesToShow - slideCount % slidesToScroll;\n }\n\n if (centerMode) {\n slidesToOffset = parseInt(slidesToShow / 2);\n }\n }\n\n slideOffset = slidesToOffset * slideWidth;\n verticalOffset = slidesToOffset * slideHeight;\n\n if (!vertical) {\n targetLeft = slideIndex * slideWidth * -1 + slideOffset;\n } else {\n targetLeft = slideIndex * slideHeight * -1 + verticalOffset;\n }\n\n if (variableWidth === true) {\n var targetSlideIndex;\n var trackElem = trackRef && trackRef.node;\n targetSlideIndex = slideIndex + getPreClones(spec);\n targetSlide = trackElem && trackElem.childNodes[targetSlideIndex];\n targetLeft = targetSlide ? targetSlide.offsetLeft * -1 : 0;\n\n if (centerMode === true) {\n targetSlideIndex = infinite ? slideIndex + getPreClones(spec) : slideIndex;\n targetSlide = trackElem && trackElem.children[targetSlideIndex];\n targetLeft = 0;\n\n for (var slide = 0; slide < targetSlideIndex; slide++) {\n targetLeft -= trackElem && trackElem.children[slide] && trackElem.children[slide].offsetWidth;\n }\n\n targetLeft -= parseInt(spec.centerPadding);\n targetLeft += targetSlide && (listWidth - targetSlide.offsetWidth) / 2;\n }\n }\n\n return targetLeft;\n};\nexport var getPreClones = function getPreClones(spec) {\n if (spec.unslick || !spec.infinite) {\n return 0;\n }\n\n if (spec.variableWidth) {\n return spec.slideCount;\n }\n\n return spec.slidesToShow + (spec.centerMode ? 1 : 0);\n};\nexport var getPostClones = function getPostClones(spec) {\n if (spec.unslick || !spec.infinite) {\n return 0;\n }\n\n return spec.slideCount;\n};\nexport var getTotalSlides = function getTotalSlides(spec) {\n return spec.slideCount === 1 ? 1 : getPreClones(spec) + spec.slideCount + getPostClones(spec);\n};\nexport var siblingDirection = function siblingDirection(spec) {\n if (spec.targetSlide > spec.currentSlide) {\n if (spec.targetSlide > spec.currentSlide + slidesOnRight(spec)) {\n return \"left\";\n }\n\n return \"right\";\n } else {\n if (spec.targetSlide < spec.currentSlide - slidesOnLeft(spec)) {\n return \"right\";\n }\n\n return \"left\";\n }\n};\nexport var slidesOnRight = function slidesOnRight(_ref) {\n var slidesToShow = _ref.slidesToShow,\n centerMode = _ref.centerMode,\n rtl = _ref.rtl,\n centerPadding = _ref.centerPadding;\n\n // returns no of slides on the right of active slide\n if (centerMode) {\n var right = (slidesToShow - 1) / 2 + 1;\n if (parseInt(centerPadding) > 0) right += 1;\n if (rtl && slidesToShow % 2 === 0) right += 1;\n return right;\n }\n\n if (rtl) {\n return 0;\n }\n\n return slidesToShow - 1;\n};\nexport var slidesOnLeft = function slidesOnLeft(_ref2) {\n var slidesToShow = _ref2.slidesToShow,\n centerMode = _ref2.centerMode,\n rtl = _ref2.rtl,\n centerPadding = _ref2.centerPadding;\n\n // returns no of slides on the left of active slide\n if (centerMode) {\n var left = (slidesToShow - 1) / 2 + 1;\n if (parseInt(centerPadding) > 0) left += 1;\n if (!rtl && slidesToShow % 2 === 0) left += 1;\n return left;\n }\n\n if (rtl) {\n return slidesToShow - 1;\n }\n\n return 0;\n};\nexport var canUseDOM = function canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n};","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { lazyStartIndex, lazyEndIndex, getPreClones } from \"./utils/innerSliderUtils\"; // given specifications/props for a slide, fetch all the classes that need to be applied to the slide\n\nvar getSlideClasses = function getSlideClasses(spec) {\n var slickActive, slickCenter, slickCloned;\n var centerOffset, index;\n\n if (spec.rtl) {\n index = spec.slideCount - 1 - spec.index;\n } else {\n index = spec.index;\n }\n\n slickCloned = index < 0 || index >= spec.slideCount;\n\n if (spec.centerMode) {\n centerOffset = Math.floor(spec.slidesToShow / 2);\n slickCenter = (index - spec.currentSlide) % spec.slideCount === 0;\n\n if (index > spec.currentSlide - centerOffset - 1 && index <= spec.currentSlide + centerOffset) {\n slickActive = true;\n }\n } else {\n slickActive = spec.currentSlide <= index && index < spec.currentSlide + spec.slidesToShow;\n }\n\n var focusedSlide;\n\n if (spec.targetSlide < 0) {\n focusedSlide = spec.targetSlide + spec.slideCount;\n } else if (spec.targetSlide >= spec.slideCount) {\n focusedSlide = spec.targetSlide - spec.slideCount;\n } else {\n focusedSlide = spec.targetSlide;\n }\n\n var slickCurrent = index === focusedSlide;\n return {\n \"slick-slide\": true,\n \"slick-active\": slickActive,\n \"slick-center\": slickCenter,\n \"slick-cloned\": slickCloned,\n \"slick-current\": slickCurrent // dubious in case of RTL\n\n };\n};\n\nvar getSlideStyle = function getSlideStyle(spec) {\n var style = {};\n\n if (spec.variableWidth === undefined || spec.variableWidth === false) {\n style.width = spec.slideWidth;\n }\n\n if (spec.fade) {\n style.position = \"relative\";\n\n if (spec.vertical) {\n style.top = -spec.index * parseInt(spec.slideHeight);\n } else {\n style.left = -spec.index * parseInt(spec.slideWidth);\n }\n\n style.opacity = spec.currentSlide === spec.index ? 1 : 0;\n\n if (spec.useCSS) {\n style.transition = \"opacity \" + spec.speed + \"ms \" + spec.cssEase + \", \" + \"visibility \" + spec.speed + \"ms \" + spec.cssEase;\n }\n }\n\n return style;\n};\n\nvar getKey = function getKey(child, fallbackKey) {\n return child.key + \"-\" + fallbackKey;\n};\n\nvar renderSlides = function renderSlides(spec) {\n var key;\n var slides = [];\n var preCloneSlides = [];\n var postCloneSlides = [];\n var childrenCount = React.Children.count(spec.children);\n var startIndex = lazyStartIndex(spec);\n var endIndex = lazyEndIndex(spec);\n React.Children.forEach(spec.children, function (elem, index) {\n var child;\n var childOnClickOptions = {\n message: \"children\",\n index: index,\n slidesToScroll: spec.slidesToScroll,\n currentSlide: spec.currentSlide\n }; // in case of lazyLoad, whether or not we want to fetch the slide\n\n if (!spec.lazyLoad || spec.lazyLoad && spec.lazyLoadedList.indexOf(index) >= 0) {\n child = elem;\n } else {\n child = /*#__PURE__*/React.createElement(\"div\", null);\n }\n\n var childStyle = getSlideStyle(_objectSpread(_objectSpread({}, spec), {}, {\n index: index\n }));\n var slideClass = child.props.className || \"\";\n var slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: index\n })); // push a cloned element of the desired slide\n\n slides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"original\" + getKey(child, index),\n \"data-index\": index,\n className: classnames(slideClasses, slideClass),\n tabIndex: \"-1\",\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({\n outline: \"none\"\n }, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n })); // if slide needs to be precloned or postcloned\n\n if (spec.infinite && spec.fade === false) {\n var preCloneNo = childrenCount - index;\n\n if (preCloneNo <= getPreClones(spec) && childrenCount !== spec.slidesToShow) {\n key = -preCloneNo;\n\n if (key >= startIndex) {\n child = elem;\n }\n\n slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: key\n }));\n preCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"precloned\" + getKey(child, key),\n \"data-index\": key,\n tabIndex: \"-1\",\n className: classnames(slideClasses, slideClass),\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n }));\n }\n\n if (childrenCount !== spec.slidesToShow) {\n key = childrenCount + index;\n\n if (key < endIndex) {\n child = elem;\n }\n\n slideClasses = getSlideClasses(_objectSpread(_objectSpread({}, spec), {}, {\n index: key\n }));\n postCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {\n key: \"postcloned\" + getKey(child, key),\n \"data-index\": key,\n tabIndex: \"-1\",\n className: classnames(slideClasses, slideClass),\n \"aria-hidden\": !slideClasses[\"slick-active\"],\n style: _objectSpread(_objectSpread({}, child.props.style || {}), childStyle),\n onClick: function onClick(e) {\n child.props && child.props.onClick && child.props.onClick(e);\n\n if (spec.focusOnSelect) {\n spec.focusOnSelect(childOnClickOptions);\n }\n }\n }));\n }\n }\n });\n\n if (spec.rtl) {\n return preCloneSlides.concat(slides, postCloneSlides).reverse();\n } else {\n return preCloneSlides.concat(slides, postCloneSlides);\n }\n};\n\nexport var Track = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(Track, _React$PureComponent);\n\n var _super = _createSuper(Track);\n\n function Track() {\n var _this;\n\n _classCallCheck(this, Track);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"node\", null);\n\n _defineProperty(_assertThisInitialized(_this), \"handleRef\", function (ref) {\n _this.node = ref;\n });\n\n return _this;\n }\n\n _createClass(Track, [{\n key: \"render\",\n value: function render() {\n var slides = renderSlides(this.props);\n var _this$props = this.props,\n onMouseEnter = _this$props.onMouseEnter,\n onMouseOver = _this$props.onMouseOver,\n onMouseLeave = _this$props.onMouseLeave;\n var mouseEvents = {\n onMouseEnter: onMouseEnter,\n onMouseOver: onMouseOver,\n onMouseLeave: onMouseLeave\n };\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: this.handleRef,\n className: \"slick-track\",\n style: this.props.trackStyle\n }, mouseEvents), slides);\n }\n }]);\n\n return Track;\n}(React.PureComponent);","\"use strict\";\n\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { clamp } from \"./utils/innerSliderUtils\";\n\nvar getDotCount = function getDotCount(spec) {\n var dots;\n\n if (spec.infinite) {\n dots = Math.ceil(spec.slideCount / spec.slidesToScroll);\n } else {\n dots = Math.ceil((spec.slideCount - spec.slidesToShow) / spec.slidesToScroll) + 1;\n }\n\n return dots;\n};\n\nexport var Dots = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(Dots, _React$PureComponent);\n\n var _super = _createSuper(Dots);\n\n function Dots() {\n _classCallCheck(this, Dots);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Dots, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n // In Autoplay the focus stays on clicked button even after transition\n // to next slide. That only goes away by click somewhere outside\n e.preventDefault();\n this.props.clickHandler(options);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n onMouseEnter = _this$props.onMouseEnter,\n onMouseOver = _this$props.onMouseOver,\n onMouseLeave = _this$props.onMouseLeave,\n infinite = _this$props.infinite,\n slidesToScroll = _this$props.slidesToScroll,\n slidesToShow = _this$props.slidesToShow,\n slideCount = _this$props.slideCount,\n currentSlide = _this$props.currentSlide;\n var dotCount = getDotCount({\n slideCount: slideCount,\n slidesToScroll: slidesToScroll,\n slidesToShow: slidesToShow,\n infinite: infinite\n });\n var mouseEvents = {\n onMouseEnter: onMouseEnter,\n onMouseOver: onMouseOver,\n onMouseLeave: onMouseLeave\n };\n var dots = [];\n\n for (var i = 0; i < dotCount; i++) {\n var _rightBound = (i + 1) * slidesToScroll - 1;\n\n var rightBound = infinite ? _rightBound : clamp(_rightBound, 0, slideCount - 1);\n\n var _leftBound = rightBound - (slidesToScroll - 1);\n\n var leftBound = infinite ? _leftBound : clamp(_leftBound, 0, slideCount - 1);\n var className = classnames({\n \"slick-active\": infinite ? currentSlide >= leftBound && currentSlide <= rightBound : currentSlide === leftBound\n });\n var dotOptions = {\n message: \"dots\",\n index: i,\n slidesToScroll: slidesToScroll,\n currentSlide: currentSlide\n };\n var onClick = this.clickHandler.bind(this, dotOptions);\n dots = dots.concat( /*#__PURE__*/React.createElement(\"li\", {\n key: i,\n className: className\n }, /*#__PURE__*/React.cloneElement(this.props.customPaging(i), {\n onClick: onClick\n })));\n }\n\n return /*#__PURE__*/React.cloneElement(this.props.appendDots(dots), _objectSpread({\n className: this.props.dotsClass\n }, mouseEvents));\n }\n }]);\n\n return Dots;\n}(React.PureComponent);","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from \"react\";\nimport classnames from \"classnames\";\nimport { canGoNext } from \"./utils/innerSliderUtils\";\nexport var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(PrevArrow, _React$PureComponent);\n\n var _super = _createSuper(PrevArrow);\n\n function PrevArrow() {\n _classCallCheck(this, PrevArrow);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(PrevArrow, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n if (e) {\n e.preventDefault();\n }\n\n this.props.clickHandler(options, e);\n }\n }, {\n key: \"render\",\n value: function render() {\n var prevClasses = {\n \"slick-arrow\": true,\n \"slick-prev\": true\n };\n var prevHandler = this.clickHandler.bind(this, {\n message: \"previous\"\n });\n\n if (!this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow)) {\n prevClasses[\"slick-disabled\"] = true;\n prevHandler = null;\n }\n\n var prevArrowProps = {\n key: \"0\",\n \"data-role\": \"none\",\n className: classnames(prevClasses),\n style: {\n display: \"block\"\n },\n onClick: prevHandler\n };\n var customProps = {\n currentSlide: this.props.currentSlide,\n slideCount: this.props.slideCount\n };\n var prevArrow;\n\n if (this.props.prevArrow) {\n prevArrow = /*#__PURE__*/React.cloneElement(this.props.prevArrow, _objectSpread(_objectSpread({}, prevArrowProps), customProps));\n } else {\n prevArrow = /*#__PURE__*/React.createElement(\"button\", _extends({\n key: \"0\",\n type: \"button\"\n }, prevArrowProps), \" \", \"Previous\");\n }\n\n return prevArrow;\n }\n }]);\n\n return PrevArrow;\n}(React.PureComponent);\nexport var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {\n _inherits(NextArrow, _React$PureComponent2);\n\n var _super2 = _createSuper(NextArrow);\n\n function NextArrow() {\n _classCallCheck(this, NextArrow);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(NextArrow, [{\n key: \"clickHandler\",\n value: function clickHandler(options, e) {\n if (e) {\n e.preventDefault();\n }\n\n this.props.clickHandler(options, e);\n }\n }, {\n key: \"render\",\n value: function render() {\n var nextClasses = {\n \"slick-arrow\": true,\n \"slick-next\": true\n };\n var nextHandler = this.clickHandler.bind(this, {\n message: \"next\"\n });\n\n if (!canGoNext(this.props)) {\n nextClasses[\"slick-disabled\"] = true;\n nextHandler = null;\n }\n\n var nextArrowProps = {\n key: \"1\",\n \"data-role\": \"none\",\n className: classnames(nextClasses),\n style: {\n display: \"block\"\n },\n onClick: nextHandler\n };\n var customProps = {\n currentSlide: this.props.currentSlide,\n slideCount: this.props.slideCount\n };\n var nextArrow;\n\n if (this.props.nextArrow) {\n nextArrow = /*#__PURE__*/React.cloneElement(this.props.nextArrow, _objectSpread(_objectSpread({}, nextArrowProps), customProps));\n } else {\n nextArrow = /*#__PURE__*/React.createElement(\"button\", _extends({\n key: \"1\",\n type: \"button\"\n }, nextArrowProps), \" \", \"Next\");\n }\n\n return nextArrow;\n }\n }]);\n\n return NextArrow;\n}(React.PureComponent);","\"use strict\";\n\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"animating\"];\nimport React from \"react\";\nimport initialState from \"./initial-state\";\nimport debounce from \"lodash/debounce\";\nimport classnames from \"classnames\";\nimport { getOnDemandLazySlides, extractObject, initializedState, getHeight, canGoNext, slideHandler, changeSlide, keyHandler, swipeStart, swipeMove, swipeEnd, getPreClones, getPostClones, getTrackLeft, getTrackCSS } from \"./utils/innerSliderUtils\";\nimport { Track } from \"./track\";\nimport { Dots } from \"./dots\";\nimport { PrevArrow, NextArrow } from \"./arrows\";\nimport ResizeObserver from \"resize-observer-polyfill\";\nexport var InnerSlider = /*#__PURE__*/function (_React$Component) {\n _inherits(InnerSlider, _React$Component);\n\n var _super = _createSuper(InnerSlider);\n\n function InnerSlider(props) {\n var _this;\n\n _classCallCheck(this, InnerSlider);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"listRefHandler\", function (ref) {\n return _this.list = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"trackRefHandler\", function (ref) {\n return _this.track = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"adaptHeight\", function () {\n if (_this.props.adaptiveHeight && _this.list) {\n var elem = _this.list.querySelector(\"[data-index=\\\"\".concat(_this.state.currentSlide, \"\\\"]\"));\n\n _this.list.style.height = getHeight(elem) + \"px\";\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentDidMount\", function () {\n _this.props.onInit && _this.props.onInit();\n\n if (_this.props.lazyLoad) {\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, _this.props), _this.state));\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (prevState) {\n return {\n lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n }\n }\n\n var spec = _objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props);\n\n _this.updateState(spec, true, function () {\n _this.adaptHeight();\n\n _this.props.autoplay && _this.autoPlay(\"playing\");\n });\n\n if (_this.props.lazyLoad === \"progressive\") {\n _this.lazyLoadTimer = setInterval(_this.progressiveLazyLoad, 1000);\n }\n\n _this.ro = new ResizeObserver(function () {\n if (_this.state.animating) {\n _this.onWindowResized(false); // don't set trackStyle hence don't break animation\n\n\n _this.callbackTimers.push(setTimeout(function () {\n return _this.onWindowResized();\n }, _this.props.speed));\n } else {\n _this.onWindowResized();\n }\n });\n\n _this.ro.observe(_this.list);\n\n document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(\".slick-slide\"), function (slide) {\n slide.onfocus = _this.props.pauseOnFocus ? _this.onSlideFocus : null;\n slide.onblur = _this.props.pauseOnFocus ? _this.onSlideBlur : null;\n });\n\n if (window.addEventListener) {\n window.addEventListener(\"resize\", _this.onWindowResized);\n } else {\n window.attachEvent(\"onresize\", _this.onWindowResized);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentWillUnmount\", function () {\n if (_this.animationEndCallback) {\n clearTimeout(_this.animationEndCallback);\n }\n\n if (_this.lazyLoadTimer) {\n clearInterval(_this.lazyLoadTimer);\n }\n\n if (_this.callbackTimers.length) {\n _this.callbackTimers.forEach(function (timer) {\n return clearTimeout(timer);\n });\n\n _this.callbackTimers = [];\n }\n\n if (window.addEventListener) {\n window.removeEventListener(\"resize\", _this.onWindowResized);\n } else {\n window.detachEvent(\"onresize\", _this.onWindowResized);\n }\n\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n }\n\n _this.ro.disconnect();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"componentDidUpdate\", function (prevProps) {\n _this.checkImagesLoad();\n\n _this.props.onReInit && _this.props.onReInit();\n\n if (_this.props.lazyLoad) {\n var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, _this.props), _this.state));\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (prevState) {\n return {\n lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n }\n } // if (this.props.onLazyLoad) {\n // this.props.onLazyLoad([leftMostSlide])\n // }\n\n\n _this.adaptHeight();\n\n var spec = _objectSpread(_objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props), _this.state);\n\n var setTrackStyle = _this.didPropsChange(prevProps);\n\n setTrackStyle && _this.updateState(spec, setTrackStyle, function () {\n if (_this.state.currentSlide >= React.Children.count(_this.props.children)) {\n _this.changeSlide({\n message: \"index\",\n index: React.Children.count(_this.props.children) - _this.props.slidesToShow,\n currentSlide: _this.state.currentSlide\n });\n }\n\n if (prevProps.autoplay !== _this.props.autoplay || prevProps.autoplaySpeed !== _this.props.autoplaySpeed) {\n if (!prevProps.autoplay && _this.props.autoplay) {\n _this.autoPlay(\"playing\");\n } else if (_this.props.autoplay) {\n _this.autoPlay(\"update\");\n } else {\n _this.pause(\"paused\");\n }\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onWindowResized\", function (setTrackStyle) {\n if (_this.debouncedResize) _this.debouncedResize.cancel();\n _this.debouncedResize = debounce(function () {\n return _this.resizeWindow(setTrackStyle);\n }, 50);\n\n _this.debouncedResize();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"resizeWindow\", function () {\n var setTrackStyle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n var isTrackMounted = Boolean(_this.track && _this.track.node); // prevent warning: setting state on unmounted component (server side rendering)\n\n if (!isTrackMounted) return;\n\n var spec = _objectSpread(_objectSpread({\n listRef: _this.list,\n trackRef: _this.track\n }, _this.props), _this.state);\n\n _this.updateState(spec, setTrackStyle, function () {\n if (_this.props.autoplay) _this.autoPlay(\"update\");else _this.pause(\"paused\");\n }); // animating state should be cleared while resizing, otherwise autoplay stops working\n\n\n _this.setState({\n animating: false\n });\n\n clearTimeout(_this.animationEndCallback);\n delete _this.animationEndCallback;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"updateState\", function (spec, setTrackStyle, callback) {\n var updatedState = initializedState(spec);\n spec = _objectSpread(_objectSpread(_objectSpread({}, spec), updatedState), {}, {\n slideIndex: updatedState.currentSlide\n });\n var targetLeft = getTrackLeft(spec);\n spec = _objectSpread(_objectSpread({}, spec), {}, {\n left: targetLeft\n });\n var trackStyle = getTrackCSS(spec);\n\n if (setTrackStyle || React.Children.count(_this.props.children) !== React.Children.count(spec.children)) {\n updatedState[\"trackStyle\"] = trackStyle;\n }\n\n _this.setState(updatedState, callback);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"ssrInit\", function () {\n if (_this.props.variableWidth) {\n var _trackWidth = 0,\n _trackLeft = 0;\n var childrenWidths = [];\n var preClones = getPreClones(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: _this.props.children.length\n }));\n var postClones = getPostClones(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: _this.props.children.length\n }));\n\n _this.props.children.forEach(function (child) {\n childrenWidths.push(child.props.style.width);\n _trackWidth += child.props.style.width;\n });\n\n for (var i = 0; i < preClones; i++) {\n _trackLeft += childrenWidths[childrenWidths.length - 1 - i];\n _trackWidth += childrenWidths[childrenWidths.length - 1 - i];\n }\n\n for (var _i = 0; _i < postClones; _i++) {\n _trackWidth += childrenWidths[_i];\n }\n\n for (var _i2 = 0; _i2 < _this.state.currentSlide; _i2++) {\n _trackLeft += childrenWidths[_i2];\n }\n\n var _trackStyle = {\n width: _trackWidth + \"px\",\n left: -_trackLeft + \"px\"\n };\n\n if (_this.props.centerMode) {\n var currentWidth = \"\".concat(childrenWidths[_this.state.currentSlide], \"px\");\n _trackStyle.left = \"calc(\".concat(_trackStyle.left, \" + (100% - \").concat(currentWidth, \") / 2 ) \");\n }\n\n return {\n trackStyle: _trackStyle\n };\n }\n\n var childrenCount = React.Children.count(_this.props.children);\n\n var spec = _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n slideCount: childrenCount\n });\n\n var slideCount = getPreClones(spec) + getPostClones(spec) + childrenCount;\n var trackWidth = 100 / _this.props.slidesToShow * slideCount;\n var slideWidth = 100 / slideCount;\n var trackLeft = -slideWidth * (getPreClones(spec) + _this.state.currentSlide) * trackWidth / 100;\n\n if (_this.props.centerMode) {\n trackLeft += (100 - slideWidth * trackWidth / 100) / 2;\n }\n\n var trackStyle = {\n width: trackWidth + \"%\",\n left: trackLeft + \"%\"\n };\n return {\n slideWidth: slideWidth + \"%\",\n trackStyle: trackStyle\n };\n });\n\n _defineProperty(_assertThisInitialized(_this), \"checkImagesLoad\", function () {\n var images = _this.list && _this.list.querySelectorAll && _this.list.querySelectorAll(\".slick-slide img\") || [];\n var imagesCount = images.length,\n loadedCount = 0;\n Array.prototype.forEach.call(images, function (image) {\n var handler = function handler() {\n return ++loadedCount && loadedCount >= imagesCount && _this.onWindowResized();\n };\n\n if (!image.onclick) {\n image.onclick = function () {\n return image.parentNode.focus();\n };\n } else {\n var prevClickHandler = image.onclick;\n\n image.onclick = function () {\n prevClickHandler();\n image.parentNode.focus();\n };\n }\n\n if (!image.onload) {\n if (_this.props.lazyLoad) {\n image.onload = function () {\n _this.adaptHeight();\n\n _this.callbackTimers.push(setTimeout(_this.onWindowResized, _this.props.speed));\n };\n } else {\n image.onload = handler;\n\n image.onerror = function () {\n handler();\n _this.props.onLazyLoadError && _this.props.onLazyLoadError();\n };\n }\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"progressiveLazyLoad\", function () {\n var slidesToLoad = [];\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n for (var index = _this.state.currentSlide; index < _this.state.slideCount + getPostClones(spec); index++) {\n if (_this.state.lazyLoadedList.indexOf(index) < 0) {\n slidesToLoad.push(index);\n break;\n }\n }\n\n for (var _index = _this.state.currentSlide - 1; _index >= -getPreClones(spec); _index--) {\n if (_this.state.lazyLoadedList.indexOf(_index) < 0) {\n slidesToLoad.push(_index);\n break;\n }\n }\n\n if (slidesToLoad.length > 0) {\n _this.setState(function (state) {\n return {\n lazyLoadedList: state.lazyLoadedList.concat(slidesToLoad)\n };\n });\n\n if (_this.props.onLazyLoad) {\n _this.props.onLazyLoad(slidesToLoad);\n }\n } else {\n if (_this.lazyLoadTimer) {\n clearInterval(_this.lazyLoadTimer);\n delete _this.lazyLoadTimer;\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slideHandler\", function (index) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var _this$props = _this.props,\n asNavFor = _this$props.asNavFor,\n beforeChange = _this$props.beforeChange,\n onLazyLoad = _this$props.onLazyLoad,\n speed = _this$props.speed,\n afterChange = _this$props.afterChange; // capture currentslide before state is updated\n\n var currentSlide = _this.state.currentSlide;\n\n var _slideHandler = slideHandler(_objectSpread(_objectSpread(_objectSpread({\n index: index\n }, _this.props), _this.state), {}, {\n trackRef: _this.track,\n useCSS: _this.props.useCSS && !dontAnimate\n })),\n state = _slideHandler.state,\n nextState = _slideHandler.nextState;\n\n if (!state) return;\n beforeChange && beforeChange(currentSlide, state.currentSlide);\n var slidesToLoad = state.lazyLoadedList.filter(function (value) {\n return _this.state.lazyLoadedList.indexOf(value) < 0;\n });\n onLazyLoad && slidesToLoad.length > 0 && onLazyLoad(slidesToLoad);\n\n if (!_this.props.waitForAnimate && _this.animationEndCallback) {\n clearTimeout(_this.animationEndCallback);\n afterChange && afterChange(currentSlide);\n delete _this.animationEndCallback;\n }\n\n _this.setState(state, function () {\n // asNavForIndex check is to avoid recursive calls of slideHandler in waitForAnimate=false mode\n if (asNavFor && _this.asNavForIndex !== index) {\n _this.asNavForIndex = index;\n asNavFor.innerSlider.slideHandler(index);\n }\n\n if (!nextState) return;\n _this.animationEndCallback = setTimeout(function () {\n var animating = nextState.animating,\n firstBatch = _objectWithoutProperties(nextState, _excluded);\n\n _this.setState(firstBatch, function () {\n _this.callbackTimers.push(setTimeout(function () {\n return _this.setState({\n animating: animating\n });\n }, 10));\n\n afterChange && afterChange(state.currentSlide);\n delete _this.animationEndCallback;\n });\n }, speed);\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"changeSlide\", function (options) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n var targetSlide = changeSlide(spec, options);\n if (targetSlide !== 0 && !targetSlide) return;\n\n if (dontAnimate === true) {\n _this.slideHandler(targetSlide, dontAnimate);\n } else {\n _this.slideHandler(targetSlide);\n }\n\n _this.props.autoplay && _this.autoPlay(\"update\");\n\n if (_this.props.focusOnSelect) {\n var nodes = _this.list.querySelectorAll(\".slick-current\");\n\n nodes[0] && nodes[0].focus();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"clickHandler\", function (e) {\n if (_this.clickable === false) {\n e.stopPropagation();\n e.preventDefault();\n }\n\n _this.clickable = true;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"keyHandler\", function (e) {\n var dir = keyHandler(e, _this.props.accessibility, _this.props.rtl);\n dir !== \"\" && _this.changeSlide({\n message: dir\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"selectHandler\", function (options) {\n _this.changeSlide(options);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"disableBodyScroll\", function () {\n var preventDefault = function preventDefault(e) {\n e = e || window.event;\n if (e.preventDefault) e.preventDefault();\n e.returnValue = false;\n };\n\n window.ontouchmove = preventDefault;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"enableBodyScroll\", function () {\n window.ontouchmove = null;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeStart\", function (e) {\n if (_this.props.verticalSwiping) {\n _this.disableBodyScroll();\n }\n\n var state = swipeStart(e, _this.props.swipe, _this.props.draggable);\n state !== \"\" && _this.setState(state);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeMove\", function (e) {\n var state = swipeMove(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n trackRef: _this.track,\n listRef: _this.list,\n slideIndex: _this.state.currentSlide\n }));\n if (!state) return;\n\n if (state[\"swiping\"]) {\n _this.clickable = false;\n }\n\n _this.setState(state);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"swipeEnd\", function (e) {\n var state = swipeEnd(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {\n trackRef: _this.track,\n listRef: _this.list,\n slideIndex: _this.state.currentSlide\n }));\n if (!state) return;\n var triggerSlideHandler = state[\"triggerSlideHandler\"];\n delete state[\"triggerSlideHandler\"];\n\n _this.setState(state);\n\n if (triggerSlideHandler === undefined) return;\n\n _this.slideHandler(triggerSlideHandler);\n\n if (_this.props.verticalSwiping) {\n _this.enableBodyScroll();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"touchEnd\", function (e) {\n _this.swipeEnd(e);\n\n _this.clickable = true;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPrev\", function () {\n // this and fellow methods are wrapped in setTimeout\n // to make sure initialize setState has happened before\n // any of such methods are called\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"previous\"\n });\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickNext\", function () {\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"next\"\n });\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickGoTo\", function (slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n slide = Number(slide);\n if (isNaN(slide)) return \"\";\n\n _this.callbackTimers.push(setTimeout(function () {\n return _this.changeSlide({\n message: \"index\",\n index: slide,\n currentSlide: _this.state.currentSlide\n }, dontAnimate);\n }, 0));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"play\", function () {\n var nextIndex;\n\n if (_this.props.rtl) {\n nextIndex = _this.state.currentSlide - _this.props.slidesToScroll;\n } else {\n if (canGoNext(_objectSpread(_objectSpread({}, _this.props), _this.state))) {\n nextIndex = _this.state.currentSlide + _this.props.slidesToScroll;\n } else {\n return false;\n }\n }\n\n _this.slideHandler(nextIndex);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"autoPlay\", function (playType) {\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n }\n\n var autoplaying = _this.state.autoplaying;\n\n if (playType === \"update\") {\n if (autoplaying === \"hovered\" || autoplaying === \"focused\" || autoplaying === \"paused\") {\n return;\n }\n } else if (playType === \"leave\") {\n if (autoplaying === \"paused\" || autoplaying === \"focused\") {\n return;\n }\n } else if (playType === \"blur\") {\n if (autoplaying === \"paused\" || autoplaying === \"hovered\") {\n return;\n }\n }\n\n _this.autoplayTimer = setInterval(_this.play, _this.props.autoplaySpeed + 50);\n\n _this.setState({\n autoplaying: \"playing\"\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"pause\", function (pauseType) {\n if (_this.autoplayTimer) {\n clearInterval(_this.autoplayTimer);\n _this.autoplayTimer = null;\n }\n\n var autoplaying = _this.state.autoplaying;\n\n if (pauseType === \"paused\") {\n _this.setState({\n autoplaying: \"paused\"\n });\n } else if (pauseType === \"focused\") {\n if (autoplaying === \"hovered\" || autoplaying === \"playing\") {\n _this.setState({\n autoplaying: \"focused\"\n });\n }\n } else {\n // pauseType is 'hovered'\n if (autoplaying === \"playing\") {\n _this.setState({\n autoplaying: \"hovered\"\n });\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDotsOver\", function () {\n return _this.props.autoplay && _this.pause(\"hovered\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDotsLeave\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"hovered\" && _this.autoPlay(\"leave\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTrackOver\", function () {\n return _this.props.autoplay && _this.pause(\"hovered\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTrackLeave\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"hovered\" && _this.autoPlay(\"leave\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onSlideFocus\", function () {\n return _this.props.autoplay && _this.pause(\"focused\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onSlideBlur\", function () {\n return _this.props.autoplay && _this.state.autoplaying === \"focused\" && _this.autoPlay(\"blur\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"render\", function () {\n var className = classnames(\"slick-slider\", _this.props.className, {\n \"slick-vertical\": _this.props.vertical,\n \"slick-initialized\": true\n });\n\n var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);\n\n var trackProps = extractObject(spec, [\"fade\", \"cssEase\", \"speed\", \"infinite\", \"centerMode\", \"focusOnSelect\", \"currentSlide\", \"lazyLoad\", \"lazyLoadedList\", \"rtl\", \"slideWidth\", \"slideHeight\", \"listHeight\", \"vertical\", \"slidesToShow\", \"slidesToScroll\", \"slideCount\", \"trackStyle\", \"variableWidth\", \"unslick\", \"centerPadding\", \"targetSlide\", \"useCSS\"]);\n var pauseOnHover = _this.props.pauseOnHover;\n trackProps = _objectSpread(_objectSpread({}, trackProps), {}, {\n onMouseEnter: pauseOnHover ? _this.onTrackOver : null,\n onMouseLeave: pauseOnHover ? _this.onTrackLeave : null,\n onMouseOver: pauseOnHover ? _this.onTrackOver : null,\n focusOnSelect: _this.props.focusOnSelect && _this.clickable ? _this.selectHandler : null\n });\n var dots;\n\n if (_this.props.dots === true && _this.state.slideCount >= _this.props.slidesToShow) {\n var dotProps = extractObject(spec, [\"dotsClass\", \"slideCount\", \"slidesToShow\", \"currentSlide\", \"slidesToScroll\", \"clickHandler\", \"children\", \"customPaging\", \"infinite\", \"appendDots\"]);\n var pauseOnDotsHover = _this.props.pauseOnDotsHover;\n dotProps = _objectSpread(_objectSpread({}, dotProps), {}, {\n clickHandler: _this.changeSlide,\n onMouseEnter: pauseOnDotsHover ? _this.onDotsLeave : null,\n onMouseOver: pauseOnDotsHover ? _this.onDotsOver : null,\n onMouseLeave: pauseOnDotsHover ? _this.onDotsLeave : null\n });\n dots = /*#__PURE__*/React.createElement(Dots, dotProps);\n }\n\n var prevArrow, nextArrow;\n var arrowProps = extractObject(spec, [\"infinite\", \"centerMode\", \"currentSlide\", \"slideCount\", \"slidesToShow\", \"prevArrow\", \"nextArrow\"]);\n arrowProps.clickHandler = _this.changeSlide;\n\n if (_this.props.arrows) {\n prevArrow = /*#__PURE__*/React.createElement(PrevArrow, arrowProps);\n nextArrow = /*#__PURE__*/React.createElement(NextArrow, arrowProps);\n }\n\n var verticalHeightStyle = null;\n\n if (_this.props.vertical) {\n verticalHeightStyle = {\n height: _this.state.listHeight\n };\n }\n\n var centerPaddingStyle = null;\n\n if (_this.props.vertical === false) {\n if (_this.props.centerMode === true) {\n centerPaddingStyle = {\n padding: \"0px \" + _this.props.centerPadding\n };\n }\n } else {\n if (_this.props.centerMode === true) {\n centerPaddingStyle = {\n padding: _this.props.centerPadding + \" 0px\"\n };\n }\n }\n\n var listStyle = _objectSpread(_objectSpread({}, verticalHeightStyle), centerPaddingStyle);\n\n var touchMove = _this.props.touchMove;\n var listProps = {\n className: \"slick-list\",\n style: listStyle,\n onClick: _this.clickHandler,\n onMouseDown: touchMove ? _this.swipeStart : null,\n onMouseMove: _this.state.dragging && touchMove ? _this.swipeMove : null,\n onMouseUp: touchMove ? _this.swipeEnd : null,\n onMouseLeave: _this.state.dragging && touchMove ? _this.swipeEnd : null,\n onTouchStart: touchMove ? _this.swipeStart : null,\n onTouchMove: _this.state.dragging && touchMove ? _this.swipeMove : null,\n onTouchEnd: touchMove ? _this.touchEnd : null,\n onTouchCancel: _this.state.dragging && touchMove ? _this.swipeEnd : null,\n onKeyDown: _this.props.accessibility ? _this.keyHandler : null\n };\n var innerSliderProps = {\n className: className,\n dir: \"ltr\",\n style: _this.props.style\n };\n\n if (_this.props.unslick) {\n listProps = {\n className: \"slick-list\"\n };\n innerSliderProps = {\n className: className\n };\n }\n\n return /*#__PURE__*/React.createElement(\"div\", innerSliderProps, !_this.props.unslick ? prevArrow : \"\", /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: _this.listRefHandler\n }, listProps), /*#__PURE__*/React.createElement(Track, _extends({\n ref: _this.trackRefHandler\n }, trackProps), _this.props.children)), !_this.props.unslick ? nextArrow : \"\", !_this.props.unslick ? dots : \"\");\n });\n\n _this.list = null;\n _this.track = null;\n _this.state = _objectSpread(_objectSpread({}, initialState), {}, {\n currentSlide: _this.props.initialSlide,\n slideCount: React.Children.count(_this.props.children)\n });\n _this.callbackTimers = [];\n _this.clickable = true;\n _this.debouncedResize = null;\n\n var ssrState = _this.ssrInit();\n\n _this.state = _objectSpread(_objectSpread({}, _this.state), ssrState);\n return _this;\n }\n\n _createClass(InnerSlider, [{\n key: \"didPropsChange\",\n value: function didPropsChange(prevProps) {\n var setTrackStyle = false;\n\n for (var _i3 = 0, _Object$keys = Object.keys(this.props); _i3 < _Object$keys.length; _i3++) {\n var key = _Object$keys[_i3];\n\n // eslint-disable-next-line no-prototype-builtins\n if (!prevProps.hasOwnProperty(key)) {\n setTrackStyle = true;\n break;\n }\n\n if (_typeof(prevProps[key]) === \"object\" || typeof prevProps[key] === \"function\") {\n continue;\n }\n\n if (prevProps[key] !== this.props[key]) {\n setTrackStyle = true;\n break;\n }\n }\n\n return setTrackStyle || React.Children.count(this.props.children) !== React.Children.count(prevProps.children);\n }\n }]);\n\n return InnerSlider;\n}(React.Component);","import React from \"react\";\nvar defaultProps = {\n accessibility: true,\n adaptiveHeight: false,\n afterChange: null,\n appendDots: function appendDots(dots) {\n return /*#__PURE__*/React.createElement(\"ul\", {\n style: {\n display: \"block\"\n }\n }, dots);\n },\n arrows: true,\n autoplay: false,\n autoplaySpeed: 3000,\n beforeChange: null,\n centerMode: false,\n centerPadding: \"50px\",\n className: \"\",\n cssEase: \"ease\",\n customPaging: function customPaging(i) {\n return /*#__PURE__*/React.createElement(\"button\", null, i + 1);\n },\n dots: false,\n dotsClass: \"slick-dots\",\n draggable: true,\n easing: \"linear\",\n edgeFriction: 0.35,\n fade: false,\n focusOnSelect: false,\n infinite: true,\n initialSlide: 0,\n lazyLoad: null,\n nextArrow: null,\n onEdge: null,\n onInit: null,\n onLazyLoadError: null,\n onReInit: null,\n pauseOnDotsHover: false,\n pauseOnFocus: false,\n pauseOnHover: true,\n prevArrow: null,\n responsive: null,\n rows: 1,\n rtl: false,\n slide: \"div\",\n slidesPerRow: 1,\n slidesToScroll: 1,\n slidesToShow: 1,\n speed: 500,\n swipe: true,\n swipeEvent: null,\n swipeToSlide: false,\n touchMove: true,\n touchThreshold: 5,\n useCSS: true,\n useTransform: true,\n variableWidth: false,\n vertical: false,\n waitForAnimate: true\n};\nexport default defaultProps;","\"use strict\";\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport React from \"react\";\nimport { InnerSlider } from \"./inner-slider\";\nimport json2mq from \"json2mq\";\nimport defaultProps from \"./default-props\";\nimport { canUseDOM } from \"./utils/innerSliderUtils\";\n\nvar Slider = /*#__PURE__*/function (_React$Component) {\n _inherits(Slider, _React$Component);\n\n var _super = _createSuper(Slider);\n\n function Slider(props) {\n var _this;\n\n _classCallCheck(this, Slider);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"innerSliderRefHandler\", function (ref) {\n return _this.innerSlider = ref;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPrev\", function () {\n return _this.innerSlider.slickPrev();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickNext\", function () {\n return _this.innerSlider.slickNext();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickGoTo\", function (slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return _this.innerSlider.slickGoTo(slide, dontAnimate);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPause\", function () {\n return _this.innerSlider.pause(\"paused\");\n });\n\n _defineProperty(_assertThisInitialized(_this), \"slickPlay\", function () {\n return _this.innerSlider.autoPlay(\"play\");\n });\n\n _this.state = {\n breakpoint: null\n };\n _this._responsiveMediaHandlers = [];\n return _this;\n }\n\n _createClass(Slider, [{\n key: \"media\",\n value: function media(query, handler) {\n // javascript handler for css media query\n var mql = window.matchMedia(query);\n\n var listener = function listener(_ref) {\n var matches = _ref.matches;\n\n if (matches) {\n handler();\n }\n };\n\n mql.addListener(listener);\n listener(mql);\n\n this._responsiveMediaHandlers.push({\n mql: mql,\n query: query,\n listener: listener\n });\n } // handles responsive breakpoints\n\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n // performance monitoring\n //if (process.env.NODE_ENV !== 'production') {\n //const { whyDidYouUpdate } = require('why-did-you-update')\n //whyDidYouUpdate(React)\n //}\n if (this.props.responsive) {\n var breakpoints = this.props.responsive.map(function (breakpt) {\n return breakpt.breakpoint;\n }); // sort them in increasing order of their numerical value\n\n breakpoints.sort(function (x, y) {\n return x - y;\n });\n breakpoints.forEach(function (breakpoint, index) {\n // media query for each breakpoint\n var bQuery;\n\n if (index === 0) {\n bQuery = json2mq({\n minWidth: 0,\n maxWidth: breakpoint\n });\n } else {\n bQuery = json2mq({\n minWidth: breakpoints[index - 1] + 1,\n maxWidth: breakpoint\n });\n } // when not using server side rendering\n\n\n canUseDOM() && _this2.media(bQuery, function () {\n _this2.setState({\n breakpoint: breakpoint\n });\n });\n }); // Register media query for full screen. Need to support resize from small to large\n // convert javascript object to media query string\n\n var query = json2mq({\n minWidth: breakpoints.slice(-1)[0]\n });\n canUseDOM() && this.media(query, function () {\n _this2.setState({\n breakpoint: null\n });\n });\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this._responsiveMediaHandlers.forEach(function (obj) {\n obj.mql.removeListener(obj.listener);\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var settings;\n var newProps;\n\n if (this.state.breakpoint) {\n newProps = this.props.responsive.filter(function (resp) {\n return resp.breakpoint === _this3.state.breakpoint;\n });\n settings = newProps[0].settings === \"unslick\" ? \"unslick\" : _objectSpread(_objectSpread(_objectSpread({}, defaultProps), this.props), newProps[0].settings);\n } else {\n settings = _objectSpread(_objectSpread({}, defaultProps), this.props);\n } // force scrolling by one if centerMode is on\n\n\n if (settings.centerMode) {\n if (settings.slidesToScroll > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToScroll should be equal to 1 in centerMode, you are using \".concat(settings.slidesToScroll));\n }\n\n settings.slidesToScroll = 1;\n } // force showing one slide and scrolling by one if the fade mode is on\n\n\n if (settings.fade) {\n if (settings.slidesToShow > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToShow should be equal to 1 when fade is true, you're using \".concat(settings.slidesToShow));\n }\n\n if (settings.slidesToScroll > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"slidesToScroll should be equal to 1 when fade is true, you're using \".concat(settings.slidesToScroll));\n }\n\n settings.slidesToShow = 1;\n settings.slidesToScroll = 1;\n } // makes sure that children is an array, even when there is only 1 child\n\n\n var children = React.Children.toArray(this.props.children); // Children may contain false or null, so we should filter them\n // children may also contain string filled with spaces (in certain cases where we use jsx strings)\n\n children = children.filter(function (child) {\n if (typeof child === \"string\") {\n return !!child.trim();\n }\n\n return !!child;\n }); // rows and slidesPerRow logic is handled here\n\n if (settings.variableWidth && (settings.rows > 1 || settings.slidesPerRow > 1)) {\n console.warn(\"variableWidth is not supported in case of rows > 1 or slidesPerRow > 1\");\n settings.variableWidth = false;\n }\n\n var newChildren = [];\n var currentWidth = null;\n\n for (var i = 0; i < children.length; i += settings.rows * settings.slidesPerRow) {\n var newSlide = [];\n\n for (var j = i; j < i + settings.rows * settings.slidesPerRow; j += settings.slidesPerRow) {\n var row = [];\n\n for (var k = j; k < j + settings.slidesPerRow; k += 1) {\n if (settings.variableWidth && children[k].props.style) {\n currentWidth = children[k].props.style.width;\n }\n\n if (k >= children.length) break;\n row.push( /*#__PURE__*/React.cloneElement(children[k], {\n key: 100 * i + 10 * j + k,\n tabIndex: -1,\n style: {\n width: \"\".concat(100 / settings.slidesPerRow, \"%\"),\n display: \"inline-block\"\n }\n }));\n }\n\n newSlide.push( /*#__PURE__*/React.createElement(\"div\", {\n key: 10 * i + j\n }, row));\n }\n\n if (settings.variableWidth) {\n newChildren.push( /*#__PURE__*/React.createElement(\"div\", {\n key: i,\n style: {\n width: currentWidth\n }\n }, newSlide));\n } else {\n newChildren.push( /*#__PURE__*/React.createElement(\"div\", {\n key: i\n }, newSlide));\n }\n }\n\n if (settings === \"unslick\") {\n var className = \"regular slider \" + (this.props.className || \"\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, children);\n } else if (newChildren.length <= settings.slidesToShow) {\n settings.unslick = true;\n }\n\n return /*#__PURE__*/React.createElement(InnerSlider, _extends({\n style: this.props.style,\n ref: this.innerSliderRefHandler\n }, settings), newChildren);\n }\n }]);\n\n return Slider;\n}(React.Component);\n\nexport { Slider as default };","import Slider from \"./slider\";\nexport default Slider;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport SlickCarousel from '@ant-design/react-slick';\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar Carousel = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var _classNames;\n var _a$dots = _a.dots,\n dots = _a$dots === void 0 ? true : _a$dots,\n _a$arrows = _a.arrows,\n arrows = _a$arrows === void 0 ? false : _a$arrows,\n _a$draggable = _a.draggable,\n draggable = _a$draggable === void 0 ? false : _a$draggable,\n _a$dotPosition = _a.dotPosition,\n dotPosition = _a$dotPosition === void 0 ? 'bottom' : _a$dotPosition,\n _a$vertical = _a.vertical,\n vertical = _a$vertical === void 0 ? dotPosition === 'left' || dotPosition === 'right' : _a$vertical,\n props = __rest(_a, [\"dots\", \"arrows\", \"draggable\", \"dotPosition\", \"vertical\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var slickRef = React.useRef();\n var goTo = function goTo(slide) {\n var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n slickRef.current.slickGoTo(slide, dontAnimate);\n };\n React.useImperativeHandle(ref, function () {\n return {\n goTo: goTo,\n autoPlay: slickRef.current.innerSlider.autoPlay,\n innerSlider: slickRef.current.innerSlider,\n prev: slickRef.current.slickPrev,\n next: slickRef.current.slickNext\n };\n }, [slickRef.current]);\n var prevCount = React.useRef(React.Children.count(props.children));\n React.useEffect(function () {\n if (prevCount.current !== React.Children.count(props.children)) {\n goTo(props.initialSlide || 0, false);\n prevCount.current = React.Children.count(props.children);\n }\n }, [props.children]);\n var newProps = _extends({\n vertical: vertical\n }, props);\n if (newProps.effect === 'fade') {\n newProps.fade = true;\n }\n var prefixCls = getPrefixCls('carousel', newProps.prefixCls);\n var dotsClass = 'slick-dots';\n var enableDots = !!dots;\n var dsClass = classNames(dotsClass, \"\".concat(dotsClass, \"-\").concat(dotPosition), typeof dots === 'boolean' ? false : dots === null || dots === void 0 ? void 0 : dots.className);\n var className = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), dotPosition === 'left' || dotPosition === 'right'), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className\n }, /*#__PURE__*/React.createElement(SlickCarousel, _extends({\n ref: slickRef\n }, newProps, {\n dots: enableDots,\n dotsClass: dsClass,\n arrows: arrows,\n draggable: draggable\n })));\n});\nexport default Carousel;","import * as React from 'react';\nvar CascaderContext = /*#__PURE__*/React.createContext(null);\nexport default CascaderContext;","export var VALUE_SPLIT = '__RC_CASCADER_SPLIT__';\nexport var SHOW_PARENT = 'SHOW_PARENT';\nexport var SHOW_CHILD = 'SHOW_CHILD';\nexport function toPathKey(value) {\n return value.join(VALUE_SPLIT);\n}\nexport function toPathKeys(value) {\n return value.map(toPathKey);\n}\nexport function toPathValueStr(pathKey) {\n return pathKey.split(VALUE_SPLIT);\n}\nexport function fillFieldNames(fieldNames) {\n var _ref = fieldNames || {},\n label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n\n var val = value || 'value';\n return {\n label: label || 'label',\n value: val,\n key: val,\n children: children || 'children'\n };\n}\nexport function isLeaf(option, fieldNames) {\n var _option$isLeaf, _option$fieldNames$ch;\n\n return (_option$isLeaf = option.isLeaf) !== null && _option$isLeaf !== void 0 ? _option$isLeaf : !((_option$fieldNames$ch = option[fieldNames.children]) === null || _option$fieldNames$ch === void 0 ? void 0 : _option$fieldNames$ch.length);\n}\nexport function scrollIntoParentView(element) {\n var parent = element.parentElement;\n\n if (!parent) {\n return;\n }\n\n var elementToParent = element.offsetTop - parent.offsetTop; // offsetParent may not be parent.\n\n if (elementToParent - parent.scrollTop < 0) {\n parent.scrollTo({\n top: elementToParent\n });\n } else if (elementToParent + element.offsetHeight - parent.scrollTop > parent.offsetHeight) {\n parent.scrollTo({\n top: elementToParent + element.offsetHeight - parent.offsetHeight\n });\n }\n}","import { SHOW_CHILD } from './commonUtil';\nexport function formatStrategyValues(pathKeys, getKeyPathEntities, showCheckedStrategy) {\n var valueSet = new Set(pathKeys);\n var keyPathEntities = getKeyPathEntities();\n return pathKeys.filter(function (key) {\n var entity = keyPathEntities[key];\n var parent = entity ? entity.parent : null;\n var children = entity ? entity.children : null;\n return showCheckedStrategy === SHOW_CHILD ? !(children && children.some(function (child) {\n return child.key && valueSet.has(child.key);\n })) : !(parent && !parent.node.disabled && valueSet.has(parent.key));\n });\n}\nexport function toPathOptions(valueCells, options, fieldNames) {\n var stringMode = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var currentList = options;\n var valueOptions = [];\n\n var _loop = function _loop(i) {\n var _currentList, _currentList2, _foundOption$fieldNam;\n\n var valueCell = valueCells[i];\n var foundIndex = (_currentList = currentList) === null || _currentList === void 0 ? void 0 : _currentList.findIndex(function (option) {\n var val = option[fieldNames.value];\n return stringMode ? String(val) === String(valueCell) : val === valueCell;\n });\n var foundOption = foundIndex !== -1 ? (_currentList2 = currentList) === null || _currentList2 === void 0 ? void 0 : _currentList2[foundIndex] : null;\n valueOptions.push({\n value: (_foundOption$fieldNam = foundOption === null || foundOption === void 0 ? void 0 : foundOption[fieldNames.value]) !== null && _foundOption$fieldNam !== void 0 ? _foundOption$fieldNam : valueCell,\n index: foundIndex,\n option: foundOption\n });\n currentList = foundOption === null || foundOption === void 0 ? void 0 : foundOption[fieldNames.children];\n };\n\n for (var i = 0; i < valueCells.length; i += 1) {\n _loop(i);\n }\n\n return valueOptions;\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { toPathOptions } from '../utils/treeUtil';\nimport * as React from 'react';\nimport { toPathKey } from '../utils/commonUtil';\nexport default (function (rawValues, options, fieldNames, multiple, displayRender) {\n return React.useMemo(function () {\n var mergedDisplayRender = displayRender || // Default displayRender\n function (labels) {\n var mergedLabels = multiple ? labels.slice(-1) : labels;\n var SPLIT = ' / ';\n\n if (mergedLabels.every(function (label) {\n return ['string', 'number'].includes(_typeof(label));\n })) {\n return mergedLabels.join(SPLIT);\n } // If exist non-string value, use ReactNode instead\n\n\n return mergedLabels.reduce(function (list, label, index) {\n var keyedLabel = /*#__PURE__*/React.isValidElement(label) ? /*#__PURE__*/React.cloneElement(label, {\n key: index\n }) : label;\n\n if (index === 0) {\n return [keyedLabel];\n }\n\n return [].concat(_toConsumableArray(list), [SPLIT, keyedLabel]);\n }, []);\n };\n\n return rawValues.map(function (valueCells) {\n var _valueOptions, _valueOptions$option;\n\n var valueOptions = toPathOptions(valueCells, options, fieldNames);\n var label = mergedDisplayRender(valueOptions.map(function (_ref) {\n var _option$fieldNames$la;\n\n var option = _ref.option,\n value = _ref.value;\n return (_option$fieldNames$la = option === null || option === void 0 ? void 0 : option[fieldNames.label]) !== null && _option$fieldNames$la !== void 0 ? _option$fieldNames$la : value;\n }), valueOptions.map(function (_ref2) {\n var option = _ref2.option;\n return option;\n }));\n var value = toPathKey(valueCells);\n return {\n label: label,\n value: value,\n key: value,\n valueCells: valueCells,\n disabled: (_valueOptions = valueOptions[valueOptions.length - 1]) === null || _valueOptions === void 0 ? void 0 : (_valueOptions$option = _valueOptions.option) === null || _valueOptions$option === void 0 ? void 0 : _valueOptions$option.disabled\n };\n });\n }, [rawValues, options, fieldNames, displayRender, multiple]);\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertDataToEntities } from \"rc-tree/es/utils/treeUtil\";\nimport { VALUE_SPLIT } from '../utils/commonUtil';\n/** Lazy parse options data into conduct-able info to avoid perf issue in single mode */\n\nexport default (function (options, fieldNames) {\n var cacheRef = React.useRef({\n options: null,\n info: null\n });\n var getEntities = React.useCallback(function () {\n if (cacheRef.current.options !== options) {\n cacheRef.current.options = options;\n cacheRef.current.info = convertDataToEntities(options, {\n fieldNames: fieldNames,\n initWrapper: function initWrapper(wrapper) {\n return _objectSpread(_objectSpread({}, wrapper), {}, {\n pathKeyEntities: {}\n });\n },\n processEntity: function processEntity(entity, wrapper) {\n var pathKey = entity.nodes.map(function (node) {\n return node[fieldNames.value];\n }).join(VALUE_SPLIT);\n wrapper.pathKeyEntities[pathKey] = entity; // Overwrite origin key.\n // this is very hack but we need let conduct logic work with connect path\n\n entity.key = pathKey;\n }\n });\n }\n\n return cacheRef.current.info.pathKeyEntities;\n }, [fieldNames, options]);\n return getEntities;\n});","import * as React from 'react';\nimport { toPathOptions } from '../utils/treeUtil';\nexport default (function (options, fieldNames) {\n return React.useCallback(function (rawValues) {\n var missingValues = [];\n var existsValues = [];\n rawValues.forEach(function (valueCell) {\n var pathOptions = toPathOptions(valueCell, options, fieldNames);\n\n if (pathOptions.every(function (opt) {\n return opt.option;\n })) {\n existsValues.push(valueCell);\n } else {\n missingValues.push(valueCell);\n }\n });\n return [existsValues, missingValues];\n }, [options, fieldNames]);\n});","import * as React from 'react';\n/**\n * Same as `React.useCallback` but always return a memoized function\n * but redirect to real function.\n */\n\nexport default function useRefFunc(callback) {\n var funcRef = React.useRef();\n funcRef.current = callback;\n var cacheFn = React.useCallback(function () {\n return funcRef.current.apply(funcRef, arguments);\n }, []);\n return cacheFn;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\"; // Convert `showSearch` to unique config\n\nexport default function useSearchConfig(showSearch) {\n return React.useMemo(function () {\n if (!showSearch) {\n return [false, {}];\n }\n\n var searchConfig = {\n matchInputWidth: true,\n limit: 50\n };\n\n if (showSearch && _typeof(showSearch) === 'object') {\n searchConfig = _objectSpread(_objectSpread({}, searchConfig), showSearch);\n }\n\n if (searchConfig.limit <= 0) {\n delete searchConfig.limit;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(false, \"'limit' of showSearch should be positive number or false.\");\n }\n }\n\n return [true, searchConfig];\n }, [showSearch]);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nexport var SEARCH_MARK = '__rc_cascader_search_mark__';\n\nvar defaultFilter = function defaultFilter(search, options, _ref) {\n var label = _ref.label;\n return options.some(function (opt) {\n return String(opt[label]).toLowerCase().includes(search.toLowerCase());\n });\n};\n\nvar defaultRender = function defaultRender(inputValue, path, prefixCls, fieldNames) {\n return path.map(function (opt) {\n return opt[fieldNames.label];\n }).join(' / ');\n};\n\nexport default (function (search, options, fieldNames, prefixCls, config, changeOnSelect) {\n var _config$filter = config.filter,\n filter = _config$filter === void 0 ? defaultFilter : _config$filter,\n _config$render = config.render,\n render = _config$render === void 0 ? defaultRender : _config$render,\n _config$limit = config.limit,\n limit = _config$limit === void 0 ? 50 : _config$limit,\n sort = config.sort;\n return React.useMemo(function () {\n var filteredOptions = [];\n\n if (!search) {\n return [];\n }\n\n function dig(list, pathOptions) {\n list.forEach(function (option) {\n // Perf saving when `sort` is disabled and `limit` is provided\n if (!sort && limit > 0 && filteredOptions.length >= limit) {\n return;\n }\n\n var connectedPathOptions = [].concat(_toConsumableArray(pathOptions), [option]);\n var children = option[fieldNames.children]; // If current option is filterable\n\n if ( // If is leaf option\n !children || children.length === 0 || // If is changeOnSelect\n changeOnSelect) {\n if (filter(search, connectedPathOptions, {\n label: fieldNames.label\n })) {\n var _objectSpread2;\n\n filteredOptions.push(_objectSpread(_objectSpread({}, option), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, fieldNames.label, render(search, connectedPathOptions, prefixCls, fieldNames)), _defineProperty(_objectSpread2, SEARCH_MARK, connectedPathOptions), _objectSpread2)));\n }\n }\n\n if (children) {\n dig(option[fieldNames.children], connectedPathOptions);\n }\n });\n }\n\n dig(options, []); // Do sort\n\n if (sort) {\n filteredOptions.sort(function (a, b) {\n return sort(a[SEARCH_MARK], b[SEARCH_MARK], search, fieldNames);\n });\n }\n\n return limit > 0 ? filteredOptions.slice(0, limit) : filteredOptions;\n }, [search, options, fieldNames, prefixCls, render, changeOnSelect, filter, sort, limit]);\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CascaderContext from '../context';\nexport default function Checkbox(_ref) {\n var _classNames;\n\n var prefixCls = _ref.prefixCls,\n checked = _ref.checked,\n halfChecked = _ref.halfChecked,\n disabled = _ref.disabled,\n onClick = _ref.onClick;\n\n var _React$useContext = React.useContext(CascaderContext),\n checkable = _React$useContext.checkable;\n\n var customCheckbox = typeof checkable !== 'boolean' ? checkable : null;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checked\"), checked), _defineProperty(_classNames, \"\".concat(prefixCls, \"-indeterminate\"), !checked && halfChecked), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames)),\n onClick: onClick\n }, customCheckbox);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { isLeaf, toPathKey } from '../utils/commonUtil';\nimport CascaderContext from '../context';\nimport Checkbox from './Checkbox';\nimport { SEARCH_MARK } from '../hooks/useSearchOptions';\nexport var FIX_LABEL = '__cascader_fix_label__';\nexport default function Column(_ref) {\n var prefixCls = _ref.prefixCls,\n multiple = _ref.multiple,\n options = _ref.options,\n activeValue = _ref.activeValue,\n prevValuePath = _ref.prevValuePath,\n onToggleOpen = _ref.onToggleOpen,\n onSelect = _ref.onSelect,\n onActive = _ref.onActive,\n checkedSet = _ref.checkedSet,\n halfCheckedSet = _ref.halfCheckedSet,\n loadingKeys = _ref.loadingKeys,\n isSelectable = _ref.isSelectable;\n var menuPrefixCls = \"\".concat(prefixCls, \"-menu\");\n var menuItemPrefixCls = \"\".concat(prefixCls, \"-menu-item\");\n\n var _React$useContext = React.useContext(CascaderContext),\n fieldNames = _React$useContext.fieldNames,\n changeOnSelect = _React$useContext.changeOnSelect,\n expandTrigger = _React$useContext.expandTrigger,\n expandIcon = _React$useContext.expandIcon,\n loadingIcon = _React$useContext.loadingIcon,\n dropdownMenuColumnStyle = _React$useContext.dropdownMenuColumnStyle;\n\n var hoverOpen = expandTrigger === 'hover'; // ============================ Option ============================\n\n var optionInfoList = React.useMemo(function () {\n return options.map(function (option) {\n var _option$FIX_LABEL;\n\n var disabled = option.disabled;\n var searchOptions = option[SEARCH_MARK];\n var label = (_option$FIX_LABEL = option[FIX_LABEL]) !== null && _option$FIX_LABEL !== void 0 ? _option$FIX_LABEL : option[fieldNames.label];\n var value = option[fieldNames.value];\n var isMergedLeaf = isLeaf(option, fieldNames); // Get real value of option. Search option is different way.\n\n var fullPath = searchOptions ? searchOptions.map(function (opt) {\n return opt[fieldNames.value];\n }) : [].concat(_toConsumableArray(prevValuePath), [value]);\n var fullPathKey = toPathKey(fullPath);\n var isLoading = loadingKeys.includes(fullPathKey); // >>>>> checked\n\n var checked = checkedSet.has(fullPathKey); // >>>>> halfChecked\n\n var halfChecked = halfCheckedSet.has(fullPathKey);\n return {\n disabled: disabled,\n label: label,\n value: value,\n isLeaf: isMergedLeaf,\n isLoading: isLoading,\n checked: checked,\n halfChecked: halfChecked,\n option: option,\n fullPath: fullPath,\n fullPathKey: fullPathKey\n };\n });\n }, [options, checkedSet, fieldNames, halfCheckedSet, loadingKeys, prevValuePath]); // ============================ Render ============================\n\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: menuPrefixCls,\n role: \"menu\"\n }, optionInfoList.map(function (_ref2) {\n var _classNames;\n\n var disabled = _ref2.disabled,\n label = _ref2.label,\n value = _ref2.value,\n isMergedLeaf = _ref2.isLeaf,\n isLoading = _ref2.isLoading,\n checked = _ref2.checked,\n halfChecked = _ref2.halfChecked,\n option = _ref2.option,\n fullPath = _ref2.fullPath,\n fullPathKey = _ref2.fullPathKey;\n\n // >>>>> Open\n var triggerOpenPath = function triggerOpenPath() {\n if (!disabled && (!hoverOpen || !isMergedLeaf)) {\n onActive(fullPath);\n }\n }; // >>>>> Selection\n\n\n var triggerSelect = function triggerSelect() {\n if (isSelectable(option)) {\n onSelect(fullPath, isMergedLeaf);\n }\n }; // >>>>> Title\n\n\n var title;\n\n if (typeof option.title === 'string') {\n title = option.title;\n } else if (typeof label === 'string') {\n title = label;\n } // >>>>> Render\n\n\n return /*#__PURE__*/React.createElement(\"li\", {\n key: fullPathKey,\n className: classNames(menuItemPrefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-expand\"), !isMergedLeaf), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-active\"), activeValue === value), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(menuItemPrefixCls, \"-loading\"), isLoading), _classNames)),\n style: dropdownMenuColumnStyle,\n role: \"menuitemcheckbox\",\n title: title,\n \"aria-checked\": checked,\n \"data-path-key\": fullPathKey,\n onClick: function onClick() {\n triggerOpenPath();\n\n if (!multiple || isMergedLeaf) {\n triggerSelect();\n }\n },\n onDoubleClick: function onDoubleClick() {\n if (changeOnSelect) {\n onToggleOpen(false);\n }\n },\n onMouseEnter: function onMouseEnter() {\n if (hoverOpen) {\n triggerOpenPath();\n }\n },\n onMouseDown: function onMouseDown(e) {\n // Prevent selector from blurring\n e.preventDefault();\n }\n }, multiple && /*#__PURE__*/React.createElement(Checkbox, {\n prefixCls: \"\".concat(prefixCls, \"-checkbox\"),\n checked: checked,\n halfChecked: halfChecked,\n disabled: disabled,\n onClick: function onClick(e) {\n e.stopPropagation();\n triggerSelect();\n }\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-content\")\n }, label), !isLoading && expandIcon && !isMergedLeaf && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-expand-icon\")\n }, expandIcon), isLoading && loadingIcon && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(menuItemPrefixCls, \"-loading-icon\")\n }, loadingIcon));\n }));\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CascaderContext from '../context';\nimport { useBaseProps } from 'rc-select';\n/**\n * Control the active open options path.\n */\n\nexport default (function () {\n var _useBaseProps = useBaseProps(),\n multiple = _useBaseProps.multiple,\n open = _useBaseProps.open;\n\n var _React$useContext = React.useContext(CascaderContext),\n values = _React$useContext.values; // Record current dropdown active options\n // This also control the open status\n\n\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeValueCells = _React$useState2[0],\n setActiveValueCells = _React$useState2[1];\n\n React.useEffect(function () {\n if (open && !multiple) {\n var firstValueCells = values[0];\n setActiveValueCells(firstValueCells || []);\n }\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [open]);\n return [activeValueCells, setActiveValueCells];\n});","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useBaseProps } from 'rc-select';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { SEARCH_MARK } from '../hooks/useSearchOptions';\nexport default (function (ref, options, fieldNames, activeValueCells, setActiveValueCells, onKeyBoardSelect) {\n var _useBaseProps = useBaseProps(),\n direction = _useBaseProps.direction,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n open = _useBaseProps.open;\n\n var rtl = direction === 'rtl';\n\n var _React$useMemo = React.useMemo(function () {\n var activeIndex = -1;\n var currentOptions = options;\n var mergedActiveIndexes = [];\n var mergedActiveValueCells = [];\n var len = activeValueCells.length; // Fill validate active value cells and index\n\n var _loop = function _loop(i) {\n // Mark the active index for current options\n var nextActiveIndex = currentOptions.findIndex(function (option) {\n return option[fieldNames.value] === activeValueCells[i];\n });\n\n if (nextActiveIndex === -1) {\n return \"break\";\n }\n\n activeIndex = nextActiveIndex;\n mergedActiveIndexes.push(activeIndex);\n mergedActiveValueCells.push(activeValueCells[i]);\n currentOptions = currentOptions[activeIndex][fieldNames.children];\n };\n\n for (var i = 0; i < len && currentOptions; i += 1) {\n var _ret = _loop(i);\n\n if (_ret === \"break\") break;\n } // Fill last active options\n\n\n var activeOptions = options;\n\n for (var _i = 0; _i < mergedActiveIndexes.length - 1; _i += 1) {\n activeOptions = activeOptions[mergedActiveIndexes[_i]][fieldNames.children];\n }\n\n return [mergedActiveValueCells, activeIndex, activeOptions];\n }, [activeValueCells, fieldNames, options]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n validActiveValueCells = _React$useMemo2[0],\n lastActiveIndex = _React$useMemo2[1],\n lastActiveOptions = _React$useMemo2[2]; // Update active value cells and scroll to target element\n\n\n var internalSetActiveValueCells = function internalSetActiveValueCells(next) {\n setActiveValueCells(next);\n }; // Same options offset\n\n\n var offsetActiveOption = function offsetActiveOption(offset) {\n var len = lastActiveOptions.length;\n var currentIndex = lastActiveIndex;\n\n if (currentIndex === -1 && offset < 0) {\n currentIndex = len;\n }\n\n for (var i = 0; i < len; i += 1) {\n currentIndex = (currentIndex + offset + len) % len;\n var option = lastActiveOptions[currentIndex];\n\n if (option && !option.disabled) {\n var value = option[fieldNames.value];\n var nextActiveCells = validActiveValueCells.slice(0, -1).concat(value);\n internalSetActiveValueCells(nextActiveCells);\n return;\n }\n }\n }; // Different options offset\n\n\n var prevColumn = function prevColumn() {\n if (validActiveValueCells.length > 1) {\n var nextActiveCells = validActiveValueCells.slice(0, -1);\n internalSetActiveValueCells(nextActiveCells);\n } else {\n toggleOpen(false);\n }\n };\n\n var nextColumn = function nextColumn() {\n var _lastActiveOptions$la;\n\n var nextOptions = ((_lastActiveOptions$la = lastActiveOptions[lastActiveIndex]) === null || _lastActiveOptions$la === void 0 ? void 0 : _lastActiveOptions$la[fieldNames.children]) || [];\n var nextOption = nextOptions.find(function (option) {\n return !option.disabled;\n });\n\n if (nextOption) {\n var nextActiveCells = [].concat(_toConsumableArray(validActiveValueCells), [nextOption[fieldNames.value]]);\n internalSetActiveValueCells(nextActiveCells);\n }\n };\n\n React.useImperativeHandle(ref, function () {\n return {\n // scrollTo: treeRef.current?.scrollTo,\n onKeyDown: function onKeyDown(event) {\n var which = event.which;\n\n switch (which) {\n // >>> Arrow keys\n case KeyCode.UP:\n case KeyCode.DOWN:\n {\n var offset = 0;\n\n if (which === KeyCode.UP) {\n offset = -1;\n } else if (which === KeyCode.DOWN) {\n offset = 1;\n }\n\n if (offset !== 0) {\n offsetActiveOption(offset);\n }\n\n break;\n }\n\n case KeyCode.LEFT:\n {\n if (rtl) {\n nextColumn();\n } else {\n prevColumn();\n }\n\n break;\n }\n\n case KeyCode.RIGHT:\n {\n if (rtl) {\n prevColumn();\n } else {\n nextColumn();\n }\n\n break;\n }\n\n case KeyCode.BACKSPACE:\n {\n if (!searchValue) {\n prevColumn();\n }\n\n break;\n }\n // >>> Select\n\n case KeyCode.ENTER:\n {\n if (validActiveValueCells.length) {\n var option = lastActiveOptions[lastActiveIndex]; // Search option should revert back of origin options\n\n var originOptions = (option === null || option === void 0 ? void 0 : option[SEARCH_MARK]) || [];\n\n if (originOptions.length) {\n onKeyBoardSelect(originOptions.map(function (opt) {\n return opt[fieldNames.value];\n }), originOptions[originOptions.length - 1]);\n } else {\n onKeyBoardSelect(validActiveValueCells, lastActiveOptions[lastActiveIndex]);\n }\n }\n\n break;\n }\n // >>> Close\n\n case KeyCode.ESC:\n {\n toggleOpen(false);\n\n if (open) {\n event.stopPropagation();\n }\n }\n }\n },\n onKeyUp: function onKeyUp() {}\n };\n });\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable default-case */\nimport classNames from 'classnames';\nimport { useBaseProps } from 'rc-select';\nimport * as React from 'react';\nimport CascaderContext from '../context';\nimport { isLeaf, scrollIntoParentView, toPathKey, toPathKeys, toPathValueStr } from '../utils/commonUtil';\nimport { toPathOptions } from '../utils/treeUtil';\nimport Column, { FIX_LABEL } from './Column';\nimport useActive from './useActive';\nimport useKeyboard from './useKeyboard';\nvar RefOptionList = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _optionColumns$, _optionColumns$$optio, _ref3, _classNames;\n\n var _useBaseProps = useBaseProps(),\n prefixCls = _useBaseProps.prefixCls,\n multiple = _useBaseProps.multiple,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n notFoundContent = _useBaseProps.notFoundContent,\n direction = _useBaseProps.direction;\n\n var containerRef = React.useRef();\n var rtl = direction === 'rtl';\n\n var _React$useContext = React.useContext(CascaderContext),\n options = _React$useContext.options,\n values = _React$useContext.values,\n halfValues = _React$useContext.halfValues,\n fieldNames = _React$useContext.fieldNames,\n changeOnSelect = _React$useContext.changeOnSelect,\n onSelect = _React$useContext.onSelect,\n searchOptions = _React$useContext.searchOptions,\n dropdownPrefixCls = _React$useContext.dropdownPrefixCls,\n loadData = _React$useContext.loadData,\n expandTrigger = _React$useContext.expandTrigger;\n\n var mergedPrefixCls = dropdownPrefixCls || prefixCls; // ========================= loadData =========================\n\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n loadingKeys = _React$useState2[0],\n setLoadingKeys = _React$useState2[1];\n\n var internalLoadData = function internalLoadData(valueCells) {\n // Do not load when search\n if (!loadData || searchValue) {\n return;\n }\n\n var optionList = toPathOptions(valueCells, options, fieldNames);\n var rawOptions = optionList.map(function (_ref) {\n var option = _ref.option;\n return option;\n });\n var lastOption = rawOptions[rawOptions.length - 1];\n\n if (lastOption && !isLeaf(lastOption, fieldNames)) {\n var pathKey = toPathKey(valueCells);\n setLoadingKeys(function (keys) {\n return [].concat(_toConsumableArray(keys), [pathKey]);\n });\n loadData(rawOptions);\n }\n }; // zombieJ: This is bad. We should make this same as `rc-tree` to use Promise instead.\n\n\n React.useEffect(function () {\n if (loadingKeys.length) {\n loadingKeys.forEach(function (loadingKey) {\n var valueStrCells = toPathValueStr(loadingKey);\n var optionList = toPathOptions(valueStrCells, options, fieldNames, true).map(function (_ref2) {\n var option = _ref2.option;\n return option;\n });\n var lastOption = optionList[optionList.length - 1];\n\n if (!lastOption || lastOption[fieldNames.children] || isLeaf(lastOption, fieldNames)) {\n setLoadingKeys(function (keys) {\n return keys.filter(function (key) {\n return key !== loadingKey;\n });\n });\n }\n });\n }\n }, [options, loadingKeys, fieldNames]); // ========================== Values ==========================\n\n var checkedSet = React.useMemo(function () {\n return new Set(toPathKeys(values));\n }, [values]);\n var halfCheckedSet = React.useMemo(function () {\n return new Set(toPathKeys(halfValues));\n }, [halfValues]); // ====================== Accessibility =======================\n\n var _useActive = useActive(),\n _useActive2 = _slicedToArray(_useActive, 2),\n activeValueCells = _useActive2[0],\n setActiveValueCells = _useActive2[1]; // =========================== Path ===========================\n\n\n var onPathOpen = function onPathOpen(nextValueCells) {\n setActiveValueCells(nextValueCells); // Trigger loadData\n\n internalLoadData(nextValueCells);\n };\n\n var isSelectable = function isSelectable(option) {\n var disabled = option.disabled;\n var isMergedLeaf = isLeaf(option, fieldNames);\n return !disabled && (isMergedLeaf || changeOnSelect || multiple);\n };\n\n var onPathSelect = function onPathSelect(valuePath, leaf) {\n var fromKeyboard = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n onSelect(valuePath);\n\n if (!multiple && (leaf || changeOnSelect && (expandTrigger === 'hover' || fromKeyboard))) {\n toggleOpen(false);\n }\n }; // ========================== Option ==========================\n\n\n var mergedOptions = React.useMemo(function () {\n if (searchValue) {\n return searchOptions;\n }\n\n return options;\n }, [searchValue, searchOptions, options]); // ========================== Column ==========================\n\n var optionColumns = React.useMemo(function () {\n var optionList = [{\n options: mergedOptions\n }];\n var currentList = mergedOptions;\n\n var _loop = function _loop(i) {\n var activeValueCell = activeValueCells[i];\n var currentOption = currentList.find(function (option) {\n return option[fieldNames.value] === activeValueCell;\n });\n var subOptions = currentOption === null || currentOption === void 0 ? void 0 : currentOption[fieldNames.children];\n\n if (!(subOptions === null || subOptions === void 0 ? void 0 : subOptions.length)) {\n return \"break\";\n }\n\n currentList = subOptions;\n optionList.push({\n options: subOptions\n });\n };\n\n for (var i = 0; i < activeValueCells.length; i += 1) {\n var _ret = _loop(i);\n\n if (_ret === \"break\") break;\n }\n\n return optionList;\n }, [mergedOptions, activeValueCells, fieldNames]); // ========================= Keyboard =========================\n\n var onKeyboardSelect = function onKeyboardSelect(selectValueCells, option) {\n if (isSelectable(option)) {\n onPathSelect(selectValueCells, isLeaf(option, fieldNames), true);\n }\n };\n\n useKeyboard(ref, mergedOptions, fieldNames, activeValueCells, onPathOpen, onKeyboardSelect); // >>>>> Active Scroll\n\n React.useEffect(function () {\n for (var i = 0; i < activeValueCells.length; i += 1) {\n var _containerRef$current;\n\n var cellPath = activeValueCells.slice(0, i + 1);\n var cellKeyPath = toPathKey(cellPath);\n var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelector(\"li[data-path-key=\\\"\".concat(cellKeyPath.replace(/\\\\{0,2}\"/g, '\\\\\"'), \"\\\"]\"));\n\n if (ele) {\n scrollIntoParentView(ele);\n }\n }\n }, [activeValueCells]); // ========================== Render ==========================\n // >>>>> Empty\n\n var isEmpty = !((_optionColumns$ = optionColumns[0]) === null || _optionColumns$ === void 0 ? void 0 : (_optionColumns$$optio = _optionColumns$.options) === null || _optionColumns$$optio === void 0 ? void 0 : _optionColumns$$optio.length);\n var emptyList = [(_ref3 = {}, _defineProperty(_ref3, fieldNames.value, '__EMPTY__'), _defineProperty(_ref3, FIX_LABEL, notFoundContent), _defineProperty(_ref3, \"disabled\", true), _ref3)];\n\n var columnProps = _objectSpread(_objectSpread({}, props), {}, {\n multiple: !isEmpty && multiple,\n onSelect: onPathSelect,\n onActive: onPathOpen,\n onToggleOpen: toggleOpen,\n checkedSet: checkedSet,\n halfCheckedSet: halfCheckedSet,\n loadingKeys: loadingKeys,\n isSelectable: isSelectable\n }); // >>>>> Columns\n\n\n var mergedOptionColumns = isEmpty ? [{\n options: emptyList\n }] : optionColumns;\n var columnNodes = mergedOptionColumns.map(function (col, index) {\n var prevValuePath = activeValueCells.slice(0, index);\n var activeValue = activeValueCells[index];\n return /*#__PURE__*/React.createElement(Column, _extends({\n key: index\n }, columnProps, {\n prefixCls: mergedPrefixCls,\n options: col.options,\n prevValuePath: prevValuePath,\n activeValue: activeValue\n }));\n }); // >>>>> Render\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(mergedPrefixCls, \"-menus\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(mergedPrefixCls, \"-menu-empty\"), isEmpty), _defineProperty(_classNames, \"\".concat(mergedPrefixCls, \"-rtl\"), rtl), _classNames)),\n ref: containerRef\n }, columnNodes);\n});\nexport default RefOptionList;","import warning from \"rc-util/es/warning\";\n\nfunction warningProps(props) {\n var onPopupVisibleChange = props.onPopupVisibleChange,\n popupVisible = props.popupVisible,\n popupClassName = props.popupClassName,\n popupPlacement = props.popupPlacement;\n warning(!onPopupVisibleChange, '`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead.');\n warning(popupVisible === undefined, '`popupVisible` is deprecated. Please use `open` instead.');\n warning(popupClassName === undefined, '`popupClassName` is deprecated. Please use `dropdownClassName` instead.');\n warning(popupPlacement === undefined, '`popupPlacement` is deprecated. Please use `placement` instead.');\n} // value in Cascader options should not be null\n\n\nexport function warningNullOptions(options, fieldNames) {\n if (options) {\n var recursiveOptions = function recursiveOptions(optionsList) {\n for (var i = 0; i < optionsList.length; i++) {\n var option = optionsList[i];\n\n if (option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.value] === null) {\n warning(false, '`value` in Cascader options should not be `null`.');\n return true;\n }\n\n if (Array.isArray(option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children]) && recursiveOptions(option[fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children])) {\n return true;\n }\n }\n };\n\n recursiveOptions(options);\n }\n}\nexport default warningProps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"prefixCls\", \"fieldNames\", \"defaultValue\", \"value\", \"changeOnSelect\", \"onChange\", \"displayRender\", \"checkable\", \"searchValue\", \"onSearch\", \"showSearch\", \"expandTrigger\", \"options\", \"dropdownPrefixCls\", \"loadData\", \"popupVisible\", \"open\", \"popupClassName\", \"dropdownClassName\", \"dropdownMenuColumnStyle\", \"popupPlacement\", \"placement\", \"onDropdownVisibleChange\", \"onPopupVisibleChange\", \"expandIcon\", \"loadingIcon\", \"children\", \"dropdownMatchSelectWidth\", \"showCheckedStrategy\"];\nimport { BaseSelect } from 'rc-select';\nimport useId from \"rc-select/es/hooks/useId\";\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport * as React from 'react';\nimport CascaderContext from './context';\nimport useDisplayValues from './hooks/useDisplayValues';\nimport useEntities from './hooks/useEntities';\nimport useMissingValues from './hooks/useMissingValues';\nimport useRefFunc from './hooks/useRefFunc';\nimport useSearchConfig from './hooks/useSearchConfig';\nimport useSearchOptions from './hooks/useSearchOptions';\nimport OptionList from './OptionList';\nimport { fillFieldNames, SHOW_CHILD, SHOW_PARENT, toPathKey, toPathKeys } from './utils/commonUtil';\nimport { formatStrategyValues, toPathOptions } from './utils/treeUtil';\nimport warningProps, { warningNullOptions } from './utils/warningPropsUtil';\n\nfunction isMultipleValue(value) {\n return Array.isArray(value) && Array.isArray(value[0]);\n}\n\nfunction toRawValues(value) {\n if (!value) {\n return [];\n }\n\n if (isMultipleValue(value)) {\n return value;\n }\n\n return (value.length === 0 ? [] : [value]).map(function (val) {\n return Array.isArray(val) ? val : [val];\n });\n}\n\nvar Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var id = props.id,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-cascader' : _props$prefixCls,\n fieldNames = props.fieldNames,\n defaultValue = props.defaultValue,\n value = props.value,\n changeOnSelect = props.changeOnSelect,\n onChange = props.onChange,\n displayRender = props.displayRender,\n checkable = props.checkable,\n searchValue = props.searchValue,\n onSearch = props.onSearch,\n showSearch = props.showSearch,\n expandTrigger = props.expandTrigger,\n options = props.options,\n dropdownPrefixCls = props.dropdownPrefixCls,\n loadData = props.loadData,\n popupVisible = props.popupVisible,\n open = props.open,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n dropdownMenuColumnStyle = props.dropdownMenuColumnStyle,\n popupPlacement = props.popupPlacement,\n placement = props.placement,\n onDropdownVisibleChange = props.onDropdownVisibleChange,\n onPopupVisibleChange = props.onPopupVisibleChange,\n _props$expandIcon = props.expandIcon,\n expandIcon = _props$expandIcon === void 0 ? '>' : _props$expandIcon,\n loadingIcon = props.loadingIcon,\n children = props.children,\n _props$dropdownMatchS = props.dropdownMatchSelectWidth,\n dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? false : _props$dropdownMatchS,\n _props$showCheckedStr = props.showCheckedStrategy,\n showCheckedStrategy = _props$showCheckedStr === void 0 ? SHOW_PARENT : _props$showCheckedStr,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedId = useId(id);\n var multiple = !!checkable; // =========================== Values ===========================\n\n var _useMergedState = useMergedState(defaultValue, {\n value: value,\n postState: toRawValues\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n rawValues = _useMergedState2[0],\n setRawValues = _useMergedState2[1]; // ========================= FieldNames =========================\n\n\n var mergedFieldNames = React.useMemo(function () {\n return fillFieldNames(fieldNames);\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [JSON.stringify(fieldNames)]); // =========================== Option ===========================\n\n var mergedOptions = React.useMemo(function () {\n return options || [];\n }, [options]); // Only used in multiple mode, this fn will not call in single mode\n\n var getPathKeyEntities = useEntities(mergedOptions, mergedFieldNames);\n /** Convert path key back to value format */\n\n var getValueByKeyPath = React.useCallback(function (pathKeys) {\n var keyPathEntities = getPathKeyEntities();\n return pathKeys.map(function (pathKey) {\n var nodes = keyPathEntities[pathKey].nodes;\n return nodes.map(function (node) {\n return node[mergedFieldNames.value];\n });\n });\n }, [getPathKeyEntities, mergedFieldNames]); // =========================== Search ===========================\n\n var _useMergedState3 = useMergedState('', {\n value: searchValue,\n postState: function postState(search) {\n return search || '';\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedSearchValue = _useMergedState4[0],\n setSearchValue = _useMergedState4[1];\n\n var onInternalSearch = function onInternalSearch(searchText, info) {\n setSearchValue(searchText);\n\n if (info.source !== 'blur' && onSearch) {\n onSearch(searchText);\n }\n };\n\n var _useSearchConfig = useSearchConfig(showSearch),\n _useSearchConfig2 = _slicedToArray(_useSearchConfig, 2),\n mergedShowSearch = _useSearchConfig2[0],\n searchConfig = _useSearchConfig2[1];\n\n var searchOptions = useSearchOptions(mergedSearchValue, mergedOptions, mergedFieldNames, dropdownPrefixCls || prefixCls, searchConfig, changeOnSelect); // =========================== Values ===========================\n\n var getMissingValues = useMissingValues(mergedOptions, mergedFieldNames); // Fill `rawValues` with checked conduction values\n\n var _React$useMemo = React.useMemo(function () {\n var _getMissingValues = getMissingValues(rawValues),\n _getMissingValues2 = _slicedToArray(_getMissingValues, 2),\n existValues = _getMissingValues2[0],\n missingValues = _getMissingValues2[1];\n\n if (!multiple || !rawValues.length) {\n return [existValues, [], missingValues];\n }\n\n var keyPathValues = toPathKeys(existValues);\n var keyPathEntities = getPathKeyEntities();\n\n var _conductCheck = conductCheck(keyPathValues, true, keyPathEntities),\n checkedKeys = _conductCheck.checkedKeys,\n halfCheckedKeys = _conductCheck.halfCheckedKeys; // Convert key back to value cells\n\n\n return [getValueByKeyPath(checkedKeys), getValueByKeyPath(halfCheckedKeys), missingValues];\n }, [multiple, rawValues, getPathKeyEntities, getValueByKeyPath, getMissingValues]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 3),\n checkedValues = _React$useMemo2[0],\n halfCheckedValues = _React$useMemo2[1],\n missingCheckedValues = _React$useMemo2[2];\n\n var deDuplicatedValues = React.useMemo(function () {\n var checkedKeys = toPathKeys(checkedValues);\n var deduplicateKeys = formatStrategyValues(checkedKeys, getPathKeyEntities, showCheckedStrategy);\n return [].concat(_toConsumableArray(missingCheckedValues), _toConsumableArray(getValueByKeyPath(deduplicateKeys)));\n }, [checkedValues, getPathKeyEntities, getValueByKeyPath, missingCheckedValues, showCheckedStrategy]);\n var displayValues = useDisplayValues(deDuplicatedValues, mergedOptions, mergedFieldNames, multiple, displayRender); // =========================== Change ===========================\n\n var triggerChange = useRefFunc(function (nextValues) {\n setRawValues(nextValues); // Save perf if no need trigger event\n\n if (onChange) {\n var nextRawValues = toRawValues(nextValues);\n var valueOptions = nextRawValues.map(function (valueCells) {\n return toPathOptions(valueCells, mergedOptions, mergedFieldNames).map(function (valueOpt) {\n return valueOpt.option;\n });\n });\n var triggerValues = multiple ? nextRawValues : nextRawValues[0];\n var triggerOptions = multiple ? valueOptions : valueOptions[0];\n onChange(triggerValues, triggerOptions);\n }\n }); // =========================== Select ===========================\n\n var onInternalSelect = useRefFunc(function (valuePath) {\n setSearchValue('');\n\n if (!multiple) {\n triggerChange(valuePath);\n } else {\n // Prepare conduct required info\n var pathKey = toPathKey(valuePath);\n var checkedPathKeys = toPathKeys(checkedValues);\n var halfCheckedPathKeys = toPathKeys(halfCheckedValues);\n var existInChecked = checkedPathKeys.includes(pathKey);\n var existInMissing = missingCheckedValues.some(function (valueCells) {\n return toPathKey(valueCells) === pathKey;\n }); // Do update\n\n var nextCheckedValues = checkedValues;\n var nextMissingValues = missingCheckedValues;\n\n if (existInMissing && !existInChecked) {\n // Missing value only do filter\n nextMissingValues = missingCheckedValues.filter(function (valueCells) {\n return toPathKey(valueCells) !== pathKey;\n });\n } else {\n // Update checked key first\n var nextRawCheckedKeys = existInChecked ? checkedPathKeys.filter(function (key) {\n return key !== pathKey;\n }) : [].concat(_toConsumableArray(checkedPathKeys), [pathKey]);\n var pathKeyEntities = getPathKeyEntities(); // Conduction by selected or not\n\n var checkedKeys;\n\n if (existInChecked) {\n var _conductCheck2 = conductCheck(nextRawCheckedKeys, {\n checked: false,\n halfCheckedKeys: halfCheckedPathKeys\n }, pathKeyEntities);\n\n checkedKeys = _conductCheck2.checkedKeys;\n } else {\n var _conductCheck3 = conductCheck(nextRawCheckedKeys, true, pathKeyEntities);\n\n checkedKeys = _conductCheck3.checkedKeys;\n } // Roll up to parent level keys\n\n\n var deDuplicatedKeys = formatStrategyValues(checkedKeys, getPathKeyEntities, showCheckedStrategy);\n nextCheckedValues = getValueByKeyPath(deDuplicatedKeys);\n }\n\n triggerChange([].concat(_toConsumableArray(nextMissingValues), _toConsumableArray(nextCheckedValues)));\n }\n }); // Display Value change logic\n\n var onDisplayValuesChange = function onDisplayValuesChange(_, info) {\n if (info.type === 'clear') {\n triggerChange([]);\n return;\n } // Cascader do not support `add` type. Only support `remove`\n\n\n var valueCells = info.values[0].valueCells;\n onInternalSelect(valueCells);\n }; // ============================ Open ============================\n\n\n var mergedOpen = open !== undefined ? open : popupVisible;\n var mergedDropdownClassName = dropdownClassName || popupClassName;\n var mergedPlacement = placement || popupPlacement;\n\n var onInternalDropdownVisibleChange = function onInternalDropdownVisibleChange(nextVisible) {\n onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 ? void 0 : onDropdownVisibleChange(nextVisible);\n onPopupVisibleChange === null || onPopupVisibleChange === void 0 ? void 0 : onPopupVisibleChange(nextVisible);\n }; // ========================== Warning ===========================\n\n\n if (process.env.NODE_ENV !== 'production') {\n warningProps(props);\n warningNullOptions(mergedOptions, mergedFieldNames);\n } // ========================== Context ===========================\n\n\n var cascaderContext = React.useMemo(function () {\n return {\n options: mergedOptions,\n fieldNames: mergedFieldNames,\n values: checkedValues,\n halfValues: halfCheckedValues,\n changeOnSelect: changeOnSelect,\n onSelect: onInternalSelect,\n checkable: checkable,\n searchOptions: searchOptions,\n dropdownPrefixCls: dropdownPrefixCls,\n loadData: loadData,\n expandTrigger: expandTrigger,\n expandIcon: expandIcon,\n loadingIcon: loadingIcon,\n dropdownMenuColumnStyle: dropdownMenuColumnStyle\n };\n }, [mergedOptions, mergedFieldNames, checkedValues, halfCheckedValues, changeOnSelect, onInternalSelect, checkable, searchOptions, dropdownPrefixCls, loadData, expandTrigger, expandIcon, loadingIcon, dropdownMenuColumnStyle]); // ==============================================================\n // == Render ==\n // ==============================================================\n\n var emptyOptions = !(mergedSearchValue ? searchOptions : mergedOptions).length;\n var dropdownStyle = // Search to match width\n mergedSearchValue && searchConfig.matchInputWidth || // Empty keep the width\n emptyOptions ? {} : {\n minWidth: 'auto'\n };\n return /*#__PURE__*/React.createElement(CascaderContext.Provider, {\n value: cascaderContext\n }, /*#__PURE__*/React.createElement(BaseSelect, _extends({}, restProps, {\n // MISC\n ref: ref,\n id: mergedId,\n prefixCls: prefixCls,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n dropdownStyle: dropdownStyle // Value\n ,\n displayValues: displayValues,\n onDisplayValuesChange: onDisplayValuesChange,\n mode: multiple ? 'multiple' : undefined // Search\n ,\n searchValue: mergedSearchValue,\n onSearch: onInternalSearch,\n showSearch: mergedShowSearch // Options\n ,\n OptionList: OptionList,\n emptyOptions: emptyOptions // Open\n ,\n open: mergedOpen,\n dropdownClassName: mergedDropdownClassName,\n placement: mergedPlacement,\n onDropdownVisibleChange: onInternalDropdownVisibleChange // Children\n ,\n getRawInputElement: function getRawInputElement() {\n return children;\n }\n })));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Cascader.displayName = 'Cascader';\n}\n\nCascader.SHOW_PARENT = SHOW_PARENT;\nCascader.SHOW_CHILD = SHOW_CHILD;\nexport default Cascader;","import Cascader from './Cascader';\nexport default Cascader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCascader from 'rc-cascader';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { FormItemInputContext } from '../form/context';\nimport getIcons from '../select/utils/iconUtil';\nimport { getTransitionDirection, getTransitionName } from '../_util/motion';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nvar SHOW_CHILD = RcCascader.SHOW_CHILD,\n SHOW_PARENT = RcCascader.SHOW_PARENT;\nfunction highlightKeyword(str, lowerKeyword, prefixCls) {\n var cells = str.toLowerCase().split(lowerKeyword).reduce(function (list, cur, index) {\n return index === 0 ? [cur] : [].concat(_toConsumableArray(list), [lowerKeyword, cur]);\n }, []);\n var fillCells = [];\n var start = 0;\n cells.forEach(function (cell, index) {\n var end = start + cell.length;\n var originWorld = str.slice(start, end);\n start = end;\n if (index % 2 === 1) {\n originWorld =\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-menu-item-keyword\"),\n key: \"seperator-\".concat(index)\n }, originWorld);\n }\n fillCells.push(originWorld);\n });\n return fillCells;\n}\nvar defaultSearchRender = function defaultSearchRender(inputValue, path, prefixCls, fieldNames) {\n var optionList = [];\n // We do lower here to save perf\n var lower = inputValue.toLowerCase();\n path.forEach(function (node, index) {\n if (index !== 0) {\n optionList.push(' / ');\n }\n var label = node[fieldNames.label];\n var type = _typeof(label);\n if (type === 'string' || type === 'number') {\n label = highlightKeyword(String(label), lower, prefixCls);\n }\n optionList.push(label);\n });\n return optionList;\n};\nvar Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames2;\n var customizePrefixCls = props.prefixCls,\n customizeSize = props.size,\n customDisabled = props.disabled,\n className = props.className,\n multiple = props.multiple,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n transitionName = props.transitionName,\n _props$choiceTransiti = props.choiceTransitionName,\n choiceTransitionName = _props$choiceTransiti === void 0 ? '' : _props$choiceTransiti,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n expandIcon = props.expandIcon,\n placement = props.placement,\n showSearch = props.showSearch,\n _props$allowClear = props.allowClear,\n allowClear = _props$allowClear === void 0 ? true : _props$allowClear,\n notFoundContent = props.notFoundContent,\n direction = props.direction,\n getPopupContainer = props.getPopupContainer,\n customStatus = props.status,\n showArrow = props.showArrow,\n rest = __rest(props, [\"prefixCls\", \"size\", \"disabled\", \"className\", \"multiple\", \"bordered\", \"transitionName\", \"choiceTransitionName\", \"popupClassName\", \"dropdownClassName\", \"expandIcon\", \"placement\", \"showSearch\", \"allowClear\", \"notFoundContent\", \"direction\", \"getPopupContainer\", \"status\", \"showArrow\"]);\n var restProps = omit(rest, ['suffixIcon']);\n var _useContext = useContext(ConfigContext),\n getContextPopupContainer = _useContext.getPopupContainer,\n getPrefixCls = _useContext.getPrefixCls,\n renderEmpty = _useContext.renderEmpty,\n rootDirection = _useContext.direction;\n var mergedDirection = direction || rootDirection;\n var isRtl = mergedDirection === 'rtl';\n // =================== Form =====================\n var _useContext2 = useContext(FormItemInputContext),\n contextStatus = _useContext2.status,\n hasFeedback = _useContext2.hasFeedback,\n isFormItemInput = _useContext2.isFormItemInput,\n feedbackIcon = _useContext2.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n // =================== Warning =====================\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'Cascader', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!multiple || !props.displayRender, 'Cascader', '`displayRender` not work on `multiple`. Please use `tagRender` instead.') : void 0;\n // =================== No Found ====================\n var mergedNotFoundContent = notFoundContent || (renderEmpty || defaultRenderEmpty)('Cascader');\n // ==================== Prefix =====================\n var rootPrefixCls = getPrefixCls();\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n var cascaderPrefixCls = getPrefixCls('cascader', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n // =================== Dropdown ====================\n var mergedDropdownClassName = classNames(popupClassName || dropdownClassName, \"\".concat(cascaderPrefixCls, \"-dropdown\"), _defineProperty({}, \"\".concat(cascaderPrefixCls, \"-dropdown-rtl\"), mergedDirection === 'rtl'));\n // ==================== Search =====================\n var mergedShowSearch = React.useMemo(function () {\n if (!showSearch) {\n return showSearch;\n }\n var searchConfig = {\n render: defaultSearchRender\n };\n if (_typeof(showSearch) === 'object') {\n searchConfig = _extends(_extends({}, searchConfig), showSearch);\n }\n return searchConfig;\n }, [showSearch]);\n // ===================== Size ======================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== Icon ======================\n var mergedExpandIcon = expandIcon;\n if (!expandIcon) {\n mergedExpandIcon = isRtl ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null);\n }\n var loadingIcon = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-menu-item-loading-icon\")\n }, /*#__PURE__*/React.createElement(LoadingOutlined, {\n spin: true\n }));\n // =================== Multiple ====================\n var checkable = React.useMemo(function () {\n return multiple ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(cascaderPrefixCls, \"-checkbox-inner\")\n }) : false;\n }, [multiple]);\n // ===================== Icons =====================\n var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !multiple;\n var _getIcons = getIcons(_extends(_extends({}, props), {\n hasFeedback: hasFeedback,\n feedbackIcon: feedbackIcon,\n showArrow: mergedShowArrow,\n multiple: multiple,\n prefixCls: prefixCls\n })),\n suffixIcon = _getIcons.suffixIcon,\n removeIcon = _getIcons.removeIcon,\n clearIcon = _getIcons.clearIcon;\n // ===================== Placement =====================\n var getPlacement = function getPlacement() {\n if (placement !== undefined) {\n return placement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n // ==================== Render =====================\n return /*#__PURE__*/React.createElement(RcCascader, _extends({\n prefixCls: prefixCls,\n className: classNames(!customizePrefixCls && cascaderPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), isRtl), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-in-form-item\"), isFormItemInput), _classNames2), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className),\n disabled: mergedDisabled\n }, restProps, {\n direction: mergedDirection,\n placement: getPlacement(),\n notFoundContent: mergedNotFoundContent,\n allowClear: allowClear,\n showSearch: mergedShowSearch,\n expandIcon: mergedExpandIcon,\n inputIcon: suffixIcon,\n removeIcon: removeIcon,\n clearIcon: clearIcon,\n loadingIcon: loadingIcon,\n checkable: checkable,\n dropdownClassName: mergedDropdownClassName,\n dropdownPrefixCls: customizePrefixCls || cascaderPrefixCls,\n choiceTransitionName: getTransitionName(rootPrefixCls, '', choiceTransitionName),\n transitionName: getTransitionName(rootPrefixCls, getTransitionDirection(placement), transitionName),\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n ref: ref,\n showArrow: hasFeedback || showArrow\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Cascader.displayName = 'Cascader';\n}\nCascader.SHOW_PARENT = SHOW_PARENT;\nCascader.SHOW_CHILD = SHOW_CHILD;\nexport default Cascader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar Comment = function Comment(_a) {\n var actions = _a.actions,\n author = _a.author,\n avatar = _a.avatar,\n children = _a.children,\n className = _a.className,\n content = _a.content,\n customizePrefixCls = _a.prefixCls,\n datetime = _a.datetime,\n otherProps = __rest(_a, [\"actions\", \"author\", \"avatar\", \"children\", \"className\", \"content\", \"prefixCls\", \"datetime\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var renderNested = function renderNested(prefixCls, nestedChildren) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-nested\"))\n }, nestedChildren);\n };\n var prefixCls = getPrefixCls('comment', customizePrefixCls);\n var avatarDom = avatar ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-avatar\")\n }, typeof avatar === 'string' ? /*#__PURE__*/React.createElement(\"img\", {\n src: avatar,\n alt: \"comment-avatar\"\n }) : avatar) : null;\n var actionDom = actions && actions.length ? /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-actions\")\n }, actions.map(function (action, index) {\n return /*#__PURE__*/React.createElement(\"li\", {\n key: \"action-\".concat(index)\n }, action) // eslint-disable-line react/no-array-index-key\n ;\n })) : null;\n var authorContent = (author || datetime) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-author\")\n }, author && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-author-name\")\n }, author), datetime && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-author-time\")\n }, datetime));\n var contentDom = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, authorContent, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-detail\")\n }, content), actionDom);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: cls\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\")\n }, avatarDom, contentDom), children ? renderNested(prefixCls, children) : null);\n};\nexport default Comment;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Button from '../button';\nexport default function PickerButton(props) {\n return /*#__PURE__*/React.createElement(Button, _extends({\n size: \"small\",\n type: \"primary\"\n }, props));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Tag from '../tag';\nexport default function PickerTag(props) {\n return /*#__PURE__*/React.createElement(Tag, _extends({\n color: \"blue\"\n }, props));\n}","// This icon file is generated automatically.\nvar CalendarOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z\" } }] }, \"name\": \"calendar\", \"theme\": \"outlined\" };\nexport default CalendarOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CalendarOutlinedSvg from \"@ant-design/icons-svg/es/asn/CalendarOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CalendarOutlined = function CalendarOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CalendarOutlinedSvg\n }));\n};\nCalendarOutlined.displayName = 'CalendarOutlined';\nexport default /*#__PURE__*/React.forwardRef(CalendarOutlined);","// This icon file is generated automatically.\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexport default ClockCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ClockCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/ClockCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ClockCircleOutlinedSvg\n }));\n};\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(ClockCircleOutlined);","// This icon file is generated automatically.\nvar SwapRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"0 0 1024 1024\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z\" } }] }, \"name\": \"swap-right\", \"theme\": \"outlined\" };\nexport default SwapRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SwapRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/SwapRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SwapRightOutlined = function SwapRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SwapRightOutlinedSvg\n }));\n};\nSwapRightOutlined.displayName = 'SwapRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(SwapRightOutlined);","export function getPlaceholder(picker, locale, customizePlaceholder) {\n if (customizePlaceholder !== undefined) {\n return customizePlaceholder;\n }\n if (picker === 'year' && locale.lang.yearPlaceholder) {\n return locale.lang.yearPlaceholder;\n }\n if (picker === 'quarter' && locale.lang.quarterPlaceholder) {\n return locale.lang.quarterPlaceholder;\n }\n if (picker === 'month' && locale.lang.monthPlaceholder) {\n return locale.lang.monthPlaceholder;\n }\n if (picker === 'week' && locale.lang.weekPlaceholder) {\n return locale.lang.weekPlaceholder;\n }\n if (picker === 'time' && locale.timePickerLocale.placeholder) {\n return locale.timePickerLocale.placeholder;\n }\n return locale.lang.placeholder;\n}\nexport function getRangePlaceholder(picker, locale, customizePlaceholder) {\n if (customizePlaceholder !== undefined) {\n return customizePlaceholder;\n }\n if (picker === 'year' && locale.lang.yearPlaceholder) {\n return locale.lang.rangeYearPlaceholder;\n }\n if (picker === 'quarter' && locale.lang.quarterPlaceholder) {\n return locale.lang.rangeQuarterPlaceholder;\n }\n if (picker === 'month' && locale.lang.monthPlaceholder) {\n return locale.lang.rangeMonthPlaceholder;\n }\n if (picker === 'week' && locale.lang.weekPlaceholder) {\n return locale.lang.rangeWeekPlaceholder;\n }\n if (picker === 'time' && locale.timePickerLocale.placeholder) {\n return locale.timePickerLocale.rangePlaceholder;\n }\n return locale.lang.rangePlaceholder;\n}\nexport function transPlacement2DropdownAlign(direction, placement) {\n var overflow = {\n adjustX: 1,\n adjustY: 1\n };\n switch (placement) {\n case 'bottomLeft':\n {\n return {\n points: ['tl', 'bl'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n case 'bottomRight':\n {\n return {\n points: ['tr', 'br'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n case 'topLeft':\n {\n return {\n points: ['bl', 'tl'],\n offset: [0, -4],\n overflow: overflow\n };\n }\n case 'topRight':\n {\n return {\n points: ['br', 'tr'],\n offset: [0, -4],\n overflow: overflow\n };\n }\n default:\n {\n return {\n points: direction === 'rtl' ? ['tr', 'br'] : ['tl', 'bl'],\n offset: [0, 4],\n overflow: overflow\n };\n }\n }\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CalendarOutlined from \"@ant-design/icons/es/icons/CalendarOutlined\";\nimport ClockCircleOutlined from \"@ant-design/icons/es/icons/ClockCircleOutlined\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport SwapRightOutlined from \"@ant-design/icons/es/icons/SwapRightOutlined\";\nimport classNames from 'classnames';\nimport { RangePicker as RCRangePicker } from 'rc-picker';\nimport * as React from 'react';\nimport { forwardRef, useContext, useImperativeHandle } from 'react';\nimport { Components, getTimeProps } from '.';\nimport { ConfigContext } from '../../config-provider';\nimport DisabledContext from '../../config-provider/DisabledContext';\nimport SizeContext from '../../config-provider/SizeContext';\nimport { FormItemInputContext } from '../../form/context';\nimport { useCompactItemContext } from '../../space/Compact';\nimport LocaleReceiver from '../../locale-provider/LocaleReceiver';\nimport { getMergedStatus, getStatusClassNames } from '../../_util/statusUtils';\nimport enUS from '../locale/en_US';\nimport { getRangePlaceholder, transPlacement2DropdownAlign } from '../util';\nimport warning from '../../_util/warning';\nexport default function generateRangePicker(generateConfig) {\n var RangePicker = /*#__PURE__*/forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n customGetPopupContainer = props.getPopupContainer,\n className = props.className,\n placement = props.placement,\n customizeSize = props.size,\n customDisabled = props.disabled,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n placeholder = props.placeholder,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n customStatus = props.status,\n restProps = __rest(props, [\"prefixCls\", \"getPopupContainer\", \"className\", \"placement\", \"size\", \"disabled\", \"bordered\", \"placeholder\", \"popupClassName\", \"dropdownClassName\", \"status\"]);\n var innerRef = React.useRef(null);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction,\n getPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var format = props.format,\n showTime = props.showTime,\n picker = props.picker;\n var rootPrefixCls = getPrefixCls();\n var additionalOverrideProps = {};\n additionalOverrideProps = _extends(_extends(_extends({}, additionalOverrideProps), showTime ? getTimeProps(_extends({\n format: format,\n picker: picker\n }, showTime)) : {}), picker === 'time' ? getTimeProps(_extends(_extends({\n format: format\n }, props), {\n picker: picker\n })) : {});\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'RangePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== FormItemInput =====================\n var formItemContext = useContext(FormItemInputContext);\n var hasFeedback = formItemContext.hasFeedback,\n contextStatus = formItemContext.status,\n feedbackIcon = formItemContext.feedbackIcon;\n var suffixNode = /*#__PURE__*/React.createElement(React.Fragment, null, picker === 'time' ? /*#__PURE__*/React.createElement(ClockCircleOutlined, null) : /*#__PURE__*/React.createElement(CalendarOutlined, null), hasFeedback && feedbackIcon);\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n },\n blur: function blur() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n }\n };\n });\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"DatePicker\",\n defaultLocale: enUS\n }, function (contextLocale) {\n var _classNames;\n var locale = _extends(_extends({}, contextLocale), props.locale);\n return /*#__PURE__*/React.createElement(RCRangePicker, _extends({\n separator: /*#__PURE__*/React.createElement(\"span\", {\n \"aria-label\": \"to\",\n className: \"\".concat(prefixCls, \"-separator\")\n }, /*#__PURE__*/React.createElement(SwapRightOutlined, null)),\n disabled: mergedDisabled,\n ref: innerRef,\n dropdownClassName: popupClassName || dropdownClassName,\n dropdownAlign: transPlacement2DropdownAlign(direction, placement),\n placeholder: getRangePlaceholder(picker, locale, placeholder),\n suffixIcon: suffixNode,\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null),\n prevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prev-icon\")\n }),\n nextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-next-icon\")\n }),\n superPrevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-prev-icon\")\n }),\n superNextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-next-icon\")\n }),\n allowClear: true,\n transitionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n }, restProps, additionalOverrideProps, {\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _classNames), getStatusClassNames(prefixCls, getMergedStatus(contextStatus, customStatus), hasFeedback), compactItemClassnames, className),\n locale: locale.lang,\n prefixCls: prefixCls,\n getPopupContainer: customGetPopupContainer || getPopupContainer,\n generateConfig: generateConfig,\n components: Components,\n direction: direction\n }));\n });\n });\n return RangePicker;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CalendarOutlined from \"@ant-design/icons/es/icons/CalendarOutlined\";\nimport ClockCircleOutlined from \"@ant-design/icons/es/icons/ClockCircleOutlined\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport classNames from 'classnames';\nimport RCPicker from 'rc-picker';\nimport * as React from 'react';\nimport { forwardRef, useContext, useImperativeHandle } from 'react';\nimport { useCompactItemContext } from '../../space/Compact';\nimport { Components, getTimeProps } from '.';\nimport { ConfigContext } from '../../config-provider';\nimport DisabledContext from '../../config-provider/DisabledContext';\nimport SizeContext from '../../config-provider/SizeContext';\nimport { FormItemInputContext } from '../../form/context';\nimport LocaleReceiver from '../../locale-provider/LocaleReceiver';\nimport { getMergedStatus, getStatusClassNames } from '../../_util/statusUtils';\nimport warning from '../../_util/warning';\nimport enUS from '../locale/en_US';\nimport { getPlaceholder, transPlacement2DropdownAlign } from '../util';\nexport default function generatePicker(generateConfig) {\n function getPicker(picker, displayName) {\n var Picker = /*#__PURE__*/forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n customizeGetPopupContainer = props.getPopupContainer,\n className = props.className,\n customizeSize = props.size,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n placement = props.placement,\n placeholder = props.placeholder,\n popupClassName = props.popupClassName,\n dropdownClassName = props.dropdownClassName,\n customDisabled = props.disabled,\n customStatus = props.status,\n restProps = __rest(props, [\"prefixCls\", \"getPopupContainer\", \"className\", \"size\", \"bordered\", \"placement\", \"placeholder\", \"popupClassName\", \"dropdownClassName\", \"disabled\", \"status\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction,\n getPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('picker', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var innerRef = React.useRef(null);\n var format = props.format,\n showTime = props.showTime;\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n },\n blur: function blur() {\n var _a;\n return (_a = innerRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n }\n };\n });\n var additionalProps = {\n showToday: true\n };\n var additionalOverrideProps = {};\n if (picker) {\n additionalOverrideProps.picker = picker;\n }\n var mergedPicker = picker || props.picker;\n additionalOverrideProps = _extends(_extends(_extends({}, additionalOverrideProps), showTime ? getTimeProps(_extends({\n format: format,\n picker: mergedPicker\n }, showTime)) : {}), mergedPicker === 'time' ? getTimeProps(_extends(_extends({\n format: format\n }, props), {\n picker: mergedPicker\n })) : {});\n var rootPrefixCls = getPrefixCls();\n // =================== Warning =====================\n process.env.NODE_ENV !== \"production\" ? warning(picker !== 'quarter', displayName, \"DatePicker.\".concat(displayName, \" is legacy usage. Please use DatePicker[picker='\").concat(picker, \"'] directly.\")) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'DatePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n // ===================== FormItemInput =====================\n var formItemContext = useContext(FormItemInputContext);\n var hasFeedback = formItemContext.hasFeedback,\n contextStatus = formItemContext.status,\n feedbackIcon = formItemContext.feedbackIcon;\n var suffixNode = /*#__PURE__*/React.createElement(React.Fragment, null, mergedPicker === 'time' ? /*#__PURE__*/React.createElement(ClockCircleOutlined, null) : /*#__PURE__*/React.createElement(CalendarOutlined, null), hasFeedback && feedbackIcon);\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"DatePicker\",\n defaultLocale: enUS\n }, function (contextLocale) {\n var _classNames;\n var locale = _extends(_extends({}, contextLocale), props.locale);\n return /*#__PURE__*/React.createElement(RCPicker, _extends({\n ref: innerRef,\n placeholder: getPlaceholder(mergedPicker, locale, placeholder),\n suffixIcon: suffixNode,\n dropdownAlign: transPlacement2DropdownAlign(direction, placement),\n dropdownClassName: popupClassName || dropdownClassName,\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null),\n prevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prev-icon\")\n }),\n nextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-next-icon\")\n }),\n superPrevIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-prev-icon\")\n }),\n superNextIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-super-next-icon\")\n }),\n allowClear: true,\n transitionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n }, additionalProps, restProps, additionalOverrideProps, {\n locale: locale.lang,\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _classNames), getStatusClassNames(prefixCls, getMergedStatus(contextStatus, customStatus), hasFeedback), compactItemClassnames, className),\n prefixCls: prefixCls,\n getPopupContainer: customizeGetPopupContainer || getPopupContainer,\n generateConfig: generateConfig,\n components: Components,\n direction: direction,\n disabled: mergedDisabled\n }));\n });\n });\n if (displayName) {\n Picker.displayName = displayName;\n }\n return Picker;\n }\n var DatePicker = getPicker();\n var WeekPicker = getPicker('week', 'WeekPicker');\n var MonthPicker = getPicker('month', 'MonthPicker');\n var YearPicker = getPicker('year', 'YearPicker');\n var TimePicker = getPicker('time', 'TimePicker');\n var QuarterPicker = getPicker('quarter', 'QuarterPicker');\n return {\n DatePicker: DatePicker,\n WeekPicker: WeekPicker,\n MonthPicker: MonthPicker,\n YearPicker: YearPicker,\n TimePicker: TimePicker,\n QuarterPicker: QuarterPicker\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { tuple } from '../../_util/type';\nimport PickerButton from '../PickerButton';\nimport PickerTag from '../PickerTag';\nimport generateRangePicker from './generateRangePicker';\nimport generateSinglePicker from './generateSinglePicker';\nexport var Components = {\n button: PickerButton,\n rangeItem: PickerTag\n};\nfunction toArray(list) {\n if (!list) {\n return [];\n }\n return Array.isArray(list) ? list : [list];\n}\nexport function getTimeProps(props) {\n var format = props.format,\n picker = props.picker,\n showHour = props.showHour,\n showMinute = props.showMinute,\n showSecond = props.showSecond,\n use12Hours = props.use12Hours;\n var firstFormat = toArray(format)[0];\n var showTimeObj = _extends({}, props);\n if (firstFormat && typeof firstFormat === 'string') {\n if (!firstFormat.includes('s') && showSecond === undefined) {\n showTimeObj.showSecond = false;\n }\n if (!firstFormat.includes('m') && showMinute === undefined) {\n showTimeObj.showMinute = false;\n }\n if (!firstFormat.includes('H') && !firstFormat.includes('h') && showHour === undefined) {\n showTimeObj.showHour = false;\n }\n if ((firstFormat.includes('a') || firstFormat.includes('A')) && use12Hours === undefined) {\n showTimeObj.use12Hours = true;\n }\n }\n if (picker === 'time') {\n return showTimeObj;\n }\n if (typeof firstFormat === 'function') {\n // format of showTime should use default when format is custom format function\n delete showTimeObj.format;\n }\n return {\n showTime: showTimeObj\n };\n}\nvar DataPickerPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight');\nfunction generatePicker(generateConfig) {\n // =========================== Picker ===========================\n var _generateSinglePicker = generateSinglePicker(generateConfig),\n DatePicker = _generateSinglePicker.DatePicker,\n WeekPicker = _generateSinglePicker.WeekPicker,\n MonthPicker = _generateSinglePicker.MonthPicker,\n YearPicker = _generateSinglePicker.YearPicker,\n TimePicker = _generateSinglePicker.TimePicker,\n QuarterPicker = _generateSinglePicker.QuarterPicker;\n // ======================== Range Picker ========================\n var RangePicker = generateRangePicker(generateConfig);\n var MergedDatePicker = DatePicker;\n MergedDatePicker.WeekPicker = WeekPicker;\n MergedDatePicker.MonthPicker = MonthPicker;\n MergedDatePicker.YearPicker = YearPicker;\n MergedDatePicker.RangePicker = RangePicker;\n MergedDatePicker.TimePicker = TimePicker;\n MergedDatePicker.QuarterPicker = QuarterPicker;\n return MergedDatePicker;\n}\nexport default generatePicker;","import momentGenerateConfig from \"rc-picker/es/generate/moment\";\nimport generatePicker from './generatePicker';\nvar DatePicker = generatePicker(momentGenerateConfig);\nexport default DatePicker;","var DescriptionsItem = function DescriptionsItem(_ref) {\n var children = _ref.children;\n return children;\n};\nexport default DescriptionsItem;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nvar Cell = function Cell(_ref) {\n var itemPrefixCls = _ref.itemPrefixCls,\n component = _ref.component,\n span = _ref.span,\n className = _ref.className,\n style = _ref.style,\n labelStyle = _ref.labelStyle,\n contentStyle = _ref.contentStyle,\n bordered = _ref.bordered,\n label = _ref.label,\n content = _ref.content,\n colon = _ref.colon;\n var Component = component;\n if (bordered) {\n var _classNames;\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(itemPrefixCls, \"-item-label\"), notEmpty(label)), _defineProperty(_classNames, \"\".concat(itemPrefixCls, \"-item-content\"), notEmpty(content)), _classNames), className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(\"\".concat(itemPrefixCls, \"-item\"), className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(itemPrefixCls, \"-item-container\")\n }, (label || label === 0) && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(itemPrefixCls, \"-item-label\"), _defineProperty({}, \"\".concat(itemPrefixCls, \"-item-no-colon\"), !colon)),\n style: labelStyle\n }, label), (content || content === 0) && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(itemPrefixCls, \"-item-content\")),\n style: contentStyle\n }, content)));\n};\nexport default Cell;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { DescriptionsContext } from '.';\nimport Cell from './Cell';\nfunction renderCells(items, _ref, _ref2) {\n var colon = _ref.colon,\n prefixCls = _ref.prefixCls,\n bordered = _ref.bordered;\n var component = _ref2.component,\n type = _ref2.type,\n showLabel = _ref2.showLabel,\n showContent = _ref2.showContent,\n rootLabelStyle = _ref2.labelStyle,\n rootContentStyle = _ref2.contentStyle;\n return items.map(function (_ref3, index) {\n var _ref3$props = _ref3.props,\n label = _ref3$props.label,\n children = _ref3$props.children,\n _ref3$props$prefixCls = _ref3$props.prefixCls,\n itemPrefixCls = _ref3$props$prefixCls === void 0 ? prefixCls : _ref3$props$prefixCls,\n className = _ref3$props.className,\n style = _ref3$props.style,\n labelStyle = _ref3$props.labelStyle,\n contentStyle = _ref3$props.contentStyle,\n _ref3$props$span = _ref3$props.span,\n span = _ref3$props$span === void 0 ? 1 : _ref3$props$span,\n key = _ref3.key;\n if (typeof component === 'string') {\n return /*#__PURE__*/React.createElement(Cell, {\n key: \"\".concat(type, \"-\").concat(key || index),\n className: className,\n style: style,\n labelStyle: _extends(_extends({}, rootLabelStyle), labelStyle),\n contentStyle: _extends(_extends({}, rootContentStyle), contentStyle),\n span: span,\n colon: colon,\n component: component,\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n label: showLabel ? label : null,\n content: showContent ? children : null\n });\n }\n return [/*#__PURE__*/React.createElement(Cell, {\n key: \"label-\".concat(key || index),\n className: className,\n style: _extends(_extends(_extends({}, rootLabelStyle), style), labelStyle),\n span: 1,\n colon: colon,\n component: component[0],\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n label: label\n }), /*#__PURE__*/React.createElement(Cell, {\n key: \"content-\".concat(key || index),\n className: className,\n style: _extends(_extends(_extends({}, rootContentStyle), style), contentStyle),\n span: span * 2 - 1,\n component: component[1],\n itemPrefixCls: itemPrefixCls,\n bordered: bordered,\n content: children\n })];\n });\n}\nvar Row = function Row(props) {\n var descContext = React.useContext(DescriptionsContext);\n var prefixCls = props.prefixCls,\n vertical = props.vertical,\n row = props.row,\n index = props.index,\n bordered = props.bordered;\n if (vertical) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"tr\", {\n key: \"label-\".concat(index),\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: 'th',\n type: 'label',\n showLabel: true\n }, descContext))), /*#__PURE__*/React.createElement(\"tr\", {\n key: \"content-\".concat(index),\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: 'td',\n type: 'content',\n showContent: true\n }, descContext))));\n }\n return /*#__PURE__*/React.createElement(\"tr\", {\n key: index,\n className: \"\".concat(prefixCls, \"-row\")\n }, renderCells(row, props, _extends({\n component: bordered ? ['th', 'td'] : 'td',\n type: 'item',\n showLabel: true,\n showContent: true\n }, descContext)));\n};\nexport default Row;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n/* eslint-disable react/no-array-index-key */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport DescriptionsItem from './Item';\nimport Row from './Row';\nexport var DescriptionsContext = /*#__PURE__*/React.createContext({});\nvar DEFAULT_COLUMN_MAP = {\n xxl: 3,\n xl: 3,\n lg: 3,\n md: 3,\n sm: 2,\n xs: 1\n};\nfunction getColumn(column, screens) {\n if (typeof column === 'number') {\n return column;\n }\n if (_typeof(column) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && column[breakpoint] !== undefined) {\n return column[breakpoint] || DEFAULT_COLUMN_MAP[breakpoint];\n }\n }\n }\n return 3;\n}\nfunction getFilledItem(node, span, rowRestCol) {\n var clone = node;\n if (span === undefined || span > rowRestCol) {\n clone = cloneElement(node, {\n span: rowRestCol\n });\n process.env.NODE_ENV !== \"production\" ? warning(span === undefined, 'Descriptions', 'Sum of column `span` in a line not match `column` of Descriptions.') : void 0;\n }\n return clone;\n}\nfunction getRows(children, column) {\n var childNodes = toArray(children).filter(function (n) {\n return n;\n });\n var rows = [];\n var tmpRow = [];\n var rowRestCol = column;\n childNodes.forEach(function (node, index) {\n var _a;\n var span = (_a = node.props) === null || _a === void 0 ? void 0 : _a.span;\n var mergedSpan = span || 1;\n // Additional handle last one\n if (index === childNodes.length - 1) {\n tmpRow.push(getFilledItem(node, span, rowRestCol));\n rows.push(tmpRow);\n return;\n }\n if (mergedSpan < rowRestCol) {\n rowRestCol -= mergedSpan;\n tmpRow.push(node);\n } else {\n tmpRow.push(getFilledItem(node, mergedSpan, rowRestCol));\n rows.push(tmpRow);\n rowRestCol = column;\n tmpRow = [];\n }\n });\n return rows;\n}\nfunction Descriptions(_ref) {\n var _classNames;\n var customizePrefixCls = _ref.prefixCls,\n title = _ref.title,\n extra = _ref.extra,\n _ref$column = _ref.column,\n column = _ref$column === void 0 ? DEFAULT_COLUMN_MAP : _ref$column,\n _ref$colon = _ref.colon,\n colon = _ref$colon === void 0 ? true : _ref$colon,\n bordered = _ref.bordered,\n layout = _ref.layout,\n children = _ref.children,\n className = _ref.className,\n style = _ref.style,\n size = _ref.size,\n labelStyle = _ref.labelStyle,\n contentStyle = _ref.contentStyle;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('descriptions', customizePrefixCls);\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n screens = _React$useState2[0],\n setScreens = _React$useState2[1];\n var mergedColumn = getColumn(column, screens);\n // Responsive\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (newScreens) {\n if (_typeof(column) !== 'object') {\n return;\n }\n setScreens(newScreens);\n });\n return function () {\n ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // Children\n var rows = getRows(children, mergedColumn);\n var contextValue = React.useMemo(function () {\n return {\n labelStyle: labelStyle,\n contentStyle: contentStyle\n };\n }, [labelStyle, contentStyle]);\n return /*#__PURE__*/React.createElement(DescriptionsContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), size && size !== 'default'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), !!bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className),\n style: style\n }, (title || extra) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, title), extra && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-view\")\n }, /*#__PURE__*/React.createElement(\"table\", null, /*#__PURE__*/React.createElement(\"tbody\", null, rows.map(function (row, index) {\n return /*#__PURE__*/React.createElement(Row, {\n key: index,\n index: index,\n colon: colon,\n prefixCls: prefixCls,\n vertical: layout === 'vertical',\n bordered: bordered,\n row: row\n });\n }))))));\n}\nDescriptions.Item = DescriptionsItem;\nexport default Descriptions;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nvar DrawerPanel = function DrawerPanel(props) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n children = props.children,\n containerRef = props.containerRef;\n // =============================== Render ===============================\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: _objectSpread({}, style),\n \"aria-modal\": \"true\",\n role: \"dialog\",\n ref: containerRef\n }, children));\n};\nif (process.env.NODE_ENV !== 'production') {\n DrawerPanel.displayName = 'DrawerPanel';\n}\nexport default DrawerPanel;","import * as React from 'react';\nvar DrawerContext = /*#__PURE__*/React.createContext(null);\nexport default DrawerContext;","import warning from \"rc-util/es/warning\";\nexport function parseWidthHeight(value) {\n if (typeof value === 'string' && String(Number(value)) === value) {\n warning(false, 'Invalid value type of `width` or `height` which should be number type instead.');\n return Number(value);\n }\n return value;\n}\nexport function warnCheck(props) {\n warning(!('wrapperClassName' in props), \"'wrapperClassName' is removed. Please use 'rootClassName' instead.\");\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport DrawerPanel from './DrawerPanel';\n// import type ScrollLocker from 'rc-util/lib/Dom/scrollLocker';\nimport DrawerContext from './context';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { parseWidthHeight } from './util';\nvar sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none',\n position: 'absolute'\n};\nexport default function DrawerPopup(props) {\n var _ref, _pushConfig$distance, _pushConfig, _classNames;\n var prefixCls = props.prefixCls,\n open = props.open,\n placement = props.placement,\n inline = props.inline,\n push = props.push,\n forceRender = props.forceRender,\n autoFocus = props.autoFocus,\n keyboard = props.keyboard,\n rootClassName = props.rootClassName,\n rootStyle = props.rootStyle,\n zIndex = props.zIndex,\n className = props.className,\n style = props.style,\n motion = props.motion,\n width = props.width,\n height = props.height,\n children = props.children,\n contentWrapperStyle = props.contentWrapperStyle,\n mask = props.mask,\n maskClosable = props.maskClosable,\n maskMotion = props.maskMotion,\n maskClassName = props.maskClassName,\n maskStyle = props.maskStyle,\n afterOpenChange = props.afterOpenChange,\n onClose = props.onClose;\n // ================================ Refs ================================\n var panelRef = React.useRef();\n var sentinelStartRef = React.useRef();\n var sentinelEndRef = React.useRef();\n var onPanelKeyDown = function onPanelKeyDown(event) {\n var keyCode = event.keyCode,\n shiftKey = event.shiftKey;\n switch (keyCode) {\n // Tab active\n case KeyCode.TAB:\n {\n if (keyCode === KeyCode.TAB) {\n if (!shiftKey && document.activeElement === sentinelEndRef.current) {\n var _sentinelStartRef$cur;\n (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({\n preventScroll: true\n });\n } else if (shiftKey && document.activeElement === sentinelStartRef.current) {\n var _sentinelEndRef$curre;\n (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({\n preventScroll: true\n });\n }\n }\n break;\n }\n // Close\n case KeyCode.ESC:\n {\n if (onClose && keyboard) {\n onClose(event);\n }\n break;\n }\n }\n };\n // ========================== Control ===========================\n // Auto Focus\n React.useEffect(function () {\n if (open && autoFocus) {\n var _panelRef$current;\n (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({\n preventScroll: true\n });\n }\n }, [open, autoFocus]);\n // ============================ Push ============================\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n pushed = _React$useState2[0],\n setPushed = _React$useState2[1];\n var parentContext = React.useContext(DrawerContext);\n // Merge push distance\n var pushConfig;\n if (push === false) {\n pushConfig = {\n distance: 0\n };\n } else if (push === true) {\n pushConfig = {};\n } else {\n pushConfig = push || {};\n }\n var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180;\n var mergedContext = React.useMemo(function () {\n return {\n pushDistance: pushDistance,\n push: function push() {\n setPushed(true);\n },\n pull: function pull() {\n setPushed(false);\n }\n };\n }, [pushDistance]);\n // ========================= ScrollLock =========================\n // Tell parent to push\n React.useEffect(function () {\n if (open) {\n var _parentContext$push;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext);\n } else {\n var _parentContext$pull;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext);\n }\n }, [open]);\n // Clean up\n React.useEffect(function () {\n return function () {\n var _parentContext$pull2;\n parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext);\n };\n }, []);\n // ============================ Mask ============================\n var maskNode = mask && /*#__PURE__*/React.createElement(CSSMotion, _extends({\n key: \"mask\"\n }, maskMotion, {\n visible: open\n }), function (_ref2, maskRef) {\n var motionMaskClassName = _ref2.className,\n motionMaskStyle = _ref2.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-mask\"), motionMaskClassName, maskClassName),\n style: _objectSpread(_objectSpread({}, motionMaskStyle), maskStyle),\n onClick: maskClosable ? onClose : undefined,\n ref: maskRef\n });\n });\n // =========================== Panel ============================\n var motionProps = typeof motion === 'function' ? motion(placement) : motion;\n var wrapperStyle = {};\n if (pushed && pushDistance) {\n switch (placement) {\n case 'top':\n wrapperStyle.transform = \"translateY(\".concat(pushDistance, \"px)\");\n break;\n case 'bottom':\n wrapperStyle.transform = \"translateY(\".concat(-pushDistance, \"px)\");\n break;\n case 'left':\n wrapperStyle.transform = \"translateX(\".concat(pushDistance, \"px)\");\n break;\n default:\n wrapperStyle.transform = \"translateX(\".concat(-pushDistance, \"px)\");\n break;\n }\n }\n if (placement === 'left' || placement === 'right') {\n wrapperStyle.width = parseWidthHeight(width);\n } else {\n wrapperStyle.height = parseWidthHeight(height);\n }\n var panelNode = /*#__PURE__*/React.createElement(CSSMotion, _extends({\n key: \"panel\"\n }, motionProps, {\n visible: open,\n forceRender: forceRender,\n onVisibleChanged: function onVisibleChanged(nextVisible) {\n afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible);\n },\n removeOnLeave: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-wrapper-hidden\")\n }), function (_ref3, motionRef) {\n var motionClassName = _ref3.className,\n motionStyle = _ref3.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content-wrapper\"), motionClassName),\n style: _objectSpread(_objectSpread(_objectSpread({}, wrapperStyle), motionStyle), contentWrapperStyle)\n }, /*#__PURE__*/React.createElement(DrawerPanel, {\n containerRef: motionRef,\n prefixCls: prefixCls,\n className: className,\n style: style\n }, children));\n });\n // =========================== Render ===========================\n var containerStyle = _objectSpread({}, rootStyle);\n if (zIndex) {\n containerStyle.zIndex = zIndex;\n }\n return /*#__PURE__*/React.createElement(DrawerContext.Provider, {\n value: mergedContext\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(placement), rootClassName, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-open\"), open), _defineProperty(_classNames, \"\".concat(prefixCls, \"-inline\"), inline), _classNames)),\n style: containerStyle,\n tabIndex: -1,\n ref: panelRef,\n onKeyDown: onPanelKeyDown\n }, maskNode, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStartRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\",\n \"data-sentinel\": \"start\"\n }), panelNode, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\",\n \"data-sentinel\": \"end\"\n })));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport DrawerPopup from './DrawerPopup';\nimport { warnCheck } from './util';\nvar Drawer = function Drawer(props) {\n var open = props.open,\n getContainer = props.getContainer,\n forceRender = props.forceRender,\n prefixCls = props.prefixCls,\n afterOpenChange = props.afterOpenChange,\n destroyOnClose = props.destroyOnClose,\n mask = props.mask;\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n // ============================= Warn =============================\n if (process.env.NODE_ENV !== 'production') {\n warnCheck(props);\n }\n // ============================= Open =============================\n var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) {\n setAnimatedVisible(nextVisible);\n afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible);\n };\n // ============================ Render ============================\n if (!forceRender && !animatedVisible && !open && destroyOnClose) {\n return null;\n }\n var sharedDrawerProps = _objectSpread(_objectSpread({}, props), {}, {\n prefixCls: prefixCls,\n afterOpenChange: internalAfterOpenChange\n });\n return /*#__PURE__*/React.createElement(Portal, {\n open: open || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: mask && (open || animatedVisible)\n }, /*#__PURE__*/React.createElement(DrawerPopup, _extends({}, sharedDrawerProps, {\n inline: getContainer === false\n })));\n};\n// Default Value.\n// Since spread with default value will make this all over components.\n// Let's maintain this in one place.\nDrawer.defaultProps = {\n open: false,\n prefixCls: 'rc-drawer',\n placement: 'right',\n autoFocus: true,\n keyboard: true,\n width: 378,\n mask: true,\n maskClosable: true\n};\nif (process.env.NODE_ENV !== 'production') {\n Drawer.displayName = 'Drawer';\n}\nexport default Drawer;","// export this package's api\nimport Drawer from './Drawer';\nexport default Drawer;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport RcDrawer from 'rc-drawer';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { NoFormStyle } from '../form/context';\nimport { getTransitionName } from '../_util/motion';\nimport { tuple } from '../_util/type';\nimport warning from '../_util/warning';\nvar SizeTypes = tuple('default', 'large');\nvar defaultPushState = {\n distance: 180\n};\nfunction Drawer(props) {\n var width = props.width,\n height = props.height,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n _props$closable = props.closable,\n closable = _props$closable === void 0 ? true : _props$closable,\n _props$mask = props.mask,\n mask = _props$mask === void 0 ? true : _props$mask,\n _props$push = props.push,\n push = _props$push === void 0 ? defaultPushState : _props$push,\n _props$closeIcon = props.closeIcon,\n closeIcon = _props$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined, null) : _props$closeIcon,\n bodyStyle = props.bodyStyle,\n drawerStyle = props.drawerStyle,\n className = props.className,\n visible = props.visible,\n open = props.open,\n children = props.children,\n style = props.style,\n title = props.title,\n headerStyle = props.headerStyle,\n onClose = props.onClose,\n footer = props.footer,\n footerStyle = props.footerStyle,\n customizePrefixCls = props.prefixCls,\n customizeGetContainer = props.getContainer,\n extra = props.extra,\n afterVisibleChange = props.afterVisibleChange,\n _afterOpenChange = props.afterOpenChange,\n rest = __rest(props, [\"width\", \"height\", \"size\", \"closable\", \"mask\", \"push\", \"closeIcon\", \"bodyStyle\", \"drawerStyle\", \"className\", \"visible\", \"open\", \"children\", \"style\", \"title\", \"headerStyle\", \"onClose\", \"footer\", \"footerStyle\", \"prefixCls\", \"getContainer\", \"extra\", \"afterVisibleChange\", \"afterOpenChange\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('drawer', customizePrefixCls);\n var getContainer =\n // 有可能为 false,所以不能直接判断\n customizeGetContainer === undefined && getPopupContainer ? function () {\n return getPopupContainer(document.body);\n } : customizeGetContainer;\n var closeIconNode = closable && /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\",\n className: \"\".concat(prefixCls, \"-close\")\n }, closeIcon);\n [['visible', 'open'], ['afterVisibleChange', 'afterOpenChange']].forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n deprecatedName = _ref2[0],\n newName = _ref2[1];\n process.env.NODE_ENV !== \"production\" ? warning(!(deprecatedName in props), 'Drawer', \"`\".concat(deprecatedName, \"` is deprecated which will be removed in next major version, please use `\").concat(newName, \"` instead.\")) : void 0;\n });\n function renderHeader() {\n if (!title && !closable) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-header\"), _defineProperty({}, \"\".concat(prefixCls, \"-header-close-only\"), closable && !title && !extra)),\n style: headerStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header-title\")\n }, closeIconNode, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, title)), extra && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra));\n }\n function renderFooter() {\n if (!footer) {\n return null;\n }\n var footerClassName = \"\".concat(prefixCls, \"-footer\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: footerClassName,\n style: footerStyle\n }, footer);\n }\n var drawerClassName = classNames(_defineProperty({\n 'no-mask': !mask\n }, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n // ============================ Size ============================\n var mergedWidth = React.useMemo(function () {\n return width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378;\n }, [width, size]);\n var mergedHeight = React.useMemo(function () {\n return height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378;\n }, [height, size]);\n // =========================== Motion ===========================\n var maskMotion = {\n motionName: getTransitionName(prefixCls, 'mask-motion'),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500\n };\n var panelMotion = function panelMotion(motionPlacement) {\n return {\n motionName: getTransitionName(prefixCls, \"panel-motion-\".concat(motionPlacement)),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500\n };\n };\n // =========================== Render ===========================\n return /*#__PURE__*/React.createElement(NoFormStyle, {\n status: true,\n override: true\n }, /*#__PURE__*/React.createElement(RcDrawer, _extends({\n prefixCls: prefixCls,\n onClose: onClose\n }, rest, {\n open: open || visible,\n mask: mask,\n push: push,\n width: mergedWidth,\n height: mergedHeight,\n rootClassName: drawerClassName,\n getContainer: getContainer,\n afterOpenChange: function afterOpenChange(isOpen) {\n _afterOpenChange === null || _afterOpenChange === void 0 ? void 0 : _afterOpenChange(isOpen);\n afterVisibleChange === null || afterVisibleChange === void 0 ? void 0 : afterVisibleChange(isOpen);\n },\n maskMotion: maskMotion,\n motion: panelMotion,\n rootStyle: style\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-wrapper-body\"),\n style: _extends({}, drawerStyle)\n }, renderHeader(), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body\"),\n style: bodyStyle\n }, children), renderFooter())));\n}\nif (process.env.NODE_ENV !== 'production') {\n Drawer.displayName = 'Drawer';\n}\nexport default Drawer;","import Col from './col';\nimport useInternalBreakpoint from './hooks/useBreakpoint';\nimport Row from './row';\n// Do not export params\nfunction useBreakpoint() {\n return useInternalBreakpoint();\n}\nexport { Row, Col };\nexport default {\n useBreakpoint: useBreakpoint\n};","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default function useFrameSetState(initial) {\n var frame = React.useRef(null);\n\n var _React$useState = React.useState(initial),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n state = _React$useState2[0],\n setState = _React$useState2[1];\n\n var queue = React.useRef([]);\n\n var setFrameState = function setFrameState(newState) {\n if (frame.current === null) {\n queue.current = [];\n frame.current = raf(function () {\n setState(function (preState) {\n var memoState = preState;\n queue.current.forEach(function (queueState) {\n memoState = _objectSpread(_objectSpread({}, memoState), queueState);\n });\n frame.current = null;\n return memoState;\n });\n });\n }\n\n queue.current.push(newState);\n };\n\n React.useEffect(function () {\n return function () {\n return frame.current && raf.cancel(frame.current);\n };\n }, []);\n return [state, setFrameState];\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { getClientSize } from \"rc-util/es/Dom/css\";\n\nfunction fixPoint(key, start, width, clientWidth) {\n var startAddWidth = start + width;\n var offsetStart = (width - clientWidth) / 2;\n\n if (width > clientWidth) {\n if (start > 0) {\n return _defineProperty({}, key, offsetStart);\n }\n\n if (start < 0 && startAddWidth < clientWidth) {\n return _defineProperty({}, key, -offsetStart);\n }\n } else if (start < 0 || startAddWidth > clientWidth) {\n return _defineProperty({}, key, start < 0 ? offsetStart : -offsetStart);\n }\n\n return {};\n}\n/**\n * Fix positon x,y point when\n *\n * Ele width && height < client\n * - Back origin\n *\n * - Ele width | height > clientWidth | clientHeight\n * - left | top > 0 -> Back 0\n * - left | top + width | height < clientWidth | clientHeight -> Back left | top + width | height === clientWidth | clientHeight\n *\n * Regardless of other\n */\n\n\nexport default function getFixScaleEleTransPosition(width, height, left, top) {\n var _getClientSize = getClientSize(),\n clientWidth = _getClientSize.width,\n clientHeight = _getClientSize.height;\n\n var fixPos = null;\n\n if (width <= clientWidth && height <= clientHeight) {\n fixPos = {\n x: 0,\n y: 0\n };\n } else if (width > clientWidth || height > clientHeight) {\n fixPos = _objectSpread(_objectSpread({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));\n }\n\n return fixPos;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"visible\", \"onVisibleChange\", \"getContainer\", \"current\", \"countRender\"];\nimport * as React from 'react';\nimport { useState } from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from \"./Preview\";\n\n/* istanbul ignore next */\nexport var context = /*#__PURE__*/React.createContext({\n previewUrls: new Map(),\n setPreviewUrls: function setPreviewUrls() {\n return null;\n },\n current: null,\n setCurrent: function setCurrent() {\n return null;\n },\n setShowPreview: function setShowPreview() {\n return null;\n },\n setMousePosition: function setMousePosition() {\n return null;\n },\n registerImage: function registerImage() {\n return function () {\n return null;\n };\n },\n rootClassName: ''\n});\nvar Provider = context.Provider;\n\nvar Group = function Group(_ref) {\n var _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? 'rc-image-preview' : _ref$previewPrefixCls,\n children = _ref.children,\n _ref$icons = _ref.icons,\n icons = _ref$icons === void 0 ? {} : _ref$icons,\n preview = _ref.preview;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? undefined : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n _ref2$current = _ref2.current,\n currentIndex = _ref2$current === void 0 ? 0 : _ref2$current,\n _ref2$countRender = _ref2.countRender,\n countRender = _ref2$countRender === void 0 ? undefined : _ref2$countRender,\n dialogProps = _objectWithoutProperties(_ref2, _excluded);\n\n var _useState = useState(new Map()),\n _useState2 = _slicedToArray(_useState, 2),\n previewUrls = _useState2[0],\n setPreviewUrls = _useState2[1];\n\n var _useState3 = useState(),\n _useState4 = _slicedToArray(_useState3, 2),\n current = _useState4[0],\n setCurrent = _useState4[1];\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n mousePosition = _useState6[0],\n setMousePosition = _useState6[1];\n\n var isControlled = previewVisible !== undefined;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentControlledKey = previewUrlsKeys[currentIndex];\n var canPreviewUrls = new Map(Array.from(previewUrls).filter(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n canPreview = _ref4[1].canPreview;\n\n return !!canPreview;\n }).map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n id = _ref6[0],\n url = _ref6[1].url;\n\n return [id, url];\n }));\n\n var registerImage = function registerImage(id, url) {\n var canPreview = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n var unRegister = function unRegister() {\n setPreviewUrls(function (oldPreviewUrls) {\n var clonePreviewUrls = new Map(oldPreviewUrls);\n var deleteResult = clonePreviewUrls.delete(id);\n return deleteResult ? clonePreviewUrls : oldPreviewUrls;\n });\n };\n\n setPreviewUrls(function (oldPreviewUrls) {\n return new Map(oldPreviewUrls).set(id, {\n url: url,\n canPreview: canPreview\n });\n });\n return unRegister;\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n setMousePosition(null);\n };\n\n React.useEffect(function () {\n setCurrent(currentControlledKey);\n }, [currentControlledKey]);\n React.useEffect(function () {\n if (!isShowPreview && isControlled) {\n setCurrent(currentControlledKey);\n }\n }, [currentControlledKey, isControlled, isShowPreview]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: {\n isPreviewGroup: true,\n previewUrls: canPreviewUrls,\n setPreviewUrls: setPreviewUrls,\n current: current,\n setCurrent: setCurrent,\n setShowPreview: setShowPreview,\n setMousePosition: setMousePosition,\n registerImage: registerImage\n }\n }, children, /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: canPreviewUrls.get(current),\n icons: icons,\n getContainer: getContainer,\n countRender: countRender\n }, dialogProps)));\n};\n\nexport default Group;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"src\", \"alt\", \"onClose\", \"afterClose\", \"visible\", \"icons\", \"rootClassName\", \"getContainer\", \"countRender\", \"scaleStep\", \"transitionName\", \"maskTransitionName\"];\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport Dialog from 'rc-dialog';\nimport CSSMotion from 'rc-motion';\nimport classnames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { warning } from \"rc-util/es/warning\";\nimport useFrameSetState from \"./hooks/useFrameSetState\";\nimport getFixScaleEleTransPosition from \"./getFixScaleEleTransPosition\";\nimport { context } from \"./PreviewGroup\";\nvar useState = React.useState,\n useEffect = React.useEffect,\n useCallback = React.useCallback,\n useRef = React.useRef,\n useContext = React.useContext;\nvar initialPosition = {\n x: 0,\n y: 0\n};\n\nvar Preview = function Preview(props) {\n var _countRender;\n\n var prefixCls = props.prefixCls,\n src = props.src,\n alt = props.alt,\n onClose = props.onClose,\n afterClose = props.afterClose,\n visible = props.visible,\n _props$icons = props.icons,\n icons = _props$icons === void 0 ? {} : _props$icons,\n rootClassName = props.rootClassName,\n getContainer = props.getContainer,\n countRender = props.countRender,\n _props$scaleStep = props.scaleStep,\n scaleStep = _props$scaleStep === void 0 ? 0.5 : _props$scaleStep,\n _props$transitionName = props.transitionName,\n transitionName = _props$transitionName === void 0 ? 'zoom' : _props$transitionName,\n _props$maskTransition = props.maskTransitionName,\n maskTransitionName = _props$maskTransition === void 0 ? 'fade' : _props$maskTransition,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var rotateLeft = icons.rotateLeft,\n rotateRight = icons.rotateRight,\n zoomIn = icons.zoomIn,\n zoomOut = icons.zoomOut,\n close = icons.close,\n left = icons.left,\n right = icons.right;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n scale = _useState2[0],\n setScale = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n rotate = _useState4[0],\n setRotate = _useState4[1];\n\n var _useFrameSetState = useFrameSetState(initialPosition),\n _useFrameSetState2 = _slicedToArray(_useFrameSetState, 2),\n position = _useFrameSetState2[0],\n setPosition = _useFrameSetState2[1];\n\n var imgRef = useRef();\n var originPositionRef = useRef({\n originX: 0,\n originY: 0,\n deltaX: 0,\n deltaY: 0\n });\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n isMoving = _useState6[0],\n setMoving = _useState6[1];\n\n var _useContext = useContext(context),\n previewUrls = _useContext.previewUrls,\n current = _useContext.current,\n isPreviewGroup = _useContext.isPreviewGroup,\n setCurrent = _useContext.setCurrent;\n\n var previewGroupCount = previewUrls.size;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentPreviewIndex = previewUrlsKeys.indexOf(current);\n var combinationSrc = isPreviewGroup ? previewUrls.get(current) : src;\n var showLeftOrRightSwitches = isPreviewGroup && previewGroupCount > 1;\n var showOperationsProgress = isPreviewGroup && previewGroupCount >= 1;\n\n var _useState7 = useState({\n wheelDirection: 0\n }),\n _useState8 = _slicedToArray(_useState7, 2),\n lastWheelZoomDirection = _useState8[0],\n setLastWheelZoomDirection = _useState8[1];\n\n var onAfterClose = function onAfterClose() {\n setScale(1);\n setRotate(0);\n setPosition(initialPosition);\n };\n\n var onZoomIn = function onZoomIn() {\n setScale(function (value) {\n return value + scaleStep;\n });\n setPosition(initialPosition);\n };\n\n var onZoomOut = function onZoomOut() {\n if (scale > 1) {\n setScale(function (value) {\n return value - scaleStep;\n });\n }\n\n setPosition(initialPosition);\n };\n\n var onRotateRight = function onRotateRight() {\n setRotate(function (value) {\n return value + 90;\n });\n };\n\n var onRotateLeft = function onRotateLeft() {\n setRotate(function (value) {\n return value - 90;\n });\n };\n\n var onSwitchLeft = function onSwitchLeft(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n };\n\n var onSwitchRight = function onSwitchRight(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n };\n\n var wrapClassName = classnames(_defineProperty({}, \"\".concat(prefixCls, \"-moving\"), isMoving));\n var toolClassName = \"\".concat(prefixCls, \"-operations-operation\");\n var iconClassName = \"\".concat(prefixCls, \"-operations-icon\");\n var tools = [{\n icon: close,\n onClick: onClose,\n type: 'close'\n }, {\n icon: zoomIn,\n onClick: onZoomIn,\n type: 'zoomIn'\n }, {\n icon: zoomOut,\n onClick: onZoomOut,\n type: 'zoomOut',\n disabled: scale === 1\n }, {\n icon: rotateRight,\n onClick: onRotateRight,\n type: 'rotateRight'\n }, {\n icon: rotateLeft,\n onClick: onRotateLeft,\n type: 'rotateLeft'\n }];\n\n var onMouseUp = function onMouseUp() {\n if (visible && isMoving) {\n var width = imgRef.current.offsetWidth * scale;\n var height = imgRef.current.offsetHeight * scale; // eslint-disable-next-line @typescript-eslint/no-shadow\n\n var _imgRef$current$getBo = imgRef.current.getBoundingClientRect(),\n _left = _imgRef$current$getBo.left,\n top = _imgRef$current$getBo.top;\n\n var isRotate = rotate % 180 !== 0;\n setMoving(false);\n var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, _left, top);\n\n if (fixState) {\n setPosition(_objectSpread({}, fixState));\n }\n }\n };\n\n var onMouseDown = function onMouseDown(event) {\n // Only allow main button\n if (event.button !== 0) return;\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n originPositionRef.current.deltaX = event.pageX - position.x;\n originPositionRef.current.deltaY = event.pageY - position.y;\n originPositionRef.current.originX = position.x;\n originPositionRef.current.originY = position.y;\n setMoving(true);\n };\n\n var onMouseMove = function onMouseMove(event) {\n if (visible && isMoving) {\n setPosition({\n x: event.pageX - originPositionRef.current.deltaX,\n y: event.pageY - originPositionRef.current.deltaY\n });\n }\n };\n\n var onWheelMove = function onWheelMove(event) {\n if (!visible) return;\n event.preventDefault();\n var wheelDirection = event.deltaY;\n setLastWheelZoomDirection({\n wheelDirection: wheelDirection\n });\n };\n\n var onKeyDown = useCallback(function (event) {\n if (!visible || !showLeftOrRightSwitches) return;\n\n if (event.keyCode === KeyCode.LEFT) {\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n } else if (event.keyCode === KeyCode.RIGHT) {\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n }\n }, [currentPreviewIndex, previewGroupCount, previewUrlsKeys, setCurrent, showLeftOrRightSwitches, visible]);\n\n var onDoubleClick = function onDoubleClick() {\n if (visible) {\n if (scale !== 1) {\n setScale(1);\n }\n\n if (position.x !== initialPosition.x || position.y !== initialPosition.y) {\n setPosition(initialPosition);\n }\n }\n };\n\n useEffect(function () {\n var wheelDirection = lastWheelZoomDirection.wheelDirection;\n\n if (wheelDirection > 0) {\n onZoomOut();\n } else if (wheelDirection < 0) {\n onZoomIn();\n }\n }, [lastWheelZoomDirection]);\n useEffect(function () {\n var onTopMouseUpListener;\n var onTopMouseMoveListener;\n var onMouseUpListener = addEventListener(window, 'mouseup', onMouseUp, false);\n var onMouseMoveListener = addEventListener(window, 'mousemove', onMouseMove, false);\n var onScrollWheelListener = addEventListener(window, 'wheel', onWheelMove, {\n passive: false\n });\n var onKeyDownListener = addEventListener(window, 'keydown', onKeyDown, false);\n\n try {\n // Resolve if in iframe lost event\n\n /* istanbul ignore next */\n if (window.top !== window.self) {\n onTopMouseUpListener = addEventListener(window.top, 'mouseup', onMouseUp, false);\n onTopMouseMoveListener = addEventListener(window.top, 'mousemove', onMouseMove, false);\n }\n } catch (error) {\n /* istanbul ignore next */\n warning(false, \"[rc-image] \".concat(error));\n }\n\n return function () {\n var _onTopMouseUpListener, _onTopMouseMoveListen;\n\n onMouseUpListener.remove();\n onMouseMoveListener.remove();\n onScrollWheelListener.remove();\n onKeyDownListener.remove();\n /* istanbul ignore next */\n\n (_onTopMouseUpListener = onTopMouseUpListener) === null || _onTopMouseUpListener === void 0 ? void 0 : _onTopMouseUpListener.remove();\n /* istanbul ignore next */\n\n (_onTopMouseMoveListen = onTopMouseMoveListener) === null || _onTopMouseMoveListen === void 0 ? void 0 : _onTopMouseMoveListen.remove();\n };\n }, [visible, isMoving, onKeyDown]);\n var operations = /*#__PURE__*/React.createElement(React.Fragment, null, showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-left\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-left-disabled\"), currentPreviewIndex === 0)),\n onClick: onSwitchLeft\n }, left), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-right\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-right-disabled\"), currentPreviewIndex === previewGroupCount - 1)),\n onClick: onSwitchRight\n }, right), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-operations\")\n }, showOperationsProgress && /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-operations-progress\")\n }, (_countRender = countRender === null || countRender === void 0 ? void 0 : countRender(currentPreviewIndex + 1, previewGroupCount)) !== null && _countRender !== void 0 ? _countRender : \"\".concat(currentPreviewIndex + 1, \" / \").concat(previewGroupCount)), tools.map(function (_ref) {\n var _classnames4;\n\n var icon = _ref.icon,\n onClick = _ref.onClick,\n type = _ref.type,\n disabled = _ref.disabled;\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classnames(toolClassName, (_classnames4 = {}, _defineProperty(_classnames4, \"\".concat(prefixCls, \"-operations-operation-\").concat(type), true), _defineProperty(_classnames4, \"\".concat(prefixCls, \"-operations-operation-disabled\"), !!disabled), _classnames4)),\n onClick: onClick,\n key: type\n }, /*#__PURE__*/React.isValidElement(icon) ? /*#__PURE__*/React.cloneElement(icon, {\n className: iconClassName\n }) : icon);\n })));\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Dialog, _extends({\n transitionName: transitionName,\n maskTransitionName: maskTransitionName,\n closable: false,\n keyboard: true,\n prefixCls: prefixCls,\n onClose: onClose,\n afterClose: onAfterClose,\n visible: visible,\n wrapClassName: wrapClassName,\n rootClassName: rootClassName,\n getContainer: getContainer\n }, restProps), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-img-wrapper\"),\n style: {\n transform: \"translate3d(\".concat(position.x, \"px, \").concat(position.y, \"px, 0)\")\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n width: props.width,\n height: props.height,\n onMouseDown: onMouseDown,\n onDoubleClick: onDoubleClick,\n ref: imgRef,\n className: \"\".concat(prefixCls, \"-img\"),\n src: combinationSrc,\n alt: alt,\n style: {\n transform: \"scale3d(\".concat(scale, \", \").concat(scale, \", 1) rotate(\").concat(rotate, \"deg)\")\n }\n }))), /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n motionName: maskTransitionName\n }, function (_ref2) {\n var className = _ref2.className,\n style = _ref2.style;\n return /*#__PURE__*/React.createElement(Portal, {\n open: true,\n getContainer: getContainer !== null && getContainer !== void 0 ? getContainer : document.body\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-operations-wrapper\"), className, rootClassName),\n style: style\n }, operations));\n }));\n};\n\nexport default Preview;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"src\", \"alt\", \"onPreviewClose\", \"prefixCls\", \"previewPrefixCls\", \"placeholder\", \"fallback\", \"width\", \"height\", \"style\", \"preview\", \"className\", \"onClick\", \"onError\", \"wrapperClassName\", \"wrapperStyle\", \"rootClassName\", \"crossOrigin\", \"decoding\", \"loading\", \"referrerPolicy\", \"sizes\", \"srcSet\", \"useMap\", \"draggable\"],\n _excluded2 = [\"src\", \"visible\", \"onVisibleChange\", \"getContainer\", \"mask\", \"maskClassName\", \"icons\", \"scaleStep\"];\nimport * as React from 'react';\nimport { useState } from 'react';\nimport cn from 'classnames';\nimport { getOffset } from \"rc-util/es/Dom/css\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from \"./Preview\";\nimport PreviewGroup, { context } from \"./PreviewGroup\";\nvar uuid = 0;\n\nvar ImageInternal = function ImageInternal(_ref) {\n var _imgCommonProps$style;\n\n var imgSrc = _ref.src,\n alt = _ref.alt,\n onInitialPreviewClose = _ref.onPreviewClose,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-image' : _ref$prefixCls,\n _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? \"\".concat(prefixCls, \"-preview\") : _ref$previewPrefixCls,\n placeholder = _ref.placeholder,\n fallback = _ref.fallback,\n width = _ref.width,\n height = _ref.height,\n style = _ref.style,\n _ref$preview = _ref.preview,\n preview = _ref$preview === void 0 ? true : _ref$preview,\n className = _ref.className,\n onClick = _ref.onClick,\n onImageError = _ref.onError,\n wrapperClassName = _ref.wrapperClassName,\n wrapperStyle = _ref.wrapperStyle,\n rootClassName = _ref.rootClassName,\n crossOrigin = _ref.crossOrigin,\n decoding = _ref.decoding,\n loading = _ref.loading,\n referrerPolicy = _ref.referrerPolicy,\n sizes = _ref.sizes,\n srcSet = _ref.srcSet,\n useMap = _ref.useMap,\n draggable = _ref.draggable,\n otherProps = _objectWithoutProperties(_ref, _excluded);\n\n var isCustomPlaceholder = placeholder && placeholder !== true;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n previewSrc = _ref2.src,\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? onInitialPreviewClose : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getPreviewContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n previewMask = _ref2.mask,\n maskClassName = _ref2.maskClassName,\n icons = _ref2.icons,\n scaleStep = _ref2.scaleStep,\n dialogProps = _objectWithoutProperties(_ref2, _excluded2);\n\n var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc;\n var isControlled = previewVisible !== undefined;\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState = useState(isCustomPlaceholder ? 'loading' : 'normal'),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setStatus = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n mousePosition = _useState4[0],\n setMousePosition = _useState4[1];\n\n var isError = status === 'error';\n\n var _React$useContext = React.useContext(context),\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent,\n setGroupShowPreview = _React$useContext.setShowPreview,\n setGroupMousePosition = _React$useContext.setMousePosition,\n registerImage = _React$useContext.registerImage;\n\n var _React$useState = React.useState(function () {\n uuid += 1;\n return uuid;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n currentId = _React$useState2[0];\n\n var canPreview = !!preview;\n var isLoaded = React.useRef(false);\n\n var onLoad = function onLoad() {\n setStatus('normal');\n };\n\n var onError = function onError(e) {\n if (onImageError) {\n onImageError(e);\n }\n\n setStatus('error');\n };\n\n var onPreview = function onPreview(e) {\n if (!isControlled) {\n var _getOffset = getOffset(e.target),\n left = _getOffset.left,\n top = _getOffset.top;\n\n if (isPreviewGroup) {\n setCurrent(currentId);\n setGroupMousePosition({\n x: left,\n y: top\n });\n } else {\n setMousePosition({\n x: left,\n y: top\n });\n }\n }\n\n if (isPreviewGroup) {\n setGroupShowPreview(true);\n } else {\n setShowPreview(true);\n }\n\n if (onClick) onClick(e);\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n\n if (!isControlled) {\n setMousePosition(null);\n }\n };\n\n var getImgRef = function getImgRef(img) {\n isLoaded.current = false;\n if (status !== 'loading') return;\n\n if (img !== null && img !== void 0 && img.complete && (img.naturalWidth || img.naturalHeight)) {\n isLoaded.current = true;\n onLoad();\n }\n }; // Keep order start\n // Resolve https://github.com/ant-design/ant-design/issues/28881\n // Only need unRegister when component unMount\n\n\n React.useEffect(function () {\n var unRegister = registerImage(currentId, src);\n return unRegister;\n }, []);\n React.useEffect(function () {\n registerImage(currentId, src, canPreview);\n }, [src, canPreview]); // Keep order end\n\n React.useEffect(function () {\n if (isError) {\n setStatus('normal');\n }\n\n if (isCustomPlaceholder && !isLoaded.current) {\n setStatus('loading');\n }\n }, [imgSrc]);\n var wrapperClass = cn(prefixCls, wrapperClassName, rootClassName, _defineProperty({}, \"\".concat(prefixCls, \"-error\"), isError));\n var mergedSrc = isError && fallback ? fallback : src;\n var imgCommonProps = {\n crossOrigin: crossOrigin,\n decoding: decoding,\n draggable: draggable,\n loading: loading,\n referrerPolicy: referrerPolicy,\n sizes: sizes,\n srcSet: srcSet,\n useMap: useMap,\n alt: alt,\n className: cn(\"\".concat(prefixCls, \"-img\"), _defineProperty({}, \"\".concat(prefixCls, \"-img-placeholder\"), placeholder === true), className),\n style: _objectSpread({\n height: height\n }, style)\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: wrapperClass,\n onClick: canPreview ? onPreview : onClick,\n style: _objectSpread({\n width: width,\n height: height\n }, wrapperStyle)\n }), /*#__PURE__*/React.createElement(\"img\", _extends({}, imgCommonProps, {\n ref: getImgRef\n }, isError && fallback ? {\n src: fallback\n } : {\n onLoad: onLoad,\n onError: onError,\n src: imgSrc\n }, {\n width: width,\n height: height\n })), status === 'loading' && /*#__PURE__*/React.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: \"\".concat(prefixCls, \"-placeholder\")\n }, placeholder), previewMask && canPreview && /*#__PURE__*/React.createElement(\"div\", {\n className: cn(\"\".concat(prefixCls, \"-mask\"), maskClassName),\n style: {\n display: ((_imgCommonProps$style = imgCommonProps.style) === null || _imgCommonProps$style === void 0 ? void 0 : _imgCommonProps$style.display) === 'none' ? 'none' : undefined\n }\n }, previewMask)), !isPreviewGroup && canPreview && /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: mergedSrc,\n alt: alt,\n getContainer: getPreviewContainer,\n icons: icons,\n scaleStep: scaleStep,\n rootClassName: rootClassName\n }, dialogProps)));\n};\n\nImageInternal.PreviewGroup = PreviewGroup;\nImageInternal.displayName = 'Image';\nexport default ImageInternal;","import Image from \"./Image\";\nexport * from \"./Image\";\nexport default Image;","// This icon file is generated automatically.\nvar RotateLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z\" } }] }, \"name\": \"rotate-left\", \"theme\": \"outlined\" };\nexport default RotateLeftOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar RotateLeftOutlined = function RotateLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: RotateLeftOutlinedSvg\n }));\n};\nRotateLeftOutlined.displayName = 'RotateLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateLeftOutlined);","// This icon file is generated automatically.\nvar RotateRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z\" } }] }, \"name\": \"rotate-right\", \"theme\": \"outlined\" };\nexport default RotateRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar RotateRightOutlined = function RotateRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: RotateRightOutlinedSvg\n }));\n};\nRotateRightOutlined.displayName = 'RotateRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateRightOutlined);","// This icon file is generated automatically.\nvar ZoomInOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-in\", \"theme\": \"outlined\" };\nexport default ZoomInOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomInOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomInOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ZoomInOutlined = function ZoomInOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ZoomInOutlinedSvg\n }));\n};\nZoomInOutlined.displayName = 'ZoomInOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomInOutlined);","// This icon file is generated automatically.\nvar ZoomOutOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-out\", \"theme\": \"outlined\" };\nexport default ZoomOutOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomOutOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomOutOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ZoomOutOutlined = function ZoomOutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ZoomOutOutlinedSvg\n }));\n};\nZoomOutOutlined.displayName = 'ZoomOutOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomOutOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport RotateLeftOutlined from \"@ant-design/icons/es/icons/RotateLeftOutlined\";\nimport RotateRightOutlined from \"@ant-design/icons/es/icons/RotateRightOutlined\";\nimport ZoomInOutlined from \"@ant-design/icons/es/icons/ZoomInOutlined\";\nimport ZoomOutOutlined from \"@ant-design/icons/es/icons/ZoomOutOutlined\";\nimport RcImage from 'rc-image';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nexport var icons = {\n rotateLeft: /*#__PURE__*/React.createElement(RotateLeftOutlined, null),\n rotateRight: /*#__PURE__*/React.createElement(RotateRightOutlined, null),\n zoomIn: /*#__PURE__*/React.createElement(ZoomInOutlined, null),\n zoomOut: /*#__PURE__*/React.createElement(ZoomOutOutlined, null),\n close: /*#__PURE__*/React.createElement(CloseOutlined, null),\n left: /*#__PURE__*/React.createElement(LeftOutlined, null),\n right: /*#__PURE__*/React.createElement(RightOutlined, null)\n};\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n var customizePrefixCls = _a.previewPrefixCls,\n preview = _a.preview,\n props = __rest(_a, [\"previewPrefixCls\", \"preview\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n var _preview = _typeof(preview) === 'object' ? preview : {};\n return _extends(_extends({}, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview]);\n return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n preview: mergedPreview,\n previewPrefixCls: prefixCls,\n icons: icons\n }, props));\n};\nexport default InternalPreviewGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport RcImage from 'rc-image';\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultLocale from '../locale/en_US';\nimport { getTransitionName } from '../_util/motion';\nimport PreviewGroup, { icons } from './PreviewGroup';\nvar Image = function Image(_a) {\n var customizePrefixCls = _a.prefixCls,\n preview = _a.preview,\n otherProps = __rest(_a, [\"prefixCls\", \"preview\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n _useContext$locale = _useContext.locale,\n contextLocale = _useContext$locale === void 0 ? defaultLocale : _useContext$locale,\n getContextPopupContainer = _useContext.getPopupContainer;\n var prefixCls = getPrefixCls('image', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var imageLocale = contextLocale.Image || defaultLocale.Image;\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n var _preview = _typeof(preview) === 'object' ? preview : {};\n var getContainer = _preview.getContainer,\n restPreviewProps = __rest(_preview, [\"getContainer\"]);\n return _extends(_extends({\n mask: /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-mask-info\")\n }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n icons: icons\n }, restPreviewProps), {\n getContainer: getContainer || getContextPopupContainer,\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview, imageLocale]);\n return /*#__PURE__*/React.createElement(RcImage, _extends({\n prefixCls: prefixCls,\n preview: mergedPreview\n }, otherProps));\n};\nImage.PreviewGroup = PreviewGroup;\nexport default Image;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport React, { Children, forwardRef, useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { Col } from '../grid';\nimport { cloneElement } from '../_util/reactNode';\nimport { ListContext } from './index';\nexport var Meta = function Meta(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n avatar = _a.avatar,\n title = _a.title,\n description = _a.description,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls;\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-item-meta\"), className);\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-content\")\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"\".concat(prefixCls, \"-item-meta-title\")\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-description\")\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-avatar\")\n }, avatar), (title || description) && content);\n};\nvar InternalItem = function InternalItem(_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n children = _a.children,\n actions = _a.actions,\n extra = _a.extra,\n className = _a.className,\n colStyle = _a.colStyle,\n others = __rest(_a, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"className\", \"colStyle\"]);\n var _useContext2 = useContext(ListContext),\n grid = _useContext2.grid,\n itemLayout = _useContext2.itemLayout;\n var _useContext3 = useContext(ConfigContext),\n getPrefixCls = _useContext3.getPrefixCls;\n var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {\n var result;\n Children.forEach(children, function (element) {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && Children.count(children) > 1;\n };\n var isFlexMode = function isFlexMode() {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n return !isItemContainsTextNodeAndNotSingular();\n };\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var actionsContent = actions && actions.length > 0 && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-item-action\"),\n key: \"actions\"\n }, actions.map(function (action, i) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: \"\".concat(prefixCls, \"-item-action-\").concat(i)\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: \"\".concat(prefixCls, \"-item-action-split\")\n }))\n );\n }));\n var Element = grid ? 'div' : 'li';\n var itemChildren = /*#__PURE__*/React.createElement(Element, _extends({}, others, !grid ? {\n ref: ref\n } : {}, {\n className: classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-no-flex\"), !isFlexMode()), className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-main\"),\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-extra\"),\n key: \"extra\"\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? /*#__PURE__*/React.createElement(Col, {\n ref: ref,\n flex: 1,\n style: colStyle\n }, itemChildren) : itemChildren;\n};\nvar Item = /*#__PURE__*/forwardRef(InternalItem);\nItem.Meta = Meta;\nexport default Item;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { Row } from '../grid';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport Item from './Item';\nexport var ListContext = /*#__PURE__*/React.createContext({});\nexport var ListConsumer = ListContext.Consumer;\nfunction List(_a) {\n var _classNames;\n var _a$pagination = _a.pagination,\n pagination = _a$pagination === void 0 ? false : _a$pagination,\n customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? false : _a$bordered,\n _a$split = _a.split,\n split = _a$split === void 0 ? true : _a$split,\n className = _a.className,\n children = _a.children,\n itemLayout = _a.itemLayout,\n loadMore = _a.loadMore,\n grid = _a.grid,\n _a$dataSource = _a.dataSource,\n dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,\n size = _a.size,\n header = _a.header,\n footer = _a.footer,\n _a$loading = _a.loading,\n loading = _a$loading === void 0 ? false : _a$loading,\n rowKey = _a.rowKey,\n renderItem = _a.renderItem,\n locale = _a.locale,\n rest = __rest(_a, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};\n var _React$useState = React.useState(paginationObj.defaultCurrent || 1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n paginationCurrent = _React$useState2[0],\n setPaginationCurrent = _React$useState2[1];\n var _React$useState3 = React.useState(paginationObj.defaultPageSize || 10),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n paginationSize = _React$useState4[0],\n setPaginationSize = _React$useState4[1];\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n var defaultPaginationProps = {\n current: 1,\n total: 0\n };\n var triggerPaginationEvent = function triggerPaginationEvent(eventName) {\n return function (page, pageSize) {\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n if (pagination && pagination[eventName]) {\n pagination[eventName](page, pageSize);\n }\n };\n };\n var onPaginationChange = triggerPaginationEvent('onChange');\n var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n var renderInnerItem = function renderInnerItem(item, index) {\n if (!renderItem) return null;\n var key;\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (rowKey) {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n if (!key) {\n key = \"list-item-\".concat(index);\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: key\n }, renderItem(item, index));\n };\n var isSomethingAfterLastItem = function isSomethingAfterLastItem() {\n return !!(loadMore || pagination || footer);\n };\n var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-empty-text\")\n }, locale && locale.emptyText || renderEmptyHandler('List'));\n };\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var loadingProp = loading;\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n var isLoading = loadingProp && loadingProp.spinning;\n // large => lg\n // small => sm\n var sizeCls = '';\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n case 'small':\n sizeCls = 'sm';\n break;\n default:\n break;\n }\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), itemLayout === 'vertical'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-split\"), split), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), isLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-grid\"), !!grid), _defineProperty(_classNames, \"\".concat(prefixCls, \"-something-after-last-item\"), isSomethingAfterLastItem()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var paginationProps = _extends(_extends(_extends({}, defaultPaginationProps), {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }), pagination || {});\n var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n if (paginationProps.current > largestPage) {\n paginationProps.current = largestPage;\n }\n var paginationContent = pagination ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-pagination\")\n }, /*#__PURE__*/React.createElement(Pagination, _extends({}, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))) : null;\n var splitDataSource = _toConsumableArray(dataSource);\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n var needResponsive = Object.keys(grid || {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var currentBreakpoint = React.useMemo(function () {\n for (var i = 0; i < responsiveArray.length; i += 1) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n return undefined;\n }, [screens]);\n var colStyle = React.useMemo(function () {\n if (!grid) {\n return undefined;\n }\n var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n if (columnCount) {\n return {\n width: \"\".concat(100 / columnCount, \"%\"),\n maxWidth: \"\".concat(100 / columnCount, \"%\")\n };\n }\n }, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);\n var childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n if (splitDataSource.length > 0) {\n var items = splitDataSource.map(function (item, index) {\n return renderInnerItem(item, index);\n });\n childrenContent = grid ? /*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, React.Children.map(items, function (child) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: child === null || child === void 0 ? void 0 : child.key,\n style: colStyle\n }, child);\n })) : /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-items\")\n }, items);\n } else if (!children && !isLoading) {\n childrenContent = renderEmptyFunc(prefixCls, renderEmpty || defaultRenderEmpty);\n }\n var paginationPosition = paginationProps.position || 'bottom';\n var contextValue = React.useMemo(function () {\n return {\n grid: grid,\n itemLayout: itemLayout\n };\n }, [JSON.stringify(grid), itemLayout]);\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, header), /*#__PURE__*/React.createElement(Spin, _extends({}, loadingProp), childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));\n}\nList.Item = Item;\nexport default List;","/* tslint:disable: no-object-literal-type-assertion */\nimport * as React from 'react'; // We will never use default, here only to fix TypeScript warning\n\nvar MentionsContext = /*#__PURE__*/React.createContext(null);\nexport default MentionsContext;","import Menu, { MenuItem } from 'rc-menu';\nimport * as React from 'react';\nimport MentionsContext from './MentionsContext';\n/**\n * We only use Menu to display the candidate.\n * The focus is controlled by textarea to make accessibility easy.\n */\n\nfunction DropdownMenu(props) {\n var _React$useContext = React.useContext(MentionsContext),\n notFoundContent = _React$useContext.notFoundContent,\n activeIndex = _React$useContext.activeIndex,\n setActiveIndex = _React$useContext.setActiveIndex,\n selectOption = _React$useContext.selectOption,\n onFocus = _React$useContext.onFocus,\n onBlur = _React$useContext.onBlur;\n\n var prefixCls = props.prefixCls,\n options = props.options;\n var activeOption = options[activeIndex] || {};\n return /*#__PURE__*/React.createElement(Menu, {\n prefixCls: \"\".concat(prefixCls, \"-menu\"),\n activeKey: activeOption.key,\n onSelect: function onSelect(_ref) {\n var key = _ref.key;\n var option = options.find(function (_ref2) {\n var optionKey = _ref2.key;\n return optionKey === key;\n });\n selectOption(option);\n },\n onFocus: onFocus,\n onBlur: onBlur\n }, options.map(function (option, index) {\n var key = option.key,\n disabled = option.disabled,\n children = option.children,\n className = option.className,\n style = option.style;\n return /*#__PURE__*/React.createElement(MenuItem, {\n key: key,\n disabled: disabled,\n className: className,\n style: style,\n onMouseEnter: function onMouseEnter() {\n setActiveIndex(index);\n }\n }, children);\n }), !options.length && /*#__PURE__*/React.createElement(MenuItem, {\n disabled: true\n }, notFoundContent));\n}\n\nexport default DropdownMenu;","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport Trigger from 'rc-trigger';\nimport * as React from 'react';\nimport DropdownMenu from './DropdownMenu';\nvar BUILT_IN_PLACEMENTS = {\n bottomRight: {\n points: ['tl', 'br'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n bottomLeft: {\n points: ['tr', 'bl'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topRight: {\n points: ['bl', 'tr'],\n offset: [0, -4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topLeft: {\n points: ['br', 'tl'],\n offset: [0, -4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n }\n};\n\nvar KeywordTrigger = /*#__PURE__*/function (_React$Component) {\n _inherits(KeywordTrigger, _React$Component);\n\n var _super = _createSuper(KeywordTrigger);\n\n function KeywordTrigger() {\n var _this;\n\n _classCallCheck(this, KeywordTrigger);\n\n _this = _super.apply(this, arguments);\n\n _this.getDropdownPrefix = function () {\n return \"\".concat(_this.props.prefixCls, \"-dropdown\");\n };\n\n _this.getDropdownElement = function () {\n var options = _this.props.options;\n return /*#__PURE__*/React.createElement(DropdownMenu, {\n prefixCls: _this.getDropdownPrefix(),\n options: options\n });\n };\n\n _this.getDropDownPlacement = function () {\n var _this$props = _this.props,\n placement = _this$props.placement,\n direction = _this$props.direction;\n var popupPlacement = 'topRight';\n\n if (direction === 'rtl') {\n popupPlacement = placement === 'top' ? 'topLeft' : 'bottomLeft';\n } else {\n popupPlacement = placement === 'top' ? 'topRight' : 'bottomRight';\n }\n\n return popupPlacement;\n };\n\n return _this;\n }\n\n _createClass(KeywordTrigger, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n children = _this$props2.children,\n visible = _this$props2.visible,\n transitionName = _this$props2.transitionName,\n getPopupContainer = _this$props2.getPopupContainer;\n var popupElement = this.getDropdownElement();\n return /*#__PURE__*/React.createElement(Trigger, {\n prefixCls: this.getDropdownPrefix(),\n popupVisible: visible,\n popup: popupElement,\n popupPlacement: this.getDropDownPlacement(),\n popupTransitionName: transitionName,\n builtinPlacements: BUILT_IN_PLACEMENTS,\n getPopupContainer: getPopupContainer,\n popupClassName: this.props.dropdownClassName\n }, children);\n }\n }]);\n\n return KeywordTrigger;\n}(React.Component);\n\nexport default KeywordTrigger;","var Option = function Option() {\n return null;\n};\n\nexport default Option;","/**\n * Cut input selection into 2 part and return text before selection start\n */\nexport function getBeforeSelectionText(input) {\n var selectionStart = input.selectionStart;\n return input.value.slice(0, selectionStart);\n}\n/**\n * Find the last match prefix index\n */\n\nexport function getLastMeasureIndex(text, prefix) {\n return prefix.reduce(function (lastMatch, prefixStr) {\n var lastIndex = text.lastIndexOf(prefixStr);\n\n if (lastIndex > lastMatch.location) {\n return {\n location: lastIndex,\n prefix: prefixStr\n };\n }\n\n return lastMatch;\n }, {\n location: -1,\n prefix: ''\n });\n}\n\nfunction lower(char) {\n return (char || '').toLowerCase();\n}\n\nfunction reduceText(text, targetText, split) {\n var firstChar = text[0];\n\n if (!firstChar || firstChar === split) {\n return text;\n } // Reuse rest text as it can\n\n\n var restText = text;\n var targetTextLen = targetText.length;\n\n for (var i = 0; i < targetTextLen; i += 1) {\n if (lower(restText[i]) !== lower(targetText[i])) {\n restText = restText.slice(i);\n break;\n } else if (i === targetTextLen - 1) {\n restText = restText.slice(targetTextLen);\n }\n }\n\n return restText;\n}\n/**\n * Paint targetText into current text:\n * text: little@litest\n * targetText: light\n * => little @light test\n */\n\n\nexport function replaceWithMeasure(text, measureConfig) {\n var measureLocation = measureConfig.measureLocation,\n prefix = measureConfig.prefix,\n targetText = measureConfig.targetText,\n selectionStart = measureConfig.selectionStart,\n split = measureConfig.split; // Before text will append one space if have other text\n\n var beforeMeasureText = text.slice(0, measureLocation);\n\n if (beforeMeasureText[beforeMeasureText.length - split.length] === split) {\n beforeMeasureText = beforeMeasureText.slice(0, beforeMeasureText.length - split.length);\n }\n\n if (beforeMeasureText) {\n beforeMeasureText = \"\".concat(beforeMeasureText).concat(split);\n } // Cut duplicate string with current targetText\n\n\n var restText = reduceText(text.slice(selectionStart), targetText.slice(selectionStart - measureLocation - prefix.length), split);\n\n if (restText.slice(0, split.length) === split) {\n restText = restText.slice(split.length);\n }\n\n var connectedStartText = \"\".concat(beforeMeasureText).concat(prefix).concat(targetText).concat(split);\n return {\n text: \"\".concat(connectedStartText).concat(restText),\n selectionLocation: connectedStartText.length\n };\n}\nexport function setInputSelection(input, location) {\n input.setSelectionRange(location, location);\n /**\n * Reset caret into view.\n * Since this function always called by user control, it's safe to focus element.\n */\n\n input.blur();\n input.focus();\n}\nexport function validateSearch(text, props) {\n var split = props.split;\n return !split || text.indexOf(split) === -1;\n}\nexport function filterOption(input, _ref) {\n var _ref$value = _ref.value,\n value = _ref$value === void 0 ? '' : _ref$value;\n var lowerCase = input.toLowerCase();\n return value.toLowerCase().indexOf(lowerCase) !== -1;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useState, useCallback, useEffect } from 'react';\n/**\n * Trigger a callback on state change\n */\n\nexport default function useEffectState() {\n var _useState = useState({\n id: 0,\n callback: null\n }),\n _useState2 = _slicedToArray(_useState, 2),\n effectId = _useState2[0],\n setEffectId = _useState2[1];\n\n var update = useCallback(function (callback) {\n setEffectId(function (_ref) {\n var id = _ref.id;\n return {\n id: id + 1,\n callback: callback\n };\n });\n }, []);\n useEffect(function () {\n var _effectId$callback;\n\n (_effectId$callback = effectId.callback) === null || _effectId$callback === void 0 ? void 0 : _effectId$callback.call(effectId);\n }, [effectId]);\n return update;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport toArray from \"rc-util/es/Children/toArray\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport warning from \"rc-util/es/warning\";\nimport React, { useState, useRef, useEffect } from 'react';\nimport TextArea from 'rc-textarea';\nimport KeywordTrigger from './KeywordTrigger';\nimport MentionsContext from './MentionsContext';\nimport Option from './Option';\nimport { filterOption as defaultFilterOption, getBeforeSelectionText, getLastMeasureIndex, replaceWithMeasure, setInputSelection, validateSearch as defaultValidateSearch } from './util';\nimport useEffectState from './hooks/useEffectState';\nvar Mentions = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n prefix = props.prefix,\n split = props.split,\n notFoundContent = props.notFoundContent,\n value = props.value,\n defaultValue = props.defaultValue,\n children = props.children,\n open = props.open,\n validateSearch = props.validateSearch,\n filterOption = props.filterOption,\n onChange = props.onChange,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n onPressEnter = props.onPressEnter,\n onSearch = props.onSearch,\n onSelect = props.onSelect,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n transitionName = props.transitionName,\n placement = props.placement,\n direction = props.direction,\n getPopupContainer = props.getPopupContainer,\n dropdownClassName = props.dropdownClassName,\n restProps = _objectWithoutProperties(props, [\"prefixCls\", \"className\", \"style\", \"prefix\", \"split\", \"notFoundContent\", \"value\", \"defaultValue\", \"children\", \"open\", \"validateSearch\", \"filterOption\", \"onChange\", \"onKeyDown\", \"onKeyUp\", \"onPressEnter\", \"onSearch\", \"onSelect\", \"onFocus\", \"onBlur\", \"transitionName\", \"placement\", \"direction\", \"getPopupContainer\", \"dropdownClassName\"]);\n\n var mergedPrefix = Array.isArray(prefix) ? prefix : [prefix];\n\n var mergedProps = _objectSpread(_objectSpread({}, props), {}, {\n prefix: mergedPrefix\n }); // =============================== Refs ===============================\n\n\n var textareaRef = useRef(null);\n var measureRef = useRef(null);\n\n var getTextArea = function getTextArea() {\n var _textareaRef$current, _textareaRef$current$;\n\n return (_textareaRef$current = textareaRef.current) === null || _textareaRef$current === void 0 ? void 0 : (_textareaRef$current$ = _textareaRef$current.resizableTextArea) === null || _textareaRef$current$ === void 0 ? void 0 : _textareaRef$current$.textArea;\n };\n\n React.useImperativeHandle(ref, function () {\n var _textareaRef$current4, _textareaRef$current5;\n\n return {\n focus: function focus() {\n var _textareaRef$current2;\n\n return (_textareaRef$current2 = textareaRef.current) === null || _textareaRef$current2 === void 0 ? void 0 : _textareaRef$current2.focus();\n },\n blur: function blur() {\n var _textareaRef$current3;\n\n return (_textareaRef$current3 = textareaRef.current) === null || _textareaRef$current3 === void 0 ? void 0 : _textareaRef$current3.blur();\n },\n textarea: (_textareaRef$current4 = textareaRef.current) === null || _textareaRef$current4 === void 0 ? void 0 : (_textareaRef$current5 = _textareaRef$current4.resizableTextArea) === null || _textareaRef$current5 === void 0 ? void 0 : _textareaRef$current5.textArea\n };\n }); // ============================== State ===============================\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n measuring = _useState2[0],\n setMeasuring = _useState2[1];\n\n var _useState3 = useState(''),\n _useState4 = _slicedToArray(_useState3, 2),\n measureText = _useState4[0],\n setMeasureText = _useState4[1];\n\n var _useState5 = useState(''),\n _useState6 = _slicedToArray(_useState5, 2),\n measurePrefix = _useState6[0],\n setMeasurePrefix = _useState6[1];\n\n var _useState7 = useState(0),\n _useState8 = _slicedToArray(_useState7, 2),\n measureLocation = _useState8[0],\n setMeasureLocation = _useState8[1];\n\n var _useState9 = useState(0),\n _useState10 = _slicedToArray(_useState9, 2),\n activeIndex = _useState10[0],\n setActiveIndex = _useState10[1];\n\n var _useState11 = useState(false),\n _useState12 = _slicedToArray(_useState11, 2),\n isFocus = _useState12[0],\n setIsFocus = _useState12[1]; // ============================== Value ===============================\n\n\n var _useMergedState = useMergedState('', {\n defaultValue: defaultValue,\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1]; // =============================== Open ===============================\n\n\n useEffect(function () {\n // Sync measure div top with textarea for rc-trigger usage\n if (measuring && measureRef.current) {\n measureRef.current.scrollTop = getTextArea().scrollTop;\n }\n }, [measuring]);\n\n var _React$useMemo = React.useMemo(function () {\n if (open) {\n if (process.env.NODE_ENV !== 'production') {\n warning(false, '`open` of Mentions is only used for debug usage. Do not use in you production.');\n }\n\n for (var i = 0; i < mergedPrefix.length; i += 1) {\n var curPrefix = mergedPrefix[i];\n var index = mergedValue.lastIndexOf(curPrefix);\n\n if (index >= 0) {\n return [true, '', curPrefix, index];\n }\n }\n }\n\n return [measuring, measureText, measurePrefix, measureLocation];\n }, [open, measuring, mergedPrefix, mergedValue, measureText, measurePrefix, measureLocation]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 4),\n mergedMeasuring = _React$useMemo2[0],\n mergedMeasureText = _React$useMemo2[1],\n mergedMeasurePrefix = _React$useMemo2[2],\n mergedMeasureLocation = _React$useMemo2[3]; // ============================== Option ==============================\n\n\n var getOptions = React.useCallback(function (targetMeasureText) {\n var list = toArray(children).map(function (_ref) {\n var optionProps = _ref.props,\n key = _ref.key;\n return _objectSpread(_objectSpread({}, optionProps), {}, {\n key: key || optionProps.value\n });\n }).filter(function (option) {\n /** Return all result if `filterOption` is false. */\n if (filterOption === false) {\n return true;\n }\n\n return filterOption(targetMeasureText, option);\n });\n return list;\n }, [children, filterOption]);\n var options = React.useMemo(function () {\n return getOptions(mergedMeasureText);\n }, [getOptions, mergedMeasureText]); // ============================= Measure ==============================\n // Mark that we will reset input selection to target position when user select option\n\n var onSelectionEffect = useEffectState();\n\n var startMeasure = function startMeasure(nextMeasureText, nextMeasurePrefix, nextMeasureLocation) {\n setMeasuring(true);\n setMeasureText(nextMeasureText);\n setMeasurePrefix(nextMeasurePrefix);\n setMeasureLocation(nextMeasureLocation);\n setActiveIndex(0);\n };\n\n var stopMeasure = function stopMeasure(callback) {\n setMeasuring(false);\n setMeasureLocation(0);\n setMeasureText('');\n onSelectionEffect(callback);\n }; // ============================== Change ==============================\n\n\n var triggerChange = function triggerChange(nextValue) {\n setMergedValue(nextValue);\n onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);\n };\n\n var onInternalChange = function onInternalChange(_ref2) {\n var nextValue = _ref2.target.value;\n triggerChange(nextValue);\n };\n\n var selectOption = function selectOption(option) {\n var _getTextArea;\n\n var _option$value = option.value,\n mentionValue = _option$value === void 0 ? '' : _option$value;\n\n var _replaceWithMeasure = replaceWithMeasure(mergedValue, {\n measureLocation: mergedMeasureLocation,\n targetText: mentionValue,\n prefix: mergedMeasurePrefix,\n selectionStart: (_getTextArea = getTextArea()) === null || _getTextArea === void 0 ? void 0 : _getTextArea.selectionStart,\n split: split\n }),\n text = _replaceWithMeasure.text,\n selectionLocation = _replaceWithMeasure.selectionLocation;\n\n triggerChange(text);\n stopMeasure(function () {\n // We need restore the selection position\n setInputSelection(getTextArea(), selectionLocation);\n });\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(option, mergedMeasurePrefix);\n }; // ============================= KeyEvent =============================\n // Check if hit the measure keyword\n\n\n var onInternalKeyDown = function onInternalKeyDown(event) {\n var which = event.which;\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); // Skip if not measuring\n\n if (!mergedMeasuring) {\n return;\n }\n\n if (which === KeyCode.UP || which === KeyCode.DOWN) {\n // Control arrow function\n var optionLen = options.length;\n var offset = which === KeyCode.UP ? -1 : 1;\n var newActiveIndex = (activeIndex + offset + optionLen) % optionLen;\n setActiveIndex(newActiveIndex);\n event.preventDefault();\n } else if (which === KeyCode.ESC) {\n stopMeasure();\n } else if (which === KeyCode.ENTER) {\n // Measure hit\n event.preventDefault();\n\n if (!options.length) {\n stopMeasure();\n return;\n }\n\n var option = options[activeIndex];\n selectOption(option);\n }\n };\n /**\n * When to start measure:\n * 1. When user press `prefix`\n * 2. When measureText !== prevMeasureText\n * - If measure hit\n * - If measuring\n *\n * When to stop measure:\n * 1. Selection is out of range\n * 2. Contains `space`\n * 3. ESC or select one\n */\n\n\n var onInternalKeyUp = function onInternalKeyUp(event) {\n var key = event.key,\n which = event.which;\n var target = event.target;\n var selectionStartText = getBeforeSelectionText(target);\n\n var _getLastMeasureIndex = getLastMeasureIndex(selectionStartText, mergedPrefix),\n measureIndex = _getLastMeasureIndex.location,\n nextMeasurePrefix = _getLastMeasureIndex.prefix; // If the client implements an onKeyUp handler, call it\n\n\n onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(event); // Skip if match the white key list\n\n if ([KeyCode.ESC, KeyCode.UP, KeyCode.DOWN, KeyCode.ENTER].indexOf(which) !== -1) {\n return;\n }\n\n if (measureIndex !== -1) {\n var nextMeasureText = selectionStartText.slice(measureIndex + nextMeasurePrefix.length);\n var validateMeasure = validateSearch(nextMeasureText, mergedProps);\n var matchOption = !!getOptions(nextMeasureText).length;\n\n if (validateMeasure) {\n if (key === nextMeasurePrefix || key === 'Shift' || mergedMeasuring || nextMeasureText !== mergedMeasureText && matchOption) {\n startMeasure(nextMeasureText, nextMeasurePrefix, measureIndex);\n }\n } else if (mergedMeasuring) {\n // Stop if measureText is invalidate\n stopMeasure();\n }\n /**\n * We will trigger `onSearch` to developer since they may use for async update.\n * If met `space` means user finished searching.\n */\n\n\n if (onSearch && validateMeasure) {\n onSearch(nextMeasureText, nextMeasurePrefix);\n }\n } else if (mergedMeasuring) {\n stopMeasure();\n }\n };\n\n var onInternalPressEnter = function onInternalPressEnter(event) {\n if (!mergedMeasuring && onPressEnter) {\n onPressEnter(event);\n }\n }; // ============================ Focus Blur ============================\n\n\n var focusRef = useRef();\n\n var onInternalFocus = function onInternalFocus(event) {\n window.clearTimeout(focusRef.current);\n\n if (!isFocus && event && onFocus) {\n onFocus(event);\n }\n\n setIsFocus(true);\n };\n\n var onInternalBlur = function onInternalBlur(event) {\n focusRef.current = window.setTimeout(function () {\n setIsFocus(false);\n stopMeasure();\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);\n }, 0);\n };\n\n var onDropdownFocus = function onDropdownFocus() {\n onInternalFocus();\n };\n\n var onDropdownBlur = function onDropdownBlur() {\n onInternalBlur();\n }; // ============================== Render ==============================\n\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, className),\n style: style\n }, /*#__PURE__*/React.createElement(TextArea, _extends({\n ref: textareaRef,\n value: mergedValue\n }, restProps, {\n onChange: onInternalChange,\n onKeyDown: onInternalKeyDown,\n onKeyUp: onInternalKeyUp,\n onPressEnter: onInternalPressEnter,\n onFocus: onInternalFocus,\n onBlur: onInternalBlur\n })), mergedMeasuring && /*#__PURE__*/React.createElement(\"div\", {\n ref: measureRef,\n className: \"\".concat(prefixCls, \"-measure\")\n }, mergedValue.slice(0, mergedMeasureLocation), /*#__PURE__*/React.createElement(MentionsContext.Provider, {\n value: {\n notFoundContent: notFoundContent,\n activeIndex: activeIndex,\n setActiveIndex: setActiveIndex,\n selectOption: selectOption,\n onFocus: onDropdownFocus,\n onBlur: onDropdownBlur\n }\n }, /*#__PURE__*/React.createElement(KeywordTrigger, {\n prefixCls: prefixCls,\n transitionName: transitionName,\n placement: placement,\n direction: direction,\n options: options,\n visible: true,\n getPopupContainer: getPopupContainer,\n dropdownClassName: dropdownClassName\n }, /*#__PURE__*/React.createElement(\"span\", null, mergedMeasurePrefix))), mergedValue.slice(mergedMeasureLocation + mergedMeasurePrefix.length)));\n});\nMentions.defaultProps = {\n prefixCls: 'rc-mentions',\n prefix: '@',\n split: ' ',\n validateSearch: defaultValidateSearch,\n filterOption: defaultFilterOption,\n notFoundContent: 'Not Found',\n rows: 1\n};\nMentions.Option = Option;\nexport default Mentions;","import Mentions from './Mentions';\nexport default Mentions;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport Spin from '../spin';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nvar Option = RcMentions.Option;\nexport { Option };\nfunction loadingFilterOption() {\n return true;\n}\nvar InternalMentions = function InternalMentions(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n disabled = _a.disabled,\n loading = _a.loading,\n filterOption = _a.filterOption,\n children = _a.children,\n notFoundContent = _a.notFoundContent,\n customStatus = _a.status,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"status\"]);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n var innerRef = React.useRef();\n var mergedRef = composeRef(ref, innerRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(FormItemInputContext),\n contextStatus = _React$useContext2.status,\n hasFeedback = _React$useContext2.hasFeedback,\n feedbackIcon = _React$useContext2.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var onFocus = function onFocus() {\n if (restProps.onFocus) {\n restProps.onFocus.apply(restProps, arguments);\n }\n setFocused(true);\n };\n var onBlur = function onBlur() {\n if (restProps.onBlur) {\n restProps.onBlur.apply(restProps, arguments);\n }\n setFocused(false);\n };\n var getNotFoundContent = function getNotFoundContent() {\n if (notFoundContent !== undefined) {\n return notFoundContent;\n }\n return (renderEmpty || defaultRenderEmpty)('Select');\n };\n var getOptions = function getOptions() {\n if (loading) {\n return /*#__PURE__*/React.createElement(Option, {\n value: \"ANTD_SEARCHING\",\n disabled: true\n }, /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n }));\n }\n return children;\n };\n var getFilterOption = function getFilterOption() {\n if (loading) {\n return loadingFilterOption;\n }\n return filterOption;\n };\n var prefixCls = getPrefixCls('mentions', customizePrefixCls);\n var mergedClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-focused\"), focused), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), getStatusClassNames(prefixCls, mergedStatus), !hasFeedback && className);\n var mentions = /*#__PURE__*/React.createElement(RcMentions, _extends({\n prefixCls: prefixCls,\n notFoundContent: getNotFoundContent(),\n className: mergedClassName,\n disabled: disabled,\n direction: direction\n }, restProps, {\n filterOption: getFilterOption(),\n onFocus: onFocus,\n onBlur: onBlur,\n ref: mergedRef\n }), getOptions());\n if (hasFeedback) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-affix-wrapper\"), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), mergedStatus, hasFeedback), className)\n }, mentions, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, feedbackIcon));\n }\n return mentions;\n};\nvar Mentions = /*#__PURE__*/React.forwardRef(InternalMentions);\nif (process.env.NODE_ENV !== 'production') {\n Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\nMentions.getMentions = function () {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _config$prefix = config.prefix,\n prefix = _config$prefix === void 0 ? '@' : _config$prefix,\n _config$split = config.split,\n split = _config$split === void 0 ? ' ' : _config$split;\n var prefixList = Array.isArray(prefix) ? prefix : [prefix];\n return value.split(split).map(function () {\n var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var hitPrefix = null;\n prefixList.some(function (prefixStr) {\n var startStr = str.slice(0, prefixStr.length);\n if (startStr === prefixStr) {\n hitPrefix = prefixStr;\n return true;\n }\n return false;\n });\n if (hitPrefix !== null) {\n return {\n prefix: hitPrefix,\n value: str.slice(hitPrefix.length)\n };\n }\n return null;\n }).filter(function (entity) {\n return !!entity && !!entity.value;\n });\n};\nexport default Mentions;","// This icon file is generated automatically.\nvar ArrowLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"arrow-left\", \"theme\": \"outlined\" };\nexport default ArrowLeftOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ArrowLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/ArrowLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ArrowLeftOutlinedSvg\n }));\n};\nArrowLeftOutlined.displayName = 'ArrowLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(ArrowLeftOutlined);","// This icon file is generated automatically.\nvar ArrowRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z\" } }] }, \"name\": \"arrow-right\", \"theme\": \"outlined\" };\nexport default ArrowRightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ArrowRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/ArrowRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ArrowRightOutlined = function ArrowRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ArrowRightOutlinedSvg\n }));\n};\nArrowRightOutlined.displayName = 'ArrowRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(ArrowRightOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport ArrowLeftOutlined from \"@ant-design/icons/es/icons/ArrowLeftOutlined\";\nimport ArrowRightOutlined from \"@ant-design/icons/es/icons/ArrowRightOutlined\";\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport useState from \"rc-util/es/hooks/useState\";\nimport * as React from 'react';\nimport Avatar from '../avatar';\nimport Breadcrumb from '../breadcrumb';\nimport { ConfigConsumer } from '../config-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport Space from '../space';\nimport TransButton from '../_util/transButton';\nvar renderBack = function renderBack(prefixCls, backIcon, onBack) {\n if (!backIcon || !onBack) {\n return null;\n }\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"PageHeader\"\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-back\")\n }, /*#__PURE__*/React.createElement(TransButton, {\n onClick: function onClick(e) {\n onBack === null || onBack === void 0 ? void 0 : onBack(e);\n },\n className: \"\".concat(prefixCls, \"-back-button\"),\n \"aria-label\": contextLocale.back\n }, backIcon));\n });\n};\nvar renderBreadcrumb = function renderBreadcrumb(breadcrumb) {\n return /*#__PURE__*/React.createElement(Breadcrumb, _extends({}, breadcrumb));\n};\nvar getBackIcon = function getBackIcon(props) {\n var direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'ltr';\n if (props.backIcon !== undefined) {\n return props.backIcon;\n }\n return direction === 'rtl' ? /*#__PURE__*/React.createElement(ArrowRightOutlined, null) : /*#__PURE__*/React.createElement(ArrowLeftOutlined, null);\n};\nvar renderTitle = function renderTitle(prefixCls, props) {\n var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';\n var title = props.title,\n avatar = props.avatar,\n subTitle = props.subTitle,\n tags = props.tags,\n extra = props.extra,\n onBack = props.onBack;\n var headingPrefixCls = \"\".concat(prefixCls, \"-heading\");\n var hasHeading = title || subTitle || tags || extra;\n // If there is nothing, return a null\n if (!hasHeading) {\n return null;\n }\n var backIcon = getBackIcon(props, direction);\n var backIconDom = renderBack(prefixCls, backIcon, onBack);\n var hasTitle = backIconDom || avatar || hasHeading;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: headingPrefixCls\n }, hasTitle && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(headingPrefixCls, \"-left\")\n }, backIconDom, avatar && /*#__PURE__*/React.createElement(Avatar, _extends({}, avatar)), title && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-title\"),\n title: typeof title === 'string' ? title : undefined\n }, title), subTitle && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-sub-title\"),\n title: typeof subTitle === 'string' ? subTitle : undefined\n }, subTitle), tags && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-tags\")\n }, tags)), extra && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(headingPrefixCls, \"-extra\")\n }, /*#__PURE__*/React.createElement(Space, null, extra)));\n};\nvar renderFooter = function renderFooter(prefixCls, footer) {\n if (footer) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer);\n }\n return null;\n};\nvar renderChildren = function renderChildren(prefixCls, children) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n};\nvar PageHeader = function PageHeader(props) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n compact = _useState2[0],\n updateCompact = _useState2[1];\n var onResize = function onResize(_ref) {\n var width = _ref.width;\n updateCompact(width < 768, true);\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref2) {\n var _classNames;\n var getPrefixCls = _ref2.getPrefixCls,\n pageHeader = _ref2.pageHeader,\n direction = _ref2.direction;\n var _a;\n var customizePrefixCls = props.prefixCls,\n style = props.style,\n footer = props.footer,\n children = props.children,\n breadcrumb = props.breadcrumb,\n breadcrumbRender = props.breadcrumbRender,\n customizeClassName = props.className;\n var ghost = true;\n // Use `ghost` from `props` or from `ConfigProvider` instead.\n if ('ghost' in props) {\n ghost = props.ghost;\n } else if (pageHeader && 'ghost' in pageHeader) {\n ghost = pageHeader.ghost;\n }\n var prefixCls = getPrefixCls('page-header', customizePrefixCls);\n var getDefaultBreadcrumbDom = function getDefaultBreadcrumbDom() {\n if (breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.routes) {\n return renderBreadcrumb(breadcrumb);\n }\n return null;\n };\n var defaultBreadcrumbDom = getDefaultBreadcrumbDom();\n var isBreadcrumbComponent = breadcrumb && 'props' in breadcrumb;\n // support breadcrumbRender function\n var breadcrumbRenderDomFromProps = (_a = breadcrumbRender === null || breadcrumbRender === void 0 ? void 0 : breadcrumbRender(props, defaultBreadcrumbDom)) !== null && _a !== void 0 ? _a : defaultBreadcrumbDom;\n var breadcrumbDom = isBreadcrumbComponent ? breadcrumb : breadcrumbRenderDomFromProps;\n var className = classNames(prefixCls, customizeClassName, (_classNames = {\n 'has-breadcrumb': !!breadcrumbDom,\n 'has-footer': !!footer\n }, _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), ghost), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\"), compact), _classNames));\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onResize\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, breadcrumbDom, renderTitle(prefixCls, props, direction), children && renderChildren(prefixCls, children), renderFooter(prefixCls, footer)));\n });\n};\nexport default PageHeader;","// This icon file is generated automatically.\nvar StarFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z\" } }] }, \"name\": \"star\", \"theme\": \"filled\" };\nexport default StarFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport StarFilledSvg from \"@ant-design/icons-svg/es/asn/StarFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar StarFilled = function StarFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: StarFilledSvg\n }));\n};\nStarFilled.displayName = 'StarFilled';\nexport default /*#__PURE__*/React.forwardRef(StarFilled);","function getScroll(w) {\n var ret = w.pageXOffset;\n var method = 'scrollLeft';\n\n if (typeof ret !== 'number') {\n var d = w.document; // ie6,7,8 standard mode\n\n ret = d.documentElement[method];\n\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n\n return ret;\n}\n\nfunction getClientPosition(elem) {\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n var box = elem.getBoundingClientRect();\n x = box.left;\n y = box.top;\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\n\nexport function getOffsetLeft(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument; // Only IE use `parentWindow`\n\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n return pos.left;\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from 'react';\n\nvar Star = /*#__PURE__*/function (_React$Component) {\n _inherits(Star, _React$Component);\n\n var _super = _createSuper(Star);\n\n function Star() {\n var _this;\n\n _classCallCheck(this, Star);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onHover = function (e) {\n var _this$props = _this.props,\n onHover = _this$props.onHover,\n index = _this$props.index;\n onHover(e, index);\n };\n\n _this.onClick = function (e) {\n var _this$props2 = _this.props,\n onClick = _this$props2.onClick,\n index = _this$props2.index;\n onClick(e, index);\n };\n\n _this.onKeyDown = function (e) {\n var _this$props3 = _this.props,\n onClick = _this$props3.onClick,\n index = _this$props3.index;\n\n if (e.keyCode === 13) {\n onClick(e, index);\n }\n };\n\n return _this;\n }\n\n _createClass(Star, [{\n key: \"getClassName\",\n value: function getClassName() {\n var _this$props4 = this.props,\n prefixCls = _this$props4.prefixCls,\n index = _this$props4.index,\n value = _this$props4.value,\n allowHalf = _this$props4.allowHalf,\n focused = _this$props4.focused;\n var starValue = index + 1;\n var className = prefixCls;\n\n if (value === 0 && index === 0 && focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n } else if (allowHalf && value + 0.5 >= starValue && value < starValue) {\n className += \" \".concat(prefixCls, \"-half \").concat(prefixCls, \"-active\");\n\n if (focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n }\n } else {\n className += starValue <= value ? \" \".concat(prefixCls, \"-full\") : \" \".concat(prefixCls, \"-zero\");\n\n if (starValue === value && focused) {\n className += \" \".concat(prefixCls, \"-focused\");\n }\n }\n\n return className;\n }\n }, {\n key: \"render\",\n value: function render() {\n var onHover = this.onHover,\n onClick = this.onClick,\n onKeyDown = this.onKeyDown;\n var _this$props5 = this.props,\n disabled = _this$props5.disabled,\n prefixCls = _this$props5.prefixCls,\n character = _this$props5.character,\n characterRender = _this$props5.characterRender,\n index = _this$props5.index,\n count = _this$props5.count,\n value = _this$props5.value;\n var characterNode = typeof character === 'function' ? character(this.props) : character;\n var start = /*#__PURE__*/React.createElement(\"li\", {\n className: this.getClassName()\n }, /*#__PURE__*/React.createElement(\"div\", {\n onClick: disabled ? null : onClick,\n onKeyDown: disabled ? null : onKeyDown,\n onMouseMove: disabled ? null : onHover,\n role: \"radio\",\n \"aria-checked\": value > index ? 'true' : 'false',\n \"aria-posinset\": index + 1,\n \"aria-setsize\": count,\n tabIndex: disabled ? -1 : 0\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-first\")\n }, characterNode), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-second\")\n }, characterNode)));\n\n if (characterRender) {\n start = characterRender(start, this.props);\n }\n\n return start;\n }\n }]);\n\n return Star;\n}(React.Component);\n\nexport { Star as default };","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport React from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { getOffsetLeft } from './util';\nimport Star from './Star';\n\nfunction noop() {}\n\nvar Rate = /*#__PURE__*/function (_React$Component) {\n _inherits(Rate, _React$Component);\n\n var _super = _createSuper(Rate);\n\n function Rate(props) {\n var _this;\n\n _classCallCheck(this, Rate);\n\n _this = _super.call(this, props);\n _this.stars = void 0;\n _this.rate = void 0;\n\n _this.onHover = function (event, index) {\n var onHoverChange = _this.props.onHoverChange;\n\n var hoverValue = _this.getStarValue(index, event.pageX);\n\n var cleanedValue = _this.state.cleanedValue;\n\n if (hoverValue !== cleanedValue) {\n _this.setState({\n hoverValue: hoverValue,\n cleanedValue: null\n });\n }\n\n onHoverChange(hoverValue);\n };\n\n _this.onMouseLeave = function () {\n var onHoverChange = _this.props.onHoverChange;\n\n _this.setState({\n hoverValue: undefined,\n cleanedValue: null\n });\n\n onHoverChange(undefined);\n };\n\n _this.onClick = function (event, index) {\n var allowClear = _this.props.allowClear;\n var value = _this.state.value;\n\n var newValue = _this.getStarValue(index, event.pageX);\n\n var isReset = false;\n\n if (allowClear) {\n isReset = newValue === value;\n }\n\n _this.onMouseLeave();\n\n _this.changeValue(isReset ? 0 : newValue);\n\n _this.setState({\n cleanedValue: isReset ? newValue : null\n });\n };\n\n _this.onFocus = function () {\n var onFocus = _this.props.onFocus;\n\n _this.setState({\n focused: true\n });\n\n if (onFocus) {\n onFocus();\n }\n };\n\n _this.onBlur = function () {\n var onBlur = _this.props.onBlur;\n\n _this.setState({\n focused: false\n });\n\n if (onBlur) {\n onBlur();\n }\n };\n\n _this.onKeyDown = function (event) {\n var keyCode = event.keyCode;\n var _this$props = _this.props,\n count = _this$props.count,\n allowHalf = _this$props.allowHalf,\n onKeyDown = _this$props.onKeyDown,\n direction = _this$props.direction;\n var reverse = direction === 'rtl';\n var value = _this.state.value;\n\n if (keyCode === KeyCode.RIGHT && value < count && !reverse) {\n if (allowHalf) {\n value += 0.5;\n } else {\n value += 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.LEFT && value > 0 && !reverse) {\n if (allowHalf) {\n value -= 0.5;\n } else {\n value -= 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.RIGHT && value > 0 && reverse) {\n if (allowHalf) {\n value -= 0.5;\n } else {\n value -= 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n } else if (keyCode === KeyCode.LEFT && value < count && reverse) {\n if (allowHalf) {\n value += 0.5;\n } else {\n value += 1;\n }\n\n _this.changeValue(value);\n\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n _this.saveRef = function (index) {\n return function (node) {\n _this.stars[index] = node;\n };\n };\n\n _this.saveRate = function (node) {\n _this.rate = node;\n };\n\n var _value = props.value;\n\n if (_value === undefined) {\n _value = props.defaultValue;\n }\n\n _this.stars = {};\n _this.state = {\n value: _value,\n focused: false,\n cleanedValue: null\n };\n return _this;\n }\n\n _createClass(Rate, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props2 = this.props,\n autoFocus = _this$props2.autoFocus,\n disabled = _this$props2.disabled;\n\n if (autoFocus && !disabled) {\n this.focus();\n }\n }\n }, {\n key: \"getStarDOM\",\n value: function getStarDOM(index) {\n return findDOMNode(this.stars[index]);\n }\n }, {\n key: \"getStarValue\",\n value: function getStarValue(index, x) {\n var _this$props3 = this.props,\n allowHalf = _this$props3.allowHalf,\n direction = _this$props3.direction;\n var reverse = direction === 'rtl';\n var value = index + 1;\n\n if (allowHalf) {\n var starEle = this.getStarDOM(index);\n var leftDis = getOffsetLeft(starEle);\n var width = starEle.clientWidth;\n\n if (reverse && x - leftDis > width / 2) {\n value -= 0.5;\n } else if (!reverse && x - leftDis < width / 2) {\n value -= 0.5;\n }\n }\n\n return value;\n }\n }, {\n key: \"focus\",\n value: function focus() {\n var disabled = this.props.disabled;\n\n if (!disabled) {\n this.rate.focus();\n }\n }\n }, {\n key: \"blur\",\n value: function blur() {\n var disabled = this.props.disabled;\n\n if (!disabled) {\n this.rate.blur();\n }\n }\n }, {\n key: \"changeValue\",\n value: function changeValue(value) {\n var onChange = this.props.onChange;\n\n if (!('value' in this.props)) {\n this.setState({\n value: value\n });\n }\n\n onChange(value);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props4 = this.props,\n count = _this$props4.count,\n allowHalf = _this$props4.allowHalf,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n disabled = _this$props4.disabled,\n className = _this$props4.className,\n character = _this$props4.character,\n characterRender = _this$props4.characterRender,\n tabIndex = _this$props4.tabIndex,\n direction = _this$props4.direction;\n var _this$state = this.state,\n value = _this$state.value,\n hoverValue = _this$state.hoverValue,\n focused = _this$state.focused;\n var stars = [];\n var disabledClass = disabled ? \"\".concat(prefixCls, \"-disabled\") : '';\n\n for (var index = 0; index < count; index += 1) {\n stars.push( /*#__PURE__*/React.createElement(Star, {\n ref: this.saveRef(index),\n index: index,\n count: count,\n disabled: disabled,\n prefixCls: \"\".concat(prefixCls, \"-star\"),\n allowHalf: allowHalf,\n value: hoverValue === undefined ? value : hoverValue,\n onClick: this.onClick,\n onHover: this.onHover,\n key: index,\n character: character,\n characterRender: characterRender,\n focused: focused\n }));\n }\n\n var rateClassName = classNames(prefixCls, disabledClass, className, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'));\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: rateClassName,\n style: style,\n onMouseLeave: disabled ? null : this.onMouseLeave,\n tabIndex: disabled ? -1 : tabIndex,\n onFocus: disabled ? null : this.onFocus,\n onBlur: disabled ? null : this.onBlur,\n onKeyDown: disabled ? null : this.onKeyDown,\n ref: this.saveRate,\n role: \"radiogroup\"\n }, stars);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, state) {\n if ('value' in nextProps && nextProps.value !== undefined) {\n return _objectSpread(_objectSpread({}, state), {}, {\n value: nextProps.value\n });\n }\n\n return state;\n }\n }]);\n\n return Rate;\n}(React.Component);\n\nRate.defaultProps = {\n defaultValue: 0,\n count: 5,\n allowHalf: false,\n allowClear: true,\n style: {},\n prefixCls: 'rc-rate',\n onChange: noop,\n character: '★',\n onHoverChange: noop,\n tabIndex: 0,\n direction: 'ltr'\n};\nexport default Rate;","import Rate from './Rate';\nexport default Rate;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport StarFilled from \"@ant-design/icons/es/icons/StarFilled\";\nimport RcRate from 'rc-rate';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nvar Rate = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n tooltips = props.tooltips,\n _props$character = props.character,\n character = _props$character === void 0 ? /*#__PURE__*/React.createElement(StarFilled, null) : _props$character,\n rest = __rest(props, [\"prefixCls\", \"tooltips\", \"character\"]);\n var characterRender = function characterRender(node, _ref) {\n var index = _ref.index;\n if (!tooltips) {\n return node;\n }\n return /*#__PURE__*/React.createElement(Tooltip, {\n title: tooltips[index]\n }, node);\n };\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var ratePrefixCls = getPrefixCls('rate', prefixCls);\n return /*#__PURE__*/React.createElement(RcRate, _extends({\n ref: ref,\n character: character,\n characterRender: characterRender\n }, rest, {\n prefixCls: ratePrefixCls,\n direction: direction\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Rate.displayName = 'Rate';\n}\nexport default Rate;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\n\nvar calcThumbStyle = function calcThumbStyle(targetElement) {\n return targetElement ? {\n left: targetElement.offsetLeft,\n width: targetElement.clientWidth\n } : null;\n};\n\nvar toPX = function toPX(value) {\n return value !== undefined ? \"\".concat(value, \"px\") : undefined;\n};\n\nexport default function MotionThumb(props) {\n var prefixCls = props.prefixCls,\n containerRef = props.containerRef,\n value = props.value,\n getValueIndex = props.getValueIndex,\n motionName = props.motionName,\n onMotionStart = props.onMotionStart,\n onMotionEnd = props.onMotionEnd;\n var thumbRef = React.useRef(null);\n\n var _React$useState = React.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prevValue = _React$useState2[0],\n setPrevValue = _React$useState2[1]; // =========================== Effect ===========================\n\n\n var findValueElement = function findValueElement(val) {\n var _containerRef$current;\n\n var index = getValueIndex(val);\n var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelectorAll(\".\".concat(prefixCls, \"-item\"))[index];\n return ele;\n };\n\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n prevStyle = _React$useState4[0],\n setPrevStyle = _React$useState4[1];\n\n var _React$useState5 = React.useState(null),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n nextStyle = _React$useState6[0],\n setNextStyle = _React$useState6[1];\n\n useLayoutEffect(function () {\n if (prevValue !== value) {\n var prev = findValueElement(prevValue);\n var next = findValueElement(value);\n var calcPrevStyle = calcThumbStyle(prev);\n var calcNextStyle = calcThumbStyle(next);\n setPrevValue(value);\n setPrevStyle(calcPrevStyle);\n setNextStyle(calcNextStyle);\n\n if (prev && next) {\n onMotionStart();\n } else {\n onMotionEnd();\n }\n }\n }, [value]); // =========================== Motion ===========================\n\n var onAppearStart = function onAppearStart() {\n return {\n transform: \"translateX(var(--thumb-start-left))\",\n width: \"var(--thumb-start-width)\"\n };\n };\n\n var onAppearActive = function onAppearActive() {\n return {\n transform: \"translateX(var(--thumb-active-left))\",\n width: \"var(--thumb-active-width)\"\n };\n };\n\n var onAppearEnd = function onAppearEnd() {\n setPrevStyle(null);\n setNextStyle(null);\n onMotionEnd();\n }; // =========================== Render ===========================\n // No need motion when nothing exist in queue\n\n\n if (!prevStyle || !nextStyle) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: true,\n motionName: motionName,\n motionAppear: true,\n onAppearStart: onAppearStart,\n onAppearActive: onAppearActive,\n onAppearEnd: onAppearEnd\n }, function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n\n var mergedStyle = _objectSpread(_objectSpread({}, motionStyle), {}, {\n '--thumb-start-left': toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.left),\n '--thumb-start-width': toPX(prevStyle === null || prevStyle === void 0 ? void 0 : prevStyle.width),\n '--thumb-active-left': toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.left),\n '--thumb-active-width': toPX(nextStyle === null || nextStyle === void 0 ? void 0 : nextStyle.width)\n }); // It's little ugly which should be refactor when @umi/test update to latest jsdom\n\n\n var motionProps = {\n ref: composeRef(thumbRef, ref),\n style: mergedStyle,\n className: classNames(\"\".concat(prefixCls, \"-thumb\"), motionClassName)\n };\n\n if (process.env.NODE_ENV === 'test') {\n motionProps['data-test-style'] = JSON.stringify(mergedStyle);\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _objectSpread({}, motionProps));\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"prefixCls\", \"direction\", \"options\", \"disabled\", \"defaultValue\", \"value\", \"onChange\", \"className\", \"motionName\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport omit from \"rc-util/es/omit\";\nimport MotionThumb from './MotionThumb';\n\nfunction getValidTitle(option) {\n if (typeof option.title !== 'undefined') {\n return option.title;\n } // read `label` when title is `undefined`\n\n\n if (_typeof(option.label) !== 'object') {\n var _option$label;\n\n return (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toString();\n }\n}\n\nfunction normalizeOptions(options) {\n return options.map(function (option) {\n if (_typeof(option) === 'object' && option !== null) {\n var validTitle = getValidTitle(option);\n return _objectSpread(_objectSpread({}, option), {}, {\n title: validTitle\n });\n }\n\n return {\n label: option === null || option === void 0 ? void 0 : option.toString(),\n title: option === null || option === void 0 ? void 0 : option.toString(),\n value: option\n };\n });\n}\n\nvar InternalSegmentedOption = function InternalSegmentedOption(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n disabled = _ref.disabled,\n checked = _ref.checked,\n label = _ref.label,\n title = _ref.title,\n value = _ref.value,\n onChange = _ref.onChange;\n\n var handleChange = function handleChange(event) {\n if (disabled) {\n return;\n }\n\n onChange(event, value);\n };\n\n return /*#__PURE__*/React.createElement(\"label\", {\n className: classNames(className, _defineProperty({}, \"\".concat(prefixCls, \"-item-disabled\"), disabled))\n }, /*#__PURE__*/React.createElement(\"input\", {\n className: \"\".concat(prefixCls, \"-item-input\"),\n type: \"radio\",\n disabled: disabled,\n checked: checked,\n onChange: handleChange\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-label\"),\n title: title\n }, label));\n};\n\nvar Segmented = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _segmentedOptions$, _classNames2;\n\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-segmented' : _props$prefixCls,\n direction = props.direction,\n options = props.options,\n disabled = props.disabled,\n defaultValue = props.defaultValue,\n value = props.value,\n onChange = props.onChange,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$motionName = props.motionName,\n motionName = _props$motionName === void 0 ? 'thumb-motion' : _props$motionName,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var containerRef = React.useRef(null);\n var mergedRef = React.useMemo(function () {\n return composeRef(containerRef, ref);\n }, [containerRef, ref]);\n var segmentedOptions = React.useMemo(function () {\n return normalizeOptions(options);\n }, [options]); // Note: We should not auto switch value when value not exist in options\n // which may break single source of truth.\n\n var _useMergedState = useMergedState((_segmentedOptions$ = segmentedOptions[0]) === null || _segmentedOptions$ === void 0 ? void 0 : _segmentedOptions$.value, {\n value: value,\n defaultValue: defaultValue\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n rawValue = _useMergedState2[0],\n setRawValue = _useMergedState2[1]; // ======================= Change ========================\n\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n thumbShow = _React$useState2[0],\n setThumbShow = _React$useState2[1];\n\n var handleChange = function handleChange(event, val) {\n if (disabled) {\n return;\n }\n\n setRawValue(val);\n onChange === null || onChange === void 0 ? void 0 : onChange(val);\n };\n\n var divProps = omit(restProps, ['children']);\n return /*#__PURE__*/React.createElement(\"div\", _objectSpread(_objectSpread({}, divProps), {}, {\n className: classNames(prefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames2), className),\n ref: mergedRef\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-group\")\n }, /*#__PURE__*/React.createElement(MotionThumb, {\n prefixCls: prefixCls,\n value: rawValue,\n containerRef: containerRef,\n motionName: \"\".concat(prefixCls, \"-\").concat(motionName),\n getValueIndex: function getValueIndex(val) {\n return segmentedOptions.findIndex(function (n) {\n return n.value === val;\n });\n },\n onMotionStart: function onMotionStart() {\n setThumbShow(true);\n },\n onMotionEnd: function onMotionEnd() {\n setThumbShow(false);\n }\n }), segmentedOptions.map(function (segmentedOption) {\n return /*#__PURE__*/React.createElement(InternalSegmentedOption, _objectSpread(_objectSpread({\n key: segmentedOption.value,\n prefixCls: prefixCls,\n className: classNames(segmentedOption.className, \"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-selected\"), segmentedOption.value === rawValue && !thumbShow)),\n checked: segmentedOption.value === rawValue,\n onChange: handleChange\n }, segmentedOption), {}, {\n disabled: !!disabled || !!segmentedOption.disabled\n }));\n })));\n});\nSegmented.displayName = 'Segmented';\nSegmented.defaultProps = {\n options: []\n};\nexport default Segmented;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcSegmented from 'rc-segmented';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nfunction isSegmentedLabeledOptionWithIcon(option) {\n return _typeof(option) === 'object' && !!(option === null || option === void 0 ? void 0 : option.icon);\n}\nvar Segmented = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n block = props.block,\n _props$options = props.options,\n options = _props$options === void 0 ? [] : _props$options,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'middle' : _props$size,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"block\", \"options\", \"size\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('segmented', customizePrefixCls);\n // ===================== Size =====================\n var size = React.useContext(SizeContext);\n var mergedSize = customSize || size;\n // syntactic sugar to support `icon` for Segmented Item\n var extendedOptions = React.useMemo(function () {\n return options.map(function (option) {\n if (isSegmentedLabeledOptionWithIcon(option)) {\n var icon = option.icon,\n label = option.label,\n restOption = __rest(option, [\"icon\", \"label\"]);\n return _extends(_extends({}, restOption), {\n label: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-item-icon\")\n }, icon), label && /*#__PURE__*/React.createElement(\"span\", null, label))\n });\n }\n return option;\n });\n }, [options, prefixCls]);\n return /*#__PURE__*/React.createElement(RcSegmented, _extends({}, restProps, {\n className: classNames(className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _classNames)),\n options: extendedOptions,\n ref: ref,\n prefixCls: prefixCls,\n direction: direction\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Segmented.displayName = 'Segmented';\n}\nexport default Segmented;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"className\", \"prefixCls\", \"style\", \"active\", \"status\", \"iconPrefix\", \"icon\", \"wrapperStyle\", \"stepNumber\", \"disabled\", \"description\", \"title\", \"subTitle\", \"progressDot\", \"stepIcon\", \"tailContent\", \"icons\", \"stepIndex\", \"onStepClick\", \"onClick\"];\n\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nfunction isString(str) {\n return typeof str === 'string';\n}\n\nvar Step = /*#__PURE__*/function (_React$Component) {\n _inherits(Step, _React$Component);\n\n var _super = _createSuper(Step);\n\n function Step() {\n var _this;\n\n _classCallCheck(this, Step);\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(_args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function () {\n var _this$props = _this.props,\n onClick = _this$props.onClick,\n onStepClick = _this$props.onStepClick,\n stepIndex = _this$props.stepIndex;\n\n if (onClick) {\n onClick.apply(void 0, arguments);\n }\n\n onStepClick(stepIndex);\n });\n\n return _this;\n }\n\n _createClass(Step, [{\n key: \"renderIconNode\",\n value: function renderIconNode() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n progressDot = _this$props2.progressDot,\n stepIcon = _this$props2.stepIcon,\n stepNumber = _this$props2.stepNumber,\n status = _this$props2.status,\n title = _this$props2.title,\n description = _this$props2.description,\n icon = _this$props2.icon,\n iconPrefix = _this$props2.iconPrefix,\n icons = _this$props2.icons;\n var iconNode;\n var iconClassName = classNames(\"\".concat(prefixCls, \"-icon\"), \"\".concat(iconPrefix, \"icon\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-\").concat(icon), icon && isString(icon)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-check\"), !icon && status === 'finish' && (icons && !icons.finish || !icons)), _defineProperty(_classNames, \"\".concat(iconPrefix, \"icon-cross\"), !icon && status === 'error' && (icons && !icons.error || !icons)), _classNames));\n var iconDot = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon-dot\")\n }); // `progressDot` enjoy the highest priority\n\n if (progressDot) {\n if (typeof progressDot === 'function') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, progressDot(iconDot, {\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description\n }));\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, iconDot);\n }\n } else if (icon && !isString(icon)) {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icon);\n } else if (icons && icons.finish && status === 'finish') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.finish);\n } else if (icons && icons.error && status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, icons.error);\n } else if (icon || status === 'finish' || status === 'error') {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n });\n } else {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, stepNumber);\n }\n\n if (stepIcon) {\n iconNode = stepIcon({\n index: stepNumber - 1,\n status: status,\n title: title,\n description: description,\n node: iconNode\n });\n }\n\n return iconNode;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames2;\n\n var _this$props3 = this.props,\n className = _this$props3.className,\n prefixCls = _this$props3.prefixCls,\n style = _this$props3.style,\n active = _this$props3.active,\n _this$props3$status = _this$props3.status,\n status = _this$props3$status === void 0 ? 'wait' : _this$props3$status,\n iconPrefix = _this$props3.iconPrefix,\n icon = _this$props3.icon,\n wrapperStyle = _this$props3.wrapperStyle,\n stepNumber = _this$props3.stepNumber,\n disabled = _this$props3.disabled,\n description = _this$props3.description,\n title = _this$props3.title,\n subTitle = _this$props3.subTitle,\n progressDot = _this$props3.progressDot,\n stepIcon = _this$props3.stepIcon,\n tailContent = _this$props3.tailContent,\n icons = _this$props3.icons,\n stepIndex = _this$props3.stepIndex,\n onStepClick = _this$props3.onStepClick,\n onClick = _this$props3.onClick,\n restProps = _objectWithoutProperties(_this$props3, _excluded);\n\n var classString = classNames(\"\".concat(prefixCls, \"-item\"), \"\".concat(prefixCls, \"-item-\").concat(status), className, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-custom\"), icon), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-active\"), active), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-disabled\"), disabled === true), _classNames2));\n\n var stepItemStyle = _objectSpread({}, style);\n\n var accessibilityProps = {};\n\n if (onStepClick && !disabled) {\n accessibilityProps.role = 'button';\n accessibilityProps.tabIndex = 0;\n accessibilityProps.onClick = this.onClick;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, restProps, {\n className: classString,\n style: stepItemStyle\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n onClick: onClick\n }, accessibilityProps, {\n className: \"\".concat(prefixCls, \"-item-container\")\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-tail\")\n }, tailContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-icon\")\n }, this.renderIconNode()), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-title\")\n }, title, subTitle && /*#__PURE__*/React.createElement(\"div\", {\n title: typeof subTitle === 'string' ? subTitle : undefined,\n className: \"\".concat(prefixCls, \"-item-subtitle\")\n }, subTitle)), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-description\")\n }, description))));\n }\n }]);\n\n return Step;\n}(React.Component);\n\nexport { Step as default };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"prefixCls\", \"style\", \"className\", \"children\", \"direction\", \"type\", \"labelPlacement\", \"iconPrefix\", \"status\", \"size\", \"current\", \"progressDot\", \"stepIcon\", \"initial\", \"icons\", \"onChange\", \"items\"];\n\n/* eslint react/no-did-mount-set-state: 0, react/prop-types: 0 */\nimport classNames from 'classnames';\nimport React from 'react';\nimport Step from \"./Step\";\n\nvar Steps = /*#__PURE__*/function (_React$Component) {\n _inherits(Steps, _React$Component);\n\n var _super = _createSuper(Steps);\n\n function Steps() {\n var _this;\n\n _classCallCheck(this, Steps);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onStepClick\", function (next) {\n var _this$props = _this.props,\n onChange = _this$props.onChange,\n current = _this$props.current;\n\n if (onChange && current !== next) {\n onChange(next);\n }\n });\n\n return _this;\n }\n\n _createClass(Steps, [{\n key: \"render\",\n value: function render() {\n var _classNames,\n _this2 = this;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n _this$props2$style = _this$props2.style,\n style = _this$props2$style === void 0 ? {} : _this$props2$style,\n className = _this$props2.className,\n children = _this$props2.children,\n direction = _this$props2.direction,\n type = _this$props2.type,\n labelPlacement = _this$props2.labelPlacement,\n iconPrefix = _this$props2.iconPrefix,\n status = _this$props2.status,\n size = _this$props2.size,\n current = _this$props2.current,\n progressDot = _this$props2.progressDot,\n stepIcon = _this$props2.stepIcon,\n initial = _this$props2.initial,\n icons = _this$props2.icons,\n onChange = _this$props2.onChange,\n _this$props2$items = _this$props2.items,\n items = _this$props2$items === void 0 ? [] : _this$props2$items,\n restProps = _objectWithoutProperties(_this$props2, _excluded);\n\n var isNav = type === 'navigation';\n var adjustedLabelPlacement = progressDot ? 'vertical' : labelPlacement;\n var classString = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(direction), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), size), _defineProperty(_classNames, \"\".concat(prefixCls, \"-label-\").concat(adjustedLabelPlacement), direction === 'horizontal'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-dot\"), !!progressDot), _defineProperty(_classNames, \"\".concat(prefixCls, \"-navigation\"), isNav), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString,\n style: style\n }, restProps), items.filter(function (item) {\n return item;\n }).map(function (item, index) {\n var mergedItem = _objectSpread({}, item);\n\n var stepNumber = initial + index; // fix tail color\n\n if (status === 'error' && index === current - 1) {\n mergedItem.className = \"\".concat(prefixCls, \"-next-error\");\n }\n\n if (!mergedItem.status) {\n if (stepNumber === current) {\n mergedItem.status = status;\n } else if (stepNumber < current) {\n mergedItem.status = 'finish';\n } else {\n mergedItem.status = 'wait';\n }\n }\n\n return /*#__PURE__*/React.createElement(Step, _extends({}, mergedItem, {\n active: stepNumber === current,\n stepNumber: stepNumber + 1,\n stepIndex: stepNumber,\n key: stepNumber,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n wrapperStyle: style,\n progressDot: progressDot,\n stepIcon: stepIcon,\n icons: icons,\n onStepClick: onChange && _this2.onStepClick\n }));\n }));\n }\n }]);\n\n return Steps;\n}(React.Component);\n\n_defineProperty(Steps, \"Step\", Step);\n\n_defineProperty(Steps, \"defaultProps\", {\n type: 'default',\n prefixCls: 'rc-steps',\n iconPrefix: 'rc',\n direction: 'horizontal',\n labelPlacement: 'horizontal',\n initial: 0,\n current: 0,\n status: 'process',\n size: '',\n progressDot: false\n});\n\nexport { Steps as default };","import Steps from \"./Steps\";\nimport Step from \"./Step\";\nexport { Step };\nexport default Steps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from '../_util/warning';\nfunction filter(items) {\n return items.filter(function (item) {\n return item;\n });\n}\nexport default function useLegacyItems(items, children) {\n if (items) {\n return items;\n }\n process.env.NODE_ENV !== \"production\" ? warning(!children, 'Steps', 'Step is deprecated. Please use `items` directly.') : void 0;\n var childrenItems = toArray(children).map(function (node) {\n if ( /*#__PURE__*/React.isValidElement(node)) {\n var props = node.props;\n var item = _extends({}, props);\n return item;\n }\n return null;\n });\n return filter(childrenItems);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport RcSteps from 'rc-steps';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport Progress from '../progress';\nimport useLegacyItems from './useLegacyItems';\nvar Steps = function Steps(props) {\n var _classNames;\n var percent = props.percent,\n size = props.size,\n className = props.className,\n direction = props.direction,\n items = props.items,\n _props$responsive = props.responsive,\n responsive = _props$responsive === void 0 ? true : _props$responsive,\n _props$current = props.current,\n current = _props$current === void 0 ? 0 : _props$current,\n children = props.children,\n restProps = __rest(props, [\"percent\", \"size\", \"className\", \"direction\", \"items\", \"responsive\", \"current\", \"children\"]);\n var _useBreakpoint = useBreakpoint(responsive),\n xs = _useBreakpoint.xs;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n rtlDirection = _React$useContext.direction;\n var getDirection = React.useCallback(function () {\n return responsive && xs ? 'vertical' : direction;\n }, [xs, direction]);\n var prefixCls = getPrefixCls('steps', props.prefixCls);\n var iconPrefix = getPrefixCls('', props.iconPrefix);\n var mergedItems = useLegacyItems(items, children);\n var stepsClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), rtlDirection === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-progress\"), percent !== undefined), _classNames), className);\n var icons = {\n finish: /*#__PURE__*/React.createElement(CheckOutlined, {\n className: \"\".concat(prefixCls, \"-finish-icon\")\n }),\n error: /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-error-icon\")\n })\n };\n var stepIconRender = function stepIconRender(_ref) {\n var node = _ref.node,\n status = _ref.status;\n if (status === 'process' && percent !== undefined) {\n // currently it's hard-coded, since we can't easily read the actually width of icon\n var progressWidth = size === 'small' ? 32 : 40;\n // iconWithProgress\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-progress-icon\")\n }, /*#__PURE__*/React.createElement(Progress, {\n type: \"circle\",\n percent: percent,\n width: progressWidth,\n strokeWidth: 4,\n format: function format() {\n return null;\n }\n }), node);\n }\n return node;\n };\n return /*#__PURE__*/React.createElement(RcSteps, _extends({\n icons: icons\n }, restProps, {\n current: current,\n size: size,\n items: mergedItems,\n direction: getDirection(),\n stepIcon: stepIconRender,\n prefixCls: prefixCls,\n iconPrefix: iconPrefix,\n className: stepsClassName\n }));\n};\nSteps.Step = RcSteps.Step;\nexport default Steps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport DatePicker from '../date-picker';\nimport warning from '../_util/warning';\nvar InternalTimePicker = DatePicker.TimePicker,\n InternalRangePicker = DatePicker.RangePicker;\nvar RangePicker = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var dropdownClassName = props.dropdownClassName,\n popupClassName = props.popupClassName;\n return /*#__PURE__*/React.createElement(InternalRangePicker, _extends({}, props, {\n dropdownClassName: popupClassName || dropdownClassName,\n picker: \"time\",\n mode: undefined,\n ref: ref\n }));\n});\nvar TimePicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var addon = _a.addon,\n renderExtraFooter = _a.renderExtraFooter,\n popupClassName = _a.popupClassName,\n dropdownClassName = _a.dropdownClassName,\n restProps = __rest(_a, [\"addon\", \"renderExtraFooter\", \"popupClassName\", \"dropdownClassName\"]);\n var internalRenderExtraFooter = React.useMemo(function () {\n if (renderExtraFooter) {\n return renderExtraFooter;\n }\n if (addon) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'TimePicker', '`addon` is deprecated. Please use `renderExtraFooter` instead.') : void 0;\n return addon;\n }\n return undefined;\n }, [addon, renderExtraFooter]);\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'TimePicker', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n return /*#__PURE__*/React.createElement(InternalTimePicker, _extends({\n dropdownClassName: popupClassName || dropdownClassName\n }, restProps, {\n mode: undefined,\n ref: ref,\n renderExtraFooter: internalRenderExtraFooter\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n TimePicker.displayName = 'TimePicker';\n}\nTimePicker.RangePicker = RangePicker;\nexport default TimePicker;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar TimelineItem = function TimelineItem(_a) {\n var _classNames, _classNames2;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n _a$color = _a.color,\n color = _a$color === void 0 ? 'blue' : _a$color,\n dot = _a.dot,\n _a$pending = _a.pending,\n pending = _a$pending === void 0 ? false : _a$pending,\n position = _a.position,\n label = _a.label,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"color\", \"dot\", \"pending\", \"position\", \"label\", \"children\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('timeline', customizePrefixCls);\n var itemClassName = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-pending\"), pending), _classNames), className);\n var dotClassName = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head\"), true), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head-custom\"), !!dot), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-item-head-\").concat(color), true), _classNames2));\n var customColor = /blue|red|green|gray/.test(color || '') ? undefined : color;\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, restProps, {\n className: itemClassName\n }), label && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-label\")\n }, label), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-tail\")\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: dotClassName,\n style: {\n borderColor: customColor,\n color: customColor\n }\n }, dot), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-content\")\n }, children));\n};\nexport default TimelineItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nimport TimelineItem from './TimelineItem';\nvar Timeline = function Timeline(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$pending = props.pending,\n pending = _props$pending === void 0 ? null : _props$pending,\n pendingDot = props.pendingDot,\n children = props.children,\n className = props.className,\n _props$reverse = props.reverse,\n reverse = _props$reverse === void 0 ? false : _props$reverse,\n _props$mode = props.mode,\n mode = _props$mode === void 0 ? '' : _props$mode,\n restProps = __rest(props, [\"prefixCls\", \"pending\", \"pendingDot\", \"children\", \"className\", \"reverse\", \"mode\"]);\n var prefixCls = getPrefixCls('timeline', customizePrefixCls);\n var pendingNode = typeof pending === 'boolean' ? null : pending;\n var pendingItem = pending ? /*#__PURE__*/React.createElement(TimelineItem, {\n pending: !!pending,\n dot: pendingDot || /*#__PURE__*/React.createElement(LoadingOutlined, null)\n }, pendingNode) : null;\n var timeLineItems = React.Children.toArray(children);\n timeLineItems.push(pendingItem);\n if (reverse) {\n timeLineItems.reverse();\n }\n var getPositionCls = function getPositionCls(ele, idx) {\n if (mode === 'alternate') {\n if (ele.props.position === 'right') return \"\".concat(prefixCls, \"-item-right\");\n if (ele.props.position === 'left') return \"\".concat(prefixCls, \"-item-left\");\n return idx % 2 === 0 ? \"\".concat(prefixCls, \"-item-left\") : \"\".concat(prefixCls, \"-item-right\");\n }\n if (mode === 'left') return \"\".concat(prefixCls, \"-item-left\");\n if (mode === 'right') return \"\".concat(prefixCls, \"-item-right\");\n if (ele.props.position === 'right') return \"\".concat(prefixCls, \"-item-right\");\n return '';\n };\n // Remove falsy items\n var truthyItems = timeLineItems.filter(function (item) {\n return !!item;\n });\n var itemsCount = React.Children.count(truthyItems);\n var lastCls = \"\".concat(prefixCls, \"-item-last\");\n var items = React.Children.map(truthyItems, function (ele, idx) {\n var pendingClass = idx === itemsCount - 2 ? lastCls : '';\n var readyClass = idx === itemsCount - 1 ? lastCls : '';\n return cloneElement(ele, {\n className: classNames([ele.props.className, !reverse && !!pending ? pendingClass : readyClass, getPositionCls(ele, idx)])\n });\n });\n var hasLabelItem = timeLineItems.some(function (item) {\n var _a;\n return !!((_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.label);\n });\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-pending\"), !!pending), _defineProperty(_classNames, \"\".concat(prefixCls, \"-reverse\"), !!reverse), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mode), !!mode && !hasLabelItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-label\"), hasLabelItem), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n return /*#__PURE__*/React.createElement(\"ul\", _extends({}, restProps, {\n className: classString\n }), items);\n};\nTimeline.Item = TimelineItem;\nexport default Timeline;","import Timeline from './Timeline';\nexport default Timeline;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DeleteOutlined from \"@ant-design/icons/es/icons/DeleteOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport Checkbox from '../checkbox';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport TransButton from '../_util/transButton';\nvar ListItem = function ListItem(props) {\n var _classNames;\n var renderedText = props.renderedText,\n renderedEl = props.renderedEl,\n item = props.item,\n checked = props.checked,\n disabled = props.disabled,\n prefixCls = props.prefixCls,\n onClick = props.onClick,\n onRemove = props.onRemove,\n showRemove = props.showRemove;\n var className = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item-disabled\"), disabled || item.disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-content-item-checked\"), checked), _classNames));\n var title;\n if (typeof renderedText === 'string' || typeof renderedText === 'number') {\n title = String(renderedText);\n }\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Transfer\",\n defaultLocale: defaultLocale.Transfer\n }, function (contextLocale) {\n var liProps = {\n className: className,\n title: title\n };\n var labelNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-content-item-text\")\n }, renderedEl);\n // Show remove\n if (showRemove) {\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, liProps), labelNode, /*#__PURE__*/React.createElement(TransButton, {\n disabled: disabled || item.disabled,\n className: \"\".concat(prefixCls, \"-content-item-remove\"),\n \"aria-label\": contextLocale.remove,\n onClick: function onClick() {\n onRemove === null || onRemove === void 0 ? void 0 : onRemove(item);\n }\n }, /*#__PURE__*/React.createElement(DeleteOutlined, null)));\n }\n // Default click to select\n liProps.onClick = disabled || item.disabled ? undefined : function () {\n return onClick(item);\n };\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, liProps), /*#__PURE__*/React.createElement(Checkbox, {\n className: \"\".concat(prefixCls, \"-checkbox\"),\n checked: checked,\n disabled: disabled || item.disabled\n }), labelNode);\n });\n};\nexport default /*#__PURE__*/React.memo(ListItem);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport Pagination from '../pagination';\nimport { tuple } from '../_util/type';\nimport ListItem from './ListItem';\nexport var OmitProps = tuple('handleFilter', 'handleClear', 'checkedKeys');\nfunction parsePagination(pagination) {\n if (!pagination) {\n return null;\n }\n var defaultPagination = {\n pageSize: 10,\n simple: true,\n showSizeChanger: false,\n showLessItems: false\n };\n if (_typeof(pagination) === 'object') {\n return _extends(_extends({}, defaultPagination), pagination);\n }\n return defaultPagination;\n}\nvar ListBody = /*#__PURE__*/function (_React$Component) {\n _inherits(ListBody, _React$Component);\n var _super = _createSuper(ListBody);\n function ListBody() {\n var _this;\n _classCallCheck(this, ListBody);\n _this = _super.apply(this, arguments);\n _this.state = {\n current: 1\n };\n _this.onItemSelect = function (item) {\n var _this$props = _this.props,\n onItemSelect = _this$props.onItemSelect,\n selectedKeys = _this$props.selectedKeys;\n var checked = selectedKeys.includes(item.key);\n onItemSelect(item.key, !checked);\n };\n _this.onItemRemove = function (item) {\n var onItemRemove = _this.props.onItemRemove;\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove([item.key]);\n };\n _this.onPageChange = function (current) {\n _this.setState({\n current: current\n });\n };\n _this.getItems = function () {\n var current = _this.state.current;\n var _this$props2 = _this.props,\n pagination = _this$props2.pagination,\n filteredRenderItems = _this$props2.filteredRenderItems;\n var mergedPagination = parsePagination(pagination);\n var displayItems = filteredRenderItems;\n if (mergedPagination) {\n displayItems = filteredRenderItems.slice((current - 1) * mergedPagination.pageSize, current * mergedPagination.pageSize);\n }\n return displayItems;\n };\n return _this;\n }\n _createClass(ListBody, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var current = this.state.current;\n var _this$props3 = this.props,\n prefixCls = _this$props3.prefixCls,\n onScroll = _this$props3.onScroll,\n filteredRenderItems = _this$props3.filteredRenderItems,\n selectedKeys = _this$props3.selectedKeys,\n globalDisabled = _this$props3.disabled,\n showRemove = _this$props3.showRemove,\n pagination = _this$props3.pagination;\n var mergedPagination = parsePagination(pagination);\n var paginationNode = null;\n if (mergedPagination) {\n paginationNode = /*#__PURE__*/React.createElement(Pagination, {\n simple: mergedPagination.simple,\n showSizeChanger: mergedPagination.showSizeChanger,\n showLessItems: mergedPagination.showLessItems,\n size: \"small\",\n disabled: globalDisabled,\n className: \"\".concat(prefixCls, \"-pagination\"),\n total: filteredRenderItems.length,\n pageSize: mergedPagination.pageSize,\n current: current,\n onChange: this.onPageChange\n });\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), _defineProperty({}, \"\".concat(prefixCls, \"-content-show-remove\"), showRemove)),\n onScroll: onScroll\n }, this.getItems().map(function (_ref) {\n var renderedEl = _ref.renderedEl,\n renderedText = _ref.renderedText,\n item = _ref.item;\n var disabled = item.disabled;\n var checked = selectedKeys.includes(item.key);\n return /*#__PURE__*/React.createElement(ListItem, {\n disabled: globalDisabled || disabled,\n key: item.key,\n item: item,\n renderedText: renderedText,\n renderedEl: renderedEl,\n checked: checked,\n prefixCls: prefixCls,\n onClick: _this2.onItemSelect,\n onRemove: _this2.onItemRemove,\n showRemove: showRemove\n });\n })), paginationNode);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref2, _ref3) {\n var filteredRenderItems = _ref2.filteredRenderItems,\n pagination = _ref2.pagination;\n var current = _ref3.current;\n var mergedPagination = parsePagination(pagination);\n if (mergedPagination) {\n // Calculate the page number\n var maxPageCount = Math.ceil(filteredRenderItems.length / mergedPagination.pageSize);\n if (current > maxPageCount) {\n return {\n current: maxPageCount\n };\n }\n }\n return null;\n }\n }]);\n return ListBody;\n}(React.Component);\nexport default ListBody;","import SearchOutlined from \"@ant-design/icons/es/icons/SearchOutlined\";\nimport * as React from 'react';\nimport Input from '../input';\nexport default function Search(props) {\n var _props$placeholder = props.placeholder,\n placeholder = _props$placeholder === void 0 ? '' : _props$placeholder,\n value = props.value,\n prefixCls = props.prefixCls,\n disabled = props.disabled,\n onChange = props.onChange,\n handleClear = props.handleClear;\n var handleChange = React.useCallback(function (e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(e);\n if (e.target.value === '') {\n handleClear === null || handleClear === void 0 ? void 0 : handleClear();\n }\n }, [onChange]);\n return /*#__PURE__*/React.createElement(Input, {\n placeholder: placeholder,\n className: prefixCls,\n value: value,\n onChange: handleChange,\n disabled: disabled,\n allowClear: true,\n prefix: /*#__PURE__*/React.createElement(SearchOutlined, null)\n });\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport Checkbox from '../checkbox';\nimport Dropdown from '../dropdown';\nimport { isValidElement } from '../_util/reactNode';\nimport DefaultListBody, { OmitProps } from './ListBody';\nimport Search from './search';\nvar defaultRender = function defaultRender() {\n return null;\n};\nfunction isRenderResultPlainObject(result) {\n return !!(result && !isValidElement(result) && Object.prototype.toString.call(result) === '[object Object]');\n}\nfunction getEnabledItemKeys(items) {\n return items.filter(function (data) {\n return !data.disabled;\n }).map(function (data) {\n return data.key;\n });\n}\nvar TransferList = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(TransferList, _React$PureComponent);\n var _super = _createSuper(TransferList);\n function TransferList(props) {\n var _this;\n _classCallCheck(this, TransferList);\n _this = _super.call(this, props);\n _this.defaultListBodyRef = /*#__PURE__*/React.createRef();\n // =============================== Filter ===============================\n _this.handleFilter = function (e) {\n var handleFilter = _this.props.handleFilter;\n var filterValue = e.target.value;\n _this.setState({\n filterValue: filterValue\n });\n handleFilter(e);\n };\n _this.handleClear = function () {\n var handleClear = _this.props.handleClear;\n _this.setState({\n filterValue: ''\n });\n handleClear();\n };\n _this.matchFilter = function (text, item) {\n var filterValue = _this.state.filterValue;\n var filterOption = _this.props.filterOption;\n if (filterOption) {\n return filterOption(filterValue, item);\n }\n return text.includes(filterValue);\n };\n // =============================== Render ===============================\n _this.renderListBody = function (renderList, props) {\n var bodyContent = renderList ? renderList(props) : null;\n var customize = !!bodyContent;\n if (!customize) {\n bodyContent = /*#__PURE__*/React.createElement(DefaultListBody, _extends({\n ref: _this.defaultListBodyRef\n }, props));\n }\n return {\n customize: customize,\n bodyContent: bodyContent\n };\n };\n _this.renderItem = function (item) {\n var _this$props$render = _this.props.render,\n render = _this$props$render === void 0 ? defaultRender : _this$props$render;\n var renderResult = render(item);\n var isRenderResultPlain = isRenderResultPlainObject(renderResult);\n return {\n renderedText: isRenderResultPlain ? renderResult.value : renderResult,\n renderedEl: isRenderResultPlain ? renderResult.label : renderResult,\n item: item\n };\n };\n _this.getSelectAllLabel = function (selectedCount, totalCount) {\n var _this$props = _this.props,\n itemsUnit = _this$props.itemsUnit,\n itemUnit = _this$props.itemUnit,\n selectAllLabel = _this$props.selectAllLabel;\n if (selectAllLabel) {\n return typeof selectAllLabel === 'function' ? selectAllLabel({\n selectedCount: selectedCount,\n totalCount: totalCount\n }) : selectAllLabel;\n }\n var unit = totalCount > 1 ? itemsUnit : itemUnit;\n return /*#__PURE__*/React.createElement(React.Fragment, null, (selectedCount > 0 ? \"\".concat(selectedCount, \"/\") : '') + totalCount, \" \", unit);\n };\n _this.state = {\n filterValue: ''\n };\n return _this;\n }\n _createClass(TransferList, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.triggerScrollTimer);\n }\n }, {\n key: \"getCheckStatus\",\n value: function getCheckStatus(filteredItems) {\n var checkedKeys = this.props.checkedKeys;\n if (checkedKeys.length === 0) {\n return 'none';\n }\n if (filteredItems.every(function (item) {\n return checkedKeys.includes(item.key) || !!item.disabled;\n })) {\n return 'all';\n }\n return 'part';\n }\n // ================================ Item ================================\n }, {\n key: \"getFilteredItems\",\n value: function getFilteredItems(dataSource, filterValue) {\n var _this2 = this;\n var filteredItems = [];\n var filteredRenderItems = [];\n dataSource.forEach(function (item) {\n var renderedItem = _this2.renderItem(item);\n var renderedText = renderedItem.renderedText;\n // Filter skip\n if (filterValue && !_this2.matchFilter(renderedText, item)) {\n return null;\n }\n filteredItems.push(item);\n filteredRenderItems.push(renderedItem);\n });\n return {\n filteredItems: filteredItems,\n filteredRenderItems: filteredRenderItems\n };\n }\n }, {\n key: \"getListBody\",\n value: function getListBody(prefixCls, searchPlaceholder, filterValue, filteredItems, notFoundContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled) {\n var _this3 = this;\n var search = showSearch ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-search-wrapper\")\n }, /*#__PURE__*/React.createElement(Search, {\n prefixCls: \"\".concat(prefixCls, \"-search\"),\n onChange: this.handleFilter,\n handleClear: this.handleClear,\n placeholder: searchPlaceholder,\n value: filterValue,\n disabled: disabled\n })) : null;\n var _this$renderListBody = this.renderListBody(renderList, _extends(_extends({}, omit(this.props, OmitProps)), {\n filteredItems: filteredItems,\n filteredRenderItems: filteredRenderItems,\n selectedKeys: checkedKeys\n })),\n bodyContent = _this$renderListBody.bodyContent,\n customize = _this$renderListBody.customize;\n var getNotFoundContent = function getNotFoundContent() {\n var contentIndex = _this3.props.direction === 'left' ? 0 : 1;\n return Array.isArray(notFoundContent) ? notFoundContent[contentIndex] : notFoundContent;\n };\n var bodyNode;\n // We should wrap customize list body in a classNamed div to use flex layout.\n if (customize) {\n bodyNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-customize-wrapper\")\n }, bodyContent);\n } else {\n bodyNode = filteredItems.length ? bodyContent : /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body-not-found\")\n }, getNotFoundContent());\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(showSearch ? \"\".concat(prefixCls, \"-body \").concat(prefixCls, \"-body-with-search\") : \"\".concat(prefixCls, \"-body\"))\n }, search, bodyNode);\n }\n }, {\n key: \"getCheckBox\",\n value: function getCheckBox(_ref) {\n var filteredItems = _ref.filteredItems,\n onItemSelectAll = _ref.onItemSelectAll,\n disabled = _ref.disabled,\n prefixCls = _ref.prefixCls;\n var checkStatus = this.getCheckStatus(filteredItems);\n var checkedAll = checkStatus === 'all';\n var checkAllCheckbox = /*#__PURE__*/React.createElement(Checkbox, {\n disabled: disabled,\n checked: checkedAll,\n indeterminate: checkStatus === 'part',\n className: \"\".concat(prefixCls, \"-checkbox\"),\n onChange: function onChange() {\n // Only select enabled items\n onItemSelectAll(filteredItems.filter(function (item) {\n return !item.disabled;\n }).map(function (_ref2) {\n var key = _ref2.key;\n return key;\n }), !checkedAll);\n }\n });\n return checkAllCheckbox;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames,\n _this4 = this;\n var filterValue = this.state.filterValue;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n _this$props2$dataSour = _this$props2.dataSource,\n dataSource = _this$props2$dataSour === void 0 ? [] : _this$props2$dataSour,\n _this$props2$titleTex = _this$props2.titleText,\n titleText = _this$props2$titleTex === void 0 ? '' : _this$props2$titleTex,\n checkedKeys = _this$props2.checkedKeys,\n disabled = _this$props2.disabled,\n footer = _this$props2.footer,\n _this$props2$showSear = _this$props2.showSearch,\n showSearch = _this$props2$showSear === void 0 ? false : _this$props2$showSear,\n style = _this$props2.style,\n searchPlaceholder = _this$props2.searchPlaceholder,\n notFoundContent = _this$props2.notFoundContent,\n selectAll = _this$props2.selectAll,\n selectCurrent = _this$props2.selectCurrent,\n selectInvert = _this$props2.selectInvert,\n removeAll = _this$props2.removeAll,\n removeCurrent = _this$props2.removeCurrent,\n renderList = _this$props2.renderList,\n onItemSelectAll = _this$props2.onItemSelectAll,\n onItemRemove = _this$props2.onItemRemove,\n _this$props2$showSele = _this$props2.showSelectAll,\n showSelectAll = _this$props2$showSele === void 0 ? true : _this$props2$showSele,\n showRemove = _this$props2.showRemove,\n pagination = _this$props2.pagination,\n direction = _this$props2.direction;\n // Custom Layout\n var footerDom = footer && (footer.length < 2 ? footer(this.props) : footer(this.props, {\n direction: direction\n }));\n var listCls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-pagination\"), !!pagination), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-footer\"), !!footerDom), _classNames));\n // ====================== Get filtered, checked item list ======================\n var _this$getFilteredItem = this.getFilteredItems(dataSource, filterValue),\n filteredItems = _this$getFilteredItem.filteredItems,\n filteredRenderItems = _this$getFilteredItem.filteredRenderItems;\n // ================================= List Body =================================\n var listBody = this.getListBody(prefixCls, searchPlaceholder, filterValue, filteredItems, notFoundContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled);\n // ================================ List Footer ================================\n var listFooter = footerDom ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footerDom) : null;\n var checkAllCheckbox = !showRemove && !pagination && this.getCheckBox({\n filteredItems: filteredItems,\n onItemSelectAll: onItemSelectAll,\n disabled: disabled,\n prefixCls: prefixCls\n });\n var items;\n if (showRemove) {\n items = [/* Remove Current Page */\n pagination ? {\n key: 'removeCurrent',\n onClick: function onClick() {\n var _a;\n var pageKeys = getEnabledItemKeys((((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || []).map(function (entity) {\n return entity.item;\n }));\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove(pageKeys);\n },\n label: removeCurrent\n } : null, /* Remove All */\n {\n key: 'removeAll',\n onClick: function onClick() {\n onItemRemove === null || onItemRemove === void 0 ? void 0 : onItemRemove(getEnabledItemKeys(filteredItems));\n },\n label: removeAll\n }].filter(function (item) {\n return item;\n });\n } else {\n items = [{\n key: 'selectAll',\n onClick: function onClick() {\n var keys = getEnabledItemKeys(filteredItems);\n onItemSelectAll(keys, keys.length !== checkedKeys.length);\n },\n label: selectAll\n }, pagination ? {\n key: 'selectCurrent',\n onClick: function onClick() {\n var _a;\n var pageItems = ((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || [];\n onItemSelectAll(getEnabledItemKeys(pageItems.map(function (entity) {\n return entity.item;\n })), true);\n },\n label: selectCurrent\n } : null, {\n key: 'selectInvert',\n onClick: function onClick() {\n var _a;\n var availableKeys;\n if (pagination) {\n availableKeys = getEnabledItemKeys((((_a = _this4.defaultListBodyRef.current) === null || _a === void 0 ? void 0 : _a.getItems()) || []).map(function (entity) {\n return entity.item;\n }));\n } else {\n availableKeys = getEnabledItemKeys(filteredItems);\n }\n var checkedKeySet = new Set(checkedKeys);\n var newCheckedKeys = [];\n var newUnCheckedKeys = [];\n availableKeys.forEach(function (key) {\n if (checkedKeySet.has(key)) {\n newUnCheckedKeys.push(key);\n } else {\n newCheckedKeys.push(key);\n }\n });\n onItemSelectAll(newCheckedKeys, true);\n onItemSelectAll(newUnCheckedKeys, false);\n },\n label: selectInvert\n }];\n }\n var dropdown = /*#__PURE__*/React.createElement(Dropdown, {\n className: \"\".concat(prefixCls, \"-header-dropdown\"),\n menu: {\n items: items\n },\n disabled: disabled\n }, /*#__PURE__*/React.createElement(DownOutlined, null));\n // ================================== Render ===================================\n return /*#__PURE__*/React.createElement(\"div\", {\n className: listCls,\n style: style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, showSelectAll ? /*#__PURE__*/React.createElement(React.Fragment, null, checkAllCheckbox, dropdown) : null, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-selected\")\n }, this.getSelectAllLabel(checkedKeys.length, filteredItems.length)), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-title\")\n }, titleText)), listBody, listFooter);\n }\n }]);\n return TransferList;\n}(React.PureComponent);\nexport { TransferList as default };","import LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport * as React from 'react';\nimport Button from '../button';\nvar Operation = function Operation(_ref) {\n var disabled = _ref.disabled,\n moveToLeft = _ref.moveToLeft,\n moveToRight = _ref.moveToRight,\n _ref$leftArrowText = _ref.leftArrowText,\n leftArrowText = _ref$leftArrowText === void 0 ? '' : _ref$leftArrowText,\n _ref$rightArrowText = _ref.rightArrowText,\n rightArrowText = _ref$rightArrowText === void 0 ? '' : _ref$rightArrowText,\n leftActive = _ref.leftActive,\n rightActive = _ref.rightActive,\n className = _ref.className,\n style = _ref.style,\n direction = _ref.direction,\n oneWay = _ref.oneWay;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, /*#__PURE__*/React.createElement(Button, {\n type: \"primary\",\n size: \"small\",\n disabled: disabled || !rightActive,\n onClick: moveToRight,\n icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null)\n }, rightArrowText), !oneWay && /*#__PURE__*/React.createElement(Button, {\n type: \"primary\",\n size: \"small\",\n disabled: disabled || !leftActive,\n onClick: moveToLeft,\n icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n }, leftArrowText));\n};\nexport default Operation;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport { FormItemInputContext } from '../form/context';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport warning from '../_util/warning';\nimport List from './list';\nimport Operation from './operation';\nimport Search from './search';\nvar Transfer = /*#__PURE__*/function (_React$Component) {\n _inherits(Transfer, _React$Component);\n var _super = _createSuper(Transfer);\n function Transfer(props) {\n var _this;\n _classCallCheck(this, Transfer);\n _this = _super.call(this, props);\n _this.separatedDataSource = null;\n _this.setStateKeys = function (direction, keys) {\n if (direction === 'left') {\n _this.setState(function (_ref) {\n var sourceSelectedKeys = _ref.sourceSelectedKeys;\n return {\n sourceSelectedKeys: typeof keys === 'function' ? keys(sourceSelectedKeys || []) : keys\n };\n });\n } else {\n _this.setState(function (_ref2) {\n var targetSelectedKeys = _ref2.targetSelectedKeys;\n return {\n targetSelectedKeys: typeof keys === 'function' ? keys(targetSelectedKeys || []) : keys\n };\n });\n }\n };\n _this.getLocale = function (transferLocale, renderEmpty) {\n var _this$props$locale = _this.props.locale,\n locale = _this$props$locale === void 0 ? {} : _this$props$locale;\n return _extends(_extends(_extends({}, transferLocale), {\n notFoundContent: renderEmpty('Transfer')\n }), locale);\n };\n _this.moveTo = function (direction) {\n var _this$props = _this.props,\n _this$props$targetKey = _this$props.targetKeys,\n targetKeys = _this$props$targetKey === void 0 ? [] : _this$props$targetKey,\n _this$props$dataSourc = _this$props.dataSource,\n dataSource = _this$props$dataSourc === void 0 ? [] : _this$props$dataSourc,\n onChange = _this$props.onChange;\n var _this$state = _this.state,\n sourceSelectedKeys = _this$state.sourceSelectedKeys,\n targetSelectedKeys = _this$state.targetSelectedKeys;\n var moveKeys = direction === 'right' ? sourceSelectedKeys : targetSelectedKeys;\n // filter the disabled options\n var newMoveKeys = moveKeys.filter(function (key) {\n return !dataSource.some(function (data) {\n return !!(key === data.key && data.disabled);\n });\n });\n // move items to target box\n var newTargetKeys = direction === 'right' ? newMoveKeys.concat(targetKeys) : targetKeys.filter(function (targetKey) {\n return !newMoveKeys.includes(targetKey);\n });\n // empty checked keys\n var oppositeDirection = direction === 'right' ? 'left' : 'right';\n _this.setStateKeys(oppositeDirection, []);\n _this.handleSelectChange(oppositeDirection, []);\n onChange === null || onChange === void 0 ? void 0 : onChange(newTargetKeys, direction, newMoveKeys);\n };\n _this.moveToLeft = function () {\n return _this.moveTo('left');\n };\n _this.moveToRight = function () {\n return _this.moveTo('right');\n };\n _this.onItemSelectAll = function (direction, selectedKeys, checkAll) {\n _this.setStateKeys(direction, function (prevKeys) {\n var mergedCheckedKeys = [];\n if (checkAll) {\n // Merge current keys with origin key\n mergedCheckedKeys = Array.from(new Set([].concat(_toConsumableArray(prevKeys), _toConsumableArray(selectedKeys))));\n } else {\n // Remove current keys from origin keys\n mergedCheckedKeys = prevKeys.filter(function (key) {\n return !selectedKeys.includes(key);\n });\n }\n _this.handleSelectChange(direction, mergedCheckedKeys);\n return mergedCheckedKeys;\n });\n };\n _this.onLeftItemSelectAll = function (selectedKeys, checkAll) {\n return _this.onItemSelectAll('left', selectedKeys, checkAll);\n };\n _this.onRightItemSelectAll = function (selectedKeys, checkAll) {\n return _this.onItemSelectAll('right', selectedKeys, checkAll);\n };\n _this.handleFilter = function (direction, e) {\n var onSearch = _this.props.onSearch;\n var value = e.target.value;\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(direction, value);\n };\n _this.handleLeftFilter = function (e) {\n return _this.handleFilter('left', e);\n };\n _this.handleRightFilter = function (e) {\n return _this.handleFilter('right', e);\n };\n _this.handleClear = function (direction) {\n var onSearch = _this.props.onSearch;\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(direction, '');\n };\n _this.handleLeftClear = function () {\n return _this.handleClear('left');\n };\n _this.handleRightClear = function () {\n return _this.handleClear('right');\n };\n _this.onItemSelect = function (direction, selectedKey, checked) {\n var _this$state2 = _this.state,\n sourceSelectedKeys = _this$state2.sourceSelectedKeys,\n targetSelectedKeys = _this$state2.targetSelectedKeys;\n var holder = direction === 'left' ? _toConsumableArray(sourceSelectedKeys) : _toConsumableArray(targetSelectedKeys);\n var index = holder.indexOf(selectedKey);\n if (index > -1) {\n holder.splice(index, 1);\n }\n if (checked) {\n holder.push(selectedKey);\n }\n _this.handleSelectChange(direction, holder);\n if (!_this.props.selectedKeys) {\n _this.setStateKeys(direction, holder);\n }\n };\n _this.onLeftItemSelect = function (selectedKey, checked) {\n return _this.onItemSelect('left', selectedKey, checked);\n };\n _this.onRightItemSelect = function (selectedKey, checked) {\n return _this.onItemSelect('right', selectedKey, checked);\n };\n _this.onRightItemRemove = function (selectedKeys) {\n var _this$props2 = _this.props,\n _this$props2$targetKe = _this$props2.targetKeys,\n targetKeys = _this$props2$targetKe === void 0 ? [] : _this$props2$targetKe,\n onChange = _this$props2.onChange;\n _this.setStateKeys('right', []);\n onChange === null || onChange === void 0 ? void 0 : onChange(targetKeys.filter(function (key) {\n return !selectedKeys.includes(key);\n }), 'left', _toConsumableArray(selectedKeys));\n };\n _this.handleScroll = function (direction, e) {\n var onScroll = _this.props.onScroll;\n onScroll === null || onScroll === void 0 ? void 0 : onScroll(direction, e);\n };\n _this.handleLeftScroll = function (e) {\n return _this.handleScroll('left', e);\n };\n _this.handleRightScroll = function (e) {\n return _this.handleScroll('right', e);\n };\n // eslint-disable-next-line class-methods-use-this\n _this.handleListStyle = function (listStyle, direction) {\n if (typeof listStyle === 'function') {\n return listStyle({\n direction: direction\n });\n }\n return listStyle;\n };\n var _props$selectedKeys = props.selectedKeys,\n selectedKeys = _props$selectedKeys === void 0 ? [] : _props$selectedKeys,\n _props$targetKeys = props.targetKeys,\n targetKeys = _props$targetKeys === void 0 ? [] : _props$targetKeys;\n _this.state = {\n sourceSelectedKeys: selectedKeys.filter(function (key) {\n return !targetKeys.includes(key);\n }),\n targetSelectedKeys: selectedKeys.filter(function (key) {\n return targetKeys.includes(key);\n })\n };\n return _this;\n }\n _createClass(Transfer, [{\n key: \"getTitles\",\n value: function getTitles(transferLocale) {\n var _a, _b;\n return (_b = (_a = this.props.titles) !== null && _a !== void 0 ? _a : transferLocale.titles) !== null && _b !== void 0 ? _b : [];\n }\n }, {\n key: \"handleSelectChange\",\n value: function handleSelectChange(direction, holder) {\n var _this$state3 = this.state,\n sourceSelectedKeys = _this$state3.sourceSelectedKeys,\n targetSelectedKeys = _this$state3.targetSelectedKeys;\n var onSelectChange = this.props.onSelectChange;\n if (!onSelectChange) {\n return;\n }\n if (direction === 'left') {\n onSelectChange(holder, targetSelectedKeys);\n } else {\n onSelectChange(sourceSelectedKeys, holder);\n }\n }\n }, {\n key: \"separateDataSource\",\n value: function separateDataSource() {\n var _this$props3 = this.props,\n _this$props3$dataSour = _this$props3.dataSource,\n dataSource = _this$props3$dataSour === void 0 ? [] : _this$props3$dataSour,\n rowKey = _this$props3.rowKey,\n _this$props3$targetKe = _this$props3.targetKeys,\n targetKeys = _this$props3$targetKe === void 0 ? [] : _this$props3$targetKe;\n var leftDataSource = [];\n var rightDataSource = new Array(targetKeys.length);\n dataSource.forEach(function (record) {\n if (rowKey) {\n record = _extends(_extends({}, record), {\n key: rowKey(record)\n });\n }\n // rightDataSource should be ordered by targetKeys\n // leftDataSource should be ordered by dataSource\n var indexOfKey = targetKeys.indexOf(record.key);\n if (indexOfKey !== -1) {\n rightDataSource[indexOfKey] = record;\n } else {\n leftDataSource.push(record);\n }\n });\n return {\n leftDataSource: leftDataSource,\n rightDataSource: rightDataSource\n };\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Transfer\",\n defaultLocale: defaultLocale.Transfer\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref3) {\n var getPrefixCls = _ref3.getPrefixCls,\n renderEmpty = _ref3.renderEmpty,\n direction = _ref3.direction;\n return /*#__PURE__*/React.createElement(FormItemInputContext.Consumer, null, function (_ref4) {\n var _classNames;\n var hasFeedback = _ref4.hasFeedback,\n contextStatus = _ref4.status;\n var _this2$props = _this2.props,\n customizePrefixCls = _this2$props.prefixCls,\n className = _this2$props.className,\n disabled = _this2$props.disabled,\n _this2$props$operatio = _this2$props.operations,\n operations = _this2$props$operatio === void 0 ? [] : _this2$props$operatio,\n _this2$props$showSear = _this2$props.showSearch,\n showSearch = _this2$props$showSear === void 0 ? false : _this2$props$showSear,\n footer = _this2$props.footer,\n style = _this2$props.style,\n _this2$props$listStyl = _this2$props.listStyle,\n listStyle = _this2$props$listStyl === void 0 ? {} : _this2$props$listStyl,\n operationStyle = _this2$props.operationStyle,\n filterOption = _this2$props.filterOption,\n render = _this2$props.render,\n children = _this2$props.children,\n showSelectAll = _this2$props.showSelectAll,\n oneWay = _this2$props.oneWay,\n pagination = _this2$props.pagination,\n customStatus = _this2$props.status;\n var prefixCls = getPrefixCls('transfer', customizePrefixCls);\n var locale = _this2.getLocale(contextLocale, renderEmpty || defaultRenderEmpty);\n var _this2$state = _this2.state,\n sourceSelectedKeys = _this2$state.sourceSelectedKeys,\n targetSelectedKeys = _this2$state.targetSelectedKeys;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var mergedPagination = !children && pagination;\n var _this2$separateDataSo = _this2.separateDataSource(),\n leftDataSource = _this2$separateDataSo.leftDataSource,\n rightDataSource = _this2$separateDataSo.rightDataSource;\n var leftActive = targetSelectedKeys.length > 0;\n var rightActive = sourceSelectedKeys.length > 0;\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-customize-list\"), !!children), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), className);\n var titles = _this2.getTitles(locale);\n var selectAllLabels = _this2.props.selectAllLabels || [];\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, /*#__PURE__*/React.createElement(List, _extends({\n prefixCls: \"\".concat(prefixCls, \"-list\"),\n titleText: titles === null || titles === void 0 ? void 0 : titles[0],\n dataSource: leftDataSource,\n filterOption: filterOption,\n style: _this2.handleListStyle(listStyle, 'left'),\n checkedKeys: sourceSelectedKeys,\n handleFilter: _this2.handleLeftFilter,\n handleClear: _this2.handleLeftClear,\n onItemSelect: _this2.onLeftItemSelect,\n onItemSelectAll: _this2.onLeftItemSelectAll,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: _this2.handleLeftScroll,\n disabled: disabled,\n direction: direction === 'rtl' ? 'right' : 'left',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[0],\n pagination: mergedPagination\n }, locale)), /*#__PURE__*/React.createElement(Operation, {\n className: \"\".concat(prefixCls, \"-operation\"),\n rightActive: rightActive,\n rightArrowText: operations[0],\n moveToRight: _this2.moveToRight,\n leftActive: leftActive,\n leftArrowText: operations[1],\n moveToLeft: _this2.moveToLeft,\n style: operationStyle,\n disabled: disabled,\n direction: direction,\n oneWay: oneWay\n }), /*#__PURE__*/React.createElement(List, _extends({\n prefixCls: \"\".concat(prefixCls, \"-list\"),\n titleText: titles === null || titles === void 0 ? void 0 : titles[1],\n dataSource: rightDataSource,\n filterOption: filterOption,\n style: _this2.handleListStyle(listStyle, 'right'),\n checkedKeys: targetSelectedKeys,\n handleFilter: _this2.handleRightFilter,\n handleClear: _this2.handleRightClear,\n onItemSelect: _this2.onRightItemSelect,\n onItemSelectAll: _this2.onRightItemSelectAll,\n onItemRemove: _this2.onRightItemRemove,\n render: render,\n showSearch: showSearch,\n renderList: children,\n footer: footer,\n onScroll: _this2.handleRightScroll,\n disabled: disabled,\n direction: direction === 'rtl' ? 'left' : 'right',\n showSelectAll: showSelectAll,\n selectAllLabel: selectAllLabels[1],\n showRemove: oneWay,\n pagination: mergedPagination\n }, locale)));\n });\n });\n });\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref5) {\n var selectedKeys = _ref5.selectedKeys,\n targetKeys = _ref5.targetKeys,\n pagination = _ref5.pagination,\n children = _ref5.children;\n if (selectedKeys) {\n var mergedTargetKeys = targetKeys || [];\n return {\n sourceSelectedKeys: selectedKeys.filter(function (key) {\n return !mergedTargetKeys.includes(key);\n }),\n targetSelectedKeys: selectedKeys.filter(function (key) {\n return mergedTargetKeys.includes(key);\n })\n };\n }\n process.env.NODE_ENV !== \"production\" ? warning(!pagination || !children, 'Transfer', '`pagination` not support customize render list.') : void 0;\n return null;\n }\n }]);\n return Transfer;\n}(React.Component); // For high-level customized Transfer @dqaria\nTransfer.List = List;\nTransfer.Operation = Operation;\nTransfer.Search = Search;\nexport default Transfer;","import * as React from 'react';\nvar LegacySelectContext = /*#__PURE__*/React.createContext(null);\nexport default LegacySelectContext;","import * as React from 'react';\nvar TreeSelectContext = /*#__PURE__*/React.createContext(null);\nexport default TreeSelectContext;","export function toArray(value) {\n if (Array.isArray(value)) {\n return value;\n }\n\n return value !== undefined ? [value] : [];\n}\nexport function fillFieldNames(fieldNames) {\n var _ref = fieldNames || {},\n label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n\n var mergedValue = value || 'value';\n return {\n _title: label ? [label] : ['title', 'label'],\n value: mergedValue,\n key: mergedValue,\n children: children || 'children'\n };\n}\nexport function isCheckDisabled(node) {\n return !node || node.disabled || node.disableCheckbox || node.checkable === false;\n}\n/** Loop fetch all the keys exist in the tree */\n\nexport function getAllKeys(treeData, fieldNames) {\n var keys = [];\n\n function dig(list) {\n list.forEach(function (item) {\n var children = item[fieldNames.children];\n\n if (children) {\n keys.push(item[fieldNames.value]);\n dig(children);\n }\n });\n }\n\n dig(treeData);\n return keys;\n}\nexport function isNil(val) {\n return val === null || val === undefined;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport { useBaseProps } from 'rc-select';\nimport Tree from 'rc-tree';\nimport LegacyContext from \"./LegacyContext\";\nimport TreeSelectContext from \"./TreeSelectContext\";\nimport { getAllKeys, isCheckDisabled } from \"./utils/valueUtil\";\nvar HIDDEN_STYLE = {\n width: 0,\n height: 0,\n display: 'flex',\n overflow: 'hidden',\n opacity: 0,\n border: 0,\n padding: 0,\n margin: 0\n};\n\nvar OptionList = function OptionList(_, ref) {\n var _useBaseProps = useBaseProps(),\n prefixCls = _useBaseProps.prefixCls,\n multiple = _useBaseProps.multiple,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n open = _useBaseProps.open,\n notFoundContent = _useBaseProps.notFoundContent;\n\n var _React$useContext = React.useContext(TreeSelectContext),\n virtual = _React$useContext.virtual,\n listHeight = _React$useContext.listHeight,\n listItemHeight = _React$useContext.listItemHeight,\n treeData = _React$useContext.treeData,\n fieldNames = _React$useContext.fieldNames,\n onSelect = _React$useContext.onSelect,\n dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth,\n treeExpandAction = _React$useContext.treeExpandAction;\n\n var _React$useContext2 = React.useContext(LegacyContext),\n checkable = _React$useContext2.checkable,\n checkedKeys = _React$useContext2.checkedKeys,\n halfCheckedKeys = _React$useContext2.halfCheckedKeys,\n treeExpandedKeys = _React$useContext2.treeExpandedKeys,\n treeDefaultExpandAll = _React$useContext2.treeDefaultExpandAll,\n treeDefaultExpandedKeys = _React$useContext2.treeDefaultExpandedKeys,\n onTreeExpand = _React$useContext2.onTreeExpand,\n treeIcon = _React$useContext2.treeIcon,\n showTreeIcon = _React$useContext2.showTreeIcon,\n switcherIcon = _React$useContext2.switcherIcon,\n treeLine = _React$useContext2.treeLine,\n treeNodeFilterProp = _React$useContext2.treeNodeFilterProp,\n loadData = _React$useContext2.loadData,\n treeLoadedKeys = _React$useContext2.treeLoadedKeys,\n treeMotion = _React$useContext2.treeMotion,\n onTreeLoad = _React$useContext2.onTreeLoad,\n keyEntities = _React$useContext2.keyEntities;\n\n var treeRef = React.useRef();\n var memoTreeData = useMemo(function () {\n return treeData;\n }, [open, treeData], function (prev, next) {\n return next[0] && prev[1] !== next[1];\n }); // ========================== Values ==========================\n\n var mergedCheckedKeys = React.useMemo(function () {\n if (!checkable) {\n return null;\n }\n\n return {\n checked: checkedKeys,\n halfChecked: halfCheckedKeys\n };\n }, [checkable, checkedKeys, halfCheckedKeys]); // ========================== Scroll ==========================\n\n React.useEffect(function () {\n // Single mode should scroll to current key\n if (open && !multiple && checkedKeys.length) {\n var _treeRef$current;\n\n (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.scrollTo({\n key: checkedKeys[0]\n });\n }\n }, [open]); // ========================== Search ==========================\n\n var lowerSearchValue = String(searchValue).toLowerCase();\n\n var filterTreeNode = function filterTreeNode(treeNode) {\n if (!lowerSearchValue) {\n return false;\n }\n\n return String(treeNode[treeNodeFilterProp]).toLowerCase().includes(lowerSearchValue);\n }; // =========================== Keys ===========================\n\n\n var _React$useState = React.useState(treeDefaultExpandedKeys),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n expandedKeys = _React$useState2[0],\n setExpandedKeys = _React$useState2[1];\n\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n searchExpandedKeys = _React$useState4[0],\n setSearchExpandedKeys = _React$useState4[1];\n\n var mergedExpandedKeys = React.useMemo(function () {\n if (treeExpandedKeys) {\n return _toConsumableArray(treeExpandedKeys);\n }\n\n return searchValue ? searchExpandedKeys : expandedKeys;\n }, [expandedKeys, searchExpandedKeys, treeExpandedKeys, searchValue]);\n React.useEffect(function () {\n if (searchValue) {\n setSearchExpandedKeys(getAllKeys(treeData, fieldNames));\n }\n }, [searchValue]);\n\n var onInternalExpand = function onInternalExpand(keys) {\n setExpandedKeys(keys);\n setSearchExpandedKeys(keys);\n\n if (onTreeExpand) {\n onTreeExpand(keys);\n }\n }; // ========================== Events ==========================\n\n\n var onListMouseDown = function onListMouseDown(event) {\n event.preventDefault();\n };\n\n var onInternalSelect = function onInternalSelect(__, info) {\n var node = info.node;\n\n if (checkable && isCheckDisabled(node)) {\n return;\n }\n\n onSelect(node.key, {\n selected: !checkedKeys.includes(node.key)\n });\n\n if (!multiple) {\n toggleOpen(false);\n }\n }; // ========================= Keyboard =========================\n\n\n var _React$useState5 = React.useState(null),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n activeKey = _React$useState6[0],\n setActiveKey = _React$useState6[1];\n\n var activeEntity = keyEntities[activeKey];\n React.useImperativeHandle(ref, function () {\n var _treeRef$current2;\n\n return {\n scrollTo: (_treeRef$current2 = treeRef.current) === null || _treeRef$current2 === void 0 ? void 0 : _treeRef$current2.scrollTo,\n onKeyDown: function onKeyDown(event) {\n var _treeRef$current3;\n\n var which = event.which;\n\n switch (which) {\n // >>> Arrow keys\n case KeyCode.UP:\n case KeyCode.DOWN:\n case KeyCode.LEFT:\n case KeyCode.RIGHT:\n (_treeRef$current3 = treeRef.current) === null || _treeRef$current3 === void 0 ? void 0 : _treeRef$current3.onKeyDown(event);\n break;\n // >>> Select item\n\n case KeyCode.ENTER:\n {\n if (activeEntity) {\n var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {},\n selectable = _ref.selectable,\n value = _ref.value;\n\n if (selectable !== false) {\n onInternalSelect(null, {\n node: {\n key: activeKey\n },\n selected: !checkedKeys.includes(value)\n });\n }\n }\n\n break;\n }\n // >>> Close\n\n case KeyCode.ESC:\n {\n toggleOpen(false);\n }\n }\n },\n onKeyUp: function onKeyUp() {}\n };\n }); // ========================== Render ==========================\n\n if (memoTreeData.length === 0) {\n return /*#__PURE__*/React.createElement(\"div\", {\n role: \"listbox\",\n className: \"\".concat(prefixCls, \"-empty\"),\n onMouseDown: onListMouseDown\n }, notFoundContent);\n }\n\n var treeProps = {\n fieldNames: fieldNames\n };\n\n if (treeLoadedKeys) {\n treeProps.loadedKeys = treeLoadedKeys;\n }\n\n if (mergedExpandedKeys) {\n treeProps.expandedKeys = mergedExpandedKeys;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onListMouseDown\n }, activeEntity && open && /*#__PURE__*/React.createElement(\"span\", {\n style: HIDDEN_STYLE,\n \"aria-live\": \"assertive\"\n }, activeEntity.node.value), /*#__PURE__*/React.createElement(Tree, _extends({\n ref: treeRef,\n focusable: false,\n prefixCls: \"\".concat(prefixCls, \"-tree\"),\n treeData: memoTreeData,\n height: listHeight,\n itemHeight: listItemHeight,\n virtual: virtual !== false && dropdownMatchSelectWidth !== false,\n multiple: multiple,\n icon: treeIcon,\n showIcon: showTreeIcon,\n switcherIcon: switcherIcon,\n showLine: treeLine,\n loadData: searchValue ? null : loadData,\n motion: treeMotion,\n activeKey: activeKey // We handle keys by out instead tree self\n ,\n checkable: checkable,\n checkStrictly: true,\n checkedKeys: mergedCheckedKeys,\n selectedKeys: !checkable ? checkedKeys : [],\n defaultExpandAll: treeDefaultExpandAll\n }, treeProps, {\n // Proxy event out\n onActiveChange: setActiveKey,\n onSelect: onInternalSelect,\n onCheck: onInternalSelect,\n onExpand: onInternalExpand,\n onLoad: onTreeLoad,\n filterTreeNode: filterTreeNode,\n expandAction: treeExpandAction\n })));\n};\n\nvar RefOptionList = /*#__PURE__*/React.forwardRef(OptionList);\nRefOptionList.displayName = 'OptionList';\nexport default RefOptionList;","/* istanbul ignore file */\n\n/** This is a placeholder, not real render in dom */\nvar TreeNode = function TreeNode() {\n return null;\n};\n\nexport default TreeNode;","import { isCheckDisabled } from \"./valueUtil\";\nexport var SHOW_ALL = 'SHOW_ALL';\nexport var SHOW_PARENT = 'SHOW_PARENT';\nexport var SHOW_CHILD = 'SHOW_CHILD';\nexport function formatStrategyValues(values, strategy, keyEntities, fieldNames) {\n var valueSet = new Set(values);\n\n if (strategy === SHOW_CHILD) {\n return values.filter(function (key) {\n var entity = keyEntities[key];\n\n if (entity && entity.children && entity.children.some(function (_ref) {\n var node = _ref.node;\n return valueSet.has(node[fieldNames.value]);\n }) && entity.children.every(function (_ref2) {\n var node = _ref2.node;\n return isCheckDisabled(node) || valueSet.has(node[fieldNames.value]);\n })) {\n return false;\n }\n\n return true;\n });\n }\n\n if (strategy === SHOW_PARENT) {\n return values.filter(function (key) {\n var entity = keyEntities[key];\n var parent = entity ? entity.parent : null;\n\n if (parent && !isCheckDisabled(parent.node) && valueSet.has(parent.key)) {\n return false;\n }\n\n return true;\n });\n }\n\n return values;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"children\", \"value\"];\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport TreeNode from \"../TreeNode\";\nexport function convertChildrenToData(nodes) {\n return toArray(nodes).map(function (node) {\n if (! /*#__PURE__*/React.isValidElement(node) || !node.type) {\n return null;\n }\n\n var _ref = node,\n key = _ref.key,\n _ref$props = _ref.props,\n children = _ref$props.children,\n value = _ref$props.value,\n restProps = _objectWithoutProperties(_ref$props, _excluded);\n\n var data = _objectSpread({\n key: key,\n value: value\n }, restProps);\n\n var childData = convertChildrenToData(children);\n\n if (childData.length) {\n data.children = childData;\n }\n\n return data;\n }).filter(function (data) {\n return data;\n });\n}\nexport function fillLegacyProps(dataNode) {\n if (!dataNode) {\n return dataNode;\n }\n\n var cloneNode = _objectSpread({}, dataNode);\n\n if (!('props' in cloneNode)) {\n Object.defineProperty(cloneNode, 'props', {\n get: function get() {\n warning(false, 'New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access.');\n return cloneNode;\n }\n });\n }\n\n return cloneNode;\n}\nexport function fillAdditionalInfo(extra, triggerValue, checkedValues, treeData, showPosition, fieldNames) {\n var triggerNode = null;\n var nodeList = null;\n\n function generateMap() {\n function dig(list) {\n var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';\n var parentIncluded = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return list.map(function (option, index) {\n var pos = \"\".concat(level, \"-\").concat(index);\n var value = option[fieldNames.value];\n var included = checkedValues.includes(value);\n var children = dig(option[fieldNames.children] || [], pos, included);\n var node = /*#__PURE__*/React.createElement(TreeNode, option, children.map(function (child) {\n return child.node;\n })); // Link with trigger node\n\n if (triggerValue === value) {\n triggerNode = node;\n }\n\n if (included) {\n var checkedNode = {\n pos: pos,\n node: node,\n children: children\n };\n\n if (!parentIncluded) {\n nodeList.push(checkedNode);\n }\n\n return checkedNode;\n }\n\n return null;\n }).filter(function (node) {\n return node;\n });\n }\n\n if (!nodeList) {\n nodeList = [];\n dig(treeData); // Sort to keep the checked node length\n\n nodeList.sort(function (_ref2, _ref3) {\n var val1 = _ref2.node.props.value;\n var val2 = _ref3.node.props.value;\n var index1 = checkedValues.indexOf(val1);\n var index2 = checkedValues.indexOf(val2);\n return index1 - index2;\n });\n }\n }\n\n Object.defineProperty(extra, 'triggerNode', {\n get: function get() {\n warning(false, '`triggerNode` is deprecated. Please consider decoupling data with node.');\n generateMap();\n return triggerNode;\n }\n });\n Object.defineProperty(extra, 'allCheckedNodes', {\n get: function get() {\n warning(false, '`allCheckedNodes` is deprecated. Please consider decoupling data with node.');\n generateMap();\n\n if (showPosition) {\n return nodeList;\n }\n\n return nodeList.map(function (_ref4) {\n var node = _ref4.node;\n return node;\n });\n }\n });\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertChildrenToData } from \"../utils/legacyUtil\";\n\nfunction parseSimpleTreeData(treeData, _ref) {\n var id = _ref.id,\n pId = _ref.pId,\n rootPId = _ref.rootPId;\n var keyNodes = {};\n var rootNodeList = []; // Fill in the map\n\n var nodeList = treeData.map(function (node) {\n var clone = _objectSpread({}, node);\n\n var key = clone[id];\n keyNodes[key] = clone;\n clone.key = clone.key || key;\n return clone;\n }); // Connect tree\n\n nodeList.forEach(function (node) {\n var parentKey = node[pId];\n var parent = keyNodes[parentKey]; // Fill parent\n\n if (parent) {\n parent.children = parent.children || [];\n parent.children.push(node);\n } // Fill root tree node\n\n\n if (parentKey === rootPId || !parent && rootPId === null) {\n rootNodeList.push(node);\n }\n });\n return rootNodeList;\n}\n/**\n * Convert `treeData` or `children` into formatted `treeData`.\n * Will not re-calculate if `treeData` or `children` not change.\n */\n\n\nexport default function useTreeData(treeData, children, simpleMode) {\n return React.useMemo(function () {\n if (treeData) {\n return simpleMode ? parseSimpleTreeData(treeData, _objectSpread({\n id: 'id',\n pId: 'pId',\n rootPId: null\n }, simpleMode !== true ? simpleMode : {})) : treeData;\n }\n\n return convertChildrenToData(children);\n }, [children, simpleMode, treeData]);\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\n\n/**\n * This function will try to call requestIdleCallback if available to save performance.\n * No need `getLabel` here since already fetch on `rawLabeledValue`.\n */\nexport default (function (values) {\n var cacheRef = React.useRef({\n valueLabels: new Map()\n });\n return React.useMemo(function () {\n var valueLabels = cacheRef.current.valueLabels;\n var valueLabelsCache = new Map();\n var filledValues = values.map(function (item) {\n var _item$label;\n\n var value = item.value;\n var mergedLabel = (_item$label = item.label) !== null && _item$label !== void 0 ? _item$label : valueLabels.get(value); // Save in cache\n\n valueLabelsCache.set(value, mergedLabel);\n return _objectSpread(_objectSpread({}, item), {}, {\n label: mergedLabel\n });\n });\n cacheRef.current.valueLabels = valueLabelsCache;\n return [filledValues];\n }, [values]);\n});","import * as React from 'react';\n/**\n * Same as `React.useCallback` but always return a memoized function\n * but redirect to real function.\n */\n\nexport default function useRefFunc(callback) {\n var funcRef = React.useRef();\n funcRef.current = callback;\n var cacheFn = React.useCallback(function () {\n return funcRef.current.apply(funcRef, arguments);\n }, []);\n return cacheFn;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { convertDataToEntities } from \"rc-tree/es/utils/treeUtil\";\nimport warning from \"rc-util/es/warning\";\nimport { isNil } from \"../utils/valueUtil\";\nexport default (function (treeData, fieldNames) {\n return React.useMemo(function () {\n var collection = convertDataToEntities(treeData, {\n fieldNames: fieldNames,\n initWrapper: function initWrapper(wrapper) {\n return _objectSpread(_objectSpread({}, wrapper), {}, {\n valueEntities: new Map()\n });\n },\n processEntity: function processEntity(entity, wrapper) {\n var val = entity.node[fieldNames.value]; // Check if exist same value\n\n if (process.env.NODE_ENV !== 'production') {\n var key = entity.node.key;\n warning(!isNil(val), 'TreeNode `value` is invalidate: undefined');\n warning(!wrapper.valueEntities.has(val), \"Same `value` exist in the tree: \".concat(val));\n warning(!key || String(key) === String(val), \"`key` or `value` with TreeNode must be the same or you can remove one of them. key: \".concat(key, \", value: \").concat(val, \".\"));\n }\n\n wrapper.valueEntities.set(val, entity);\n }\n });\n return collection;\n }, [treeData, fieldNames]);\n});","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nexport default (function (rawLabeledValues, rawHalfCheckedValues, treeConduction, keyEntities) {\n return React.useMemo(function () {\n var checkedKeys = rawLabeledValues.map(function (_ref) {\n var value = _ref.value;\n return value;\n });\n var halfCheckedKeys = rawHalfCheckedValues.map(function (_ref2) {\n var value = _ref2.value;\n return value;\n });\n var missingValues = checkedKeys.filter(function (key) {\n return !keyEntities[key];\n });\n\n if (treeConduction) {\n var _conductCheck = conductCheck(checkedKeys, true, keyEntities);\n\n checkedKeys = _conductCheck.checkedKeys;\n halfCheckedKeys = _conductCheck.halfCheckedKeys;\n }\n\n return [// Checked keys should fill with missing keys which should de-duplicated\n Array.from(new Set([].concat(_toConsumableArray(missingValues), _toConsumableArray(checkedKeys)))), // Half checked keys\n halfCheckedKeys];\n }, [rawLabeledValues, rawHalfCheckedValues, treeConduction, keyEntities]);\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport { fillLegacyProps } from \"../utils/legacyUtil\";\nexport default (function (treeData, searchValue, _ref) {\n var treeNodeFilterProp = _ref.treeNodeFilterProp,\n filterTreeNode = _ref.filterTreeNode,\n fieldNames = _ref.fieldNames;\n var fieldChildren = fieldNames.children;\n return React.useMemo(function () {\n if (!searchValue || filterTreeNode === false) {\n return treeData;\n }\n\n var filterOptionFunc;\n\n if (typeof filterTreeNode === 'function') {\n filterOptionFunc = filterTreeNode;\n } else {\n var upperStr = searchValue.toUpperCase();\n\n filterOptionFunc = function filterOptionFunc(_, dataNode) {\n var value = dataNode[treeNodeFilterProp];\n return String(value).toUpperCase().includes(upperStr);\n };\n }\n\n function dig(list) {\n var keepAll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return list.map(function (dataNode) {\n var children = dataNode[fieldChildren];\n var match = keepAll || filterOptionFunc(searchValue, fillLegacyProps(dataNode));\n var childList = dig(children || [], match);\n\n if (match || childList.length) {\n return _objectSpread(_objectSpread({}, dataNode), {}, _defineProperty({\n isLeaf: undefined\n }, fieldChildren, childList));\n }\n\n return null;\n }).filter(function (node) {\n return node;\n });\n }\n\n return dig(treeData);\n }, [treeData, searchValue, fieldChildren, treeNodeFilterProp, filterTreeNode]);\n});","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport warning from \"rc-util/es/warning\";\nimport { toArray } from \"./valueUtil\";\n\nfunction warningProps(props) {\n var searchPlaceholder = props.searchPlaceholder,\n treeCheckStrictly = props.treeCheckStrictly,\n treeCheckable = props.treeCheckable,\n labelInValue = props.labelInValue,\n value = props.value,\n multiple = props.multiple;\n warning(!searchPlaceholder, '`searchPlaceholder` has been removed.');\n\n if (treeCheckStrictly && labelInValue === false) {\n warning(false, '`treeCheckStrictly` will force set `labelInValue` to `true`.');\n }\n\n if (labelInValue || treeCheckStrictly) {\n warning(toArray(value).every(function (val) {\n return val && _typeof(val) === 'object' && 'value' in val;\n }), 'Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead.');\n }\n\n if (treeCheckStrictly || multiple || treeCheckable) {\n warning(!value || Array.isArray(value), '`value` should be an array when `TreeSelect` is checkable or multiple.');\n } else {\n warning(!Array.isArray(value), '`value` should not be array when `TreeSelect` is single mode.');\n }\n}\n\nexport default warningProps;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"id\", \"prefixCls\", \"value\", \"defaultValue\", \"onChange\", \"onSelect\", \"onDeselect\", \"searchValue\", \"inputValue\", \"onSearch\", \"autoClearSearchValue\", \"filterTreeNode\", \"treeNodeFilterProp\", \"showCheckedStrategy\", \"treeNodeLabelProp\", \"multiple\", \"treeCheckable\", \"treeCheckStrictly\", \"labelInValue\", \"fieldNames\", \"treeDataSimpleMode\", \"treeData\", \"children\", \"loadData\", \"treeLoadedKeys\", \"onTreeLoad\", \"treeDefaultExpandAll\", \"treeExpandedKeys\", \"treeDefaultExpandedKeys\", \"onTreeExpand\", \"treeExpandAction\", \"virtual\", \"listHeight\", \"listItemHeight\", \"onDropdownVisibleChange\", \"dropdownMatchSelectWidth\", \"treeLine\", \"treeIcon\", \"showTreeIcon\", \"switcherIcon\", \"treeMotion\"];\nimport * as React from 'react';\nimport { BaseSelect } from 'rc-select';\nimport { conductCheck } from \"rc-tree/es/utils/conductUtil\";\nimport useId from \"rc-select/es/hooks/useId\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport OptionList from \"./OptionList\";\nimport TreeNode from \"./TreeNode\";\nimport { formatStrategyValues, SHOW_ALL, SHOW_PARENT, SHOW_CHILD } from \"./utils/strategyUtil\";\nimport TreeSelectContext from \"./TreeSelectContext\";\nimport LegacyContext from \"./LegacyContext\";\nimport useTreeData from \"./hooks/useTreeData\";\nimport { toArray, fillFieldNames, isNil } from \"./utils/valueUtil\";\nimport useCache from \"./hooks/useCache\";\nimport useRefFunc from \"./hooks/useRefFunc\";\nimport useDataEntities from \"./hooks/useDataEntities\";\nimport { fillAdditionalInfo, fillLegacyProps } from \"./utils/legacyUtil\";\nimport useCheckedKeys from \"./hooks/useCheckedKeys\";\nimport useFilterTreeData from \"./hooks/useFilterTreeData\";\nimport warningProps from \"./utils/warningPropsUtil\";\nimport warning from \"rc-util/es/warning\";\n\nfunction isRawValue(value) {\n return !value || _typeof(value) !== 'object';\n}\n\nvar TreeSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var id = props.id,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tree-select' : _props$prefixCls,\n value = props.value,\n defaultValue = props.defaultValue,\n onChange = props.onChange,\n onSelect = props.onSelect,\n onDeselect = props.onDeselect,\n searchValue = props.searchValue,\n inputValue = props.inputValue,\n onSearch = props.onSearch,\n _props$autoClearSearc = props.autoClearSearchValue,\n autoClearSearchValue = _props$autoClearSearc === void 0 ? true : _props$autoClearSearc,\n filterTreeNode = props.filterTreeNode,\n _props$treeNodeFilter = props.treeNodeFilterProp,\n treeNodeFilterProp = _props$treeNodeFilter === void 0 ? 'value' : _props$treeNodeFilter,\n _props$showCheckedStr = props.showCheckedStrategy,\n showCheckedStrategy = _props$showCheckedStr === void 0 ? SHOW_CHILD : _props$showCheckedStr,\n treeNodeLabelProp = props.treeNodeLabelProp,\n multiple = props.multiple,\n treeCheckable = props.treeCheckable,\n treeCheckStrictly = props.treeCheckStrictly,\n labelInValue = props.labelInValue,\n fieldNames = props.fieldNames,\n treeDataSimpleMode = props.treeDataSimpleMode,\n treeData = props.treeData,\n children = props.children,\n loadData = props.loadData,\n treeLoadedKeys = props.treeLoadedKeys,\n onTreeLoad = props.onTreeLoad,\n treeDefaultExpandAll = props.treeDefaultExpandAll,\n treeExpandedKeys = props.treeExpandedKeys,\n treeDefaultExpandedKeys = props.treeDefaultExpandedKeys,\n onTreeExpand = props.onTreeExpand,\n treeExpandAction = props.treeExpandAction,\n virtual = props.virtual,\n _props$listHeight = props.listHeight,\n listHeight = _props$listHeight === void 0 ? 200 : _props$listHeight,\n _props$listItemHeight = props.listItemHeight,\n listItemHeight = _props$listItemHeight === void 0 ? 20 : _props$listItemHeight,\n onDropdownVisibleChange = props.onDropdownVisibleChange,\n _props$dropdownMatchS = props.dropdownMatchSelectWidth,\n dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? true : _props$dropdownMatchS,\n treeLine = props.treeLine,\n treeIcon = props.treeIcon,\n showTreeIcon = props.showTreeIcon,\n switcherIcon = props.switcherIcon,\n treeMotion = props.treeMotion,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedId = useId(id);\n var treeConduction = treeCheckable && !treeCheckStrictly;\n var mergedCheckable = treeCheckable || treeCheckStrictly;\n var mergedLabelInValue = treeCheckStrictly || labelInValue;\n var mergedMultiple = mergedCheckable || multiple;\n\n var _useMergedState = useMergedState(defaultValue, {\n value: value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n internalValue = _useMergedState2[0],\n setInternalValue = _useMergedState2[1]; // ========================== Warning ===========================\n\n\n if (process.env.NODE_ENV !== 'production') {\n warningProps(props);\n } // ========================= FieldNames =========================\n\n\n var mergedFieldNames = React.useMemo(function () {\n return fillFieldNames(fieldNames);\n },\n /* eslint-disable react-hooks/exhaustive-deps */\n [JSON.stringify(fieldNames)]\n /* eslint-enable react-hooks/exhaustive-deps */\n ); // =========================== Search ===========================\n\n var _useMergedState3 = useMergedState('', {\n value: searchValue !== undefined ? searchValue : inputValue,\n postState: function postState(search) {\n return search || '';\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedSearchValue = _useMergedState4[0],\n setSearchValue = _useMergedState4[1];\n\n var onInternalSearch = function onInternalSearch(searchText) {\n setSearchValue(searchText);\n onSearch === null || onSearch === void 0 ? void 0 : onSearch(searchText);\n }; // ============================ Data ============================\n // `useTreeData` only do convert of `children` or `simpleMode`.\n // Else will return origin `treeData` for perf consideration.\n // Do not do anything to loop the data.\n\n\n var mergedTreeData = useTreeData(treeData, children, treeDataSimpleMode);\n\n var _useDataEntities = useDataEntities(mergedTreeData, mergedFieldNames),\n keyEntities = _useDataEntities.keyEntities,\n valueEntities = _useDataEntities.valueEntities;\n /** Get `missingRawValues` which not exist in the tree yet */\n\n\n var splitRawValues = React.useCallback(function (newRawValues) {\n var missingRawValues = [];\n var existRawValues = []; // Keep missing value in the cache\n\n newRawValues.forEach(function (val) {\n if (valueEntities.has(val)) {\n existRawValues.push(val);\n } else {\n missingRawValues.push(val);\n }\n });\n return {\n missingRawValues: missingRawValues,\n existRawValues: existRawValues\n };\n }, [valueEntities]); // Filtered Tree\n\n var filteredTreeData = useFilterTreeData(mergedTreeData, mergedSearchValue, {\n fieldNames: mergedFieldNames,\n treeNodeFilterProp: treeNodeFilterProp,\n filterTreeNode: filterTreeNode\n }); // =========================== Label ============================\n\n var getLabel = React.useCallback(function (item) {\n if (item) {\n if (treeNodeLabelProp) {\n return item[treeNodeLabelProp];\n } // Loop from fieldNames\n\n\n var titleList = mergedFieldNames._title;\n\n for (var i = 0; i < titleList.length; i += 1) {\n var title = item[titleList[i]];\n\n if (title !== undefined) {\n return title;\n }\n }\n }\n }, [mergedFieldNames, treeNodeLabelProp]); // ========================= Wrap Value =========================\n\n var toLabeledValues = React.useCallback(function (draftValues) {\n var values = toArray(draftValues);\n return values.map(function (val) {\n if (isRawValue(val)) {\n return {\n value: val\n };\n }\n\n return val;\n });\n }, []);\n var convert2LabelValues = React.useCallback(function (draftValues) {\n var values = toLabeledValues(draftValues);\n return values.map(function (item) {\n var rawLabel = item.label;\n var rawValue = item.value,\n rawHalfChecked = item.halfChecked;\n var rawDisabled;\n var entity = valueEntities.get(rawValue); // Fill missing label & status\n\n if (entity) {\n var _rawLabel;\n\n rawLabel = (_rawLabel = rawLabel) !== null && _rawLabel !== void 0 ? _rawLabel : getLabel(entity.node);\n rawDisabled = entity.node.disabled;\n } else if (rawLabel === undefined) {\n // We try to find in current `labelInValue` value\n var labelInValueItem = toLabeledValues(internalValue).find(function (labeledItem) {\n return labeledItem.value === rawValue;\n });\n rawLabel = labelInValueItem.label;\n }\n\n return {\n label: rawLabel,\n value: rawValue,\n halfChecked: rawHalfChecked,\n disabled: rawDisabled\n };\n });\n }, [valueEntities, getLabel, toLabeledValues, internalValue]); // =========================== Values ===========================\n\n var rawMixedLabeledValues = React.useMemo(function () {\n return toLabeledValues(internalValue);\n }, [toLabeledValues, internalValue]); // Split value into full check and half check\n\n var _React$useMemo = React.useMemo(function () {\n var fullCheckValues = [];\n var halfCheckValues = [];\n rawMixedLabeledValues.forEach(function (item) {\n if (item.halfChecked) {\n halfCheckValues.push(item);\n } else {\n fullCheckValues.push(item);\n }\n });\n return [fullCheckValues, halfCheckValues];\n }, [rawMixedLabeledValues]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n rawLabeledValues = _React$useMemo2[0],\n rawHalfLabeledValues = _React$useMemo2[1]; // const [mergedValues] = useCache(rawLabeledValues);\n\n\n var rawValues = React.useMemo(function () {\n return rawLabeledValues.map(function (item) {\n return item.value;\n });\n }, [rawLabeledValues]); // Convert value to key. Will fill missed keys for conduct check.\n\n var _useCheckedKeys = useCheckedKeys(rawLabeledValues, rawHalfLabeledValues, treeConduction, keyEntities),\n _useCheckedKeys2 = _slicedToArray(_useCheckedKeys, 2),\n rawCheckedValues = _useCheckedKeys2[0],\n rawHalfCheckedValues = _useCheckedKeys2[1]; // Convert rawCheckedKeys to check strategy related values\n\n\n var displayValues = React.useMemo(function () {\n // Collect keys which need to show\n var displayKeys = formatStrategyValues(rawCheckedValues, showCheckedStrategy, keyEntities, mergedFieldNames); // Convert to value and filled with label\n\n var values = displayKeys.map(function (key) {\n var _keyEntities$key$node, _keyEntities$key, _keyEntities$key$node2;\n\n return (_keyEntities$key$node = (_keyEntities$key = keyEntities[key]) === null || _keyEntities$key === void 0 ? void 0 : (_keyEntities$key$node2 = _keyEntities$key.node) === null || _keyEntities$key$node2 === void 0 ? void 0 : _keyEntities$key$node2[mergedFieldNames.value]) !== null && _keyEntities$key$node !== void 0 ? _keyEntities$key$node : key;\n }); // Back fill with origin label\n\n var labeledValues = values.map(function (val) {\n var targetItem = rawLabeledValues.find(function (item) {\n return item.value === val;\n });\n return {\n value: val,\n label: targetItem === null || targetItem === void 0 ? void 0 : targetItem.label\n };\n });\n var rawDisplayValues = convert2LabelValues(labeledValues);\n var firstVal = rawDisplayValues[0];\n\n if (!mergedMultiple && firstVal && isNil(firstVal.value) && isNil(firstVal.label)) {\n return [];\n }\n\n return rawDisplayValues.map(function (item) {\n var _item$label;\n\n return _objectSpread(_objectSpread({}, item), {}, {\n label: (_item$label = item.label) !== null && _item$label !== void 0 ? _item$label : item.value\n });\n });\n }, [mergedFieldNames, mergedMultiple, rawCheckedValues, rawLabeledValues, convert2LabelValues, showCheckedStrategy, keyEntities]);\n\n var _useCache = useCache(displayValues),\n _useCache2 = _slicedToArray(_useCache, 1),\n cachedDisplayValues = _useCache2[0]; // =========================== Change ===========================\n\n\n var triggerChange = useRefFunc(function (newRawValues, extra, source) {\n var labeledValues = convert2LabelValues(newRawValues);\n setInternalValue(labeledValues); // Clean up if needed\n\n if (autoClearSearchValue) {\n setSearchValue('');\n } // Generate rest parameters is costly, so only do it when necessary\n\n\n if (onChange) {\n var eventValues = newRawValues;\n\n if (treeConduction) {\n var formattedKeyList = formatStrategyValues(newRawValues, showCheckedStrategy, keyEntities, mergedFieldNames);\n eventValues = formattedKeyList.map(function (key) {\n var entity = valueEntities.get(key);\n return entity ? entity.node[mergedFieldNames.value] : key;\n });\n }\n\n var _ref = extra || {\n triggerValue: undefined,\n selected: undefined\n },\n triggerValue = _ref.triggerValue,\n selected = _ref.selected;\n\n var returnRawValues = eventValues; // We need fill half check back\n\n if (treeCheckStrictly) {\n var halfValues = rawHalfLabeledValues.filter(function (item) {\n return !eventValues.includes(item.value);\n });\n returnRawValues = [].concat(_toConsumableArray(returnRawValues), _toConsumableArray(halfValues));\n }\n\n var returnLabeledValues = convert2LabelValues(returnRawValues);\n var additionalInfo = {\n // [Legacy] Always return as array contains label & value\n preValue: rawLabeledValues,\n triggerValue: triggerValue\n }; // [Legacy] Fill legacy data if user query.\n // This is expansive that we only fill when user query\n // https://github.com/react-component/tree-select/blob/fe33eb7c27830c9ac70cd1fdb1ebbe7bc679c16a/src/Select.jsx\n\n var showPosition = true;\n\n if (treeCheckStrictly || source === 'selection' && !selected) {\n showPosition = false;\n }\n\n fillAdditionalInfo(additionalInfo, triggerValue, newRawValues, mergedTreeData, showPosition, mergedFieldNames);\n\n if (mergedCheckable) {\n additionalInfo.checked = selected;\n } else {\n additionalInfo.selected = selected;\n }\n\n var returnValues = mergedLabelInValue ? returnLabeledValues : returnLabeledValues.map(function (item) {\n return item.value;\n });\n onChange(mergedMultiple ? returnValues : returnValues[0], mergedLabelInValue ? null : returnLabeledValues.map(function (item) {\n return item.label;\n }), additionalInfo);\n }\n }); // ========================== Options ===========================\n\n /** Trigger by option list */\n\n var onOptionSelect = React.useCallback(function (selectedKey, _ref2) {\n var _node$mergedFieldName;\n\n var selected = _ref2.selected,\n source = _ref2.source;\n var entity = keyEntities[selectedKey];\n var node = entity === null || entity === void 0 ? void 0 : entity.node;\n var selectedValue = (_node$mergedFieldName = node === null || node === void 0 ? void 0 : node[mergedFieldNames.value]) !== null && _node$mergedFieldName !== void 0 ? _node$mergedFieldName : selectedKey; // Never be falsy but keep it safe\n\n if (!mergedMultiple) {\n // Single mode always set value\n triggerChange([selectedValue], {\n selected: true,\n triggerValue: selectedValue\n }, 'option');\n } else {\n var newRawValues = selected ? [].concat(_toConsumableArray(rawValues), [selectedValue]) : rawCheckedValues.filter(function (v) {\n return v !== selectedValue;\n }); // Add keys if tree conduction\n\n if (treeConduction) {\n // Should keep missing values\n var _splitRawValues = splitRawValues(newRawValues),\n missingRawValues = _splitRawValues.missingRawValues,\n existRawValues = _splitRawValues.existRawValues;\n\n var keyList = existRawValues.map(function (val) {\n return valueEntities.get(val).key;\n }); // Conduction by selected or not\n\n var checkedKeys;\n\n if (selected) {\n var _conductCheck = conductCheck(keyList, true, keyEntities);\n\n checkedKeys = _conductCheck.checkedKeys;\n } else {\n var _conductCheck2 = conductCheck(keyList, {\n checked: false,\n halfCheckedKeys: rawHalfCheckedValues\n }, keyEntities);\n\n checkedKeys = _conductCheck2.checkedKeys;\n } // Fill back of keys\n\n\n newRawValues = [].concat(_toConsumableArray(missingRawValues), _toConsumableArray(checkedKeys.map(function (key) {\n return keyEntities[key].node[mergedFieldNames.value];\n })));\n }\n\n triggerChange(newRawValues, {\n selected: selected,\n triggerValue: selectedValue\n }, source || 'option');\n } // Trigger select event\n\n\n if (selected || !mergedMultiple) {\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectedValue, fillLegacyProps(node));\n } else {\n onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect(selectedValue, fillLegacyProps(node));\n }\n }, [splitRawValues, valueEntities, keyEntities, mergedFieldNames, mergedMultiple, rawValues, triggerChange, treeConduction, onSelect, onDeselect, rawCheckedValues, rawHalfCheckedValues]); // ========================== Dropdown ==========================\n\n var onInternalDropdownVisibleChange = React.useCallback(function (open) {\n if (onDropdownVisibleChange) {\n var legacyParam = {};\n Object.defineProperty(legacyParam, 'documentClickClose', {\n get: function get() {\n warning(false, 'Second param of `onDropdownVisibleChange` has been removed.');\n return false;\n }\n });\n onDropdownVisibleChange(open, legacyParam);\n }\n }, [onDropdownVisibleChange]); // ====================== Display Change ========================\n\n var onDisplayValuesChange = useRefFunc(function (newValues, info) {\n var newRawValues = newValues.map(function (item) {\n return item.value;\n });\n\n if (info.type === 'clear') {\n triggerChange(newRawValues, {}, 'selection');\n return;\n } // TreeSelect only have multiple mode which means display change only has remove\n\n\n if (info.values.length) {\n onOptionSelect(info.values[0].value, {\n selected: false,\n source: 'selection'\n });\n }\n }); // ========================== Context ===========================\n\n var treeSelectContext = React.useMemo(function () {\n return {\n virtual: virtual,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n listHeight: listHeight,\n listItemHeight: listItemHeight,\n treeData: filteredTreeData,\n fieldNames: mergedFieldNames,\n onSelect: onOptionSelect,\n treeExpandAction: treeExpandAction\n };\n }, [virtual, dropdownMatchSelectWidth, listHeight, listItemHeight, filteredTreeData, mergedFieldNames, onOptionSelect, treeExpandAction]); // ======================= Legacy Context =======================\n\n var legacyContext = React.useMemo(function () {\n return {\n checkable: mergedCheckable,\n loadData: loadData,\n treeLoadedKeys: treeLoadedKeys,\n onTreeLoad: onTreeLoad,\n checkedKeys: rawCheckedValues,\n halfCheckedKeys: rawHalfCheckedValues,\n treeDefaultExpandAll: treeDefaultExpandAll,\n treeExpandedKeys: treeExpandedKeys,\n treeDefaultExpandedKeys: treeDefaultExpandedKeys,\n onTreeExpand: onTreeExpand,\n treeIcon: treeIcon,\n treeMotion: treeMotion,\n showTreeIcon: showTreeIcon,\n switcherIcon: switcherIcon,\n treeLine: treeLine,\n treeNodeFilterProp: treeNodeFilterProp,\n keyEntities: keyEntities\n };\n }, [mergedCheckable, loadData, treeLoadedKeys, onTreeLoad, rawCheckedValues, rawHalfCheckedValues, treeDefaultExpandAll, treeExpandedKeys, treeDefaultExpandedKeys, onTreeExpand, treeIcon, treeMotion, showTreeIcon, switcherIcon, treeLine, treeNodeFilterProp, keyEntities]); // =========================== Render ===========================\n\n return /*#__PURE__*/React.createElement(TreeSelectContext.Provider, {\n value: treeSelectContext\n }, /*#__PURE__*/React.createElement(LegacyContext.Provider, {\n value: legacyContext\n }, /*#__PURE__*/React.createElement(BaseSelect, _extends({\n ref: ref\n }, restProps, {\n // >>> MISC\n id: mergedId,\n prefixCls: prefixCls,\n mode: mergedMultiple ? 'multiple' : undefined // >>> Display Value\n ,\n displayValues: cachedDisplayValues,\n onDisplayValuesChange: onDisplayValuesChange // >>> Search\n ,\n searchValue: mergedSearchValue,\n onSearch: onInternalSearch // >>> Options\n ,\n OptionList: OptionList,\n emptyOptions: !mergedTreeData.length,\n onDropdownVisibleChange: onInternalDropdownVisibleChange,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth\n }))));\n}); // Assign name for Debug\n\nif (process.env.NODE_ENV !== 'production') {\n TreeSelect.displayName = 'TreeSelect';\n}\n\nvar GenericTreeSelect = TreeSelect;\nGenericTreeSelect.TreeNode = TreeNode;\nGenericTreeSelect.SHOW_ALL = SHOW_ALL;\nGenericTreeSelect.SHOW_PARENT = SHOW_PARENT;\nGenericTreeSelect.SHOW_CHILD = SHOW_CHILD;\nexport default GenericTreeSelect;","import TreeSelect from \"./TreeSelect\";\nimport TreeNode from \"./TreeNode\";\nimport { SHOW_ALL, SHOW_CHILD, SHOW_PARENT } from \"./utils/strategyUtil\";\nexport { TreeNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT };\nexport default TreeSelect;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport RcTreeSelect, { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode } from 'rc-tree-select';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport defaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { FormItemInputContext } from '../form/context';\nimport getIcons from '../select/utils/iconUtil';\nimport renderSwitcherIcon from '../tree/utils/iconUtil';\nimport { getTransitionDirection, getTransitionName } from '../_util/motion';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { useCompactItemContext } from '../space/Compact';\nimport warning from '../_util/warning';\nvar InternalTreeSelect = function InternalTreeSelect(_a, ref) {\n var _classNames2;\n var customizePrefixCls = _a.prefixCls,\n customizeSize = _a.size,\n customDisabled = _a.disabled,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? true : _a$bordered,\n className = _a.className,\n treeCheckable = _a.treeCheckable,\n multiple = _a.multiple,\n _a$listHeight = _a.listHeight,\n listHeight = _a$listHeight === void 0 ? 256 : _a$listHeight,\n _a$listItemHeight = _a.listItemHeight,\n listItemHeight = _a$listItemHeight === void 0 ? 26 : _a$listItemHeight,\n placement = _a.placement,\n notFoundContent = _a.notFoundContent,\n _switcherIcon = _a.switcherIcon,\n treeLine = _a.treeLine,\n getPopupContainer = _a.getPopupContainer,\n dropdownClassName = _a.dropdownClassName,\n popupClassName = _a.popupClassName,\n _a$treeIcon = _a.treeIcon,\n treeIcon = _a$treeIcon === void 0 ? false : _a$treeIcon,\n transitionName = _a.transitionName,\n _a$choiceTransitionNa = _a.choiceTransitionName,\n choiceTransitionName = _a$choiceTransitionNa === void 0 ? '' : _a$choiceTransitionNa,\n customStatus = _a.status,\n showArrow = _a.showArrow,\n treeExpandAction = _a.treeExpandAction,\n props = __rest(_a, [\"prefixCls\", \"size\", \"disabled\", \"bordered\", \"className\", \"treeCheckable\", \"multiple\", \"listHeight\", \"listItemHeight\", \"placement\", \"notFoundContent\", \"switcherIcon\", \"treeLine\", \"getPopupContainer\", \"dropdownClassName\", \"popupClassName\", \"treeIcon\", \"transitionName\", \"choiceTransitionName\", \"status\", \"showArrow\", \"treeExpandAction\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getContextPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction,\n virtual = _React$useContext.virtual,\n dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth;\n var size = React.useContext(SizeContext);\n process.env.NODE_ENV !== \"production\" ? warning(multiple !== false || !treeCheckable, 'TreeSelect', '`multiple` will always be `true` when `treeCheckable` is true') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!dropdownClassName, 'TreeSelect', '`dropdownClassName` is deprecated which will be removed in next major version. Please use `popupClassName` instead.') : void 0;\n var prefixCls = getPrefixCls('select', customizePrefixCls);\n var treePrefixCls = getPrefixCls('select-tree', customizePrefixCls);\n var treeSelectPrefixCls = getPrefixCls('tree-select', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var mergedDropdownClassName = classNames(popupClassName || dropdownClassName, \"\".concat(treeSelectPrefixCls, \"-dropdown\"), _defineProperty({}, \"\".concat(treeSelectPrefixCls, \"-dropdown-rtl\"), direction === 'rtl'));\n var isMultiple = !!(treeCheckable || multiple);\n var mergedShowArrow = showArrow !== undefined ? showArrow : props.loading || !isMultiple;\n // ===================== Form =====================\n var _useContext = useContext(FormItemInputContext),\n contextStatus = _useContext.status,\n hasFeedback = _useContext.hasFeedback,\n isFormItemInput = _useContext.isFormItemInput,\n feedbackIcon = _useContext.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n // ===================== Icons =====================\n var _getIcons = getIcons(_extends(_extends({}, props), {\n multiple: isMultiple,\n showArrow: mergedShowArrow,\n hasFeedback: hasFeedback,\n feedbackIcon: feedbackIcon,\n prefixCls: prefixCls\n })),\n suffixIcon = _getIcons.suffixIcon,\n removeIcon = _getIcons.removeIcon,\n clearIcon = _getIcons.clearIcon;\n // ===================== Empty =====================\n var mergedNotFound;\n if (notFoundContent !== undefined) {\n mergedNotFound = notFoundContent;\n } else {\n mergedNotFound = (renderEmpty || defaultRenderEmpty)('Select');\n }\n // ==================== Render =====================\n var selectProps = omit(props, ['suffixIcon', 'itemIcon', 'removeIcon', 'clearIcon', 'switcherIcon']);\n // ===================== Placement =====================\n var getPlacement = function getPlacement() {\n if (placement !== undefined) {\n return placement;\n }\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n };\n var mergedSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n var mergedClassName = classNames(!customizePrefixCls && treeSelectPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-lg\"), mergedSize === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-sm\"), mergedSize === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-in-form-item\"), isFormItemInput), _classNames2), getStatusClassNames(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, className);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(RcTreeSelect, _extends({\n virtual: virtual,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n disabled: mergedDisabled\n }, selectProps, {\n ref: ref,\n prefixCls: prefixCls,\n className: mergedClassName,\n listHeight: listHeight,\n listItemHeight: listItemHeight,\n treeCheckable: treeCheckable ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-tree-checkbox-inner\")\n }) : treeCheckable,\n treeLine: !!treeLine,\n inputIcon: suffixIcon,\n multiple: multiple,\n placement: getPlacement(),\n removeIcon: removeIcon,\n clearIcon: clearIcon,\n switcherIcon: function switcherIcon(nodeProps) {\n return renderSwitcherIcon(treePrefixCls, _switcherIcon, treeLine, nodeProps);\n },\n showTreeIcon: treeIcon,\n notFoundContent: mergedNotFound,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n treeMotion: null,\n dropdownClassName: mergedDropdownClassName,\n choiceTransitionName: getTransitionName(rootPrefixCls, '', choiceTransitionName),\n transitionName: getTransitionName(rootPrefixCls, getTransitionDirection(placement), transitionName),\n showArrow: hasFeedback || showArrow,\n treeExpandAction: treeExpandAction\n }));\n};\nvar TreeSelectRef = /*#__PURE__*/React.forwardRef(InternalTreeSelect);\nvar TreeSelect = TreeSelectRef;\nTreeSelect.TreeNode = TreeNode;\nTreeSelect.SHOW_ALL = SHOW_ALL;\nTreeSelect.SHOW_PARENT = SHOW_PARENT;\nTreeSelect.SHOW_CHILD = SHOW_CHILD;\nexport { TreeNode };\nexport default TreeSelect;","export default '4.24.3';","/* eslint import/no-unresolved: 0 */\n// @ts-ignore\nimport version from './version';\nexport default version;","// Fix vite build error\nexport var theme = null;\nexport { default as Affix } from './affix';\nexport { default as Alert } from './alert';\nexport { default as Anchor } from './anchor';\nexport { default as AutoComplete } from './auto-complete';\nexport { default as Avatar } from './avatar';\nexport { default as BackTop } from './back-top';\nexport { default as Badge } from './badge';\nexport { default as Breadcrumb } from './breadcrumb';\nexport { default as Button } from './button';\nexport { default as Calendar } from './calendar';\nexport { default as Card } from './card';\nexport { default as Carousel } from './carousel';\nexport { default as Cascader } from './cascader';\nexport { default as Checkbox } from './checkbox';\nexport { default as Col } from './col';\nexport { default as Collapse } from './collapse';\nexport { default as Comment } from './comment';\nexport { default as ConfigProvider } from './config-provider';\nexport { default as DatePicker } from './date-picker';\nexport { default as Descriptions } from './descriptions';\nexport { default as Divider } from './divider';\nexport { default as Drawer } from './drawer';\nexport { default as Dropdown } from './dropdown';\nexport { default as Empty } from './empty';\nexport { default as Form } from './form';\nexport { default as Grid } from './grid';\nexport { default as Image } from './image';\nexport { default as Input } from './input';\nexport { default as InputNumber } from './input-number';\nexport { default as Layout } from './layout';\nexport { default as List } from './list';\nexport { default as Mentions } from './mentions';\nexport { default as Menu } from './menu';\nexport { default as message } from './message';\nexport { default as Modal } from './modal';\nexport { default as notification } from './notification';\nexport { default as PageHeader } from './page-header';\nexport { default as Pagination } from './pagination';\nexport { default as Popconfirm } from './popconfirm';\nexport { default as Popover } from './popover';\nexport { default as Progress } from './progress';\nexport { default as Radio } from './radio';\nexport { default as Rate } from './rate';\nexport { default as Result } from './result';\nexport { default as Row } from './row';\nexport { default as Segmented } from './segmented';\nexport { default as Select } from './select';\nexport { default as Skeleton } from './skeleton';\nexport { default as Slider } from './slider';\nexport { default as Space } from './space';\nexport { default as Spin } from './spin';\nexport { default as Statistic } from './statistic';\nexport { default as Steps } from './steps';\nexport { default as Switch } from './switch';\nexport { default as Table } from './table';\nexport { default as Tabs } from './tabs';\nexport { default as Tag } from './tag';\nexport { default as TimePicker } from './time-picker';\nexport { default as Timeline } from './timeline';\nexport { default as Tooltip } from './tooltip';\nexport { default as Transfer } from './transfer';\nexport { default as Tree } from './tree';\nexport { default as TreeSelect } from './tree-select';\nexport { default as Typography } from './typography';\nexport { default as Upload } from './upload';\nexport { default as version } from './version';","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { convertLegacyProps } from '../button/button';\nimport ActionButton from '../_util/ActionButton';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { ConfigContext } from '../config-provider';\nexport var Overlay = function Overlay(props) {\n var prefixCls = props.prefixCls,\n okButtonProps = props.okButtonProps,\n cancelButtonProps = props.cancelButtonProps,\n title = props.title,\n cancelText = props.cancelText,\n okText = props.okText,\n okType = props.okType,\n icon = props.icon,\n _props$showCancel = props.showCancel,\n showCancel = _props$showCancel === void 0 ? true : _props$showCancel,\n close = props.close,\n onConfirm = props.onConfirm,\n onCancel = props.onCancel;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Popconfirm\",\n defaultLocale: defaultLocale.Popconfirm\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message\")\n }, icon && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-message-icon\")\n }, icon), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message-title\")\n }, getRenderPropValue(title))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-buttons\")\n }, showCancel && /*#__PURE__*/React.createElement(Button, _extends({\n onClick: onCancel,\n size: \"small\"\n }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale.cancelText), /*#__PURE__*/React.createElement(ActionButton, {\n buttonProps: _extends(_extends({\n size: 'small'\n }, convertLegacyProps(okType)), okButtonProps),\n actionFn: onConfirm,\n close: close,\n prefixCls: getPrefixCls('btn'),\n quitOnNullishReturnValue: true,\n emitEvent: true\n }, okText !== null && okText !== void 0 ? okText : contextLocale.okText)));\n });\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar _this = this;\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport { Overlay } from './PurePanel';\nvar Popconfirm = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var _useMergedState = useMergedState(false, {\n value: props.open !== undefined ? props.open : props.visible,\n defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n open = _useMergedState2[0],\n setOpen = _useMergedState2[1];\n // const isDestroyed = useDestroyed();\n var settingOpen = function settingOpen(value, e) {\n var _a, _b;\n setOpen(value, true);\n (_a = props.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(props, value, e);\n (_b = props.onOpenChange) === null || _b === void 0 ? void 0 : _b.call(props, value, e);\n };\n var close = function close(e) {\n settingOpen(false, e);\n };\n var onConfirm = function onConfirm(e) {\n var _a;\n return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var onCancel = function onCancel(e) {\n var _a;\n settingOpen(false, e);\n (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var _onKeyDown = function onKeyDown(e) {\n if (e.keyCode === KeyCode.ESC && open) {\n settingOpen(false, e);\n }\n };\n var onOpenChange = function onOpenChange(value) {\n var _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled;\n if (disabled) {\n return;\n }\n settingOpen(value);\n };\n var customizePrefixCls = props.prefixCls,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'click' : _props$trigger,\n _props$okType = props.okType,\n okType = _props$okType === void 0 ? 'primary' : _props$okType,\n _props$icon = props.icon,\n icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(ExclamationCircleFilled, null) : _props$icon,\n children = props.children,\n overlayClassName = props.overlayClassName,\n restProps = __rest(props, [\"prefixCls\", \"placement\", \"trigger\", \"okType\", \"icon\", \"children\", \"overlayClassName\"]);\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var prefixClsConfirm = getPrefixCls('popconfirm', customizePrefixCls);\n var overlayClassNames = classNames(prefixClsConfirm, overlayClassName);\n return /*#__PURE__*/React.createElement(Popover, _extends({}, restProps, {\n trigger: trigger,\n prefixCls: prefixCls,\n placement: placement,\n onOpenChange: onOpenChange,\n open: open,\n ref: ref,\n overlayClassName: overlayClassNames,\n _overlay: /*#__PURE__*/React.createElement(Overlay, _extends({\n okType: okType,\n icon: icon\n }, props, {\n prefixCls: prefixCls,\n close: close,\n onConfirm: onConfirm,\n onCancel: onCancel\n }))\n }), cloneElement(children, {\n onKeyDown: function onKeyDown(e) {\n var _a, _b;\n if ( /*#__PURE__*/React.isValidElement(children)) {\n (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n }\n _onKeyDown(e);\n }\n }));\n});\nexport default Popconfirm;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nvar Overlay = function Overlay(_ref) {\n var title = _ref.title,\n content = _ref.content,\n prefixCls = _ref.prefixCls;\n if (!title && !content) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, getRenderPropValue(content)));\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n title = props.title,\n content = props.content,\n _overlay = props._overlay,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n _props$overlayStyle = props.overlayStyle,\n overlayStyle = _props$overlayStyle === void 0 ? {} : _props$overlayStyle,\n otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"_overlay\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(Tooltip, _extends({\n placement: placement,\n trigger: trigger,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n overlayStyle: overlayStyle\n }, otherProps, {\n prefixCls: prefixCls,\n ref: ref,\n overlay: _overlay || /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n title: title,\n content: content\n }),\n transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName)\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popover.displayName = 'Popover';\n}\nexport default Popover;","var camel2hyphen = require('string-convert/camel2hyphen');\n\nvar isDimension = function (feature) {\n var re = /[height|width]$/;\n return re.test(feature);\n};\n\nvar obj2mq = function (obj) {\n var mq = '';\n var features = Object.keys(obj);\n features.forEach(function (feature, index) {\n var value = obj[feature];\n feature = camel2hyphen(feature);\n // Add px to dimension features\n if (isDimension(feature) && typeof value === 'number') {\n value = value + 'px';\n }\n if (value === true) {\n mq += feature;\n } else if (value === false) {\n mq += 'not ' + feature;\n } else {\n mq += '(' + feature + ': ' + value + ')';\n }\n if (index < features.length-1) {\n mq += ' and '\n }\n });\n return mq;\n};\n\nvar json2mq = function (query) {\n var mq = '';\n if (typeof query === 'string') {\n return query;\n }\n // Handling array of media queries\n if (query instanceof Array) {\n query.forEach(function (q, index) {\n mq += obj2mq(q);\n if (index < query.length-1) {\n mq += ', '\n }\n });\n return mq;\n }\n // Handling single media query\n return obj2mq(query);\n};\n\nmodule.exports = json2mq;","var camel2hyphen = function (str) {\n return str\n .replace(/[A-Z]/g, function (match) {\n return '-' + match.toLowerCase();\n })\n .toLowerCase();\n};\n\nmodule.exports = camel2hyphen;"],"names":["getRenderPropValue","propValue","SizeContext","react","createContext","SizeContextProvider","_ref","children","size","createElement","Consumer","originSize","Provider","value","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Avatar","forwardRef","props","ref","_classNames","_classNames2","childrenToRender","groupSize","useContext","_React$useState","useState","_React$useState2","slicedToArray","Z","scale","setScale","_React$useState3","_React$useState4","mounted","setMounted","_React$useState5","_React$useState6","isImgExist","setIsImgExist","avatarNodeRef","useRef","avatarChildrenRef","avatarNodeMergeRef","es_ref","sQ","getPrefixCls","_React$useContext","context","E_","setScaleParam","current","childrenWidth","offsetWidth","nodeWidth","_props$gap","gap","useEffect","src","customizePrefixCls","prefixCls","_props$shape","shape","_props$size","customSize","srcSet","icon","className","alt","draggable","crossOrigin","others","needResponsive","keys","esm_typeof","some","key","includes","screens","useBreakpoint","responsiveSizeStyle","useMemo","currentSize","responsiveObserve","c4","find","screen","width","height","lineHeight","concat","fontSize","sizeCls","classnames_default","defineProperty","hasImageElement","isValidElement","classString","onError","undefined","transformString","es","onResize","style","esm_extends","msTransform","WebkitTransform","transform","opacity","avatar_Avatar","Group","direction","_props$className","maxCount","maxStyle","cls","_props$maxPopoverPlac","maxPopoverPlacement","_props$maxPopoverTrig","maxPopoverTrigger","childrenWithProps","toArray","map","child","index","reactNode","Tm","numOfChildren","childrenShow","slice","childrenHidden","push","popover","content","trigger","placement","overlayClassName","es_avatar","AffixStatus","_generateSinglePicker","DatePicker","WeekPicker","MonthPicker","YearPicker","TimePicker","QuarterPicker","RangePicker","MergedDatePicker","throttleByAnimationFrame","fn","requestId","throttled","_len","arguments","args","_key","raf","apply","toConsumableArray","cancel","throttleByAnimationFrameDecorator","target","descriptor","definingProperty","configurable","get","boundFn","bind","writable","getTargetRect","window","getBoundingClientRect","top","bottom","innerHeight","getFixedTop","placeholderReact","targetRect","offsetTop","getFixedBottom","offsetBottom","TRIGGER_EVENTS","observerEntities","addObserveTarget","affix","entity","item","affixList","eventHandlers","forEach","eventName","addEventListener","targetAffix","lazyUpdatePosition","removeObserveTarget","observerEntity","oriObserverEntity","hasAffix","filter","handler","remove","__decorate","decorators","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","getDefaultTarget","Affix","_React$Component","inherits","_super","createSuper","_this","classCallCheck","state","status","None","lastAffix","prevTarget","getOffsetTop","_this$props","getOffsetBottom","savePlaceholderNode","node","placeholderNode","saveFixedNode","fixedNode","measure","_this$state","onChange","targetFunc","getTargetFunc","Prepare","targetNode","newState","fixedTop","fixedBottom","left","affixStyle","position","placeholderStyle","setState","prepareMeasure","createClass","getTargetContainer","_this2","timeout","setTimeout","updatePosition","prevProps","newTarget","clearTimeout","_this3","_this$state2","_this$props2","affixPrefixCls","omit","Component","contextType","config_provider_context","es_affix","affixProps","AnchorContext","getDefaultContainer","element","container","getClientRects","rect","ownerDocument","documentElement","clientTop","sharpMatcherRegx","AnchorContent","_a","anchorPrefixCls","_props$affix","_props$showInkInFixed","showInkInFixed","bounds","targetOffset","onClick","getContainer","getCurrentAnchor","links","setLinks","activeLink","setActiveLink","activeLinkRef","wrapperRef","spanLinkNode","animating","getCurrentContainer","dependencyListItem","JSON","stringify","registerLink","useCallback","link","prev","unregisterLink","updateInk","linkNode","querySelector","clientHeight","getInternalCurrentAnchor","_links","_offsetTop","_bounds","linkSections","sharpLinkMatch","exec","toString","document","getElementById","maxSection","reduce","curr","setCurrentActiveLink","newLink","handleScroll","handleScrollTo","scrollTop","getScroll","targetElement","y","scrollTo","callback","inkClass","wrapperClass","anchorClass","wrapperStyle","maxHeight","anchorContent","scrollContainer","scrollEvent","memoizedContextValue","anchor_context","es_anchor_Anchor","_React$useContext2","Link","_props$href","href","title","handleClick","C","_ref2","active","wrapperClassName","titleClassName","es_anchor","Option","es_select","isSelectOptionOrSelectOptGroup","type","isSelectOption","isSelectOptGroup","RefAutoComplete","customizeInput","optionChildren","popupClassName","dropdownClassName","dataSource","childNodes","Children_toArray","l$","_childNodes","getInputElement","optionValue","text","mode","SECRET_COMBOBOX_MODE_DO_NOT_USE","auto_complete","asn_VerticalAlignTopOutlined","VerticalAlignTopOutlined_VerticalAlignTopOutlined","AntdIcon","objectSpread2","displayName","icons_VerticalAlignTopOutlined","BackTopContent","rootPrefixCls","visible","defaultElement","rc_motion_es","motionName","motionClassName","back_top","memo","_useMergedState","useMergedState","_useMergedState2","setVisible","createRef","_props$visibilityHeig","visibilityHeight","bindScrollEvent","getTarget","divProps","_props$duration","duration","isPresetColor","color","colors","Y","UnitNumber","_ref$offset","offset","SingleNumber","unitNodes","offsetStyle","originCount","count","Number","Math","abs","prevValue","setPrevValue","prevCount","setPrevCount","onTransitionEnd","isNaN","transition","end","unitNumberList","prevIndex","findIndex","n","getOffset","start","unit","badge_ScrollNumber","show","_a$component","component","restProps","newProps","numberNodes","numberList","String","split","num","borderColor","boxShadow","oriProps","badge_rest","Badge","customizeScrollNumberPrefixCls","scrollNumberPrefixCls","_a$count","_a$overflowCount","overflowCount","_a$dot","dot","_a$size","_a$showZero","showZero","numberedDisplayCount","isZero","hasStatus","showAsDot","mergedCount","isHidden","isEmpty","countRef","livingCount","displayCountRef","displayCount","isDotRef","mergedStyle","marginTop","parseInt","right","titleNode","statusTextNode","displayNode","statusCls","statusStyle","background","badgeClassName","statusTextColor","motionAppear","motionDeadline","_classNames3","isDot","scrollNumberCls","scrollNumberStyle","Ribbon","_ref$placement","colorInPreset","ribbonCls","colorStyle","cornerColorStyle","badge","BreadcrumbItem_rest","BreadcrumbItem","breadcrumbItem","_props$separator","separator","menu","overlay","dropdownProps","dropdown","DownOutlined","__ANT_BREADCRUMB_ITEM","BreadcrumbSeparator","__ANT_BREADCRUMB_SEPARATOR","Breadcrumb_rest","defaultItemRender","route","params","routes","paths","isLastItem","name","getBreadcrumbName","breadcrumbName","paramsKeys","join","replace","replacement","getPath","path","addChildPath","childPath","originalPaths","Breadcrumb","crumbs","_a$separator","_a$itemRender","itemRender","_a$params","items","label","itemProps","breadcrumbClassName","Item","Separator","es_breadcrumb","generate_moment","getNow","moment_default","getFixedDate","string","getEndDate","date","clone","endOf","getWeekDay","locale","weekday","localeData","firstDayOfWeek","getYear","year","getMonth","month","getDate","getHour","hour","getMinute","minute","getSecond","second","addYear","diff","add","addMonth","addDate","setYear","setMonth","setDate","setHour","setMinute","setSecond","isAfter","date1","date2","isValidate","isValid","getWeekFirstDay","getWeekFirstDate","result","getWeek","week","getShortWeekDays","weekdaysMin","getShortMonths","monthsShort","format","_format","parse","formats","fallbackFormatList","formatText","matchFormat","match","matchText","_i","_date","es_warning","ET","PanelContext","HIDDEN_STYLE","visibility","panels_Header","_ref$prevIcon","prevIcon","_ref$nextIcon","nextIcon","_ref$superPrevIcon","superPrevIcon","_ref$superNextIcon","superNextIcon","onSuperPrev","onSuperNext","onPrev","onNext","hideNextBtn","hidePrevBtn","tabIndex","DecadePanel_DecadeHeader","generateConfig","viewDate","onPrevDecades","onNextDecades","hideHeader","startYear","floor","yearNumber","DECADE_DISTANCE_COUNT","timeUtil_setTime","nextTime","setDateTime","defaultDate","newDate","PanelBody","disabledDate","onSelect","picker","rowNum","colNum","prefixColumn","rowClassName","baseDate","getCellClassName","getCellText","getCellNode","getCellDate","titleCell","headerCells","onDateMouseEnter","onDateMouseLeave","cellPrefixCls","rows","row","rowStartDate","j","_loop","_objectSpread2","currentDate","disabled","getCellDateDisabled","_ref3","cellDate","getDisabledFromRange","currentMode","startMonth","DECADE_UNIT_DIFF","getLastDay","endDate","lastDay","onMouseEnter","onMouseLeave","DecadePanel_DecadeBody","DECADE_UNIT_DIFF_DES","decadeYearNumber","startDecadeYear","endDecadeYear","baseDecadeYear","ceil","DECADE_COL_COUNT","startDecadeNumber","endDecadeNumber","scrollIds","Map","uiUtil_scrollTo","to","cancelAnimationFrame","set","requestAnimationFrame","perTick","difference","createKeyDownHandler","event","onLeftRight","onCtrlLeftRight","onUpDown","onPageUpDown","onEnter","which","ctrlKey","metaKey","KeyCode","LEFT","RIGHT","UP","DOWN","PAGE_UP","PAGE_DOWN","ENTER","getDefaultFormat","showTime","use12Hours","mergedFormat","getInputSize","max","globalClickFunc","clickCallbacks","Set","PickerModeMap","next","quarter","time","elementsContains","elements","ele","contains","panels_DecadePanel","onViewDateChange","operationRef","onPanelChange","onKeyDown","onDecadesChange","isNullEqual","value1","value2","isSameYear","year1","year2","equal","getQuarter","quota","isSameQuarter","quarter1","quarter2","isSameMonth","month1","month2","isSameDate","isSameWeek","isEqual","isInRange","startDate","getClosingViewDate","formatValue","parseValue","formatList","TimePanel_TimeHeader","TimePanel_TimeUnitColumn","units","hideDisabledOptions","open","ulRef","liRefs","scrollRef","useLayoutEffect","li","id","tryOrNextFrame","isVisible","_scrollRef$current","leftPad","str","fill","miscUtil_toArray","val","Array","isArray","getDataOrAriaProps","retProps","substr","getValue","values","updateValues","newValues","shouldUnitsUpdate","prevUnits","nextUnits","generateUnits","step","disabledUnits","TimePanel_TimeBody","isPM","activeColumnIndex","showHour","showMinute","showSecond","_props$hourStep","hourStep","_props$minuteStep","minuteStep","_props$secondStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","columns","columnPrefixCls","originHour","now","_React$useMemo","disabledConfig","_React$useMemo2","mergedDisabledHours","mergedDisabledMinutes","mergedDisabledSeconds","setTime","isNewPM","newHour","newMinute","newSecond","mergedHour","rawHours","memorizedRawHours","_React$useMemo3","AMPMDisabled","hourValue","_React$useMemo4","AMDisabled","PMDisabled","hours","hourMeta","hourLabel","minutes","seconds","addColumnNode","condition","columnValue","onColumnSelect","cloneElement","column","valueIndex","unitLen","nextUnit","PMIndex","panels_TimePanel","_props$format","_props$use12Hours","panelPrefixCls","bodyOperationRef","setActiveColumnIndex","columnsCount","boolList","bool","onBlur","RangeContext","useCellClassName","rangedValue","hoverRangedValue","isInView","isSameCell","offsetCell","today","prevDate","nextDate","rangeStart","rangeEnd","hoverStart","hoverEnd","isRangeHovered","isHoverStart","isHoverEnd","isHoverEdgeStart","isHoverEdgeEnd","isRangeStart","isRangeEnd","DatePanel_DateBody","weekFirstDay","monthStartDate","startDateWeekDay","alignStartDate","rowCount","dateRender","weekDaysLocale","shortWeekDays","DatePanel_DateHeader","onNextMonth","onPrevMonth","onNextYear","onPrevYear","onYearClick","onMonthClick","monthsLocale","shortMonths","yearNode","yearFormat","monthNode","monthFormat","monthYearNodes","monthBeforeYear","panels_DatePanel","_props$panelName","panelName","keyboardConfig","_onSelect","onYearChange","onMonthChange","ACTIVE_PANEL","tuple","panels_DatetimePanel","defaultValue","activePanel","setActivePanel","dateOperationRef","timeOperationRef","timeProps","TAB","activeIndex","nextActivePanel","shiftKey","preventDefault","onClose","onInternalSelect","source","selectedDate","disabledTimes","panels_WeekPanel","rowPrefixCls","MonthPanel_MonthHeader","MonthPanel_MonthBody","monthCellRender","baseMonth","panels_MonthPanel","QuarterPanel_QuarterHeader","QuarterPanel_QuarterBody","baseQuarter","quarterFormat","panels_QuarterPanel","YearPanel_YearHeader","onPrevDecade","onNextDecade","onDecadeClick","YEAR_DECADE_COUNT","YearPanel_YearBody","endYear","baseYear","YEAR_COL_COUNT","currentYearNumber","panels_YearPanel","sourceMode","onDecadeChange","getExtraFooter","renderExtraFooter","getRanges","presetNode","okNode","_ref$rangeList","rangeList","_ref$components","components","needConfirmButton","onNow","onOk","okDisabled","showNow","rangeItem","Fragment","Button","button","ok","es_PickerPanel","panelNode","extraFooter","rangesNode","todayNode","_props$prefixCls","pickerValue","defaultPickerValue","_props$picker","_props$tabIndex","showToday","onMouseDown","onPickerValueChange","_onOk","isHourStepValid","isMinuteStepValid","isSecondStepValid","panelContext","panelDivRef","panelRef","onContextSelect","hideRanges","defaultOpenValue","inRange","panelPosition","initRef","postState","mergedValue","setInnerValue","_useMergedState3","defaultDateObject","_useMergedState4","setInnerViewDate","setViewDate","getInternalNextMode","nextMode","getNextMode","_useMergedState5","_useMergedState6","mergedMode","setInnerMode","setSourceMode","triggerSelect","forceTriggerSelect","onInternalKeyDown","ZP","pickerProps","newMode","viewValue","lowerBoundTime","getLowerBoundTime","lowerBoundHour","lowerBoundMinute","todayCls","es_PanelContext","BUILT_IN_PLACEMENTS","bottomLeft","points","overflow","adjustX","adjustY","bottomRight","topLeft","topRight","es_PickerTrigger","popupElement","popupStyle","dropdownAlign","transitionName","getPopupContainer","range","popupPlacement","dropdownPrefixCls","rc_trigger_es","showAction","hideAction","builtinPlacements","popupTransitionName","popup","popupAlign","popupVisible","usePickerInput","isClickOutside","triggerOpen","forwardKeyDown","_onKeyDown","blurToCancel","onSubmit","onCancel","_onFocus","onFocus","_onBlur","currentFocusedKey","_ref$key","_useState","_useState2","typing","setTyping","_useState3","_useState4","focused","setFocused","delayBlurTimer","preventBlurRef","valueChangedRef","preventDefaultRef","_e$composedPath","composed","shadowRoot","composedPath","clickedOutside","queueFunc","delete","removeEventListener","ESC","SHIFT","activeElement","_document","useTextValueMapping","valueTexts","onTextChange","setInnerText","valueTextsRef","resetText","every","valText","useValueTexts","firstValueText","fullValueTexts","formatStr","shallowequal_default","useHoverValue","valueText","internalSetValue","setValue","immediately","_useValueTexts","firstText","_useValueTexts2","onLeave","InnerPicker","suffixNode","clearNode","inputReadOnly","allowClear","autoFocus","defaultOpen","suffixIcon","clearIcon","placeholder","pickerRef","panelRender","onOpenChange","onMouseUp","onContextMenu","_props$autoComplete","autoComplete","inputRender","inputRef","inputDivRef","containerRef","selectedValue","setSelectedValue","postOpen","newOpen","mergedOpen","triggerInnerOpen","_useTextValueMapping","newText","inputDate","_useTextValueMapping2","triggerTextChange","triggerChange","newValue","_usePickerInput","_usePickerInput2","inputProps","_usePickerInput2$","focus","blur","_useHoverValue","_useHoverValue2","hoverValue","panelProps","panel","stopPropagation","role","mergedInputProps","readOnly","inputNode","Picker","_len2","_key2","reorderValues","canValueTrigger","allowEmpty","InnerRangePicker","defaultDates","defaultViewDates","setDefaultViewDates","viewDates","setInternalViewDates","_classNames4","_disabledTime","ranges","onCalendarChange","order","activePickerIndex","openRecordsRef","startInputDivRef","endInputDivRef","separatorRef","startInputRef","endInputRef","arrowRef","mergedActivePickerIndex","setMergedActivePickerIndex","mergedDisabled","_useRangeViewDates","getRangeViewDate","getStartEndDistance","startNext","getDistance","compareFunc","num1","newViewDates","anotherIndex","_useRangeViewDates2","getViewDate","postValues","_useMergedState7","_useMergedState8","mergedModes","setInnerModes","triggerModesChange","modes","_useRangeDisabled","useRangeDisabled","disabledStart","disabledEnd","weekFirstDate","monthNumber","quarterNumber","_useRangeDisabled2","disabledStartDate","disabledEndDate","_useMergedState9","_useMergedState10","popupMinWidth","setPopupMinWidth","triggerRef","_triggerOpen","openRecords","triggerOpenAndFocus","sourceIndex","startValue","endValue","startStr","endStr","canStartValueTrigger","canEndValueTrigger","nextOpenIndex","sharedTextHooksProps","startValueTexts","firstStartValueText","_useValueTexts3","_useValueTexts4","endValueTexts","firstEndValueText","_onTextChange","disabledFunc","startText","triggerStartTextChange","resetStartText","_useTextValueMapping3","_useTextValueMapping4","endText","triggerEndTextChange","resetEndText","rangeHoverValue","setRangeHoverValue","_useState5","_useState6","setHoverRangedValue","startHoverValue","onStartEnter","onStartLeave","_useHoverValue3","_useHoverValue4","endHoverValue","onEndEnter","onEndLeave","getSharedInputHookProps","startInputProps","startFocused","startTyping","_usePickerInput3","_usePickerInput4","endInputProps","_usePickerInput4$","endFocused","endTyping","rangeLabels","renderPanel","panelHoverRangedValue","panelShowTime","timeDefaultValues","panelDateRender","es_RangeContext","arrowLeft","panelLeft","arrowMarginLeft","offsetLeft","arrowPositionStyle","rangePanel","minWidth","renderPanels","panels","extraNode","nextViewDate","showDoublePanel","leftPanel","newViewDate","rightPanel","mergedNodes","marginLeft","inputSharedProps","activeBarLeft","activeBarWidth","activeBarPositionStyle","YearSelect","fullscreen","validRange","_onChange","divRef","suffix","options","numYear","_validRange","newYear","newMonth","MonthSelect","_onChange2","_validRange2","currentYear","months","ModeSwitch","onModeChange","group","radioButton","calendar_Header","formItemInputContext","aM","mergedFormItemInputContext","isFormItemInput","sharedProps","calendar","calendar_generateCalendar","dateFullCellRender","dateCellRender","monthFullCellRender","headerRender","_props$fullscreen","calendarPrefixCls","setMergedValue","setMergedMode","panelMode","mergedDisabledDate","notInRange","triggerPanelChange","triggerModeChange","padStart_default","monthRender","LocaleReceiver","componentName","defaultLocale","en_US","lang","contextLocale","onTypeChange","initial_state","autoplaying","currentDirection","currentLeft","currentSlide","dragging","edgeDragged","initialized","lazyLoadedList","listHeight","listWidth","scrolling","slideCount","slideHeight","slideWidth","swipeLeft","swiped","swiping","touchObject","startX","startY","curX","curY","trackStyle","trackWidth","targetSlide","clamp","number","lowerBound","upperBound","min","safePreventDefault","passiveEvents","_reactName","getOnDemandLazySlides","spec","onDemandSlides","startIndex","lazyStartIndex","endIndex","lazyEndIndex","slideIndex","lazySlidesOnLeft","lazySlidesOnRight","centerMode","slidesToShow","centerPadding","getWidth","elem","getHeight","offsetHeight","getSwipeDirection","xDist","swipeAngle","verticalSwiping","round","atan2","PI","canGoNext","canGo","infinite","extractObject","newObject","initializedState","Children","listNode","listRef","trackRef","vertical","centerPaddingAdj","initialSlide","rtl","slidesToLoad","autoplay","slideHandler","waitForAnimate","fade","lazyLoad","slidesToScroll","useCSS","finalSlide","animationLeft","finalLeft","animationSlide","nextState","getTrackLeft","getTrackAnimateCSS","getTrackCSS","changeSlide","indexOffset","previousInt","slideOffset","previousTargetSlide","unevenOffset","message","siblingDirection","swipeMove","swipeToSlide","edgeFriction","onEdge","swipeEvent","curLeft","touches","pageX","clientX","pageY","clientY","swipeLength","sqrt","pow","verticalSwipeLength","positionOffset","swipeDirection","touchSwipeLength","swipeEnd","swipe","touchThreshold","onSwipe","newSlide","activeSlide","getSlideCount","checkNavigable","getNavigableIndexes","breakpoint","counter","indexes","navigables","prevNavigable","centerOffset","swipedSlide","slickList","from","querySelectorAll","slide","currentIndex","dataset","checkSpecKeys","keysArray","console","error","trackHeight","trackChildren","getTotalSlides","WebkitTransition","useTransform","attachEvent","speed","cssEase","unslick","variableWidth","verticalOffset","slidesToOffset","getPreClones","targetLeft","targetSlideIndex","trackElem","getPostClones","slidesOnRight","slidesOnLeft","canUseDOM","getSlideClasses","slickActive","slickCenter","slickCloned","getSlideStyle","getKey","fallbackKey","renderSlides","slides","preCloneSlides","postCloneSlides","childrenCount","childOnClickOptions","childStyle","slideClass","slideClasses","outline","focusOnSelect","preCloneNo","reverse","Track","_React$PureComponent","assertThisInitialized","onMouseOver","handleRef","PureComponent","Dots","clickHandler","dotCount","dots","_rightBound","rightBound","_leftBound","leftBound","dotOptions","customPaging","appendDots","dotsClass","PrevArrow","prevClasses","prevHandler","prevArrowProps","display","customProps","prevArrow","NextArrow","_React$PureComponent2","_super2","nextClasses","nextHandler","nextArrowProps","nextArrow","_excluded","InnerSlider","list","track","adaptiveHeight","onInit","prevState","onLazyLoad","updateState","adaptHeight","autoPlay","lazyLoadTimer","setInterval","progressiveLazyLoad","ro","ResizeObserver_es","onWindowResized","callbackTimers","observe","onfocus","pauseOnFocus","onSlideFocus","onblur","onSlideBlur","animationEndCallback","clearInterval","timer","detachEvent","autoplayTimer","disconnect","checkImagesLoad","onReInit","setTrackStyle","didPropsChange","autoplaySpeed","pause","debouncedResize","debounce_default","resizeWindow","Boolean","updatedState","_trackWidth","_trackLeft","childrenWidths","preClones","postClones","_i2","_trackStyle","currentWidth","trackLeft","images","imagesCount","loadedCount","image","onclick","prevClickHandler","parentNode","onload","onerror","onLazyLoadError","_index","dontAnimate","asNavFor","beforeChange","afterChange","_slideHandler","asNavForIndex","innerSlider","firstBatch","objectWithoutProperties","nodes","clickable","accessibility","dir","tagName","keyCode","ontouchmove","returnValue","disableBodyScroll","triggerSlideHandler","enableBodyScroll","nextIndex","playType","play","pauseType","trackProps","pauseOnHover","onTrackOver","onTrackLeave","selectHandler","dotProps","pauseOnDotsHover","onDotsLeave","onDotsOver","arrowProps","arrows","verticalHeightStyle","centerPaddingStyle","padding","listStyle","touchMove","listProps","swipeStart","onMouseMove","onTouchStart","onTouchMove","onTouchEnd","touchEnd","onTouchCancel","keyHandler","innerSliderProps","listRefHandler","trackRefHandler","ssrState","ssrInit","_i3","_Object$keys","default_props","easing","responsive","slidesPerRow","Slider","slickPrev","slickNext","slickGoTo","_responsiveMediaHandlers","query","mql","matchMedia","listener","matches","addListener","breakpoints","breakpt","sort","x","bQuery","json2mq_default","maxWidth","media","obj","removeListener","settings","resp","trim","warn","newChildren","k","innerSliderRefHandler","carousel_rest","carousel","_a$dots","_a$arrows","_a$draggable","_a$dotPosition","dotPosition","_a$vertical","slickRef","goTo","useImperativeHandle","effect","dsClass","CascaderContext","VALUE_SPLIT","SHOW_PARENT","SHOW_CHILD","toPathKey","toPathKeys","isLeaf","option","fieldNames","_option$isLeaf","_option$fieldNames$ch","formatStrategyValues","pathKeys","getKeyPathEntities","showCheckedStrategy","valueSet","keyPathEntities","parent","has","toPathOptions","valueCells","stringMode","currentList","valueOptions","_currentList","_currentList2","_foundOption$fieldNam","valueCell","foundIndex","foundOption","useEntities","cacheRef","info","treeUtil","I8","initWrapper","wrapper","pathKeyEntities","processEntity","pathKey","useRefFunc","funcRef","SEARCH_MARK","defaultFilter","search","opt","toLowerCase","defaultRender","inputValue","useSearchOptions","config","changeOnSelect","_config$filter","_config$render","render","_config$limit","limit","filteredOptions","dig","pathOptions","connectedPathOptions","a","b","Checkbox","checked","halfChecked","checkable","FIX_LABEL","Column","multiple","activeValue","prevValuePath","onToggleOpen","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable","menuItemPrefixCls","expandTrigger","expandIcon","loadingIcon","dropdownMenuColumnStyle","hoverOpen","optionInfoList","_option$FIX_LABEL","searchOptions","isMergedLeaf","fullPath","fullPathKey","isLoading","triggerOpenPath","onDoubleClick","useActive","_useBaseProps","rc_select_es","lk","activeValueCells","setActiveValueCells","firstValueCells","useKeyboard","onKeyBoardSelect","searchValue","toggleOpen","currentOptions","mergedActiveIndexes","mergedActiveValueCells","len","nextActiveIndex","_ret","activeOptions","validActiveValueCells","lastActiveIndex","lastActiveOptions","internalSetActiveValueCells","offsetActiveOption","prevColumn","nextColumn","_lastActiveOptions$la","nextOption","nextOptions","BACKSPACE","originOptions","onKeyUp","RefOptionList","_optionColumns$","_optionColumns$$optio","notFoundContent","halfValues","loadData","mergedPrefixCls","setLoadingKeys","internalLoadData","rawOptions","optionList","lastOption","loadingKey","_useActive","_useActive2","onPathOpen","nextValueCells","onPathSelect","valuePath","leaf","fromKeyboard","mergedOptions","optionColumns","activeValueCell","currentOption","subOptions","selectValueCells","_containerRef$current","cellKeyPath","scrollIntoParentView","parentElement","elementToParent","emptyList","columnProps","columnNodes","mergedOptionColumns","col","Cascader_excluded","toRawValues","Cascader","rawValues","displayRender","onSearch","showSearch","onDropdownVisibleChange","onPopupVisibleChange","_props$expandIcon","_props$dropdownMatchS","dropdownMatchSelectWidth","_props$showCheckedStr","mergedId","useId","setRawValues","mergedFieldNames","getPathKeyEntities","getValueByKeyPath","mergedSearchValue","setSearchValue","_useSearchConfig","searchConfig","matchInputWidth","_useSearchConfig2","mergedShowSearch","getMissingValues","missingValues","existsValues","_getMissingValues","_getMissingValues2","existValues","keyPathValues","_conductCheck","conductUtil","S","checkedKeys","halfCheckedKeys","checkedValues","halfCheckedValues","missingCheckedValues","displayValues","deduplicateKeys","mergedDisplayRender","labels","mergedLabels","keyedLabel","_valueOptions","_valueOptions$option","_option$fieldNames$la","nextValues","nextRawValues","valueOpt","checkedPathKeys","halfCheckedPathKeys","existInChecked","existInMissing","nextCheckedValues","nextMissingValues","nextRawCheckedKeys","_conductCheck2","_conductCheck3","cascaderContext","emptyOptions","dropdownStyle","es_context","Ac","onDisplayValuesChange","_","searchText","OptionList","nextVisible","getRawInputElement","cascader_rest","cascader_SHOW_CHILD","rc_cascader_es","cascader_SHOW_PARENT","defaultSearchRender","lower","cells","fillCells","cur","cell","originWorld","cascader_Cascader","customizeSize","customDisabled","_props$bordered","bordered","_props$choiceTransiti","choiceTransitionName","_props$allowClear","customStatus","showArrow","rest","_useContext","getContextPopupContainer","renderEmpty","rootDirection","mergedDirection","isRtl","_useContext2","contextStatus","hasFeedback","feedbackIcon","mergedStatus","statusUtils","F","mergedNotFoundContent","defaultRenderEmpty","cascaderPrefixCls","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","mergedDropdownClassName","mergedSize","DisabledContext","mergedExpandIcon","LeftOutlined","RightOutlined","LoadingOutlined","spin","mergedShowArrow","loading","_getIcons","iconUtil","removeIcon","inputIcon","motion","mL","q0","cascader","comment_rest","comment","actions","author","avatar","datetime","otherProps","avatarDom","actionDom","action","authorContent","contentDom","asn_CalendarOutlined","CalendarOutlined_CalendarOutlined","icons_CalendarOutlined","asn_ClockCircleOutlined","ClockCircleOutlined_ClockCircleOutlined","icons_ClockCircleOutlined","asn_SwapRightOutlined","SwapRightOutlined_SwapRightOutlined","icons_SwapRightOutlined","transPlacement2DropdownAlign","generateRangePicker_rest","generateSinglePicker_rest","Components","es_button","tag","getTimeProps","firstFormat","generatePicker_toArray","showTimeObj","date_picker","generatePicker","getPicker","customizeGetPopupContainer","innerRef","additionalProps","additionalOverrideProps","mergedPicker","formItemContext","locale_en_US","yearPlaceholder","quarterPlaceholder","monthPlaceholder","weekPlaceholder","timePickerLocale","CloseCircleFilled","customGetPopupContainer","rangeYearPlaceholder","rangeQuarterPlaceholder","rangeMonthPlaceholder","rangeWeekPlaceholder","rangePlaceholder","descriptions_Cell","itemPrefixCls","span","labelStyle","contentStyle","colon","colSpan","notEmpty","renderCells","showLabel","showContent","rootLabelStyle","rootContentStyle","_ref3$props","_ref3$props$prefixCls","_ref3$props$span","descriptions_Row","descContext","DescriptionsContext","DEFAULT_COLUMN_MAP","xxl","xl","lg","md","sm","xs","getFilledItem","rowRestCol","Descriptions","tmpRow","extra","_ref$column","_ref$colon","layout","setScreens","mergedColumn","getColumn","token","subscribe","newScreens","unsubscribe","mergedSpan","contextValue","descriptions","es_DrawerPanel","DrawerContext","parseWidthHeight","sentinelStyle","DrawerPopup","_pushConfig$distance","_pushConfig","inline","forceRender","keyboard","rootClassName","rootStyle","zIndex","contentWrapperStyle","mask","maskClosable","maskMotion","maskClassName","maskStyle","afterOpenChange","sentinelStartRef","sentinelEndRef","_panelRef$current","preventScroll","pushed","setPushed","parentContext","pushDistance","distance","mergedContext","pull","_parentContext$push","_parentContext$pull","_parentContext$pull2","maskNode","maskRef","motionMaskClassName","motionMaskStyle","motionProps","onVisibleChanged","removeOnLeave","leavedClassName","motionRef","motionStyle","containerStyle","rc_drawer_es_context","_sentinelStartRef$cur","_sentinelEndRef$curre","Drawer","destroyOnClose","animatedVisible","setAnimatedVisible","sharedDrawerProps","portal_es","autoDestroy","autoLock","defaultProps","drawer_rest","defaultPushState","drawer","_props$closable","closable","_props$mask","_props$push","_props$closeIcon","closeIcon","CloseOutlined","bodyStyle","drawerStyle","headerStyle","footer","footerStyle","customizeGetContainer","afterVisibleChange","_afterOpenChange","closeIconNode","drawerClassName","mergedWidth","mergedHeight","motionEnter","motionLeave","Ux","override","body","isOpen","motionPlacement","grid","fixPoint","clientWidth","startAddWidth","offsetStart","PreviewGroup_excluded","PreviewGroup_context","previewUrls","setPreviewUrls","setCurrent","setShowPreview","setMousePosition","registerImage","Preview_excluded","initialPosition","es_Preview","frame","queue","_countRender","afterClose","_props$icons","icons","countRender","_props$scaleStep","scaleStep","_props$transitionName","_props$maskTransition","maskTransitionName","rotateLeft","rotateRight","zoomIn","zoomOut","close","rotate","setRotate","_useFrameSetState","preState","memoState","queueState","_useFrameSetState2","setPosition","imgRef","originPositionRef","originX","originY","deltaX","deltaY","isMoving","setMoving","isPreviewGroup","previewGroupCount","previewUrlsKeys","currentPreviewIndex","combinationSrc","showLeftOrRightSwitches","_useState7","wheelDirection","_useState8","lastWheelZoomDirection","setLastWheelZoomDirection","onZoomIn","onZoomOut","wrapClassName","toolClassName","iconClassName","_getClientSize","fixPos","_imgRef$current$getBo","_left","isRotate","fixState","css","g1","onWheelMove","onTopMouseUpListener","onTopMouseMoveListener","onMouseUpListener","onMouseMoveListener","onScrollWheelListener","passive","onKeyDownListener","self","Kp","_onTopMouseUpListener","_onTopMouseMoveListen","operations","showOperationsProgress","tools","_classnames4","rc_dialog_es","Image_excluded","_excluded2","uuid","ImageInternal","_imgCommonProps$style","imgSrc","onInitialPreviewClose","onPreviewClose","_ref$prefixCls","_ref$previewPrefixCls","previewPrefixCls","fallback","_ref$preview","preview","onImageError","decoding","referrerPolicy","sizes","useMap","isCustomPlaceholder","previewSrc","_ref2$visible","previewVisible","_ref2$onVisibleChange","onVisibleChange","_ref2$getContainer","previewMask","dialogProps","isControlled","isShowPreview","setStatus","mousePosition","isError","setGroupShowPreview","setGroupMousePosition","currentId","canPreview","isLoaded","onLoad","imgCommonProps","_getOffset","os","img","complete","naturalWidth","naturalHeight","PreviewGroup","_ref$icons","_ref2$current","_ref2$countRender","currentControlledKey","canPreviewUrls","_ref4","_ref5","_ref6","url","oldPreviewUrls","clonePreviewUrls","deleteResult","asn_RotateLeftOutlined","RotateLeftOutlined_RotateLeftOutlined","icons_RotateLeftOutlined","asn_RotateRightOutlined","RotateRightOutlined_RotateRightOutlined","icons_RotateRightOutlined","asn_ZoomInOutlined","ZoomInOutlined_ZoomInOutlined","icons_ZoomInOutlined","asn_ZoomOutOutlined","ZoomOutOutlined_ZoomOutOutlined","icons_ZoomOutOutlined","PreviewGroup_rest","image_rest","image_Image","_useContext$locale","es_locale_en_US","imageLocale","Image","mergedPreview","_preview","restPreviewProps","EyeOutlined","rc_image_es","es_image","Item_rest","Item_Item","colStyle","ListContext","itemLayout","_useContext3","actionsContent","itemChildren","grid_col","flex","Meta","description","list_rest","List","renderEmptyHandler","_a$pagination","pagination","_a$bordered","_a$split","loadMore","_a$dataSource","header","_a$loading","rowKey","renderItem","paginationObj","defaultCurrent","paginationCurrent","setPaginationCurrent","defaultPageSize","paginationSize","setPaginationSize","triggerPaginationEvent","page","pageSize","onPaginationChange","onPaginationShowSizeChange","renderInnerItem","loadingProp","spinning","paginationProps","total","largestPage","paginationContent","es_pagination","onShowSizeChange","splitDataSource","splice","currentBreakpoint","columnCount","childrenContent","minHeight","gutter","emptyText","paginationPosition","MentionsContext","es_DropdownMenu","setActiveIndex","selectOption","activeOption","rc_menu_es","activeKey","optionKey","sN","KeywordTrigger_BUILT_IN_PLACEMENTS","KeywordTrigger","getDropdownPrefix","getDropdownElement","getDropDownPlacement","char","Mentions","effectId","setEffectId","update","prefix","validateSearch","filterOption","onPressEnter","mergedPrefix","mergedProps","textareaRef","measureRef","getTextArea","_textareaRef$current","_textareaRef$current$","resizableTextArea","textArea","_textareaRef$current4","_textareaRef$current5","_textareaRef$current2","_textareaRef$current3","textarea","measuring","setMeasuring","measureText","setMeasureText","measurePrefix","setMeasurePrefix","measureLocation","setMeasureLocation","_useState9","_useState10","_useState11","_useState12","isFocus","setIsFocus","curPrefix","lastIndexOf","mergedMeasuring","mergedMeasureText","mergedMeasurePrefix","mergedMeasureLocation","getOptions","targetMeasureText","optionProps","onSelectionEffect","_effectId$callback","startMeasure","nextMeasureText","nextMeasurePrefix","nextMeasureLocation","stopMeasure","nextValue","measureConfig","targetText","selectionStart","beforeMeasureText","restText","connectedStartText","_getTextArea","_option$value","_replaceWithMeasure","reduceText","firstChar","targetTextLen","selectionLocation","input","setSelectionRange","focusRef","onInternalFocus","onInternalBlur","rc_textarea_es","optionLen","selectionStartText","_getLastMeasureIndex","lastMatch","prefixStr","lastIndex","location","measureIndex","validateMeasure","matchOption","es_MentionsContext","_ref$value","lowerCase","mentions_rest","mentions_Option","rc_mentions_es","loadingFilterOption","mentions_Mentions","mergedRef","mergedClassName","mentions","getMentions","_config$prefix","_config$split","prefixList","hitPrefix","asn_ArrowLeftOutlined","ArrowLeftOutlined_ArrowLeftOutlined","icons_ArrowLeftOutlined","asn_ArrowRightOutlined","ArrowRightOutlined_ArrowRightOutlined","icons_ArrowRightOutlined","getBackIcon","backIcon","renderTitle","subTitle","tags","onBack","headingPrefixCls","hasHeading","backIconDom","transButton","back","hasTitle","space","page_header","hooks_useState","compact","updateCompact","pageHeader","breadcrumb","breadcrumbRender","customizeClassName","ghost","defaultBreadcrumbDom","breadcrumbRenderDomFromProps","breadcrumbDom","isBreadcrumbComponent","asn_StarFilled","StarFilled_StarFilled","icons_StarFilled","Star","onHover","_this$props3","_this$props4","allowHalf","starValue","_this$props5","character","characterRender","characterNode","getClassName","noop","Rate","stars","rate","onHoverChange","getStarValue","cleanedValue","isReset","changeValue","saveRef","saveRate","_value","findDOMNode","doc","docElem","box","pos","w","starEle","getStarDOM","leftDis","clientLeft","el","defaultView","parentWindow","util_getScroll","ret","pageXOffset","method","rateClassName","nextProps","rate_rest","tooltips","_props$character","ratePrefixCls","tooltip","calcThumbStyle","toPX","MotionThumb","getValueIndex","onMotionStart","onMotionEnd","thumbRef","findValueElement","prevStyle","setPrevStyle","nextStyle","setNextStyle","calcPrevStyle","calcNextStyle","onAppearStart","onAppearActive","onAppearEnd","es_excluded","InternalSegmentedOption","Segmented","_segmentedOptions$","_props$motionName","segmentedOptions","validTitle","getValidTitle","_option$label","rawValue","setRawValue","thumbShow","setThumbShow","handleChange","segmentedOption","segmented_rest","segmented","block","_props$options","extendedOptions","restOption","Step_excluded","isString","Step","_args","onStepClick","stepIndex","iconNode","progressDot","stepIcon","stepNumber","iconPrefix","finish","iconDot","_this$props3$status","tailContent","stepItemStyle","accessibilityProps","renderIconNode","Steps_excluded","Steps","_this$props2$style","labelPlacement","initial","_this$props2$items","mergedItem","steps_rest","steps_Steps","percent","_props$responsive","_props$current","_useBreakpoint","rtlDirection","getDirection","mergedItems","stepsClassName","CheckOutlined","progress","strokeWidth","rc_steps_es","steps","time_picker_rest","InternalTimePicker","InternalRangePicker","time_picker_RangePicker","addon","internalRenderExtraFooter","time_picker","TimelineItem_rest","timeline_TimelineItem","_a$color","_a$pending","pending","itemClassName","dotClassName","customColor","test","Timeline_rest","Timeline","_props$pending","pendingDot","_props$reverse","_props$mode","pendingItem","timeLineItems","truthyItems","itemsCount","lastCls","idx","hasLabelItem","timeline","transfer_ListItem","renderedText","renderedEl","onRemove","showRemove","locale_default","Transfer","liProps","labelNode","DeleteOutlined","es_checkbox","OmitProps","parsePagination","defaultPagination","simple","showSizeChanger","showLessItems","ListBody","onItemSelect","selectedKeys","onItemRemove","onPageChange","getItems","filteredRenderItems","mergedPagination","displayItems","onScroll","globalDisabled","paginationNode","maxPageCount","Search","_props$placeholder","handleClear","SearchOutlined","list_defaultRender","getEnabledItemKeys","data","TransferList","defaultListBodyRef","handleFilter","filterValue","matchFilter","renderListBody","renderList","bodyContent","customize","_this$props$render","renderResult","isRenderResultPlain","getSelectAllLabel","selectedCount","totalCount","itemsUnit","itemUnit","selectAllLabel","triggerScrollTimer","filteredItems","renderedItem","searchPlaceholder","contentIndex","bodyNode","_this$renderListBody","onItemSelectAll","checkStatus","getCheckStatus","checkedAll","indeterminate","_this4","_this$props2$dataSour","_this$props2$titleTex","titleText","_this$props2$showSear","selectAll","selectCurrent","selectInvert","removeAll","removeCurrent","_this$props2$showSele","showSelectAll","footerDom","listCls","_this$getFilteredItem","getFilteredItems","listBody","getListBody","listFooter","checkAllCheckbox","getCheckBox","pageKeys","pageItems","availableKeys","checkedKeySet","newCheckedKeys","newUnCheckedKeys","es_dropdown","operation","moveToLeft","moveToRight","_ref$leftArrowText","leftArrowText","_ref$rightArrowText","rightArrowText","leftActive","rightActive","oneWay","separatedDataSource","setStateKeys","sourceSelectedKeys","targetSelectedKeys","getLocale","transferLocale","_this$props$locale","moveTo","_this$props$targetKey","targetKeys","_this$props$dataSourc","newMoveKeys","moveKeys","newTargetKeys","targetKey","oppositeDirection","handleSelectChange","checkAll","prevKeys","mergedCheckedKeys","onLeftItemSelectAll","onRightItemSelectAll","handleLeftFilter","handleRightFilter","handleLeftClear","handleRightClear","selectedKey","holder","onLeftItemSelect","onRightItemSelect","onRightItemRemove","_this$props2$targetKe","handleLeftScroll","handleRightScroll","handleListStyle","_props$selectedKeys","_props$targetKeys","_b","titles","_this$state3","onSelectChange","_this$props3$dataSour","_this$props3$targetKe","leftDataSource","rightDataSource","record","indexOfKey","_this2$props","_this2$props$operatio","_this2$props$showSear","_this2$props$listStyl","operationStyle","_this2$state","_this2$separateDataSo","separateDataSource","getTitles","selectAllLabels","mergedTargetKeys","Operation","transfer","LegacySelectContext","TreeSelectContext","isCheckDisabled","disableCheckbox","OptionList_HIDDEN_STYLE","border","margin","OptionList_RefOptionList","virtual","listItemHeight","treeData","treeExpandAction","treeExpandedKeys","treeDefaultExpandAll","treeDefaultExpandedKeys","onTreeExpand","treeIcon","showTreeIcon","switcherIcon","treeLine","treeNodeFilterProp","treeLoadedKeys","treeMotion","onTreeLoad","keyEntities","treeRef","memoTreeData","_treeRef$current","lowerSearchValue","expandedKeys","setExpandedKeys","searchExpandedKeys","setSearchExpandedKeys","mergedExpandedKeys","onListMouseDown","__","selected","setActiveKey","activeEntity","_treeRef$current2","_treeRef$current3","selectable","treeProps","loadedKeys","rc_tree_es","focusable","itemHeight","showIcon","showLine","checkStrictly","defaultExpandAll","onActiveChange","onCheck","onExpand","filterTreeNode","treeNode","expandAction","es_TreeNode","SHOW_ALL","strategyUtil_SHOW_PARENT","strategyUtil_SHOW_CHILD","strategyUtil_formatStrategyValues","strategy","legacyUtil_excluded","fillLegacyProps","dataNode","cloneNode","useCache","valueLabels","valueLabelsCache","filledValues","_item$label","mergedLabel","useRefFunc_useRefFunc","useFilterTreeData","fieldChildren","filterOptionFunc","upperStr","toUpperCase","keepAll","childList","TreeSelect_excluded","GenericTreeSelect","onDeselect","_props$autoClearSearc","autoClearSearchValue","_props$treeNodeFilter","treeNodeLabelProp","treeCheckable","treeCheckStrictly","labelInValue","treeDataSimpleMode","_props$listHeight","_props$listItemHeight","treeConduction","mergedCheckable","mergedLabelInValue","mergedMultiple","internalValue","setInternalValue","_title","mergedTreeData","pId","rootPId","keyNodes","rootNodeList","simpleMode","nodeList","parentKey","convertChildrenToData","_ref$props","childData","_useDataEntities","valueEntities","splitRawValues","newRawValues","missingRawValues","existRawValues","filteredTreeData","getLabel","titleList","toLabeledValues","draftValues","convert2LabelValues","rawDisabled","_rawLabel","rawLabel","rawHalfChecked","labelInValueItem","labeledItem","rawMixedLabeledValues","fullCheckValues","halfCheckValues","rawLabeledValues","rawHalfLabeledValues","_useCheckedKeys","rawHalfCheckedValues","_useCheckedKeys2","rawCheckedValues","_useCache","rawDisplayValues","_keyEntities$key$node","_keyEntities$key","_keyEntities$key$node2","targetItem","firstVal","cachedDisplayValues","_useCache2","eventValues","formattedKeyList","triggerValue","returnRawValues","returnLabeledValues","additionalInfo","preValue","showPosition","fillAdditionalInfo","triggerNode","generateMap","level","parentIncluded","included","checkedNode","val1","val2","index1","returnValues","onOptionSelect","_node$mergedFieldName","v","_splitRawValues","keyList","onInternalDropdownVisibleChange","legacyParam","treeSelectContext","legacyContext","es_TreeSelectContext","LegacyContext","TreeNode","tree_select_rest","tree_select_TreeSelect","mergedNotFound","_a$listHeight","_a$listItemHeight","_switcherIcon","_a$treeIcon","_a$choiceTransitionNa","treePrefixCls","treeSelectPrefixCls","isMultiple","selectProps","nodeProps","utils_iconUtil","tree_select","es_version","theme","Overlay","okButtonProps","cancelButtonProps","cancelText","okText","okType","_props$showCancel","showCancel","onConfirm","Popconfirm","ActionButton","buttonProps","button_button","actionFn","quitOnNullishReturnValue","emitEvent","popconfirm","defaultVisible","setOpen","settingOpen","_props$placement","_props$trigger","_props$okType","_props$icon","ExclamationCircleFilled","prefixClsConfirm","overlayClassNames","_props$disabled","_overlay","react__WEBPACK_IMPORTED_MODULE_0__","_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_1__","Popover","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","_props$overlayStyle","overlayStyle","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_tooltip__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","_util_motion__WEBPACK_IMPORTED_MODULE_5__","__webpack_exports__","camel2hyphen","__webpack_require__","obj2mq","mq","features","feature","isDimension","module","exports","q"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js b/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js deleted file mode 100644 index dc53ed078..000000000 --- a/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4860],{94860:function(e,n,a){"use strict";a.r(n),a.d(n,{ChatModerationActionMenu:function(){return z}});var t=a(85893),s=a(85402),o=a(12461),l=a(66516),r=a(13013),i=a(26713),c=a(67294),d=a(5152),h=a.n(d),u=a(14761),p=a(54907),x=a(71230),j=a(15746),m=a(71577),y=a(11382),b=a(20550),g=a(54398),w=a(58091),f=class{static async removeMessage(e,n){let a=new URL("/api/chat/messagevisibility",window.location.toString());a.searchParams.append("accessToken",n);let t=a.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})};await fetch(t,s)}static async banUser(e,n){let a=new URL("/api/chat/users/setenabled",window.location.toString());a.searchParams.append("accessToken",n);let t=a.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})};await fetch(t,s)}},k=a(57761),v=a.n(k),C=a(70241);let{Panel:_}=p.Z,M=h()(()=>Promise.all([a.e(2074),a.e(7949)]).then(a.t.bind(a,77949,23)),{loadableGenerated:{webpack:()=>[77949]},ssr:!1}),Z=async(e,n)=>{try{f.removeMessage(e,n)}catch(a){console.error(a)}},S=e=>{let{label:n,value:a}=e;return(0,t.jsxs)(x.Z,{justify:"space-around",align:"middle",children:[(0,t.jsx)(j.Z,{span:12,children:n}),(0,t.jsx)(j.Z,{span:12,children:a})]})},P=e=>{let{client:n}=e,{messageCount:a,connectedAt:s,geo:o}=n,l=(0,w.Z)(new Date(s),"PP pp");return(0,t.jsxs)("div",{children:[(0,t.jsx)(S,{label:"Messages Sent",value:"".concat(a)}),"N/A"!==o&&(0,t.jsx)(S,{label:"Geo",value:o}),(0,t.jsx)(S,{label:"Connected At",value:l})]})},A=e=>{let{color:n}=e;return(0,t.jsxs)("div",{className:v().colorBlock,style:{backgroundColor:"var(--theme-color-users-".concat(n,")")},children:["Color ",n]})},N=e=>{let{userId:n,accessToken:a}=e,[s,o]=(0,c.useState)(null),[l,r]=(0,c.useState)(!0),i=async()=>{try{let e=await (await fetch("/api/moderation/chat/user/".concat(n,"?accessToken=").concat(a))).json();o(e),r(!1)}catch(t){console.error(t)}};if((0,c.useEffect)(()=>{i()},[]),!s)return null;let{user:d,connectedClients:h,messages:u}=s,{displayColor:x,createdAt:j,previousNames:f,scopes:k,isBot:v,authenticated:N}=d,D=h.reduce((e,n)=>e+n.messageCount,0),O=(0,w.Z)(new Date(j),"PP pp");return(0,t.jsxs)(y.Z,{spinning:l,children:[(0,t.jsx)(A,{color:x}),k.map(e=>(0,t.jsx)(b.Z,{children:e},e)),N&&(0,t.jsx)(b.Z,{children:"Authenticated"}),v&&(0,t.jsx)(b.Z,{children:"Bot"}),(0,t.jsx)(S,{label:"Messages Sent Across Clients",value:D.toString()}),(0,t.jsx)(S,{label:"User Created",value:O}),(0,t.jsx)(S,{label:"Known As",value:f.join(",")}),(0,t.jsxs)(p.Z,{accordion:!0,children:[(0,t.jsx)(_,{header:"Currently Connected Clients",children:(0,t.jsx)(p.Z,{accordion:!0,children:h.map(e=>(0,t.jsx)(_,{header:(0,C.AB)(e.userAgent),children:(0,t.jsx)(P,{client:e})},e.id))})},"connected-clients"),(0,t.jsx)(p.Z,{accordion:!0,children:(0,t.jsx)(_,{header:"Recent Chat Messages",children:(0,t.jsx)(g.Z,{size:"small",pagination:null,columns:[{title:"Message",dataIndex:"body",key:"body"},{title:"Sent At",dataIndex:"timestamp",key:"timestamp",render:e=>(0,w.Z)(new Date(e),"PP pp")},{title:"Delete",key:"delete",render:(e,n)=>(0,t.jsx)(m.Z,{type:"primary",ghost:!0,icon:(0,t.jsx)(M,{}),onClick:()=>Z(n.id,a)})}],dataSource:u,rowKey:"id"})},"chat-messages")})]})]})};var D=a(24110),O=a.n(D);let{confirm:T}=s.Z,B=h()(()=>Promise.all([a.e(2074),a.e(4337)]).then(a.t.bind(a,74337,23)),{loadableGenerated:{webpack:()=>[74337]},ssr:!1}),G=h()(()=>Promise.all([a.e(2074),a.e(7039)]).then(a.t.bind(a,67039,23)),{loadableGenerated:{webpack:()=>[67039]},ssr:!1}),I=h()(()=>Promise.all([a.e(2074),a.e(4645)]).then(a.t.bind(a,84645,23)),{loadableGenerated:{webpack:()=>[84645]},ssr:!1}),U=h()(()=>Promise.all([a.e(2074),a.e(500)]).then(a.t.bind(a,40500,23)),{loadableGenerated:{webpack:()=>[40500]},ssr:!1}),z=e=>{let{messageID:n,userID:a,userDisplayName:s,accessToken:d}=e,[h,p]=(0,c.useState)(!1),x=async()=>{try{await f.banUser(a,d)}catch(e){console.error(e),o.ZP.error(e)}},j=async()=>{try{await f.removeMessage(n,d)}catch(e){console.error(e),o.ZP.error(e)}},m=async()=>{T({icon:(0,t.jsx)(G,{}),content:"Are you sure you want to remove this message from ".concat(s,"?"),onOk(){j()}})},y=async()=>{T({icon:(0,t.jsx)(G,{}),content:"Are you sure you want to ban ".concat(s," from chat?"),onOk(){x()}})},b=e=>{let{key:n}=e;"hide-message"===n?m():"ban-user"===n?y():"more-info"===n&&p(!0)},g=(0,t.jsx)(l.Z,{onClick:b,items:[{label:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:O().icon,children:(0,t.jsx)(I,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:O().icon,children:(0,t.jsx)(B,{})}),"Ban User"]}),key:"ban-user"},{label:(0,t.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Z,{overlay:g,trigger:["click"],children:(0,t.jsx)("button",{type:"button",onClick:e=>e.preventDefault(),children:(0,t.jsx)(i.Z,{children:(0,t.jsx)(U,{})})})}),(0,t.jsx)(u.Modal,{title:s,open:h,handleCancel:()=>{p(!1)},children:(0,t.jsx)(N,{userId:a,accessToken:d})})]})}},14761:function(e,n,a){"use strict";a.r(n),a.d(n,{Modal:function(){return d}});var t=a(85893),s=a(85402),o=a(26303),l=a(11382),r=a(67294),i=a(77011),c=a.n(i);let d=e=>{let{title:n,url:a,open:i,handleOk:d,handleCancel:h,afterClose:u,height:p,width:x,children:j}=e,[m,y]=(0,r.useState)(!!a),b="100%",g="520px";a&&(b="70vh",g="900px");let w={padding:"0px",minHeight:p,height:null!=p?p:b},f=a&&(0,t.jsx)("iframe",{title:n,src:a,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,style:{display:"block"},onLoad:()=>y(!1)});return(0,t.jsx)(s.Z,{title:n,open:i,onOk:d,onCancel:h,afterClose:u,bodyStyle:w,width:null!=x?x:g,zIndex:999,footer:null,centered:!0,destroyOnClose:!0,children:(0,t.jsxs)("div",{id:"modal-container",style:{height:"100%"},children:[m&&(0,t.jsx)(o.Z,{active:m,style:{padding:"10px"},paragraph:{rows:10}}),f&&(0,t.jsx)("div",{style:{display:m?"none":"inline"},children:f}),j&&(0,t.jsx)("div",{className:c().content,children:j}),m&&(0,t.jsx)(l.Z,{className:c().spinner,spinning:m,size:"large"})]})})};n.default=d,d.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},24110:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},57761:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw",displayName:"ChatModerationDetailsModal_displayName__p7pLI"}},77011:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); -//# sourceMappingURL=4860.7b36b125b2aaafb5.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js.map b/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js.map deleted file mode 100644 index e22593423..000000000 --- a/static/web/_next/static/chunks/4860.7b36b125b2aaafb5.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/4860.7b36b125b2aaafb5.js","mappings":"wWAqCAA,EAlCA,MACE,aAAoBC,cAAcC,CAAU,CAAEC,CAAmB,CAAgB,CAC/E,IAAMC,EAAM,IAAIC,IALW,8BAKgBC,OAAOC,QAAQ,CAACC,QAAQ,IACnEJ,EAAIK,YAAY,CAACC,MAAM,CAAC,cAAeP,GACvC,IAAMQ,EAAiBP,EAAII,QAAQ,GAE7BI,EAAU,CACdC,OAAQ,OACRC,QAAS,CACP,eAAgB,kBAClB,EACAC,KAAMC,KAAKC,SAAS,CAAC,CAAEC,QAAS,CAAChB,EAAG,EACtC,CAEA,OAAMiB,MAAMR,EAAgBC,EAC9B,CAEA,aAAoBQ,QAAQlB,CAAU,CAAEC,CAAmB,CAAgB,CACzE,IAAMC,EAAM,IAAIC,IApBO,6BAoBgBC,OAAOC,QAAQ,CAACC,QAAQ,IAC/DJ,EAAIK,YAAY,CAACC,MAAM,CAAC,cAAeP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AACW,MAAAA,CAAII,UAAWC,IAAAA,OAAAA,UAAiB4F,IAC7CpF,GAAW,GAAA2F,EAAAnH,GAAA,EAAC2C,EAAAA,CAAIA,CAAAA,CAAC5B,UAAWC,IAAAA,OAAAA,CAAgB4B,SAAUpB,EAAS8B,KAAK,cAI7E,CACA8E,CAAAA,EAAA,QAAe/B,EAEfA,EAAMgC,YAAY,CAAG,CACnB/K,IAAKgL,KAAAA,EACL1B,SAAU0B,KAAAA,EACV9B,SAAU8B,KAAAA,EACV/B,aAAc+B,KAAAA,EACd7B,WAAY6B,KAAAA,CACd,qBC5FAC,EAAAC,OAAA,EAAkB,gECAlBD,EAAAC,OAAA,EAAkB,wQCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./services/moderation-service.ts","webpack://_N_E/./components/chat/ChatModerationDetailsModal/ChatModerationDetailsModal.tsx","webpack://_N_E/./components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx","webpack://_N_E/./components/ui/Modal/Modal.tsx","webpack://_N_E/./components/chat/ChatModerationActionMenu/ChatModerationActionMenu.module.scss","webpack://_N_E/./components/chat/ChatModerationDetailsModal/ChatModerationDetailsModal.module.scss","webpack://_N_E/./components/ui/Modal/Modal.module.scss","webpack://_N_E/"],"sourcesContent":["const HIDE_MESSAGE_ENDPOINT = `/api/chat/messagevisibility`;\nconst BAN_USER_ENDPOINT = `/api/chat/users/setenabled`;\n\nclass ChatModerationService {\n public static async removeMessage(id: string, accessToken: string): Promise {\n const url = new URL(HIDE_MESSAGE_ENDPOINT, window.location.toString());\n url.searchParams.append('accessToken', accessToken);\n const hideMessageUrl = url.toString();\n\n const options = {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ idArray: [id] }),\n };\n\n await fetch(hideMessageUrl, options);\n }\n\n public static async banUser(id: string, accessToken: string): Promise {\n const url = new URL(BAN_USER_ENDPOINT, window.location.toString());\n url.searchParams.append('accessToken', accessToken);\n const hideMessageUrl = url.toString();\n\n const options = {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ id }),\n };\n\n await fetch(hideMessageUrl, options);\n }\n}\n\nexport default ChatModerationService;\n","import { Button, Col, Collapse, Row, Spin, Table, Tag } from 'antd';\nimport { FC, useEffect, useState } from 'react';\nimport format from 'date-fns/format';\nimport { ColumnsType } from 'antd/lib/table';\nimport dynamic from 'next/dynamic';\nimport ChatModeration from '../../../services/moderation-service';\nimport styles from './ChatModerationDetailsModal.module.scss';\nimport { formatUAstring } from '../../../utils/format';\n\nconst { Panel } = Collapse;\n\n// Lazy loaded components\n\nconst DeleteOutlined = dynamic(() => import('@ant-design/icons/DeleteOutlined'), {\n ssr: false,\n});\n\nexport type ChatModerationDetailsModalProps = {\n userId: string;\n accessToken: string;\n};\n\nexport interface UserDetails {\n user: User;\n connectedClients: Client[];\n messages: Message[];\n}\n\nexport interface Client {\n messageCount: number;\n userAgent: string;\n connectedAt: Date;\n geo: string;\n id: number;\n}\n\nexport interface Message {\n id: string;\n timestamp: Date;\n user: null;\n body: string;\n}\n\nexport interface User {\n id: string;\n displayName: string;\n displayColor: number;\n createdAt: Date;\n previousNames: string[];\n scopes: string[];\n isBot: boolean;\n authenticated: boolean;\n}\n\nconst removeMessage = async (messageId: string, accessToken: string) => {\n try {\n ChatModeration.removeMessage(messageId, accessToken);\n } catch (e) {\n console.error(e);\n }\n};\n\nconst ValueRow = ({ label, value }: { label: string; value: string }) => (\n \n {label}\n {value}\n \n);\n\nconst ConnectedClient = ({ client }: { client: Client }) => {\n const { messageCount, connectedAt, geo } = client;\n const connectedAtDate = format(new Date(connectedAt), 'PP pp');\n\n return (\n
\n \n {geo !== 'N/A' && }\n \n
\n );\n};\n\nconst UserColorBlock = ({ color }) => {\n const bg = `var(--theme-color-users-${color})`;\n return (\n
\n Color {color}\n
\n );\n};\n\nexport const ChatModerationDetailsModal: FC = ({\n userId,\n accessToken,\n}) => {\n const [userDetails, setUserDetails] = useState(null);\n const [loading, setLoading] = useState(true);\n\n const getDetails = async () => {\n try {\n const response = await (\n await fetch(`/api/moderation/chat/user/${userId}?accessToken=${accessToken}`)\n ).json();\n setUserDetails(response);\n setLoading(false);\n } catch (e) {\n console.error(e);\n }\n };\n\n useEffect(() => {\n getDetails();\n }, []);\n\n if (!userDetails) {\n return null;\n }\n\n const { user, connectedClients, messages } = userDetails;\n const { displayColor, createdAt, previousNames, scopes, isBot, authenticated } = user;\n\n const totalMessagesSent = connectedClients.reduce((acc, client) => acc + client.messageCount, 0);\n const createdAtDate = format(new Date(createdAt), 'PP pp');\n\n const chatMessageColumns: ColumnsType = [\n {\n title: 'Message',\n dataIndex: 'body',\n key: 'body',\n },\n {\n title: 'Sent At',\n dataIndex: 'timestamp',\n key: 'timestamp',\n render: timestamp => format(new Date(timestamp), 'PP pp'),\n },\n {\n title: 'Delete',\n key: 'delete',\n render: (text, record) => (\n }\n onClick={() => removeMessage(record.id, accessToken)}\n />\n ),\n },\n ];\n\n return (\n \n \n {scopes.map(scope => (\n {scope}\n ))}\n {authenticated && Authenticated}\n {isBot && Bot}\n \n \n \n \n \n \n {connectedClients.map(client => (\n \n \n \n ))}\n \n \n \n \n \n \n \n \n \n );\n};\n","import { Dropdown, Menu, MenuProps, Space, message, Modal as AntModal } from 'antd';\nimport { FC, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport { Modal } from '../../ui/Modal/Modal';\nimport { ChatModerationDetailsModal } from '../ChatModerationDetailsModal/ChatModerationDetailsModal';\nimport styles from './ChatModerationActionMenu.module.scss';\nimport ChatModeration from '../../../services/moderation-service';\n\nconst { confirm } = AntModal;\n\n// Lazy loaded components\n\nconst CloseCircleOutlined = dynamic(() => import('@ant-design/icons/CloseCircleOutlined'), {\n ssr: false,\n});\n\nconst ExclamationCircleOutlined = dynamic(\n () => import('@ant-design/icons/ExclamationCircleOutlined'),\n {\n ssr: false,\n },\n);\n\nconst EyeInvisibleOutlined = dynamic(() => import('@ant-design/icons/EyeInvisibleOutlined'), {\n ssr: false,\n});\n\nconst SmallDashOutlined = dynamic(() => import('@ant-design/icons/SmallDashOutlined'), {\n ssr: false,\n});\n\nexport type ChatModerationActionMenuProps = {\n accessToken: string;\n messageID: string;\n userID: string;\n userDisplayName: string;\n};\n\nexport const ChatModerationActionMenu: FC = ({\n messageID,\n userID,\n userDisplayName,\n accessToken,\n}) => {\n const [showUserDetailsModal, setShowUserDetailsModal] = useState(false);\n\n const handleBanUser = async () => {\n try {\n await ChatModeration.banUser(userID, accessToken);\n } catch (e) {\n console.error(e);\n message.error(e);\n }\n };\n\n const handleHideMessage = async () => {\n try {\n await ChatModeration.removeMessage(messageID, accessToken);\n } catch (e) {\n console.error(e);\n message.error(e);\n }\n };\n\n const confirmHideMessage = async () => {\n confirm({\n icon: ,\n content: `Are you sure you want to remove this message from ${userDisplayName}?`,\n onOk() {\n handleHideMessage();\n },\n });\n };\n\n const confirmBanUser = async () => {\n confirm({\n icon: ,\n content: `Are you sure you want to ban ${userDisplayName} from chat?`,\n onOk() {\n handleBanUser();\n },\n });\n };\n\n const onMenuClick: MenuProps['onClick'] = ({ key }) => {\n if (key === 'hide-message') {\n confirmHideMessage();\n } else if (key === 'ban-user') {\n confirmBanUser();\n } else if (key === 'more-info') {\n setShowUserDetailsModal(true);\n }\n };\n\n const menu = (\n \n \n \n \n Hide Message\n \n ),\n key: 'hide-message',\n },\n {\n label: (\n
\n \n \n \n Ban User\n
\n ),\n key: 'ban-user',\n },\n {\n label:
More Info...
,\n key: 'more-info',\n },\n ]}\n />\n );\n\n return (\n <>\n \n \n \n {\n setShowUserDetailsModal(false);\n }}\n >\n \n \n \n );\n};\n","import { Spin, Skeleton, Modal as AntModal } from 'antd';\nimport React, { FC, ReactNode, useState } from 'react';\nimport styles from './Modal.module.scss';\n\nexport type ModalProps = {\n title: string;\n url?: string;\n open: boolean;\n handleOk?: () => void;\n handleCancel?: () => void;\n afterClose?: () => void;\n children?: ReactNode;\n height?: string;\n width?: string;\n};\n\nexport const Modal: FC = ({\n title,\n url,\n open,\n handleOk,\n handleCancel,\n afterClose,\n height,\n width,\n children,\n}) => {\n const [loading, setLoading] = useState(!!url);\n\n let defaultHeight = '100%';\n let defaultWidth = '520px';\n if (url) {\n defaultHeight = '70vh';\n defaultWidth = '900px';\n }\n\n const modalContentBodyStyle = {\n padding: '0px',\n minHeight: height,\n height: height ?? defaultHeight,\n };\n\n const iframe = url && (\n setLoading(false)}\n />\n );\n\n const iframeDisplayStyle = loading ? 'none' : 'inline';\n\n return (\n \n
\n {loading && (\n \n )}\n\n {iframe &&
{iframe}
}\n {children &&
{children}
}\n {loading && }\n
\n \n );\n};\nexport default Modal;\n\nModal.defaultProps = {\n url: undefined,\n children: undefined,\n handleOk: undefined,\n handleCancel: undefined,\n afterClose: undefined,\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"ChatModerationActionMenu_icon__9j6DF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalContainer\":\"ChatModerationDetailsModal_modalContainer__czndV\",\"chatHistory\":\"ChatModerationDetailsModal_chatHistory__PunRk\",\"colorBlock\":\"ChatModerationDetailsModal_colorBlock___rAlw\",\"displayName\":\"ChatModerationDetailsModal_displayName__p7pLI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spinner\":\"Modal_spinner__GiSS0\",\"content\":\"Modal_content__h9my9\"};"],"names":["moderation_service","removeMessage","id","accessToken","url","URL","window","location","toString","searchParams","append","hideMessageUrl","options","method","headers","body","JSON","stringify","idArray","fetch","banUser","Panel","Collapse","DeleteOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","messageId","ChatModeration","console","error","ValueRow","label","value","param","jsx_runtime","jsxs","Row","justify","align","jsx","Col","span","ConnectedClient","client","messageCount","connectedAt","geo","connectedAtDate","format","Date","div","concat","UserColorBlock","color","className","styles","style","backgroundColor","ChatModerationDetailsModal","userId","userDetails","setUserDetails","useState","loading","setLoading","getDetails","response","json","useEffect","user","connectedClients","messages","displayColor","createdAt","previousNames","scopes","isBot","authenticated","totalMessagesSent","reduce","acc","createdAtDate","Spin","spinning","map","scope","Tag","join","accordion","header","formatUAstring","userAgent","Table","size","pagination","columns","title","dataIndex","key","render","timestamp","text","record","Button","type","ghost","icon","onClick","dataSource","rowKey","confirm","AntModal","CloseCircleOutlined","ExclamationCircleOutlined","EyeInvisibleOutlined","SmallDashOutlined","ChatModerationActionMenu","messageID","userID","userDisplayName","showUserDetailsModal","setShowUserDetailsModal","handleBanUser","message","handleHideMessage","confirmHideMessage","content","onOk","confirmBanUser","onMenuClick","menu","Menu","items","Fragment","Dropdown","overlay","trigger","button","preventDefault","Space","Modal","open","handleCancel","handleOk","afterClose","height","width","children","defaultHeight","defaultWidth","modalContentBodyStyle","padding","minHeight","iframe","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","src","sandbox","frameBorder","allowFullScreen","display","onLoad","onCancel","bodyStyle","zIndex","footer","centered","destroyOnClose","Skeleton","active","paragraph","rows","__webpack_exports__","defaultProps","undefined","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4860.e8b068da6be0f988.js b/static/web/_next/static/chunks/4860.e8b068da6be0f988.js new file mode 100644 index 000000000..048d153bf --- /dev/null +++ b/static/web/_next/static/chunks/4860.e8b068da6be0f988.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4860],{94860:function(e,n,t){"use strict";t.r(n),t.d(n,{ChatModerationActionMenu:function(){return L}});var a=t(85893),s=t(85402),o=t(12461),r=t(66516),l=t(13013),i=t(26713),c=t(67294),d=t(5152),h=t.n(d),u=t(14761),p=t(54907),x=t(71230),j=t(15746),m=t(71577),y=t(11382),b=t(20550),f=t(54398),g=t(58091),v=class{static async removeMessage(e,n){let t=new URL("/api/chat/messagevisibility",window.location.toString());t.searchParams.append("accessToken",n);let a=t.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})};await fetch(a,s)}static async banUser(e,n){let t=new URL("/api/chat/users/setenabled",window.location.toString());t.searchParams.append("accessToken",n);let a=t.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})};await fetch(a,s)}},w=t(57761),k=t.n(w),C=t(70241);let{Panel:M}=p.Z,_=h()(()=>Promise.all([t.e(2074),t.e(7949)]).then(t.t.bind(t,77949,23)),{loadableGenerated:{webpack:()=>[77949]},ssr:!1}),Z=async(e,n)=>{try{v.removeMessage(e,n)}catch(t){console.error(t)}},S=e=>{let{label:n,value:t}=e;return(0,a.jsxs)(x.Z,{justify:"space-around",align:"middle",children:[(0,a.jsx)(j.Z,{span:12,children:n}),(0,a.jsx)(j.Z,{span:12,children:t})]})},P=e=>{let{client:n}=e,{messageCount:t,connectedAt:s,geo:o}=n,r=(0,g.Z)(new Date(s),"PP pp");return(0,a.jsxs)("div",{children:[(0,a.jsx)(S,{label:"Messages Sent",value:"".concat(t)}),"N/A"!==o&&(0,a.jsx)(S,{label:"Geo",value:o}),(0,a.jsx)(S,{label:"Connected At",value:r})]})},A=e=>{let{color:n}=e;return(0,a.jsxs)("div",{className:k().colorBlock,style:{backgroundColor:"var(--theme-color-users-".concat(n,")")},children:["Color ",n]})},N=e=>{let{userId:n,accessToken:t}=e,[s,o]=(0,c.useState)(null),[r,l]=(0,c.useState)(!0),i=async()=>{try{let e=await (await fetch("/api/moderation/chat/user/".concat(n,"?accessToken=").concat(t))).json();o(e),l(!1)}catch(a){console.error(a)}};if((0,c.useEffect)(()=>{i()},[]),!s)return null;let{user:d,connectedClients:h,messages:u}=s,{displayColor:x,createdAt:j,previousNames:v,scopes:w,isBot:k,authenticated:N}=d,O=h.reduce((e,n)=>e+n.messageCount,0),D=(0,g.Z)(new Date(j),"PP pp");return(0,a.jsxs)(y.Z,{spinning:r,children:[(0,a.jsx)(A,{color:x}),w.map(e=>(0,a.jsx)(b.Z,{children:e},e)),N&&(0,a.jsx)(b.Z,{children:"Authenticated"}),k&&(0,a.jsx)(b.Z,{children:"Bot"}),(0,a.jsx)(S,{label:"Messages Sent Across Clients",value:O.toString()}),(0,a.jsx)(S,{label:"User Created",value:D}),(0,a.jsx)(S,{label:"Known As",value:v.join(",")}),(0,a.jsxs)(p.Z,{accordion:!0,children:[(0,a.jsx)(M,{header:"Currently Connected Clients",children:(0,a.jsx)(p.Z,{accordion:!0,children:h.map(e=>(0,a.jsx)(M,{header:(0,C.AB)(e.userAgent),children:(0,a.jsx)(P,{client:e})},e.id))})},"connected-clients"),(0,a.jsx)(p.Z,{accordion:!0,children:(0,a.jsx)(M,{header:"Recent Chat Messages",children:(0,a.jsx)(f.Z,{size:"small",pagination:null,columns:[{title:"Message",dataIndex:"body",key:"body"},{title:"Sent At",dataIndex:"timestamp",key:"timestamp",render:e=>(0,g.Z)(new Date(e),"PP pp")},{title:"Delete",key:"delete",render:(e,n)=>(0,a.jsx)(m.Z,{type:"primary",ghost:!0,icon:(0,a.jsx)(_,{}),onClick:()=>Z(n.id,t)})}],dataSource:u,rowKey:"id"})},"chat-messages")})]})]})};var O=t(24110),D=t.n(O);let{confirm:B}=s.Z,T=h()(()=>Promise.all([t.e(2074),t.e(4337)]).then(t.t.bind(t,74337,23)),{loadableGenerated:{webpack:()=>[74337]},ssr:!1}),G=h()(()=>Promise.all([t.e(2074),t.e(7039)]).then(t.t.bind(t,67039,23)),{loadableGenerated:{webpack:()=>[67039]},ssr:!1}),I=h()(()=>Promise.all([t.e(2074),t.e(4645)]).then(t.t.bind(t,84645,23)),{loadableGenerated:{webpack:()=>[84645]},ssr:!1}),U=h()(()=>Promise.all([t.e(2074),t.e(500)]).then(t.t.bind(t,40500,23)),{loadableGenerated:{webpack:()=>[40500]},ssr:!1}),L=e=>{let{messageID:n,userID:t,userDisplayName:s,accessToken:d}=e,[h,p]=(0,c.useState)(!1),x=async()=>{try{await v.banUser(t,d)}catch(e){console.error(e),o.ZP.error(e)}},j=async()=>{try{await v.removeMessage(n,d)}catch(e){console.error(e),o.ZP.error(e)}},m=async()=>{B({icon:(0,a.jsx)(G,{}),content:"Are you sure you want to remove this message from ".concat(s,"?"),onOk(){j()}})},y=async()=>{B({icon:(0,a.jsx)(G,{}),content:"Are you sure you want to ban ".concat(s," from chat?"),onOk(){x()}})},b=e=>{let{key:n}=e;"hide-message"===n?m():"ban-user"===n?y():"more-info"===n&&p(!0)},f=(0,a.jsx)(r.Z,{onClick:b,items:[{label:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:D().icon,children:(0,a.jsx)(I,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:D().icon,children:(0,a.jsx)(T,{})}),"Ban User"]}),key:"ban-user"},{label:(0,a.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Z,{overlay:f,trigger:["click"],children:(0,a.jsx)("button",{type:"button",onClick:e=>e.preventDefault(),children:(0,a.jsx)(i.Z,{children:(0,a.jsx)(U,{})})})}),(0,a.jsx)(u.Modal,{title:s,open:h,handleCancel:()=>{p(!1)},children:(0,a.jsx)(N,{userId:t,accessToken:d})})]})}},14761:function(e,n,t){"use strict";t.r(n),t.d(n,{Modal:function(){return d}});var a=t(85893),s=t(85402),o=t(26303),r=t(11382),l=t(67294),i=t(77011),c=t.n(i);let d=e=>{let{title:n,url:t,open:i,handleOk:d,handleCancel:h,afterClose:u,height:p,width:x,children:j}=e,[m,y]=(0,l.useState)(!!t),b="100%",f="520px";t&&(b="70vh",f="900px");let g={padding:"0px",minHeight:p,height:null!=p?p:b},v=t&&(0,a.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,style:{display:"block"},onLoad:()=>y(!1)});return(0,a.jsx)(s.Z,{title:n,open:i,onOk:d,onCancel:h,afterClose:u,bodyStyle:g,width:null!=x?x:f,zIndex:999,footer:null,centered:!0,destroyOnClose:!0,children:(0,a.jsxs)("div",{id:"modal-container",style:{height:"100%"},children:[m&&(0,a.jsx)(o.Z,{active:m,style:{padding:"10px"},paragraph:{rows:10}}),v&&(0,a.jsx)("div",{style:{display:m?"none":"inline"},children:v}),j&&(0,a.jsx)("div",{className:c().content,children:j}),m&&(0,a.jsx)(r.Z,{className:c().spinner,spinning:m,size:"large"})]})})};n.default=d,d.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},70241:function(e,n,t){"use strict";t.d(n,{AB:function(){return c},Qr:function(){return r},t5:function(){return o},wS:function(){return i}});var a=t(42238),s=t.n(a);function o(e){let n=e.split(":");n[n.length-1]="";let t=n.join(":");return"[::1]"===(t=t.slice(0,t.length-1))||"127.0.0.1"===t?"Localhost":t}function r(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function l(e,n,t){return String(n.repeat(t)+e).slice(-t)}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=Number.isFinite(+e)?Math.abs(e):0,t=Math.floor(n/86400),a=t>0?"".concat(t," day").concat(t>1?"s":""," "):"",s=Math.floor(n/3600%24),o=s||t?l("".concat(s,":"),"0",3):"",r=l("".concat(Math.floor(n/60%60),":"),"0",3),i=l("".concat(Math.floor(n%60)),"0",2);return a+o+r+i}function c(e){let n=s()(e),{device:t,os:a,browser:o}=n,{major:r,name:l}=o,{version:i,name:c}=a,{model:d,type:h}=t;return"libmpv"===e?"mpv media player":l&&r&&c?"".concat(l," ").concat(r," on ").concat(c," ").concat(i,"\n ").concat(d||h?" (".concat(d||h,")"):""):e}},24110:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},57761:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw",displayName:"ChatModerationDetailsModal_displayName__p7pLI"}},77011:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); +//# sourceMappingURL=4860.e8b068da6be0f988.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4860.e8b068da6be0f988.js.map b/static/web/_next/static/chunks/4860.e8b068da6be0f988.js.map new file mode 100644 index 000000000..03e106675 --- /dev/null +++ b/static/web/_next/static/chunks/4860.e8b068da6be0f988.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/4860.e8b068da6be0f988.js","mappings":"wWAqCAA,EAlCA,MACE,aAAoBC,cAAcC,CAAU,CAAEC,CAAmB,CAAgB,CAC/E,IAAMC,EAAM,IAAIC,IALW,8BAKgBC,OAAOC,QAAQ,CAACC,QAAQ,IACnEJ,EAAIK,YAAY,CAACC,MAAM,CAAC,cAAeP,GACvC,IAAMQ,EAAiBP,EAAII,QAAQ,GAE7BI,EAAU,CACdC,OAAQ,OACRC,QAAS,CACP,eAAgB,kBAClB,EACAC,KAAMC,KAAKC,SAAS,CAAC,CAAEC,QAAS,CAAChB,EAAG,EACtC,CAEA,OAAMiB,MAAMR,EAAgBC,EAC9B,CAEA,aAAoBQ,QAAQlB,CAAU,CAAEC,CAAmB,CAAgB,CACzE,IAAMC,EAAM,IAAIC,IApBO,6BAoBgBC,OAAOC,QAAQ,CAACC,QAAQ,IAC/DJ,EAAIK,YAAY,CAACC,MAAM,CAAC,cAAeP,GACvC,IAAMQ,EAAiBP,EAAII,QAAQ,GAE7BI,EAAU,CACdC,OAAQ,OACRC,QAAS,CACP,eAAgB,kBAClB,EACAC,KAAMC,KAAKC,SAAS,CAAC,CAAEf,GAAAA,CAAG,EAC5B,CAEA,OAAMiB,MAAMR,EAAgBC,EAC9B,CACF,iCC1BA,GAAM,CAAES,MAAAA,CAAAA,CAAO,CAAGC,EAAAA,CAAQA,CAIpBC,EAAiBC,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,E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E3C,OAAOO,EAAaE,EAAcC,EAAYC,CAChD,CASO,SAASjH,EAAekH,CAAgB,CAAE,CAC/C,IAAMC,EAASC,IAASF,GAClB,CAAEG,OAAAA,CAAAA,CAAQC,GAAAA,CAAAA,CAAIC,QAAAA,CAAAA,CAAS,CAAGJ,EAC1B,CAAEK,MAAOC,CAAAA,CAAgBC,KAAAA,CAAAA,CAAM,CAAGH,EAClC,CAAEI,QAASC,CAAAA,CAAWF,KAAMG,CAAAA,CAAQ,CAAGP,EACvC,CAAEQ,MAAAA,CAAAA,CAAOhH,KAAAA,CAAAA,CAAM,CAAGuG,QAExB,WAAIH,EACK,mBAGL,GAAUO,GAAmBI,EAK1B,GAAWJ,MAAAA,CAARC,EAAK,KAAwBG,MAAAA,CAArBJ,EAAe,QAAgBG,MAAAA,CAAVC,EAAO,KAC5CE,MAAAA,CAD+CH,EAAU,QAC5CnK,MAAA,CAFMqK,GAAShH,EAAO,KAAmBrD,MAAA,CAAdqK,GAAShH,EAAK,KAAK,EAAE,EAHtDoG,CAHR,qBC3DHc,EAAAC,OAAA,EAAkB,gECAlBD,EAAAC,OAAA,EAAkB,wQCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./services/moderation-service.ts","webpack://_N_E/./components/chat/ChatModerationDetailsModal/ChatModerationDetailsModal.tsx","webpack://_N_E/./components/chat/ChatModerationActionMenu/ChatModerationActionMenu.tsx","webpack://_N_E/./components/ui/Modal/Modal.tsx","webpack://_N_E/./utils/format.ts","webpack://_N_E/./components/chat/ChatModerationActionMenu/ChatModerationActionMenu.module.scss","webpack://_N_E/./components/chat/ChatModerationDetailsModal/ChatModerationDetailsModal.module.scss","webpack://_N_E/./components/ui/Modal/Modal.module.scss","webpack://_N_E/"],"sourcesContent":["const HIDE_MESSAGE_ENDPOINT = `/api/chat/messagevisibility`;\nconst BAN_USER_ENDPOINT = `/api/chat/users/setenabled`;\n\nclass ChatModerationService {\n public static async removeMessage(id: string, accessToken: string): Promise {\n const url = new URL(HIDE_MESSAGE_ENDPOINT, window.location.toString());\n url.searchParams.append('accessToken', accessToken);\n const hideMessageUrl = url.toString();\n\n const options = {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ idArray: [id] }),\n };\n\n await fetch(hideMessageUrl, options);\n }\n\n public static async banUser(id: string, accessToken: string): Promise {\n const url = new URL(BAN_USER_ENDPOINT, window.location.toString());\n url.searchParams.append('accessToken', accessToken);\n const hideMessageUrl = url.toString();\n\n const options = {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ id }),\n };\n\n await fetch(hideMessageUrl, options);\n }\n}\n\nexport default ChatModerationService;\n","import { Button, Col, Collapse, Row, Spin, Table, Tag } from 'antd';\nimport { FC, useEffect, useState } from 'react';\nimport format from 'date-fns/format';\nimport { ColumnsType } from 'antd/lib/table';\nimport dynamic from 'next/dynamic';\nimport ChatModeration from '../../../services/moderation-service';\nimport styles from './ChatModerationDetailsModal.module.scss';\nimport { formatUAstring } from '../../../utils/format';\n\nconst { Panel } = Collapse;\n\n// Lazy loaded components\n\nconst DeleteOutlined = dynamic(() => import('@ant-design/icons/DeleteOutlined'), {\n ssr: false,\n});\n\nexport type ChatModerationDetailsModalProps = {\n userId: string;\n accessToken: string;\n};\n\nexport interface UserDetails {\n user: User;\n connectedClients: Client[];\n messages: Message[];\n}\n\nexport interface Client {\n messageCount: number;\n userAgent: string;\n connectedAt: Date;\n geo: string;\n id: number;\n}\n\nexport interface Message {\n id: string;\n timestamp: Date;\n user: null;\n body: string;\n}\n\nexport interface User {\n id: string;\n displayName: string;\n displayColor: number;\n createdAt: Date;\n previousNames: string[];\n scopes: string[];\n isBot: boolean;\n authenticated: boolean;\n}\n\nconst removeMessage = async (messageId: string, accessToken: string) => {\n try {\n ChatModeration.removeMessage(messageId, accessToken);\n } catch (e) {\n console.error(e);\n }\n};\n\nconst ValueRow = ({ label, value }: { label: string; value: string }) => (\n \n {label}\n {value}\n \n);\n\nconst ConnectedClient = ({ client }: { client: Client }) => {\n const { messageCount, connectedAt, geo } = client;\n const connectedAtDate = format(new Date(connectedAt), 'PP pp');\n\n return (\n
\n \n {geo !== 'N/A' && }\n \n
\n );\n};\n\nconst UserColorBlock = ({ color }) => {\n const bg = `var(--theme-color-users-${color})`;\n return (\n
\n Color {color}\n
\n );\n};\n\nexport const ChatModerationDetailsModal: FC = ({\n userId,\n accessToken,\n}) => {\n const [userDetails, setUserDetails] = useState(null);\n const [loading, setLoading] = useState(true);\n\n const getDetails = async () => {\n try {\n const response = await (\n await fetch(`/api/moderation/chat/user/${userId}?accessToken=${accessToken}`)\n ).json();\n setUserDetails(response);\n setLoading(false);\n } catch (e) {\n console.error(e);\n }\n };\n\n useEffect(() => {\n getDetails();\n }, []);\n\n if (!userDetails) {\n return null;\n }\n\n const { user, connectedClients, messages } = userDetails;\n const { displayColor, createdAt, previousNames, scopes, isBot, authenticated } = user;\n\n const totalMessagesSent = connectedClients.reduce((acc, client) => acc + client.messageCount, 0);\n const createdAtDate = format(new Date(createdAt), 'PP pp');\n\n const chatMessageColumns: ColumnsType = [\n {\n title: 'Message',\n dataIndex: 'body',\n key: 'body',\n },\n {\n title: 'Sent At',\n dataIndex: 'timestamp',\n key: 'timestamp',\n render: timestamp => format(new Date(timestamp), 'PP pp'),\n },\n {\n title: 'Delete',\n key: 'delete',\n render: (text, record) => (\n }\n onClick={() => removeMessage(record.id, accessToken)}\n />\n ),\n },\n ];\n\n return (\n \n \n {scopes.map(scope => (\n {scope}\n ))}\n {authenticated && Authenticated}\n {isBot && Bot}\n \n \n \n \n \n \n {connectedClients.map(client => (\n \n \n \n ))}\n \n \n \n \n \n \n \n \n \n );\n};\n","import { Dropdown, Menu, MenuProps, Space, message, Modal as AntModal } from 'antd';\nimport { FC, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport { Modal } from '../../ui/Modal/Modal';\nimport { ChatModerationDetailsModal } from '../ChatModerationDetailsModal/ChatModerationDetailsModal';\nimport styles from './ChatModerationActionMenu.module.scss';\nimport ChatModeration from '../../../services/moderation-service';\n\nconst { confirm } = AntModal;\n\n// Lazy loaded components\n\nconst CloseCircleOutlined = dynamic(() => import('@ant-design/icons/CloseCircleOutlined'), {\n ssr: false,\n});\n\nconst ExclamationCircleOutlined = dynamic(\n () => import('@ant-design/icons/ExclamationCircleOutlined'),\n {\n ssr: false,\n },\n);\n\nconst EyeInvisibleOutlined = dynamic(() => import('@ant-design/icons/EyeInvisibleOutlined'), {\n ssr: false,\n});\n\nconst SmallDashOutlined = dynamic(() => import('@ant-design/icons/SmallDashOutlined'), {\n ssr: false,\n});\n\nexport type ChatModerationActionMenuProps = {\n accessToken: string;\n messageID: string;\n userID: string;\n userDisplayName: string;\n};\n\nexport const ChatModerationActionMenu: FC = ({\n messageID,\n userID,\n userDisplayName,\n accessToken,\n}) => {\n const [showUserDetailsModal, setShowUserDetailsModal] = useState(false);\n\n const handleBanUser = async () => {\n try {\n await ChatModeration.banUser(userID, accessToken);\n } catch (e) {\n console.error(e);\n message.error(e);\n }\n };\n\n const handleHideMessage = async () => {\n try {\n await ChatModeration.removeMessage(messageID, accessToken);\n } catch (e) {\n console.error(e);\n message.error(e);\n }\n };\n\n const confirmHideMessage = async () => {\n confirm({\n icon: ,\n content: `Are you sure you want to remove this message from ${userDisplayName}?`,\n onOk() {\n handleHideMessage();\n },\n });\n };\n\n const confirmBanUser = async () => {\n confirm({\n icon: ,\n content: `Are you sure you want to ban ${userDisplayName} from chat?`,\n onOk() {\n handleBanUser();\n },\n });\n };\n\n const onMenuClick: MenuProps['onClick'] = ({ key }) => {\n if (key === 'hide-message') {\n confirmHideMessage();\n } else if (key === 'ban-user') {\n confirmBanUser();\n } else if (key === 'more-info') {\n setShowUserDetailsModal(true);\n }\n };\n\n const menu = (\n \n \n \n \n Hide Message\n \n ),\n key: 'hide-message',\n },\n {\n label: (\n
\n \n \n \n Ban User\n
\n ),\n key: 'ban-user',\n },\n {\n label:
More Info...
,\n key: 'more-info',\n },\n ]}\n />\n );\n\n return (\n <>\n \n \n \n {\n setShowUserDetailsModal(false);\n }}\n >\n \n \n \n );\n};\n","import { Spin, Skeleton, Modal as AntModal } from 'antd';\nimport React, { FC, ReactNode, useState } from 'react';\nimport styles from './Modal.module.scss';\n\nexport type ModalProps = {\n title: string;\n url?: string;\n open: boolean;\n handleOk?: () => void;\n handleCancel?: () => void;\n afterClose?: () => void;\n children?: ReactNode;\n height?: string;\n width?: string;\n};\n\nexport const Modal: FC = ({\n title,\n url,\n open,\n handleOk,\n handleCancel,\n afterClose,\n height,\n width,\n children,\n}) => {\n const [loading, setLoading] = useState(!!url);\n\n let defaultHeight = '100%';\n let defaultWidth = '520px';\n if (url) {\n defaultHeight = '70vh';\n defaultWidth = '900px';\n }\n\n const modalContentBodyStyle = {\n padding: '0px',\n minHeight: height,\n height: height ?? defaultHeight,\n };\n\n const iframe = url && (\n setLoading(false)}\n />\n );\n\n const iframeDisplayStyle = loading ? 'none' : 'inline';\n\n return (\n \n
\n {loading && (\n \n )}\n\n {iframe &&
{iframe}
}\n {children &&
{children}
}\n {loading && }\n
\n \n );\n};\nexport default Modal;\n\nModal.defaultProps = {\n url: undefined,\n children: undefined,\n handleOk: undefined,\n handleCancel: undefined,\n afterClose: undefined,\n};\n","import UAParser from 'ua-parser-js';\n\nexport function formatIPAddress(ipAddress: string): string {\n const ipAddressComponents = ipAddress.split(':');\n\n // Wipe out the port component\n ipAddressComponents[ipAddressComponents.length - 1] = '';\n\n let ip = ipAddressComponents.join(':');\n ip = ip.slice(0, ip.length - 1);\n if (ip === '[::1]' || ip === '127.0.0.1') {\n return 'Localhost';\n }\n\n return ip;\n}\n\n// check if obj is {}\nexport function isEmptyObject(obj) {\n return !obj || (Object.keys(obj).length === 0 && obj.constructor === Object);\n}\n\nexport function padLeft(text, pad, size) {\n return String(pad.repeat(size) + text).slice(-size);\n}\n\nexport function parseSecondsToDurationString(seconds = 0) {\n const finiteSeconds = Number.isFinite(+seconds) ? Math.abs(seconds) : 0;\n\n const days = Math.floor(finiteSeconds / 86400);\n const daysString = days > 0 ? `${days} day${days > 1 ? 's' : ''} ` : '';\n\n const hours = Math.floor((finiteSeconds / 3600) % 24);\n const hoursString = hours || days ? padLeft(`${hours}:`, '0', 3) : '';\n\n const mins = Math.floor((finiteSeconds / 60) % 60);\n const minString = padLeft(`${mins}:`, '0', 3);\n\n const secs = Math.floor(finiteSeconds % 60);\n const secsString = padLeft(`${secs}`, '0', 2);\n\n return daysString + hoursString + minString + secsString;\n}\n\nexport function makeAndStringFromArray(arr: string[]): string {\n if (arr.length === 1) return arr[0];\n const firsts = arr.slice(0, arr.length - 1);\n const last = arr[arr.length - 1];\n return `${firsts.join(', ')} and ${last}`;\n}\n\nexport function formatUAstring(uaString: string) {\n const parser = UAParser(uaString);\n const { device, os, browser } = parser;\n const { major: browserVersion, name } = browser;\n const { version: osVersion, name: osName } = os;\n const { model, type } = device;\n\n if (uaString === 'libmpv') {\n return 'mpv media player';\n }\n // Fallback to just displaying the raw agent string.\n if (!name || !browserVersion || !osName) {\n return uaString;\n }\n\n const deviceString = model || type ? ` (${model || type})` : '';\n return `${name} ${browserVersion} on ${osName} ${osVersion}\n ${deviceString}`;\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"ChatModerationActionMenu_icon__9j6DF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modalContainer\":\"ChatModerationDetailsModal_modalContainer__czndV\",\"chatHistory\":\"ChatModerationDetailsModal_chatHistory__PunRk\",\"colorBlock\":\"ChatModerationDetailsModal_colorBlock___rAlw\",\"displayName\":\"ChatModerationDetailsModal_displayName__p7pLI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spinner\":\"Modal_spinner__GiSS0\",\"content\":\"Modal_content__h9my9\"};"],"names":["moderation_service","removeMessage","id","accessToken","url","URL","window","location","toString","searchParams","append","hideMessageUrl","options","method","headers","body","JSON","stringify","idArray","fetch","banUser","Panel","Collapse","DeleteOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","messageId","ChatModeration","console","error","ValueRow","label","value","param","jsx_runtime","jsxs","Row","justify","align","jsx","Col","span","ConnectedClient","client","messageCount","connectedAt","geo","connectedAtDate","format","Date","div","concat","UserColorBlock","color","className","styles","style","backgroundColor","ChatModerationDetailsModal","userId","userDetails","setUserDetails","useState","loading","setLoading","getDetails","response","json","useEffect","user","connectedClients","messages","displayColor","createdAt","previousNames","scopes","isBot","authenticated","totalMessagesSent","reduce","acc","createdAtDate","Spin","spinning","map","scope","Tag","join","accordion","header","formatUAstring","userAgent","Table","size","pagination","columns","title","dataIndex","key","render","timestamp","text","record","Button","type","ghost","icon","onClick","dataSource","rowKey","confirm","AntModal","CloseCircleOutlined","ExclamationCircleOutlined","EyeInvisibleOutlined","SmallDashOutlined","ChatModerationActionMenu","messageID","userID","userDisplayName","showUserDetailsModal","setShowUserDetailsModal","handleBanUser","message","handleHideMessage","confirmHideMessage","content","onOk","confirmBanUser","onMenuClick","menu","Menu","items","Fragment","Dropdown","overlay","trigger","button","preventDefault","Space","Modal","open","handleCancel","handleOk","afterClose","height","width","children","defaultHeight","defaultWidth","modalContentBodyStyle","padding","minHeight","iframe","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","src","sandbox","frameBorder","allowFullScreen","display","onLoad","onCancel","bodyStyle","zIndex","footer","centered","destroyOnClose","Skeleton","active","paragraph","rows","__webpack_exports__","defaultProps","undefined","formatIPAddress","ipAddress","ipAddressComponents","split","length","ip","slice","isEmptyObject","obj","Object","keys","constructor","padLeft","pad","String","repeat","parseSecondsToDurationString","seconds","finiteSeconds","Number","isFinite","Math","abs","days","floor","daysString","hours","hoursString","minString","secsString","uaString","parser","UAParser","device","os","browser","major","browserVersion","name","version","osVersion","osName","model","deviceString","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4931-39f633fc7b9a7263.js b/static/web/_next/static/chunks/4931-39f633fc7b9a7263.js new file mode 100644 index 000000000..a46b821bc --- /dev/null +++ b/static/web/_next/static/chunks/4931-39f633fc7b9a7263.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4931],{89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EllipsisOutlined";var c=o.forwardRef(l)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LeftOutlined";var c=o.forwardRef(l)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="RightOutlined";var c=o.forwardRef(l)},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect(function(){a((0,i.fk)())},[]),n}},31808:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},7293:function(e,t,n){"use strict";n.d(t,{D:function(){return b},Z:function(){return x}});var r,o=n(4942),i=n(87462),a=n(97685),l=n(1413),c=n(67294),u={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"},s=n(42135),f=function(e,t){return c.createElement(s.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:u}))};f.displayName="BarsOutlined";var d=c.forwardRef(f),m=n(6171),p=n(18073),v=n(94184),y=n.n(v),h=n(98423),E=n(53124),Z=n(2897),C=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=c.createContext({}),N=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),x=c.forwardRef(function(e,t){var n,r,l,u,s,f,v,x,S,O,M,I=e.prefixCls,w=e.className,P=e.trigger,R=e.children,k=e.defaultCollapsed,T=e.theme,A=e.style,_=e.collapsible,K=void 0!==_&&_,L=e.reverseArrow,z=void 0!==L&&L,D=e.width,U=e.collapsedWidth,j=void 0===U?80:U,F=e.zeroWidthTriggerStyle,H=e.breakpoint,W=e.onCollapse,G=e.onBreakpoint,B=C(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),V=(0,c.useContext)(Z.Gs).siderHook,Q=(0,c.useState)("collapsed"in B?B.collapsed:void 0!==k&&k),Y=(0,a.Z)(Q,2),X=Y[0],$=Y[1],q=(0,c.useState)(!1),J=(0,a.Z)(q,2),ee=J[0],et=J[1];(0,c.useEffect)(function(){"collapsed"in B&&$(B.collapsed)},[B.collapsed]);var en=function(e,t){"collapsed"in B||$(e),null==W||W(e,t)},er=(0,c.useRef)();er.current=function(e){et(e.matches),null==G||G(e.matches),X!==e.matches&&en(e.matches,"responsive")},(0,c.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&H&&H in g){t=n("(max-width: ".concat(g[H],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[H]),(0,c.useEffect)(function(){var e=N("ant-sider-");return V.addSider(e),function(){return V.removeSider(e)}},[]);var eo=function(){en(!X,"clickTrigger")},ei=(0,c.useContext)(E.E_).getPrefixCls,ea=c.useMemo(function(){return{siderCollapsed:X}},[X]);return c.createElement(b.Provider,{value:ea},(r=ei("layout-sider",I),l=(0,h.Z)(B,["collapsed"]),f=!isNaN(parseFloat(s=u=X?j:void 0===D?200:D))&&isFinite(s)?"".concat(u,"px"):String(u),v=0===parseFloat(String(j||0))?c.createElement("span",{onClick:eo,className:y()("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(z?"right":"left")),style:F},P||c.createElement(d,null)):null,x=({expanded:z?c.createElement(p.Z,null):c.createElement(m.Z,null),collapsed:z?c.createElement(m.Z,null):c.createElement(p.Z,null)})[X?"collapsed":"expanded"],S=null!==P?v||c.createElement("div",{className:"".concat(r,"-trigger"),onClick:eo,style:{width:f}},P||x):null,O=(0,i.Z)((0,i.Z)({},void 0===A?{}:A),{flex:"0 0 ".concat(f),maxWidth:f,minWidth:f,width:f}),M=y()(r,"".concat(r,"-").concat(void 0===T?"dark":T),(n={},(0,o.Z)(n,"".concat(r,"-collapsed"),!!X),(0,o.Z)(n,"".concat(r,"-has-trigger"),K&&null!==P&&!v),(0,o.Z)(n,"".concat(r,"-below"),!!ee),(0,o.Z)(n,"".concat(r,"-zero-width"),0===parseFloat(f)),n),w),c.createElement("aside",(0,i.Z)({className:M},l,{style:O,ref:t}),c.createElement("div",{className:"".concat(r,"-children")},R),K||ee&&v?S:null)))})},2897:function(e,t,n){"use strict";n.d(t,{$_:function(){return E},Gs:function(){return d},VY:function(){return Z},h4:function(){return h}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),l=n(94184),c=n.n(l),u=n(67294),s=n(53124),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=u.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function m(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return u.forwardRef(function(r,o){var i=(0,u.useContext(s.E_).getPrefixCls)(t,r.prefixCls);return u.createElement(e,(0,a.Z)({ref:o,prefixCls:i,tagName:n},r))})}}var p=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,l=f(e,["prefixCls","className","children","tagName"]),s=c()(n,r);return u.createElement(i,(0,a.Z)((0,a.Z)({className:s},l),{ref:t}),o)}),v=u.forwardRef(function(e,t){var n,l=u.useContext(s.E_).direction,m=u.useState([]),p=(0,i.Z)(m,2),v=p[0],y=p[1],h=e.prefixCls,E=e.className,Z=e.children,C=e.hasSider,g=e.tagName,b=f(e,["prefixCls","className","children","hasSider","tagName"]),N=c()(h,(n={},(0,o.Z)(n,"".concat(h,"-has-sider"),"boolean"==typeof C?C:v.length>0),(0,o.Z)(n,"".concat(h,"-rtl"),"rtl"===l),n),E),x=u.useMemo(function(){return{siderHook:{addSider:function(e){y(function(t){return[].concat((0,r.Z)(t),[e])})},removeSider:function(e){y(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return u.createElement(d.Provider,{value:x},u.createElement(g,(0,a.Z)({ref:t,className:N},b),Z))}),y=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(v),h=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p),E=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p),Z=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.ZP=y},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(87462),o=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=o.createContext(null),l=function(e){var t=e.children,n=i(e,["children"]),l=o.useContext(a),c=o.useMemo(function(){return(0,r.Z)((0,r.Z)({},l),n)},[l,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:c},t)};t.Z=a},66516:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(15671),o=n(43144),i=n(60136),a=n(33643),l=n(87462),c=n(89705),u=n(94184),s=n.n(u),f=n(97868),d=n(66680),m=n(98423),p=n(67294),v=n(53124),y=n(7293),h=n(33603),E=n(96159),Z=n(71002),C=n(4942),g=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=g(e,["prefixCls","className","dashed"]),i=(0,p.useContext(v.E_).getPrefixCls)("menu",t),a=s()((0,C.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return p.createElement(f.iz,(0,l.Z)({className:a},o))},N=n(50344),x=n(94199),S=(0,p.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),O=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},M=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,c=i.firstLevel,u=i.inlineCollapsed,d=i.direction,m=i.disableMenuItemTitleTooltip,v=e.props,y=v.className,h=v.children,Z=e.props,g=Z.title,b=Z.icon,S=Z.danger,M=O(Z,["title","icon","danger"]),I=g;void 0===g?I=c?h:"":!1===g&&(I="");var w={title:I};o||u||(w.title=null,w.open=!1);var P=(0,N.Z)(h).length,R=p.createElement(f.ck,(0,l.Z)({},M,{className:s()((n={},(0,C.Z)(n,"".concat(a,"-item-danger"),S),(0,C.Z)(n,"".concat(a,"-item-only-child"),(b?P+1:P)===1),n),y),title:"string"==typeof g?g:void 0}),(0,E.Tm)(b,{className:s()((0,E.l$)(b)?null===(r=b.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(u));return m||(R=p.createElement(x.Z,(0,l.Z)({},w,{placement:"rtl"===d?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),R)),R},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,l=p.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,E.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"==typeof a?p.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):l}},{key:"render",value:function(){return p.createElement(y.D.Consumer,null,this.renderItem)}}]),n}(p.Component);M.contextType=S;var I=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,c=p.useContext(S),u=c.prefixCls,d=c.inlineCollapsed,v=c.antdMenuTheme,y=(0,f.Xl)();if(o){var h=(0,E.l$)(i)&&"span"===i.type;n=p.createElement(p.Fragment,null,(0,E.Tm)(o,{className:s()((0,E.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(u,"-item-icon"))}),h?i:p.createElement("span",{className:"".concat(u,"-title-content")},i))}else n=d&&!y.length&&i&&"string"==typeof i?p.createElement("div",{className:"".concat(u,"-inline-collapsed-noicon")},i.charAt(0)):p.createElement("span",{className:"".concat(u,"-title-content")},i);var Z=p.useMemo(function(){return(0,l.Z)((0,l.Z)({},c),{firstLevel:!1})},[c]);return p.createElement(S.Provider,{value:Z},p.createElement(f.Wd,(0,l.Z)({},(0,m.Z)(e,["icon"]),{title:n,popupClassName:s()(u,"".concat(u,"-").concat(a||v),r)})))},w=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},P=n(76529),R=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},k=(0,p.forwardRef)(function(e,t){var n,r,o=p.useContext(P.Z)||{},i=p.useContext(v.E_),a=i.getPrefixCls,u=i.getPopupContainer,y=i.direction,C=a(),g=e.prefixCls,N=e.className,x=e.theme,O=void 0===x?"light":x,k=e.expandIcon,T=e._internalDisableMenuItemTitleTooltip,A=e.inlineCollapsed,_=e.siderCollapsed,K=e.items,L=e.children,z=e.mode,D=e.selectable,U=e.onClick,j=R(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),F=(0,m.Z)(j,["collapsedWidth"]),H=p.useMemo(function(){return K?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,Z.Z)(t)){var r=t.label,o=t.children,i=t.key,a=t.type,c=w(t,["label","children","key","type"]),u=null!=i?i:"tmp-".concat(n);return o||"group"===a?"group"===a?p.createElement(f.BW,(0,l.Z)({key:u},c,{title:r}),e(o)):p.createElement(I,(0,l.Z)({key:u},c,{title:r}),e(o)):"divider"===a?p.createElement(b,(0,l.Z)({key:u},c)):p.createElement(M,(0,l.Z)({key:u},c),r)}return null}).filter(function(e){return e})}(K):K},[K])||L;null===(n=o.validator)||void 0===n||n.call(o,{mode:z});var W=(0,d.Z)(function(){var e;null==U||U.apply(void 0,arguments),null===(e=null==o?void 0:o.onClick)||void 0===e||e.call(o)}),G=o.mode||z,B=null!=D?D:o.selectable,V=p.useMemo(function(){return void 0!==_?_:A},[A,_]),Q={horizontal:{motionName:"".concat(C,"-slide-up")},inline:h.ZP,other:{motionName:"".concat(C,"-zoom-big")}},Y=a("menu",g||o.prefixCls),X=s()("".concat(Y,"-").concat(O),N);r="function"==typeof k?k:(0,E.Tm)(k||o.expandIcon,{className:"".concat(Y,"-submenu-expand-icon")});var $=p.useMemo(function(){return{prefixCls:Y,inlineCollapsed:V||!1,antdMenuTheme:O,direction:y,firstLevel:!0,disableMenuItemTitleTooltip:T}},[Y,V,O,y,T]);return p.createElement(P.Z.Provider,{value:null},p.createElement(S.Provider,{value:$},p.createElement(f.ZP,(0,l.Z)({getPopupContainer:u,overflowedIndicator:p.createElement(c.Z,null),overflowedIndicatorPopupClassName:"".concat(Y,"-").concat(O),mode:G,selectable:B,onClick:W},F,{inlineCollapsed:V,className:X,prefixCls:Y,direction:y,defaultMotions:Q,expandIcon:r,ref:t}),H)))}),T=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(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.Z)(n,[{key:"render",value:function(){var e=this;return p.createElement(y.D.Consumer,null,function(t){return p.createElement(k,(0,l.Z)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(p.Component);T.Divider=b,T.Item=M,T.SubMenu=I,T.ItemGroup=f.BW;var A=T},26713:function(e,t,n){"use strict";n.d(t,{u:function(){return v},Z:function(){return E}});var r=n(87462),o=n(4942),i=n(97685),a=n(94184),l=n.n(a),c=n(50344),u=n(67294),s=n(53124),f=n(98082);function d(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,l=e.children,c=e.split,s=e.wrap,f=u.useContext(v),d=f.horizontalSize,m=f.verticalSize,p=f.latestIndex,y=f.supportFlexGap,h={};return(!y&&("vertical"===n?it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=u.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),y={small:8,middle:16,large:24},h=function(e){var t,n=u.useContext(s.E_),a=n.getPrefixCls,m=n.space,h=n.direction,E=e.size,Z=void 0===E?(null==m?void 0:m.size)||"small":E,C=e.align,g=e.className,b=e.children,N=e.direction,x=void 0===N?"horizontal":N,S=e.prefixCls,O=e.split,M=e.style,I=e.wrap,w=void 0!==I&&I,P=p(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),R=(0,f.Z)(),k=u.useMemo(function(){return(Array.isArray(Z)?Z:[Z,Z]).map(function(e){return"string"==typeof e?y[e]:e||0})},[Z]),T=(0,i.Z)(k,2),A=T[0],_=T[1],K=(0,c.Z)(b,{keepEmpty:!0}),L=void 0===C&&"horizontal"===x?"center":C,z=a("space",S),D=l()(z,"".concat(z,"-").concat(x),(t={},(0,o.Z)(t,"".concat(z,"-rtl"),"rtl"===h),(0,o.Z)(t,"".concat(z,"-align-").concat(L),L),t),g),U="".concat(z,"-item"),j="rtl"===h?"marginLeft":"marginRight",F=0,H=K.map(function(e,t){null!=e&&(F=t);var n=e&&e.key||"".concat(U,"-").concat(t);return u.createElement(d,{className:U,key:n,direction:x,index:t,marginDirection:j,split:O,wrap:w},e)}),W=u.useMemo(function(){return{horizontalSize:A,verticalSize:_,latestIndex:F,supportFlexGap:R}},[A,_,F,R]);if(0===K.length)return null;var G={};return w&&(G.flexWrap="wrap",R||(G.marginBottom=-_)),R&&(G.columnGap=A,G.rowGap=_),u.createElement("div",(0,r.Z)({className:D,style:(0,r.Z)((0,r.Z)({},G),M)},P),u.createElement(v.Provider,{value:W},H))};h.Compact=m.ZP;var E=h},97868:function(e,t,n){"use strict";n.d(t,{iz:function(){return ez},ck:function(){return B},BW:function(){return eL},sN:function(){return B},GP:function(){return eL},Wd:function(){return em},ZP:function(){return eU},Xl:function(){return _}});var r=n(87462),o=n(4942),i=n(1413),a=n(74902),l=n(97685),c=n(45987),u=n(67294),s=n(94184),f=n.n(s),d=n(96774),m=n.n(d),p=n(21770),v=n(80334),y=n(34243),h=n(15671),E=n(43144),Z=n(60136),C=n(33643),g=n(15105),b=n(98423),N=n(56982),x=["children","locked"],S=u.createContext(null);function O(e){var t=e.children,n=e.locked,r=(0,c.Z)(e,x),o=u.useContext(S),a=(0,N.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!m()(e[1],t[1]))});return u.createElement(S.Provider,{value:a},t)}function M(e,t,n,r){var o=u.useContext(S),i=o.activeKey,a=o.onActive,l=o.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},c.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),l(e)}),c}var I=["item"];function w(e){var t=e.item,n=(0,c.Z)(e,I);return Object.defineProperty(n,"item",{get:function(){return(0,v.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function P(e){var t=e.icon,n=e.props,r=e.children;return("function"==typeof t?u.createElement(t,(0,i.Z)({},n)):t)||r||null}function R(e){var t=u.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*o}:{paddingLeft:e*o}}var k=u.createContext(null);function T(){return u.useContext(k)}var A=u.createContext([]);function _(e){var t=u.useContext(A);return u.useMemo(function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t},[t,e])}var K=u.createContext(null),L=u.createContext(null);function z(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function D(e){return z(u.useContext(L),e)}var U=u.createContext({}),j=["title","attribute","elementRef"],F=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],H=["active"],W=function(e){(0,Z.Z)(n,e);var t=(0,C.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,E.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,c.Z)(e,j),a=(0,b.Z)(i,["eventKey"]);return(0,v.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(y.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(u.Component),G=function(e){var t,n=e.style,l=e.className,s=e.eventKey,d=(e.warnKey,e.disabled),m=e.itemIcon,p=e.children,v=e.role,y=e.onMouseEnter,h=e.onMouseLeave,E=e.onClick,Z=e.onKeyDown,C=e.onFocus,b=(0,c.Z)(e,F),N=D(s),x=u.useContext(S),O=x.prefixCls,I=x.onItemClick,k=x.disabled,T=x.overflowDisabled,A=x.itemIcon,K=x.selectedKeys,L=x.onActive,z=u.useContext(U)._internalRenderMenuItem,j="".concat(O,"-item"),G=u.useRef(),B=u.useRef(),V=k||d,Q=_(s),Y=function(e){return{key:s,keyPath:(0,a.Z)(Q).reverse(),item:G.current,domEvent:e}},X=M(s,V,y,h),$=X.active,q=(0,c.Z)(X,H),J=K.includes(s),ee=R(Q.length),et={};"option"===e.role&&(et["aria-selected"]=J);var en=u.createElement(W,(0,r.Z)({ref:G,elementRef:B,role:null===v?"none":v||"menuitem",tabIndex:d?null:-1,"data-menu-id":T&&N?null:N},b,q,et,{component:"li","aria-disabled":d,style:(0,i.Z)((0,i.Z)({},ee),n),className:f()(j,(t={},(0,o.Z)(t,"".concat(j,"-active"),$),(0,o.Z)(t,"".concat(j,"-selected"),J),(0,o.Z)(t,"".concat(j,"-disabled"),V),t),l),onClick:function(e){if(!V){var t=Y(e);null==E||E(w(t)),I(t)}},onKeyDown:function(e){if(null==Z||Z(e),e.which===g.Z.ENTER){var t=Y(e);null==E||E(w(t)),I(t)}},onFocus:function(e){L(s),null==C||C(e)}}),p,u.createElement(P,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:J}),icon:m||A}));return z&&(en=z(en,e,{selected:J})),en},B=function(e){var t=e.eventKey,n=T(),r=_(t);return(u.useEffect(function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}},[r]),n)?null:u.createElement(G,e)},V=n(71002),Q=n(50344),Y=["label","children","key","type"];function X(e,t){return(0,Q.Z)(e).map(function(e,n){if(u.isValidElement(e)){var r,o,i=e.key,l=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==l&&(l="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var c={key:l,eventKey:l};return u.cloneElement(e,c)}return e})}function $(e){var t=u.useRef(e);t.current=e;var n=u.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(b.motionAppear=!1);var N=b.onVisibleChanged;return(b.onVisibleChanged=function(e){return y.current||e||C(!0),null==N?void 0:N(e)},Z)?null:u.createElement(O,{mode:c,locked:!y.current},u.createElement(ec.Z,(0,r.Z)({visible:g},b,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),function(e){var n=e.className,r=e.style;return u.createElement(J,{id:t,className:n,style:r},a)}))}var es=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ef=["active"],ed=function(e){var t,n=e.style,a=e.className,s=e.title,d=e.eventKey,m=(e.warnKey,e.disabled),p=e.internalPopupClose,v=e.children,h=e.itemIcon,E=e.expandIcon,Z=e.popupClassName,C=e.popupOffset,g=e.onClick,b=e.onMouseEnter,N=e.onMouseLeave,x=e.onTitleClick,I=e.onTitleMouseEnter,k=e.onTitleMouseLeave,T=(0,c.Z)(e,es),A=D(d),L=u.useContext(S),z=L.prefixCls,j=L.mode,F=L.openKeys,H=L.disabled,W=L.overflowDisabled,G=L.activeKey,B=L.selectedKeys,V=L.itemIcon,Q=L.expandIcon,Y=L.onItemClick,X=L.onOpenChange,q=L.onActive,ee=u.useContext(U)._internalRenderSubMenuItem,et=u.useContext(K).isSubPathKey,en=_(),er="".concat(z,"-submenu"),eo=H||m,ei=u.useRef(),ea=u.useRef(),ec=E||Q,ed=F.includes(d),em=!W&&ed,ep=et(B,d),ev=M(d,eo,I,k),ey=ev.active,eh=(0,c.Z)(ev,ef),eE=u.useState(!1),eZ=(0,l.Z)(eE,2),eC=eZ[0],eg=eZ[1],eb=function(e){eo||eg(e)},eN=u.useMemo(function(){return ey||"inline"!==j&&(eC||et([G],d))},[j,ey,G,eC,d,et]),ex=R(en.length),eS=$(function(e){null==g||g(w(e)),Y(e)}),eO=A&&"".concat(A,"-popup"),eM=u.createElement("div",(0,r.Z)({role:"menuitem",style:ex,className:"".concat(er,"-title"),tabIndex:eo?null:-1,ref:ei,title:"string"==typeof s?s:null,"data-menu-id":W&&A?null:A,"aria-expanded":em,"aria-haspopup":!0,"aria-controls":eO,"aria-disabled":eo,onClick:function(e){eo||(null==x||x({key:d,domEvent:e}),"inline"===j&&X(d,!ed))},onFocus:function(){q(d)}},eh),s,u.createElement(P,{icon:"horizontal"!==j?ec:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:em,isSubMenu:!0})},u.createElement("i",{className:"".concat(er,"-arrow")}))),eI=u.useRef(j);if("inline"!==j&&en.length>1?eI.current="vertical":eI.current=j,!W){var ew=eI.current;eM=u.createElement(el,{mode:ew,prefixCls:er,visible:!p&&em&&"inline"!==j,popupClassName:Z,popupOffset:C,popup:u.createElement(O,{mode:"horizontal"===ew?"vertical":ew},u.createElement(J,{id:eO,ref:ea},v)),disabled:eo,onVisibleChange:function(e){"inline"!==j&&X(d,e)}},eM)}var eP=u.createElement(y.Z.Item,(0,r.Z)({role:"none"},T,{component:"li",style:n,className:f()(er,"".concat(er,"-").concat(j),a,(t={},(0,o.Z)(t,"".concat(er,"-open"),em),(0,o.Z)(t,"".concat(er,"-active"),eN),(0,o.Z)(t,"".concat(er,"-selected"),ep),(0,o.Z)(t,"".concat(er,"-disabled"),eo),t)),onMouseEnter:function(e){eb(!0),null==b||b({key:d,domEvent:e})},onMouseLeave:function(e){eb(!1),null==N||N({key:d,domEvent:e})}}),eM,!W&&u.createElement(eu,{id:eO,open:em,keyPath:en},v));return ee&&(eP=ee(eP,e,{selected:ep,active:eN,open:em,disabled:eo})),u.createElement(O,{onItemClick:eS,mode:"horizontal"===j?"vertical":j,itemIcon:h||V,expandIcon:ec},eP)};function em(e){var t,n=e.eventKey,r=e.children,o=_(n),i=X(r,o),a=T();return u.useEffect(function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}},[o]),t=a?i:u.createElement(ed,e,i),u.createElement(A.Provider,{value:o},t)}var ep=n(88603),ev=g.Z.LEFT,ey=g.Z.RIGHT,eh=g.Z.UP,eE=g.Z.DOWN,eZ=g.Z.ENTER,eC=g.Z.ESC,eg=g.Z.HOME,eb=g.Z.END,eN=[eh,eE,ev,ey];function ex(e,t){return(0,ep.tS)(e,!0).filter(function(e){return t.has(e)})}function eS(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=ex(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var eO=Math.random().toFixed(5).toString().slice(2),eM=0,eI="__RC_UTIL_PATH_SPLIT__",ew=function(e){return e.join(eI)},eP="rc-menu-more",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=u.forwardRef(function(e,t){var n,s,d,v,h,E,Z,C,g,b,N,x,S,M,I,P,R,T,A,_,D,j,F,H,W,G,Q,q=e.prefixCls,J=void 0===q?"rc-menu":q,ee=e.rootClassName,en=e.style,er=e.className,eo=e.tabIndex,ei=e.items,ea=e.children,el=e.direction,ec=e.id,eu=e.mode,es=void 0===eu?"vertical":eu,ef=e.inlineCollapsed,ed=e.disabled,ep=e.disabledOverflow,eT=e.subMenuOpenDelay,eA=e.subMenuCloseDelay,e_=e.forceSubMenuRender,eK=e.defaultOpenKeys,eD=e.openKeys,eU=e.activeKey,ej=e.defaultActiveFirst,eF=e.selectable,eH=void 0===eF||eF,eW=e.multiple,eG=void 0!==eW&&eW,eB=e.defaultSelectedKeys,eV=e.selectedKeys,eQ=e.onSelect,eY=e.onDeselect,eX=e.inlineIndent,e$=e.motion,eq=e.defaultMotions,eJ=e.triggerSubMenuAction,e0=e.builtinPlacements,e1=e.itemIcon,e4=e.expandIcon,e2=e.overflowedIndicator,e6=void 0===e2?"...":e2,e8=e.overflowedIndicatorPopupClassName,e3=e.getPopupContainer,e9=e.onClick,e7=e.onOpenChange,e5=e.onKeyDown,te=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tt=e._internalRenderSubMenuItem,tn=(0,c.Z)(e,eR),tr=u.useMemo(function(){var e;return e=ea,ei&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,V.Z)(t)){var o=t.label,i=t.children,a=t.key,l=t.type,s=(0,c.Z)(t,Y),f=null!=a?a:"tmp-".concat(n);return i||"group"===l?"group"===l?u.createElement(eL,(0,r.Z)({key:f},s,{title:o}),e(i)):u.createElement(em,(0,r.Z)({key:f},s,{title:o}),e(i)):"divider"===l?u.createElement(ez,(0,r.Z)({key:f},s)):u.createElement(B,(0,r.Z)({key:f},s),o)}return null}).filter(function(e){return e})}(ei)),X(e,ek)},[ea,ei]),to=u.useState(!1),ti=(0,l.Z)(to,2),ta=ti[0],tl=ti[1],tc=u.useRef(),tu=(n=(0,p.Z)(ec,{value:ec}),d=(s=(0,l.Z)(n,2))[0],v=s[1],u.useEffect(function(){eM+=1;var e="".concat(eO,"-").concat(eM);v("rc-menu-uuid-".concat(e))},[]),d),ts="rtl"===el,tf=u.useMemo(function(){return("inline"===es||"vertical"===es)&&ef?["vertical",ef]:[es,!1]},[es,ef]),td=(0,l.Z)(tf,2),tm=td[0],tp=td[1],tv=u.useState(0),ty=(0,l.Z)(tv,2),th=ty[0],tE=ty[1],tZ=th>=tr.length-1||"horizontal"!==tm||ep,tC=(0,p.Z)(eK,{value:eD,postState:function(e){return e||ek}}),tg=(0,l.Z)(tC,2),tb=tg[0],tN=tg[1],tx=function(e){tN(e),null==e7||e7(e)},tS=u.useState(tb),tO=(0,l.Z)(tS,2),tM=tO[0],tI=tO[1],tw="inline"===tm,tP=u.useRef(!1);u.useEffect(function(){tw&&tI(tb)},[tb]),u.useEffect(function(){tP.current&&(tw?tN(tM):tx(ek))},[tw]),u.useEffect(function(){return tP.current=!0,function(){tP.current=!1}},[]);var tR=(h=u.useState({}),E=(0,l.Z)(h,2)[1],Z=(0,u.useRef)(new Map),C=(0,u.useRef)(new Map),g=u.useState([]),N=(b=(0,l.Z)(g,2))[0],x=b[1],S=(0,u.useRef)(0),M=(0,u.useRef)(!1),I=function(){M.current||E({})},P=(0,u.useCallback)(function(e,t){var n=ew(t);C.current.set(n,e),Z.current.set(e,n),S.current+=1;var r=S.current;Promise.resolve().then(function(){r===S.current&&I()})},[]),R=(0,u.useCallback)(function(e,t){var n=ew(t);C.current.delete(n),Z.current.delete(e)},[]),T=(0,u.useCallback)(function(e){x(e)},[]),A=(0,u.useCallback)(function(e,t){var n=(Z.current.get(e)||"").split(eI);return t&&N.includes(n[0])&&n.unshift(eP),n},[N]),_=(0,u.useCallback)(function(e,t){return e.some(function(e){return A(e,!0).includes(t)})},[A]),D=(0,u.useCallback)(function(e){var t="".concat(Z.current.get(e)).concat(eI),n=new Set;return(0,a.Z)(C.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(C.current.get(e))}),n},[]),u.useEffect(function(){return function(){M.current=!0}},[]),{registerPath:P,unregisterPath:R,refreshOverflowKeys:T,isSubPathKey:_,getKeyPath:A,getKeys:function(){var e=(0,a.Z)(Z.current.keys());return N.length&&e.push(eP),e},getSubPathKeys:D}),tk=tR.registerPath,tT=tR.unregisterPath,tA=tR.refreshOverflowKeys,t_=tR.isSubPathKey,tK=tR.getKeyPath,tL=tR.getKeys,tz=tR.getSubPathKeys,tD=u.useMemo(function(){return{registerPath:tk,unregisterPath:tT}},[tk,tT]),tU=u.useMemo(function(){return{isSubPathKey:t_}},[t_]);u.useEffect(function(){tA(tZ?ek:tr.slice(th+1).map(function(e){return e.key}))},[th,tZ]);var tj=(0,p.Z)(eU||ej&&(null===(G=tr[0])||void 0===G?void 0:G.key),{value:eU}),tF=(0,l.Z)(tj,2),tH=tF[0],tW=tF[1],tG=$(function(e){tW(e)}),tB=$(function(){tW(void 0)});(0,u.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,r,o,i=null!=tH?tH:null===(t=tr.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;i&&(null===(n=tc.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(z(tu,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var tV=(0,p.Z)(eB||[],{value:eV,postState:function(e){return Array.isArray(e)?e:null==e?ek:[e]}}),tQ=(0,l.Z)(tV,2),tY=tQ[0],tX=tQ[1],t$=function(e){if(eH){var t,n=e.key,r=tY.includes(n);tX(t=eG?r?tY.filter(function(e){return e!==n}):[].concat((0,a.Z)(tY),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==eY||eY(o):null==eQ||eQ(o)}!eG&&tb.length&&"inline"!==tm&&tx(ek)},tq=$(function(e){null==e9||e9(w(e)),t$(e)}),tJ=$(function(e,t){var n=tb.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tm){var r=tz(e);n=n.filter(function(e){return!r.has(e)})}m()(tb,n)||tx(n)}),t0=$(e3),t1=(j=function(e,t){var n=null!=t?t:!tb.includes(e);tJ(e,n)},F=u.useRef(),(H=u.useRef()).current=tH,W=function(){et.Z.cancel(F.current)},u.useEffect(function(){return function(){W()}},[]),function(e){var t=e.which;if([].concat(eN,[eZ,eC,eg,eb]).includes(t)){var n=function(){return c=new Set,u=new Map,s=new Map,tL().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(z(tu,e),"']"));t&&(c.add(t),s.set(t,e),u.set(e,t))}),c};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(u.get(tH),c),i=s.get(r),a=function(e,t,n,r){var i,a,l,c,u="prev",s="next",f="children",d="parent";if("inline"===e&&r===eZ)return{inlineTrigger:!0};var m=(i={},(0,o.Z)(i,eh,u),(0,o.Z)(i,eE,s),i),p=(a={},(0,o.Z)(a,ev,n?s:u),(0,o.Z)(a,ey,n?u:s),(0,o.Z)(a,eE,f),(0,o.Z)(a,eZ,f),a),v=(l={},(0,o.Z)(l,eh,u),(0,o.Z)(l,eE,s),(0,o.Z)(l,eZ,f),(0,o.Z)(l,eC,d),(0,o.Z)(l,ev,n?f:d),(0,o.Z)(l,ey,n?d:f),l);switch(null===(c=({inline:m,horizontal:p,vertical:v,inlineSub:m,horizontalSub:v,verticalSub:v})["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case u: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}}(tm,1===tK(i,!0).length,ts,t);if(!a&&t!==eg&&t!==eb)return;(eN.includes(t)||[eg,eb].includes(t))&&e.preventDefault();var l=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=s.get(e);tW(r),W(),F.current=(0,et.Z)(function(){H.current===r&&t.focus()})}};if([eg,eb].includes(t)||a.sibling||!r){var c,u,s,f,d=ex(f=r&&"inline"!==tm?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tc.current,c);l(t===eg?d[0]:t===eb?d[d.length-1]:eS(f,c,r,a.offset))}else if(a.inlineTrigger)j(i);else if(a.offset>0)j(i,!0),W(),F.current=(0,et.Z)(function(){n();var e=r.getAttribute("aria-controls");l(eS(document.getElementById(e),c))},5);else if(a.offset<0){var m=tK(i,!0),p=m[m.length-2],v=u.get(p);j(p,!1),l(v)}}null==e5||e5(e)});u.useEffect(function(){tl(!0)},[]);var t4=u.useMemo(function(){return{_internalRenderMenuItem:te,_internalRenderSubMenuItem:tt}},[te,tt]),t2="horizontal"!==tm||ep?tr:tr.map(function(e,t){return u.createElement(O,{key:e.key,overflowDisabled:t>th},e)}),t6=u.createElement(y.Z,(0,r.Z)({id:ec,ref:tc,prefixCls:"".concat(J,"-overflow"),component:"ul",itemComponent:B,className:f()(J,"".concat(J,"-root"),"".concat(J,"-").concat(tm),er,(Q={},(0,o.Z)(Q,"".concat(J,"-inline-collapsed"),tp),(0,o.Z)(Q,"".concat(J,"-rtl"),ts),Q),ee),dir:el,style:en,role:"menu",tabIndex:void 0===eo?0:eo,data:t2,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tr.slice(-t):null;return u.createElement(em,{eventKey:eP,title:e6,disabled:tZ,internalPopupClose:0===t,popupClassName:e8},n)},maxCount:"horizontal"!==tm||ep?y.Z.INVALIDATE:y.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tE(e)},onKeyDown:t1},tn));return u.createElement(U.Provider,{value:t4},u.createElement(L.Provider,{value:tu},u.createElement(O,{prefixCls:J,rootClassName:ee,mode:tm,openKeys:tb,rtl:ts,disabled:ed,motion:ta?e$:null,defaultMotions:ta?eq:null,activeKey:tH,onActive:tG,onInactive:tB,selectedKeys:tY,inlineIndent:void 0===eX?24:eX,subMenuOpenDelay:void 0===eT?.1:eT,subMenuCloseDelay:void 0===eA?.1:eA,forceSubMenuRender:e_,builtinPlacements:e0,triggerSubMenuAction:void 0===eJ?"hover":eJ,getPopupContainer:t0,itemIcon:e1,expandIcon:e4,onItemClick:tq,onOpenChange:tJ},u.createElement(K.Provider,{value:tU},t6),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(k.Provider,{value:tD},tr)))))}),eA=["className","title","eventKey","children"],e_=["children"],eK=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,c.Z)(e,eA),a=u.useContext(S).prefixCls,l="".concat(a,"-item-group");return u.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(l,t)}),u.createElement("div",{className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),u.createElement("ul",{className:"".concat(l,"-list")},o))};function eL(e){var t=e.children,n=(0,c.Z)(e,e_),r=X(t,_(n.eventKey));return T()?r:u.createElement(eK,(0,b.Z)(n,["warnKey"]),r)}function ez(e){var t=e.className,n=e.style,r=u.useContext(S).prefixCls;return T()?null:u.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var eD=eT;eD.Item=B,eD.SubMenu=em,eD.ItemGroup=eL,eD.Divider=ez;var eU=eD},34243:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(87462),o=n(1413),i=n(97685),a=n(45987),l=n(67294),c=n(94184),u=n.n(c),s=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],m=void 0,p=l.forwardRef(function(e,t){var n,i=e.prefixCls,c=e.invalidate,f=e.item,p=e.renderItem,v=e.responsive,y=e.responsiveDisabled,h=e.registerSize,E=e.itemKey,Z=e.className,C=e.style,g=e.children,b=e.display,N=e.order,x=e.component,S=(0,a.Z)(e,d),O=v&&!b;l.useEffect(function(){return function(){h(E,null)}},[]);var M=p&&f!==m?p(f):g;c||(n={opacity:O?0:1,height:O?0:m,overflowY:O?"hidden":m,order:v?N:m,pointerEvents:O?"none":m,position:O?"absolute":m});var I={};O&&(I["aria-hidden"]=!0);var w=l.createElement(void 0===x?"div":x,(0,r.Z)({className:u()(!c&&i,Z),style:(0,o.Z)((0,o.Z)({},n),C)},I,S,{ref:t}),M);return v&&(w=l.createElement(s.default,{onResize:function(e){h(E,e.offsetWidth)},disabled:y},w)),w});p.displayName="Item";var v=n(75164),y=n(30470),h=["component"],E=["className"],Z=["className"],C=l.forwardRef(function(e,t){var n=l.useContext(b);if(!n){var o=e.component,i=(0,a.Z)(e,h);return l.createElement(void 0===o?"div":o,(0,r.Z)({},i,{ref:t}))}var c=n.className,s=(0,a.Z)(n,E),f=e.className,d=(0,a.Z)(e,Z);return l.createElement(b.Provider,{value:null},l.createElement(p,(0,r.Z)({ref:t,className:u()(c,f)},s,d)))});C.displayName="RawItem";var g=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],b=l.createContext(null),N="responsive",x="invalidate";function S(e){return"+ ".concat(e.length," ...")}var O=l.forwardRef(function(e,t){var n,c,d,m,h,E,Z=e.prefixCls,C=void 0===Z?"rc-overflow":Z,O=e.data,M=void 0===O?[]:O,I=e.renderItem,w=e.renderRawItem,P=e.itemKey,R=e.itemWidth,k=void 0===R?10:R,T=e.ssr,A=e.style,_=e.className,K=e.maxCount,L=e.renderRest,z=e.renderRawRest,D=e.suffix,U=e.component,j=e.itemComponent,F=e.onVisibleChange,H=(0,a.Z)(e,g),W=(n=(0,y.Z)({}),c=(0,i.Z)(n,2)[1],d=(0,l.useRef)([]),m=0,h=0,function(e){var t=m;return m+=1,d.current.lengthK,ek=(0,l.useMemo)(function(){var e=M;return ew?e=null===Q&&G?M:M.slice(0,Math.min(M.length,X/k)):"number"==typeof K&&(e=M.slice(0,K)),e},[M,k,Q,K,ew]),eT=(0,l.useMemo)(function(){return ew?M.slice(eg+1):M.slice(ek.length)},[M,ek,ew,eg]),eA=(0,l.useCallback)(function(e,t){var n;return"function"==typeof P?P(e):null!==(n=P&&(null==e?void 0:e[P]))&&void 0!==n?n:t},[P]),e_=(0,l.useCallback)(I||function(e){return e},[I]);function eK(e,t,n){(eZ!==e||void 0!==t&&t!==ev)&&(eC(e),n||(eS(eX){eK(r-1,e-o-ef+el);break}}D&&ez(0)+ef>X&&ey(null)}},[X,J,el,ef,eA,ek]);var eD=ex&&!!eT.length,eU={};null!==ev&&ew&&(eU={position:"absolute",left:ev,top:0});var ej={prefixCls:eO,responsive:ew,component:j,invalidate:eP},eF=w?function(e,t){var n=eA(e,t);return l.createElement(b.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},ej),{},{order:t,item:e,itemKey:n,registerSize:eL,display:t<=eg})},w(e,t))}:function(e,t){var n=eA(e,t);return l.createElement(p,(0,r.Z)({},ej,{order:t,key:n,item:e,renderItem:e_,itemKey:n,registerSize:eL,display:t<=eg}))},eH={order:eD?eg:Number.MAX_SAFE_INTEGER,className:"".concat(eO,"-rest"),registerSize:function(e,t){ec(t),eo(el)},display:eD};if(z)z&&(E=l.createElement(b.Provider,{value:(0,o.Z)((0,o.Z)({},ej),eH)},z(eT)));else{var eW=L||S;E=l.createElement(p,(0,r.Z)({},ej,eH),"function"==typeof eW?eW(eT):eW)}var eG=l.createElement(void 0===U?"div":U,(0,r.Z)({className:u()(!eP&&C,_),style:A,ref:t},H),ek.map(eF),eR?E:null,D&&l.createElement(p,(0,r.Z)({},ej,{responsive:eI,responsiveDisabled:!ew,order:eg,className:"".concat(eO,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eU}),D));return eI&&(eG=l.createElement(s.default,{onResize:function(e,t){Y(t.clientWidth)},disabled:!ew},eG)),eG});O.displayName="Overflow",O.Item=C,O.RESPONSIVE=N,O.INVALIDATE=x;var M=O},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return C}});var r=n(87462),o=n(67294),i=n(50344);n(80334);var a=n(1413),l=n(42550),c=n(34203),u=n(91033),s=new Map,f=new u.Z(function(e){e.forEach(function(e){var t,n=e.target;null===(t=s.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),d=n(15671),m=n(43144),p=n(60136),v=n(33643),y=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,m.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),h=o.createContext(null);function E(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),u=o.useContext(h),d="function"==typeof t,m=d?t(r):t,p=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!d&&o.isValidElement(m)&&(0,l.Yr)(m),E=v?m.ref:null,Z=o.useMemo(function(){return(0,l.sQ)(E,r)},[E,r]),C=o.useRef(e);C.current=e;var g=o.useCallback(function(e){var t=C.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,c=e.offsetWidth,s=e.offsetHeight,f=Math.floor(i),d=Math.floor(l);if(p.current.width!==f||p.current.height!==d||p.current.offsetWidth!==c||p.current.offsetHeight!==s){var m={width:f,height:d,offsetWidth:c,offsetHeight:s};p.current=m;var v=(0,a.Z)((0,a.Z)({},m),{},{offsetWidth:c===Math.round(i)?i:c,offsetHeight:s===Math.round(l)?l:s});null==u||u(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return o.useEffect(function(){var e=(0,c.Z)(r.current)||(0,c.Z)(i.current);return e&&!n&&(s.has(e)||(s.set(e,new Set),f.observe(e)),s.get(e).add(g)),function(){s.has(e)&&(s.get(e).delete(g),s.get(e).size||(f.unobserve(e),s.delete(e)))}},[r.current,n]),o.createElement(y,{ref:i},v?o.cloneElement(m,{ref:Z}):m)}function Z(e){var t=e.children;return("function"==typeof t?[t]:(0,i.Z)(t)).map(function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(E,(0,r.Z)({},e,{key:i}),t)})}Z.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(h),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(h.Provider,{value:l},t)};var C=Z},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),l=null;return i&&!Number.isNaN(a)?l=a:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||t&&l<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter(function(e){return i(e,t)});return i(e,t)&&n.unshift(e),n}},15105:function(e,t){"use strict";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},96774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),c=0;c"],"sourcesContent":["// This icon file is generated automatically.\nvar EllipsisOutlined = { \"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\" };\nexport default EllipsisOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EllipsisOutlinedSvg from \"@ant-design/icons-svg/es/asn/EllipsisOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EllipsisOutlined = function EllipsisOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EllipsisOutlinedSvg\n }));\n};\nEllipsisOutlined.displayName = 'EllipsisOutlined';\nexport default /*#__PURE__*/React.forwardRef(EllipsisOutlined);","// This icon file is generated automatically.\nvar LeftOutlined = { \"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\" };\nexport default LeftOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport LeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: LeftOutlinedSvg\n }));\n};\nLeftOutlined.displayName = 'LeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(LeftOutlined);","// This icon file is generated automatically.\nvar RightOutlined = { \"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\" };\nexport default RightOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\nRightOutlined.displayName = 'RightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RightOutlined);","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { detectFlexGapSupported } from '../styleChecker';\nexport default (function () {\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n flexible = _React$useState2[0],\n setFlexible = _React$useState2[1];\n React.useEffect(function () {\n setFlexible(detectFlexGapSupported());\n }, []);\n return flexible;\n});","import canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport { isStyleSupport } from \"rc-util/es/Dom/styleChecker\";\nexport var canUseDocElement = function canUseDocElement() {\n return canUseDom() && window.document.documentElement;\n};\nexport { isStyleSupport };\nvar flexGapSupported;\nexport var detectFlexGapSupported = function detectFlexGapSupported() {\n if (!canUseDocElement()) {\n return false;\n }\n if (flexGapSupported !== undefined) {\n return flexGapSupported;\n }\n // create flex container with row-gap set\n var flex = document.createElement('div');\n flex.style.display = 'flex';\n flex.style.flexDirection = 'column';\n flex.style.rowGap = '1px';\n // create two, elements inside it\n flex.appendChild(document.createElement('div'));\n flex.appendChild(document.createElement('div'));\n // append to the DOM (needed to obtain scrollHeight)\n document.body.appendChild(flex);\n flexGapSupported = flex.scrollHeight === 1; // flex container should be 1px high from the row-gap\n document.body.removeChild(flex);\n return flexGapSupported;\n};","// This icon file is generated automatically.\nvar BarsOutlined = { \"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\" };\nexport default BarsOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport BarsOutlinedSvg from \"@ant-design/icons-svg/es/asn/BarsOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar BarsOutlined = function BarsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: BarsOutlinedSvg\n }));\n};\nBarsOutlined.displayName = 'BarsOutlined';\nexport default /*#__PURE__*/React.forwardRef(BarsOutlined);","var isNumeric = function isNumeric(value) {\n return !isNaN(parseFloat(value)) && isFinite(value);\n};\nexport default isNumeric;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport isNumeric from '../_util/isNumeric';\nimport { LayoutContext } from './layout';\nvar dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nexport var SiderContext = /*#__PURE__*/React.createContext({});\nvar generateId = function () {\n var i = 0;\n return function () {\n var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return \"\".concat(prefix).concat(i);\n };\n}();\nvar Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n trigger = _a.trigger,\n children = _a.children,\n _a$defaultCollapsed = _a.defaultCollapsed,\n defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n _a$theme = _a.theme,\n theme = _a$theme === void 0 ? 'dark' : _a$theme,\n _a$style = _a.style,\n style = _a$style === void 0 ? {} : _a$style,\n _a$collapsible = _a.collapsible,\n collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n _a$reverseArrow = _a.reverseArrow,\n reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n _a$width = _a.width,\n width = _a$width === void 0 ? 200 : _a$width,\n _a$collapsedWidth = _a.collapsedWidth,\n collapsedWidth = _a$collapsedWidth === void 0 ? 80 : _a$collapsedWidth,\n zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n breakpoint = _a.breakpoint,\n onCollapse = _a.onCollapse,\n onBreakpoint = _a.onBreakpoint,\n props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n var _useContext = useContext(LayoutContext),\n siderHook = _useContext.siderHook;\n var _useState = useState('collapsed' in props ? props.collapsed : defaultCollapsed),\n _useState2 = _slicedToArray(_useState, 2),\n collapsed = _useState2[0],\n setCollapsed = _useState2[1];\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n below = _useState4[0],\n setBelow = _useState4[1];\n useEffect(function () {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n var handleSetCollapsed = function handleSetCollapsed(value, type) {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // ========================= Responsive =========================\n var responsiveHandlerRef = useRef();\n responsiveHandlerRef.current = function (mql) {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n useEffect(function () {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n var mql;\n if (typeof window !== 'undefined') {\n var _window = window,\n matchMedia = _window.matchMedia;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (error) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return function () {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (error) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n useEffect(function () {\n var uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return function () {\n return siderHook.removeSider(uniqueId);\n };\n }, []);\n var toggle = function toggle() {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n var _useContext2 = useContext(ConfigContext),\n getPrefixCls = _useContext2.getPrefixCls;\n var renderSider = function renderSider() {\n var _classNames;\n var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n var divProps = omit(props, ['collapsed']);\n var rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n var siderWidth = isNumeric(rawWidth) ? \"\".concat(rawWidth, \"px\") : String(rawWidth);\n // special trigger when collapsedWidth == 0\n var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: classNames(\"\".concat(prefixCls, \"-zero-width-trigger\"), \"\".concat(prefixCls, \"-zero-width-trigger-\").concat(reverseArrow ? 'right' : 'left')),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null)) : null;\n var iconObj = {\n expanded: reverseArrow ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n collapsed: reverseArrow ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n };\n var status = collapsed ? 'collapsed' : 'expanded';\n var defaultTrigger = iconObj[status];\n var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-trigger\"),\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger) : null;\n var divStyle = _extends(_extends({}, style), {\n flex: \"0 0 \".concat(siderWidth),\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n var siderCls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), _defineProperty(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), _defineProperty(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n return /*#__PURE__*/React.createElement(\"aside\", _extends({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-children\")\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n };\n var contextValue = React.useMemo(function () {\n return {\n siderCollapsed: collapsed\n };\n }, [collapsed]);\n return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nexport default Sider;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nexport var LayoutContext = /*#__PURE__*/React.createContext({\n siderHook: {\n addSider: function addSider() {\n return null;\n },\n removeSider: function removeSider() {\n return null;\n }\n }\n});\nfunction generator(_ref) {\n var suffixCls = _ref.suffixCls,\n tagName = _ref.tagName,\n displayName = _ref.displayName;\n return function (BasicComponent) {\n var Adapter = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls;\n var prefixCls = getPrefixCls(suffixCls, customizePrefixCls);\n return /*#__PURE__*/React.createElement(BasicComponent, _extends({\n ref: ref,\n prefixCls: prefixCls,\n tagName: tagName\n }, props));\n });\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nvar Basic = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n tagName = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"tagName\"]);\n var classString = classNames(prefixCls, className);\n return /*#__PURE__*/React.createElement(tagName, _extends(_extends({\n className: classString\n }, others), {\n ref: ref\n }), children);\n});\nvar BasicLayout = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext2 = React.useContext(ConfigContext),\n direction = _React$useContext2.direction;\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n siders = _React$useState2[0],\n setSiders = _React$useState2[1];\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n hasSider = props.hasSider,\n Tag = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"hasSider\", \"tagName\"]);\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-sider\"), typeof hasSider === 'boolean' ? hasSider : siders.length > 0), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var contextValue = React.useMemo(function () {\n return {\n siderHook: {\n addSider: function addSider(id) {\n setSiders(function (prev) {\n return [].concat(_toConsumableArray(prev), [id]);\n });\n },\n removeSider: function removeSider(id) {\n setSiders(function (prev) {\n return prev.filter(function (currentId) {\n return currentId !== id;\n });\n });\n }\n }\n };\n }, []);\n return /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, _extends({\n ref: ref,\n className: classString\n }, others), children));\n});\nvar Layout = generator({\n suffixCls: 'layout',\n tagName: 'section',\n displayName: 'Layout'\n})(BasicLayout);\nvar Header = generator({\n suffixCls: 'layout-header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nvar Footer = generator({\n suffixCls: 'layout-footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nvar Content = generator({\n suffixCls: 'layout-content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexport { Header, Footer, Content };\nexport default Layout;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\n/** @internal Only used for Dropdown component. Do not use this in your production. */\nvar OverrideContext = /*#__PURE__*/React.createContext(null);\n/** @internal Only used for Dropdown component. Do not use this in your production. */\nexport var OverrideProvider = function OverrideProvider(_a) {\n var children = _a.children,\n restProps = __rest(_a, [\"children\"]);\n var override = React.useContext(OverrideContext);\n var context = React.useMemo(function () {\n return _extends(_extends({}, override), restProps);\n }, [override, restProps.prefixCls,\n // restProps.expandIcon, Not mark as deps since this is a ReactNode\n restProps.mode, restProps.selectable\n // restProps.validator, Not mark as deps since this is a function\n ]);\n\n return /*#__PURE__*/React.createElement(OverrideContext.Provider, {\n value: context\n }, children);\n};\nexport default OverrideContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { Divider } from 'rc-menu';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar MenuDivider = function MenuDivider(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n dashed = _a.dashed,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"dashed\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('menu', customizePrefixCls);\n var classString = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-item-divider-dashed\"), !!dashed), className);\n return /*#__PURE__*/React.createElement(Divider, _extends({\n className: classString\n }, restProps));\n};\nexport default MenuDivider;","import { createContext } from 'react';\nvar MenuContext = /*#__PURE__*/createContext({\n prefixCls: '',\n firstLevel: true,\n inlineCollapsed: false\n});\nexport default MenuContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport { Item } from 'rc-menu';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { SiderContext } from '../layout/Sider';\nimport Tooltip from '../tooltip';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nvar MenuItem = /*#__PURE__*/function (_React$Component) {\n _inherits(MenuItem, _React$Component);\n var _super = _createSuper(MenuItem);\n function MenuItem() {\n var _this;\n _classCallCheck(this, MenuItem);\n _this = _super.apply(this, arguments);\n _this.renderItem = function (_ref) {\n var _classNames;\n var siderCollapsed = _ref.siderCollapsed;\n var _a;\n var _this$context = _this.context,\n prefixCls = _this$context.prefixCls,\n firstLevel = _this$context.firstLevel,\n inlineCollapsed = _this$context.inlineCollapsed,\n direction = _this$context.direction,\n disableMenuItemTitleTooltip = _this$context.disableMenuItemTitleTooltip;\n var _this$props = _this.props,\n className = _this$props.className,\n children = _this$props.children;\n var _b = _this.props,\n title = _b.title,\n icon = _b.icon,\n danger = _b.danger,\n rest = __rest(_b, [\"title\", \"icon\", \"danger\"]);\n var tooltipTitle = title;\n if (typeof title === 'undefined') {\n tooltipTitle = firstLevel ? children : '';\n } else if (title === false) {\n tooltipTitle = '';\n }\n var tooltipProps = {\n title: tooltipTitle\n };\n if (!siderCollapsed && !inlineCollapsed) {\n tooltipProps.title = null;\n // Reset `open` to fix control mode tooltip display not correct\n // ref: https://github.com/ant-design/ant-design/issues/16742\n tooltipProps.open = false;\n }\n var childrenLength = toArray(children).length;\n var returnNode = /*#__PURE__*/React.createElement(Item, _extends({}, rest, {\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-danger\"), danger), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-only-child\"), (icon ? childrenLength + 1 : childrenLength) === 1), _classNames), className),\n title: typeof title === 'string' ? title : undefined\n }), cloneElement(icon, {\n className: classNames(isValidElement(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', \"\".concat(prefixCls, \"-item-icon\"))\n }), _this.renderItemChildren(inlineCollapsed));\n if (!disableMenuItemTitleTooltip) {\n returnNode = /*#__PURE__*/React.createElement(Tooltip, _extends({}, tooltipProps, {\n placement: direction === 'rtl' ? 'left' : 'right',\n overlayClassName: \"\".concat(prefixCls, \"-inline-collapsed-tooltip\")\n }), returnNode);\n }\n return returnNode;\n };\n return _this;\n }\n _createClass(MenuItem, [{\n key: \"renderItemChildren\",\n value: function renderItemChildren(inlineCollapsed) {\n var _this$context2 = this.context,\n prefixCls = _this$context2.prefixCls,\n firstLevel = _this$context2.firstLevel;\n var _this$props2 = this.props,\n icon = _this$props2.icon,\n children = _this$props2.children;\n var wrapNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-title-content\")\n }, children);\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n if (!icon || isValidElement(children) && children.type === 'span') {\n if (children && inlineCollapsed && firstLevel && typeof children === 'string') {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inline-collapsed-noicon\")\n }, children.charAt(0));\n }\n }\n return wrapNode;\n }\n }, {\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(SiderContext.Consumer, null, this.renderItem);\n }\n }]);\n return MenuItem;\n}(React.Component);\nexport { MenuItem as default };\nMenuItem.contextType = MenuContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport classNames from 'classnames';\nimport { SubMenu as RcSubMenu, useFullPath } from 'rc-menu';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport MenuContext from './MenuContext';\nfunction SubMenu(props) {\n var _a;\n var popupClassName = props.popupClassName,\n icon = props.icon,\n title = props.title,\n theme = props.theme;\n var context = React.useContext(MenuContext);\n var prefixCls = context.prefixCls,\n inlineCollapsed = context.inlineCollapsed,\n antdMenuTheme = context.antdMenuTheme;\n var parentPath = useFullPath();\n var titleNode;\n if (!icon) {\n titleNode = inlineCollapsed && !parentPath.length && title && typeof title === 'string' ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inline-collapsed-noicon\")\n }, title.charAt(0)) : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-title-content\")\n }, title);\n } else {\n // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n // ref: https://github.com/ant-design/ant-design/pull/23456\n var titleIsSpan = isValidElement(title) && title.type === 'span';\n titleNode = /*#__PURE__*/React.createElement(React.Fragment, null, cloneElement(icon, {\n className: classNames(isValidElement(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', \"\".concat(prefixCls, \"-item-icon\"))\n }), titleIsSpan ? title : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-title-content\")\n }, title));\n }\n var contextValue = React.useMemo(function () {\n return _extends(_extends({}, context), {\n firstLevel: false\n });\n }, [context]);\n return /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(RcSubMenu, _extends({}, omit(props, ['icon']), {\n title: titleNode,\n popupClassName: classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme || antdMenuTheme), popupClassName)\n })));\n}\nexport default SubMenu;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { ItemGroup } from 'rc-menu';\nimport * as React from 'react';\nimport MenuDivider from '../MenuDivider';\nimport MenuItem from '../MenuItem';\nimport SubMenu from '../SubMenu';\nfunction convertItemsToNodes(list) {\n return (list || []).map(function (opt, index) {\n if (opt && _typeof(opt) === 'object') {\n var _a = opt,\n label = _a.label,\n children = _a.children,\n key = _a.key,\n type = _a.type,\n restProps = __rest(_a, [\"label\", \"children\", \"key\", \"type\"]);\n var mergedKey = key !== null && key !== void 0 ? key : \"tmp-\".concat(index);\n // MenuItemGroup & SubMenuItem\n if (children || type === 'group') {\n if (type === 'group') {\n // Group\n return /*#__PURE__*/React.createElement(ItemGroup, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n }\n // Sub Menu\n return /*#__PURE__*/React.createElement(SubMenu, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n }\n // MenuItem & Divider\n if (type === 'divider') {\n return /*#__PURE__*/React.createElement(MenuDivider, _extends({\n key: mergedKey\n }, restProps));\n }\n return /*#__PURE__*/React.createElement(MenuItem, _extends({\n key: mergedKey\n }, restProps), label);\n }\n return null;\n }).filter(function (opt) {\n return opt;\n });\n}\n// FIXME: Move logic here in v5\n/**\n * We simply convert `items` to ReactNode for reuse origin component logic. But we need move all the\n * logic from component into this hooks when in v5\n */\nexport default function useItems(items) {\n return React.useMemo(function () {\n if (!items) {\n return items;\n }\n return convertItemsToNodes(items);\n }, [items]);\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EllipsisOutlined from \"@ant-design/icons/es/icons/EllipsisOutlined\";\nimport classNames from 'classnames';\nimport RcMenu, { ItemGroup } from 'rc-menu';\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { SiderContext } from '../layout/Sider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport useItems from './hooks/useItems';\nimport MenuContext from './MenuContext';\nimport MenuDivider from './MenuDivider';\nimport Item from './MenuItem';\nimport OverrideContext from './OverrideContext';\nimport SubMenu from './SubMenu';\nvar InternalMenu = /*#__PURE__*/forwardRef(function (props, ref) {\n var _a;\n var override = React.useContext(OverrideContext) || {};\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n getPopupContainer = _React$useContext.getPopupContainer,\n direction = _React$useContext.direction;\n var rootPrefixCls = getPrefixCls();\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n _props$theme = props.theme,\n theme = _props$theme === void 0 ? 'light' : _props$theme,\n expandIcon = props.expandIcon,\n _internalDisableMenuItemTitleTooltip = props._internalDisableMenuItemTitleTooltip,\n inlineCollapsed = props.inlineCollapsed,\n siderCollapsed = props.siderCollapsed,\n items = props.items,\n children = props.children,\n mode = props.mode,\n selectable = props.selectable,\n onClick = props.onClick,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"theme\", \"expandIcon\", \"_internalDisableMenuItemTitleTooltip\", \"inlineCollapsed\", \"siderCollapsed\", \"items\", \"children\", \"mode\", \"selectable\", \"onClick\"]);\n var passedProps = omit(restProps, ['collapsedWidth']);\n // ========================= Items ===========================\n var mergedChildren = useItems(items) || children;\n // ======================== Warning ==========================\n process.env.NODE_ENV !== \"production\" ? warning(!('inlineCollapsed' in props && mode !== 'inline'), 'Menu', '`inlineCollapsed` should only be used when `mode` is inline.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(props.siderCollapsed !== undefined && 'inlineCollapsed' in props), 'Menu', '`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning('items' in props && !children, 'Menu', '`children` will be removed in next major version. Please use `items` instead.') : void 0;\n (_a = override.validator) === null || _a === void 0 ? void 0 : _a.call(override, {\n mode: mode\n });\n // ========================== Click ==========================\n // Tell dropdown that item clicked\n var onItemClick = useEvent(function () {\n var _a;\n onClick === null || onClick === void 0 ? void 0 : onClick.apply(void 0, arguments);\n (_a = override === null || override === void 0 ? void 0 : override.onClick) === null || _a === void 0 ? void 0 : _a.call(override);\n });\n // ========================== Mode ===========================\n var mergedMode = override.mode || mode;\n // ======================= Selectable ========================\n var mergedSelectable = selectable !== null && selectable !== void 0 ? selectable : override.selectable;\n // ======================== Collapsed ========================\n // Inline Collapsed\n var mergedInlineCollapsed = React.useMemo(function () {\n if (siderCollapsed !== undefined) {\n return siderCollapsed;\n }\n return inlineCollapsed;\n }, [inlineCollapsed, siderCollapsed]);\n var defaultMotions = {\n horizontal: {\n motionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n },\n inline: collapseMotion,\n other: {\n motionName: \"\".concat(rootPrefixCls, \"-zoom-big\")\n }\n };\n var prefixCls = getPrefixCls('menu', customizePrefixCls || override.prefixCls);\n var menuClassName = classNames(\"\".concat(prefixCls, \"-\").concat(theme), className);\n // ====================== Expand Icon ========================\n var mergedExpandIcon;\n if (typeof expandIcon === 'function') {\n mergedExpandIcon = expandIcon;\n } else {\n mergedExpandIcon = cloneElement(expandIcon || override.expandIcon, {\n className: \"\".concat(prefixCls, \"-submenu-expand-icon\")\n });\n }\n // ======================== Context ==========================\n var contextValue = React.useMemo(function () {\n return {\n prefixCls: prefixCls,\n inlineCollapsed: mergedInlineCollapsed || false,\n antdMenuTheme: theme,\n direction: direction,\n firstLevel: true,\n disableMenuItemTitleTooltip: _internalDisableMenuItemTitleTooltip\n };\n }, [prefixCls, mergedInlineCollapsed, theme, direction, _internalDisableMenuItemTitleTooltip]);\n // ========================= Render ==========================\n return /*#__PURE__*/React.createElement(OverrideContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(RcMenu, _extends({\n getPopupContainer: getPopupContainer,\n overflowedIndicator: /*#__PURE__*/React.createElement(EllipsisOutlined, null),\n overflowedIndicatorPopupClassName: \"\".concat(prefixCls, \"-\").concat(theme),\n mode: mergedMode,\n selectable: mergedSelectable,\n onClick: onItemClick\n }, passedProps, {\n inlineCollapsed: mergedInlineCollapsed,\n className: menuClassName,\n prefixCls: prefixCls,\n direction: direction,\n defaultMotions: defaultMotions,\n expandIcon: mergedExpandIcon,\n ref: ref\n }), mergedChildren)));\n});\n// We should keep this as ref-able\nvar Menu = /*#__PURE__*/function (_React$Component) {\n _inherits(Menu, _React$Component);\n var _super = _createSuper(Menu);\n function Menu() {\n var _this;\n _classCallCheck(this, Menu);\n _this = _super.apply(this, arguments);\n _this.focus = function (options) {\n var _a;\n (_a = _this.menu) === null || _a === void 0 ? void 0 : _a.focus(options);\n };\n return _this;\n }\n _createClass(Menu, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n return /*#__PURE__*/React.createElement(SiderContext.Consumer, null, function (context) {\n return /*#__PURE__*/React.createElement(InternalMenu, _extends({\n ref: function ref(node) {\n _this2.menu = node;\n }\n }, _this2.props, context));\n });\n }\n }]);\n return Menu;\n}(React.Component);\nMenu.Divider = MenuDivider;\nMenu.Item = Item;\nMenu.SubMenu = SubMenu;\nMenu.ItemGroup = ItemGroup;\nexport default Menu;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { SpaceContext } from '.';\nexport default function Item(_ref) {\n var className = _ref.className,\n direction = _ref.direction,\n index = _ref.index,\n marginDirection = _ref.marginDirection,\n children = _ref.children,\n split = _ref.split,\n wrap = _ref.wrap;\n var _React$useContext = React.useContext(SpaceContext),\n horizontalSize = _React$useContext.horizontalSize,\n verticalSize = _React$useContext.verticalSize,\n latestIndex = _React$useContext.latestIndex,\n supportFlexGap = _React$useContext.supportFlexGap;\n var style = {};\n if (!supportFlexGap) {\n if (direction === 'vertical') {\n if (index < latestIndex) {\n style = {\n marginBottom: horizontalSize / (split ? 2 : 1)\n };\n }\n } else {\n style = _extends(_extends({}, index < latestIndex && _defineProperty({}, marginDirection, horizontalSize / (split ? 2 : 1))), wrap && {\n paddingBottom: verticalSize\n });\n }\n }\n if (children === null || children === undefined) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, children), index < latestIndex && split && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(className, \"-split\"),\n style: style\n }, split));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport Item from './Item';\nimport Compact from './Compact';\nexport var SpaceContext = /*#__PURE__*/React.createContext({\n latestIndex: 0,\n horizontalSize: 0,\n verticalSize: 0,\n supportFlexGap: false\n});\nvar spaceSize = {\n small: 8,\n middle: 16,\n large: 24\n};\nfunction getNumberSize(size) {\n return typeof size === 'string' ? spaceSize[size] : size || 0;\n}\nvar Space = function Space(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n space = _React$useContext.space,\n directionConfig = _React$useContext.direction;\n var _props$size = props.size,\n size = _props$size === void 0 ? (space === null || space === void 0 ? void 0 : space.size) || 'small' : _props$size,\n align = props.align,\n className = props.className,\n children = props.children,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'horizontal' : _props$direction,\n customizePrefixCls = props.prefixCls,\n split = props.split,\n style = props.style,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? false : _props$wrap,\n otherProps = __rest(props, [\"size\", \"align\", \"className\", \"children\", \"direction\", \"prefixCls\", \"split\", \"style\", \"wrap\"]);\n var supportFlexGap = useFlexGapSupport();\n var _React$useMemo = React.useMemo(function () {\n return (Array.isArray(size) ? size : [size, size]).map(function (item) {\n return getNumberSize(item);\n });\n }, [size]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n horizontalSize = _React$useMemo2[0],\n verticalSize = _React$useMemo2[1];\n var childNodes = toArray(children, {\n keepEmpty: true\n });\n var mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;\n var prefixCls = getPrefixCls('space', customizePrefixCls);\n var cn = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(direction), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), directionConfig === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-align-\").concat(mergedAlign), mergedAlign), _classNames), className);\n var itemClassName = \"\".concat(prefixCls, \"-item\");\n var marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight';\n // Calculate latest one\n var latestIndex = 0;\n var nodes = childNodes.map(function (child, i) {\n if (child !== null && child !== undefined) {\n latestIndex = i;\n }\n var key = child && child.key || \"\".concat(itemClassName, \"-\").concat(i);\n return /*#__PURE__*/React.createElement(Item, {\n className: itemClassName,\n key: key,\n direction: direction,\n index: i,\n marginDirection: marginDirection,\n split: split,\n wrap: wrap\n }, child);\n });\n var spaceContext = React.useMemo(function () {\n return {\n horizontalSize: horizontalSize,\n verticalSize: verticalSize,\n latestIndex: latestIndex,\n supportFlexGap: supportFlexGap\n };\n }, [horizontalSize, verticalSize, latestIndex, supportFlexGap]);\n // =========================== Render ===========================\n if (childNodes.length === 0) {\n return null;\n }\n var gapStyle = {};\n if (wrap) {\n gapStyle.flexWrap = 'wrap';\n // Patch for gap not support\n if (!supportFlexGap) {\n gapStyle.marginBottom = -verticalSize;\n }\n }\n if (supportFlexGap) {\n gapStyle.columnGap = horizontalSize;\n gapStyle.rowGap = verticalSize;\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: cn,\n style: _extends(_extends({}, gapStyle), style)\n }, otherProps), /*#__PURE__*/React.createElement(SpaceContext.Provider, {\n value: spaceContext\n }, nodes));\n};\nvar CompoundedSpace = Space;\nCompoundedSpace.Compact = Compact;\nexport default CompoundedSpace;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar _excluded = [\"children\", \"locked\"];\nimport * as React from 'react';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport shallowEqual from 'shallowequal';\nexport var MenuContext = /*#__PURE__*/React.createContext(null);\n\nfunction mergeProps(origin, target) {\n var clone = _objectSpread({}, origin);\n\n Object.keys(target).forEach(function (key) {\n var value = target[key];\n\n if (value !== undefined) {\n clone[key] = value;\n }\n });\n return clone;\n}\n\nexport default function InheritableContextProvider(_ref) {\n var children = _ref.children,\n locked = _ref.locked,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var context = React.useContext(MenuContext);\n var inheritableContext = useMemo(function () {\n return mergeProps(context, restProps);\n }, [context, restProps], function (prev, next) {\n return !locked && (prev[0] !== next[0] || !shallowEqual(prev[1], next[1]));\n });\n return /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: inheritableContext\n }, children);\n}","import * as React from 'react';\nimport { MenuContext } from \"../context/MenuContext\";\nexport default function useActive(eventKey, disabled, onMouseEnter, onMouseLeave) {\n var _React$useContext = React.useContext(MenuContext),\n activeKey = _React$useContext.activeKey,\n onActive = _React$useContext.onActive,\n onInactive = _React$useContext.onInactive;\n\n var ret = {\n active: activeKey === eventKey\n }; // Skip when disabled\n\n if (!disabled) {\n ret.onMouseEnter = function (domEvent) {\n onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter({\n key: eventKey,\n domEvent: domEvent\n });\n onActive(eventKey);\n };\n\n ret.onMouseLeave = function (domEvent) {\n onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave({\n key: eventKey,\n domEvent: domEvent\n });\n onInactive(eventKey);\n };\n }\n\n return ret;\n}","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"item\"];\nimport warning from \"rc-util/es/warning\";\n/**\n * `onClick` event return `info.item` which point to react node directly.\n * We should warning this since it will not work on FC.\n */\n\nexport function warnItemProp(_ref) {\n var item = _ref.item,\n restInfo = _objectWithoutProperties(_ref, _excluded);\n\n Object.defineProperty(restInfo, 'item', {\n get: function get() {\n warning(false, '`info.item` is deprecated since we will move to function component that not provides React Node instance in future.');\n return item;\n }\n });\n return restInfo;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nexport default function Icon(_ref) {\n var icon = _ref.icon,\n props = _ref.props,\n children = _ref.children;\n var iconNode;\n\n if (typeof icon === 'function') {\n iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread({}, props));\n } else {\n // Compatible for origin definition\n iconNode = icon;\n }\n\n return iconNode || children || null;\n}","import * as React from 'react';\nimport { MenuContext } from \"../context/MenuContext\";\nexport default function useDirectionStyle(level) {\n var _React$useContext = React.useContext(MenuContext),\n mode = _React$useContext.mode,\n rtl = _React$useContext.rtl,\n inlineIndent = _React$useContext.inlineIndent;\n\n if (mode !== 'inline') {\n return null;\n }\n\n var len = level;\n return rtl ? {\n paddingRight: len * inlineIndent\n } : {\n paddingLeft: len * inlineIndent\n };\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nvar EmptyList = []; // ========================= Path Register =========================\n\nexport var PathRegisterContext = /*#__PURE__*/React.createContext(null);\nexport function useMeasure() {\n return React.useContext(PathRegisterContext);\n} // ========================= Path Tracker ==========================\n\nexport var PathTrackerContext = /*#__PURE__*/React.createContext(EmptyList);\nexport function useFullPath(eventKey) {\n var parentKeyPath = React.useContext(PathTrackerContext);\n return React.useMemo(function () {\n return eventKey !== undefined ? [].concat(_toConsumableArray(parentKeyPath), [eventKey]) : parentKeyPath;\n }, [parentKeyPath, eventKey]);\n} // =========================== Path User ===========================\n\nexport var PathUserContext = /*#__PURE__*/React.createContext(null);","import * as React from 'react';\nexport var IdContext = /*#__PURE__*/React.createContext(null);\nexport function getMenuId(uuid, eventKey) {\n if (uuid === undefined) {\n return null;\n }\n\n return \"\".concat(uuid, \"-\").concat(eventKey);\n}\n/**\n * Get `data-menu-id`\n */\n\nexport function useMenuId(eventKey) {\n var id = React.useContext(IdContext);\n return getMenuId(id, eventKey);\n}","import * as React from 'react';\nvar PrivateContext = /*#__PURE__*/React.createContext({});\nexport default PrivateContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"title\", \"attribute\", \"elementRef\"],\n _excluded2 = [\"style\", \"className\", \"eventKey\", \"warnKey\", \"disabled\", \"itemIcon\", \"children\", \"role\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"onKeyDown\", \"onFocus\"],\n _excluded3 = [\"active\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Overflow from 'rc-overflow';\nimport warning from \"rc-util/es/warning\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport omit from \"rc-util/es/omit\";\nimport { MenuContext } from \"./context/MenuContext\";\nimport useActive from \"./hooks/useActive\";\nimport { warnItemProp } from \"./utils/warnUtil\";\nimport Icon from \"./Icon\";\nimport useDirectionStyle from \"./hooks/useDirectionStyle\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\nimport { useMenuId } from \"./context/IdContext\";\nimport PrivateContext from \"./context/PrivateContext\";\n\n// Since Menu event provide the `info.item` which point to the MenuItem node instance.\n// We have to use class component here.\n// This should be removed from doc & api in future.\nvar LegacyMenuItem = /*#__PURE__*/function (_React$Component) {\n _inherits(LegacyMenuItem, _React$Component);\n\n var _super = _createSuper(LegacyMenuItem);\n\n function LegacyMenuItem() {\n _classCallCheck(this, LegacyMenuItem);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(LegacyMenuItem, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n title = _this$props.title,\n attribute = _this$props.attribute,\n elementRef = _this$props.elementRef,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n\n var passedProps = omit(restProps, ['eventKey']);\n warning(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');\n return /*#__PURE__*/React.createElement(Overflow.Item, _extends({}, attribute, {\n title: typeof title === 'string' ? title : undefined\n }, passedProps, {\n ref: elementRef\n }));\n }\n }]);\n\n return LegacyMenuItem;\n}(React.Component);\n/**\n * Real Menu Item component\n */\n\n\nvar InternalMenuItem = function InternalMenuItem(props) {\n var _classNames;\n\n var style = props.style,\n className = props.className,\n eventKey = props.eventKey,\n warnKey = props.warnKey,\n disabled = props.disabled,\n itemIcon = props.itemIcon,\n children = props.children,\n role = props.role,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onClick = props.onClick,\n onKeyDown = props.onKeyDown,\n onFocus = props.onFocus,\n restProps = _objectWithoutProperties(props, _excluded2);\n\n var domDataId = useMenuId(eventKey);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n onItemClick = _React$useContext.onItemClick,\n contextDisabled = _React$useContext.disabled,\n overflowDisabled = _React$useContext.overflowDisabled,\n contextItemIcon = _React$useContext.itemIcon,\n selectedKeys = _React$useContext.selectedKeys,\n onActive = _React$useContext.onActive;\n\n var _React$useContext2 = React.useContext(PrivateContext),\n _internalRenderMenuItem = _React$useContext2._internalRenderMenuItem;\n\n var itemCls = \"\".concat(prefixCls, \"-item\");\n var legacyMenuItemRef = React.useRef();\n var elementRef = React.useRef();\n var mergedDisabled = contextDisabled || disabled;\n var connectedKeys = useFullPath(eventKey); // ================================ Warn ================================\n\n if (process.env.NODE_ENV !== 'production' && warnKey) {\n warning(false, 'MenuItem should not leave undefined `key`.');\n } // ============================= Info =============================\n\n\n var getEventInfo = function getEventInfo(e) {\n return {\n key: eventKey,\n // Note: For legacy code is reversed which not like other antd component\n keyPath: _toConsumableArray(connectedKeys).reverse(),\n item: legacyMenuItemRef.current,\n domEvent: e\n };\n }; // ============================= Icon =============================\n\n\n var mergedItemIcon = itemIcon || contextItemIcon; // ============================ Active ============================\n\n var _useActive = useActive(eventKey, mergedDisabled, onMouseEnter, onMouseLeave),\n active = _useActive.active,\n activeProps = _objectWithoutProperties(_useActive, _excluded3); // ============================ Select ============================\n\n\n var selected = selectedKeys.includes(eventKey); // ======================== DirectionStyle ========================\n\n var directionStyle = useDirectionStyle(connectedKeys.length); // ============================ Events ============================\n\n var onInternalClick = function onInternalClick(e) {\n if (mergedDisabled) {\n return;\n }\n\n var info = getEventInfo(e);\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n };\n\n var onInternalKeyDown = function onInternalKeyDown(e) {\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);\n\n if (e.which === KeyCode.ENTER) {\n var info = getEventInfo(e); // Legacy. Key will also trigger click event\n\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n }\n };\n /**\n * Used for accessibility. Helper will focus element without key board.\n * We should manually trigger an active\n */\n\n\n var onInternalFocus = function onInternalFocus(e) {\n onActive(eventKey);\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);\n }; // ============================ Render ============================\n\n\n var optionRoleProps = {};\n\n if (props.role === 'option') {\n optionRoleProps['aria-selected'] = selected;\n }\n\n var renderNode = /*#__PURE__*/React.createElement(LegacyMenuItem, _extends({\n ref: legacyMenuItemRef,\n elementRef: elementRef,\n role: role === null ? 'none' : role || 'menuitem',\n tabIndex: disabled ? null : -1,\n \"data-menu-id\": overflowDisabled && domDataId ? null : domDataId\n }, restProps, activeProps, optionRoleProps, {\n component: \"li\",\n \"aria-disabled\": disabled,\n style: _objectSpread(_objectSpread({}, directionStyle), style),\n className: classNames(itemCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(itemCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(itemCls, \"-selected\"), selected), _defineProperty(_classNames, \"\".concat(itemCls, \"-disabled\"), mergedDisabled), _classNames), className),\n onClick: onInternalClick,\n onKeyDown: onInternalKeyDown,\n onFocus: onInternalFocus\n }), children, /*#__PURE__*/React.createElement(Icon, {\n props: _objectSpread(_objectSpread({}, props), {}, {\n isSelected: selected\n }),\n icon: mergedItemIcon\n }));\n\n if (_internalRenderMenuItem) {\n renderNode = _internalRenderMenuItem(renderNode, props, {\n selected: selected\n });\n }\n\n return renderNode;\n};\n\nfunction MenuItem(props) {\n var eventKey = props.eventKey; // ==================== Record KeyPath ====================\n\n var measure = useMeasure();\n var connectedKeyPath = useFullPath(eventKey); // eslint-disable-next-line consistent-return\n\n React.useEffect(function () {\n if (measure) {\n measure.registerPath(eventKey, connectedKeyPath);\n return function () {\n measure.unregisterPath(eventKey, connectedKeyPath);\n };\n }\n }, [connectedKeyPath]);\n\n if (measure) {\n return null;\n } // ======================== Render ========================\n\n\n return /*#__PURE__*/React.createElement(InternalMenuItem, props);\n}\n\nexport default MenuItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar _excluded = [\"label\", \"children\", \"key\", \"type\"];\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { Divider, MenuItem, MenuItemGroup, SubMenu } from '..';\nexport function parseChildren(children, keyPath) {\n return toArray(children).map(function (child, index) {\n if ( /*#__PURE__*/React.isValidElement(child)) {\n var _eventKey, _child$props;\n\n var key = child.key;\n var eventKey = (_eventKey = (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.eventKey) !== null && _eventKey !== void 0 ? _eventKey : key;\n var emptyKey = eventKey === null || eventKey === undefined;\n\n if (emptyKey) {\n eventKey = \"tmp_key-\".concat([].concat(_toConsumableArray(keyPath), [index]).join('-'));\n }\n\n var cloneProps = {\n key: eventKey,\n eventKey: eventKey\n };\n\n if (process.env.NODE_ENV !== 'production' && emptyKey) {\n cloneProps.warnKey = true;\n }\n\n return /*#__PURE__*/React.cloneElement(child, cloneProps);\n }\n\n return child;\n });\n}\n\nfunction convertItemsToNodes(list) {\n return (list || []).map(function (opt, index) {\n if (opt && _typeof(opt) === 'object') {\n var _ref = opt,\n label = _ref.label,\n children = _ref.children,\n key = _ref.key,\n type = _ref.type,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var mergedKey = key !== null && key !== void 0 ? key : \"tmp-\".concat(index); // MenuItemGroup & SubMenuItem\n\n if (children || type === 'group') {\n if (type === 'group') {\n // Group\n return /*#__PURE__*/React.createElement(MenuItemGroup, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n } // Sub Menu\n\n\n return /*#__PURE__*/React.createElement(SubMenu, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n } // MenuItem & Divider\n\n\n if (type === 'divider') {\n return /*#__PURE__*/React.createElement(Divider, _extends({\n key: mergedKey\n }, restProps));\n }\n\n return /*#__PURE__*/React.createElement(MenuItem, _extends({\n key: mergedKey\n }, restProps), label);\n }\n\n return null;\n }).filter(function (opt) {\n return opt;\n });\n}\n\nexport function parseItems(children, items, keyPath) {\n var childNodes = children;\n\n if (items) {\n childNodes = convertItemsToNodes(items);\n }\n\n return parseChildren(childNodes, keyPath);\n}","import * as React from 'react';\n/**\n * Cache callback function that always return same ref instead.\n * This is used for context optimization.\n */\n\nexport default function useMemoCallback(func) {\n var funRef = React.useRef(func);\n funRef.current = func;\n var callback = React.useCallback(function () {\n var _funRef$current;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_funRef$current = funRef.current) === null || _funRef$current === void 0 ? void 0 : _funRef$current.call.apply(_funRef$current, [funRef].concat(args));\n }, []);\n return func ? callback : undefined;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"children\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"../context/MenuContext\";\n\nvar InternalSubMenuList = function InternalSubMenuList(_ref, ref) {\n var className = _ref.className,\n children = _ref.children,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n mode = _React$useContext.mode,\n rtl = _React$useContext.rtl;\n\n return /*#__PURE__*/React.createElement(\"ul\", _extends({\n className: classNames(prefixCls, rtl && \"\".concat(prefixCls, \"-rtl\"), \"\".concat(prefixCls, \"-sub\"), \"\".concat(prefixCls, \"-\").concat(mode === 'inline' ? 'inline' : 'vertical'), className)\n }, restProps, {\n \"data-menu-list\": true,\n ref: ref\n }), children);\n};\n\nvar SubMenuList = /*#__PURE__*/React.forwardRef(InternalSubMenuList);\nSubMenuList.displayName = 'SubMenuList';\nexport default SubMenuList;","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nexport var placements = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -7]\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 7]\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0]\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0]\n }\n};\nexport var placementsRtl = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -7]\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 7]\n },\n rightTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0]\n },\n leftTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0]\n }\n};\nexport default placements;","export function getMotion(mode, motion, defaultMotions) {\n if (motion) {\n return motion;\n }\n\n if (defaultMotions) {\n return defaultMotions[mode] || defaultMotions.other;\n }\n\n return undefined;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Trigger from 'rc-trigger';\nimport classNames from 'classnames';\nimport raf from \"rc-util/es/raf\";\nimport { MenuContext } from \"../context/MenuContext\";\nimport { placements, placementsRtl } from \"../placements\";\nimport { getMotion } from \"../utils/motionUtil\";\nvar popupPlacementMap = {\n horizontal: 'bottomLeft',\n vertical: 'rightTop',\n 'vertical-left': 'rightTop',\n 'vertical-right': 'leftTop'\n};\nexport default function PopupTrigger(_ref) {\n var prefixCls = _ref.prefixCls,\n visible = _ref.visible,\n children = _ref.children,\n popup = _ref.popup,\n popupClassName = _ref.popupClassName,\n popupOffset = _ref.popupOffset,\n disabled = _ref.disabled,\n mode = _ref.mode,\n onVisibleChange = _ref.onVisibleChange;\n\n var _React$useContext = React.useContext(MenuContext),\n getPopupContainer = _React$useContext.getPopupContainer,\n rtl = _React$useContext.rtl,\n subMenuOpenDelay = _React$useContext.subMenuOpenDelay,\n subMenuCloseDelay = _React$useContext.subMenuCloseDelay,\n builtinPlacements = _React$useContext.builtinPlacements,\n triggerSubMenuAction = _React$useContext.triggerSubMenuAction,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n rootClassName = _React$useContext.rootClassName,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions;\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerVisible = _React$useState2[0],\n setInnerVisible = _React$useState2[1];\n\n var placement = rtl ? _objectSpread(_objectSpread({}, placementsRtl), builtinPlacements) : _objectSpread(_objectSpread({}, placements), builtinPlacements);\n var popupPlacement = popupPlacementMap[mode];\n var targetMotion = getMotion(mode, motion, defaultMotions);\n\n var mergedMotion = _objectSpread(_objectSpread({}, targetMotion), {}, {\n leavedClassName: \"\".concat(prefixCls, \"-hidden\"),\n removeOnLeave: false,\n motionAppear: true\n }); // Delay to change visible\n\n\n var visibleRef = React.useRef();\n React.useEffect(function () {\n visibleRef.current = raf(function () {\n setInnerVisible(visible);\n });\n return function () {\n raf.cancel(visibleRef.current);\n };\n }, [visible]);\n return /*#__PURE__*/React.createElement(Trigger, {\n prefixCls: prefixCls,\n popupClassName: classNames(\"\".concat(prefixCls, \"-popup\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), rtl), popupClassName, rootClassName),\n stretch: mode === 'horizontal' ? 'minWidth' : null,\n getPopupContainer: getPopupContainer,\n builtinPlacements: placement,\n popupPlacement: popupPlacement,\n popupVisible: innerVisible,\n popup: popup,\n popupAlign: popupOffset && {\n offset: popupOffset\n },\n action: disabled ? [] : [triggerSubMenuAction],\n mouseEnterDelay: subMenuOpenDelay,\n mouseLeaveDelay: subMenuCloseDelay,\n onPopupVisibleChange: onVisibleChange,\n forceRender: forceSubMenuRender,\n popupMotion: mergedMotion\n }, children);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport { getMotion } from \"../utils/motionUtil\";\nimport MenuContextProvider, { MenuContext } from \"../context/MenuContext\";\nimport SubMenuList from \"./SubMenuList\";\nexport default function InlineSubMenuList(_ref) {\n var id = _ref.id,\n open = _ref.open,\n keyPath = _ref.keyPath,\n children = _ref.children;\n var fixedMode = 'inline';\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions,\n mode = _React$useContext.mode; // Always use latest mode check\n\n\n var sameModeRef = React.useRef(false);\n sameModeRef.current = mode === fixedMode; // We record `destroy` mark here since when mode change from `inline` to others.\n // The inline list should remove when motion end.\n\n var _React$useState = React.useState(!sameModeRef.current),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n destroy = _React$useState2[0],\n setDestroy = _React$useState2[1];\n\n var mergedOpen = sameModeRef.current ? open : false; // ================================= Effect =================================\n // Reset destroy state when mode change back\n\n React.useEffect(function () {\n if (sameModeRef.current) {\n setDestroy(false);\n }\n }, [mode]); // ================================= Render =================================\n\n var mergedMotion = _objectSpread({}, getMotion(fixedMode, motion, defaultMotions)); // No need appear since nest inlineCollapse changed\n\n\n if (keyPath.length > 1) {\n mergedMotion.motionAppear = false;\n } // Hide inline list when mode changed and motion end\n\n\n var originOnVisibleChanged = mergedMotion.onVisibleChanged;\n\n mergedMotion.onVisibleChanged = function (newVisible) {\n if (!sameModeRef.current && !newVisible) {\n setDestroy(true);\n }\n\n return originOnVisibleChanged === null || originOnVisibleChanged === void 0 ? void 0 : originOnVisibleChanged(newVisible);\n };\n\n if (destroy) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(MenuContextProvider, {\n mode: fixedMode,\n locked: !sameModeRef.current\n }, /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: mergedOpen\n }, mergedMotion, {\n forceRender: forceSubMenuRender,\n removeOnLeave: false,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }), function (_ref2) {\n var motionClassName = _ref2.className,\n motionStyle = _ref2.style;\n return /*#__PURE__*/React.createElement(SubMenuList, {\n id: id,\n className: motionClassName,\n style: motionStyle\n }, children);\n }));\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"style\", \"className\", \"title\", \"eventKey\", \"warnKey\", \"disabled\", \"internalPopupClose\", \"children\", \"itemIcon\", \"expandIcon\", \"popupClassName\", \"popupOffset\", \"onClick\", \"onMouseEnter\", \"onMouseLeave\", \"onTitleClick\", \"onTitleMouseEnter\", \"onTitleMouseLeave\"],\n _excluded2 = [\"active\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Overflow from 'rc-overflow';\nimport warning from \"rc-util/es/warning\";\nimport SubMenuList from \"./SubMenuList\";\nimport { parseChildren } from \"../utils/nodeUtil\";\nimport MenuContextProvider, { MenuContext } from \"../context/MenuContext\";\nimport useMemoCallback from \"../hooks/useMemoCallback\";\nimport PopupTrigger from \"./PopupTrigger\";\nimport Icon from \"../Icon\";\nimport useActive from \"../hooks/useActive\";\nimport { warnItemProp } from \"../utils/warnUtil\";\nimport useDirectionStyle from \"../hooks/useDirectionStyle\";\nimport InlineSubMenuList from \"./InlineSubMenuList\";\nimport { PathTrackerContext, PathUserContext, useFullPath, useMeasure } from \"../context/PathContext\";\nimport { useMenuId } from \"../context/IdContext\";\nimport PrivateContext from \"../context/PrivateContext\";\n\nvar InternalSubMenu = function InternalSubMenu(props) {\n var _classNames;\n\n var style = props.style,\n className = props.className,\n title = props.title,\n eventKey = props.eventKey,\n warnKey = props.warnKey,\n disabled = props.disabled,\n internalPopupClose = props.internalPopupClose,\n children = props.children,\n itemIcon = props.itemIcon,\n expandIcon = props.expandIcon,\n popupClassName = props.popupClassName,\n popupOffset = props.popupOffset,\n onClick = props.onClick,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onTitleClick = props.onTitleClick,\n onTitleMouseEnter = props.onTitleMouseEnter,\n onTitleMouseLeave = props.onTitleMouseLeave,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var domDataId = useMenuId(eventKey);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n mode = _React$useContext.mode,\n openKeys = _React$useContext.openKeys,\n contextDisabled = _React$useContext.disabled,\n overflowDisabled = _React$useContext.overflowDisabled,\n activeKey = _React$useContext.activeKey,\n selectedKeys = _React$useContext.selectedKeys,\n contextItemIcon = _React$useContext.itemIcon,\n contextExpandIcon = _React$useContext.expandIcon,\n onItemClick = _React$useContext.onItemClick,\n onOpenChange = _React$useContext.onOpenChange,\n onActive = _React$useContext.onActive;\n\n var _React$useContext2 = React.useContext(PrivateContext),\n _internalRenderSubMenuItem = _React$useContext2._internalRenderSubMenuItem;\n\n var _React$useContext3 = React.useContext(PathUserContext),\n isSubPathKey = _React$useContext3.isSubPathKey;\n\n var connectedPath = useFullPath();\n var subMenuPrefixCls = \"\".concat(prefixCls, \"-submenu\");\n var mergedDisabled = contextDisabled || disabled;\n var elementRef = React.useRef();\n var popupRef = React.useRef(); // ================================ Warn ================================\n\n if (process.env.NODE_ENV !== 'production' && warnKey) {\n warning(false, 'SubMenu should not leave undefined `key`.');\n } // ================================ Icon ================================\n\n\n var mergedItemIcon = itemIcon || contextItemIcon;\n var mergedExpandIcon = expandIcon || contextExpandIcon; // ================================ Open ================================\n\n var originOpen = openKeys.includes(eventKey);\n var open = !overflowDisabled && originOpen; // =============================== Select ===============================\n\n var childrenSelected = isSubPathKey(selectedKeys, eventKey); // =============================== Active ===============================\n\n var _useActive = useActive(eventKey, mergedDisabled, onTitleMouseEnter, onTitleMouseLeave),\n active = _useActive.active,\n activeProps = _objectWithoutProperties(_useActive, _excluded2); // Fallback of active check to avoid hover on menu title or disabled item\n\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n childrenActive = _React$useState2[0],\n setChildrenActive = _React$useState2[1];\n\n var triggerChildrenActive = function triggerChildrenActive(newActive) {\n if (!mergedDisabled) {\n setChildrenActive(newActive);\n }\n };\n\n var onInternalMouseEnter = function onInternalMouseEnter(domEvent) {\n triggerChildrenActive(true);\n onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter({\n key: eventKey,\n domEvent: domEvent\n });\n };\n\n var onInternalMouseLeave = function onInternalMouseLeave(domEvent) {\n triggerChildrenActive(false);\n onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave({\n key: eventKey,\n domEvent: domEvent\n });\n };\n\n var mergedActive = React.useMemo(function () {\n if (active) {\n return active;\n }\n\n if (mode !== 'inline') {\n return childrenActive || isSubPathKey([activeKey], eventKey);\n }\n\n return false;\n }, [mode, active, activeKey, childrenActive, eventKey, isSubPathKey]); // ========================== DirectionStyle ==========================\n\n var directionStyle = useDirectionStyle(connectedPath.length); // =============================== Events ===============================\n // >>>> Title click\n\n var onInternalTitleClick = function onInternalTitleClick(e) {\n // Skip if disabled\n if (mergedDisabled) {\n return;\n }\n\n onTitleClick === null || onTitleClick === void 0 ? void 0 : onTitleClick({\n key: eventKey,\n domEvent: e\n }); // Trigger open by click when mode is `inline`\n\n if (mode === 'inline') {\n onOpenChange(eventKey, !originOpen);\n }\n }; // >>>> Context for children click\n\n\n var onMergedItemClick = useMemoCallback(function (info) {\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n }); // >>>>> Visible change\n\n var onPopupVisibleChange = function onPopupVisibleChange(newVisible) {\n if (mode !== 'inline') {\n onOpenChange(eventKey, newVisible);\n }\n };\n /**\n * Used for accessibility. Helper will focus element without key board.\n * We should manually trigger an active\n */\n\n\n var onInternalFocus = function onInternalFocus() {\n onActive(eventKey);\n }; // =============================== Render ===============================\n\n\n var popupId = domDataId && \"\".concat(domDataId, \"-popup\"); // >>>>> Title\n\n var titleNode = /*#__PURE__*/React.createElement(\"div\", _extends({\n role: \"menuitem\",\n style: directionStyle,\n className: \"\".concat(subMenuPrefixCls, \"-title\"),\n tabIndex: mergedDisabled ? null : -1,\n ref: elementRef,\n title: typeof title === 'string' ? title : null,\n \"data-menu-id\": overflowDisabled && domDataId ? null : domDataId,\n \"aria-expanded\": open,\n \"aria-haspopup\": true,\n \"aria-controls\": popupId,\n \"aria-disabled\": mergedDisabled,\n onClick: onInternalTitleClick,\n onFocus: onInternalFocus\n }, activeProps), title, /*#__PURE__*/React.createElement(Icon, {\n icon: mode !== 'horizontal' ? mergedExpandIcon : null,\n props: _objectSpread(_objectSpread({}, props), {}, {\n isOpen: open,\n // [Legacy] Not sure why need this mark\n isSubMenu: true\n })\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(subMenuPrefixCls, \"-arrow\")\n }))); // Cache mode if it change to `inline` which do not have popup motion\n\n var triggerModeRef = React.useRef(mode);\n\n if (mode !== 'inline' && connectedPath.length > 1) {\n triggerModeRef.current = 'vertical';\n } else {\n triggerModeRef.current = mode;\n }\n\n if (!overflowDisabled) {\n var triggerMode = triggerModeRef.current; // Still wrap with Trigger here since we need avoid react re-mount dom node\n // Which makes motion failed\n\n titleNode = /*#__PURE__*/React.createElement(PopupTrigger, {\n mode: triggerMode,\n prefixCls: subMenuPrefixCls,\n visible: !internalPopupClose && open && mode !== 'inline',\n popupClassName: popupClassName,\n popupOffset: popupOffset,\n popup: /*#__PURE__*/React.createElement(MenuContextProvider // Special handle of horizontal mode\n , {\n mode: triggerMode === 'horizontal' ? 'vertical' : triggerMode\n }, /*#__PURE__*/React.createElement(SubMenuList, {\n id: popupId,\n ref: popupRef\n }, children)),\n disabled: mergedDisabled,\n onVisibleChange: onPopupVisibleChange\n }, titleNode);\n } // >>>>> List node\n\n\n var listNode = /*#__PURE__*/React.createElement(Overflow.Item, _extends({\n role: \"none\"\n }, restProps, {\n component: \"li\",\n style: style,\n className: classNames(subMenuPrefixCls, \"\".concat(subMenuPrefixCls, \"-\").concat(mode), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-open\"), open), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-active\"), mergedActive), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-selected\"), childrenSelected), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-disabled\"), mergedDisabled), _classNames)),\n onMouseEnter: onInternalMouseEnter,\n onMouseLeave: onInternalMouseLeave\n }), titleNode, !overflowDisabled && /*#__PURE__*/React.createElement(InlineSubMenuList, {\n id: popupId,\n open: open,\n keyPath: connectedPath\n }, children));\n\n if (_internalRenderSubMenuItem) {\n listNode = _internalRenderSubMenuItem(listNode, props, {\n selected: childrenSelected,\n active: mergedActive,\n open: open,\n disabled: mergedDisabled\n });\n } // >>>>> Render\n\n\n return /*#__PURE__*/React.createElement(MenuContextProvider, {\n onItemClick: onMergedItemClick,\n mode: mode === 'horizontal' ? 'vertical' : mode,\n itemIcon: mergedItemIcon,\n expandIcon: mergedExpandIcon\n }, listNode);\n};\n\nexport default function SubMenu(props) {\n var eventKey = props.eventKey,\n children = props.children;\n var connectedKeyPath = useFullPath(eventKey);\n var childList = parseChildren(children, connectedKeyPath); // ==================== Record KeyPath ====================\n\n var measure = useMeasure(); // eslint-disable-next-line consistent-return\n\n React.useEffect(function () {\n if (measure) {\n measure.registerPath(eventKey, connectedKeyPath);\n return function () {\n measure.unregisterPath(eventKey, connectedKeyPath);\n };\n }\n }, [connectedKeyPath]);\n var renderNode; // ======================== Render ========================\n\n if (measure) {\n renderNode = childList;\n } else {\n renderNode = /*#__PURE__*/React.createElement(InternalSubMenu, props, childList);\n }\n\n return /*#__PURE__*/React.createElement(PathTrackerContext.Provider, {\n value: connectedKeyPath\n }, renderNode);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport { getFocusNodeList } from \"rc-util/es/Dom/focus\";\nimport { getMenuId } from \"../context/IdContext\"; // destruct to reduce minify size\n\nvar LEFT = KeyCode.LEFT,\n RIGHT = KeyCode.RIGHT,\n UP = KeyCode.UP,\n DOWN = KeyCode.DOWN,\n ENTER = KeyCode.ENTER,\n ESC = KeyCode.ESC,\n HOME = KeyCode.HOME,\n END = KeyCode.END;\nvar ArrowKeys = [UP, DOWN, LEFT, RIGHT];\n\nfunction getOffset(mode, isRootLevel, isRtl, which) {\n var _inline, _horizontal, _vertical, _offsets;\n\n var prev = 'prev';\n var next = 'next';\n var children = 'children';\n var parent = 'parent'; // Inline enter is special that we use unique operation\n\n if (mode === 'inline' && which === ENTER) {\n return {\n inlineTrigger: true\n };\n }\n\n var inline = (_inline = {}, _defineProperty(_inline, UP, prev), _defineProperty(_inline, DOWN, next), _inline);\n var horizontal = (_horizontal = {}, _defineProperty(_horizontal, LEFT, isRtl ? next : prev), _defineProperty(_horizontal, RIGHT, isRtl ? prev : next), _defineProperty(_horizontal, DOWN, children), _defineProperty(_horizontal, ENTER, children), _horizontal);\n var vertical = (_vertical = {}, _defineProperty(_vertical, UP, prev), _defineProperty(_vertical, DOWN, next), _defineProperty(_vertical, ENTER, children), _defineProperty(_vertical, ESC, parent), _defineProperty(_vertical, LEFT, isRtl ? children : parent), _defineProperty(_vertical, RIGHT, isRtl ? parent : children), _vertical);\n var offsets = {\n inline: inline,\n horizontal: horizontal,\n vertical: vertical,\n inlineSub: inline,\n horizontalSub: vertical,\n verticalSub: vertical\n };\n var type = (_offsets = offsets[\"\".concat(mode).concat(isRootLevel ? '' : 'Sub')]) === null || _offsets === void 0 ? void 0 : _offsets[which];\n\n switch (type) {\n case prev:\n return {\n offset: -1,\n sibling: true\n };\n\n case next:\n return {\n offset: 1,\n sibling: true\n };\n\n case parent:\n return {\n offset: -1,\n sibling: false\n };\n\n case children:\n return {\n offset: 1,\n sibling: false\n };\n\n default:\n return null;\n }\n}\n\nfunction findContainerUL(element) {\n var current = element;\n\n while (current) {\n if (current.getAttribute('data-menu-list')) {\n return current;\n }\n\n current = current.parentElement;\n } // Normally should not reach this line\n\n /* istanbul ignore next */\n\n\n return null;\n}\n/**\n * Find focused element within element set provided\n */\n\n\nfunction getFocusElement(activeElement, elements) {\n var current = activeElement || document.activeElement;\n\n while (current) {\n if (elements.has(current)) {\n return current;\n }\n\n current = current.parentElement;\n }\n\n return null;\n}\n/**\n * Get focusable elements from the element set under provided container\n */\n\n\nfunction getFocusableElements(container, elements) {\n var list = getFocusNodeList(container, true);\n return list.filter(function (ele) {\n return elements.has(ele);\n });\n}\n\nfunction getNextFocusElement(parentQueryContainer, elements, focusMenuElement) {\n var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n\n // Key on the menu item will not get validate parent container\n if (!parentQueryContainer) {\n return null;\n } // List current level menu item elements\n\n\n var sameLevelFocusableMenuElementList = getFocusableElements(parentQueryContainer, elements); // Find next focus index\n\n var count = sameLevelFocusableMenuElementList.length;\n var focusIndex = sameLevelFocusableMenuElementList.findIndex(function (ele) {\n return focusMenuElement === ele;\n });\n\n if (offset < 0) {\n if (focusIndex === -1) {\n focusIndex = count - 1;\n } else {\n focusIndex -= 1;\n }\n } else if (offset > 0) {\n focusIndex += 1;\n }\n\n focusIndex = (focusIndex + count) % count; // Focus menu item\n\n return sameLevelFocusableMenuElementList[focusIndex];\n}\n\nexport default function useAccessibility(mode, activeKey, isRtl, id, containerRef, getKeys, getKeyPath, triggerActiveKey, triggerAccessibilityOpen, originOnKeyDown) {\n var rafRef = React.useRef();\n var activeRef = React.useRef();\n activeRef.current = activeKey;\n\n var cleanRaf = function cleanRaf() {\n raf.cancel(rafRef.current);\n };\n\n React.useEffect(function () {\n return function () {\n cleanRaf();\n };\n }, []);\n return function (e) {\n var which = e.which;\n\n if ([].concat(ArrowKeys, [ENTER, ESC, HOME, END]).includes(which)) {\n // Convert key to elements\n var elements;\n var key2element;\n var element2key; // >>> Wrap as function since we use raf for some case\n\n var refreshElements = function refreshElements() {\n elements = new Set();\n key2element = new Map();\n element2key = new Map();\n var keys = getKeys();\n keys.forEach(function (key) {\n var element = document.querySelector(\"[data-menu-id='\".concat(getMenuId(id, key), \"']\"));\n\n if (element) {\n elements.add(element);\n element2key.set(element, key);\n key2element.set(key, element);\n }\n });\n return elements;\n };\n\n refreshElements(); // First we should find current focused MenuItem/SubMenu element\n\n var activeElement = key2element.get(activeKey);\n var focusMenuElement = getFocusElement(activeElement, elements);\n var focusMenuKey = element2key.get(focusMenuElement);\n var offsetObj = getOffset(mode, getKeyPath(focusMenuKey, true).length === 1, isRtl, which); // Some mode do not have fully arrow operation like inline\n\n if (!offsetObj && which !== HOME && which !== END) {\n return;\n } // Arrow prevent default to avoid page scroll\n\n\n if (ArrowKeys.includes(which) || [HOME, END].includes(which)) {\n e.preventDefault();\n }\n\n var tryFocus = function tryFocus(menuElement) {\n if (menuElement) {\n var focusTargetElement = menuElement; // Focus to link instead of menu item if possible\n\n var link = menuElement.querySelector('a');\n\n if (link !== null && link !== void 0 && link.getAttribute('href')) {\n focusTargetElement = link;\n }\n\n var targetKey = element2key.get(menuElement);\n triggerActiveKey(targetKey);\n /**\n * Do not `useEffect` here since `tryFocus` may trigger async\n * which makes React sync update the `activeKey`\n * that force render before `useRef` set the next activeKey\n */\n\n cleanRaf();\n rafRef.current = raf(function () {\n if (activeRef.current === targetKey) {\n focusTargetElement.focus();\n }\n });\n }\n };\n\n if ([HOME, END].includes(which) || offsetObj.sibling || !focusMenuElement) {\n // ========================== Sibling ==========================\n // Find walkable focus menu element container\n var parentQueryContainer;\n\n if (!focusMenuElement || mode === 'inline') {\n parentQueryContainer = containerRef.current;\n } else {\n parentQueryContainer = findContainerUL(focusMenuElement);\n } // Get next focus element\n\n\n var targetElement;\n var focusableElements = getFocusableElements(parentQueryContainer, elements);\n\n if (which === HOME) {\n targetElement = focusableElements[0];\n } else if (which === END) {\n targetElement = focusableElements[focusableElements.length - 1];\n } else {\n targetElement = getNextFocusElement(parentQueryContainer, elements, focusMenuElement, offsetObj.offset);\n } // Focus menu item\n\n\n tryFocus(targetElement); // ======================= InlineTrigger =======================\n } else if (offsetObj.inlineTrigger) {\n // Inline trigger no need switch to sub menu item\n triggerAccessibilityOpen(focusMenuKey); // =========================== Level ===========================\n } else if (offsetObj.offset > 0) {\n triggerAccessibilityOpen(focusMenuKey, true);\n cleanRaf();\n rafRef.current = raf(function () {\n // Async should resync elements\n refreshElements();\n var controlId = focusMenuElement.getAttribute('aria-controls');\n var subQueryContainer = document.getElementById(controlId); // Get sub focusable menu item\n\n var targetElement = getNextFocusElement(subQueryContainer, elements); // Focus menu item\n\n tryFocus(targetElement);\n }, 5);\n } else if (offsetObj.offset < 0) {\n var keyPath = getKeyPath(focusMenuKey, true);\n var parentKey = keyPath[keyPath.length - 2];\n var parentMenuElement = key2element.get(parentKey); // Focus menu item\n\n triggerAccessibilityOpen(parentKey, false);\n tryFocus(parentMenuElement);\n }\n } // Pass origin key down event\n\n\n originOnKeyDown === null || originOnKeyDown === void 0 ? void 0 : originOnKeyDown(e);\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nvar uniquePrefix = Math.random().toFixed(5).toString().slice(2);\nvar internalId = 0;\nexport default function useUUID(id) {\n var _useMergedState = useMergedState(id, {\n value: id\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n uuid = _useMergedState2[0],\n setUUID = _useMergedState2[1];\n\n React.useEffect(function () {\n internalId += 1;\n var newId = process.env.NODE_ENV === 'test' ? 'test' : \"\".concat(uniquePrefix, \"-\").concat(internalId);\n setUUID(\"rc-menu-uuid-\".concat(newId));\n }, []);\n return uuid;\n}","export function nextSlice(callback) {\n /* istanbul ignore next */\n Promise.resolve().then(callback);\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useCallback } from 'react';\nimport warning from \"rc-util/es/warning\";\nimport { nextSlice } from \"../utils/timeUtil\";\nvar PATH_SPLIT = '__RC_UTIL_PATH_SPLIT__';\n\nvar getPathStr = function getPathStr(keyPath) {\n return keyPath.join(PATH_SPLIT);\n};\n\nvar getPathKeys = function getPathKeys(keyPathStr) {\n return keyPathStr.split(PATH_SPLIT);\n};\n\nexport var OVERFLOW_KEY = 'rc-menu-more';\nexport default function useKeyRecords() {\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n internalForceUpdate = _React$useState2[1];\n\n var key2pathRef = useRef(new Map());\n var path2keyRef = useRef(new Map());\n\n var _React$useState3 = React.useState([]),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n overflowKeys = _React$useState4[0],\n setOverflowKeys = _React$useState4[1];\n\n var updateRef = useRef(0);\n var destroyRef = useRef(false);\n\n var forceUpdate = function forceUpdate() {\n if (!destroyRef.current) {\n internalForceUpdate({});\n }\n };\n\n var registerPath = useCallback(function (key, keyPath) {\n // Warning for invalidate or duplicated `key`\n if (process.env.NODE_ENV !== 'production') {\n warning(!key2pathRef.current.has(key), \"Duplicated key '\".concat(key, \"' used in Menu by path [\").concat(keyPath.join(' > '), \"]\"));\n } // Fill map\n\n\n var connectedPath = getPathStr(keyPath);\n path2keyRef.current.set(connectedPath, key);\n key2pathRef.current.set(key, connectedPath);\n updateRef.current += 1;\n var id = updateRef.current;\n nextSlice(function () {\n if (id === updateRef.current) {\n forceUpdate();\n }\n });\n }, []);\n var unregisterPath = useCallback(function (key, keyPath) {\n var connectedPath = getPathStr(keyPath);\n path2keyRef.current.delete(connectedPath);\n key2pathRef.current.delete(key);\n }, []);\n var refreshOverflowKeys = useCallback(function (keys) {\n setOverflowKeys(keys);\n }, []);\n var getKeyPath = useCallback(function (eventKey, includeOverflow) {\n var fullPath = key2pathRef.current.get(eventKey) || '';\n var keys = getPathKeys(fullPath);\n\n if (includeOverflow && overflowKeys.includes(keys[0])) {\n keys.unshift(OVERFLOW_KEY);\n }\n\n return keys;\n }, [overflowKeys]);\n var isSubPathKey = useCallback(function (pathKeys, eventKey) {\n return pathKeys.some(function (pathKey) {\n var pathKeyList = getKeyPath(pathKey, true);\n return pathKeyList.includes(eventKey);\n });\n }, [getKeyPath]);\n\n var getKeys = function getKeys() {\n var keys = _toConsumableArray(key2pathRef.current.keys());\n\n if (overflowKeys.length) {\n keys.push(OVERFLOW_KEY);\n }\n\n return keys;\n };\n /**\n * Find current key related child path keys\n */\n\n\n var getSubPathKeys = useCallback(function (key) {\n var connectedPath = \"\".concat(key2pathRef.current.get(key)).concat(PATH_SPLIT);\n var pathKeys = new Set();\n\n _toConsumableArray(path2keyRef.current.keys()).forEach(function (pathKey) {\n if (pathKey.startsWith(connectedPath)) {\n pathKeys.add(path2keyRef.current.get(pathKey));\n }\n });\n\n return pathKeys;\n }, []);\n React.useEffect(function () {\n return function () {\n destroyRef.current = true;\n };\n }, []);\n return {\n // Register\n registerPath: registerPath,\n unregisterPath: unregisterPath,\n refreshOverflowKeys: refreshOverflowKeys,\n // Util\n isSubPathKey: isSubPathKey,\n getKeyPath: getKeyPath,\n getKeys: getKeys,\n getSubPathKeys: getSubPathKeys\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"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\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport shallowEqual from 'shallowequal';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport warning from \"rc-util/es/warning\";\nimport Overflow from 'rc-overflow';\nimport MenuItem from \"./MenuItem\";\nimport { parseItems } from \"./utils/nodeUtil\";\nimport MenuContextProvider from \"./context/MenuContext\";\nimport useMemoCallback from \"./hooks/useMemoCallback\";\nimport { warnItemProp } from \"./utils/warnUtil\";\nimport SubMenu from \"./SubMenu\";\nimport useAccessibility from \"./hooks/useAccessibility\";\nimport useUUID from \"./hooks/useUUID\";\nimport { PathRegisterContext, PathUserContext } from \"./context/PathContext\";\nimport useKeyRecords, { OVERFLOW_KEY } from \"./hooks/useKeyRecords\";\nimport { getMenuId, IdContext } from \"./context/IdContext\";\nimport PrivateContext from \"./context/PrivateContext\";\nimport { useImperativeHandle } from 'react';\n/**\n * Menu modify after refactor:\n * ## Add\n * - disabled\n *\n * ## Remove\n * - openTransitionName\n * - openAnimation\n * - onDestroy\n * - siderCollapsed: Seems antd do not use this prop (Need test in antd)\n * - collapsedWidth: Seems this logic should be handle by antd Layout.Sider\n */\n// optimize for render\n\nvar EMPTY_LIST = [];\nvar Menu = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _childList$, _classNames;\n\n var _ref = props,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-menu' : _ref$prefixCls,\n rootClassName = _ref.rootClassName,\n style = _ref.style,\n className = _ref.className,\n _ref$tabIndex = _ref.tabIndex,\n tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,\n items = _ref.items,\n children = _ref.children,\n direction = _ref.direction,\n id = _ref.id,\n _ref$mode = _ref.mode,\n mode = _ref$mode === void 0 ? 'vertical' : _ref$mode,\n inlineCollapsed = _ref.inlineCollapsed,\n disabled = _ref.disabled,\n disabledOverflow = _ref.disabledOverflow,\n _ref$subMenuOpenDelay = _ref.subMenuOpenDelay,\n subMenuOpenDelay = _ref$subMenuOpenDelay === void 0 ? 0.1 : _ref$subMenuOpenDelay,\n _ref$subMenuCloseDela = _ref.subMenuCloseDelay,\n subMenuCloseDelay = _ref$subMenuCloseDela === void 0 ? 0.1 : _ref$subMenuCloseDela,\n forceSubMenuRender = _ref.forceSubMenuRender,\n defaultOpenKeys = _ref.defaultOpenKeys,\n openKeys = _ref.openKeys,\n activeKey = _ref.activeKey,\n defaultActiveFirst = _ref.defaultActiveFirst,\n _ref$selectable = _ref.selectable,\n selectable = _ref$selectable === void 0 ? true : _ref$selectable,\n _ref$multiple = _ref.multiple,\n multiple = _ref$multiple === void 0 ? false : _ref$multiple,\n defaultSelectedKeys = _ref.defaultSelectedKeys,\n selectedKeys = _ref.selectedKeys,\n onSelect = _ref.onSelect,\n onDeselect = _ref.onDeselect,\n _ref$inlineIndent = _ref.inlineIndent,\n inlineIndent = _ref$inlineIndent === void 0 ? 24 : _ref$inlineIndent,\n motion = _ref.motion,\n defaultMotions = _ref.defaultMotions,\n _ref$triggerSubMenuAc = _ref.triggerSubMenuAction,\n triggerSubMenuAction = _ref$triggerSubMenuAc === void 0 ? 'hover' : _ref$triggerSubMenuAc,\n builtinPlacements = _ref.builtinPlacements,\n itemIcon = _ref.itemIcon,\n expandIcon = _ref.expandIcon,\n _ref$overflowedIndica = _ref.overflowedIndicator,\n overflowedIndicator = _ref$overflowedIndica === void 0 ? '...' : _ref$overflowedIndica,\n overflowedIndicatorPopupClassName = _ref.overflowedIndicatorPopupClassName,\n getPopupContainer = _ref.getPopupContainer,\n onClick = _ref.onClick,\n onOpenChange = _ref.onOpenChange,\n onKeyDown = _ref.onKeyDown,\n openAnimation = _ref.openAnimation,\n openTransitionName = _ref.openTransitionName,\n _internalRenderMenuItem = _ref._internalRenderMenuItem,\n _internalRenderSubMenuItem = _ref._internalRenderSubMenuItem,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var childList = React.useMemo(function () {\n return parseItems(children, items, EMPTY_LIST);\n }, [children, items]);\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n mounted = _React$useState2[0],\n setMounted = _React$useState2[1];\n\n var containerRef = React.useRef();\n var uuid = useUUID(id);\n var isRtl = direction === 'rtl'; // ========================= Warn =========================\n\n if (process.env.NODE_ENV !== 'production') {\n warning(!openAnimation && !openTransitionName, '`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.');\n } // ========================= Mode =========================\n\n\n var _React$useMemo = React.useMemo(function () {\n if ((mode === 'inline' || mode === 'vertical') && inlineCollapsed) {\n return ['vertical', inlineCollapsed];\n }\n\n return [mode, false];\n }, [mode, inlineCollapsed]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n mergedMode = _React$useMemo2[0],\n mergedInlineCollapsed = _React$useMemo2[1]; // ====================== Responsive ======================\n\n\n var _React$useState3 = React.useState(0),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n lastVisibleIndex = _React$useState4[0],\n setLastVisibleIndex = _React$useState4[1];\n\n var allVisible = lastVisibleIndex >= childList.length - 1 || mergedMode !== 'horizontal' || disabledOverflow; // ========================= Open =========================\n\n var _useMergedState = useMergedState(defaultOpenKeys, {\n value: openKeys,\n postState: function postState(keys) {\n return keys || EMPTY_LIST;\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedOpenKeys = _useMergedState2[0],\n setMergedOpenKeys = _useMergedState2[1];\n\n var triggerOpenKeys = function triggerOpenKeys(keys) {\n setMergedOpenKeys(keys);\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(keys);\n }; // >>>>> Cache & Reset open keys when inlineCollapsed changed\n\n\n var _React$useState5 = React.useState(mergedOpenKeys),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n inlineCacheOpenKeys = _React$useState6[0],\n setInlineCacheOpenKeys = _React$useState6[1];\n\n var isInlineMode = mergedMode === 'inline';\n var mountRef = React.useRef(false); // Cache\n\n React.useEffect(function () {\n if (isInlineMode) {\n setInlineCacheOpenKeys(mergedOpenKeys);\n }\n }, [mergedOpenKeys]); // Restore\n\n React.useEffect(function () {\n if (!mountRef.current) {\n return;\n }\n\n if (isInlineMode) {\n setMergedOpenKeys(inlineCacheOpenKeys);\n } else {\n // Trigger open event in case its in control\n triggerOpenKeys(EMPTY_LIST);\n }\n }, [isInlineMode]);\n React.useEffect(function () {\n mountRef.current = true;\n return function () {\n mountRef.current = false;\n };\n }, []); // ========================= Path =========================\n\n var _useKeyRecords = useKeyRecords(),\n registerPath = _useKeyRecords.registerPath,\n unregisterPath = _useKeyRecords.unregisterPath,\n refreshOverflowKeys = _useKeyRecords.refreshOverflowKeys,\n isSubPathKey = _useKeyRecords.isSubPathKey,\n getKeyPath = _useKeyRecords.getKeyPath,\n getKeys = _useKeyRecords.getKeys,\n getSubPathKeys = _useKeyRecords.getSubPathKeys;\n\n var registerPathContext = React.useMemo(function () {\n return {\n registerPath: registerPath,\n unregisterPath: unregisterPath\n };\n }, [registerPath, unregisterPath]);\n var pathUserContext = React.useMemo(function () {\n return {\n isSubPathKey: isSubPathKey\n };\n }, [isSubPathKey]);\n React.useEffect(function () {\n refreshOverflowKeys(allVisible ? EMPTY_LIST : childList.slice(lastVisibleIndex + 1).map(function (child) {\n return child.key;\n }));\n }, [lastVisibleIndex, allVisible]); // ======================== Active ========================\n\n var _useMergedState3 = useMergedState(activeKey || defaultActiveFirst && ((_childList$ = childList[0]) === null || _childList$ === void 0 ? void 0 : _childList$.key), {\n value: activeKey\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedActiveKey = _useMergedState4[0],\n setMergedActiveKey = _useMergedState4[1];\n\n var onActive = useMemoCallback(function (key) {\n setMergedActiveKey(key);\n });\n var onInactive = useMemoCallback(function () {\n setMergedActiveKey(undefined);\n });\n useImperativeHandle(ref, function () {\n return {\n list: containerRef.current,\n focus: function focus(options) {\n var _childList$find;\n\n var shouldFocusKey = mergedActiveKey !== null && mergedActiveKey !== void 0 ? mergedActiveKey : (_childList$find = childList.find(function (node) {\n return !node.props.disabled;\n })) === null || _childList$find === void 0 ? void 0 : _childList$find.key;\n\n if (shouldFocusKey) {\n var _containerRef$current, _containerRef$current2, _containerRef$current3;\n\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : (_containerRef$current2 = _containerRef$current.querySelector(\"li[data-menu-id='\".concat(getMenuId(uuid, shouldFocusKey), \"']\"))) === null || _containerRef$current2 === void 0 ? void 0 : (_containerRef$current3 = _containerRef$current2.focus) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.call(_containerRef$current2, options);\n }\n }\n };\n }); // ======================== Select ========================\n // >>>>> Select keys\n\n var _useMergedState5 = useMergedState(defaultSelectedKeys || [], {\n value: selectedKeys,\n // Legacy convert key to array\n postState: function postState(keys) {\n if (Array.isArray(keys)) {\n return keys;\n }\n\n if (keys === null || keys === undefined) {\n return EMPTY_LIST;\n }\n\n return [keys];\n }\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n mergedSelectKeys = _useMergedState6[0],\n setMergedSelectKeys = _useMergedState6[1]; // >>>>> Trigger select\n\n\n var triggerSelection = function triggerSelection(info) {\n if (selectable) {\n // Insert or Remove\n var targetKey = info.key;\n var exist = mergedSelectKeys.includes(targetKey);\n var newSelectKeys;\n\n if (multiple) {\n if (exist) {\n newSelectKeys = mergedSelectKeys.filter(function (key) {\n return key !== targetKey;\n });\n } else {\n newSelectKeys = [].concat(_toConsumableArray(mergedSelectKeys), [targetKey]);\n }\n } else {\n newSelectKeys = [targetKey];\n }\n\n setMergedSelectKeys(newSelectKeys); // Trigger event\n\n var selectInfo = _objectSpread(_objectSpread({}, info), {}, {\n selectedKeys: newSelectKeys\n });\n\n if (exist) {\n onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect(selectInfo);\n } else {\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectInfo);\n }\n } // Whatever selectable, always close it\n\n\n if (!multiple && mergedOpenKeys.length && mergedMode !== 'inline') {\n triggerOpenKeys(EMPTY_LIST);\n }\n }; // ========================= Open =========================\n\n /**\n * Click for item. SubMenu do not have selection status\n */\n\n\n var onInternalClick = useMemoCallback(function (info) {\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n triggerSelection(info);\n });\n var onInternalOpenChange = useMemoCallback(function (key, open) {\n var newOpenKeys = mergedOpenKeys.filter(function (k) {\n return k !== key;\n });\n\n if (open) {\n newOpenKeys.push(key);\n } else if (mergedMode !== 'inline') {\n // We need find all related popup to close\n var subPathKeys = getSubPathKeys(key);\n newOpenKeys = newOpenKeys.filter(function (k) {\n return !subPathKeys.has(k);\n });\n }\n\n if (!shallowEqual(mergedOpenKeys, newOpenKeys)) {\n triggerOpenKeys(newOpenKeys);\n }\n });\n var getInternalPopupContainer = useMemoCallback(getPopupContainer); // ==================== Accessibility =====================\n\n var triggerAccessibilityOpen = function triggerAccessibilityOpen(key, open) {\n var nextOpen = open !== null && open !== void 0 ? open : !mergedOpenKeys.includes(key);\n onInternalOpenChange(key, nextOpen);\n };\n\n var onInternalKeyDown = useAccessibility(mergedMode, mergedActiveKey, isRtl, uuid, containerRef, getKeys, getKeyPath, setMergedActiveKey, triggerAccessibilityOpen, onKeyDown); // ======================== Effect ========================\n\n React.useEffect(function () {\n setMounted(true);\n }, []); // ======================= Context ========================\n\n var privateContext = React.useMemo(function () {\n return {\n _internalRenderMenuItem: _internalRenderMenuItem,\n _internalRenderSubMenuItem: _internalRenderSubMenuItem\n };\n }, [_internalRenderMenuItem, _internalRenderSubMenuItem]); // ======================== Render ========================\n // >>>>> Children\n\n var wrappedChildList = mergedMode !== 'horizontal' || disabledOverflow ? childList : // Need wrap for overflow dropdown that do not response for open\n childList.map(function (child, index) {\n return (\n /*#__PURE__*/\n // Always wrap provider to avoid sub node re-mount\n React.createElement(MenuContextProvider, {\n key: child.key,\n overflowDisabled: index > lastVisibleIndex\n }, child)\n );\n }); // >>>>> Container\n\n var container = /*#__PURE__*/React.createElement(Overflow, _extends({\n id: id,\n ref: containerRef,\n prefixCls: \"\".concat(prefixCls, \"-overflow\"),\n component: \"ul\",\n itemComponent: MenuItem,\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-root\"), \"\".concat(prefixCls, \"-\").concat(mergedMode), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-inline-collapsed\"), mergedInlineCollapsed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), isRtl), _classNames), rootClassName),\n dir: direction,\n style: style,\n role: \"menu\",\n tabIndex: tabIndex,\n data: wrappedChildList,\n renderRawItem: function renderRawItem(node) {\n return node;\n },\n renderRawRest: function renderRawRest(omitItems) {\n // We use origin list since wrapped list use context to prevent open\n var len = omitItems.length;\n var originOmitItems = len ? childList.slice(-len) : null;\n return /*#__PURE__*/React.createElement(SubMenu, {\n eventKey: OVERFLOW_KEY,\n title: overflowedIndicator,\n disabled: allVisible,\n internalPopupClose: len === 0,\n popupClassName: overflowedIndicatorPopupClassName\n }, originOmitItems);\n },\n maxCount: mergedMode !== 'horizontal' || disabledOverflow ? Overflow.INVALIDATE : Overflow.RESPONSIVE,\n ssr: \"full\",\n \"data-menu-list\": true,\n onVisibleChange: function onVisibleChange(newLastIndex) {\n setLastVisibleIndex(newLastIndex);\n },\n onKeyDown: onInternalKeyDown\n }, restProps)); // >>>>> Render\n\n return /*#__PURE__*/React.createElement(PrivateContext.Provider, {\n value: privateContext\n }, /*#__PURE__*/React.createElement(IdContext.Provider, {\n value: uuid\n }, /*#__PURE__*/React.createElement(MenuContextProvider, {\n prefixCls: prefixCls,\n rootClassName: rootClassName,\n mode: mergedMode,\n openKeys: mergedOpenKeys,\n rtl: isRtl // Disabled\n ,\n disabled: disabled // Motion\n ,\n motion: mounted ? motion : null,\n defaultMotions: mounted ? defaultMotions : null // Active\n ,\n activeKey: mergedActiveKey,\n onActive: onActive,\n onInactive: onInactive // Selection\n ,\n selectedKeys: mergedSelectKeys // Level\n ,\n inlineIndent: inlineIndent // Popup\n ,\n subMenuOpenDelay: subMenuOpenDelay,\n subMenuCloseDelay: subMenuCloseDelay,\n forceSubMenuRender: forceSubMenuRender,\n builtinPlacements: builtinPlacements,\n triggerSubMenuAction: triggerSubMenuAction,\n getPopupContainer: getInternalPopupContainer // Icon\n ,\n itemIcon: itemIcon,\n expandIcon: expandIcon // Events\n ,\n onItemClick: onInternalClick,\n onOpenChange: onInternalOpenChange\n }, /*#__PURE__*/React.createElement(PathUserContext.Provider, {\n value: pathUserContext\n }, container), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n display: 'none'\n },\n \"aria-hidden\": true\n }, /*#__PURE__*/React.createElement(PathRegisterContext.Provider, {\n value: registerPathContext\n }, childList)))));\n});\nexport default Menu;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"title\", \"eventKey\", \"children\"],\n _excluded2 = [\"children\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { parseChildren } from \"./utils/nodeUtil\";\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\n\nvar InternalMenuItemGroup = function InternalMenuItemGroup(_ref) {\n var className = _ref.className,\n title = _ref.title,\n eventKey = _ref.eventKey,\n children = _ref.children,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n\n var groupPrefixCls = \"\".concat(prefixCls, \"-item-group\");\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, restProps, {\n onClick: function onClick(e) {\n return e.stopPropagation();\n },\n className: classNames(groupPrefixCls, className)\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(groupPrefixCls, \"-title\"),\n title: typeof title === 'string' ? title : undefined\n }, title), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(groupPrefixCls, \"-list\")\n }, children));\n};\n\nexport default function MenuItemGroup(_ref2) {\n var children = _ref2.children,\n props = _objectWithoutProperties(_ref2, _excluded2);\n\n var connectedKeyPath = useFullPath(props.eventKey);\n var childList = parseChildren(children, connectedKeyPath);\n var measure = useMeasure();\n\n if (measure) {\n return childList;\n }\n\n return /*#__PURE__*/React.createElement(InternalMenuItemGroup, omit(props, ['warnKey']), childList);\n}","import * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useMeasure } from \"./context/PathContext\";\nexport default function Divider(_ref) {\n var className = _ref.className,\n style = _ref.style;\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n\n var measure = useMeasure();\n\n if (measure) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classNames(\"\".concat(prefixCls, \"-item-divider\"), className),\n style: style\n });\n}","import Menu from \"./Menu\";\nimport MenuItem from \"./MenuItem\";\nimport SubMenu from \"./SubMenu\";\nimport MenuItemGroup from \"./MenuItemGroup\";\nimport { useFullPath } from \"./context/PathContext\";\nimport Divider from \"./Divider\";\nexport { SubMenu, MenuItem as Item, MenuItem, MenuItemGroup, MenuItemGroup as ItemGroup, Divider,\n/** @private Only used for antd internal. Do not use in your production. */\nuseFullPath };\nvar ExportMenu = Menu;\nExportMenu.Item = MenuItem;\nExportMenu.SubMenu = SubMenu;\nExportMenu.ItemGroup = MenuItemGroup;\nExportMenu.Divider = Divider;\nexport default ExportMenu;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"invalidate\", \"item\", \"renderItem\", \"responsive\", \"responsiveDisabled\", \"registerSize\", \"itemKey\", \"className\", \"style\", \"children\", \"display\", \"order\", \"component\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer'; // Use shared variable to save bundle size\n\nvar UNDEFINED = undefined;\n\nfunction InternalItem(props, ref) {\n var prefixCls = props.prefixCls,\n invalidate = props.invalidate,\n item = props.item,\n renderItem = props.renderItem,\n responsive = props.responsive,\n responsiveDisabled = props.responsiveDisabled,\n registerSize = props.registerSize,\n itemKey = props.itemKey,\n className = props.className,\n style = props.style,\n children = props.children,\n display = props.display,\n order = props.order,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedHidden = responsive && !display; // ================================ Effect ================================\n\n function internalRegisterSize(width) {\n registerSize(itemKey, width);\n }\n\n React.useEffect(function () {\n return function () {\n internalRegisterSize(null);\n };\n }, []); // ================================ Render ================================\n\n var childNode = renderItem && item !== UNDEFINED ? renderItem(item) : children;\n var overflowStyle;\n\n if (!invalidate) {\n overflowStyle = {\n opacity: mergedHidden ? 0 : 1,\n height: mergedHidden ? 0 : UNDEFINED,\n overflowY: mergedHidden ? 'hidden' : UNDEFINED,\n order: responsive ? order : UNDEFINED,\n pointerEvents: mergedHidden ? 'none' : UNDEFINED,\n position: mergedHidden ? 'absolute' : UNDEFINED\n };\n }\n\n var overflowProps = {};\n\n if (mergedHidden) {\n overflowProps['aria-hidden'] = true;\n }\n\n var itemNode = /*#__PURE__*/React.createElement(Component, _extends({\n className: classNames(!invalidate && prefixCls, className),\n style: _objectSpread(_objectSpread({}, overflowStyle), style)\n }, overflowProps, restProps, {\n ref: ref\n }), childNode);\n\n if (responsive) {\n itemNode = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize(_ref) {\n var offsetWidth = _ref.offsetWidth;\n internalRegisterSize(offsetWidth);\n },\n disabled: responsiveDisabled\n }, itemNode);\n }\n\n return itemNode;\n}\n\nvar Item = /*#__PURE__*/React.forwardRef(InternalItem);\nItem.displayName = 'Item';\nexport default Item;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useRef } from 'react';\nimport raf from \"rc-util/es/raf\";\nimport useState from \"rc-util/es/hooks/useState\";\n/**\n * State generate. Return a `setState` but it will flush all state with one render to save perf.\n * This is not a realization of `unstable_batchedUpdates`.\n */\n\nexport function useBatchFrameState() {\n var _useState = useState({}),\n _useState2 = _slicedToArray(_useState, 2),\n forceUpdate = _useState2[1];\n\n var statesRef = useRef([]);\n var walkingIndex = 0;\n var beforeFrameId = 0;\n\n function createState(defaultValue) {\n var myIndex = walkingIndex;\n walkingIndex += 1; // Fill value if not exist yet\n\n if (statesRef.current.length < myIndex + 1) {\n statesRef.current[myIndex] = defaultValue;\n } // Return filled as `setState`\n\n\n var value = statesRef.current[myIndex];\n\n function setValue(val) {\n statesRef.current[myIndex] = typeof val === 'function' ? val(statesRef.current[myIndex]) : val;\n raf.cancel(beforeFrameId); // Flush with batch\n\n beforeFrameId = raf(function () {\n forceUpdate({}, true);\n });\n }\n\n return [value, setValue];\n }\n\n return createState;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"component\"],\n _excluded2 = [\"className\"],\n _excluded3 = [\"className\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Item from './Item';\nimport { OverflowContext } from './Overflow';\n\nvar InternalRawItem = function InternalRawItem(props, ref) {\n var context = React.useContext(OverflowContext); // Render directly when context not provided\n\n if (!context) {\n var _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _restProps = _objectWithoutProperties(props, _excluded);\n\n return /*#__PURE__*/React.createElement(Component, _extends({}, _restProps, {\n ref: ref\n }));\n }\n\n var contextClassName = context.className,\n restContext = _objectWithoutProperties(context, _excluded2);\n\n var className = props.className,\n restProps = _objectWithoutProperties(props, _excluded3); // Do not pass context to sub item to avoid multiple measure\n\n\n return /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(Item, _extends({\n ref: ref,\n className: classNames(contextClassName, className)\n }, restContext, restProps)));\n};\n\nvar RawItem = /*#__PURE__*/React.forwardRef(InternalRawItem);\nRawItem.displayName = 'RawItem';\nexport default RawItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"data\", \"renderItem\", \"renderRawItem\", \"itemKey\", \"itemWidth\", \"ssr\", \"style\", \"className\", \"maxCount\", \"renderRest\", \"renderRawRest\", \"suffix\", \"component\", \"itemComponent\", \"onVisibleChange\"];\nimport * as React from 'react';\nimport { useState, useMemo, useCallback } from 'react';\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport Item from './Item';\nimport { useBatchFrameState } from './hooks/useBatchFrameState';\nimport RawItem from './RawItem';\nexport var OverflowContext = /*#__PURE__*/React.createContext(null);\nvar RESPONSIVE = 'responsive';\nvar INVALIDATE = 'invalidate';\n\nfunction defaultRenderRest(omittedItems) {\n return \"+ \".concat(omittedItems.length, \" ...\");\n}\n\nfunction Overflow(props, ref) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-overflow' : _props$prefixCls,\n _props$data = props.data,\n data = _props$data === void 0 ? [] : _props$data,\n renderItem = props.renderItem,\n renderRawItem = props.renderRawItem,\n itemKey = props.itemKey,\n _props$itemWidth = props.itemWidth,\n itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth,\n ssr = props.ssr,\n style = props.style,\n className = props.className,\n maxCount = props.maxCount,\n renderRest = props.renderRest,\n renderRawRest = props.renderRawRest,\n suffix = props.suffix,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n itemComponent = props.itemComponent,\n onVisibleChange = props.onVisibleChange,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var createUseState = useBatchFrameState();\n var fullySSR = ssr === 'full';\n\n var _createUseState = createUseState(null),\n _createUseState2 = _slicedToArray(_createUseState, 2),\n containerWidth = _createUseState2[0],\n setContainerWidth = _createUseState2[1];\n\n var mergedContainerWidth = containerWidth || 0;\n\n var _createUseState3 = createUseState(new Map()),\n _createUseState4 = _slicedToArray(_createUseState3, 2),\n itemWidths = _createUseState4[0],\n setItemWidths = _createUseState4[1];\n\n var _createUseState5 = createUseState(0),\n _createUseState6 = _slicedToArray(_createUseState5, 2),\n prevRestWidth = _createUseState6[0],\n setPrevRestWidth = _createUseState6[1];\n\n var _createUseState7 = createUseState(0),\n _createUseState8 = _slicedToArray(_createUseState7, 2),\n restWidth = _createUseState8[0],\n setRestWidth = _createUseState8[1];\n\n var _createUseState9 = createUseState(0),\n _createUseState10 = _slicedToArray(_createUseState9, 2),\n suffixWidth = _createUseState10[0],\n setSuffixWidth = _createUseState10[1];\n\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n suffixFixedStart = _useState2[0],\n setSuffixFixedStart = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n displayCount = _useState4[0],\n setDisplayCount = _useState4[1];\n\n var mergedDisplayCount = React.useMemo(function () {\n if (displayCount === null && fullySSR) {\n return Number.MAX_SAFE_INTEGER;\n }\n\n return displayCount || 0;\n }, [displayCount, containerWidth]);\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n restReady = _useState6[0],\n setRestReady = _useState6[1];\n\n var itemPrefixCls = \"\".concat(prefixCls, \"-item\"); // Always use the max width to avoid blink\n\n var mergedRestWidth = Math.max(prevRestWidth, restWidth); // ================================= Data =================================\n\n var isResponsive = maxCount === RESPONSIVE;\n var shouldResponsive = data.length && isResponsive;\n var invalidate = maxCount === INVALIDATE;\n /**\n * When is `responsive`, we will always render rest node to get the real width of it for calculation\n */\n\n var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount;\n var mergedData = useMemo(function () {\n var items = data;\n\n if (shouldResponsive) {\n if (containerWidth === null && fullySSR) {\n items = data;\n } else {\n items = data.slice(0, Math.min(data.length, mergedContainerWidth / itemWidth));\n }\n } else if (typeof maxCount === 'number') {\n items = data.slice(0, maxCount);\n }\n\n return items;\n }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]);\n var omittedItems = useMemo(function () {\n if (shouldResponsive) {\n return data.slice(mergedDisplayCount + 1);\n }\n\n return data.slice(mergedData.length);\n }, [data, mergedData, shouldResponsive, mergedDisplayCount]); // ================================= Item =================================\n\n var getKey = useCallback(function (item, index) {\n var _ref;\n\n if (typeof itemKey === 'function') {\n return itemKey(item);\n }\n\n return (_ref = itemKey && (item === null || item === void 0 ? void 0 : item[itemKey])) !== null && _ref !== void 0 ? _ref : index;\n }, [itemKey]);\n var mergedRenderItem = useCallback(renderItem || function (item) {\n return item;\n }, [renderItem]);\n\n function updateDisplayCount(count, suffixFixedStartVal, notReady) {\n // React 18 will sync render even when the value is same in some case.\n // We take `mergedData` as deps which may cause dead loop if it's dynamic generate.\n // ref: https://github.com/ant-design/ant-design/issues/36559\n if (displayCount === count && (suffixFixedStartVal === undefined || suffixFixedStartVal === suffixFixedStart)) {\n return;\n }\n\n setDisplayCount(count);\n\n if (!notReady) {\n setRestReady(count < data.length - 1);\n onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(count);\n }\n\n if (suffixFixedStartVal !== undefined) {\n setSuffixFixedStart(suffixFixedStartVal);\n }\n } // ================================= Size =================================\n\n\n function onOverflowResize(_, element) {\n setContainerWidth(element.clientWidth);\n }\n\n function registerSize(key, width) {\n setItemWidths(function (origin) {\n var clone = new Map(origin);\n\n if (width === null) {\n clone.delete(key);\n } else {\n clone.set(key, width);\n }\n\n return clone;\n });\n }\n\n function registerOverflowSize(_, width) {\n setRestWidth(width);\n setPrevRestWidth(restWidth);\n }\n\n function registerSuffixSize(_, width) {\n setSuffixWidth(width);\n } // ================================ Effect ================================\n\n\n function getItemWidth(index) {\n return itemWidths.get(getKey(mergedData[index], index));\n }\n\n useLayoutEffect(function () {\n if (mergedContainerWidth && mergedRestWidth && mergedData) {\n var totalWidth = suffixWidth;\n var len = mergedData.length;\n var lastIndex = len - 1; // When data count change to 0, reset this since not loop will reach\n\n if (!len) {\n updateDisplayCount(0, null);\n return;\n }\n\n for (var i = 0; i < len; i += 1) {\n var currentItemWidth = getItemWidth(i); // Fully will always render\n\n if (fullySSR) {\n currentItemWidth = currentItemWidth || 0;\n } // Break since data not ready\n\n\n if (currentItemWidth === undefined) {\n updateDisplayCount(i - 1, undefined, true);\n break;\n } // Find best match\n\n\n totalWidth += currentItemWidth;\n\n if ( // Only one means `totalWidth` is the final width\n lastIndex === 0 && totalWidth <= mergedContainerWidth || // Last two width will be the final width\n i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth) {\n // Additional check if match the end\n updateDisplayCount(lastIndex, null);\n break;\n } else if (totalWidth + mergedRestWidth > mergedContainerWidth) {\n // Can not hold all the content to show rest\n updateDisplayCount(i - 1, totalWidth - currentItemWidth - suffixWidth + restWidth);\n break;\n }\n }\n\n if (suffix && getItemWidth(0) + suffixWidth > mergedContainerWidth) {\n setSuffixFixedStart(null);\n }\n }\n }, [mergedContainerWidth, itemWidths, restWidth, suffixWidth, getKey, mergedData]); // ================================ Render ================================\n\n var displayRest = restReady && !!omittedItems.length;\n var suffixStyle = {};\n\n if (suffixFixedStart !== null && shouldResponsive) {\n suffixStyle = {\n position: 'absolute',\n left: suffixFixedStart,\n top: 0\n };\n }\n\n var itemSharedProps = {\n prefixCls: itemPrefixCls,\n responsive: shouldResponsive,\n component: itemComponent,\n invalidate: invalidate\n }; // >>>>> Choice render fun by `renderRawItem`\n\n var internalRenderItemNode = renderRawItem ? function (item, index) {\n var key = getKey(item, index);\n return /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n key: key,\n value: _objectSpread(_objectSpread({}, itemSharedProps), {}, {\n order: index,\n item: item,\n itemKey: key,\n registerSize: registerSize,\n display: index <= mergedDisplayCount\n })\n }, renderRawItem(item, index));\n } : function (item, index) {\n var key = getKey(item, index);\n return /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, {\n order: index,\n key: key,\n item: item,\n renderItem: mergedRenderItem,\n itemKey: key,\n registerSize: registerSize,\n display: index <= mergedDisplayCount\n }));\n }; // >>>>> Rest node\n\n var restNode;\n var restContextProps = {\n order: displayRest ? mergedDisplayCount : Number.MAX_SAFE_INTEGER,\n className: \"\".concat(itemPrefixCls, \"-rest\"),\n registerSize: registerOverflowSize,\n display: displayRest\n };\n\n if (!renderRawRest) {\n var mergedRenderRest = renderRest || defaultRenderRest;\n restNode = /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);\n } else if (renderRawRest) {\n restNode = /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n value: _objectSpread(_objectSpread({}, itemSharedProps), restContextProps)\n }, renderRawRest(omittedItems));\n }\n\n var overflowNode = /*#__PURE__*/React.createElement(Component, _extends({\n className: classNames(!invalidate && prefixCls, className),\n style: style,\n ref: ref\n }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, {\n responsive: isResponsive,\n responsiveDisabled: !shouldResponsive,\n order: mergedDisplayCount,\n className: \"\".concat(itemPrefixCls, \"-suffix\"),\n registerSize: registerSuffixSize,\n display: true,\n style: suffixStyle\n }), suffix));\n\n if (isResponsive) {\n overflowNode = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onOverflowResize,\n disabled: !shouldResponsive\n }, overflowNode);\n }\n\n return overflowNode;\n}\n\nvar ForwardOverflow = /*#__PURE__*/React.forwardRef(Overflow);\nForwardOverflow.displayName = 'Overflow';\nForwardOverflow.Item = RawItem;\nForwardOverflow.RESPONSIVE = RESPONSIVE;\nForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type\n\nexport default ForwardOverflow;","import Overflow from './Overflow';\nexport default Overflow;","import ResizeObserver from 'resize-observer-polyfill';\n// =============================== Const ===============================\nvar elementListeners = new Map();\nfunction onResize(entities) {\n entities.forEach(function (entity) {\n var _elementListeners$get;\n var target = entity.target;\n (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 ? void 0 : _elementListeners$get.forEach(function (listener) {\n return listener(target);\n });\n });\n}\n// Note: ResizeObserver polyfill not support option to measure border-box resize\nvar resizeObserver = new ResizeObserver(onResize);\n// Dev env only\nexport var _el = process.env.NODE_ENV !== 'production' ? elementListeners : null; // eslint-disable-line\nexport var _rs = process.env.NODE_ENV !== 'production' ? onResize : null; // eslint-disable-line\n// ============================== Observe ==============================\nexport function observe(element, callback) {\n if (!elementListeners.has(element)) {\n elementListeners.set(element, new Set());\n resizeObserver.observe(element);\n }\n elementListeners.get(element).add(callback);\n}\nexport function unobserve(element, callback) {\n if (elementListeners.has(element)) {\n elementListeners.get(element).delete(callback);\n if (!elementListeners.get(element).size) {\n resizeObserver.unobserve(element);\n elementListeners.delete(element);\n }\n }\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n/**\n * Fallback to findDOMNode if origin ref do not provide any dom element\n */\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n var _super = _createSuper(DomWrapper);\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n return _super.apply(this, arguments);\n }\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n return DomWrapper;\n}(React.Component);\nexport { DomWrapper as default };","import * as React from 'react';\nexport var CollectionContext = /*#__PURE__*/React.createContext(null);\n/**\n * Collect all the resize event from children ResizeObserver\n */\nexport function Collection(_ref) {\n var children = _ref.children,\n onBatchResize = _ref.onBatchResize;\n var resizeIdRef = React.useRef(0);\n var resizeInfosRef = React.useRef([]);\n var onCollectionResize = React.useContext(CollectionContext);\n var onResize = React.useCallback(function (size, element, data) {\n resizeIdRef.current += 1;\n var currentId = resizeIdRef.current;\n resizeInfosRef.current.push({\n size: size,\n element: element,\n data: data\n });\n Promise.resolve().then(function () {\n if (currentId === resizeIdRef.current) {\n onBatchResize === null || onBatchResize === void 0 ? void 0 : onBatchResize(resizeInfosRef.current);\n resizeInfosRef.current = [];\n }\n });\n // Continue bubbling if parent exist\n onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(size, element, data);\n }, [onBatchResize, onCollectionResize]);\n return /*#__PURE__*/React.createElement(CollectionContext.Provider, {\n value: onResize\n }, children);\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { observe, unobserve } from '../utils/observerUtil';\nimport DomWrapper from './DomWrapper';\nimport { CollectionContext } from '../Collection';\nexport default function SingleObserver(props) {\n var children = props.children,\n disabled = props.disabled;\n var elementRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n var onCollectionResize = React.useContext(CollectionContext);\n // =========================== Children ===========================\n var isRenderProps = typeof children === 'function';\n var mergedChildren = isRenderProps ? children(elementRef) : children;\n // ============================= Size =============================\n var sizeRef = React.useRef({\n width: -1,\n height: -1,\n offsetWidth: -1,\n offsetHeight: -1\n });\n // ============================= Ref ==============================\n var canRef = !isRenderProps && /*#__PURE__*/React.isValidElement(mergedChildren) && supportRef(mergedChildren);\n var originRef = canRef ? mergedChildren.ref : null;\n var mergedRef = React.useMemo(function () {\n return composeRef(originRef, elementRef);\n }, [originRef, elementRef]);\n // =========================== Observe ============================\n var propsRef = React.useRef(props);\n propsRef.current = props;\n // Handler\n var onInternalResize = React.useCallback(function (target) {\n var _propsRef$current = propsRef.current,\n onResize = _propsRef$current.onResize,\n data = _propsRef$current.data;\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n var offsetWidth = target.offsetWidth,\n offsetHeight = target.offsetHeight;\n /**\n * Resize observer trigger when content size changed.\n * In most case we just care about element size,\n * let's use `boundary` instead of `contentRect` here to avoid shaking.\n */\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {\n var size = {\n width: fixedWidth,\n height: fixedHeight,\n offsetWidth: offsetWidth,\n offsetHeight: offsetHeight\n };\n sizeRef.current = size;\n // IE is strange, right?\n var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;\n var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;\n var sizeInfo = _objectSpread(_objectSpread({}, size), {}, {\n offsetWidth: mergedOffsetWidth,\n offsetHeight: mergedOffsetHeight\n });\n // Let collection know what happened\n onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data);\n if (onResize) {\n // defer the callback but not defer to next frame\n Promise.resolve().then(function () {\n onResize(sizeInfo, target);\n });\n }\n }\n }, []);\n // Dynamic observe\n React.useEffect(function () {\n var currentElement = findDOMNode(elementRef.current) || findDOMNode(wrapperRef.current);\n if (currentElement && !disabled) {\n observe(currentElement, onInternalResize);\n }\n return function () {\n return unobserve(currentElement, onInternalResize);\n };\n }, [elementRef.current, disabled]);\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(DomWrapper, {\n ref: wrapperRef\n }, canRef ? /*#__PURE__*/React.cloneElement(mergedChildren, {\n ref: mergedRef\n }) : mergedChildren);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { warning } from \"rc-util/es/warning\";\nimport SingleObserver from './SingleObserver';\nimport { Collection } from './Collection';\nvar INTERNAL_PREFIX_KEY = 'rc-observer-key';\nfunction ResizeObserver(props) {\n var children = props.children;\n var childNodes = typeof children === 'function' ? [children] : toArray(children);\n if (process.env.NODE_ENV !== 'production') {\n if (childNodes.length > 1) {\n warning(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');\n } else if (childNodes.length === 0) {\n warning(false, '`children` of ResizeObserver is empty. Nothing is in observe.');\n }\n }\n return childNodes.map(function (child, index) {\n var key = (child === null || child === void 0 ? void 0 : child.key) || \"\".concat(INTERNAL_PREFIX_KEY, \"-\").concat(index);\n return /*#__PURE__*/React.createElement(SingleObserver, _extends({}, props, {\n key: key\n }), child);\n });\n}\nResizeObserver.Collection = Collection;\nexport default ResizeObserver;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport isVisible from './isVisible';\nfunction focusable(node) {\n var includePositive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (isVisible(node)) {\n var nodeName = node.nodeName.toLowerCase();\n var isFocusableElement =\n // Focusable element\n ['input', 'select', 'textarea', 'button'].includes(nodeName) ||\n // Editable element\n node.isContentEditable ||\n // Anchor with href element\n nodeName === 'a' && !!node.getAttribute('href');\n // Get tabIndex\n var tabIndexAttr = node.getAttribute('tabindex');\n var tabIndexNum = Number(tabIndexAttr);\n // Parse as number if validate\n var tabIndex = null;\n if (tabIndexAttr && !Number.isNaN(tabIndexNum)) {\n tabIndex = tabIndexNum;\n } else if (isFocusableElement && tabIndex === null) {\n tabIndex = 0;\n }\n // Block focusable if disabled\n if (isFocusableElement && node.disabled) {\n tabIndex = null;\n }\n return tabIndex !== null && (tabIndex >= 0 || includePositive && tabIndex < 0);\n }\n return false;\n}\nexport function getFocusNodeList(node) {\n var includePositive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var res = _toConsumableArray(node.querySelectorAll('*')).filter(function (child) {\n return focusable(child, includePositive);\n });\n if (focusable(node, includePositive)) {\n res.unshift(node);\n }\n return res;\n}\nvar lastFocusElement = null;\n/** @deprecated Do not use since this may failed when used in async */\nexport function saveLastFocusNode() {\n lastFocusElement = document.activeElement;\n}\n/** @deprecated Do not use since this may failed when used in async */\nexport function clearLastFocusNode() {\n lastFocusElement = null;\n}\n/** @deprecated Do not use since this may failed when used in async */\nexport function backLastFocusNode() {\n if (lastFocusElement) {\n try {\n // 元素可能已经被移动了\n lastFocusElement.focus();\n /* eslint-disable no-empty */\n } catch (e) {\n // empty\n }\n /* eslint-enable no-empty */\n }\n}\n\nexport function limitTabRange(node, e) {\n if (e.keyCode === 9) {\n var tabNodeList = getFocusNodeList(node);\n var lastTabNode = tabNodeList[e.shiftKey ? 0 : tabNodeList.length - 1];\n var leavingTab = lastTabNode === document.activeElement || node === document.activeElement;\n if (leavingTab) {\n var target = tabNodeList[e.shiftKey ? tabNodeList.length - 1 : 0];\n target.focus();\n e.preventDefault();\n }\n }\n}","/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n /**\n * TAB\n */\n TAB: 9,\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12,\n /**\n * ENTER\n */\n ENTER: 13,\n /**\n * SHIFT\n */\n SHIFT: 16,\n /**\n * CTRL\n */\n CTRL: 17,\n /**\n * ALT\n */\n ALT: 18,\n /**\n * PAUSE\n */\n PAUSE: 19,\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n /**\n * ESC\n */\n ESC: 27,\n /**\n * SPACE\n */\n SPACE: 32,\n /**\n * PAGE_UP\n */\n PAGE_UP: 33,\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34,\n /**\n * END\n */\n END: 35,\n /**\n * HOME\n */\n HOME: 36,\n /**\n * LEFT\n */\n LEFT: 37,\n /**\n * UP\n */\n UP: 38,\n /**\n * RIGHT\n */\n RIGHT: 39,\n /**\n * DOWN\n */\n DOWN: 40,\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n /**\n * INSERT\n */\n INSERT: 45,\n /**\n * DELETE\n */\n DELETE: 46,\n /**\n * ZERO\n */\n ZERO: 48,\n /**\n * ONE\n */\n ONE: 49,\n /**\n * TWO\n */\n TWO: 50,\n /**\n * THREE\n */\n THREE: 51,\n /**\n * FOUR\n */\n FOUR: 52,\n /**\n * FIVE\n */\n FIVE: 53,\n /**\n * SIX\n */\n SIX: 54,\n /**\n * SEVEN\n */\n SEVEN: 55,\n /**\n * EIGHT\n */\n EIGHT: 56,\n /**\n * NINE\n */\n NINE: 57,\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63,\n /**\n * A\n */\n A: 65,\n /**\n * B\n */\n B: 66,\n /**\n * C\n */\n C: 67,\n /**\n * D\n */\n D: 68,\n /**\n * E\n */\n E: 69,\n /**\n * F\n */\n F: 70,\n /**\n * G\n */\n G: 71,\n /**\n * H\n */\n H: 72,\n /**\n * I\n */\n I: 73,\n /**\n * J\n */\n J: 74,\n /**\n * K\n */\n K: 75,\n /**\n * L\n */\n L: 76,\n /**\n * M\n */\n M: 77,\n /**\n * N\n */\n N: 78,\n /**\n * O\n */\n O: 79,\n /**\n * P\n */\n P: 80,\n /**\n * Q\n */\n Q: 81,\n /**\n * R\n */\n R: 82,\n /**\n * S\n */\n S: 83,\n /**\n * T\n */\n T: 84,\n /**\n * U\n */\n U: 85,\n /**\n * V\n */\n V: 86,\n /**\n * W\n */\n W: 87,\n /**\n * X\n */\n X: 88,\n /**\n * Y\n */\n Y: 89,\n /**\n * Z\n */\n Z: 90,\n /**\n * META\n */\n META: 91,\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n /**\n * F1\n */\n F1: 112,\n /**\n * F2\n */\n F2: 113,\n /**\n * F3\n */\n F3: 114,\n /**\n * F4\n */\n F4: 115,\n /**\n * F5\n */\n F5: 116,\n /**\n * F6\n */\n F6: 117,\n /**\n * F7\n */\n F7: 118,\n /**\n * F8\n */\n F8: 119,\n /**\n * F9\n */\n F9: 120,\n /**\n * F10\n */\n F10: 121,\n /**\n * F11\n */\n F11: 122,\n /**\n * F12\n */\n F12: 123,\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n /**\n * SEMICOLON\n */\n SEMICOLON: 186,\n /**\n * DASH\n */\n DASH: 189,\n /**\n * EQUALS\n */\n EQUALS: 187,\n /**\n * COMMA\n */\n COMMA: 188,\n /**\n * PERIOD\n */\n PERIOD: 190,\n /**\n * SLASH\n */\n SLASH: 191,\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192,\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222,\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219,\n /**\n * BACKSLASH\n */\n BACKSLASH: 220,\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221,\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224,\n /**\n * WIN_IME\n */\n WIN_IME: 229,\n // ======================== Function ========================\n /**\n * whether text and modified key is entered at the same time.\n */\n isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n if (e.altKey && !e.ctrlKey || e.metaKey ||\n // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n }\n // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n default:\n return true;\n }\n },\n /**\n * whether character is entered.\n */\n isCharacterKey: function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n }\n // Safari sends zero key code for non-latin characters.\n if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n default:\n return false;\n }\n }\n};\nexport default KeyCode;","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}"],"names":["asn_EllipsisOutlined","EllipsisOutlined_EllipsisOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_EllipsisOutlined","forwardRef","asn_LeftOutlined","LeftOutlined_LeftOutlined","icons_LeftOutlined","asn_RightOutlined","RightOutlined_RightOutlined","icons_RightOutlined","__webpack_exports__","_React$useState","react__WEBPACK_IMPORTED_MODULE_0__","useState","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__","flexible","setFlexible","useEffect","_styleChecker__WEBPACK_IMPORTED_MODULE_2__","fk","flexGapSupported","canUseDocElement","rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_0__","window","document","documentElement","detectFlexGapSupported","undefined","flex","style","display","flexDirection","rowGap","appendChild","body","scrollHeight","removeChild","i","asn_BarsOutlined","BarsOutlined_BarsOutlined","icons_BarsOutlined","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","createContext","generateId","prefix","arguments","concat","layout_Sider","_a","_classNames","prefixCls","divProps","rawWidth","value","siderWidth","zeroWidthTrigger","defaultTrigger","triggerDom","divStyle","siderCls","customizePrefixCls","className","trigger","children","_a$defaultCollapsed","defaultCollapsed","_a$theme","theme","_a$style","_a$collapsible","collapsible","_a$reverseArrow","reverseArrow","_a$width","width","_a$collapsedWidth","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","siderHook","_useContext","useContext","layout","Gs","_useState","collapsed","_useState2","slicedToArray","setCollapsed","_useState3","_useState4","below","setBelow","handleSetCollapsed","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","matchMedia","_window","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","getPrefixCls","_useContext2","context","E_","contextValue","useMemo","siderCollapsed","Provider","omit","_util_isNumeric","isNaN","parseFloat","isFinite","String","onClick","classnames_default","iconObj","expanded","RightOutlined","LeftOutlined","esm_extends","maxWidth","minWidth","defineProperty","LayoutContext","react__WEBPACK_IMPORTED_MODULE_1__","generator","_ref","suffixCls","tagName","BasicComponent","_React$useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","Basic","others","classString","classnames__WEBPACK_IMPORTED_MODULE_0___default","BasicLayout","direction","_React$useContext2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__","siders","setSiders","hasSider","Tag","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__","id","prev","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__","filter","currentId","Layout","Header","Footer","Content","OverrideContext","OverrideProvider","restProps","override","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__","mode","selectable","menu_MenuDivider","dashed","es","iz","MenuContext","firstLevel","inlineCollapsed","MenuItem_rest","MenuItem","_React$Component","inherits","_super","createSuper","_this","classCallCheck","apply","renderItem","_this$context","disableMenuItemTitleTooltip","_this$props","_b","title","danger","rest","tooltipTitle","tooltipProps","open","childrenLength","toArray","returnNode","ck","reactNode","Tm","l$","renderItemChildren","tooltip","placement","overlayClassName","createClass","key","_this$context2","_this$props2","wrapNode","charAt","Sider","D","Consumer","Component","contextType","menu_SubMenu","titleNode","popupClassName","antdMenuTheme","parentPath","Xl","titleIsSpan","Fragment","menu_MenuContext","Wd","useItems_rest","menu_rest","InternalMenu","mergedExpandIcon","getPopupContainer","rootPrefixCls","_props$theme","expandIcon","_internalDisableMenuItemTitleTooltip","items","passedProps","mergedChildren","convertItemsToNodes","list","map","opt","index","esm_typeof","label","mergedKey","BW","validator","onItemClick","useEvent","mergedMode","mergedSelectable","mergedInlineCollapsed","defaultMotions","horizontal","motionName","inline","motion","ZP","other","menuClassName","overflowedIndicator","EllipsisOutlined","overflowedIndicatorPopupClassName","Menu","focus","options","menu","_this2","node","Divider","Item","SubMenu","ItemGroup","marginDirection","split","wrap","SpaceContext","horizontalSize","verticalSize","latestIndex","supportFlexGap","marginBottom","paddingBottom","spaceSize","small","middle","large","CompoundedSpace","space","directionConfig","_props$size","size","align","_props$direction","_props$wrap","otherProps","useFlexGapSupport","_React$useMemo","Array","isArray","item","_React$useMemo2","childNodes","keepEmpty","mergedAlign","cn","itemClassName","nodes","child","spaceContext","gapStyle","flexWrap","columnGap","Compact","_excluded","InheritableContextProvider","locked","objectWithoutProperties","inheritableContext","clone","keys","forEach","target","next","shallowequal_default","useActive","eventKey","disabled","onMouseEnter","onMouseLeave","activeKey","onActive","onInactive","ret","active","domEvent","warnUtil_excluded","warnItemProp","restInfo","get","warning","Icon","iconNode","useDirectionStyle","level","rtl","inlineIndent","paddingRight","len","paddingLeft","PathRegisterContext","useMeasure","PathTrackerContext","useFullPath","parentKeyPath","toConsumableArray","PathUserContext","IdContext","getMenuId","uuid","useMenuId","PrivateContext","MenuItem_excluded","_excluded2","_excluded3","LegacyMenuItem","attribute","elementRef","InternalMenuItem","warnKey","itemIcon","role","onKeyDown","onFocus","domDataId","contextDisabled","overflowDisabled","contextItemIcon","selectedKeys","_internalRenderMenuItem","itemCls","legacyMenuItemRef","mergedDisabled","connectedKeys","getEventInfo","keyPath","reverse","_useActive","activeProps","selected","includes","directionStyle","optionRoleProps","renderNode","tabIndex","component","info","which","KeyCode","ENTER","isSelected","es_MenuItem","measure","connectedKeyPath","registerPath","unregisterPath","nodeUtil_excluded","parseChildren","isValidElement","_eventKey","_child$props","join","cloneProps","cloneElement","useMemoCallback","func","funRef","callback","useCallback","_funRef$current","_len","args","_key","SubMenuList_excluded","SubMenuList","autoAdjustOverflow","adjustX","adjustY","placements","topLeft","points","overflow","offset","bottomLeft","leftTop","rightTop","placementsRtl","getMotion","popupPlacementMap","vertical","PopupTrigger","visible","popup","popupOffset","onVisibleChange","subMenuOpenDelay","subMenuCloseDelay","builtinPlacements","triggerSubMenuAction","forceSubMenuRender","rootClassName","innerVisible","setInnerVisible","popupPlacement","targetMotion","mergedMotion","leavedClassName","removeOnLeave","motionAppear","visibleRef","raf","cancel","rc_trigger_es","stretch","popupVisible","popupAlign","action","mouseEnterDelay","mouseLeaveDelay","onPopupVisibleChange","forceRender","popupMotion","InlineSubMenuList","fixedMode","sameModeRef","destroy","setDestroy","mergedOpen","originOnVisibleChanged","onVisibleChanged","newVisible","rc_motion_es","_ref2","motionClassName","motionStyle","SubMenu_excluded","SubMenu_excluded2","InternalSubMenu","internalPopupClose","onTitleClick","onTitleMouseEnter","onTitleMouseLeave","openKeys","contextExpandIcon","onOpenChange","_internalRenderSubMenuItem","isSubPathKey","_React$useContext3","connectedPath","subMenuPrefixCls","popupRef","originOpen","childrenSelected","childrenActive","setChildrenActive","triggerChildrenActive","newActive","mergedActive","onMergedItemClick","popupId","isOpen","isSubMenu","triggerModeRef","triggerMode","listNode","childList","LEFT","RIGHT","UP","DOWN","ESC","HOME","END","ArrowKeys","getFocusableElements","container","elements","Dom_focus","tS","ele","has","getNextFocusElement","parentQueryContainer","focusMenuElement","sameLevelFocusableMenuElementList","count","focusIndex","findIndex","uniquePrefix","Math","random","toFixed","toString","slice","internalId","PATH_SPLIT","getPathStr","OVERFLOW_KEY","Menu_excluded","EMPTY_LIST","_useMergedState","_useMergedState2","setUUID","internalForceUpdate","key2pathRef","path2keyRef","_React$useState3","_React$useState4","overflowKeys","setOverflowKeys","updateRef","destroyRef","forceUpdate","refreshOverflowKeys","getKeyPath","getSubPathKeys","triggerAccessibilityOpen","rafRef","activeRef","cleanRaf","_childList$","_ref$prefixCls","_ref$tabIndex","_ref$mode","disabledOverflow","_ref$subMenuOpenDelay","_ref$subMenuCloseDela","defaultOpenKeys","defaultActiveFirst","_ref$selectable","_ref$multiple","multiple","defaultSelectedKeys","onSelect","onDeselect","_ref$inlineIndent","_ref$triggerSubMenuAc","_ref$overflowedIndica","openAnimation","openTransitionName","MenuItemGroup","mounted","setMounted","containerRef","useMergedState","newId","isRtl","lastVisibleIndex","setLastVisibleIndex","allVisible","postState","mergedOpenKeys","setMergedOpenKeys","triggerOpenKeys","_React$useState5","_React$useState6","inlineCacheOpenKeys","setInlineCacheOpenKeys","isInlineMode","mountRef","_useKeyRecords","Map","set","Promise","resolve","then","delete","includeOverflow","keyPathStr","unshift","pathKeys","some","pathKey","pathKeyList","Set","startsWith","add","getKeys","push","registerPathContext","pathUserContext","_useMergedState3","_useMergedState4","mergedActiveKey","setMergedActiveKey","useImperativeHandle","_childList$find","_containerRef$current","_containerRef$current2","_containerRef$current3","shouldFocusKey","find","querySelector","_useMergedState5","_useMergedState6","mergedSelectKeys","setMergedSelectKeys","triggerSelection","newSelectKeys","targetKey","exist","selectInfo","onInternalClick","onInternalOpenChange","newOpenKeys","k","subPathKeys","getInternalPopupContainer","onInternalKeyDown","nextOpen","refreshElements","key2element","element2key","element","getFocusElement","activeElement","parentElement","focusMenuKey","offsetObj","getOffset","isRootLevel","_inline","_horizontal","_vertical","_offsets","parent","inlineTrigger","offsets","inlineSub","horizontalSub","verticalSub","sibling","preventDefault","tryFocus","menuElement","focusTargetElement","link","getAttribute","triggerActiveKey","focusableElements","findContainerUL","controlId","getElementById","parentKey","parentMenuElement","originOnKeyDown","privateContext","wrappedChildList","itemComponent","dir","data","renderRawItem","renderRawRest","omitItems","originOmitItems","maxCount","INVALIDATE","RESPONSIVE","ssr","newLastIndex","context_PrivateContext","MenuItemGroup_excluded","MenuItemGroup_excluded2","InternalMenuItemGroup","groupPrefixCls","stopPropagation","ExportMenu","rc_menu_es","UNDEFINED","overflowStyle","invalidate","responsive","responsiveDisabled","registerSize","itemKey","order","_props$component","mergedHidden","childNode","opacity","height","overflowY","pointerEvents","position","overflowProps","itemNode","onResize","offsetWidth","RawItem_excluded","RawItem","OverflowContext","_restProps","contextClassName","restContext","Overflow_excluded","defaultRenderRest","omittedItems","ForwardOverflow","statesRef","walkingIndex","beforeFrameId","restNode","_props$prefixCls","_props$data","_props$itemWidth","itemWidth","renderRest","suffix","createUseState","defaultValue","myIndex","val","fullySSR","_createUseState","_createUseState2","containerWidth","setContainerWidth","mergedContainerWidth","_createUseState3","_createUseState4","itemWidths","setItemWidths","_createUseState5","_createUseState6","prevRestWidth","setPrevRestWidth","_createUseState7","_createUseState8","restWidth","setRestWidth","_createUseState9","_createUseState10","suffixWidth","setSuffixWidth","suffixFixedStart","setSuffixFixedStart","displayCount","setDisplayCount","mergedDisplayCount","Number","MAX_SAFE_INTEGER","_useState5","_useState6","restReady","setRestReady","itemPrefixCls","mergedRestWidth","max","isResponsive","shouldResponsive","showRest","mergedData","min","getKey","mergedRenderItem","updateDisplayCount","suffixFixedStartVal","notReady","origin","getItemWidth","useLayoutEffect","totalWidth","lastIndex","currentItemWidth","displayRest","suffixStyle","left","top","itemSharedProps","internalRenderItemNode","restContextProps","_","mergedRenderRest","overflowNode","clientWidth","rc_overflow_es","elementListeners","resizeObserver","ResizeObserver_es","entities","entity","_elementListeners$get","listener","DomWrapper","CollectionContext","SingleObserver","wrapperRef","onCollectionResize","isRenderProps","sizeRef","offsetHeight","canRef","Yr","originRef","mergedRef","sQ","propsRef","onInternalResize","_propsRef$current","_target$getBoundingCl","getBoundingClientRect","fixedWidth","floor","fixedHeight","sizeInfo","round","currentElement","findDOMNode","observe","unobserve","ResizeObserver","Collection","onBatchResize","resizeIdRef","resizeInfosRef","focusable","includePositive","_isVisible__WEBPACK_IMPORTED_MODULE_0__","nodeName","toLowerCase","isFocusableElement","isContentEditable","tabIndexAttr","tabIndexNum","getFocusNodeList","res","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__","querySelectorAll","MAC_ENTER","BACKSPACE","TAB","NUM_CENTER","SHIFT","CTRL","ALT","PAUSE","CAPS_LOCK","SPACE","PAGE_UP","PAGE_DOWN","PRINT_SCREEN","INSERT","DELETE","ZERO","ONE","TWO","THREE","FOUR","FIVE","SIX","SEVEN","EIGHT","NINE","QUESTION_MARK","A","B","C","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","META","WIN_KEY_RIGHT","CONTEXT_MENU","NUM_ZERO","NUM_ONE","NUM_TWO","NUM_THREE","NUM_FOUR","NUM_FIVE","NUM_SIX","NUM_SEVEN","NUM_EIGHT","NUM_NINE","NUM_MULTIPLY","NUM_PLUS","NUM_MINUS","NUM_PERIOD","NUM_DIVISION","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NUMLOCK","SEMICOLON","DASH","EQUALS","COMMA","PERIOD","SLASH","APOSTROPHE","SINGLE_QUOTE","OPEN_SQUARE_BRACKET","BACKSLASH","CLOSE_SQUARE_BRACKET","WIN_KEY","MAC_FF_META","WIN_IME","isTextModifyingKeyEvent","keyCode","altKey","ctrlKey","metaKey","isCharacterKey","navigator","userAgent","module","exports","objA","objB","compare","compareContext","keysA","keysB","bHasOwnProperty","bind","idx","valueA","valueB","_iterableToArray","iter","Symbol","iterator","from","_toConsumableArray","arr","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","_nonIterableSpread"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-3489d562ac3d7352.js b/static/web/_next/static/chunks/4977-3489d562ac3d7352.js deleted file mode 100644 index 6ec2e97cd..000000000 --- a/static/web/_next/static/chunks/4977-3489d562ac3d7352.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContainer:function(){return ep}});var s,n,r,o,i,l=a(85893),c=a(26246),d=a(67294),h=a(5152),u=a.n(h),m=a(91951),p=a(59760),g=a.n(p),x=a(94184),_=a.n(x),C=a(94199),f=a(4480),j=a(27722),v=a(50085),y=a.n(v),b=a(77278);function N(e){let t=new Date(e);if(Number.isNaN(t))return"";let a=(0,b.Xb)(e);if(a>=1){let s=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(s," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var M=a(48976),w=a.n(M);let T=e=>{let{badge:t,userColor:a}=e,s="var(--theme-user-colors-".concat(a,")");return(0,l.jsx)("span",{style:{color:s,borderColor:s},className:w().badge,children:t})};var S=a(77466);let E=u()(()=>Promise.all([a.e(2074),a.e(8864)]).then(a.t.bind(a,38864,23)),{loadableGenerated:{webpack:()=>[38864]},ssr:!1}),k=u()(()=>Promise.all([a.e(6386),a.e(3698),a.e(3013),a.e(4398),a.e(8091),a.e(5827),a.e(4860)]).then(a.bind(a,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]},ssr:!1}),O=u()(()=>Promise.resolve().then(a.bind(a,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]},ssr:!1}),D=e=>{let{children:t,user:a}=e,{displayName:s,createdAt:n}=a,r="".concat(s," first joined ").concat(N(n));return(0,l.jsx)(C.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},A=e=>{let{message:t,highlightString:a,showModeratorMenu:s,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:p,displayName:g,displayColor:x}=u,v=(0,f.sJ)(S.FI),b="var(--theme-color-users-".concat(x,")"),M="Sent ".concat(N(m)),[w,A]=(0,d.useState)(h),B=[];return o&&B.push((0,l.jsx)(T,{badge:"mod",userColor:x},"mod")),i&&B.push((0,l.jsx)(T,{badge:(0,l.jsx)(E,{title:"authenticated"}),userColor:x},"auth")),(0,d.useEffect)(()=>{A((0,j.p1)(h))},[t]),(0,l.jsx)("div",{className:_()(y().messagePadding,r&&y().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:_()(y().root,{[y().ownMessage]:n}),style:{borderColor:b},children:[!r&&(0,l.jsx)(D,{user:u,children:(0,l.jsxs)("div",{className:y().user,style:{color:b},children:[(0,l.jsx)("span",{className:y().userName,children:g}),(0,l.jsx)("span",{children:B})]})}),(0,l.jsx)(C.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(O,{search:a,children:(0,l.jsx)("div",{className:y().message,dangerouslySetInnerHTML:{__html:w}})})}),s&&(0,l.jsx)("div",{className:y().modMenuWrapper,children:(0,l.jsx)(k,{messageID:c,accessToken:v,userID:p,userDisplayName:g})}),(0,l.jsx)("div",{className:y().background,style:{color:b}})]})})};var B=a(55241),P=a(77493),U=a(96391),F=a(26912),G=a.n(F);let L=u()(()=>Promise.all([a.e(7741),a.e(1559)]).then(a.bind(a,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]},ssr:!1}),R=u()(()=>Promise.all([a.e(2074),a.e(3366)]).then(a.t.bind(a,73366,23)),{loadableGenerated:{webpack:()=>[73366]},ssr:!1}),I=u()(()=>Promise.all([a.e(2074),a.e(2348)]).then(a.t.bind(a,92348,23)),{loadableGenerated:{webpack:()=>[92348]},ssr:!1}),H=e=>{let{attributes:t,element:a,children:s}=e,n=(0,U.vt)(),r=(0,U.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:a.alt,src:a.src,title:a.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),s]})},W=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},V=e=>{let t;if(P.xv.isText(e)){let a=e.text;return a}if(0===e.children.length)t=[{text:""}];else{var s;t=null===(s=e.children)||void 0===s?void 0:s.map(e=>V(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},Y=e=>{if(P.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=Y(e)}),t},J=e=>{let{defaultText:t}=e,[a,s]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,f.sJ)(S.Gt),i=(0,d.useMemo)(()=>(0,U.BU)(W((0,P.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=V(i);o.send({type:m.C.CHAT,body:e}),P.YR.delete(i,{at:{anchor:P.ML.start(i,[]),focus:P.ML.end(i,[])}}),r(0)},h=(e,t,a)=>({type:"image",alt:e,src:t,name:a,children:[{text:""}]}),u=(e,t)=>{if(!e)return;let{selection:a}=i,s=h(t,e,t);if(P.YR.insertNodes(i,s,{select:!0}),a){var n;let[r,o]=P.ML.parent(i,null===(n=a.focus)||void 0===n?void 0:n.path);i.isVoid(r)||P.NB.string(r).length?P.YR.insertNodes(i,s,{at:P.y$.next(o),select:!0}):(P.YR.insertNodes(i,s,{at:o,select:!0}),P.ML.normalize(i,{force:!0}))}else P.YR.insertNodes(i,s,{select:!0})},p=e=>{U.F3.focus(i),P.YR.insertText(i,e)},g=(e,t)=>{U.F3.focus(i),u(t,e)},x=e=>{let t=Y(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},C=e=>{let t=e.clipboardData.getData("text/plain"),{length:a}=t;n+a>300&&e.preventDefault()},j=e=>"image"===e.element.type?(0,l.jsx)(H,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:G().root,children:(0,l.jsxs)("div",{className:_()(G().inputWrap,n>=300&&G().maxCharacters),children:[(0,l.jsxs)(U.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(U.CX,{className:"chat-text-input",onKeyDown:x,onPaste:C,renderElement:j,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(B.Z,{content:(0,l.jsx)(L,{onEmojiSelect:p,onCustomEmojiSelect:g}),trigger:"click",placement:"topRight",onOpenChange:e=>s(e),open:a})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:G().emojiButton,title:"Emoji picker button",onClick:()=>s(!a),children:(0,l.jsx)(I,{})}),(0,l.jsx)("button",{type:"button",className:G().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(R,{})})]})]})})};var X=a(93107),z=a.n(X);function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:z().chatModerationNotification,children:[(0,l.jsx)(q,{className:z().icon}),"You are now a moderator."]});var $=a(47049),Q=a(23421),ee=a.n(Q);let et=e=>{let{message:{body:t,user:{displayName:a}},highlightString:s}=e;return(0,l.jsxs)("div",{className:_()([ee().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:ee().user,children:(0,l.jsx)("span",{className:ee().userName,children:a})}),(0,l.jsx)($.Highlight,{search:s,children:(0,l.jsx)("div",{className:ee().message,dangerouslySetInnerHTML:{__html:t}})})]})};var ea=a(91044),es=a.n(ea);let en=u()(()=>Promise.all([a.e(2074),a.e(8725)]).then(a.t.bind(a,8725,23)),{loadableGenerated:{webpack:()=>[8725]},ssr:!1}),er=e=>{let{isAuthorModerator:t,userColor:a,displayName:s}=e;return(0,l.jsxs)("div",{className:es().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(a,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:s}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(T,{badge:"mod",userColor:a})})]})," ","joined the chat."]})};var eo=a(71577);let ei=u()(()=>Promise.all([a.e(2074),a.e(437)]).then(a.t.bind(a,20437,23)),{loadableGenerated:{webpack:()=>[20437]},ssr:!1}),el=e=>{let{chatContainerRef:t,messages:a}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(eo.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(ei,{}),onClick:()=>t.current.scrollToIndex({index:a.length-1,behavior:"auto"}),children:"Go to last message"})})};var ec=a(65302),ed=a.n(ec);let eh=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:ed().chatAction})},eu=u()(()=>Promise.all([a.e(2074),a.e(1668)]).then(a.t.bind(a,51668,23)),{loadableGenerated:{webpack:()=>[51668]},ssr:!1});function em(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ep=e=>{let{messages:t,usernameToHighlight:a,chatUserId:s,isModerator:n,showInput:r,height:o}=e,[i,h]=(0,d.useState)(!1),u=(0,d.useRef)(null),p=e=>{let{oldName:t,user:a}=e,{displayName:s,displayColor:n}=a,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(eu,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:s})]})]})},x=e=>{let{user:{displayName:t,displayColor:a}}=e,s=em(e);return(0,l.jsx)(er,{displayName:t,userColor:a,isAuthorModerator:s})},_=e=>{let{body:t}=e;return(0,l.jsx)(eh,{body:t})},C=e=>{let t=em(e);return t?(0,l.jsx)(K,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},f=(e,r)=>{switch(r.type){case m.C.CHAT:var o,i,c;return(0,l.jsx)(A,{message:r,showModeratorMenu:n,highlightString:a,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===s,sameUserAsLast:function(e,t){if(e.length<2)return!1;let a=e[t];if(!a||!a.user)return!1;let{user:{id:s}}=a,n=e[t-1];if((null==n?void 0:n.type)!==m.C.CHAT||!(null==n?void 0:n.timestamp)||!a.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(a.timestamp).getTime();return!(o-r>12e4)&&s===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case m.C.NAME_CHANGE:return p(r);case m.C.CONNECTED_USER_INFO:return C(r);case m.C.USER_JOINED:return x(r);case m.C.CHAT_ACTION:return _(r);case m.C.SYSTEM:return(0,l.jsx)(et,{message:r,highlightString:a},r.id);default:return null}},j=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth";setTimeout(()=>{var s;null===(s=e.current)||void 0===s||s.scrollToIndex({index:t.length-1,behavior:a})},100),h(!0)};(0,d.useEffect)(()=>{setTimeout(()=>{j(u,"auto")},500)},[]);let v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{id:"virtuoso",style:{height:o},className:g().virtuoso,ref:u,data:t,itemContent:(e,t)=>f(e,t),followOutput:e=>(e&&j(u,"smooth"),!1),alignToBottom:!0,atBottomThreshold:70,atBottomStateChange:e=>{h(e)}}),!i&&(0,l.jsx)(el,{chatContainerRef:u,messages:t})]}),[t,a,s,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(J,{})})]})};ep.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); -//# sourceMappingURL=4977-3489d562ac3d7352.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-3489d562ac3d7352.js.map b/static/web/_next/static/chunks/4977-3489d562ac3d7352.js.map deleted file mode 100644 index e5a04192c..000000000 --- a/static/web/_next/static/chunks/4977-3489d562ac3d7352.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/4977-3489d562ac3d7352.js","mappings":"2JIAAA,EAAAC,EAAAC,EAAAC,EAAAC,wKJmCO,SAASC,EAAgBC,CAAY,CAAE,CAC5C,IAAMC,EAAM,IAAIC,KAAKF,GACrB,GAAIG,OAAOC,KAAK,CAACH,GAAM,MAAO,GAE9B,IAAMI,EAAaC,CAAAA,EAAAA,EAAAA,EAAAA,EAAqBN,GAExC,GAAIK,GAAc,EAAG,CACnB,IAAME,EAAaN,EAAIO,kBAAkB,CAAC,QAAS,CACjDC,UAAW,QACb,GACA,MAAO,GAAoBR,MAAAA,CAAjBM,EAAW,QAA+BG,MAAA,CAAzBT,EAAIU,kBAAkB,GACnD,CAAC,MAEM,GAA4BD,MAAA,CAAzBT,EAAIU,kBAAkB,GAClC,yBCzCO,IAAMC,EAAwC,GAA0B,IAAzB,CAAEC,MAAAA,CAAAA,CAAOC,UAAAA,CAAAA,CAAW,CAAAC,EAClEC,EAAQ,2BAAqCN,MAAA,CAAVI,EAAU,KAGnD,MACE,GAAAG,EAAAC,GAAA,EAACC,OAAAA,CAAKC,MAHM,CAAEJ,MAAAA,EAAOK,YAAaL,CAAM,EAGpBM,UAAWC,IAAAA,KAAY,UACxCV,GAGP,iBCDA,IAAMW,EAAeC,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,EAAA,WAAO,yCACxCK,IAAK,KAGDC,EAA2BT,IAC/B,IACEC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,OAAAD,EAAAC,CAAA,OAA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AA,EAAAA,EAAAA,OAAAA,EACpB,IACE,GAAA/G,EAAA0D,IAAA,EAAA1D,EAAAuP,QAAA,YACE,GAAAvP,EAAAC,GAAA,EAACuP,EAAAA,EAAQA,CAAAA,CACPjN,GAAG,WACHpC,MAAO,CAAEgL,OAAAA,CAAO,EAChB9K,UAAWC,IAAAA,QAAe,CAC1B8O,IAAKvC,EACL4C,KAAM3C,EACN4C,YAAa,CAACvC,EAAOnL,IAAY0M,EAAkBvB,EAAOnL,GAC1D2N,aAAc,IACRC,GACFT,EAAmBtC,EAAkB,UAEhC,IAETgD,cAAa,GACbC,kBAAmB,GACnBC,oBAAqBC,GAAU,CAC7BhC,EAAYgC,EACd,IAED,CAACjC,GAAY,GAAA/N,EAAAC,GAAA,EAAC2M,GAAcA,CAACC,iBAAkBA,EAAkBC,SAAUA,OAGhF,CAACA,EAAUa,EAAqBC,EAAYC,EAAaE,EAAS,EAGpE,MACE,GAAA/N,EAAA0D,IAAA,EAACF,MAAAA,CAAIjB,GAAG,iBAAiBlC,UAAWC,IAAAA,aAAoB,WACrDgP,EACAxB,GACC,GAAA9N,EAAAC,GAAA,EAACuD,MAAAA,CAAInD,UAAWC,IAAAA,aAAoB,UAClC,GAAAN,EAAAC,GAAA,EAACsG,EAAaA,CAAAA,OAKxB,CAEAmH,CAAAA,GAAcuC,YAAY,CAAG,CAC3BnC,UAAW,GACX3C,OAAQ,MACV,qBCjPA+E,EAAAC,OAAA,EAAkB,qECAlBD,EAAAC,OAAA,EAAkB,iWCAlBD,EAAAC,OAAA,EAAkB,uDCAlBD,EAAAC,OAAA,EAAkB,0JCAlBD,EAAAC,OAAA,EAAkB,mKCAlBD,EAAAC,OAAA,EAAkB,+OCAlBD,EAAAC,OAAA,EAAkB,uDCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/chat/ChatUserMessage/messageFmt.ts","webpack://_N_E/./components/chat/ChatUserBadge/ChatUserBadge.tsx","webpack://_N_E/./components/chat/ChatUserMessage/ChatUserMessage.tsx","webpack://_N_E/./components/chat/ChatTextField/ChatTextField.tsx","webpack://_N_E/./assets/images/moderator.svg","webpack://_N_E/./components/chat/ChatModeratorNotification/ChatModeratorNotification.tsx","webpack://_N_E/./components/chat/ChatSystemMessage/ChatSystemMessage.tsx","webpack://_N_E/./components/chat/ChatJoinMessage/ChatJoinMessage.tsx","webpack://_N_E/./components/chat/ChatContainer/ScrollToBotBtn.tsx","webpack://_N_E/./components/chat/ChatActionMessage/ChatActionMessage.tsx","webpack://_N_E/./components/chat/ChatContainer/ChatContainer.tsx","webpack://_N_E/./components/chat/ChatActionMessage/ChatActionMessage.module.scss","webpack://_N_E/./components/chat/ChatContainer/ChatContainer.module.scss","webpack://_N_E/./components/chat/ChatJoinMessage/ChatJoinMessage.module.scss","webpack://_N_E/./components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss","webpack://_N_E/./components/chat/ChatSystemMessage/ChatSystemMessage.module.scss","webpack://_N_E/./components/chat/ChatTextField/ChatTextField.module.scss","webpack://_N_E/./components/chat/ChatUserBadge/ChatUserBadge.module.scss","webpack://_N_E/./components/chat/ChatUserMessage/ChatUserMessage.module.scss","webpack://_N_E/"],"sourcesContent":["import { convertToText } from '../chat';\nimport { getDiffInDaysFromNow } from '../../../utils/helpers';\n\nconst stripTags = (str: string) => str && str.replace(/<\\/?[^>]+(>|$)/g, '');\nconst convertToMarkup = (str = '') => convertToText(str).replace(/\\n/g, '

');\n\nfunction getInstagramEmbedFromURL(url: string) {\n const urlObject = new URL(url.replace(/\\/$/, ''));\n urlObject.pathname += '/embed';\n return ``;\n}\n\nfunction isMessageJustAnchor(embedText: string, message: string, anchors: HTMLAnchorElement[]) {\n if (embedText !== '' && anchors.length === 1) return false;\n return stripTags(message) === stripTags(anchors[0]?.innerHTML);\n}\n\nfunction getMessageWithEmbeds(message: string) {\n let embedText = '';\n // Make a temporary element so we can actually parse the html and pull anchor tags from it.\n // This is a better approach than regex.\n const container = document.createElement('p');\n container.innerHTML = message;\n\n const anchors = Array.from(container.querySelectorAll('a'));\n anchors.forEach(({ href }) => {\n if (href.includes('instagram.com/p/')) embedText += getInstagramEmbedFromURL(href);\n });\n\n // If this message only consists of a single embeddable link\n // then only return the embed and strip the link url from the text.\n if (isMessageJustAnchor(embedText, message, anchors)) return embedText;\n return message + embedText;\n}\n\nexport function formatTimestamp(sentAt: Date) {\n const now = new Date(sentAt);\n if (Number.isNaN(now)) return '';\n\n const diffInDays = getDiffInDaysFromNow(sentAt);\n\n if (diffInDays >= 1) {\n const localeDate = now.toLocaleDateString('en-US', {\n dateStyle: 'medium',\n });\n return `${localeDate} at ${now.toLocaleTimeString()}`;\n }\n\n return `${now.toLocaleTimeString()}`;\n}\n\n/*\n You would call this when receiving a plain text\n value back from an API, and before inserting the\n text into the `contenteditable` area on a page.\n*/\n\nexport function formatMessageText(message: string) {\n let formattedText = getMessageWithEmbeds(message);\n formattedText = convertToMarkup(formattedText);\n return formattedText;\n // return await highlightUsername(formattedText, username);\n}\n","import React, { FC } from 'react';\nimport styles from './ChatUserBadge.module.scss';\n\nexport type ChatUserBadgeProps = {\n badge: React.ReactNode;\n userColor: number;\n};\n\nexport const ChatUserBadge: FC = ({ badge, userColor }) => {\n const color = `var(--theme-user-colors-${userColor})`;\n const style = { color, borderColor: color };\n\n return (\n \n {badge}\n \n );\n};\n","/* eslint-disable react/no-danger */\nimport { FC, ReactNode, useEffect, useState } from 'react';\nimport cn from 'classnames';\nimport { Tooltip } from 'antd';\nimport { useRecoilValue } from 'recoil';\nimport dynamic from 'next/dynamic';\nimport { decodeHTML } from 'entities';\nimport styles from './ChatUserMessage.module.scss';\nimport { formatTimestamp } from './messageFmt';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport { ChatUserBadge } from '../ChatUserBadge/ChatUserBadge';\nimport { accessTokenAtom } from '../../stores/ClientConfigStore';\nimport { User } from '../../../interfaces/user.model';\n\n// Lazy loaded components\n\nconst LinkOutlined = dynamic(() => import('@ant-design/icons/LinkOutlined'), {\n ssr: false,\n});\n\nconst ChatModerationActionMenu = dynamic(\n () =>\n import('../ChatModerationActionMenu/ChatModerationActionMenu').then(\n mod => mod.ChatModerationActionMenu,\n ),\n {\n ssr: false,\n },\n);\n\nconst Highlight = dynamic(() => import('react-highlighter-ts').then(mod => mod.Highlight), {\n ssr: false,\n});\n\nexport type ChatUserMessageProps = {\n message: ChatMessage;\n showModeratorMenu: boolean;\n highlightString: string;\n sentBySelf: boolean;\n sameUserAsLast: boolean;\n isAuthorModerator: boolean;\n isAuthorAuthenticated: boolean;\n};\n\nexport type UserTooltipProps = {\n user: User;\n children: ReactNode;\n};\n\nconst UserTooltip: FC = ({ children, user }) => {\n const { displayName, createdAt } = user;\n const content = `${displayName} first joined ${formatTimestamp(createdAt)}`;\n\n return (\n \n {children}\n \n );\n};\n\nexport const ChatUserMessage: FC = ({\n message,\n highlightString,\n showModeratorMenu,\n sentBySelf, // Move the border to the right and render a background\n sameUserAsLast,\n isAuthorModerator,\n isAuthorAuthenticated,\n}) => {\n const { id: messageId, body, user, timestamp } = message;\n const { id: userId, displayName, displayColor } = user;\n const accessToken = useRecoilValue(accessTokenAtom);\n\n const color = `var(--theme-color-users-${displayColor})`;\n const formattedTimestamp = `Sent ${formatTimestamp(timestamp)}`;\n const [formattedMessage, setFormattedMessage] = useState(body);\n\n const badgeNodes = [];\n if (isAuthorModerator) {\n badgeNodes.push();\n }\n if (isAuthorAuthenticated) {\n badgeNodes.push(\n }\n userColor={displayColor}\n />,\n );\n }\n\n useEffect(() => {\n setFormattedMessage(decodeHTML(body));\n }, [message]);\n\n return (\n \n \n {!sameUserAsLast && (\n \n
\n {displayName}\n {badgeNodes}\n
\n
\n )}\n \n \n \n \n \n\n {showModeratorMenu && (\n
\n \n
\n )}\n
\n
\n \n );\n};\n","import { Popover } from 'antd';\nimport React, { FC, useMemo, useState } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { Transforms, createEditor, BaseEditor, Text, Descendant, Editor, Node, Path } from 'slate';\nimport { Slate, Editable, withReact, ReactEditor, useSelected, useFocused } from 'slate-react';\nimport dynamic from 'next/dynamic';\nimport classNames from 'classnames';\nimport WebsocketService from '../../../services/websocket-service';\nimport { websocketServiceAtom } from '../../stores/ClientConfigStore';\nimport { MessageType } from '../../../interfaces/socket-events';\nimport styles from './ChatTextField.module.scss';\n\n// Lazy loaded components\n\nconst EmojiPicker = dynamic(() => import('./EmojiPicker').then(mod => mod.EmojiPicker), {\n ssr: false,\n});\n\nconst SendOutlined = dynamic(() => import('@ant-design/icons/SendOutlined'), {\n ssr: false,\n});\n\nconst SmileOutlined = dynamic(() => import('@ant-design/icons/SmileOutlined'), {\n ssr: false,\n});\n\ntype CustomElement = { type: 'paragraph' | 'span'; children: CustomText[] } | ImageNode;\ntype CustomText = { text: string };\n\ntype EmptyText = {\n text: string;\n};\n\ntype ImageNode = {\n type: 'image';\n alt: string;\n src: string;\n name: string;\n children: EmptyText[];\n};\n\ndeclare module 'slate' {\n interface CustomTypes {\n Editor: BaseEditor & ReactEditor;\n Element: CustomElement;\n Text: CustomText;\n }\n}\n\nconst Image = p => {\n const { attributes, element, children } = p;\n\n const selected = useSelected();\n const focused = useFocused();\n return (\n \n \n {children}\n \n );\n};\n\nconst withImages = editor => {\n const { isVoid } = editor;\n\n // eslint-disable-next-line no-param-reassign\n editor.isVoid = element => (element.type === 'image' ? true : isVoid(element));\n // eslint-disable-next-line no-param-reassign\n editor.isInline = element => element.type === 'image';\n\n return editor;\n};\n\nconst serialize = node => {\n if (Text.isText(node)) {\n const string = node.text;\n return string;\n }\n\n let children;\n if (node.children.length === 0) {\n children = [{ text: '' }];\n } else {\n children = node.children?.map(n => serialize(n)).join('');\n }\n\n switch (node.type) {\n case 'paragraph':\n return `

${children}

`;\n case 'image':\n return `\"${node.alt}\"`;\n default:\n return children;\n }\n};\n\nconst getCharacterCount = node => {\n if (Text.isText(node)) {\n return node.text.length;\n }\n if (node.type === 'image') {\n return 5;\n }\n\n let count = 0;\n node.children.forEach(child => {\n count += getCharacterCount(child);\n });\n\n return count;\n};\n\nexport type ChatTextFieldProps = {\n defaultText?: string;\n};\n\nconst characterLimit = 300;\n\nexport const ChatTextField: FC = ({ defaultText }) => {\n const [showEmojis, setShowEmojis] = useState(false);\n const [characterCount, setCharacterCount] = useState(defaultText?.length);\n const websocketService = useRecoilValue(websocketServiceAtom);\n const editor = useMemo(() => withReact(withImages(createEditor())), []);\n\n const defaultEditorValue: Descendant[] = [\n {\n type: 'paragraph',\n children: [{ text: defaultText || '' }],\n },\n ];\n\n const sendMessage = () => {\n if (!websocketService) {\n console.log('websocketService is not defined');\n return;\n }\n\n const message = serialize(editor);\n websocketService.send({ type: MessageType.CHAT, body: message });\n\n // Clear the editor.\n Transforms.delete(editor, {\n at: {\n anchor: Editor.start(editor, []),\n focus: Editor.end(editor, []),\n },\n });\n setCharacterCount(0);\n };\n\n const createImageNode = (alt, src, name): ImageNode => ({\n type: 'image',\n alt,\n src,\n name,\n children: [{ text: '' }],\n });\n\n const insertImage = (url, name) => {\n if (!url) return;\n\n const { selection } = editor;\n const image = createImageNode(name, url, name);\n\n Transforms.insertNodes(editor, image, { select: true });\n\n if (selection) {\n const [parentNode, parentPath] = Editor.parent(editor, selection.focus?.path);\n\n if (editor.isVoid(parentNode) || Node.string(parentNode).length) {\n // Insert the new image node after the void node or a node with content\n Transforms.insertNodes(editor, image, {\n at: Path.next(parentPath),\n select: true,\n });\n } else {\n // If the node is empty, replace it instead\n // Transforms.removeNodes(editor, { at: parentPath });\n Transforms.insertNodes(editor, image, { at: parentPath, select: true });\n Editor.normalize(editor, { force: true });\n }\n } else {\n // Insert the new image node at the bottom of the Editor when selection\n // is falsey\n Transforms.insertNodes(editor, image, { select: true });\n }\n };\n\n // Native emoji\n const onEmojiSelect = (emoji: string) => {\n ReactEditor.focus(editor);\n Transforms.insertText(editor, emoji);\n };\n\n const onCustomEmojiSelect = (name: string, emoji: string) => {\n ReactEditor.focus(editor);\n insertImage(emoji, name);\n };\n\n const onKeyDown = (e: React.KeyboardEvent) => {\n const charCount = getCharacterCount(editor) + 1;\n\n // Send the message when hitting enter.\n if (e.key === 'Enter') {\n e.preventDefault();\n sendMessage();\n return;\n }\n\n // Always allow backspace.\n if (e.key === 'Backspace') {\n setCharacterCount(charCount - 1);\n return;\n }\n\n // Limit the number of characters.\n if (charCount + 1 > characterLimit) {\n e.preventDefault();\n }\n\n setCharacterCount(charCount + 1);\n };\n\n const onPaste = (e: React.ClipboardEvent) => {\n const text = e.clipboardData.getData('text/plain');\n\n const { length } = text;\n if (characterCount + length > characterLimit) {\n e.preventDefault();\n }\n };\n\n const renderElement = p => {\n switch (p.element.type) {\n case 'image':\n return ;\n default:\n return

;\n }\n };\n\n return (\n

\n = characterLimit && styles.maxCharacters,\n )}\n >\n \n \n \n }\n trigger=\"click\"\n placement=\"topRight\"\n onOpenChange={open => setShowEmojis(open)}\n open={showEmojis}\n />\n \n\n
\n setShowEmojis(!showEmojis)}\n >\n \n \n \n \n \n
\n
\n \n );\n};\n","var _linearGradient, _path, _path2, _path3, _path4;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgModerator = function SvgModerator(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: 500,\n viewBox: \"0 0 132.292 132.292\",\n width: 500,\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"moderator_svg__a\",\n gradientUnits: \"userSpaceOnUse\",\n x1: 432.851,\n x2: 464.644,\n y1: 49.977,\n y2: 49.977\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0,\n stopColor: \"#2087e2\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#b63fff\"\n }))), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M438.672 34.08h20.151a5.82 5.82 45 0 1 5.82 5.821v20.151a5.82 5.82 135 0 1-5.82 5.821h-20.15a5.82 5.82 45 0 1-5.822-5.82V39.9a5.82 5.82 135 0 1 5.821-5.82z\",\n fill: \"url(#moderator_svg__a)\",\n transform: \"matrix(4.16112 0 0 4.16112 -1801.146 -141.814)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M121.11 29.551c-6.93 47.444-30.074 104.618-77.642 79.674l25.83 23.067h38.772c13.377 0 24.22-10.845 24.22-24.222V40.864z\",\n fill: \"#1d1535\",\n fillOpacity: 0.335\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M66.775 13.257s-7.129 57.999-.63 99.312c6.565 41.724-81.568-74.394-49.619-79.203 31.949-4.809 50.249-20.11 50.249-20.11z\",\n fill: \"#e2e8f0\",\n fillOpacity: 0.306\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M435.995 42.072c6.797.447 12.753-4.806 12.753-4.806s5.955 5.253 12.752 4.806c-.581 12.745-7.495 20.586-12.752 20.628-5.188.042-12.172-7.883-12.753-20.628z\",\n fill: \"none\",\n stroke: \"#fff\",\n strokeLinejoin: \"round\",\n strokeWidth: 2,\n transform: \"matrix(4.16112 0 0 4.16112 -1801.146 -141.814)\"\n })));\n};\nexport default SvgModerator;","import styles from './ChatModeratorNotification.module.scss';\nimport Icon from '../../../assets/images/moderator.svg';\n\nexport const ChatModeratorNotification = () => (\n
\n \n You are now a moderator.\n
\n);\n","/* eslint-disable react/no-danger */\nimport { Highlight } from 'react-highlighter-ts';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport styles from './ChatSystemMessage.module.scss';\n\nexport type ChatSystemMessageProps = {\n message: ChatMessage;\n highlightString: string;\n};\n\nexport const ChatSystemMessage: FC = ({\n message: {\n body,\n user: { displayName },\n },\n highlightString,\n}) => (\n
\n
\n {displayName}\n
\n \n
\n \n
\n);\n","import { FC } from 'react';\nimport dynamic from 'next/dynamic';\nimport { ChatUserBadge } from '../ChatUserBadge/ChatUserBadge';\nimport styles from './ChatJoinMessage.module.scss';\n\n// Lazy loaded components\n\nconst TeamOutlined = dynamic(() => import('@ant-design/icons/TeamOutlined'), {\n ssr: false,\n});\n\nexport type ChatJoinMessageProps = {\n isAuthorModerator: boolean;\n userColor: number;\n displayName: string;\n};\n\nexport const ChatJoinMessage: FC = ({\n isAuthorModerator,\n userColor,\n displayName,\n}) => {\n const color = `var(--theme-color-users-${userColor})`;\n\n return (\n
\n \n \n \n \n {displayName}\n {isAuthorModerator && (\n \n \n \n )}\n {' '}\n joined the chat.\n
\n );\n};\n","import { Button } from 'antd';\nimport dynamic from 'next/dynamic';\nimport { FC, MutableRefObject } from 'react';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport styles from './ChatContainer.module.scss';\n\n// Lazy loaded components\n\nconst VerticalAlignBottomOutlined = dynamic(\n () => import('@ant-design/icons/VerticalAlignBottomOutlined'),\n {\n ssr: false,\n },\n);\ntype Props = {\n chatContainerRef: MutableRefObject;\n messages: ChatMessage[];\n};\n\nexport const ScrollToBotBtn: FC = ({ chatContainerRef, messages }) => (\n
\n }\n onClick={() =>\n chatContainerRef.current.scrollToIndex({\n index: messages.length - 1,\n behavior: 'auto',\n })\n }\n >\n Go to last message\n \n
\n);\n","import { FC } from 'react';\nimport styles from './ChatActionMessage.module.scss';\n\n/* eslint-disable react/no-danger */\nexport type ChatActionMessageProps = {\n body: string;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport const ChatActionMessage: FC = ({ body }) => (\n
\n);\n","import { Virtuoso } from 'react-virtuoso';\nimport { useState, useMemo, useRef, CSSProperties, FC, useEffect } from 'react';\nimport dynamic from 'next/dynamic';\nimport {\n ConnectedClientInfoEvent,\n MessageType,\n NameChangeEvent,\n} from '../../../interfaces/socket-events';\nimport styles from './ChatContainer.module.scss';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport { ChatUserMessage } from '../ChatUserMessage/ChatUserMessage';\nimport { ChatTextField } from '../ChatTextField/ChatTextField';\nimport { ChatModeratorNotification } from '../ChatModeratorNotification/ChatModeratorNotification';\n// import ChatActionMessage from '../ChatAction/ChatActionMessage';\nimport { ChatSystemMessage } from '../ChatSystemMessage/ChatSystemMessage';\nimport { ChatJoinMessage } from '../ChatJoinMessage/ChatJoinMessage';\nimport { ScrollToBotBtn } from './ScrollToBotBtn';\nimport { ChatActionMessage } from '../ChatActionMessage/ChatActionMessage';\n\n// Lazy loaded components\n\nconst EditFilled = dynamic(() => import('@ant-design/icons/EditFilled'), {\n ssr: false,\n});\nexport type ChatContainerProps = {\n messages: ChatMessage[];\n usernameToHighlight: string;\n chatUserId: string;\n isModerator: boolean;\n showInput?: boolean;\n height?: string;\n};\n\nfunction shouldCollapseMessages(messages: ChatMessage[], index: number): boolean {\n if (messages.length < 2) {\n return false;\n }\n\n const message = messages[index];\n if (!message || !message.user) {\n return false;\n }\n\n const {\n user: { id },\n } = message;\n const lastMessage = messages[index - 1];\n if (lastMessage?.type !== MessageType.CHAT) {\n return false;\n }\n\n if (!lastMessage?.timestamp || !message.timestamp) {\n return false;\n }\n\n const maxTimestampDelta = 1000 * 60 * 2; // 2 minutes\n const lastTimestamp = new Date(lastMessage?.timestamp).getTime();\n const thisTimestamp = new Date(message.timestamp).getTime();\n if (thisTimestamp - lastTimestamp > maxTimestampDelta) {\n return false;\n }\n\n return id === lastMessage?.user.id;\n}\n\nfunction checkIsModerator(message: ChatMessage | ConnectedClientInfoEvent) {\n const {\n user: { scopes },\n } = message;\n\n if (!scopes || scopes.length === 0) {\n return false;\n }\n\n return scopes.includes('MODERATOR');\n}\n\nexport const ChatContainer: FC = ({\n messages,\n usernameToHighlight,\n chatUserId,\n isModerator,\n showInput,\n height,\n}) => {\n const [atBottom, setAtBottom] = useState(false);\n const chatContainerRef = useRef(null);\n\n const getNameChangeViewForMessage = (message: NameChangeEvent) => {\n const { oldName, user } = message;\n const { displayName, displayColor } = user;\n const color = `var(--theme-color-users-${displayColor})`;\n\n return (\n
\n
\n \n
\n
\n {oldName}\n is now known as \n {displayName}\n
\n
\n );\n };\n\n const getUserJoinedMessage = (message: ChatMessage) => {\n const {\n user: { displayName, displayColor },\n } = message;\n const isAuthorModerator = checkIsModerator(message);\n return (\n \n );\n };\n\n const getActionMessage = (message: ChatMessage) => {\n const { body } = message;\n return ;\n };\n const getConnectedInfoMessage = (message: ConnectedClientInfoEvent) => {\n const modStatusUpdate = checkIsModerator(message);\n if (!modStatusUpdate) {\n // Important note: We can't return null or an element with zero width\n // or zero height. So to work around this we return a very small 1x1 div.\n const st: CSSProperties = { width: '1px', height: '1px' };\n return
;\n }\n\n // Alert the user that they are a moderator.\n return ;\n };\n\n const getViewForMessage = (\n index: number,\n message: ChatMessage | NameChangeEvent | ConnectedClientInfoEvent,\n ) => {\n switch (message.type) {\n case MessageType.CHAT:\n return (\n \n );\n case MessageType.NAME_CHANGE:\n return getNameChangeViewForMessage(message as NameChangeEvent);\n case MessageType.CONNECTED_USER_INFO:\n return getConnectedInfoMessage(message);\n case MessageType.USER_JOINED:\n return getUserJoinedMessage(message as ChatMessage);\n case MessageType.CHAT_ACTION:\n return getActionMessage(message as ChatMessage);\n case MessageType.SYSTEM:\n return (\n \n );\n\n default:\n return null;\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const scrollChatToBottom = (ref, behavior = 'smooth') => {\n setTimeout(() => {\n ref.current?.scrollToIndex({\n index: messages.length - 1,\n behavior,\n });\n }, 100);\n\n setAtBottom(true);\n };\n\n // This is a hack to force a scroll to the very bottom of the chat messages\n // on initial mount of the component.\n // For https://github.com/owncast/owncast/issues/2500\n useEffect(() => {\n setTimeout(() => {\n scrollChatToBottom(chatContainerRef, 'auto');\n }, 500);\n }, []);\n\n const MessagesTable = useMemo(\n () => (\n <>\n getViewForMessage(index, message)}\n followOutput={(isAtBottom: boolean) => {\n if (isAtBottom) {\n scrollChatToBottom(chatContainerRef, 'smooth');\n }\n return false;\n }}\n alignToBottom\n atBottomThreshold={70}\n atBottomStateChange={bottom => {\n setAtBottom(bottom);\n }}\n />\n {!atBottom && }\n \n ),\n [messages, usernameToHighlight, chatUserId, isModerator, atBottom],\n );\n\n return (\n
\n {MessagesTable}\n {showInput && (\n
\n \n
\n )}\n
\n );\n};\n\nChatContainer.defaultProps = {\n showInput: true,\n height: 'auto',\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatAction\":\"ChatActionMessage_chatAction__x9Xsg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"toBottomWrap\":\"ChatContainer_toBottomWrap__3V5wa\",\"nameChangeView\":\"ChatContainer_nameChangeView__ziyXN\",\"nameChangeText\":\"ChatContainer_nameChangeText__yXG__\",\"plain\":\"ChatContainer_plain__IPS19\",\"chatContainer\":\"ChatContainer_chatContainer__O2lYN\",\"virtuoso\":\"ChatContainer_virtuoso__OS9Kz\",\"chatTextField\":\"ChatContainer_chatTextField__OqCGL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatJoinMessage_root__vuVXa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatModerationNotification\":\"ChatModeratorNotification_chatModerationNotification__kgFWe\",\"icon\":\"ChatModeratorNotification_icon__7FdGg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatSystemMessage\":\"ChatSystemMessage_chatSystemMessage__c6XEN\",\"user\":\"ChatSystemMessage_user__6yHSJ\",\"message\":\"ChatSystemMessage_message__ySq5g\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatTextField_root__4oUkJ\",\"inputWrap\":\"ChatTextField_inputWrap__1mAjD\",\"maxCharacters\":\"ChatTextField_maxCharacters__yGT4s\",\"emojiButton\":\"ChatTextField_emojiButton__ON_Cu\",\"sendButton\":\"ChatTextField_sendButton__MOmD4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"badge\":\"ChatUserBadge_badge__1EdUp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatUserMessage_root__79heB\",\"user\":\"ChatUserMessage_user__xUEp9\",\"message\":\"ChatUserMessage_message__MJ9LD\",\"ownMessage\":\"ChatUserMessage_ownMessage__d28A3\",\"background\":\"ChatUserMessage_background__Tfghp\",\"modMenuWrapper\":\"ChatUserMessage_modMenuWrapper__7fblv\",\"messagePadding\":\"ChatUserMessage_messagePadding__Xp1F6\",\"messagePaddingCollapsed\":\"ChatUserMessage_messagePaddingCollapsed__qxN0E\"};"],"names":["_linearGradient","_path","_path2","_path3","_path4","formatTimestamp","sentAt","now","Date","Number","isNaN","diffInDays","getDiffInDaysFromNow","localeDate","toLocaleDateString","dateStyle","concat","toLocaleTimeString","ChatUserBadge","badge","userColor","param","color","jsx_runtime","jsx","span","style","borderColor","className","styles","LinkOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","ChatModerationActionMenu","mod","Highlight","resolve","UserTooltip","children","user","displayName","createdAt","content","Tooltip","title","placement","mouseEnterDelay","ChatUserMessage","message","highlightString","showModeratorMenu","sentBySelf","sameUserAsLast","isAuthorModerator","isAuthorAuthenticated","id","messageId","body","timestamp","userId","displayColor","accessToken","useRecoilValue","accessTokenAtom","formattedTimestamp","formattedMessage","setFormattedMessage","useState","badgeNodes","push","useEffect","decodeHTML","div","cn","jsxs","search","dangerouslySetInnerHTML","__html","messageID","userID","userDisplayName","EmojiPicker","SendOutlined","SmileOutlined","Image","p","attributes","element","selected","useSelected","focused","useFocused","contentEditable","img","alt","src","name","display","maxWidth","maxHeight","boxShadow","withImages","editor","isVoid","type","isInline","serialize","node","Text","string","text","length","map","n","join","getCharacterCount","count","forEach","child","ChatTextField","defaultText","showEmojis","setShowEmojis","characterCount","setCharacterCount","websocketService","websocketServiceAtom","useMemo","withReact","createEditor","sendMessage","console","log","send","MessageType","Transforms","at","anchor","Editor","focus","createImageNode","insertImage","url","selection","image","select","parentNode","parentPath","path","Node","Path","force","onEmojiSelect","ReactEditor","emoji","onCustomEmojiSelect","onKeyDown","charCount","key","preventDefault","onPaste","clipboardData","getData","renderElement","classNames","Slate","value","Editable","placeholder","width","role","aria-label","autoFocus","Popover","trigger","onOpenChange","open","paddingLeft","button","onClick","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","moderator","props","react","createElement","height","viewBox","xmlns","gradientUnits","x1","x2","y1","y2","offset","stopColor","d","fill","transform","fillOpacity","stroke","strokeLinejoin","strokeWidth","ChatModeratorNotification","Icon","ChatSystemMessage","TeamOutlined","ChatJoinMessage","padding","fontWeight","VerticalAlignBottomOutlined","ScrollToBotBtn","chatContainerRef","messages","Button","icon","current","scrollToIndex","index","behavior","ChatActionMessage","EditFilled","checkIsModerator","scopes","includes","ChatContainer","usernameToHighlight","chatUserId","isModerator","showInput","atBottom","setAtBottom","useRef","getNameChangeViewForMessage","oldName","marginRight","margin","getUserJoinedMessage","getActionMessage","getConnectedInfoMessage","modStatusUpdate","getViewForMessage","_message_user_scopes","shouldCollapseMessages","lastMessage","lastTimestamp","getTime","thisTimestamp","maxTimestampDelta","authenticated","scrollChatToBottom","ref","setTimeout","MessagesTable","Fragment","Virtuoso","data","itemContent","followOutput","isAtBottom","alignToBottom","atBottomThreshold","atBottomStateChange","bottom","defaultProps","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js b/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js new file mode 100644 index 000000000..0a0f3e899 --- /dev/null +++ b/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContainer:function(){return ep}});var s,n,r,o,i,l=a(85893),c=a(26246),d=a(67294),h=a(5152),u=a.n(h),m=a(91951),p=a(59760),g=a.n(p),x=a(94184),_=a.n(x),C=a(94199),f=a(4480),j=a(27722),v=a(50085),y=a.n(v),b=a(77278);function N(e){let t=new Date(e);if(Number.isNaN(t))return"";let a=(0,b.Xb)(e);if(a>=1){let s=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(s," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var M=a(48976),w=a.n(M);let T=e=>{let{badge:t,userColor:a}=e,s="var(--theme-user-colors-".concat(a,")");return(0,l.jsx)("span",{style:{color:s,borderColor:s},className:w().badge,children:t})};var S=a(77466);let E=u()(()=>Promise.all([a.e(2074),a.e(8864)]).then(a.t.bind(a,38864,23)),{loadableGenerated:{webpack:()=>[38864]},ssr:!1}),k=u()(()=>Promise.all([a.e(173),a.e(164),a.e(4931),a.e(5402),a.e(7118),a.e(6386),a.e(3698),a.e(3013),a.e(4398),a.e(8091),a.e(8270),a.e(4860)]).then(a.bind(a,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]},ssr:!1}),O=u()(()=>Promise.resolve().then(a.bind(a,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]},ssr:!1}),D=e=>{let{children:t,user:a}=e,{displayName:s,createdAt:n}=a,r="".concat(s," first joined ").concat(N(n));return(0,l.jsx)(C.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},A=e=>{let{message:t,highlightString:a,showModeratorMenu:s,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:p,displayName:g,displayColor:x}=u,v=(0,f.sJ)(S.FI),b="var(--theme-color-users-".concat(x,")"),M="Sent ".concat(N(m)),[w,A]=(0,d.useState)(h),B=[];return o&&B.push((0,l.jsx)(T,{badge:"mod",userColor:x},"mod")),i&&B.push((0,l.jsx)(T,{badge:(0,l.jsx)(E,{title:"authenticated"}),userColor:x},"auth")),(0,d.useEffect)(()=>{A((0,j.p1)(h))},[t]),(0,l.jsx)("div",{className:_()(y().messagePadding,r&&y().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:_()(y().root,{[y().ownMessage]:n}),style:{borderColor:b},children:[!r&&(0,l.jsx)(D,{user:u,children:(0,l.jsxs)("div",{className:y().user,style:{color:b},children:[(0,l.jsx)("span",{className:y().userName,children:g}),(0,l.jsx)("span",{children:B})]})}),(0,l.jsx)(C.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(O,{search:a,children:(0,l.jsx)("div",{className:y().message,dangerouslySetInnerHTML:{__html:w}})})}),s&&(0,l.jsx)("div",{className:y().modMenuWrapper,children:(0,l.jsx)(k,{messageID:c,accessToken:v,userID:p,userDisplayName:g})}),(0,l.jsx)("div",{className:y().background,style:{color:b}})]})})};var B=a(55241),P=a(77493),U=a(96391),F=a(26912),G=a.n(F);let L=u()(()=>Promise.all([a.e(7741),a.e(1559)]).then(a.bind(a,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]},ssr:!1}),R=u()(()=>Promise.all([a.e(2074),a.e(3366)]).then(a.t.bind(a,73366,23)),{loadableGenerated:{webpack:()=>[73366]},ssr:!1}),I=u()(()=>Promise.all([a.e(2074),a.e(2348)]).then(a.t.bind(a,92348,23)),{loadableGenerated:{webpack:()=>[92348]},ssr:!1}),H=e=>{let{attributes:t,element:a,children:s}=e,n=(0,U.vt)(),r=(0,U.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:a.alt,src:a.src,title:a.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),s]})},W=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},V=e=>{let t;if(P.xv.isText(e)){let a=e.text;return a}if(0===e.children.length)t=[{text:""}];else{var s;t=null===(s=e.children)||void 0===s?void 0:s.map(e=>V(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},Y=e=>{if(P.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=Y(e)}),t},J=e=>{let{defaultText:t}=e,[a,s]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,f.sJ)(S.Gt),i=(0,d.useMemo)(()=>(0,U.BU)(W((0,P.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=V(i);o.send({type:m.C.CHAT,body:e}),P.YR.delete(i,{at:{anchor:P.ML.start(i,[]),focus:P.ML.end(i,[])}}),r(0)},h=(e,t,a)=>({type:"image",alt:e,src:t,name:a,children:[{text:""}]}),u=(e,t)=>{if(!e)return;let{selection:a}=i,s=h(t,e,t);if(P.YR.insertNodes(i,s,{select:!0}),a){var n;let[r,o]=P.ML.parent(i,null===(n=a.focus)||void 0===n?void 0:n.path);i.isVoid(r)||P.NB.string(r).length?P.YR.insertNodes(i,s,{at:P.y$.next(o),select:!0}):(P.YR.insertNodes(i,s,{at:o,select:!0}),P.ML.normalize(i,{force:!0}))}else P.YR.insertNodes(i,s,{select:!0})},p=e=>{U.F3.focus(i),P.YR.insertText(i,e)},g=(e,t)=>{U.F3.focus(i),u(t,e)},x=e=>{let t=Y(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},C=e=>{let t=e.clipboardData.getData("text/plain"),{length:a}=t;n+a>300&&e.preventDefault()},j=e=>"image"===e.element.type?(0,l.jsx)(H,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:G().root,children:(0,l.jsxs)("div",{className:_()(G().inputWrap,n>=300&&G().maxCharacters),children:[(0,l.jsxs)(U.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(U.CX,{className:"chat-text-input",onKeyDown:x,onPaste:C,renderElement:j,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(B.Z,{content:(0,l.jsx)(L,{onEmojiSelect:p,onCustomEmojiSelect:g}),trigger:"click",placement:"topRight",onOpenChange:e=>s(e),open:a})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:G().emojiButton,title:"Emoji picker button",onClick:()=>s(!a),children:(0,l.jsx)(I,{})}),(0,l.jsx)("button",{type:"button",className:G().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(R,{})})]})]})})};var X=a(93107),z=a.n(X);function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:z().chatModerationNotification,children:[(0,l.jsx)(q,{className:z().icon}),"You are now a moderator."]});var $=a(47049),Q=a(23421),ee=a.n(Q);let et=e=>{let{message:{body:t,user:{displayName:a}},highlightString:s}=e;return(0,l.jsxs)("div",{className:_()([ee().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:ee().user,children:(0,l.jsx)("span",{className:ee().userName,children:a})}),(0,l.jsx)($.Highlight,{search:s,children:(0,l.jsx)("div",{className:ee().message,dangerouslySetInnerHTML:{__html:t}})})]})};var ea=a(91044),es=a.n(ea);let en=u()(()=>Promise.all([a.e(2074),a.e(8725)]).then(a.t.bind(a,8725,23)),{loadableGenerated:{webpack:()=>[8725]},ssr:!1}),er=e=>{let{isAuthorModerator:t,userColor:a,displayName:s}=e;return(0,l.jsxs)("div",{className:es().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(a,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:s}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(T,{badge:"mod",userColor:a})})]})," ","joined the chat."]})};var eo=a(71577);let ei=u()(()=>Promise.all([a.e(2074),a.e(437)]).then(a.t.bind(a,20437,23)),{loadableGenerated:{webpack:()=>[20437]},ssr:!1}),el=e=>{let{chatContainerRef:t,messages:a}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(eo.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(ei,{}),onClick:()=>t.current.scrollToIndex({index:a.length-1,behavior:"auto"}),children:"Go to last message"})})};var ec=a(65302),ed=a.n(ec);let eh=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:ed().chatAction})},eu=u()(()=>Promise.all([a.e(2074),a.e(1668)]).then(a.t.bind(a,51668,23)),{loadableGenerated:{webpack:()=>[51668]},ssr:!1});function em(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ep=e=>{let{messages:t,usernameToHighlight:a,chatUserId:s,isModerator:n,showInput:r,height:o}=e,[i,h]=(0,d.useState)(!1),u=(0,d.useRef)(null),p=e=>{let{oldName:t,user:a}=e,{displayName:s,displayColor:n}=a,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(eu,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:s})]})]})},x=e=>{let{user:{displayName:t,displayColor:a}}=e,s=em(e);return(0,l.jsx)(er,{displayName:t,userColor:a,isAuthorModerator:s})},_=e=>{let{body:t}=e;return(0,l.jsx)(eh,{body:t})},C=e=>{let t=em(e);return t?(0,l.jsx)(K,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},f=(e,r)=>{switch(r.type){case m.C.CHAT:var o,i,c;return(0,l.jsx)(A,{message:r,showModeratorMenu:n,highlightString:a,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===s,sameUserAsLast:function(e,t){if(e.length<2)return!1;let a=e[t];if(!a||!a.user)return!1;let{user:{id:s}}=a,n=e[t-1];if((null==n?void 0:n.type)!==m.C.CHAT||!(null==n?void 0:n.timestamp)||!a.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(a.timestamp).getTime();return!(o-r>12e4)&&s===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case m.C.NAME_CHANGE:return p(r);case m.C.CONNECTED_USER_INFO:return C(r);case m.C.USER_JOINED:return x(r);case m.C.CHAT_ACTION:return _(r);case m.C.SYSTEM:return(0,l.jsx)(et,{message:r,highlightString:a},r.id);default:return null}},j=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth";setTimeout(()=>{var s;null===(s=e.current)||void 0===s||s.scrollToIndex({index:t.length-1,behavior:a})},100),h(!0)};(0,d.useEffect)(()=>{setTimeout(()=>{j(u,"auto")},500)},[]);let v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{id:"virtuoso",style:{height:o},className:g().virtuoso,ref:u,data:t,itemContent:(e,t)=>f(e,t),followOutput:e=>(e&&j(u,"smooth"),!1),alignToBottom:!0,atBottomThreshold:70,atBottomStateChange:e=>{h(e)}}),!i&&(0,l.jsx)(el,{chatContainerRef:u,messages:t})]}),[t,a,s,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(J,{})})]})};ep.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); +//# sourceMappingURL=4977-d9d119ca1d55fe08.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js.map b/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js.map new file mode 100644 index 000000000..9bfbf030c --- /dev/null +++ b/static/web/_next/static/chunks/4977-d9d119ca1d55fe08.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/4977-d9d119ca1d55fe08.js","mappings":"2JIAAA,EAAAC,EAAAC,EAAAC,EAAA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gL,OAAAA,CAAO,EAChB9K,UAAWC,IAAAA,QAAe,CAC1B8O,IAAKvC,EACL4C,KAAM3C,EACN4C,YAAa,CAACvC,EAAOnL,IAAY0M,EAAkBvB,EAAOnL,GAC1D2N,aAAc,IACRC,GACFT,EAAmBtC,EAAkB,UAEhC,IAETgD,cAAa,GACbC,kBAAmB,GACnBC,oBAAqBC,GAAU,CAC7BhC,EAAYgC,EACd,IAED,CAACjC,GAAY,GAAA/N,EAAAC,GAAA,EAAC2M,GAAcA,CAACC,iBAAkBA,EAAkBC,SAAUA,OAGhF,CAACA,EAAUa,EAAqBC,EAAYC,EAAaE,EAAS,EAGpE,MACE,GAAA/N,EAAA0D,IAAA,EAACF,MAAAA,CAAIjB,GAAG,iBAAiBlC,UAAWC,IAAAA,aAAoB,WACrDgP,EACAxB,GACC,GAAA9N,EAAAC,GAAA,EAACuD,MAAAA,CAAInD,UAAWC,IAAAA,aAAoB,UAClC,GAAAN,EAAAC,GAAA,EAACsG,EAAaA,CAAAA,OAKxB,CAEAmH,CAAAA,GAAcuC,YAAY,CAAG,CAC3BnC,UAAW,GACX3C,OAAQ,MACV,qBCjPA+E,EAAAC,OAAA,EAAkB,qECAlBD,EAAAC,OAAA,EAAkB,iWCAlBD,EAAAC,OAAA,EAAkB,uDCAlBD,EAAAC,OAAA,EAAkB,0JCAlBD,EAAAC,OAAA,EAAkB,mKCAlBD,EAAAC,OAAA,EAAkB,+OCAlBD,EAAAC,OAAA,EAAkB,uDCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/chat/ChatUserMessage/messageFmt.ts","webpack://_N_E/./components/chat/ChatUserBadge/ChatUserBadge.tsx","webpack://_N_E/./components/chat/ChatUserMessage/ChatUserMessage.tsx","webpack://_N_E/./components/chat/ChatTextField/ChatTextField.tsx","webpack://_N_E/./assets/images/moderator.svg","webpack://_N_E/./components/chat/ChatModeratorNotification/ChatModeratorNotification.tsx","webpack://_N_E/./components/chat/ChatSystemMessage/ChatSystemMessage.tsx","webpack://_N_E/./components/chat/ChatJoinMessage/ChatJoinMessage.tsx","webpack://_N_E/./components/chat/ChatContainer/ScrollToBotBtn.tsx","webpack://_N_E/./components/chat/ChatActionMessage/ChatActionMessage.tsx","webpack://_N_E/./components/chat/ChatContainer/ChatContainer.tsx","webpack://_N_E/./components/chat/ChatActionMessage/ChatActionMessage.module.scss","webpack://_N_E/./components/chat/ChatContainer/ChatContainer.module.scss","webpack://_N_E/./components/chat/ChatJoinMessage/ChatJoinMessage.module.scss","webpack://_N_E/./components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss","webpack://_N_E/./components/chat/ChatSystemMessage/ChatSystemMessage.module.scss","webpack://_N_E/./components/chat/ChatTextField/ChatTextField.module.scss","webpack://_N_E/./components/chat/ChatUserBadge/ChatUserBadge.module.scss","webpack://_N_E/./components/chat/ChatUserMessage/ChatUserMessage.module.scss","webpack://_N_E/"],"sourcesContent":["import { convertToText } from '../chat';\nimport { getDiffInDaysFromNow } from '../../../utils/helpers';\n\nconst stripTags = (str: string) => str && str.replace(/<\\/?[^>]+(>|$)/g, '');\nconst convertToMarkup = (str = '') => convertToText(str).replace(/\\n/g, '

');\n\nfunction getInstagramEmbedFromURL(url: string) {\n const urlObject = new URL(url.replace(/\\/$/, ''));\n urlObject.pathname += '/embed';\n return ``;\n}\n\nfunction isMessageJustAnchor(embedText: string, message: string, anchors: HTMLAnchorElement[]) {\n if (embedText !== '' && anchors.length === 1) return false;\n return stripTags(message) === stripTags(anchors[0]?.innerHTML);\n}\n\nfunction getMessageWithEmbeds(message: string) {\n let embedText = '';\n // Make a temporary element so we can actually parse the html and pull anchor tags from it.\n // This is a better approach than regex.\n const container = document.createElement('p');\n container.innerHTML = message;\n\n const anchors = Array.from(container.querySelectorAll('a'));\n anchors.forEach(({ href }) => {\n if (href.includes('instagram.com/p/')) embedText += getInstagramEmbedFromURL(href);\n });\n\n // If this message only consists of a single embeddable link\n // then only return the embed and strip the link url from the text.\n if (isMessageJustAnchor(embedText, message, anchors)) return embedText;\n return message + embedText;\n}\n\nexport function formatTimestamp(sentAt: Date) {\n const now = new Date(sentAt);\n if (Number.isNaN(now)) return '';\n\n const diffInDays = getDiffInDaysFromNow(sentAt);\n\n if (diffInDays >= 1) {\n const localeDate = now.toLocaleDateString('en-US', {\n dateStyle: 'medium',\n });\n return `${localeDate} at ${now.toLocaleTimeString()}`;\n }\n\n return `${now.toLocaleTimeString()}`;\n}\n\n/*\n You would call this when receiving a plain text\n value back from an API, and before inserting the\n text into the `contenteditable` area on a page.\n*/\n\nexport function formatMessageText(message: string) {\n let formattedText = getMessageWithEmbeds(message);\n formattedText = convertToMarkup(formattedText);\n return formattedText;\n // return await highlightUsername(formattedText, username);\n}\n","import React, { FC } from 'react';\nimport styles from './ChatUserBadge.module.scss';\n\nexport type ChatUserBadgeProps = {\n badge: React.ReactNode;\n userColor: number;\n};\n\nexport const ChatUserBadge: FC = ({ badge, userColor }) => {\n const color = `var(--theme-user-colors-${userColor})`;\n const style = { color, borderColor: color };\n\n return (\n \n {badge}\n \n );\n};\n","/* eslint-disable react/no-danger */\nimport { FC, ReactNode, useEffect, useState } from 'react';\nimport cn from 'classnames';\nimport { Tooltip } from 'antd';\nimport { useRecoilValue } from 'recoil';\nimport dynamic from 'next/dynamic';\nimport { decodeHTML } from 'entities';\nimport styles from './ChatUserMessage.module.scss';\nimport { formatTimestamp } from './messageFmt';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport { ChatUserBadge } from '../ChatUserBadge/ChatUserBadge';\nimport { accessTokenAtom } from '../../stores/ClientConfigStore';\nimport { User } from '../../../interfaces/user.model';\n\n// Lazy loaded components\n\nconst LinkOutlined = dynamic(() => import('@ant-design/icons/LinkOutlined'), {\n ssr: false,\n});\n\nconst ChatModerationActionMenu = dynamic(\n () =>\n import('../ChatModerationActionMenu/ChatModerationActionMenu').then(\n mod => mod.ChatModerationActionMenu,\n ),\n {\n ssr: false,\n },\n);\n\nconst Highlight = dynamic(() => import('react-highlighter-ts').then(mod => mod.Highlight), {\n ssr: false,\n});\n\nexport type ChatUserMessageProps = {\n message: ChatMessage;\n showModeratorMenu: boolean;\n highlightString: string;\n sentBySelf: boolean;\n sameUserAsLast: boolean;\n isAuthorModerator: boolean;\n isAuthorAuthenticated: boolean;\n};\n\nexport type UserTooltipProps = {\n user: User;\n children: ReactNode;\n};\n\nconst UserTooltip: FC = ({ children, user }) => {\n const { displayName, createdAt } = user;\n const content = `${displayName} first joined ${formatTimestamp(createdAt)}`;\n\n return (\n \n {children}\n \n );\n};\n\nexport const ChatUserMessage: FC = ({\n message,\n highlightString,\n showModeratorMenu,\n sentBySelf, // Move the border to the right and render a background\n sameUserAsLast,\n isAuthorModerator,\n isAuthorAuthenticated,\n}) => {\n const { id: messageId, body, user, timestamp } = message;\n const { id: userId, displayName, displayColor } = user;\n const accessToken = useRecoilValue(accessTokenAtom);\n\n const color = `var(--theme-color-users-${displayColor})`;\n const formattedTimestamp = `Sent ${formatTimestamp(timestamp)}`;\n const [formattedMessage, setFormattedMessage] = useState(body);\n\n const badgeNodes = [];\n if (isAuthorModerator) {\n badgeNodes.push();\n }\n if (isAuthorAuthenticated) {\n badgeNodes.push(\n }\n userColor={displayColor}\n />,\n );\n }\n\n useEffect(() => {\n setFormattedMessage(decodeHTML(body));\n }, [message]);\n\n return (\n \n \n {!sameUserAsLast && (\n \n
\n {displayName}\n {badgeNodes}\n
\n
\n )}\n \n \n \n \n \n\n {showModeratorMenu && (\n
\n \n
\n )}\n
\n
\n
\n );\n};\n","import { Popover } from 'antd';\nimport React, { FC, useMemo, useState } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { Transforms, createEditor, BaseEditor, Text, Descendant, Editor, Node, Path } from 'slate';\nimport { Slate, Editable, withReact, ReactEditor, useSelected, useFocused } from 'slate-react';\nimport dynamic from 'next/dynamic';\nimport classNames from 'classnames';\nimport WebsocketService from '../../../services/websocket-service';\nimport { websocketServiceAtom } from '../../stores/ClientConfigStore';\nimport { MessageType } from '../../../interfaces/socket-events';\nimport styles from './ChatTextField.module.scss';\n\n// Lazy loaded components\n\nconst EmojiPicker = dynamic(() => import('./EmojiPicker').then(mod => mod.EmojiPicker), {\n ssr: false,\n});\n\nconst SendOutlined = dynamic(() => import('@ant-design/icons/SendOutlined'), {\n ssr: false,\n});\n\nconst SmileOutlined = dynamic(() => import('@ant-design/icons/SmileOutlined'), {\n ssr: false,\n});\n\ntype CustomElement = { type: 'paragraph' | 'span'; children: CustomText[] } | ImageNode;\ntype CustomText = { text: string };\n\ntype EmptyText = {\n text: string;\n};\n\ntype ImageNode = {\n type: 'image';\n alt: string;\n src: string;\n name: string;\n children: EmptyText[];\n};\n\ndeclare module 'slate' {\n interface CustomTypes {\n Editor: BaseEditor & ReactEditor;\n Element: CustomElement;\n Text: CustomText;\n }\n}\n\nconst Image = p => {\n const { attributes, element, children } = p;\n\n const selected = useSelected();\n const focused = useFocused();\n return (\n \n \n {children}\n \n );\n};\n\nconst withImages = editor => {\n const { isVoid } = editor;\n\n // eslint-disable-next-line no-param-reassign\n editor.isVoid = element => (element.type === 'image' ? true : isVoid(element));\n // eslint-disable-next-line no-param-reassign\n editor.isInline = element => element.type === 'image';\n\n return editor;\n};\n\nconst serialize = node => {\n if (Text.isText(node)) {\n const string = node.text;\n return string;\n }\n\n let children;\n if (node.children.length === 0) {\n children = [{ text: '' }];\n } else {\n children = node.children?.map(n => serialize(n)).join('');\n }\n\n switch (node.type) {\n case 'paragraph':\n return `

${children}

`;\n case 'image':\n return `\"${node.alt}\"`;\n default:\n return children;\n }\n};\n\nconst getCharacterCount = node => {\n if (Text.isText(node)) {\n return node.text.length;\n }\n if (node.type === 'image') {\n return 5;\n }\n\n let count = 0;\n node.children.forEach(child => {\n count += getCharacterCount(child);\n });\n\n return count;\n};\n\nexport type ChatTextFieldProps = {\n defaultText?: string;\n};\n\nconst characterLimit = 300;\n\nexport const ChatTextField: FC = ({ defaultText }) => {\n const [showEmojis, setShowEmojis] = useState(false);\n const [characterCount, setCharacterCount] = useState(defaultText?.length);\n const websocketService = useRecoilValue(websocketServiceAtom);\n const editor = useMemo(() => withReact(withImages(createEditor())), []);\n\n const defaultEditorValue: Descendant[] = [\n {\n type: 'paragraph',\n children: [{ text: defaultText || '' }],\n },\n ];\n\n const sendMessage = () => {\n if (!websocketService) {\n console.log('websocketService is not defined');\n return;\n }\n\n const message = serialize(editor);\n websocketService.send({ type: MessageType.CHAT, body: message });\n\n // Clear the editor.\n Transforms.delete(editor, {\n at: {\n anchor: Editor.start(editor, []),\n focus: Editor.end(editor, []),\n },\n });\n setCharacterCount(0);\n };\n\n const createImageNode = (alt, src, name): ImageNode => ({\n type: 'image',\n alt,\n src,\n name,\n children: [{ text: '' }],\n });\n\n const insertImage = (url, name) => {\n if (!url) return;\n\n const { selection } = editor;\n const image = createImageNode(name, url, name);\n\n Transforms.insertNodes(editor, image, { select: true });\n\n if (selection) {\n const [parentNode, parentPath] = Editor.parent(editor, selection.focus?.path);\n\n if (editor.isVoid(parentNode) || Node.string(parentNode).length) {\n // Insert the new image node after the void node or a node with content\n Transforms.insertNodes(editor, image, {\n at: Path.next(parentPath),\n select: true,\n });\n } else {\n // If the node is empty, replace it instead\n // Transforms.removeNodes(editor, { at: parentPath });\n Transforms.insertNodes(editor, image, { at: parentPath, select: true });\n Editor.normalize(editor, { force: true });\n }\n } else {\n // Insert the new image node at the bottom of the Editor when selection\n // is falsey\n Transforms.insertNodes(editor, image, { select: true });\n }\n };\n\n // Native emoji\n const onEmojiSelect = (emoji: string) => {\n ReactEditor.focus(editor);\n Transforms.insertText(editor, emoji);\n };\n\n const onCustomEmojiSelect = (name: string, emoji: string) => {\n ReactEditor.focus(editor);\n insertImage(emoji, name);\n };\n\n const onKeyDown = (e: React.KeyboardEvent) => {\n const charCount = getCharacterCount(editor) + 1;\n\n // Send the message when hitting enter.\n if (e.key === 'Enter') {\n e.preventDefault();\n sendMessage();\n return;\n }\n\n // Always allow backspace.\n if (e.key === 'Backspace') {\n setCharacterCount(charCount - 1);\n return;\n }\n\n // Limit the number of characters.\n if (charCount + 1 > characterLimit) {\n e.preventDefault();\n }\n\n setCharacterCount(charCount + 1);\n };\n\n const onPaste = (e: React.ClipboardEvent) => {\n const text = e.clipboardData.getData('text/plain');\n\n const { length } = text;\n if (characterCount + length > characterLimit) {\n e.preventDefault();\n }\n };\n\n const renderElement = p => {\n switch (p.element.type) {\n case 'image':\n return ;\n default:\n return

;\n }\n };\n\n return (\n

\n = characterLimit && styles.maxCharacters,\n )}\n >\n \n \n \n }\n trigger=\"click\"\n placement=\"topRight\"\n onOpenChange={open => setShowEmojis(open)}\n open={showEmojis}\n />\n \n\n
\n setShowEmojis(!showEmojis)}\n >\n \n \n \n \n \n
\n
\n
\n );\n};\n","var _linearGradient, _path, _path2, _path3, _path4;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgModerator = function SvgModerator(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: 500,\n viewBox: \"0 0 132.292 132.292\",\n width: 500,\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"moderator_svg__a\",\n gradientUnits: \"userSpaceOnUse\",\n x1: 432.851,\n x2: 464.644,\n y1: 49.977,\n y2: 49.977\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0,\n stopColor: \"#2087e2\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#b63fff\"\n }))), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M438.672 34.08h20.151a5.82 5.82 45 0 1 5.82 5.821v20.151a5.82 5.82 135 0 1-5.82 5.821h-20.15a5.82 5.82 45 0 1-5.822-5.82V39.9a5.82 5.82 135 0 1 5.821-5.82z\",\n fill: \"url(#moderator_svg__a)\",\n transform: \"matrix(4.16112 0 0 4.16112 -1801.146 -141.814)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M121.11 29.551c-6.93 47.444-30.074 104.618-77.642 79.674l25.83 23.067h38.772c13.377 0 24.22-10.845 24.22-24.222V40.864z\",\n fill: \"#1d1535\",\n fillOpacity: 0.335\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M66.775 13.257s-7.129 57.999-.63 99.312c6.565 41.724-81.568-74.394-49.619-79.203 31.949-4.809 50.249-20.11 50.249-20.11z\",\n fill: \"#e2e8f0\",\n fillOpacity: 0.306\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M435.995 42.072c6.797.447 12.753-4.806 12.753-4.806s5.955 5.253 12.752 4.806c-.581 12.745-7.495 20.586-12.752 20.628-5.188.042-12.172-7.883-12.753-20.628z\",\n fill: \"none\",\n stroke: \"#fff\",\n strokeLinejoin: \"round\",\n strokeWidth: 2,\n transform: \"matrix(4.16112 0 0 4.16112 -1801.146 -141.814)\"\n })));\n};\nexport default SvgModerator;","import styles from './ChatModeratorNotification.module.scss';\nimport Icon from '../../../assets/images/moderator.svg';\n\nexport const ChatModeratorNotification = () => (\n
\n \n You are now a moderator.\n
\n);\n","/* eslint-disable react/no-danger */\nimport { Highlight } from 'react-highlighter-ts';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport styles from './ChatSystemMessage.module.scss';\n\nexport type ChatSystemMessageProps = {\n message: ChatMessage;\n highlightString: string;\n};\n\nexport const ChatSystemMessage: FC = ({\n message: {\n body,\n user: { displayName },\n },\n highlightString,\n}) => (\n
\n
\n {displayName}\n
\n \n
\n \n
\n);\n","import { FC } from 'react';\nimport dynamic from 'next/dynamic';\nimport { ChatUserBadge } from '../ChatUserBadge/ChatUserBadge';\nimport styles from './ChatJoinMessage.module.scss';\n\n// Lazy loaded components\n\nconst TeamOutlined = dynamic(() => import('@ant-design/icons/TeamOutlined'), {\n ssr: false,\n});\n\nexport type ChatJoinMessageProps = {\n isAuthorModerator: boolean;\n userColor: number;\n displayName: string;\n};\n\nexport const ChatJoinMessage: FC = ({\n isAuthorModerator,\n userColor,\n displayName,\n}) => {\n const color = `var(--theme-color-users-${userColor})`;\n\n return (\n
\n \n \n \n \n {displayName}\n {isAuthorModerator && (\n \n \n \n )}\n {' '}\n joined the chat.\n
\n );\n};\n","import { Button } from 'antd';\nimport dynamic from 'next/dynamic';\nimport { FC, MutableRefObject } from 'react';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport styles from './ChatContainer.module.scss';\n\n// Lazy loaded components\n\nconst VerticalAlignBottomOutlined = dynamic(\n () => import('@ant-design/icons/VerticalAlignBottomOutlined'),\n {\n ssr: false,\n },\n);\ntype Props = {\n chatContainerRef: MutableRefObject;\n messages: ChatMessage[];\n};\n\nexport const ScrollToBotBtn: FC = ({ chatContainerRef, messages }) => (\n
\n }\n onClick={() =>\n chatContainerRef.current.scrollToIndex({\n index: messages.length - 1,\n behavior: 'auto',\n })\n }\n >\n Go to last message\n \n
\n);\n","import { FC } from 'react';\nimport styles from './ChatActionMessage.module.scss';\n\n/* eslint-disable react/no-danger */\nexport type ChatActionMessageProps = {\n body: string;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport const ChatActionMessage: FC = ({ body }) => (\n
\n);\n","import { Virtuoso } from 'react-virtuoso';\nimport { useState, useMemo, useRef, CSSProperties, FC, useEffect } from 'react';\nimport dynamic from 'next/dynamic';\nimport {\n ConnectedClientInfoEvent,\n MessageType,\n NameChangeEvent,\n} from '../../../interfaces/socket-events';\nimport styles from './ChatContainer.module.scss';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport { ChatUserMessage } from '../ChatUserMessage/ChatUserMessage';\nimport { ChatTextField } from '../ChatTextField/ChatTextField';\nimport { ChatModeratorNotification } from '../ChatModeratorNotification/ChatModeratorNotification';\n// import ChatActionMessage from '../ChatAction/ChatActionMessage';\nimport { ChatSystemMessage } from '../ChatSystemMessage/ChatSystemMessage';\nimport { ChatJoinMessage } from '../ChatJoinMessage/ChatJoinMessage';\nimport { ScrollToBotBtn } from './ScrollToBotBtn';\nimport { ChatActionMessage } from '../ChatActionMessage/ChatActionMessage';\n\n// Lazy loaded components\n\nconst EditFilled = dynamic(() => import('@ant-design/icons/EditFilled'), {\n ssr: false,\n});\nexport type ChatContainerProps = {\n messages: ChatMessage[];\n usernameToHighlight: string;\n chatUserId: string;\n isModerator: boolean;\n showInput?: boolean;\n height?: string;\n};\n\nfunction shouldCollapseMessages(messages: ChatMessage[], index: number): boolean {\n if (messages.length < 2) {\n return false;\n }\n\n const message = messages[index];\n if (!message || !message.user) {\n return false;\n }\n\n const {\n user: { id },\n } = message;\n const lastMessage = messages[index - 1];\n if (lastMessage?.type !== MessageType.CHAT) {\n return false;\n }\n\n if (!lastMessage?.timestamp || !message.timestamp) {\n return false;\n }\n\n const maxTimestampDelta = 1000 * 60 * 2; // 2 minutes\n const lastTimestamp = new Date(lastMessage?.timestamp).getTime();\n const thisTimestamp = new Date(message.timestamp).getTime();\n if (thisTimestamp - lastTimestamp > maxTimestampDelta) {\n return false;\n }\n\n return id === lastMessage?.user.id;\n}\n\nfunction checkIsModerator(message: ChatMessage | ConnectedClientInfoEvent) {\n const {\n user: { scopes },\n } = message;\n\n if (!scopes || scopes.length === 0) {\n return false;\n }\n\n return scopes.includes('MODERATOR');\n}\n\nexport const ChatContainer: FC = ({\n messages,\n usernameToHighlight,\n chatUserId,\n isModerator,\n showInput,\n height,\n}) => {\n const [atBottom, setAtBottom] = useState(false);\n const chatContainerRef = useRef(null);\n\n const getNameChangeViewForMessage = (message: NameChangeEvent) => {\n const { oldName, user } = message;\n const { displayName, displayColor } = user;\n const color = `var(--theme-color-users-${displayColor})`;\n\n return (\n
\n
\n \n
\n
\n {oldName}\n is now known as \n {displayName}\n
\n
\n );\n };\n\n const getUserJoinedMessage = (message: ChatMessage) => {\n const {\n user: { displayName, displayColor },\n } = message;\n const isAuthorModerator = checkIsModerator(message);\n return (\n \n );\n };\n\n const getActionMessage = (message: ChatMessage) => {\n const { body } = message;\n return ;\n };\n const getConnectedInfoMessage = (message: ConnectedClientInfoEvent) => {\n const modStatusUpdate = checkIsModerator(message);\n if (!modStatusUpdate) {\n // Important note: We can't return null or an element with zero width\n // or zero height. So to work around this we return a very small 1x1 div.\n const st: CSSProperties = { width: '1px', height: '1px' };\n return
;\n }\n\n // Alert the user that they are a moderator.\n return ;\n };\n\n const getViewForMessage = (\n index: number,\n message: ChatMessage | NameChangeEvent | ConnectedClientInfoEvent,\n ) => {\n switch (message.type) {\n case MessageType.CHAT:\n return (\n \n );\n case MessageType.NAME_CHANGE:\n return getNameChangeViewForMessage(message as NameChangeEvent);\n case MessageType.CONNECTED_USER_INFO:\n return getConnectedInfoMessage(message);\n case MessageType.USER_JOINED:\n return getUserJoinedMessage(message as ChatMessage);\n case MessageType.CHAT_ACTION:\n return getActionMessage(message as ChatMessage);\n case MessageType.SYSTEM:\n return (\n \n );\n\n default:\n return null;\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const scrollChatToBottom = (ref, behavior = 'smooth') => {\n setTimeout(() => {\n ref.current?.scrollToIndex({\n index: messages.length - 1,\n behavior,\n });\n }, 100);\n\n setAtBottom(true);\n };\n\n // This is a hack to force a scroll to the very bottom of the chat messages\n // on initial mount of the component.\n // For https://github.com/owncast/owncast/issues/2500\n useEffect(() => {\n setTimeout(() => {\n scrollChatToBottom(chatContainerRef, 'auto');\n }, 500);\n }, []);\n\n const MessagesTable = useMemo(\n () => (\n <>\n getViewForMessage(index, message)}\n followOutput={(isAtBottom: boolean) => {\n if (isAtBottom) {\n scrollChatToBottom(chatContainerRef, 'smooth');\n }\n return false;\n }}\n alignToBottom\n atBottomThreshold={70}\n atBottomStateChange={bottom => {\n setAtBottom(bottom);\n }}\n />\n {!atBottom && }\n \n ),\n [messages, usernameToHighlight, chatUserId, isModerator, atBottom],\n );\n\n return (\n
\n {MessagesTable}\n {showInput && (\n
\n \n
\n )}\n
\n );\n};\n\nChatContainer.defaultProps = {\n showInput: true,\n height: 'auto',\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatAction\":\"ChatActionMessage_chatAction__x9Xsg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"toBottomWrap\":\"ChatContainer_toBottomWrap__3V5wa\",\"nameChangeView\":\"ChatContainer_nameChangeView__ziyXN\",\"nameChangeText\":\"ChatContainer_nameChangeText__yXG__\",\"plain\":\"ChatContainer_plain__IPS19\",\"chatContainer\":\"ChatContainer_chatContainer__O2lYN\",\"virtuoso\":\"ChatContainer_virtuoso__OS9Kz\",\"chatTextField\":\"ChatContainer_chatTextField__OqCGL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatJoinMessage_root__vuVXa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatModerationNotification\":\"ChatModeratorNotification_chatModerationNotification__kgFWe\",\"icon\":\"ChatModeratorNotification_icon__7FdGg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chatSystemMessage\":\"ChatSystemMessage_chatSystemMessage__c6XEN\",\"user\":\"ChatSystemMessage_user__6yHSJ\",\"message\":\"ChatSystemMessage_message__ySq5g\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatTextField_root__4oUkJ\",\"inputWrap\":\"ChatTextField_inputWrap__1mAjD\",\"maxCharacters\":\"ChatTextField_maxCharacters__yGT4s\",\"emojiButton\":\"ChatTextField_emojiButton__ON_Cu\",\"sendButton\":\"ChatTextField_sendButton__MOmD4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"badge\":\"ChatUserBadge_badge__1EdUp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ChatUserMessage_root__79heB\",\"user\":\"ChatUserMessage_user__xUEp9\",\"message\":\"ChatUserMessage_message__MJ9LD\",\"ownMessage\":\"ChatUserMessage_ownMessage__d28A3\",\"background\":\"ChatUserMessage_background__Tfghp\",\"modMenuWrapper\":\"ChatUserMessage_modMenuWrapper__7fblv\",\"messagePadding\":\"ChatUserMessage_messagePadding__Xp1F6\",\"messagePaddingCollapsed\":\"ChatUserMessage_messagePaddingCollapsed__qxN0E\"};"],"names":["_linearGradient","_path","_path2","_path3","_path4","formatTimestamp","sentAt","now","Date","Number","isNaN","diffInDays","getDiffInDaysFromNow","localeDate","toLocaleDateString","dateStyle","concat","toLocaleTimeString","ChatUserBadge","badge","userColor","param","color","jsx_runtime","jsx","span","style","borderColor","className","styles","LinkOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","ChatModerationActionMenu","mod","Highlight","resolve","UserTooltip","children","user","displayName","createdAt","content","Tooltip","title","placement","mouseEnterDelay","ChatUserMessage","message","highlightString","showModeratorMenu","sentBySelf","sameUserAsLast","isAuthorModerator","isAuthorAuthenticated","id","messageId","body","timestamp","userId","displayColor","accessToken","useRecoilValue","accessTokenAtom","formattedTimestamp","formattedMessage","setFormattedMessage","useState","badgeNodes","push","useEffect","decodeHTML","div","cn","jsxs","search","dangerouslySetInnerHTML","__html","messageID","userID","userDisplayName","EmojiPicker","SendOutlined","SmileOutlined","Image","p","attributes","element","selected","useSelected","focused","useFocused","contentEditable","img","alt","src","name","display","maxWidth","maxHeight","boxShadow","withImages","editor","isVoid","type","isInline","serialize","node","Text","string","text","length","map","n","join","getCharacterCount","count","forEach","child","ChatTextField","defaultText","showEmojis","setShowEmojis","characterCount","setCharacterCount","websocketService","websocketServiceAtom","useMemo","withReact","createEditor","sendMessage","console","log","send","MessageType","Transforms","at","anchor","Editor","focus","createImageNode","insertImage","url","selection","image","select","parentNode","parentPath","path","Node","Path","force","onEmojiSelect","ReactEditor","emoji","onCustomEmojiSelect","onKeyDown","charCount","key","preventDefault","onPaste","clipboardData","getData","renderElement","classNames","Slate","value","Editable","placeholder","width","role","aria-label","autoFocus","Popover","trigger","onOpenChange","open","paddingLeft","button","onClick","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","moderator","props","react","createElement","height","viewBox","xmlns","gradientUnits","x1","x2","y1","y2","offset","stopColor","d","fill","transform","fillOpacity","stroke","strokeLinejoin","strokeWidth","ChatModeratorNotification","Icon","ChatSystemMessage","TeamOutlined","ChatJoinMessage","padding","fontWeight","VerticalAlignBottomOutlined","ScrollToBotBtn","chatContainerRef","messages","Button","icon","current","scrollToIndex","index","behavior","ChatActionMessage","EditFilled","checkIsModerator","scopes","includes","ChatContainer","usernameToHighlight","chatUserId","isModerator","showInput","atBottom","setAtBottom","useRef","getNameChangeViewForMessage","oldName","marginRight","margin","getUserJoinedMessage","getActionMessage","getConnectedInfoMessage","modStatusUpdate","getViewForMessage","_message_user_scopes","shouldCollapseMessages","lastMessage","lastTimestamp","getTime","thisTimestamp","maxTimestampDelta","authenticated","scrollChatToBottom","ref","setTimeout","MessagesTable","Fragment","Virtuoso","data","itemContent","followOutput","isAtBottom","alignToBottom","atBottomThreshold","atBottomStateChange","bottom","defaultProps","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/5314-884f8bccd1813650.js b/static/web/_next/static/chunks/5314-884f8bccd1813650.js new file mode 100644 index 000000000..158859c84 --- /dev/null +++ b/static/web/_next/static/chunks/5314-884f8bccd1813650.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5314],{25413:function(e,t){"use strict";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"}},6594:function(e,t){"use strict";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){"use strict";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,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(45799))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},68229:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(7500))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},67638:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(86994))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},97937:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var r=a(1413),n=a(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},o=a(42135),i=function(e,t){return n.createElement(o.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:l}))};i.displayName="CloseOutlined";var c=n.forwardRef(i)},45799:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(25413)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="BarsOutlined";var d=o.forwardRef(u);t.default=d},7500:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(6594)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="LeftOutlined";var d=o.forwardRef(u);t.default=d},86994:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(77307)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="RightOutlined";var d=o.forwardRef(u);t.default=d},97183:function(e,t,a){"use strict";var r=a(2897),n=a(7293),l=r.ZP;l.Header=r.h4,l.Footer=r.$_,l.Content=r.VY,l.Sider=n.Z,t.Z=l},26303:function(e,t,a){"use strict";a.d(t,{Z:function(){return C}});var r=a(4942),n=a(87462),l=a(71002),o=a(94184),i=a.n(o),c=a(67294),s=a(53124),u=a(98423),d=function(e){var t,a,l=e.prefixCls,o=e.className,s=e.style,u=e.size,d=e.shape,f=i()((t={},(0,r.Z)(t,"".concat(l,"-lg"),"large"===u),(0,r.Z)(t,"".concat(l,"-sm"),"small"===u),t)),p=i()((a={},(0,r.Z)(a,"".concat(l,"-circle"),"circle"===d),(0,r.Z)(a,"".concat(l,"-square"),"square"===d),(0,r.Z)(a,"".concat(l,"-round"),"round"===d),a)),m=c.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return c.createElement("span",{className:i()(l,f,p,o),style:(0,n.Z)((0,n.Z)({},m),s)})},f=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},m=a(42135),v=function(e,t){return c.createElement(m.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:t,icon:p}))};v.displayName="DotChartOutlined";var g=c.forwardRef(v),h=a(74902),y=function(e){var t=function(t){var a=e.width,r=e.rows;return Array.isArray(a)?a[t]:(void 0===r?2:r)-1===t?a:void 0},a=e.prefixCls,r=e.className,n=e.style,l=e.rows,o=(0,h.Z)(Array(l)).map(function(e,a){return c.createElement("li",{key:a,style:{width:t(a)}})});return c.createElement("ul",{className:i()(a,r),style:n},o)},w=function(e){var t=e.prefixCls,a=e.className,r=e.width,l=e.style;return c.createElement("h3",{className:i()(t,a),style:(0,n.Z)({width:r},l)})};function b(e){return e&&"object"===(0,l.Z)(e)?e:{}}var x=function(e){var t=e.prefixCls,a=e.loading,l=e.className,o=e.style,u=e.children,f=e.avatar,p=void 0!==f&&f,m=e.title,v=void 0===m||m,g=e.paragraph,h=void 0===g||g,x=e.active,C=e.round,E=c.useContext(s.E_),O=E.getPrefixCls,N=E.direction,_=O("skeleton",t);if(a||!("loading"in e)){var j=!!p,P=!!v,z=!!h;if(j){var Z=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-avatar")},P&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),b(p));S=c.createElement("div",{className:"".concat(_,"-header")},c.createElement(d,(0,n.Z)({},Z)))}if(P||z){if(P){var M,S,k,R,L,W=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-title")},!j&&z?{width:"38%"}:j&&z?{width:"50%"}:{}),b(v));R=c.createElement(w,(0,n.Z)({},W))}if(z){var A,B=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-paragraph")},(A={},j&&P||(A.width="61%"),!j&&P?A.rows=3:A.rows=2,A)),b(h));L=c.createElement(y,(0,n.Z)({},B))}k=c.createElement("div",{className:"".concat(_,"-content")},R,L)}var I=i()(_,(M={},(0,r.Z)(M,"".concat(_,"-with-avatar"),j),(0,r.Z)(M,"".concat(_,"-active"),x),(0,r.Z)(M,"".concat(_,"-rtl"),"rtl"===N),(0,r.Z)(M,"".concat(_,"-round"),C),M),l);return c.createElement("div",{className:I,style:o},S,k)}return void 0!==u?u:null};x.Button=function(e){var t,a=e.prefixCls,l=e.className,o=e.active,f=e.block,p=e.size,m=(0,c.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),g=i()(m,"".concat(m,"-element"),(t={},(0,r.Z)(t,"".concat(m,"-active"),o),(0,r.Z)(t,"".concat(m,"-block"),void 0!==f&&f),t),l);return c.createElement("div",{className:g},c.createElement(d,(0,n.Z)({prefixCls:"".concat(m,"-button"),size:void 0===p?"default":p},v)))},x.Avatar=function(e){var t=e.prefixCls,a=e.className,l=e.active,o=e.shape,f=e.size,p=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),m=(0,u.Z)(e,["prefixCls","className"]),v=i()(p,"".concat(p,"-element"),(0,r.Z)({},"".concat(p,"-active"),l),a);return c.createElement("div",{className:v},c.createElement(d,(0,n.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===o?"circle":o,size:void 0===f?"default":f},m)))},x.Input=function(e){var t,a=e.prefixCls,l=e.className,o=e.active,f=e.block,p=e.size,m=(0,c.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),g=i()(m,"".concat(m,"-element"),(t={},(0,r.Z)(t,"".concat(m,"-active"),o),(0,r.Z)(t,"".concat(m,"-block"),f),t),l);return c.createElement("div",{className:g},c.createElement(d,(0,n.Z)({prefixCls:"".concat(m,"-input"),size:void 0===p?"default":p},v)))},x.Image=function(e){var t=e.prefixCls,a=e.className,n=e.style,l=e.active,o=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),u=i()(o,"".concat(o,"-element"),(0,r.Z)({},"".concat(o,"-active"),l),a);return c.createElement("div",{className:u},c.createElement("div",{className:i()("".concat(o,"-image"),a),style:n},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},c.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},x.Node=function(e){var t=e.prefixCls,a=e.className,n=e.style,l=e.active,o=e.children,u=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),d=i()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),l),a),f=null!=o?o:c.createElement(g,null);return c.createElement("div",{className:d},c.createElement("div",{className:i()("".concat(u,"-image"),a),style:n},f))};var C=x},63406:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},87412:function(e,t,a){"use strict";var r,n=a(75263).default,l=a(64836).default;t.ZP=void 0;var o=l(a(38416)),i=l(a(10434)),c=l(a(27424)),s=l(a(54067)),u=l(a(68229)),d=l(a(67638)),f=l(a(94184)),p=l(a(18475)),m=n(a(67294)),v=a(31929),g=l(a(63406)),h=a(62704),y=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},w={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=m.createContext({}),x=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),C=m.forwardRef(function(e,t){var a,r,n,l,C,E,O,N,_,j,P=e.prefixCls,z=e.className,Z=e.trigger,M=e.children,S=e.defaultCollapsed,k=e.theme,R=e.style,L=e.collapsible,W=void 0!==L&&L,A=e.reverseArrow,B=void 0!==A&&A,I=e.width,q=e.collapsedWidth,D=void 0===q?80:q,H=e.zeroWidthTriggerStyle,F=e.breakpoint,T=e.onCollapse,V=e.onBreakpoint,G=y(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),U=(0,m.useContext)(h.LayoutContext).siderHook,J=(0,m.useState)("collapsed"in G?G.collapsed:void 0!==S&&S),$=(0,c.default)(J,2),Y=$[0],K=$[1],Q=(0,m.useState)(!1),X=(0,c.default)(Q,2),ee=X[0],et=X[1];(0,m.useEffect)(function(){"collapsed"in G&&K(G.collapsed)},[G.collapsed]);var ea=function(e,t){"collapsed"in G||K(e),null==T||T(e,t)},er=(0,m.useRef)();er.current=function(e){et(e.matches),null==V||V(e.matches),Y!==e.matches&&ea(e.matches,"responsive")},(0,m.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,a=window.matchMedia;if(a&&F&&F in w){t=a("(max-width: ".concat(w[F],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(a){null==t||t.removeListener(e)}}},[F]),(0,m.useEffect)(function(){var e=x("ant-sider-");return U.addSider(e),function(){return U.removeSider(e)}},[]);var en=function(){ea(!Y,"clickTrigger")},el=(0,m.useContext)(v.ConfigContext).getPrefixCls,eo=m.useMemo(function(){return{siderCollapsed:Y}},[Y]);return m.createElement(b.Provider,{value:eo},(r=el("layout-sider",P),n=(0,p.default)(G,["collapsed"]),l=Y?D:void 0===I?200:I,C=(0,g.default)(l)?"".concat(l,"px"):String(l),E=0===parseFloat(String(D||0))?m.createElement("span",{onClick:en,className:(0,f.default)("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(B?"right":"left")),style:H},Z||m.createElement(s.default,null)):null,O=({expanded:B?m.createElement(d.default,null):m.createElement(u.default,null),collapsed:B?m.createElement(u.default,null):m.createElement(d.default,null)})[Y?"collapsed":"expanded"],N=null!==Z?E||m.createElement("div",{className:"".concat(r,"-trigger"),onClick:en,style:{width:C}},Z||O):null,_=(0,i.default)((0,i.default)({},void 0===R?{}:R),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),j=(0,f.default)(r,"".concat(r,"-").concat(void 0===k?"dark":k),(a={},(0,o.default)(a,"".concat(r,"-collapsed"),!!Y),(0,o.default)(a,"".concat(r,"-has-trigger"),W&&null!==Z&&!E),(0,o.default)(a,"".concat(r,"-below"),!!ee),(0,o.default)(a,"".concat(r,"-zero-width"),0===parseFloat(C)),a),z),m.createElement("aside",(0,i.default)({className:j},n,{style:_,ref:t}),m.createElement("div",{className:"".concat(r,"-children")},M),W||ee&&E?N:null)))});t.ZP=C},62704:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var l=n(a(861)),o=n(a(38416)),i=n(a(27424)),c=n(a(10434)),s=n(a(94184)),u=r(a(67294)),d=a(31929),f=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},p=u.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function m(e){var t=e.suffixCls,a=e.tagName;return e.displayName,function(e){return u.forwardRef(function(r,n){var l=(0,u.useContext(d.ConfigContext).getPrefixCls)(t,r.prefixCls);return u.createElement(e,(0,c.default)({ref:n,prefixCls:l,tagName:a},r))})}}t.LayoutContext=p;var v=u.forwardRef(function(e,t){var a=e.prefixCls,r=e.className,n=e.children,l=e.tagName,o=f(e,["prefixCls","className","children","tagName"]),i=(0,s.default)(a,r);return u.createElement(l,(0,c.default)((0,c.default)({className:i},o),{ref:t}),n)}),g=u.forwardRef(function(e,t){var a,r=u.useContext(d.ConfigContext).direction,n=u.useState([]),m=(0,i.default)(n,2),v=m[0],g=m[1],h=e.prefixCls,y=e.className,w=e.children,b=e.hasSider,x=e.tagName,C=f(e,["prefixCls","className","children","hasSider","tagName"]),E=(0,s.default)(h,(a={},(0,o.default)(a,"".concat(h,"-has-sider"),"boolean"==typeof b?b:v.length>0),(0,o.default)(a,"".concat(h,"-rtl"),"rtl"===r),a),y),O=u.useMemo(function(){return{siderHook:{addSider:function(e){g(function(t){return[].concat((0,l.default)(t),[e])})},removeSider:function(e){g(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return u.createElement(p.Provider,{value:O},u.createElement(x,(0,c.default)({ref:t,className:E},C),w))}),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v);t.Header=y;var w=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v);t.Footer=w;var b=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);t.Content=b,t.default=h},19749:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(6495).Z,n=a(92648).Z,l=a(91598).Z,o=a(17273).Z,i=l(a(67294)),c=n(a(83121)),s=a(2675),u=a(10139),d=a(28730);a(57238);var f=n(a(89824));let p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function m(e){return void 0!==e.default}function v(e){return"number"==typeof e||void 0===e?e:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function g(e,t,a,n,l,o,i){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let c="decode"in e?e.decode():Promise.resolve();c.catch(()=>{}).then(()=>{if(e.parentNode){if("blur"===a&&o(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,c=!1;n.current(r({},t,{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>c,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{c=!0,t.stopPropagation()}}))}(null==l?void 0:l.current)&&l.current(e)}})}let h=i.forwardRef((e,t)=>{var{imgAttributes:a,heightInt:n,widthInt:l,qualityInt:c,className:s,imgStyle:u,blurStyle:d,isLazy:f,fill:p,placeholder:m,loading:v,srcString:h,config:y,unoptimized:w,loader:b,onLoadRef:x,onLoadingCompleteRef:C,setBlurComplete:E,setShowAltText:O,onLoad:N,onError:_}=e,j=o(e,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return v=f?"lazy":v,i.default.createElement(i.default.Fragment,null,i.default.createElement("img",Object.assign({},j,a,{width:l,height:n,decoding:"async","data-nimg":p?"fill":"1",className:s,loading:v,style:r({},u,d),ref:i.useCallback(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&g(e,h,m,x,C,E,w))},[h,m,x,C,E,_,w,t]),onLoad:e=>{let t=e.currentTarget;g(t,h,m,x,C,E,w)},onError:e=>{O(!0),"blur"===m&&E(!0),_&&_(e)}})))}),y=i.forwardRef((e,t)=>{let a,n;var l,{src:g,sizes:y,unoptimized:w=!1,priority:b=!1,loading:x,className:C,quality:E,width:O,height:N,fill:_,style:j,onLoad:P,onLoadingComplete:z,placeholder:Z="empty",blurDataURL:M,layout:S,objectFit:k,objectPosition:R,lazyBoundary:L,lazyRoot:W}=e,A=o(e,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let B=i.useContext(d.ImageConfigContext),I=i.useMemo(()=>{let e=p||B||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),a=e.deviceSizes.sort((e,t)=>e-t);return r({},e,{allSizes:t,deviceSizes:a})},[B]),q=A,D=q.loader||f.default;delete q.loader;let H="__next_img_default"in D;if(H){if("custom"===I.loader)throw Error('Image with src "'.concat(g,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let F=D;D=e=>{let{config:t}=e,a=o(e,["config"]);return F(a)}}if(S){"fill"===S&&(_=!0);let T={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];T&&(j=r({},j,T));let V={responsive:"100vw",fill:"100vw"}[S];V&&!y&&(y=V)}let G="",U=v(O),J=v(N);if("object"==typeof(l=g)&&(m(l)||void 0!==l.src)){let $=m(g)?g.default:g;if(!$.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify($)));if(!$.height||!$.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify($)));if(a=$.blurWidth,n=$.blurHeight,M=M||$.blurDataURL,G=$.src,!_){if(U||J){if(U&&!J){let Y=U/$.width;J=Math.round($.height*Y)}else if(!U&&J){let K=J/$.height;U=Math.round($.width*K)}}else U=$.width,J=$.height}}let Q=!b&&("lazy"===x||void 0===x);((g="string"==typeof g?g:G).startsWith("data:")||g.startsWith("blob:"))&&(w=!0,Q=!1),I.unoptimized&&(w=!0),H&&g.endsWith(".svg")&&!I.dangerouslyAllowSVG&&(w=!0);let[X,ee]=i.useState(!1),[et,ea]=i.useState(!1),er=v(E),en=Object.assign(_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:R}:{},et?{}:{color:"transparent"},j),el="blur"===Z&&M&&!X?{backgroundSize:en.objectFit||"cover",backgroundPosition:en.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(s.getImageBlurSvg({widthInt:U,heightInt:J,blurWidth:a,blurHeight:n,blurDataURL:M}),'")')}:{},eo=function(e){let{config:t,src:a,unoptimized:r,width:n,quality:l,sizes:o,loader:i}=e;if(r)return{src:a,srcSet:void 0,sizes:void 0};let{widths:c,kind:s}=function(e,t,a){let{deviceSizes:r,allSizes:n}=e;if(a){let l=/(^|\s)(1?\d?\d)vw/g,o=[];for(let i;i=l.exec(a);i)o.push(parseInt(i[2]));if(o.length){let c=.01*Math.min(...o);return{widths:n.filter(e=>e>=r[0]*c),kind:"w"}}return{widths:n,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let s=[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))];return{widths:s,kind:"x"}}(t,n,o),u=c.length-1;return{sizes:o||"w"!==s?o:"100vw",srcSet:c.map((e,r)=>"".concat(i({config:t,src:a,quality:l,width:e})," ").concat("w"===s?e:r+1).concat(s)).join(", "),src:i({config:t,src:a,quality:l,width:c[u]})}}({config:I,src:g,unoptimized:w,width:U,quality:er,sizes:y,loader:D}),ei=g,ec={imageSrcSet:eo.srcSet,imageSizes:eo.sizes,crossOrigin:q.crossOrigin},es=i.useRef(P);i.useEffect(()=>{es.current=P},[P]);let eu=i.useRef(z);i.useEffect(()=>{eu.current=z},[z]);let ed=r({isLazy:Q,imgAttributes:eo,heightInt:J,widthInt:U,qualityInt:er,className:C,imgStyle:en,blurStyle:el,loading:x,config:I,fill:_,unoptimized:w,placeholder:Z,loader:D,srcString:ei,onLoadRef:es,onLoadingCompleteRef:eu,setBlurComplete:ee,setShowAltText:ea},q);return i.default.createElement(i.default.Fragment,null,i.default.createElement(h,Object.assign({},ed,{ref:t})),b?i.default.createElement(c.default,null,i.default.createElement("link",Object.assign({key:"__nimg-"+eo.src+eo.srcSet+eo.sizes,rel:"preload",as:"image",href:eo.srcSet?void 0:eo.src},ec))):null)});t.default=y,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageBlurSvg=function(e){let{widthInt:t,heightInt:a,blurWidth:r,blurHeight:n,blurDataURL:l}=e,o=r||t,i=n||a,c=l.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return o&&i?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(o," ").concat(i,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r&&n?"1":"20","'/%3E").concat(c,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(l,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(l,"'/%3E%3C/svg%3E")}},89824:function(e,t){"use strict";function a(e){let{config:t,src:a,width:r,quality:n}=e;return"".concat(t.path,"?url=").concat(encodeURIComponent(a),"&w=").concat(r,"&q=").concat(n||75)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a.__next_img_default=!0,t.default=a},9008:function(e,t,a){e.exports=a(83121)},25675:function(e,t,a){e.exports=a(19749)}}]); +//# sourceMappingURL=5314-884f8bccd1813650.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/5314-884f8bccd1813650.js.map b/static/web/_next/static/chunks/5314-884f8bccd1813650.js.map new file mode 100644 index 000000000..513b163e8 --- /dev/null +++ b/static/web/_next/static/chunks/5314-884f8bccd1813650.js.map @@ -0,0 +1 @@ +{"version":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q,GAAW,GACpF,CAtCAzV,OAAAA,cAAAA,CAAAA,EAAAA,aAA6C,CACzCG,MAAO,EACX,GACAD,EAAAA,OAAe,CAAG,KAAK,EAsCvBsa,EAAcG,kBAAkB,CAAG,GAEnCza,EAAAA,OAAe,CADAsa,wBC3Cfha,EAAAN,OAAA,CAAAI,EAAA,8BCAAE,EAAAN,OAAA,CAAAI,EAAA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CloseOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/RightOutlined.js","webpack://_N_E/./node_modules/antd/es/layout/index.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/antd/lib/_util/isNumeric.js","webpack://_N_E/./node_modules/antd/lib/layout/Sider.js","webpack://_N_E/./node_modules/antd/lib/layout/layout.js","webpack://_N_E/./node_modules/next/dist/client/image.js","webpack://_N_E/./node_modules/next/dist/shared/lib/image-blur-svg.js","webpack://_N_E/./node_modules/next/dist/shared/lib/image-loader.js","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/./node_modules/next/image.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BarsOutlined = { \"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\" };\nexports.default = BarsOutlined;\n","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar LeftOutlined = { \"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\" };\nexports.default = LeftOutlined;\n","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RightOutlined = { \"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\" };\nexports.default = RightOutlined;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _BarsOutlined = _interopRequireDefault(require('./lib/icons/BarsOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _BarsOutlined;\n exports.default = _default;\n module.exports = _default;","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _LeftOutlined = _interopRequireDefault(require('./lib/icons/LeftOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _LeftOutlined;\n exports.default = _default;\n module.exports = _default;","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _RightOutlined = _interopRequireDefault(require('./lib/icons/RightOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _RightOutlined;\n exports.default = _default;\n module.exports = _default;","// This icon file is generated automatically.\nvar CloseOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z\" } }] }, \"name\": \"close\", \"theme\": \"outlined\" };\nexport default CloseOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CloseOutlinedSvg from \"@ant-design/icons-svg/es/asn/CloseOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CloseOutlined = function CloseOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CloseOutlinedSvg\n }));\n};\nCloseOutlined.displayName = 'CloseOutlined';\nexport default /*#__PURE__*/React.forwardRef(CloseOutlined);","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _BarsOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/BarsOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar BarsOutlined = function BarsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _BarsOutlined.default\n }));\n};\nBarsOutlined.displayName = 'BarsOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(BarsOutlined);\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _LeftOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/LeftOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _LeftOutlined.default\n }));\n};\nLeftOutlined.displayName = 'LeftOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(LeftOutlined);\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _RightOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/RightOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _RightOutlined.default\n }));\n};\nRightOutlined.displayName = 'RightOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(RightOutlined);\nexports.default = _default;","import InternalLayout, { Content, Footer, Header } from './layout';\nimport Sider from './Sider';\nvar Layout = InternalLayout;\nLayout.Header = Header;\nLayout.Footer = Footer;\nLayout.Content = Content;\nLayout.Sider = Sider;\nexport default Layout;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar isNumeric = function isNumeric(value) {\n return !isNaN(parseFloat(value)) && isFinite(value);\n};\nvar _default = isNumeric;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.SiderContext = void 0;\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _BarsOutlined = _interopRequireDefault(require(\"@ant-design/icons/BarsOutlined\"));\nvar _LeftOutlined = _interopRequireDefault(require(\"@ant-design/icons/LeftOutlined\"));\nvar _RightOutlined = _interopRequireDefault(require(\"@ant-design/icons/RightOutlined\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar _isNumeric = _interopRequireDefault(require(\"../_util/isNumeric\"));\nvar _layout = require(\"./layout\");\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nvar SiderContext = /*#__PURE__*/React.createContext({});\nexports.SiderContext = SiderContext;\nvar generateId = function () {\n var i = 0;\n return function () {\n var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return \"\".concat(prefix).concat(i);\n };\n}();\nvar Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n trigger = _a.trigger,\n children = _a.children,\n _a$defaultCollapsed = _a.defaultCollapsed,\n defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n _a$theme = _a.theme,\n theme = _a$theme === void 0 ? 'dark' : _a$theme,\n _a$style = _a.style,\n style = _a$style === void 0 ? {} : _a$style,\n _a$collapsible = _a.collapsible,\n collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n _a$reverseArrow = _a.reverseArrow,\n reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n _a$width = _a.width,\n width = _a$width === void 0 ? 200 : _a$width,\n _a$collapsedWidth = _a.collapsedWidth,\n collapsedWidth = _a$collapsedWidth === void 0 ? 80 : _a$collapsedWidth,\n zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n breakpoint = _a.breakpoint,\n onCollapse = _a.onCollapse,\n onBreakpoint = _a.onBreakpoint,\n props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n var _useContext = (0, React.useContext)(_layout.LayoutContext),\n siderHook = _useContext.siderHook;\n var _useState = (0, React.useState)('collapsed' in props ? props.collapsed : defaultCollapsed),\n _useState2 = (0, _slicedToArray2[\"default\"])(_useState, 2),\n collapsed = _useState2[0],\n setCollapsed = _useState2[1];\n var _useState3 = (0, React.useState)(false),\n _useState4 = (0, _slicedToArray2[\"default\"])(_useState3, 2),\n below = _useState4[0],\n setBelow = _useState4[1];\n (0, React.useEffect)(function () {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n var handleSetCollapsed = function handleSetCollapsed(value, type) {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // ========================= Responsive =========================\n var responsiveHandlerRef = (0, React.useRef)();\n responsiveHandlerRef.current = function (mql) {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n (0, React.useEffect)(function () {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n var mql;\n if (typeof window !== 'undefined') {\n var _window = window,\n matchMedia = _window.matchMedia;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (error) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return function () {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (error) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n (0, React.useEffect)(function () {\n var uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return function () {\n return siderHook.removeSider(uniqueId);\n };\n }, []);\n var toggle = function toggle() {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n var _useContext2 = (0, React.useContext)(_configProvider.ConfigContext),\n getPrefixCls = _useContext2.getPrefixCls;\n var renderSider = function renderSider() {\n var _classNames;\n var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n var divProps = (0, _omit[\"default\"])(props, ['collapsed']);\n var rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n var siderWidth = (0, _isNumeric[\"default\"])(rawWidth) ? \"\".concat(rawWidth, \"px\") : String(rawWidth);\n // special trigger when collapsedWidth == 0\n var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: (0, _classnames[\"default\"])(\"\".concat(prefixCls, \"-zero-width-trigger\"), \"\".concat(prefixCls, \"-zero-width-trigger-\").concat(reverseArrow ? 'right' : 'left')),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(_BarsOutlined[\"default\"], null)) : null;\n var iconObj = {\n expanded: reverseArrow ? /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null),\n collapsed: reverseArrow ? /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null)\n };\n var status = collapsed ? 'collapsed' : 'expanded';\n var defaultTrigger = iconObj[status];\n var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-trigger\"),\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger) : null;\n var divStyle = (0, _extends2[\"default\"])((0, _extends2[\"default\"])({}, style), {\n flex: \"0 0 \".concat(siderWidth),\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n var siderCls = (0, _classnames[\"default\"])(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme), (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n return /*#__PURE__*/React.createElement(\"aside\", (0, _extends2[\"default\"])({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-children\")\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n };\n var contextValue = React.useMemo(function () {\n return {\n siderCollapsed: collapsed\n };\n }, [collapsed]);\n return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nvar _default = Sider;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.LayoutContext = exports.Header = exports.Footer = exports.Content = void 0;\nvar _toConsumableArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar LayoutContext = /*#__PURE__*/React.createContext({\n siderHook: {\n addSider: function addSider() {\n return null;\n },\n removeSider: function removeSider() {\n return null;\n }\n }\n});\nexports.LayoutContext = LayoutContext;\nfunction generator(_ref) {\n var suffixCls = _ref.suffixCls,\n tagName = _ref.tagName,\n displayName = _ref.displayName;\n return function (BasicComponent) {\n var Adapter = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(_configProvider.ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls;\n var prefixCls = getPrefixCls(suffixCls, customizePrefixCls);\n return /*#__PURE__*/React.createElement(BasicComponent, (0, _extends2[\"default\"])({\n ref: ref,\n prefixCls: prefixCls,\n tagName: tagName\n }, props));\n });\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nvar Basic = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n tagName = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"tagName\"]);\n var classString = (0, _classnames[\"default\"])(prefixCls, className);\n return /*#__PURE__*/React.createElement(tagName, (0, _extends2[\"default\"])((0, _extends2[\"default\"])({\n className: classString\n }, others), {\n ref: ref\n }), children);\n});\nvar BasicLayout = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext2 = React.useContext(_configProvider.ConfigContext),\n direction = _React$useContext2.direction;\n var _React$useState = React.useState([]),\n _React$useState2 = (0, _slicedToArray2[\"default\"])(_React$useState, 2),\n siders = _React$useState2[0],\n setSiders = _React$useState2[1];\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n hasSider = props.hasSider,\n Tag = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"hasSider\", \"tagName\"]);\n var classString = (0, _classnames[\"default\"])(prefixCls, (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-sider\"), typeof hasSider === 'boolean' ? hasSider : siders.length > 0), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var contextValue = React.useMemo(function () {\n return {\n siderHook: {\n addSider: function addSider(id) {\n setSiders(function (prev) {\n return [].concat((0, _toConsumableArray2[\"default\"])(prev), [id]);\n });\n },\n removeSider: function removeSider(id) {\n setSiders(function (prev) {\n return prev.filter(function (currentId) {\n return currentId !== id;\n });\n });\n }\n }\n };\n }, []);\n return /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, (0, _extends2[\"default\"])({\n ref: ref,\n className: classString\n }, others), children));\n});\nvar Layout = generator({\n suffixCls: 'layout',\n tagName: 'section',\n displayName: 'Layout'\n})(BasicLayout);\nvar Header = generator({\n suffixCls: 'layout-header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nexports.Header = Header;\nvar Footer = generator({\n suffixCls: 'layout-footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nexports.Footer = Footer;\nvar Content = generator({\n suffixCls: 'layout-content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexports.Content = Content;\nvar _default = Layout;\nexports[\"default\"] = _default;","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _object_without_properties_loose = require(\"@swc/helpers/lib/_object_without_properties_loose.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _head = _interop_require_default(require(\"../shared/lib/head\"));\nvar _imageBlurSvg = require(\"../shared/lib/image-blur-svg\");\nvar _imageConfig = require(\"../shared/lib/image-config\");\nvar _imageConfigContext = require(\"../shared/lib/image-config-context\");\nvar _warnOnce = require(\"../shared/lib/utils/warn-once\");\nvar _imageLoader = _interop_require_default(require(\"next/dist/shared/lib/image-loader\"));\n\nconst configEnv = process.env.__NEXT_IMAGE_OPTS;\nconst allImgs = new Map();\nlet perfObserver;\nif (typeof window === 'undefined') {\n globalThis.__NEXT_IMAGE_IMPORTED = true;\n}\nconst VALID_LOADING_VALUES = [\n 'lazy',\n 'eager',\n undefined\n];\nfunction isStaticRequire(src) {\n return src.default !== undefined;\n}\nfunction isStaticImageData(src) {\n return src.src !== undefined;\n}\nfunction isStaticImport(src) {\n return typeof src === 'object' && (isStaticRequire(src) || isStaticImageData(src));\n}\nfunction getWidths({ deviceSizes , allSizes }, width, sizes) {\n if (sizes) {\n // Find all the \"vw\" percent sizes used in the sizes prop\n const viewportWidthRe = /(^|\\s)(1?\\d?\\d)vw/g;\n const percentSizes = [];\n for(let match; match = viewportWidthRe.exec(sizes); match){\n percentSizes.push(parseInt(match[2]));\n }\n if (percentSizes.length) {\n const smallestRatio = Math.min(...percentSizes) * 0.01;\n return {\n widths: allSizes.filter((s)=>s >= deviceSizes[0] * smallestRatio),\n kind: 'w'\n };\n }\n return {\n widths: allSizes,\n kind: 'w'\n };\n }\n if (typeof width !== 'number') {\n return {\n widths: deviceSizes,\n kind: 'w'\n };\n }\n const widths = [\n ...new Set(// > This means that most OLED screens that say they are 3x resolution,\n // > are actually 3x in the green color, but only 1.5x in the red and\n // > blue colors. Showing a 3x resolution image in the app vs a 2x\n // > resolution image will be visually the same, though the 3x image\n // > takes significantly more data. Even true 3x resolution screens are\n // > wasteful as the human eye cannot see that level of detail without\n // > something like a magnifying glass.\n // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html\n [\n width,\n width * 2 /*, width * 3*/ \n ].map((w)=>allSizes.find((p)=>p >= w) || allSizes[allSizes.length - 1])), \n ];\n return {\n widths,\n kind: 'x'\n };\n}\nfunction generateImgAttrs({ config , src , unoptimized , width , quality , sizes , loader }) {\n if (unoptimized) {\n return {\n src,\n srcSet: undefined,\n sizes: undefined\n };\n }\n const { widths , kind } = getWidths(config, width, sizes);\n const last = widths.length - 1;\n return {\n sizes: !sizes && kind === 'w' ? '100vw' : sizes,\n srcSet: widths.map((w, i)=>`${loader({\n config,\n src,\n quality,\n width: w\n })} ${kind === 'w' ? w : i + 1}${kind}`).join(', '),\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n src: loader({\n config,\n src,\n quality,\n width: widths[last]\n })\n };\n}\nfunction getInt(x) {\n if (typeof x === 'number' || typeof x === 'undefined') {\n return x;\n }\n if (typeof x === 'string' && /^[0-9]+$/.test(x)) {\n return parseInt(x, 10);\n }\n return NaN;\n}\n// See https://stackoverflow.com/q/39777833/266535 for why we use this ref\n// handler instead of the img's onLoad attribute.\nfunction handleLoading(img, src, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized) {\n if (!img || img['data-loaded-src'] === src) {\n return;\n }\n img['data-loaded-src'] = src;\n const p = 'decode' in img ? img.decode() : Promise.resolve();\n p.catch(()=>{}).then(()=>{\n if (!img.parentNode) {\n // Exit early in case of race condition:\n // - onload() is called\n // - decode() is called but incomplete\n // - unmount is called\n // - decode() completes\n return;\n }\n if (placeholder === 'blur') {\n setBlurComplete(true);\n }\n if (onLoadRef == null ? void 0 : onLoadRef.current) {\n // Since we don't have the SyntheticEvent here,\n // we must create one with the same shape.\n // See https://reactjs.org/docs/events.html\n const event = new Event('load');\n Object.defineProperty(event, 'target', {\n writable: false,\n value: img\n });\n let prevented = false;\n let stopped = false;\n onLoadRef.current(_extends({}, event, {\n nativeEvent: event,\n currentTarget: img,\n target: img,\n isDefaultPrevented: ()=>prevented,\n isPropagationStopped: ()=>stopped,\n persist: ()=>{},\n preventDefault: ()=>{\n prevented = true;\n event.preventDefault();\n },\n stopPropagation: ()=>{\n stopped = true;\n event.stopPropagation();\n }\n }));\n }\n if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {\n onLoadingCompleteRef.current(img);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (img.getAttribute('data-nimg') === 'fill') {\n if (!unoptimized && (!img.getAttribute('sizes') || img.getAttribute('sizes') === '100vw')) {\n let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;\n if (widthViewportRatio < 0.6) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" but is missing \"sizes\" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);\n }\n }\n if (img.parentElement) {\n const { position } = window.getComputedStyle(img.parentElement);\n const valid = [\n 'absolute',\n 'fixed',\n 'relative'\n ];\n if (!valid.includes(position)) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" and parent element with invalid \"position\". Provided \"${position}\" should be one of ${valid.map(String).join(',')}.`);\n }\n }\n if (img.height === 0) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`);\n }\n }\n const heightModified = img.height.toString() !== img.getAttribute('height');\n const widthModified = img.width.toString() !== img.getAttribute('width');\n if (heightModified && !widthModified || !heightModified && widthModified) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: \"auto\"' or 'height: \"auto\"' to maintain the aspect ratio.`);\n }\n }\n });\n}\nconst ImageElement = /*#__PURE__*/ (0, _react).forwardRef((_param, forwardedRef)=>{\n var { imgAttributes , heightInt , widthInt , qualityInt , className , imgStyle , blurStyle , isLazy , fill , placeholder , loading , srcString , config , unoptimized , loader , onLoadRef , onLoadingCompleteRef , setBlurComplete , setShowAltText , onLoad , onError } = _param, rest = _object_without_properties_loose(_param, [\n \"imgAttributes\",\n \"heightInt\",\n \"widthInt\",\n \"qualityInt\",\n \"className\",\n \"imgStyle\",\n \"blurStyle\",\n \"isLazy\",\n \"fill\",\n \"placeholder\",\n \"loading\",\n \"srcString\",\n \"config\",\n \"unoptimized\",\n \"loader\",\n \"onLoadRef\",\n \"onLoadingCompleteRef\",\n \"setBlurComplete\",\n \"setShowAltText\",\n \"onLoad\",\n \"onError\"\n ]);\n loading = isLazy ? 'lazy' : loading;\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(\"img\", Object.assign({}, rest, imgAttributes, {\n width: widthInt,\n height: heightInt,\n decoding: \"async\",\n \"data-nimg\": fill ? 'fill' : '1',\n className: className,\n // @ts-ignore - TODO: upgrade to `@types/react@17`\n loading: loading,\n style: _extends({}, imgStyle, blurStyle),\n ref: (0, _react).useCallback((img)=>{\n if (forwardedRef) {\n if (typeof forwardedRef === 'function') forwardedRef(img);\n else if (typeof forwardedRef === 'object') {\n // @ts-ignore - .current is read only it's usually assigned by react internally\n forwardedRef.current = img;\n }\n }\n if (!img) {\n return;\n }\n if (onError) {\n // If the image has an error before react hydrates, then the error is lost.\n // The workaround is to wait until the image is mounted which is after hydration,\n // then we set the src again to trigger the error handler (if there was an error).\n // eslint-disable-next-line no-self-assign\n img.src = img.src;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!srcString) {\n console.error(`Image is missing required \"src\" property:`, img);\n }\n if (img.getAttribute('alt') === null) {\n console.error(`Image is missing required \"alt\" property. Please add Alternative Text to describe the image for screen readers and search engines.`);\n }\n }\n if (img.complete) {\n handleLoading(img, srcString, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized);\n }\n }, [\n srcString,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n onError,\n unoptimized,\n forwardedRef, \n ]),\n onLoad: (event)=>{\n const img = event.currentTarget;\n handleLoading(img, srcString, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized);\n },\n onError: (event)=>{\n // if the real image fails to load, this will ensure \"alt\" is visible\n setShowAltText(true);\n if (placeholder === 'blur') {\n // If the real image fails to load, this will still remove the placeholder.\n setBlurComplete(true);\n }\n if (onError) {\n onError(event);\n }\n }\n })));\n});\nconst Image = /*#__PURE__*/ (0, _react).forwardRef((_param, forwardedRef)=>{\n var { src , sizes , unoptimized =false , priority =false , loading , className , quality , width , height , fill , style , onLoad , onLoadingComplete , placeholder ='empty' , blurDataURL , layout , objectFit , objectPosition , lazyBoundary , lazyRoot } = _param, all = _object_without_properties_loose(_param, [\n \"src\",\n \"sizes\",\n \"unoptimized\",\n \"priority\",\n \"loading\",\n \"className\",\n \"quality\",\n \"width\",\n \"height\",\n \"fill\",\n \"style\",\n \"onLoad\",\n \"onLoadingComplete\",\n \"placeholder\",\n \"blurDataURL\",\n \"layout\",\n \"objectFit\",\n \"objectPosition\",\n \"lazyBoundary\",\n \"lazyRoot\"\n ]);\n const configContext = (0, _react).useContext(_imageConfigContext.ImageConfigContext);\n const config = (0, _react).useMemo(()=>{\n const c = configEnv || configContext || _imageConfig.imageConfigDefault;\n const allSizes = [\n ...c.deviceSizes,\n ...c.imageSizes\n ].sort((a, b)=>a - b);\n const deviceSizes = c.deviceSizes.sort((a, b)=>a - b);\n return _extends({}, c, {\n allSizes,\n deviceSizes\n });\n }, [\n configContext\n ]);\n let rest = all;\n let loader = rest.loader || _imageLoader.default;\n // Remove property so it's not spread on element\n delete rest.loader;\n // This special value indicates that the user\n // didn't define a \"loader\" prop or \"loader\" config.\n const isDefaultLoader = '__next_img_default' in loader;\n if (isDefaultLoader) {\n if (config.loader === 'custom') {\n throw new Error(`Image with src \"${src}\" is missing \"loader\" prop.` + `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`);\n }\n } else {\n // The user defined a \"loader\" prop or config.\n // Since the config object is internal only, we\n // must not pass it to the user-defined \"loader\".\n const customImageLoader = loader;\n var _tmp;\n _tmp = (obj)=>{\n const { config: _ } = obj, opts = _object_without_properties_loose(obj, [\n \"config\"\n ]);\n return customImageLoader(opts);\n }, loader = _tmp, _tmp;\n }\n if (layout) {\n if (layout === 'fill') {\n fill = true;\n }\n const layoutToStyle = {\n intrinsic: {\n maxWidth: '100%',\n height: 'auto'\n },\n responsive: {\n width: '100%',\n height: 'auto'\n }\n };\n const layoutToSizes = {\n responsive: '100vw',\n fill: '100vw'\n };\n const layoutStyle = layoutToStyle[layout];\n if (layoutStyle) {\n style = _extends({}, style, layoutStyle);\n }\n const layoutSizes = layoutToSizes[layout];\n if (layoutSizes && !sizes) {\n sizes = layoutSizes;\n }\n }\n let staticSrc = '';\n let widthInt = getInt(width);\n let heightInt = getInt(height);\n let blurWidth;\n let blurHeight;\n if (isStaticImport(src)) {\n const staticImageData = isStaticRequire(src) ? src.default : src;\n if (!staticImageData.src) {\n throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(staticImageData)}`);\n }\n if (!staticImageData.height || !staticImageData.width) {\n throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(staticImageData)}`);\n }\n blurWidth = staticImageData.blurWidth;\n blurHeight = staticImageData.blurHeight;\n blurDataURL = blurDataURL || staticImageData.blurDataURL;\n staticSrc = staticImageData.src;\n if (!fill) {\n if (!widthInt && !heightInt) {\n widthInt = staticImageData.width;\n heightInt = staticImageData.height;\n } else if (widthInt && !heightInt) {\n const ratio = widthInt / staticImageData.width;\n heightInt = Math.round(staticImageData.height * ratio);\n } else if (!widthInt && heightInt) {\n const ratio = heightInt / staticImageData.height;\n widthInt = Math.round(staticImageData.width * ratio);\n }\n }\n }\n src = typeof src === 'string' ? src : staticSrc;\n let isLazy = !priority && (loading === 'lazy' || typeof loading === 'undefined');\n if (src.startsWith('data:') || src.startsWith('blob:')) {\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\n unoptimized = true;\n isLazy = false;\n }\n if (config.unoptimized) {\n unoptimized = true;\n }\n if (isDefaultLoader && src.endsWith('.svg') && !config.dangerouslyAllowSVG) {\n // Special case to make svg serve as-is to avoid proxying\n // through the built-in Image Optimization API.\n unoptimized = true;\n }\n const [blurComplete, setBlurComplete] = (0, _react).useState(false);\n const [showAltText, setShowAltText] = (0, _react).useState(false);\n const qualityInt = getInt(quality);\n if (process.env.NODE_ENV !== 'production') {\n if (!src) {\n // React doesn't show the stack trace and there's\n // no `src` to help identify which image, so we\n // instead console.error(ref) during mount.\n unoptimized = true;\n } else {\n if (fill) {\n if (width) {\n throw new Error(`Image with src \"${src}\" has both \"width\" and \"fill\" properties. Only one should be used.`);\n }\n if (height) {\n throw new Error(`Image with src \"${src}\" has both \"height\" and \"fill\" properties. Only one should be used.`);\n }\n if ((style == null ? void 0 : style.position) && style.position !== 'absolute') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.position\" properties. Images with \"fill\" always use position absolute - it cannot be modified.`);\n }\n if ((style == null ? void 0 : style.width) && style.width !== '100%') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.width\" properties. Images with \"fill\" always use width 100% - it cannot be modified.`);\n }\n if ((style == null ? void 0 : style.height) && style.height !== '100%') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.height\" properties. Images with \"fill\" always use height 100% - it cannot be modified.`);\n }\n } else {\n if (typeof widthInt === 'undefined') {\n throw new Error(`Image with src \"${src}\" is missing required \"width\" property.`);\n } else if (isNaN(widthInt)) {\n throw new Error(`Image with src \"${src}\" has invalid \"width\" property. Expected a numeric value in pixels but received \"${width}\".`);\n }\n if (typeof heightInt === 'undefined') {\n throw new Error(`Image with src \"${src}\" is missing required \"height\" property.`);\n } else if (isNaN(heightInt)) {\n throw new Error(`Image with src \"${src}\" has invalid \"height\" property. Expected a numeric value in pixels but received \"${height}\".`);\n }\n }\n }\n if (!VALID_LOADING_VALUES.includes(loading)) {\n throw new Error(`Image with src \"${src}\" has invalid \"loading\" property. Provided \"${loading}\" should be one of ${VALID_LOADING_VALUES.map(String).join(',')}.`);\n }\n if (priority && loading === 'lazy') {\n throw new Error(`Image with src \"${src}\" has both \"priority\" and \"loading='lazy'\" properties. Only one should be used.`);\n }\n if (placeholder === 'blur') {\n if (widthInt && heightInt && widthInt * heightInt < 1600) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" is smaller than 40x40. Consider removing the \"placeholder='blur'\" property to improve performance.`);\n }\n if (!blurDataURL) {\n const VALID_BLUR_EXT = [\n 'jpeg',\n 'png',\n 'webp',\n 'avif'\n ] // should match next-image-loader\n ;\n throw new Error(`Image with src \"${src}\" has \"placeholder='blur'\" property but is missing the \"blurDataURL\" property.\n Possible solutions:\n - Add a \"blurDataURL\" property, the contents should be a small Data URL to represent the image\n - Change the \"src\" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(',')}\n - Remove the \"placeholder\" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`);\n }\n }\n if ('ref' in rest) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" is using unsupported \"ref\" property. Consider using the \"onLoadingComplete\" property instead.`);\n }\n if (!unoptimized && loader !== _imageLoader.default) {\n const urlStr = loader({\n config,\n src,\n width: widthInt || 400,\n quality: qualityInt || 75\n });\n let url;\n try {\n url = new URL(urlStr);\n } catch (err) {}\n if (urlStr === src || url && url.pathname === src && !url.search) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has a \"loader\" property that does not implement width. Please implement it or use the \"unoptimized\" property instead.` + `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);\n }\n }\n for (const [legacyKey, legacyValue] of Object.entries({\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot\n })){\n if (legacyValue) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has legacy prop \"${legacyKey}\". Did you forget to run the codemod?` + `\\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);\n }\n }\n if (typeof window !== 'undefined' && !perfObserver && window.PerformanceObserver) {\n perfObserver = new PerformanceObserver((entryList)=>{\n for (const entry of entryList.getEntries()){\n var ref;\n // @ts-ignore - missing \"LargestContentfulPaint\" class with \"element\" prop\n const imgSrc = (entry == null ? void 0 : (ref = entry.element) == null ? void 0 : ref.src) || '';\n const lcpImage = allImgs.get(imgSrc);\n if (lcpImage && !lcpImage.priority && lcpImage.placeholder !== 'blur' && !lcpImage.src.startsWith('data:') && !lcpImage.src.startsWith('blob:')) {\n // https://web.dev/lcp/#measure-lcp-in-javascript\n (0, _warnOnce).warnOnce(`Image with src \"${lcpImage.src}\" was detected as the Largest Contentful Paint (LCP). Please add the \"priority\" property if this image is above the fold.` + `\\nRead more: https://nextjs.org/docs/api-reference/next/image#priority`);\n }\n }\n });\n try {\n perfObserver.observe({\n type: 'largest-contentful-paint',\n buffered: true\n });\n } catch (err) {\n // Log error but don't crash the app\n console.error(err);\n }\n }\n }\n const imgStyle = Object.assign(fill ? {\n position: 'absolute',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n objectFit,\n objectPosition\n } : {}, showAltText ? {} : {\n color: 'transparent'\n }, style);\n const blurStyle = placeholder === 'blur' && blurDataURL && !blurComplete ? {\n backgroundSize: imgStyle.objectFit || 'cover',\n backgroundPosition: imgStyle.objectPosition || '50% 50%',\n backgroundRepeat: 'no-repeat',\n backgroundImage: `url(\"data:image/svg+xml;charset=utf-8,${(0, _imageBlurSvg).getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL\n })}\")`\n } : {};\n if (process.env.NODE_ENV === 'development') {\n if (blurStyle.backgroundImage && (blurDataURL == null ? void 0 : blurDataURL.startsWith('/'))) {\n // During `next dev`, we don't want to generate blur placeholders with webpack\n // because it can delay starting the dev server. Instead, `next-image-loader.js`\n // will inline a special url to lazily generate the blur placeholder at request time.\n blurStyle.backgroundImage = `url(\"${blurDataURL}\")`;\n }\n }\n const imgAttributes = generateImgAttrs({\n config,\n src,\n unoptimized,\n width: widthInt,\n quality: qualityInt,\n sizes,\n loader\n });\n let srcString = src;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined') {\n let fullUrl;\n try {\n fullUrl = new URL(imgAttributes.src);\n } catch (e) {\n fullUrl = new URL(imgAttributes.src, window.location.href);\n }\n allImgs.set(fullUrl.href, {\n src,\n priority,\n placeholder\n });\n }\n }\n const linkProps = {\n // @ts-expect-error upgrade react types to react 18\n imageSrcSet: imgAttributes.srcSet,\n imageSizes: imgAttributes.sizes,\n crossOrigin: rest.crossOrigin\n };\n const onLoadRef = (0, _react).useRef(onLoad);\n (0, _react).useEffect(()=>{\n onLoadRef.current = onLoad;\n }, [\n onLoad\n ]);\n const onLoadingCompleteRef = (0, _react).useRef(onLoadingComplete);\n (0, _react).useEffect(()=>{\n onLoadingCompleteRef.current = onLoadingComplete;\n }, [\n onLoadingComplete\n ]);\n const imgElementArgs = _extends({\n isLazy,\n imgAttributes,\n heightInt,\n widthInt,\n qualityInt,\n className,\n imgStyle,\n blurStyle,\n loading,\n config,\n fill,\n unoptimized,\n placeholder,\n loader,\n srcString,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n setShowAltText\n }, rest);\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(ImageElement, Object.assign({}, imgElementArgs, {\n ref: forwardedRef\n })), priority ? // Note how we omit the `href` attribute, as it would only be relevant\n // for browsers that do not support `imagesrcset`, and in those cases\n // it would likely cause the incorrect image to be preloaded.\n //\n // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset\n /*#__PURE__*/ _react.default.createElement(_head.default, null, /*#__PURE__*/ _react.default.createElement(\"link\", Object.assign({\n key: '__nimg-' + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes,\n rel: \"preload\",\n as: \"image\",\n href: imgAttributes.srcSet ? undefined : imgAttributes.src\n }, linkProps))) : null);\n});\nvar _default = Image;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=image.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getImageBlurSvg = getImageBlurSvg;\nfunction getImageBlurSvg({ widthInt , heightInt , blurWidth , blurHeight , blurDataURL }) {\n const std = blurWidth && blurHeight ? '1' : '20';\n const svgWidth = blurWidth || widthInt;\n const svgHeight = blurHeight || heightInt;\n const feComponentTransfer = blurDataURL.startsWith('data:image/jpeg') ? `%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%` : '';\n if (svgWidth && svgHeight) {\n return `%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ${svgWidth} ${svgHeight}'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E${feComponentTransfer}%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='${blurDataURL}'/%3E%3C/svg%3E`;\n }\n return `%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='${blurDataURL}'/%3E%3C/svg%3E`;\n}\n\n//# sourceMappingURL=image-blur-svg.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nfunction defaultLoader({ config , src , width , quality }) {\n if (process.env.NODE_ENV !== 'production') {\n const missingValues = [];\n // these should always be provided but make sure they are\n if (!src) missingValues.push('src');\n if (!width) missingValues.push('width');\n if (missingValues.length > 0) {\n throw new Error(`Next Image Optimization requires ${missingValues.join(', ')} to be provided. Make sure you pass them as props to the \\`next/image\\` component. Received: ${JSON.stringify({\n src,\n width,\n quality\n })}`);\n }\n if (src.startsWith('//')) {\n throw new Error(`Failed to parse src \"${src}\" on \\`next/image\\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`);\n }\n if (!src.startsWith('/') && (config.domains || config.remotePatterns)) {\n let parsedSrc;\n try {\n parsedSrc = new URL(src);\n } catch (err) {\n console.error(err);\n throw new Error(`Failed to parse src \"${src}\" on \\`next/image\\`, if using relative image it must start with a leading slash \"/\" or be an absolute URL (http:// or https://)`);\n }\n if (process.env.NODE_ENV !== 'test') {\n // We use dynamic require because this should only error in development\n const { hasMatch } = require('./match-remote-pattern');\n if (!hasMatch(config.domains, config.remotePatterns, parsedSrc)) {\n throw new Error(`Invalid src prop (${src}) on \\`next/image\\`, hostname \"${parsedSrc.hostname}\" is not configured under images in your \\`next.config.js\\`\\n` + `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`);\n }\n }\n }\n }\n return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${quality || 75}`;\n}\n// We use this to determine if the import is the default loader\n// or a custom loader defined by the user in next.config.js\ndefaultLoader.__next_img_default = true;\nvar _default = defaultLoader;\nexports.default = _default;\n\n//# sourceMappingURL=image-loader.js.map","module.exports = require('./dist/shared/lib/head')\n","module.exports = require('./dist/client/image')\n"],"names":["Object","defineProperty","exports","value","obj","_BarsOutlined","__webpack_require__","__esModule","module","_LeftOutlined","_RightOutlined","asn_CloseOutlined","CloseOutlined_CloseOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CloseOutlined","forwardRef","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","BarsOutlined","_default","LeftOutlined","RightOutlined","Layout","_layout__WEBPACK_IMPORTED_MODULE_0__","ZP","Header","h4","Footer","$_","Content","VY","Sider","_Sider__WEBPACK_IMPORTED_MODULE_1__","__webpack_exports__","skeleton_Element","_classNames","_classNames2","prefixCls","className","style","size","shape","sizeCls","classnames_default","concat","shapeCls","sizeStyle","useMemo","width","height","lineHeight","esm_extends","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","icons_DotChartOutlined","skeleton_Paragraph","getWidth","index","_props$rows","rows","isArray","rowList","toConsumableArray","Array","map","_","skeleton_Title","_ref","getComponentProps","prop","esm_typeof","Skeleton","customizePrefixCls","loading","children","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","_React$useContext","useContext","context","E_","getPrefixCls","direction","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","cls","Button","_props$block","block","_props$size","otherProps","omit","Avatar","_props$shape","Input","Image","viewBox","xmlns","d","Node","content","skeleton","isNaN","parseFloat","isFinite","i","_defineProperty2","_extends2","_slicedToArray2","_classnames","_omit","_configProvider","_isNumeric","_layout","__rest","s","e","t","p","indexOf","getOwnPropertySymbols","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","createContext","generateId","prefix","arguments","undefined","_a","divProps","rawWidth","siderWidth","zeroWidthTrigger","defaultTrigger","triggerDom","divStyle","siderCls","trigger","_a$defaultCollapsed","defaultCollapsed","_a$theme","theme","_a$style","_a$collapsible","collapsible","_a$reverseArrow","reverseArrow","_a$width","_a$collapsedWidth","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","siderHook","_useContext","LayoutContext","_useState","useState","collapsed","_useState2","setCollapsed","_useState3","_useState4","below","setBelow","useEffect","handleSetCollapsed","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","_window","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","_useContext2","ConfigContext","contextValue","siderCollapsed","Provider","String","onClick","iconObj","expanded","flex","maxWidth","minWidth","_toConsumableArray2","generator","suffixCls","tagName","BasicComponent","Basic","others","classString","BasicLayout","_React$useContext2","_React$useState","_React$useState2","siders","setSiders","hasSider","Tag","id","prev","filter","currentId","_extends","require","_interop_require_default","_interop_require_wildcard","_object_without_properties_loose","_react","_head","_imageBlurSvg","_imageConfig","_imageConfigContext","_imageLoader","configEnv","process","isStaticRequire","src","getInt","x","test","parseInt","NaN","handleLoading","img","placeholder","onLoadRef","onLoadingCompleteRef","setBlurComplete","unoptimized","decode","Promise","resolve","catch","then","parentNode","event","Event","writable","prevented","stopped","nativeEvent","currentTarget","target","isDefaultPrevented","isPropagationStopped","persist","preventDefault","stopPropagation","ImageElement","_param","forwardedRef","imgAttributes","heightInt","widthInt","qualityInt","imgStyle","blurStyle","isLazy","fill","srcString","config","loader","setShowAltText","onLoad","onError","rest","Fragment","assign","decoding","useCallback","complete","blurWidth","blurHeight","sizes","priority","quality","onLoadingComplete","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot","all","configContext","ImageConfigContext","c","imageConfigDefault","allSizes","deviceSizes","imageSizes","sort","a","b","isDefaultLoader","customImageLoader","opts","layoutStyle","layoutToStyle","intrinsic","responsive","layoutSizes","layoutToSizes","staticSrc","staticImageData","JSON","stringify","ratio","Math","startsWith","endsWith","dangerouslyAllowSVG","blurComplete","showAltText","position","left","top","right","bottom","color","backgroundSize","backgroundPosition","backgroundRepeat","backgroundImage","getImageBlurSvg","generateImgAttrs","param","srcSet","widths","kind","getWidths","viewportWidthRe","percentSizes","match","exec","push","smallestRatio","min","Set","find","w","last","join","linkProps","imageSrcSet","crossOrigin","imgElementArgs","rel","as","href","svgWidth","svgHeight","feComponentTransfer","std","defaultLoader","encodeURIComponent","path","__next_img_default"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js b/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js new file mode 100644 index 000000000..8325b2003 --- /dev/null +++ b/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5402],{8751:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},i=n(42135),c=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};c.displayName="CheckCircleOutlined";var l=r.forwardRef(c)},18429:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},i=n(42135),c=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};c.displayName="CloseCircleOutlined";var l=r.forwardRef(c)},11475:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=n(42135),c=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};c.displayName="ExclamationCircleOutlined";var l=r.forwardRef(c)},78860:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},i=n(42135),c=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};c.displayName="InfoCircleFilled";var l=r.forwardRef(c)},45605:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},i=n(42135),c=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};c.displayName="InfoCircleOutlined";var l=r.forwardRef(c)},10274:function(e,t,n){n.d(t,{C:function(){return c},H:function(){return l}});var o=n(86500),r=n(48701),a=n(1350),i=n(90279),c=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,o.Yt)(t)),this.originalInput=t;var r,i=(0,a.uA)(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,o=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,i.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,o.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,o.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,o.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,o.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,o.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,o.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,i.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,i.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,o.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(r.R);t=0;return!t&&o&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,i.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,i.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,i.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,i.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,i={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(i)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,i=[],c=1/t;t--;)i.push(new e({h:o,s:r,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb();return new e({r:o.r+(n.r-o.r)*n.a,g:o.g+(n.g-o.g)*n.a,b:o.b+(n.b-o.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,i=1;i(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),y)}else(0,d.jL)(y);return function(){(0,d.jL)(y)}},[n,y]);var B=null;N&&(0,c.Yr)(N)&&t&&(B=N.ref);var F=(0,c.x1)(B,t);if(!R||!(0,i.Z)()||void 0===A)return null;var V=!1===j||("boolean"==typeof Z&&(v=Z),v),U=N;return t&&(U=r.cloneElement(N,{ref:F})),r.createElement(l.Provider,{value:z},V?U:(0,a.createPortal)(U,j))})},86743:function(e,t,n){var o=n(87462),r=n(97685),a=n(30470),i=n(67294),c=n(71577),l=n(6134);t.Z=function(e){var t=i.useRef(!1),n=i.useRef(null),s=(0,a.Z)(!1),u=(0,r.Z)(s,2),f=u[0],d=u[1],p=e.close,m=function(){null==p||p.apply(void 0,arguments)};i.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;null===(e=n.current)||void 0===e||e.focus()})),function(){t&&clearTimeout(t)}},[]);var h=function(e){e&&e.then&&(d(!0),e.then(function(){d(!1,!0),m.apply(void 0,arguments),t.current=!1},function(e){console.error(e),d(!1,!0),t.current=!1}))},v=e.type,g=e.children,C=e.prefixCls,y=e.buttonProps;return i.createElement(c.Z,(0,o.Z)({},(0,l.n)(v),{onClick:function(n){var o,r,a=e.actionFn;if(!t.current){if(t.current=!0,!a){m();return}if(e.emitEvent){if(r=a(n),e.quitOnNullishReturnValue&&!((o=r)&&o.then)){t.current=!1,m(n);return}}else if(a.length)r=a(p),t.current=!1;else if(!(r=a())){m();return}h(r)}},loading:f,prefixCls:C},y,{ref:n}),g)}},76519:function(e,t,n){n.d(t,{ZP:function(){return R},w6:function(){return M}});var o,r,a=n(87462),i=n(63017),c=n(71990),l=n(56982),s=n(67294),u=n(83008),f=n(67178),d=function(e){var t=e.locale,n=void 0===t?{}:t,o=e.children;e._ANT_MARK__,s.useEffect(function(){return(0,u.f)(n&&n.Modal),function(){(0,u.f)()}},[n]);var r=s.useMemo(function(){return(0,a.Z)((0,a.Z)({},n),{exist:!0})},[n]);return s.createElement(f.Z.Provider,{value:r},o)},p=n(23715),m=n(7734),h=n(12461),v=n(13448),g=n(53124),C=n(92138),y=n(10274),Z=n(98924),b=n(44958),x="-ant-".concat(Date.now(),"-").concat(Math.random()),k=n(98866),E=n(97647),w=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function N(){return o||"ant"}function P(){return r||"anticon"}var M=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(N(),"-").concat(e):N())},getIconPrefixCls:P,getRootPrefixCls:function(e,t){return e||o||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):N())}}},S=function(e){var t,n,o=e.children,r=e.csp,u=e.autoInsertSpaceInButton,f=e.form,p=e.locale,h=e.componentSize,v=e.direction,C=e.space,y=e.virtual,Z=e.dropdownMatchSelectWidth,b=e.legacyLocale,x=e.parentContext,N=e.iconPrefixCls,P=e.componentDisabled,M=s.useCallback(function(t,n){var o=e.prefixCls;if(n)return n;var r=o||x.getPrefixCls("");return t?"".concat(r,"-").concat(t):r},[x.getPrefixCls,e.prefixCls]),S=(0,a.Z)((0,a.Z)({},x),{csp:r,autoInsertSpaceInButton:u,locale:p||b,direction:v,space:C,virtual:y,dropdownMatchSelectWidth:Z,getPrefixCls:M});w.forEach(function(t){var n=e[t];n&&(S[t]=n)});var T=(0,l.Z)(function(){return S},S,function(e,t){var n=Object.keys(e),o=Object.keys(t);return n.length!==o.length||n.some(function(n){return e[n]!==t[n]})}),R=s.useMemo(function(){return{prefixCls:N,csp:r}},[N,r]),O=o,I={};return p&&(I=(null===(t=p.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=m.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),f&&f.validateMessages&&(I=(0,a.Z)((0,a.Z)({},I),f.validateMessages)),Object.keys(I).length>0&&(O=s.createElement(c.FormProvider,{validateMessages:I},o)),p&&(O=s.createElement(d,{locale:p,_ANT_MARK__:"internalMark"},O)),(N||r)&&(O=s.createElement(i.Z.Provider,{value:R},O)),h&&(O=s.createElement(E.q,{size:h},O)),void 0!==P&&(O=s.createElement(k.n,{disabled:P},O)),s.createElement(g.E_.Provider,{value:T},O)},T=function(e){return s.useEffect(function(){e.direction&&(h.ZP.config({rtl:"rtl"===e.direction}),v.Z.config({rtl:"rtl"===e.direction}))},[e.direction]),s.createElement(p.Z,null,function(t,n,o){return s.createElement(g.C,null,function(t){return s.createElement(S,(0,a.Z)({parentContext:t,legacyLocale:o},e))})})};T.ConfigContext=g.E_,T.SizeContext=E.Z,T.config=function(e){var t,n=e.prefixCls,a=e.iconPrefixCls,i=e.theme;void 0!==n&&(o=n),void 0!==a&&(r=a),i&&(t=function(e,t){var n={},o=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},r=function(e,t){var r=new y.C(e),a=(0,C.generate)(r.toRgbString());n["".concat(t,"-color")]=o(r),n["".concat(t,"-color-disabled")]=a[1],n["".concat(t,"-color-hover")]=a[4],n["".concat(t,"-color-active")]=a[6],n["".concat(t,"-color-outline")]=r.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=a[0],n["".concat(t,"-color-deprecated-border")]=a[2]};if(t.primaryColor){r(t.primaryColor,"primary");var a=new y.C(t.primaryColor),i=(0,C.generate)(a.toRgbString());i.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=o(a,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=o(a,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=o(a,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=o(a,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=o(a,function(e){return e.setAlpha(.12*e.getAlpha())});var c=new y.C(i[0]);n["primary-color-active-deprecated-f-30"]=o(c,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=o(c,function(e){return e.darken(2)})}t.successColor&&r(t.successColor,"success"),t.warningColor&&r(t.warningColor,"warning"),t.errorColor&&r(t.errorColor,"error"),t.infoColor&&r(t.infoColor,"info");var l=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(l.join("\n"),"\n }\n ").trim()}(N(),i),(0,Z.Z)()&&(0,b.hq)(t,"".concat(x,"-dynamic-theme")))};var R=T},12461:function(e,t,n){n.d(t,{Df:function(){return A},ZP:function(){return L},S$:function(){return M},z$:function(){return R}});var o,r,a,i,c=n(87462),l=n(4942),s=n(89739),u=n(4340),f=n(21640),d=n(78860),p=n(50888),m=n(94184),h=n.n(m),v=n(91127),g=n(67294),C=n(76519),y=n(97685),Z=n(51550),b=n(53124),x=3,k=1,E="",w="move-up",N=!1,P=!1;function M(){return k++}function S(e,t){var n=e.prefixCls,c=e.getPopupContainer,l=(0,C.w6)(),s=l.getPrefixCls,u=l.getRootPrefixCls,f=l.getIconPrefixCls,d=s("message",n||E),p=u(e.rootPrefixCls,d),m=f();if(o){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:m,instance:o});return}var h={prefixCls:d,transitionName:N?w:"".concat(p,"-").concat(w),style:{top:r},getContainer:a||c,maxCount:i};v.default.newInstance(h,function(e){if(o){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:m,instance:o});return}o=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:m,instance:e})})}var T={info:d.Z,success:s.Z,error:u.Z,warning:f.Z,loading:p.Z},R=Object.keys(T);function O(e,t,n){var o,r=void 0!==e.duration?e.duration:x,a=T[e.type],i=h()("".concat(t,"-custom-content"),(o={},(0,l.Z)(o,"".concat(t,"-").concat(e.type),e.type),(0,l.Z)(o,"".concat(t,"-rtl"),!0===P),o));return{key:e.key,duration:r,style:e.style||{},className:e.className,content:g.createElement(C.ZP,{iconPrefixCls:n},g.createElement("div",{className:i},e.icon||a&&g.createElement(a,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var I={open:function(e){var t=e.key||M(),n=new Promise(function(n){var o=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};S(e,function(n){var r=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(O((0,c.Z)((0,c.Z)({},e),{key:t,onClose:o}),r,a))})}),r=function(){o&&o.removeNotice(t)};return r.then=function(e,t){return n.then(e,t)},r.promise=n,r},config:function(e){void 0!==e.top&&(r=e.top,o=null),void 0!==e.duration&&(x=e.duration),void 0!==e.prefixCls&&(E=e.prefixCls),void 0!==e.getContainer&&(a=e.getContainer,o=null),void 0!==e.transitionName&&(w=e.transitionName,o=null,N=!0),void 0!==e.maxCount&&(i=e.maxCount,o=null),void 0!==e.rtl&&(P=e.rtl)},destroy:function(e){o&&(e?(0,o.removeNotice)(e):((0,o.destroy)(),o=null))}};function A(e,t){e[t]=function(n,o,r){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,c.Z)((0,c.Z)({},n),{type:t})):("function"==typeof o&&(r=o,o=void 0),e.open({content:n,duration:o,type:t,onClose:r}))}}R.forEach(function(e){return A(I,e)}),I.warn=I.warning,I.useMessage=function(){var e,t,n=null,o=(0,Z.Z)({add:function(e,t){null==n||n.component.add(e,t)}}),r=(0,y.Z)(o,2),a=r[0],i=r[1],l=g.useRef({});return l.current.open=function(o){var r=e("message",o.prefixCls),i=e(),l=o.key||M(),s=new Promise(function(e){var s=function(){return"function"==typeof o.onClose&&o.onClose(),e(!0)};S((0,c.Z)((0,c.Z)({},o),{prefixCls:r,rootPrefixCls:i,getPopupContainer:t}),function(e){var t=e.prefixCls;n=e.instance,a(O((0,c.Z)((0,c.Z)({},o),{key:l,onClose:s}),t))})}),u=function(){n&&n.removeNotice(l)};return u.then=function(e,t){return s.then(e,t)},u.promise=s,u},R.forEach(function(e){return A(l.current,e)}),[l.current,g.createElement(b.C,{key:"holder"},function(n){return e=n.getPrefixCls,t=n.getPopupContainer,i})]};var L=I},85402:function(e,t,n){n.d(t,{Z:function(){return K}});var o,r=n(74902),a=n(87462),i=n(8751),c=n(18429),l=n(11475),s=n(45605),u=n(38135),f=n(67294),d=n(76519),p=n(4942),m=n(94184),h=n.n(m),v=n(86743),g=n(33603),C=n(97937),y=n(38425),Z=n(71577),b=n(6134),x=n(53124),k=n(65223),E=n(23715),w=n(31808),N=n(83008),P=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};(0,w.jD)()&&document.documentElement.addEventListener("click",function(e){o={x:e.pageX,y:e.pageY},setTimeout(function(){o=null},100)},!0);var M=function(e){var t,n,r=f.useContext(x.E_),i=r.getPopupContainer,c=r.getPrefixCls,l=r.direction,s=function(t){var n=e.onCancel;null==n||n(t)},u=function(t){var n=e.onOk;null==n||n(t)},d=e.prefixCls,m=e.footer,v=e.visible,w=e.open,M=e.wrapClassName,S=e.centered,T=e.getContainer,R=e.closeIcon,O=e.focusTriggerAfterClose,I=e.width,A=P(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),L=c("modal",d),H=c(),_=f.createElement(E.Z,{componentName:"Modal",defaultLocale:(0,N.A)()},function(t){var n=e.okText,o=e.okType,r=e.cancelText,i=e.confirmLoading;return f.createElement(f.Fragment,null,f.createElement(Z.Z,(0,a.Z)({onClick:s},e.cancelButtonProps),r||t.cancelText),f.createElement(Z.Z,(0,a.Z)({},(0,b.n)(void 0===o?"primary":o),{loading:void 0!==i&&i,onClick:u},e.okButtonProps),null!=n?n:t.okText))}),D=f.createElement("span",{className:"".concat(L,"-close-x")},R||f.createElement(C.Z,{className:"".concat(L,"-close-icon")})),z=h()(M,(t={},(0,p.Z)(t,"".concat(L,"-centered"),!!S),(0,p.Z)(t,"".concat(L,"-wrap-rtl"),"rtl"===l),t));return f.createElement(k.Ux,{status:!0,override:!0},f.createElement(y.Z,(0,a.Z)({width:void 0===I?520:I},A,{getContainer:void 0===T?i:T,prefixCls:L,wrapClassName:z,footer:void 0===m?_:m,visible:void 0!==w&&w||v,mousePosition:null!==(n=A.mousePosition)&&void 0!==n?n:o,onClose:s,closeIcon:D,focusTriggerAfterClose:void 0===O||O,transitionName:(0,g.mL)(H,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(H,"fade",e.maskTransitionName)})))},S=function(e){var t=e.icon,n=e.onCancel,o=e.onOk,r=e.close,a=e.zIndex,i=e.afterClose,c=e.visible,l=e.open,s=e.keyboard,u=e.centered,m=e.getContainer,C=e.maskStyle,y=e.okText,Z=e.okButtonProps,b=e.cancelText,x=e.cancelButtonProps,k=e.direction,E=e.prefixCls,w=e.wrapClassName,N=e.rootPrefixCls,P=e.iconPrefixCls,S=e.bodyStyle,T=e.closable,R=e.closeIcon,O=e.modalRender,I=e.focusTriggerAfterClose,A=e.okType||"primary",L="".concat(E,"-confirm"),H=!("okCancel"in e)||e.okCancel,_=e.width||416,D=e.style||{},z=void 0===e.mask||e.mask,j=void 0!==e.maskClosable&&e.maskClosable,B=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),F=h()(L,"".concat(L,"-").concat(e.type),(0,p.Z)({},"".concat(L,"-rtl"),"rtl"===k),e.className),V=H&&f.createElement(v.Z,{actionFn:n,close:r,autoFocus:"cancel"===B,buttonProps:x,prefixCls:"".concat(N,"-btn")},b);return f.createElement(d.ZP,{prefixCls:N,iconPrefixCls:P,direction:k},f.createElement(M,{prefixCls:E,className:F,wrapClassName:h()((0,p.Z)({},"".concat(L,"-centered"),!!e.centered),w),onCancel:function(){return null==r?void 0:r({triggerCancel:!0})},open:l||c,title:"",footer:"",transitionName:(0,g.mL)(N,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(N,"fade",e.maskTransitionName),mask:z,maskClosable:j,maskStyle:C,style:D,bodyStyle:S,width:_,zIndex:a,afterClose:i,keyboard:s,centered:u,getContainer:m,closable:void 0!==T&&T,closeIcon:R,modalRender:O,focusTriggerAfterClose:I},f.createElement("div",{className:"".concat(L,"-body-wrapper")},f.createElement("div",{className:"".concat(L,"-body")},t,void 0===e.title?null:f.createElement("span",{className:"".concat(L,"-title")},e.title),f.createElement("div",{className:"".concat(L,"-content")},e.content)),f.createElement("div",{className:"".concat(L,"-btns")},V,f.createElement(v.Z,{type:A,actionFn:o,close:r,autoFocus:"ok"===B,buttonProps:Z,prefixCls:"".concat(N,"-btn")},y)))))},T=[],R=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},O="";function I(e){var t,n=document.createDocumentFragment(),o=(0,a.Z)((0,a.Z)({},e),{close:l,open:!0});function i(){for(var t=arguments.length,o=Array(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:k,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:o};break;case"bottomLeft":t={left:0,top:"auto",bottom:o};break;default:t={right:0,top:"auto",bottom:o}}return t}(r,i,l),getContainer:u,maxCount:a},function(n){e(n),t({prefixCls:"".concat(C,"-notice"),iconPrefixCls:y,instance:n})})})}var S={success:l.Z,info:d.Z,error:s.Z,warning:f.Z};function T(e,t,n){var o=e.duration,a=e.icon,i=e.type,l=e.description,s=e.message,f=e.btn,d=e.onClose,p=e.onClick,h=e.key,C=e.style,y=e.className,Z=e.closeIcon,b=e.props,k=void 0===o?x:o,E=null;a?E=v.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(E=v.createElement(S[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var w=v.createElement("span",{className:"".concat(t,"-close-x")},(void 0===Z?r:Z)||v.createElement(u.Z,{className:"".concat(t,"-close-icon")})),N=!l&&E?v.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:v.createElement(g.ZP,{iconPrefixCls:n},v.createElement("div",{className:E?"".concat(t,"-with-icon"):"",role:"alert"},E,v.createElement("div",{className:"".concat(t,"-message")},N,s),v.createElement("div",{className:"".concat(t,"-description")},l),f?v.createElement("span",{className:"".concat(t,"-btn")},f):null)),duration:k,closable:!0,closeIcon:w,onClose:d,onClick:p,key:h,style:C||{},className:m()(y,(0,c.Z)({},"".concat(t,"-").concat(i),!!i)),props:b}}var R={open:function(e){M(e,function(t){var n=t.prefixCls,o=t.iconPrefixCls;t.instance.notice(T(e,n,o))})},close:function(e){Object.keys(b).forEach(function(t){return Promise.resolve(b[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,i=e.bottom,c=e.top,l=e.getContainer,s=e.closeIcon,u=e.prefixCls;void 0!==u&&(w=u),void 0!==t&&(x=t),void 0!==n?N=n:e.rtl&&(N="topLeft"),void 0!==i&&(E=i),void 0!==c&&(k=c),void 0!==l&&(o=l),void 0!==s&&(r=s),void 0!==e.rtl&&(P=e.rtl),void 0!==e.maxCount&&(a=e.maxCount)},destroy:function(){Object.keys(b).forEach(function(e){Promise.resolve(b[e]).then(function(e){e.destroy()}),delete b[e]})}};["success","info","warning","error"].forEach(function(e){R[e]=function(t){return R.open((0,i.Z)((0,i.Z)({},t),{type:e}))}}),R.warn=R.warning,R.useNotification=function(){var e,t=null,n=(0,y.Z)({add:function(e,n){null==t||t.component.add(e,n)}}),o=(0,C.Z)(n,2),r=o[0],a=o[1],c=v.useRef({});return c.current.open=function(n){var o=e("notification",n.prefixCls);M((0,i.Z)((0,i.Z)({},n),{prefixCls:o}),function(e){var o=e.prefixCls;t=e.instance,r(T(n,o))})},["success","info","warning","error"].forEach(function(e){c.current[e]=function(t){return c.current.open((0,i.Z)((0,i.Z)({},t),{type:e}))}}),[c.current,v.createElement(Z.C,{key:"holder"},function(t){return e=t.getPrefixCls,a})]};var O=R},38425:function(e,t,n){n.d(t,{Z:function(){return w}});var o=n(87462),r=n(97685),a=n(67294),i=n.t(a,2),c=n(2788),l=n(1413),s=n(94184),u=n.n(s),f=n(15105),d=0,p=n(94999),m=n(64217),h=n(62874);function v(e){var t=e.prefixCls,n=e.style,r=e.visible,i=e.maskProps,c=e.motionName;return a.createElement(h.Z,{key:"mask",visible:r,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},function(e,r){var c=e.className,s=e.style;return a.createElement("div",(0,o.Z)({ref:r,style:(0,l.Z)((0,l.Z)({},s),n),className:u()("".concat(t,"-mask"),c)},i))})}function g(e,t,n){var o=t;return!o&&n&&(o="".concat(e,"-").concat(n)),o}function C(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}var y=a.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate}),Z={width:0,height:0,overflow:"hidden",outline:"none"},b=a.forwardRef(function(e,t){var n,r,i,c=e.prefixCls,s=e.className,f=e.style,d=e.title,p=e.ariaId,m=e.footer,h=e.closable,v=e.closeIcon,g=e.onClose,C=e.children,b=e.bodyStyle,x=e.bodyProps,k=e.modalRender,E=e.onMouseDown,w=e.onMouseUp,N=e.holderRef,P=e.visible,M=e.forceRender,S=e.width,T=e.height,R=(0,a.useRef)(),O=(0,a.useRef)();a.useImperativeHandle(t,function(){return{focus:function(){var e;null===(e=R.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?R.current.focus():e||t!==R.current||O.current.focus()}}});var I={};void 0!==S&&(I.width=S),void 0!==T&&(I.height=T),m&&(n=a.createElement("div",{className:"".concat(c,"-footer")},m)),d&&(r=a.createElement("div",{className:"".concat(c,"-header")},a.createElement("div",{className:"".concat(c,"-title"),id:p},d))),h&&(i=a.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(c,"-close")},v||a.createElement("span",{className:"".concat(c,"-close-x")})));var A=a.createElement("div",{className:"".concat(c,"-content")},i,r,a.createElement("div",(0,o.Z)({className:"".concat(c,"-body"),style:b},x),C),n);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":d?p:null,"aria-modal":"true",ref:N,style:(0,l.Z)((0,l.Z)({},f),I),className:u()(c,s),onMouseDown:E,onMouseUp:w},a.createElement("div",{tabIndex:0,ref:R,style:Z,"aria-hidden":"true"}),a.createElement(y,{shouldUpdate:P||M},k?k(A):A),a.createElement("div",{tabIndex:0,ref:O,style:Z,"aria-hidden":"true"}))}),x=a.forwardRef(function(e,t){var n=e.prefixCls,i=e.title,c=e.style,s=e.className,f=e.visible,d=e.forceRender,p=e.destroyOnClose,m=e.motionName,v=e.ariaId,g=e.onVisibleChanged,y=e.mousePosition,Z=(0,a.useRef)(),x=a.useState(),k=(0,r.Z)(x,2),E=k[0],w=k[1],N={};function P(){var e,t,n,o,r,a=(n={left:(t=(e=Z.current).getBoundingClientRect()).left,top:t.top},r=(o=e.ownerDocument).defaultView||o.parentWindow,n.left+=C(r),n.top+=C(r,!0),n);w(y?"".concat(y.x-a.left,"px ").concat(y.y-a.top,"px"):"")}return E&&(N.transformOrigin=E),a.createElement(h.Z,{visible:f,onVisibleChanged:g,onAppearPrepare:P,onEnterPrepare:P,forceRender:d,motionName:m,removeOnLeave:p,ref:Z},function(r,f){var d=r.className,p=r.style;return a.createElement(b,(0,o.Z)({},e,{ref:t,title:i,ariaId:v,prefixCls:n,holderRef:f,style:(0,l.Z)((0,l.Z)((0,l.Z)({},p),c),N),className:u()(s,d)}))})});function k(e){var t,n,c,s,h,C,y,Z=e.prefixCls,b=void 0===Z?"rc-dialog":Z,k=e.zIndex,E=e.visible,w=void 0!==E&&E,N=e.keyboard,P=void 0===N||N,M=e.focusTriggerAfterClose,S=void 0===M||M,T=e.wrapStyle,R=e.wrapClassName,O=e.wrapProps,I=e.onClose,A=e.afterClose,L=e.transitionName,H=e.animation,_=e.closable,D=e.mask,z=void 0===D||D,j=e.maskTransitionName,B=e.maskAnimation,F=e.maskClosable,V=e.maskStyle,U=e.maskProps,W=e.rootClassName,K=(0,a.useRef)(),q=(0,a.useRef)(),Y=(0,a.useRef)(),$=a.useState(w),X=(0,r.Z)($,2),G=X[0],J=X[1],Q=(n=a.useState("ssr-id"),s=(c=(0,r.Z)(n,2))[0],h=c[1],y=null==(C=(0,l.Z)({},i).useId)?void 0:C(),(a.useEffect(function(){if(!C){var e=d;d+=1,h("rc_unique_".concat(e))}},[]),t)?t:y||s);function ee(e){null==I||I(e)}var et=(0,a.useRef)(!1),en=(0,a.useRef)(),eo=null;return(void 0===F||F)&&(eo=function(e){et.current?et.current=!1:q.current===e.target&&ee(e)}),(0,a.useEffect)(function(){w&&(J(!0),(0,p.Z)(q.current,document.activeElement)||(K.current=document.activeElement))},[w]),(0,a.useEffect)(function(){return function(){clearTimeout(en.current)}},[]),a.createElement("div",(0,o.Z)({className:u()("".concat(b,"-root"),W)},(0,m.Z)(e,{data:!0})),a.createElement(v,{prefixCls:b,visible:z&&w,motionName:g(b,j,B),style:(0,l.Z)({zIndex:k},V),maskProps:U}),a.createElement("div",(0,o.Z)({tabIndex:-1,onKeyDown:function(e){if(P&&e.keyCode===f.Z.ESC){e.stopPropagation(),ee(e);return}w&&e.keyCode===f.Z.TAB&&Y.current.changeActive(!e.shiftKey)},className:u()("".concat(b,"-wrap"),R),ref:q,onClick:eo,style:(0,l.Z)((0,l.Z)({zIndex:k},T),{},{display:G?null:"none"})},O),a.createElement(x,(0,o.Z)({},e,{onMouseDown:function(){clearTimeout(en.current),et.current=!0},onMouseUp:function(){en.current=setTimeout(function(){et.current=!1})},ref:Y,closable:void 0===_||_,ariaId:Q,prefixCls:b,visible:w&&G,onClose:ee,onVisibleChanged:function(e){if(e)!function(){if(!(0,p.Z)(q.current,document.activeElement)){var e;null===(e=Y.current)||void 0===e||e.focus()}}();else{if(J(!1),z&&K.current&&S){try{K.current.focus({preventScroll:!0})}catch(t){}K.current=null}G&&(null==A||A())}},motionName:g(b,L,H)}))))}x.displayName="Content";var E=function(e){var t=e.visible,n=e.getContainer,i=e.forceRender,l=e.destroyOnClose,s=void 0!==l&&l,u=e.afterClose,f=a.useState(t),d=(0,r.Z)(f,2),p=d[0],m=d[1];return(a.useEffect(function(){t&&m(!0)},[t]),i||!s||p)?a.createElement(c.Z,{open:t||i||p,autoDestroy:!1,getContainer:n,autoLock:t||p},a.createElement(k,(0,o.Z)({},e,{destroyOnClose:s,afterClose:function(){null==u||u(),m(!1)}}))):null};E.displayName="Dialog";var w=E},51784:function(e,t,n){n.d(t,{Z:function(){return p}});var o=n(87462),r=n(4942),a=n(15671),i=n(43144),c=n(60136),l=n(33643),s=n(67294),u=n(73935),f=n(94184),d=n.n(f),p=function(e){(0,c.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var o=arguments.length,r=Array(o),i=0;i=c&&(i.key=a[0].notice.key,i.updateMark=Z(),i.userPassKey=r,a.shift()),a.push({notice:i,holderCallback:n})),{notices:a}})},e.remove=function(t){e.setState(function(e){return{notices:e.notices.filter(function(e){var n=e.notice,o=n.key,r=n.userPassKey;return(null!=r?r:o)!==t})}})},e.noticePropsMap={},e}return(0,c.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,o=this.props.transitionName;return!o&&n&&(o="".concat(t,"-").concat(n)),o}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,o=n.prefixCls,i=n.className,c=n.closeIcon,l=n.style,s=[];return t.forEach(function(n,r){var i=n.notice,l=n.holderCallback,u=r===t.length-1?i.updateMark:void 0,f=i.key,d=i.userPassKey,p=(0,a.Z)((0,a.Z)((0,a.Z)({prefixCls:o,closeIcon:c},i),i.props),{},{key:f,noticeKey:d||f,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=i.onClose)||void 0===n||n.call(i)},onClick:i.onClick,children:i.content});s.push(f),e.noticePropsMap[f]={props:p,holderCallback:l}}),u.createElement("div",{className:p()(o,i),style:l},u.createElement(m.V,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var o=n.key;t||delete e.noticePropsMap[o]}},function(t){var n=t.key,i=t.className,c=t.style,l=t.visible,s=e.noticePropsMap[n],f=s.props,d=s.holderCallback;return d?u.createElement("div",{key:n,className:p()(i,"".concat(o,"-hook-holder")),style:(0,a.Z)({},c),ref:function(t){void 0!==n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):u.createElement(h.Z,(0,r.Z)({},f,{className:p()(i,null==f?void 0:f.className),style:(0,a.Z)((0,a.Z)({},c),null==f?void 0:f.style),visible:l}))}))}}]),n}(u.Component);b.newInstance=void 0,b.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},b.newInstance=function(e,t){var n=e||{},a=n.getContainer,i=(0,o.Z)(n,g),c=document.createElement("div");a?a().appendChild(c):document.body.appendChild(c);var l=!1;(0,f.s)(u.createElement(b,(0,r.Z)({},i,{ref:function(e){l||(l=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return(0,v.Z)(e)}}))}})),c)};var x=b},51550:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(74902),r=n(87462),a=n(97685),i=n(67294),c=n(51784);function l(e){var t=i.useRef({}),n=i.useState([]),l=(0,a.Z)(n,2),s=l[0],u=l[1];return[function(n){var a=!0;e.add(n,function(e,n){var l=n.key;if(e&&(!t.current[l]||a)){var s=i.createElement(c.Z,(0,r.Z)({},n,{holder:e}));t.current[l]=s,u(function(e){var t=e.findIndex(function(e){return e.key===n.key});if(-1===t)return[].concat((0,o.Z)(e),[s]);var r=(0,o.Z)(e);return r[t]=s,r})}a=!1})},i.createElement(i.Fragment,null,s)]}},38135:function(e,t,n){n.d(t,{s:function(){return g},v:function(){return y}});var o,r,a=n(74165),i=n(15861),c=n(71002),l=n(1413),s=n(73935),u=(0,l.Z)({},o||(o=n.t(s,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(r=u.createRoot)}catch(m){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,c.Z)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function g(e,t){if(r){var n,o;n=t,h(!0),o=n[v]||r(n),h(!1),o.render(e),n[v]=o;return}d(e,t)}function C(){return(C=(0,i.Z)((0,a.Z)().mark(function e(t){return(0,a.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return Z.apply(this,arguments)}function Z(){return(Z=(0,i.Z)((0,a.Z)().mark(function e(t){return(0,a.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==r)){e.next=2;break}return e.abrupt("return",function(e){return C.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){var o;function r(e){if("undefined"==typeof document)return 0;if(e||void 0===o){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var a=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;a===i&&(i=n.clientWidth),document.body.removeChild(n),o=a-i}return o}function a(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?r():n}function i(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,o=t.height;return{width:a(n),height:a(o)}}n.d(t,{Z:function(){return r},o:function(){return i}})},64217:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(1413),r="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function a(e,t){return 0===e.indexOf(t)}function i(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,o.Z)({},n);var i={};return Object.keys(e).forEach(function(n){(t.aria&&("role"===n||a(n,"aria-"))||t.data&&a(n,"data-")||t.attr&&r.includes(n))&&(i[n]=e[n])}),i}}}]); +//# sourceMappingURL=5402-c19b9d3c7b78e3b5.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js.map b/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js.map new file mode 100644 index 000000000..918630e37 --- /dev/null +++ b/static/web/_next/static/chunks/5402-c19b9d3c7b78e3b5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/5402-c19b9d3c7b78e3b5.js","mappings":"2JAEAA,EADA,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,iMAAqM,CAAI,kBAA0B,oLAAwL,EAAG,iDCKtjBC,EAAmB,SAAAC,CAAA,CAAAC,CAAA,EACvB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAmBS,WAAA,uBACnB,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,mFCX7CY,EADA,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,6RAAiS,CAAI,kBAA0B,oLAAwL,EAAG,iDCKlpBC,EAAmB,SAAAZ,CAAA,CAAAC,CAAA,EACvB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUI,CACV,GACA,CACAC,CAAAA,EAAmBJ,WAAA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AAAvB,IAAAuB,CAAA,CAEO,SAAA8mB,EAAAxb,CAAA,EACP,uBAAAnQ,UAAA,CAAAmQ,GAAA,CAAAA,CAAAA,aAAAyb,OAAA,EACA,OACA9X,MAAA,EACAkK,OAAA,CACA,CACA,CACA,IAAA6N,EAAAC,iBAAA3b,EAAA,uBACA2D,EAAA+X,EAAA/X,KAAA,CACAkK,EAAA6N,EAAA7N,MAAA,CACA,OACAlK,MAAAyX,EAAAzX,GACAkK,OAAAuN,EAAAvN,EACA,CACA,6HCjDA+N,EAAA,GAAA1xB,MAAA,CAFA,ogCAEA,KAAAA,MAAA,CADA,0tBACA+uB,KAAA,YAIA,SAAAqC,EAAAxvB,CAAA,CAAA+vB,CAAA,EACA,OAAA/vB,IAAAA,EAAAqW,OAAA,CAAA0Z,EACA,CAMe,SAAA3J,EAAApsB,CAAA,EACf,IACAg2B,EADAC,EAAAtmB,UAAA7J,MAAA,IAAA6J,KAAAvD,IAAAuD,SAAA,KAAAA,SAAA,IAGAqmB,EADAC,CAAA,IAAAA,EACA,CACAC,KAAA,GACA7J,KAAA,GACA8J,KAAA,EACA,EACIF,CAAA,IAAAA,EACJ,CACAC,KAAA,EACA,EAEmB,GAAAE,EAAA/1B,CAAA,EAAa,GAAG41B,GAEnC,IAAAI,EAAA,GAYA,OAXA3wB,OAAA0O,IAAA,CAAApU,GAAAgN,OAAA,UAAAhH,CAAA,EAGAgwB,CAAAA,EAAAE,IAAA,EAAAlwB,CAAAA,SAAAA,GAAAwvB,EAAAxvB,EA9BA,QA8BA,GAEAgwB,EAAA3J,IAAA,EAAAmJ,EAAAxvB,EA/BA,UAiCAgwB,EAAAG,IAAA,EAAAL,EAAAljB,QAAA,CAAA5M,EAAA,GACAqwB,CAAAA,CAAA,CAAArwB,EAAA,CAAAhG,CAAA,CAAAgG,EAAA,CAEA,GACAqwB,CACA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.js","webpack://_N_E/./node_modules/@ctrl/tinycolor/dist/module/index.js","webpack://_N_E/./node_modules/@rc-component/portal/es/Context.js","webpack://_N_E/./node_modules/@rc-component/portal/es/useDom.js","webpack://_N_E/./node_modules/@rc-component/portal/es/util.js","webpack://_N_E/./node_modules/@rc-component/portal/es/useScrollLocker.js","webpack://_N_E/./node_modules/@rc-component/portal/es/mock.js","webpack://_N_E/./node_modules/@rc-component/portal/es/Portal.js","webpack://_N_E/./node_modules/@rc-component/portal/es/index.js","webpack://_N_E/./node_modules/antd/es/_util/ActionButton.js","webpack://_N_E/./node_modules/antd/es/locale-provider/index.js","webpack://_N_E/./node_modules/antd/es/config-provider/cssVariables.js","webpack://_N_E/./node_modules/antd/es/config-provider/index.js","webpack://_N_E/./node_modules/antd/es/message/hooks/useMessage.js","webpack://_N_E/./node_modules/antd/es/message/index.js","webpack://_N_E/./node_modules/antd/es/modal/Modal.js","webpack://_N_E/./node_modules/antd/es/modal/ConfirmDialog.js","webpack://_N_E/./node_modules/antd/es/modal/destroyFns.js","webpack://_N_E/./node_modules/antd/es/modal/confirm.js","webpack://_N_E/./node_modules/antd/es/_util/hooks/usePatchElement.js","webpack://_N_E/./node_modules/antd/es/modal/useModal/HookModal.js","webpack://_N_E/./node_modules/antd/es/modal/useModal/index.js","webpack://_N_E/./node_modules/antd/es/modal/index.js","webpack://_N_E/./node_modules/antd/es/modal/locale.js","webpack://_N_E/./node_modules/antd/es/notification/hooks/useNotification.js","webpack://_N_E/./node_modules/antd/es/notification/index.js","webpack://_N_E/./node_modules/rc-util/es/hooks/useId.js","webpack://_N_E/./node_modules/rc-dialog/es/Dialog/Mask.js","webpack://_N_E/./node_modules/rc-dialog/es/util.js","webpack://_N_E/./node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js","webpack://_N_E/./node_modules/rc-dialog/es/Dialog/Content/Panel.js","webpack://_N_E/./node_modules/rc-dialog/es/Dialog/Content/index.js","webpack://_N_E/./node_modules/rc-dialog/es/Dialog/index.js","webpack://_N_E/./node_modules/rc-dialog/es/DialogWrap.js","webpack://_N_E/./node_modules/rc-dialog/es/index.js","webpack://_N_E/./node_modules/rc-notification/es/Notice.js","webpack://_N_E/./node_modules/rc-notification/es/Notification.js","webpack://_N_E/./node_modules/rc-notification/es/index.js","webpack://_N_E/./node_modules/rc-notification/es/useNotification.js","webpack://_N_E/./node_modules/rc-util/es/React/render.js","webpack://_N_E/./node_modules/rc-util/es/getScrollBarSize.js","webpack://_N_E/./node_modules/rc-util/es/pickAttrs.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"check-circle\", \"theme\": \"outlined\" };\nexport default CheckCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckCircleOutlined = function CheckCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckCircleOutlinedSvg\n }));\n};\nCheckCircleOutlined.displayName = 'CheckCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckCircleOutlined);","// This icon file is generated automatically.\nvar CloseCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"close-circle\", \"theme\": \"outlined\" };\nexport default CloseCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CloseCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CloseCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CloseCircleOutlined = function CloseCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CloseCircleOutlinedSvg\n }));\n};\nCloseCircleOutlined.displayName = 'CloseCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(CloseCircleOutlined);","// This icon file is generated automatically.\nvar ExclamationCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z\" } }] }, \"name\": \"exclamation-circle\", \"theme\": \"outlined\" };\nexport default ExclamationCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ExclamationCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/ExclamationCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: ExclamationCircleOutlinedSvg\n }));\n};\nExclamationCircleOutlined.displayName = 'ExclamationCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(ExclamationCircleOutlined);","// This icon file is generated automatically.\nvar InfoCircleFilled = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\" } }] }, \"name\": \"info-circle\", \"theme\": \"filled\" };\nexport default InfoCircleFilled;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport InfoCircleFilledSvg from \"@ant-design/icons-svg/es/asn/InfoCircleFilled\";\nimport AntdIcon from '../components/AntdIcon';\nvar InfoCircleFilled = function InfoCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: InfoCircleFilledSvg\n }));\n};\nInfoCircleFilled.displayName = 'InfoCircleFilled';\nexport default /*#__PURE__*/React.forwardRef(InfoCircleFilled);","// This icon file is generated automatically.\nvar InfoCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"info-circle\", \"theme\": \"outlined\" };\nexport default InfoCircleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport InfoCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/InfoCircleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar InfoCircleOutlined = function InfoCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: InfoCircleOutlinedSvg\n }));\n};\nInfoCircleOutlined.displayName = 'InfoCircleOutlined';\nexport default /*#__PURE__*/React.forwardRef(InfoCircleOutlined);","import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion';\nimport { names } from './css-color-names';\nimport { inputToRGB } from './format-input';\nimport { bound01, boundAlpha, clamp01 } from './util';\nvar TinyColor = /** @class */ (function () {\n function TinyColor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n var _a;\n // If input is already a tinycolor, return itself\n if (color instanceof TinyColor) {\n // eslint-disable-next-line no-constructor-return\n return color;\n }\n if (typeof color === 'number') {\n color = numberInputToObject(color);\n }\n this.originalInput = color;\n var rgb = inputToRGB(color);\n this.originalInput = color;\n this.r = rgb.r;\n this.g = rgb.g;\n this.b = rgb.b;\n this.a = rgb.a;\n this.roundA = Math.round(100 * this.a) / 100;\n this.format = (_a = opts.format) !== null && _a !== void 0 ? _a : rgb.format;\n this.gradientType = opts.gradientType;\n // Don't let the range of [0,255] come back in [0,1].\n // Potentially lose a little bit of precision here, but will fix issues where\n // .5 gets interpreted as half of the total, instead of half of 1\n // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n if (this.r < 1) {\n this.r = Math.round(this.r);\n }\n if (this.g < 1) {\n this.g = Math.round(this.g);\n }\n if (this.b < 1) {\n this.b = Math.round(this.b);\n }\n this.isValid = rgb.ok;\n }\n TinyColor.prototype.isDark = function () {\n return this.getBrightness() < 128;\n };\n TinyColor.prototype.isLight = function () {\n return !this.isDark();\n };\n /**\n * Returns the perceived brightness of the color, from 0-255.\n */\n TinyColor.prototype.getBrightness = function () {\n // http://www.w3.org/TR/AERT#color-contrast\n var rgb = this.toRgb();\n return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n };\n /**\n * Returns the perceived luminance of a color, from 0-1.\n */\n TinyColor.prototype.getLuminance = function () {\n // http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n var rgb = this.toRgb();\n var R;\n var G;\n var B;\n var RsRGB = rgb.r / 255;\n var GsRGB = rgb.g / 255;\n var BsRGB = rgb.b / 255;\n if (RsRGB <= 0.03928) {\n R = RsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);\n }\n if (GsRGB <= 0.03928) {\n G = GsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);\n }\n if (BsRGB <= 0.03928) {\n B = BsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n };\n /**\n * Returns the alpha value of a color, from 0-1.\n */\n TinyColor.prototype.getAlpha = function () {\n return this.a;\n };\n /**\n * Sets the alpha value on the current color.\n *\n * @param alpha - The new alpha value. The accepted range is 0-1.\n */\n TinyColor.prototype.setAlpha = function (alpha) {\n this.a = boundAlpha(alpha);\n this.roundA = Math.round(100 * this.a) / 100;\n return this;\n };\n /**\n * Returns whether the color is monochrome.\n */\n TinyColor.prototype.isMonochrome = function () {\n var s = this.toHsl().s;\n return s === 0;\n };\n /**\n * Returns the object as a HSVA object.\n */\n TinyColor.prototype.toHsv = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };\n };\n /**\n * Returns the hsva values interpolated into a string with the following format:\n * \"hsva(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHsvString = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n var h = Math.round(hsv.h * 360);\n var s = Math.round(hsv.s * 100);\n var v = Math.round(hsv.v * 100);\n return this.a === 1 ? \"hsv(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%)\") : \"hsva(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a HSLA object.\n */\n TinyColor.prototype.toHsl = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };\n };\n /**\n * Returns the hsla values interpolated into a string with the following format:\n * \"hsla(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHslString = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n var h = Math.round(hsl.h * 360);\n var s = Math.round(hsl.s * 100);\n var l = Math.round(hsl.l * 100);\n return this.a === 1 ? \"hsl(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%)\") : \"hsla(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the hex value of the color.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHex = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return rgbToHex(this.r, this.g, this.b, allow3Char);\n };\n /**\n * Returns the hex value of the color -with a # appened.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHexString = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return '#' + this.toHex(allow3Char);\n };\n /**\n * Returns the hex 8 value of the color.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8 = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);\n };\n /**\n * Returns the hex 8 value of the color -with a # appened.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8String = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return '#' + this.toHex8(allow4Char);\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toRgb = function () {\n return {\n r: Math.round(this.r),\n g: Math.round(this.g),\n b: Math.round(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA values interpolated into a string with the following format:\n * \"RGBA(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toRgbString = function () {\n var r = Math.round(this.r);\n var g = Math.round(this.g);\n var b = Math.round(this.b);\n return this.a === 1 ? \"rgb(\".concat(r, \", \").concat(g, \", \").concat(b, \")\") : \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toPercentageRgb = function () {\n var fmt = function (x) { return \"\".concat(Math.round(bound01(x, 255) * 100), \"%\"); };\n return {\n r: fmt(this.r),\n g: fmt(this.g),\n b: fmt(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA relative values interpolated into a string\n */\n TinyColor.prototype.toPercentageRgbString = function () {\n var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };\n return this.a === 1\n ? \"rgb(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%)\")\n : \"rgba(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%, \").concat(this.roundA, \")\");\n };\n /**\n * The 'real' name of the color -if there is one.\n */\n TinyColor.prototype.toName = function () {\n if (this.a === 0) {\n return 'transparent';\n }\n if (this.a < 1) {\n return false;\n }\n var hex = '#' + rgbToHex(this.r, this.g, this.b, false);\n for (var _i = 0, _a = Object.entries(names); _i < _a.length; _i++) {\n var _b = _a[_i], key = _b[0], value = _b[1];\n if (hex === value) {\n return key;\n }\n }\n return false;\n };\n TinyColor.prototype.toString = function (format) {\n var formatSet = Boolean(format);\n format = format !== null && format !== void 0 ? format : this.format;\n var formattedString = false;\n var hasAlpha = this.a < 1 && this.a >= 0;\n var needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith('hex') || format === 'name');\n if (needsAlphaFormat) {\n // Special case for \"transparent\", all other non-alpha formats\n // will return rgba when there is transparency.\n if (format === 'name' && this.a === 0) {\n return this.toName();\n }\n return this.toRgbString();\n }\n if (format === 'rgb') {\n formattedString = this.toRgbString();\n }\n if (format === 'prgb') {\n formattedString = this.toPercentageRgbString();\n }\n if (format === 'hex' || format === 'hex6') {\n formattedString = this.toHexString();\n }\n if (format === 'hex3') {\n formattedString = this.toHexString(true);\n }\n if (format === 'hex4') {\n formattedString = this.toHex8String(true);\n }\n if (format === 'hex8') {\n formattedString = this.toHex8String();\n }\n if (format === 'name') {\n formattedString = this.toName();\n }\n if (format === 'hsl') {\n formattedString = this.toHslString();\n }\n if (format === 'hsv') {\n formattedString = this.toHsvString();\n }\n return formattedString || this.toHexString();\n };\n TinyColor.prototype.toNumber = function () {\n return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);\n };\n TinyColor.prototype.clone = function () {\n return new TinyColor(this.toString());\n };\n /**\n * Lighten the color a given amount. Providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.lighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l += amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Brighten the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.brighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var rgb = this.toRgb();\n rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));\n rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));\n rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));\n return new TinyColor(rgb);\n };\n /**\n * Darken the color a given amount, from 0 to 100.\n * Providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.darken = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l -= amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.tint = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('white', amount);\n };\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.shade = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('black', amount);\n };\n /**\n * Desaturate the color a given amount, from 0 to 100.\n * Providing 100 will is the same as calling greyscale\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.desaturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s -= amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Saturate the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.saturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s += amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Completely desaturates a color into greyscale.\n * Same as calling `desaturate(100)`\n */\n TinyColor.prototype.greyscale = function () {\n return this.desaturate(100);\n };\n /**\n * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n * Values outside of this range will be wrapped into this range.\n */\n TinyColor.prototype.spin = function (amount) {\n var hsl = this.toHsl();\n var hue = (hsl.h + amount) % 360;\n hsl.h = hue < 0 ? 360 + hue : hue;\n return new TinyColor(hsl);\n };\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n TinyColor.prototype.mix = function (color, amount) {\n if (amount === void 0) { amount = 50; }\n var rgb1 = this.toRgb();\n var rgb2 = new TinyColor(color).toRgb();\n var p = amount / 100;\n var rgba = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b,\n a: (rgb2.a - rgb1.a) * p + rgb1.a,\n };\n return new TinyColor(rgba);\n };\n TinyColor.prototype.analogous = function (results, slices) {\n if (results === void 0) { results = 6; }\n if (slices === void 0) { slices = 30; }\n var hsl = this.toHsl();\n var part = 360 / slices;\n var ret = [this];\n for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results;) {\n hsl.h = (hsl.h + part) % 360;\n ret.push(new TinyColor(hsl));\n }\n return ret;\n };\n /**\n * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js\n */\n TinyColor.prototype.complement = function () {\n var hsl = this.toHsl();\n hsl.h = (hsl.h + 180) % 360;\n return new TinyColor(hsl);\n };\n TinyColor.prototype.monochromatic = function (results) {\n if (results === void 0) { results = 6; }\n var hsv = this.toHsv();\n var h = hsv.h;\n var s = hsv.s;\n var v = hsv.v;\n var res = [];\n var modification = 1 / results;\n while (results--) {\n res.push(new TinyColor({ h: h, s: s, v: v }));\n v = (v + modification) % 1;\n }\n return res;\n };\n TinyColor.prototype.splitcomplement = function () {\n var hsl = this.toHsl();\n var h = hsl.h;\n return [\n this,\n new TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n new TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n ];\n };\n /**\n * Compute how the color would appear on a background\n */\n TinyColor.prototype.onBackground = function (background) {\n var fg = this.toRgb();\n var bg = new TinyColor(background).toRgb();\n return new TinyColor({\n r: bg.r + (fg.r - bg.r) * fg.a,\n g: bg.g + (fg.g - bg.g) * fg.a,\n b: bg.b + (fg.b - bg.b) * fg.a,\n });\n };\n /**\n * Alias for `polyad(3)`\n */\n TinyColor.prototype.triad = function () {\n return this.polyad(3);\n };\n /**\n * Alias for `polyad(4)`\n */\n TinyColor.prototype.tetrad = function () {\n return this.polyad(4);\n };\n /**\n * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)\n * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...\n */\n TinyColor.prototype.polyad = function (n) {\n var hsl = this.toHsl();\n var h = hsl.h;\n var result = [this];\n var increment = 360 / n;\n for (var i = 1; i < n; i++) {\n result.push(new TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));\n }\n return result;\n };\n /**\n * compare color vs current color\n */\n TinyColor.prototype.equals = function (color) {\n return this.toRgbString() === new TinyColor(color).toRgbString();\n };\n return TinyColor;\n}());\nexport { TinyColor };\n// kept for backwards compatability with v1\nexport function tinycolor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n return new TinyColor(color, opts);\n}\n","import * as React from 'react';\nvar OrderContext = /*#__PURE__*/React.createContext(null);\nexport default OrderContext;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport OrderContext from \"./Context\";\nvar EMPTY_LIST = [];\n/**\n * Will add `div` to document. Nest call will keep order\n * @param render Render DOM in document\n */\n\nexport default function useDom(render, debug) {\n var _React$useState = React.useState(function () {\n if (!canUseDom()) {\n return null;\n }\n\n var defaultEle = document.createElement('div');\n\n if (process.env.NODE_ENV !== 'production' && debug) {\n defaultEle.setAttribute('data-debug', debug);\n }\n\n return defaultEle;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n ele = _React$useState2[0]; // ========================== Order ==========================\n\n\n var appendedRef = React.useRef(false);\n var queueCreate = React.useContext(OrderContext);\n\n var _React$useState3 = React.useState(EMPTY_LIST),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n queue = _React$useState4[0],\n setQueue = _React$useState4[1];\n\n var mergedQueueCreate = queueCreate || (appendedRef.current ? undefined : function (appendFn) {\n setQueue(function (origin) {\n var newQueue = [appendFn].concat(_toConsumableArray(origin));\n return newQueue;\n });\n }); // =========================== DOM ===========================\n\n function append() {\n if (!ele.parentElement) {\n document.body.appendChild(ele);\n }\n\n appendedRef.current = true;\n }\n\n function cleanup() {\n var _ele$parentElement;\n\n (_ele$parentElement = ele.parentElement) === null || _ele$parentElement === void 0 ? void 0 : _ele$parentElement.removeChild(ele);\n appendedRef.current = false;\n }\n\n useLayoutEffect(function () {\n if (render) {\n if (queueCreate) {\n queueCreate(append);\n } else {\n append();\n }\n } else {\n cleanup();\n }\n\n return cleanup;\n }, [render]);\n useLayoutEffect(function () {\n if (queue.length) {\n queue.forEach(function (appendFn) {\n return appendFn();\n });\n setQueue(EMPTY_LIST);\n }\n }, [queue]);\n return [ele, mergedQueueCreate];\n}","/**\n * Test usage export. Do not use in your production\n */\nexport function isBodyOverflowing() {\n return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { updateCSS, removeCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport getScrollBarSize from \"rc-util/es/getScrollBarSize\";\nimport { isBodyOverflowing } from \"./util\";\nvar UNIQUE_ID = \"rc-util-locker-\".concat(Date.now());\nvar uuid = 0;\nexport default function useScrollLocker(lock) {\n var mergedLock = !!lock;\n\n var _React$useState = React.useState(function () {\n uuid += 1;\n return \"\".concat(UNIQUE_ID, \"_\").concat(uuid);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n id = _React$useState2[0];\n\n useLayoutEffect(function () {\n if (mergedLock) {\n var scrollbarSize = getScrollBarSize();\n var isOverflow = isBodyOverflowing();\n updateCSS(\"\\nhtml body {\\n overflow-y: hidden;\\n \".concat(isOverflow ? \"width: calc(100% - \".concat(scrollbarSize, \"px);\") : '', \"\\n}\"), id);\n } else {\n removeCSS(id);\n }\n\n return function () {\n removeCSS(id);\n };\n }, [mergedLock, id]);\n}","export var inline = false;\nexport function inlineMock(nextInline) {\n if (typeof nextInline === 'boolean') {\n inline = nextInline;\n }\n\n return inline;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport { supportRef, useComposeRef } from \"rc-util/es/ref\";\nimport OrderContext from \"./Context\";\nimport useDom from \"./useDom\";\nimport useScrollLocker from \"./useScrollLocker\";\nimport { inlineMock } from \"./mock\";\n\nvar getPortalContainer = function getPortalContainer(getContainer) {\n if (getContainer === false) {\n return false;\n }\n\n if (!canUseDom() || !getContainer) {\n return null;\n }\n\n if (typeof getContainer === 'string') {\n return document.querySelector(getContainer);\n }\n\n if (typeof getContainer === 'function') {\n return getContainer();\n }\n\n return getContainer;\n};\n\nvar Portal = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var open = props.open,\n autoLock = props.autoLock,\n getContainer = props.getContainer,\n debug = props.debug,\n _props$autoDestroy = props.autoDestroy,\n autoDestroy = _props$autoDestroy === void 0 ? true : _props$autoDestroy,\n children = props.children;\n\n var _React$useState = React.useState(open),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n shouldRender = _React$useState2[0],\n setShouldRender = _React$useState2[1];\n\n var mergedRender = shouldRender || open; // ====================== Should Render ======================\n\n React.useEffect(function () {\n if (autoDestroy || open) {\n setShouldRender(open);\n }\n }, [open, autoDestroy]); // ======================== Container ========================\n\n var _React$useState3 = React.useState(function () {\n return getPortalContainer(getContainer);\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n innerContainer = _React$useState4[0],\n setInnerContainer = _React$useState4[1];\n\n React.useEffect(function () {\n var customizeContainer = getPortalContainer(getContainer); // Tell component that we check this in effect which is safe to be `null`\n\n setInnerContainer(customizeContainer !== null && customizeContainer !== void 0 ? customizeContainer : null);\n });\n\n var _useDom = useDom(mergedRender && !innerContainer, debug),\n _useDom2 = _slicedToArray(_useDom, 2),\n defaultContainer = _useDom2[0],\n queueCreate = _useDom2[1];\n\n var mergedContainer = innerContainer !== null && innerContainer !== void 0 ? innerContainer : defaultContainer; // ========================= Locker ==========================\n\n useScrollLocker(autoLock && open && canUseDom() && (mergedContainer === defaultContainer || mergedContainer === document.body)); // =========================== Ref ===========================\n\n var childRef = null;\n\n if (children && supportRef(children) && ref) {\n var _ref = children;\n childRef = _ref.ref;\n }\n\n var mergedRef = useComposeRef(childRef, ref); // ========================= Render ==========================\n // Do not render when nothing need render\n // When innerContainer is `undefined`, it may not ready since user use ref in the same render\n\n if (!mergedRender || !canUseDom() || innerContainer === undefined) {\n return null;\n } // Render inline\n\n\n var renderInline = mergedContainer === false || inlineMock();\n var reffedChildren = children;\n\n if (ref) {\n reffedChildren = /*#__PURE__*/React.cloneElement(children, {\n ref: mergedRef\n });\n }\n\n return /*#__PURE__*/React.createElement(OrderContext.Provider, {\n value: queueCreate\n }, renderInline ? reffedChildren : /*#__PURE__*/createPortal(reffedChildren, mergedContainer));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Portal.displayName = 'Portal';\n}\n\nexport default Portal;","import Portal from \"./Portal\";\nimport { inlineMock } from \"./mock\";\nexport { inlineMock };\nexport default Portal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useState from \"rc-util/es/hooks/useState\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { convertLegacyProps } from '../button/button';\nfunction isThenable(thing) {\n return !!(thing && !!thing.then);\n}\nvar ActionButton = function ActionButton(props) {\n var clickedRef = React.useRef(false);\n var ref = React.useRef(null);\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n loading = _useState2[0],\n setLoading = _useState2[1];\n var close = props.close;\n var onInternalClose = function onInternalClose() {\n close === null || close === void 0 ? void 0 : close.apply(void 0, arguments);\n };\n React.useEffect(function () {\n var timeoutId = null;\n if (props.autoFocus) {\n timeoutId = setTimeout(function () {\n var _a;\n (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();\n });\n }\n return function () {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n };\n }, []);\n var handlePromiseOnOk = function handlePromiseOnOk(returnValueOfOnOk) {\n if (!isThenable(returnValueOfOnOk)) {\n return;\n }\n setLoading(true);\n returnValueOfOnOk.then(function () {\n setLoading(false, true);\n onInternalClose.apply(void 0, arguments);\n clickedRef.current = false;\n }, function (e) {\n // Emit error when catch promise reject\n // eslint-disable-next-line no-console\n console.error(e);\n // See: https://github.com/ant-design/ant-design/issues/6183\n setLoading(false, true);\n clickedRef.current = false;\n });\n };\n var onClick = function onClick(e) {\n var actionFn = props.actionFn;\n if (clickedRef.current) {\n return;\n }\n clickedRef.current = true;\n if (!actionFn) {\n onInternalClose();\n return;\n }\n var returnValueOfOnOk;\n if (props.emitEvent) {\n returnValueOfOnOk = actionFn(e);\n if (props.quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {\n clickedRef.current = false;\n onInternalClose(e);\n return;\n }\n } else if (actionFn.length) {\n returnValueOfOnOk = actionFn(close);\n // https://github.com/ant-design/ant-design/issues/23358\n clickedRef.current = false;\n } else {\n returnValueOfOnOk = actionFn();\n if (!returnValueOfOnOk) {\n onInternalClose();\n return;\n }\n }\n handlePromiseOnOk(returnValueOfOnOk);\n };\n var type = props.type,\n children = props.children,\n prefixCls = props.prefixCls,\n buttonProps = props.buttonProps;\n return /*#__PURE__*/React.createElement(Button, _extends({}, convertLegacyProps(type), {\n onClick: onClick,\n loading: loading,\n prefixCls: prefixCls\n }, buttonProps, {\n ref: ref\n }), children);\n};\nexport default ActionButton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport warning from '../_util/warning';\nimport { changeConfirmLocale } from '../modal/locale';\nimport LocaleContext from './context';\nexport var ANT_MARK = 'internalMark';\nvar LocaleProvider = function LocaleProvider(props) {\n var _props$locale = props.locale,\n locale = _props$locale === void 0 ? {} : _props$locale,\n children = props.children,\n _ANT_MARK__ = props._ANT_MARK__;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(_ANT_MARK__ === ANT_MARK, 'LocaleProvider', '`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale') : void 0;\n }\n React.useEffect(function () {\n changeConfirmLocale(locale && locale.Modal);\n return function () {\n changeConfirmLocale();\n };\n }, [locale]);\n var getMemoizedContextValue = React.useMemo(function () {\n return _extends(_extends({}, locale), {\n exist: true\n });\n }, [locale]);\n return /*#__PURE__*/React.createElement(LocaleContext.Provider, {\n value: getMemoizedContextValue\n }, children);\n};\nexport default LocaleProvider;","/* eslint-disable import/prefer-default-export, prefer-destructuring */\nimport { generate } from '@ant-design/colors';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport canUseDom from \"rc-util/es/Dom/canUseDom\";\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport warning from '../_util/warning';\nvar dynamicStyleMark = \"-ant-\".concat(Date.now(), \"-\").concat(Math.random());\nexport function getStyle(globalPrefixCls, theme) {\n var variables = {};\n var formatColor = function formatColor(color, updater) {\n var clone = color.clone();\n clone = (updater === null || updater === void 0 ? void 0 : updater(clone)) || clone;\n return clone.toRgbString();\n };\n var fillColor = function fillColor(colorVal, type) {\n var baseColor = new TinyColor(colorVal);\n var colorPalettes = generate(baseColor.toRgbString());\n variables[\"\".concat(type, \"-color\")] = formatColor(baseColor);\n variables[\"\".concat(type, \"-color-disabled\")] = colorPalettes[1];\n variables[\"\".concat(type, \"-color-hover\")] = colorPalettes[4];\n variables[\"\".concat(type, \"-color-active\")] = colorPalettes[6];\n variables[\"\".concat(type, \"-color-outline\")] = baseColor.clone().setAlpha(0.2).toRgbString();\n variables[\"\".concat(type, \"-color-deprecated-bg\")] = colorPalettes[0];\n variables[\"\".concat(type, \"-color-deprecated-border\")] = colorPalettes[2];\n };\n // ================ Primary Color ================\n if (theme.primaryColor) {\n fillColor(theme.primaryColor, 'primary');\n var primaryColor = new TinyColor(theme.primaryColor);\n var primaryColors = generate(primaryColor.toRgbString());\n // Legacy - We should use semantic naming standard\n primaryColors.forEach(function (color, index) {\n variables[\"primary-\".concat(index + 1)] = color;\n });\n // Deprecated\n variables['primary-color-deprecated-l-35'] = formatColor(primaryColor, function (c) {\n return c.lighten(35);\n });\n variables['primary-color-deprecated-l-20'] = formatColor(primaryColor, function (c) {\n return c.lighten(20);\n });\n variables['primary-color-deprecated-t-20'] = formatColor(primaryColor, function (c) {\n return c.tint(20);\n });\n variables['primary-color-deprecated-t-50'] = formatColor(primaryColor, function (c) {\n return c.tint(50);\n });\n variables['primary-color-deprecated-f-12'] = formatColor(primaryColor, function (c) {\n return c.setAlpha(c.getAlpha() * 0.12);\n });\n var primaryActiveColor = new TinyColor(primaryColors[0]);\n variables['primary-color-active-deprecated-f-30'] = formatColor(primaryActiveColor, function (c) {\n return c.setAlpha(c.getAlpha() * 0.3);\n });\n variables['primary-color-active-deprecated-d-02'] = formatColor(primaryActiveColor, function (c) {\n return c.darken(2);\n });\n }\n // ================ Success Color ================\n if (theme.successColor) {\n fillColor(theme.successColor, 'success');\n }\n // ================ Warning Color ================\n if (theme.warningColor) {\n fillColor(theme.warningColor, 'warning');\n }\n // ================= Error Color =================\n if (theme.errorColor) {\n fillColor(theme.errorColor, 'error');\n }\n // ================= Info Color ==================\n if (theme.infoColor) {\n fillColor(theme.infoColor, 'info');\n }\n // Convert to css variables\n var cssList = Object.keys(variables).map(function (key) {\n return \"--\".concat(globalPrefixCls, \"-\").concat(key, \": \").concat(variables[key], \";\");\n });\n return \"\\n :root {\\n \".concat(cssList.join('\\n'), \"\\n }\\n \").trim();\n}\nexport function registerTheme(globalPrefixCls, theme) {\n var style = getStyle(globalPrefixCls, theme);\n if (canUseDom()) {\n updateCSS(style, \"\".concat(dynamicStyleMark, \"-dynamic-theme\"));\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'ConfigProvider', 'SSR do not support dynamic theme with css variables.') : void 0;\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport IconContext from \"@ant-design/icons/es/components/Context\";\nimport { FormProvider as RcFormProvider } from 'rc-field-form';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport * as React from 'react';\nimport LocaleProvider, { ANT_MARK } from '../locale-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport message from '../message';\nimport notification from '../notification';\nimport { ConfigConsumer, ConfigContext } from './context';\nimport { registerTheme } from './cssVariables';\nimport { DisabledContextProvider } from './DisabledContext';\nimport SizeContext, { SizeContextProvider } from './SizeContext';\nexport { ConfigContext, ConfigConsumer };\nexport var configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader'];\n// These props is used by `useContext` directly in sub component\nvar PASSED_PROPS = ['getTargetContainer', 'getPopupContainer', 'renderEmpty', 'pageHeader', 'input', 'pagination', 'form'];\nexport var defaultPrefixCls = 'ant';\nexport var defaultIconPrefixCls = 'anticon';\nvar globalPrefixCls;\nvar globalIconPrefixCls;\nfunction getGlobalPrefixCls() {\n return globalPrefixCls || defaultPrefixCls;\n}\nfunction getGlobalIconPrefixCls() {\n return globalIconPrefixCls || defaultIconPrefixCls;\n}\nvar setGlobalConfig = function setGlobalConfig(_ref) {\n var prefixCls = _ref.prefixCls,\n iconPrefixCls = _ref.iconPrefixCls,\n theme = _ref.theme;\n if (prefixCls !== undefined) {\n globalPrefixCls = prefixCls;\n }\n if (iconPrefixCls !== undefined) {\n globalIconPrefixCls = iconPrefixCls;\n }\n if (theme) {\n registerTheme(getGlobalPrefixCls(), theme);\n }\n};\nexport var globalConfig = function globalConfig() {\n return {\n getPrefixCls: function getPrefixCls(suffixCls, customizePrefixCls) {\n if (customizePrefixCls) return customizePrefixCls;\n return suffixCls ? \"\".concat(getGlobalPrefixCls(), \"-\").concat(suffixCls) : getGlobalPrefixCls();\n },\n getIconPrefixCls: getGlobalIconPrefixCls,\n getRootPrefixCls: function getRootPrefixCls(rootPrefixCls, customizePrefixCls) {\n // Customize rootPrefixCls is first priority\n if (rootPrefixCls) {\n return rootPrefixCls;\n }\n // If Global prefixCls provided, use this\n if (globalPrefixCls) {\n return globalPrefixCls;\n }\n // [Legacy] If customize prefixCls provided, we cut it to get the prefixCls\n if (customizePrefixCls && customizePrefixCls.includes('-')) {\n return customizePrefixCls.replace(/^(.*)-[^-]*$/, '$1');\n }\n // Fallback to default prefixCls\n return getGlobalPrefixCls();\n }\n };\n};\nvar ProviderChildren = function ProviderChildren(props) {\n var _a, _b;\n var children = props.children,\n csp = props.csp,\n autoInsertSpaceInButton = props.autoInsertSpaceInButton,\n form = props.form,\n locale = props.locale,\n componentSize = props.componentSize,\n direction = props.direction,\n space = props.space,\n virtual = props.virtual,\n dropdownMatchSelectWidth = props.dropdownMatchSelectWidth,\n legacyLocale = props.legacyLocale,\n parentContext = props.parentContext,\n iconPrefixCls = props.iconPrefixCls,\n componentDisabled = props.componentDisabled;\n var getPrefixCls = React.useCallback(function (suffixCls, customizePrefixCls) {\n var prefixCls = props.prefixCls;\n if (customizePrefixCls) return customizePrefixCls;\n var mergedPrefixCls = prefixCls || parentContext.getPrefixCls('');\n return suffixCls ? \"\".concat(mergedPrefixCls, \"-\").concat(suffixCls) : mergedPrefixCls;\n }, [parentContext.getPrefixCls, props.prefixCls]);\n var config = _extends(_extends({}, parentContext), {\n csp: csp,\n autoInsertSpaceInButton: autoInsertSpaceInButton,\n locale: locale || legacyLocale,\n direction: direction,\n space: space,\n virtual: virtual,\n dropdownMatchSelectWidth: dropdownMatchSelectWidth,\n getPrefixCls: getPrefixCls\n });\n // Pass the props used by `useContext` directly with child component.\n // These props should merged into `config`.\n PASSED_PROPS.forEach(function (propName) {\n var propValue = props[propName];\n if (propValue) {\n config[propName] = propValue;\n }\n });\n // https://github.com/ant-design/ant-design/issues/27617\n var memoedConfig = useMemo(function () {\n return config;\n }, config, function (prevConfig, currentConfig) {\n var prevKeys = Object.keys(prevConfig);\n var currentKeys = Object.keys(currentConfig);\n return prevKeys.length !== currentKeys.length || prevKeys.some(function (key) {\n return prevConfig[key] !== currentConfig[key];\n });\n });\n var memoIconContextValue = React.useMemo(function () {\n return {\n prefixCls: iconPrefixCls,\n csp: csp\n };\n }, [iconPrefixCls, csp]);\n var childNode = children;\n // Additional Form provider\n var validateMessages = {};\n if (locale) {\n validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b = defaultLocale.Form) === null || _b === void 0 ? void 0 : _b.defaultValidateMessages) || {};\n }\n if (form && form.validateMessages) {\n validateMessages = _extends(_extends({}, validateMessages), form.validateMessages);\n }\n if (Object.keys(validateMessages).length > 0) {\n childNode = /*#__PURE__*/React.createElement(RcFormProvider, {\n validateMessages: validateMessages\n }, children);\n }\n if (locale) {\n childNode = /*#__PURE__*/React.createElement(LocaleProvider, {\n locale: locale,\n _ANT_MARK__: ANT_MARK\n }, childNode);\n }\n if (iconPrefixCls || csp) {\n childNode = /*#__PURE__*/React.createElement(IconContext.Provider, {\n value: memoIconContextValue\n }, childNode);\n }\n if (componentSize) {\n childNode = /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: componentSize\n }, childNode);\n }\n if (componentDisabled !== undefined) {\n childNode = /*#__PURE__*/React.createElement(DisabledContextProvider, {\n disabled: componentDisabled\n }, childNode);\n }\n return /*#__PURE__*/React.createElement(ConfigContext.Provider, {\n value: memoedConfig\n }, childNode);\n};\nvar ConfigProvider = function ConfigProvider(props) {\n React.useEffect(function () {\n if (props.direction) {\n message.config({\n rtl: props.direction === 'rtl'\n });\n notification.config({\n rtl: props.direction === 'rtl'\n });\n }\n }, [props.direction]);\n return /*#__PURE__*/React.createElement(LocaleReceiver, null, function (_, __, legacyLocale) {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (context) {\n return /*#__PURE__*/React.createElement(ProviderChildren, _extends({\n parentContext: context,\n legacyLocale: legacyLocale\n }, props));\n });\n });\n};\n/** @private internal Usage. do not use in your production */\nConfigProvider.ConfigContext = ConfigContext;\nConfigProvider.SizeContext = SizeContext;\nConfigProvider.config = setGlobalConfig;\nexport default ConfigProvider;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useRCNotification from \"rc-notification/es/useNotification\";\nimport * as React from 'react';\nimport { attachTypeApi, getKeyThenIncreaseKey, typeList } from '..';\nimport { ConfigConsumer } from '../../config-provider';\nexport default function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {\n var useMessage = function useMessage() {\n // We can only get content by render\n var getPrefixCls;\n var getPopupContainer;\n // We create a proxy to handle delay created instance\n var innerInstance = null;\n var proxy = {\n add: function add(noticeProps, holderCallback) {\n innerInstance === null || innerInstance === void 0 ? void 0 : innerInstance.component.add(noticeProps, holderCallback);\n }\n };\n var _useRCNotification = useRCNotification(proxy),\n _useRCNotification2 = _slicedToArray(_useRCNotification, 2),\n hookNotify = _useRCNotification2[0],\n holder = _useRCNotification2[1];\n function notify(args) {\n var customizePrefixCls = args.prefixCls;\n var mergedPrefixCls = getPrefixCls('message', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var target = args.key || getKeyThenIncreaseKey();\n var closePromise = new Promise(function (resolve) {\n var callback = function callback() {\n if (typeof args.onClose === 'function') {\n args.onClose();\n }\n return resolve(true);\n };\n getRcNotificationInstance(_extends(_extends({}, args), {\n prefixCls: mergedPrefixCls,\n rootPrefixCls: rootPrefixCls,\n getPopupContainer: getPopupContainer\n }), function (_ref) {\n var prefixCls = _ref.prefixCls,\n instance = _ref.instance;\n innerInstance = instance;\n hookNotify(getRCNoticeProps(_extends(_extends({}, args), {\n key: target,\n onClose: callback\n }), prefixCls));\n });\n });\n var result = function result() {\n if (innerInstance) {\n innerInstance.removeNotice(target);\n }\n };\n result.then = function (filled, rejected) {\n return closePromise.then(filled, rejected);\n };\n result.promise = closePromise;\n return result;\n }\n // Fill functions\n var hookApiRef = React.useRef({});\n hookApiRef.current.open = notify;\n typeList.forEach(function (type) {\n return attachTypeApi(hookApiRef.current, type);\n });\n return [hookApiRef.current, /*#__PURE__*/React.createElement(ConfigConsumer, {\n key: \"holder\"\n }, function (context) {\n getPrefixCls = context.getPrefixCls;\n getPopupContainer = context.getPopupContainer;\n return holder;\n })];\n };\n return useMessage;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport classNames from 'classnames';\nimport RCNotification from 'rc-notification';\nimport * as React from 'react';\nimport ConfigProvider, { globalConfig } from '../config-provider';\nimport createUseMessage from './hooks/useMessage';\nvar messageInstance;\nvar defaultDuration = 3;\nvar defaultTop;\nvar key = 1;\nvar localPrefixCls = '';\nvar transitionName = 'move-up';\nvar hasTransitionName = false;\nvar getContainer;\nvar maxCount;\nvar rtl = false;\nexport function getKeyThenIncreaseKey() {\n return key++;\n}\nfunction setMessageConfig(options) {\n if (options.top !== undefined) {\n defaultTop = options.top;\n messageInstance = null; // delete messageInstance for new defaultTop\n }\n\n if (options.duration !== undefined) {\n defaultDuration = options.duration;\n }\n if (options.prefixCls !== undefined) {\n localPrefixCls = options.prefixCls;\n }\n if (options.getContainer !== undefined) {\n getContainer = options.getContainer;\n messageInstance = null; // delete messageInstance for new getContainer\n }\n\n if (options.transitionName !== undefined) {\n transitionName = options.transitionName;\n messageInstance = null; // delete messageInstance for new transitionName\n hasTransitionName = true;\n }\n if (options.maxCount !== undefined) {\n maxCount = options.maxCount;\n messageInstance = null;\n }\n if (options.rtl !== undefined) {\n rtl = options.rtl;\n }\n}\nfunction getRCNotificationInstance(args, callback) {\n var customizePrefixCls = args.prefixCls,\n getContextPopupContainer = args.getPopupContainer;\n var _globalConfig = globalConfig(),\n getPrefixCls = _globalConfig.getPrefixCls,\n getRootPrefixCls = _globalConfig.getRootPrefixCls,\n getIconPrefixCls = _globalConfig.getIconPrefixCls;\n var prefixCls = getPrefixCls('message', customizePrefixCls || localPrefixCls);\n var rootPrefixCls = getRootPrefixCls(args.rootPrefixCls, prefixCls);\n var iconPrefixCls = getIconPrefixCls();\n if (messageInstance) {\n callback({\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n instance: messageInstance\n });\n return;\n }\n var instanceConfig = {\n prefixCls: prefixCls,\n transitionName: hasTransitionName ? transitionName : \"\".concat(rootPrefixCls, \"-\").concat(transitionName),\n style: {\n top: defaultTop\n },\n getContainer: getContainer || getContextPopupContainer,\n maxCount: maxCount\n };\n RCNotification.newInstance(instanceConfig, function (instance) {\n if (messageInstance) {\n callback({\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n instance: messageInstance\n });\n return;\n }\n messageInstance = instance;\n if (process.env.NODE_ENV === 'test') {\n messageInstance.config = instanceConfig;\n }\n callback({\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n instance: instance\n });\n });\n}\nvar typeToIcon = {\n info: InfoCircleFilled,\n success: CheckCircleFilled,\n error: CloseCircleFilled,\n warning: ExclamationCircleFilled,\n loading: LoadingOutlined\n};\nexport var typeList = Object.keys(typeToIcon);\nfunction getRCNoticeProps(args, prefixCls, iconPrefixCls) {\n var _classNames;\n var duration = args.duration !== undefined ? args.duration : defaultDuration;\n var IconComponent = typeToIcon[args.type];\n var messageClass = classNames(\"\".concat(prefixCls, \"-custom-content\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(args.type), args.type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), rtl === true), _classNames));\n return {\n key: args.key,\n duration: duration,\n style: args.style || {},\n className: args.className,\n content: /*#__PURE__*/React.createElement(ConfigProvider, {\n iconPrefixCls: iconPrefixCls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: messageClass\n }, args.icon || IconComponent && /*#__PURE__*/React.createElement(IconComponent, null), /*#__PURE__*/React.createElement(\"span\", null, args.content))),\n onClose: args.onClose,\n onClick: args.onClick\n };\n}\nfunction notice(args) {\n var target = args.key || getKeyThenIncreaseKey();\n var closePromise = new Promise(function (resolve) {\n var callback = function callback() {\n if (typeof args.onClose === 'function') {\n args.onClose();\n }\n return resolve(true);\n };\n getRCNotificationInstance(args, function (_ref) {\n var prefixCls = _ref.prefixCls,\n iconPrefixCls = _ref.iconPrefixCls,\n instance = _ref.instance;\n instance.notice(getRCNoticeProps(_extends(_extends({}, args), {\n key: target,\n onClose: callback\n }), prefixCls, iconPrefixCls));\n });\n });\n var result = function result() {\n if (messageInstance) {\n messageInstance.removeNotice(target);\n }\n };\n result.then = function (filled, rejected) {\n return closePromise.then(filled, rejected);\n };\n result.promise = closePromise;\n return result;\n}\nfunction isArgsProps(content) {\n return Object.prototype.toString.call(content) === '[object Object]' && !!content.content;\n}\nvar api = {\n open: notice,\n config: setMessageConfig,\n destroy: function destroy(messageKey) {\n if (messageInstance) {\n if (messageKey) {\n var _messageInstance = messageInstance,\n removeNotice = _messageInstance.removeNotice;\n removeNotice(messageKey);\n } else {\n var _messageInstance2 = messageInstance,\n destroy = _messageInstance2.destroy;\n destroy();\n messageInstance = null;\n }\n }\n }\n};\nexport function attachTypeApi(originalApi, type) {\n originalApi[type] = function (content, duration, onClose) {\n if (isArgsProps(content)) {\n return originalApi.open(_extends(_extends({}, content), {\n type: type\n }));\n }\n if (typeof duration === 'function') {\n onClose = duration;\n duration = undefined;\n }\n return originalApi.open({\n content: content,\n duration: duration,\n type: type,\n onClose: onClose\n });\n };\n}\ntypeList.forEach(function (type) {\n return attachTypeApi(api, type);\n});\napi.warn = api.warning;\napi.useMessage = createUseMessage(getRCNotificationInstance, getRCNoticeProps);\n/** @internal test Only function. Not work on production */\nexport var getInstance = function getInstance() {\n return process.env.NODE_ENV === 'test' ? messageInstance : null;\n};\nexport default api;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport Dialog from 'rc-dialog';\nimport * as React from 'react';\nimport Button from '../button';\nimport { convertLegacyProps } from '../button/button';\nimport { ConfigContext } from '../config-provider';\nimport { NoFormStyle } from '../form/context';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport { getTransitionName } from '../_util/motion';\nimport { canUseDocElement } from '../_util/styleChecker';\nimport warning from '../_util/warning';\nimport { getConfirmLocale } from './locale';\nvar mousePosition;\n// ref: https://github.com/ant-design/ant-design/issues/15795\nvar getClickPosition = function getClickPosition(e) {\n mousePosition = {\n x: e.pageX,\n y: e.pageY\n };\n // 100ms 内发生过点击事件,则从点击位置动画展示\n // 否则直接 zoom 展示\n // 这样可以兼容非点击方式展开\n setTimeout(function () {\n mousePosition = null;\n }, 100);\n};\n// 只有点击事件支持从鼠标位置动画展开\nif (canUseDocElement()) {\n document.documentElement.addEventListener('click', getClickPosition, true);\n}\nvar Modal = function Modal(props) {\n var _classNames;\n var _a;\n var _React$useContext = React.useContext(ConfigContext),\n getContextPopupContainer = _React$useContext.getPopupContainer,\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var handleCancel = function handleCancel(e) {\n var onCancel = props.onCancel;\n onCancel === null || onCancel === void 0 ? void 0 : onCancel(e);\n };\n var handleOk = function handleOk(e) {\n var onOk = props.onOk;\n onOk === null || onOk === void 0 ? void 0 : onOk(e);\n };\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Modal', \"`visible` will be removed in next major version, please use `open` instead.\") : void 0;\n var customizePrefixCls = props.prefixCls,\n footer = props.footer,\n visible = props.visible,\n _props$open = props.open,\n open = _props$open === void 0 ? false : _props$open,\n wrapClassName = props.wrapClassName,\n centered = props.centered,\n getContainer = props.getContainer,\n closeIcon = props.closeIcon,\n _props$focusTriggerAf = props.focusTriggerAfterClose,\n focusTriggerAfterClose = _props$focusTriggerAf === void 0 ? true : _props$focusTriggerAf,\n _props$width = props.width,\n width = _props$width === void 0 ? 520 : _props$width,\n restProps = __rest(props, [\"prefixCls\", \"footer\", \"visible\", \"open\", \"wrapClassName\", \"centered\", \"getContainer\", \"closeIcon\", \"focusTriggerAfterClose\", \"width\"]);\n var prefixCls = getPrefixCls('modal', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var defaultFooter = /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Modal\",\n defaultLocale: getConfirmLocale()\n }, function (contextLocale) {\n var okText = props.okText,\n _props$okType = props.okType,\n okType = _props$okType === void 0 ? 'primary' : _props$okType,\n cancelText = props.cancelText,\n _props$confirmLoading = props.confirmLoading,\n confirmLoading = _props$confirmLoading === void 0 ? false : _props$confirmLoading;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, _extends({\n onClick: handleCancel\n }, props.cancelButtonProps), cancelText || contextLocale.cancelText), /*#__PURE__*/React.createElement(Button, _extends({}, convertLegacyProps(okType), {\n loading: confirmLoading,\n onClick: handleOk\n }, props.okButtonProps), okText !== null && okText !== void 0 ? okText : contextLocale.okText));\n });\n var closeIconToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-x\")\n }, closeIcon || /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\")\n }));\n var wrapClassNameExtended = classNames(wrapClassName, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-centered\"), !!centered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-wrap-rtl\"), direction === 'rtl'), _classNames));\n return /*#__PURE__*/React.createElement(NoFormStyle, {\n status: true,\n override: true\n }, /*#__PURE__*/React.createElement(Dialog, _extends({\n width: width\n }, restProps, {\n getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,\n prefixCls: prefixCls,\n wrapClassName: wrapClassNameExtended,\n footer: footer === undefined ? defaultFooter : footer,\n visible: open || visible,\n mousePosition: (_a = restProps.mousePosition) !== null && _a !== void 0 ? _a : mousePosition,\n onClose: handleCancel,\n closeIcon: closeIconToRender,\n focusTriggerAfterClose: focusTriggerAfterClose,\n transitionName: getTransitionName(rootPrefixCls, 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', props.maskTransitionName)\n })));\n};\nexport default Modal;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport ConfigProvider from '../config-provider';\nimport ActionButton from '../_util/ActionButton';\nimport { getTransitionName } from '../_util/motion';\nimport warning from '../_util/warning';\nimport Dialog from './Modal';\nvar ConfirmDialog = function ConfirmDialog(props) {\n var icon = props.icon,\n onCancel = props.onCancel,\n onOk = props.onOk,\n close = props.close,\n zIndex = props.zIndex,\n afterClose = props.afterClose,\n visible = props.visible,\n open = props.open,\n keyboard = props.keyboard,\n centered = props.centered,\n getContainer = props.getContainer,\n maskStyle = props.maskStyle,\n okText = props.okText,\n okButtonProps = props.okButtonProps,\n cancelText = props.cancelText,\n cancelButtonProps = props.cancelButtonProps,\n direction = props.direction,\n prefixCls = props.prefixCls,\n wrapClassName = props.wrapClassName,\n rootPrefixCls = props.rootPrefixCls,\n iconPrefixCls = props.iconPrefixCls,\n bodyStyle = props.bodyStyle,\n _props$closable = props.closable,\n closable = _props$closable === void 0 ? false : _props$closable,\n closeIcon = props.closeIcon,\n modalRender = props.modalRender,\n focusTriggerAfterClose = props.focusTriggerAfterClose;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Modal', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(visible === undefined, 'Modal', \"`visible` is deprecated, please use `open` instead.\") : void 0;\n }\n // 支持传入{ icon: null }来隐藏`Modal.confirm`默认的Icon\n var okType = props.okType || 'primary';\n var contentPrefixCls = \"\".concat(prefixCls, \"-confirm\");\n // 默认为 true,保持向下兼容\n var okCancel = 'okCancel' in props ? props.okCancel : true;\n var width = props.width || 416;\n var style = props.style || {};\n var mask = props.mask === undefined ? true : props.mask;\n // 默认为 false,保持旧版默认行为\n var maskClosable = props.maskClosable === undefined ? false : props.maskClosable;\n var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';\n var classString = classNames(contentPrefixCls, \"\".concat(contentPrefixCls, \"-\").concat(props.type), _defineProperty({}, \"\".concat(contentPrefixCls, \"-rtl\"), direction === 'rtl'), props.className);\n var cancelButton = okCancel && /*#__PURE__*/React.createElement(ActionButton, {\n actionFn: onCancel,\n close: close,\n autoFocus: autoFocusButton === 'cancel',\n buttonProps: cancelButtonProps,\n prefixCls: \"\".concat(rootPrefixCls, \"-btn\")\n }, cancelText);\n return /*#__PURE__*/React.createElement(ConfigProvider, {\n prefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n direction: direction\n }, /*#__PURE__*/React.createElement(Dialog, {\n prefixCls: prefixCls,\n className: classString,\n wrapClassName: classNames(_defineProperty({}, \"\".concat(contentPrefixCls, \"-centered\"), !!props.centered), wrapClassName),\n onCancel: function onCancel() {\n return close === null || close === void 0 ? void 0 : close({\n triggerCancel: true\n });\n },\n open: open || visible,\n title: \"\",\n footer: \"\",\n transitionName: getTransitionName(rootPrefixCls, 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', props.maskTransitionName),\n mask: mask,\n maskClosable: maskClosable,\n maskStyle: maskStyle,\n style: style,\n bodyStyle: bodyStyle,\n width: width,\n zIndex: zIndex,\n afterClose: afterClose,\n keyboard: keyboard,\n centered: centered,\n getContainer: getContainer,\n closable: closable,\n closeIcon: closeIcon,\n modalRender: modalRender,\n focusTriggerAfterClose: focusTriggerAfterClose\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(contentPrefixCls, \"-body-wrapper\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(contentPrefixCls, \"-body\")\n }, icon, props.title === undefined ? null : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(contentPrefixCls, \"-title\")\n }, props.title), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(contentPrefixCls, \"-content\")\n }, props.content)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(contentPrefixCls, \"-btns\")\n }, cancelButton, /*#__PURE__*/React.createElement(ActionButton, {\n type: okType,\n actionFn: onOk,\n close: close,\n autoFocus: autoFocusButton === 'ok',\n buttonProps: okButtonProps,\n prefixCls: \"\".concat(rootPrefixCls, \"-btn\")\n }, okText)))));\n};\nexport default ConfirmDialog;","var destroyFns = [];\nexport default destroyFns;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CheckCircleOutlined from \"@ant-design/icons/es/icons/CheckCircleOutlined\";\nimport CloseCircleOutlined from \"@ant-design/icons/es/icons/CloseCircleOutlined\";\nimport ExclamationCircleOutlined from \"@ant-design/icons/es/icons/ExclamationCircleOutlined\";\nimport InfoCircleOutlined from \"@ant-design/icons/es/icons/InfoCircleOutlined\";\nimport { render as reactRender, unmount as reactUnmount } from \"rc-util/es/React/render\";\nimport * as React from 'react';\nimport { globalConfig } from '../config-provider';\nimport warning from '../_util/warning';\nimport ConfirmDialog from './ConfirmDialog';\nimport destroyFns from './destroyFns';\nimport { getConfirmLocale } from './locale';\nvar defaultRootPrefixCls = '';\nfunction getRootPrefixCls() {\n return defaultRootPrefixCls;\n}\nexport default function confirm(config) {\n var container = document.createDocumentFragment();\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n var currentConfig = _extends(_extends({}, config), {\n close: close,\n open: true\n });\n var timeoutId;\n function destroy() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var triggerCancel = args.some(function (param) {\n return param && param.triggerCancel;\n });\n if (config.onCancel && triggerCancel) {\n config.onCancel.apply(config, [function () {}].concat(_toConsumableArray(args.slice(1))));\n }\n for (var i = 0; i < destroyFns.length; i++) {\n var fn = destroyFns[i];\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n if (fn === close) {\n destroyFns.splice(i, 1);\n break;\n }\n }\n reactUnmount(container);\n }\n function render(_a) {\n var okText = _a.okText,\n cancelText = _a.cancelText,\n customizePrefixCls = _a.prefixCls,\n props = __rest(_a, [\"okText\", \"cancelText\", \"prefixCls\"]);\n clearTimeout(timeoutId);\n /**\n * https://github.com/ant-design/ant-design/issues/23623\n *\n * Sync render blocks React event. Let's make this async.\n */\n timeoutId = setTimeout(function () {\n var runtimeLocale = getConfirmLocale();\n var _globalConfig = globalConfig(),\n getPrefixCls = _globalConfig.getPrefixCls,\n getIconPrefixCls = _globalConfig.getIconPrefixCls;\n // because Modal.config \b set rootPrefixCls, which is different from other components\n var rootPrefixCls = getPrefixCls(undefined, getRootPrefixCls());\n var prefixCls = customizePrefixCls || \"\".concat(rootPrefixCls, \"-modal\");\n var iconPrefixCls = getIconPrefixCls();\n reactRender( /*#__PURE__*/React.createElement(ConfirmDialog, _extends({}, props, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n okText: okText || (props.okCancel ? runtimeLocale.okText : runtimeLocale.justOkText),\n cancelText: cancelText || runtimeLocale.cancelText\n })), container);\n });\n }\n function close() {\n var _this = this;\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n currentConfig = _extends(_extends({}, currentConfig), {\n open: false,\n afterClose: function afterClose() {\n if (typeof config.afterClose === 'function') {\n config.afterClose();\n }\n destroy.apply(_this, args);\n }\n });\n // Legacy support\n if (currentConfig.visible) {\n delete currentConfig.visible;\n }\n render(currentConfig);\n }\n function update(configUpdate) {\n if (typeof configUpdate === 'function') {\n currentConfig = configUpdate(currentConfig);\n } else {\n currentConfig = _extends(_extends({}, currentConfig), configUpdate);\n }\n render(currentConfig);\n }\n render(currentConfig);\n destroyFns.push(close);\n return {\n destroy: close,\n update: update\n };\n}\nexport function withWarn(props) {\n return _extends(_extends({\n icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n okCancel: false\n }, props), {\n type: 'warning'\n });\n}\nexport function withInfo(props) {\n return _extends(_extends({\n icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, null),\n okCancel: false\n }, props), {\n type: 'info'\n });\n}\nexport function withSuccess(props) {\n return _extends(_extends({\n icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n okCancel: false\n }, props), {\n type: 'success'\n });\n}\nexport function withError(props) {\n return _extends(_extends({\n icon: /*#__PURE__*/React.createElement(CloseCircleOutlined, null),\n okCancel: false\n }, props), {\n type: 'error'\n });\n}\nexport function withConfirm(props) {\n return _extends(_extends({\n icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n okCancel: true\n }, props), {\n type: 'confirm'\n });\n}\nexport function modalGlobalConfig(_ref) {\n var rootPrefixCls = _ref.rootPrefixCls;\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Modal', 'Modal.config is deprecated. Please use ConfigProvider.config instead.') : void 0;\n defaultRootPrefixCls = rootPrefixCls;\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default function usePatchElement() {\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n elements = _React$useState2[0],\n setElements = _React$useState2[1];\n var patchElement = React.useCallback(function (element) {\n // append a new element to elements (and create a new ref)\n setElements(function (originElements) {\n return [].concat(_toConsumableArray(originElements), [element]);\n });\n // return a function that removes the new element out of elements (and create a new ref)\n // it works a little like useEffect\n return function () {\n setElements(function (originElements) {\n return originElements.filter(function (ele) {\n return ele !== element;\n });\n });\n };\n }, []);\n return [elements, patchElement];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../../config-provider';\nimport LocaleReceiver from '../../locale-provider/LocaleReceiver';\nimport defaultLocale from '../../locale/default';\nimport ConfirmDialog from '../ConfirmDialog';\nvar HookModal = function HookModal(_ref, ref) {\n var afterClose = _ref.afterClose,\n config = _ref.config;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n open = _React$useState2[0],\n setOpen = _React$useState2[1];\n var _React$useState3 = React.useState(config),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n innerConfig = _React$useState4[0],\n setInnerConfig = _React$useState4[1];\n var _React$useContext = React.useContext(ConfigContext),\n direction = _React$useContext.direction,\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('modal');\n var rootPrefixCls = getPrefixCls();\n var close = function close() {\n setOpen(false);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var triggerCancel = args.some(function (param) {\n return param && param.triggerCancel;\n });\n if (innerConfig.onCancel && triggerCancel) {\n innerConfig.onCancel.apply(innerConfig, [function () {}].concat(_toConsumableArray(args.slice(1))));\n }\n };\n React.useImperativeHandle(ref, function () {\n return {\n destroy: close,\n update: function update(newConfig) {\n setInnerConfig(function (originConfig) {\n return _extends(_extends({}, originConfig), newConfig);\n });\n }\n };\n });\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Modal\",\n defaultLocale: defaultLocale.Modal\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(ConfirmDialog, _extends({\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls\n }, innerConfig, {\n close: close,\n open: open,\n afterClose: afterClose,\n okText: innerConfig.okText || (innerConfig.okCancel ? contextLocale.okText : contextLocale.justOkText),\n direction: direction,\n cancelText: innerConfig.cancelText || contextLocale.cancelText\n }));\n });\n};\nexport default /*#__PURE__*/React.forwardRef(HookModal);","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport usePatchElement from '../../_util/hooks/usePatchElement';\nimport { withConfirm, withError, withInfo, withSuccess, withWarn } from '../confirm';\nimport HookModal from './HookModal';\nvar uuid = 0;\nvar ElementsHolder = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (_props, ref) {\n var _usePatchElement = usePatchElement(),\n _usePatchElement2 = _slicedToArray(_usePatchElement, 2),\n elements = _usePatchElement2[0],\n patchElement = _usePatchElement2[1];\n React.useImperativeHandle(ref, function () {\n return {\n patchElement: patchElement\n };\n }, []);\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return /*#__PURE__*/React.createElement(React.Fragment, null, elements);\n}));\nexport default function useModal() {\n var holderRef = React.useRef(null);\n // ========================== Effect ==========================\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n actionQueue = _React$useState2[0],\n setActionQueue = _React$useState2[1];\n React.useEffect(function () {\n if (actionQueue.length) {\n var cloneQueue = _toConsumableArray(actionQueue);\n cloneQueue.forEach(function (action) {\n action();\n });\n setActionQueue([]);\n }\n }, [actionQueue]);\n // =========================== Hook ===========================\n var getConfirmFunc = React.useCallback(function (withFunc) {\n return function hookConfirm(config) {\n var _a;\n uuid += 1;\n var modalRef = /*#__PURE__*/React.createRef();\n var closeFunc;\n var modal = /*#__PURE__*/React.createElement(HookModal, {\n key: \"modal-\".concat(uuid),\n config: withFunc(config),\n ref: modalRef,\n afterClose: function afterClose() {\n closeFunc === null || closeFunc === void 0 ? void 0 : closeFunc();\n }\n });\n closeFunc = (_a = holderRef.current) === null || _a === void 0 ? void 0 : _a.patchElement(modal);\n return {\n destroy: function destroy() {\n function destroyAction() {\n var _a;\n (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n }\n if (modalRef.current) {\n destroyAction();\n } else {\n setActionQueue(function (prev) {\n return [].concat(_toConsumableArray(prev), [destroyAction]);\n });\n }\n },\n update: function update(newConfig) {\n function updateAction() {\n var _a;\n (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.update(newConfig);\n }\n if (modalRef.current) {\n updateAction();\n } else {\n setActionQueue(function (prev) {\n return [].concat(_toConsumableArray(prev), [updateAction]);\n });\n }\n }\n };\n };\n }, []);\n var fns = React.useMemo(function () {\n return {\n info: getConfirmFunc(withInfo),\n success: getConfirmFunc(withSuccess),\n error: getConfirmFunc(withError),\n warning: getConfirmFunc(withWarn),\n confirm: getConfirmFunc(withConfirm)\n };\n }, []);\n // eslint-disable-next-line react/jsx-key\n return [fns, /*#__PURE__*/React.createElement(ElementsHolder, {\n ref: holderRef\n })];\n}","import confirm, { modalGlobalConfig, withConfirm, withError, withInfo, withSuccess, withWarn } from './confirm';\nimport destroyFns from './destroyFns';\nimport OriginModal from './Modal';\nimport useModal from './useModal';\nfunction modalWarn(props) {\n return confirm(withWarn(props));\n}\nvar Modal = OriginModal;\nModal.useModal = useModal;\nModal.info = function infoFn(props) {\n return confirm(withInfo(props));\n};\nModal.success = function successFn(props) {\n return confirm(withSuccess(props));\n};\nModal.error = function errorFn(props) {\n return confirm(withError(props));\n};\nModal.warning = modalWarn;\nModal.warn = modalWarn;\nModal.confirm = function confirmFn(props) {\n return confirm(withConfirm(props));\n};\nModal.destroyAll = function destroyAllFn() {\n while (destroyFns.length) {\n var close = destroyFns.pop();\n if (close) {\n close();\n }\n }\n};\nModal.config = modalGlobalConfig;\nexport default Modal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport defaultLocale from '../locale/default';\nvar runtimeLocale = _extends({}, defaultLocale.Modal);\nexport function changeConfirmLocale(newLocale) {\n if (newLocale) {\n runtimeLocale = _extends(_extends({}, runtimeLocale), newLocale);\n } else {\n runtimeLocale = _extends({}, defaultLocale.Modal);\n }\n}\nexport function getConfirmLocale() {\n return runtimeLocale;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useRCNotification from \"rc-notification/es/useNotification\";\nimport * as React from 'react';\nimport { ConfigConsumer } from '../../config-provider';\nexport default function createUseNotification(getNotificationInstance, getRCNoticeProps) {\n var useNotification = function useNotification() {\n // We can only get content by render\n var getPrefixCls;\n // We create a proxy to handle delay created instance\n var innerInstance = null;\n var proxy = {\n add: function add(noticeProps, holderCallback) {\n innerInstance === null || innerInstance === void 0 ? void 0 : innerInstance.component.add(noticeProps, holderCallback);\n }\n };\n var _useRCNotification = useRCNotification(proxy),\n _useRCNotification2 = _slicedToArray(_useRCNotification, 2),\n hookNotify = _useRCNotification2[0],\n holder = _useRCNotification2[1];\n function notify(args) {\n var customizePrefixCls = args.prefixCls;\n var mergedPrefixCls = getPrefixCls('notification', customizePrefixCls);\n getNotificationInstance(_extends(_extends({}, args), {\n prefixCls: mergedPrefixCls\n }), function (_ref) {\n var prefixCls = _ref.prefixCls,\n instance = _ref.instance;\n innerInstance = instance;\n hookNotify(getRCNoticeProps(args, prefixCls));\n });\n }\n // Fill functions\n var hookApiRef = React.useRef({});\n hookApiRef.current.open = notify;\n ['success', 'info', 'warning', 'error'].forEach(function (type) {\n hookApiRef.current[type] = function (args) {\n return hookApiRef.current.open(_extends(_extends({}, args), {\n type: type\n }));\n };\n });\n return [hookApiRef.current, /*#__PURE__*/React.createElement(ConfigConsumer, {\n key: \"holder\"\n }, function (context) {\n getPrefixCls = context.getPrefixCls;\n return holder;\n })];\n };\n return useNotification;\n}","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport CheckCircleOutlined from \"@ant-design/icons/es/icons/CheckCircleOutlined\";\nimport CloseCircleOutlined from \"@ant-design/icons/es/icons/CloseCircleOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport ExclamationCircleOutlined from \"@ant-design/icons/es/icons/ExclamationCircleOutlined\";\nimport InfoCircleOutlined from \"@ant-design/icons/es/icons/InfoCircleOutlined\";\nimport classNames from 'classnames';\nimport Notification from 'rc-notification';\nimport * as React from 'react';\nimport ConfigProvider, { globalConfig } from '../config-provider';\nimport createUseNotification from './hooks/useNotification';\nvar notificationInstance = {};\nvar defaultDuration = 4.5;\nvar defaultTop = 24;\nvar defaultBottom = 24;\nvar defaultPrefixCls = '';\nvar defaultPlacement = 'topRight';\nvar defaultGetContainer;\nvar defaultCloseIcon;\nvar rtl = false;\nvar maxCount;\nfunction setNotificationConfig(options) {\n var duration = options.duration,\n placement = options.placement,\n bottom = options.bottom,\n top = options.top,\n getContainer = options.getContainer,\n closeIcon = options.closeIcon,\n prefixCls = options.prefixCls;\n if (prefixCls !== undefined) {\n defaultPrefixCls = prefixCls;\n }\n if (duration !== undefined) {\n defaultDuration = duration;\n }\n if (placement !== undefined) {\n defaultPlacement = placement;\n } else if (options.rtl) {\n defaultPlacement = 'topLeft';\n }\n if (bottom !== undefined) {\n defaultBottom = bottom;\n }\n if (top !== undefined) {\n defaultTop = top;\n }\n if (getContainer !== undefined) {\n defaultGetContainer = getContainer;\n }\n if (closeIcon !== undefined) {\n defaultCloseIcon = closeIcon;\n }\n if (options.rtl !== undefined) {\n rtl = options.rtl;\n }\n if (options.maxCount !== undefined) {\n maxCount = options.maxCount;\n }\n}\nfunction getPlacementStyle(placement) {\n var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultTop;\n var bottom = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultBottom;\n var style;\n switch (placement) {\n case 'top':\n style = {\n left: '50%',\n transform: 'translateX(-50%)',\n right: 'auto',\n top: top,\n bottom: 'auto'\n };\n break;\n case 'topLeft':\n style = {\n left: 0,\n top: top,\n bottom: 'auto'\n };\n break;\n case 'topRight':\n style = {\n right: 0,\n top: top,\n bottom: 'auto'\n };\n break;\n case 'bottom':\n style = {\n left: '50%',\n transform: 'translateX(-50%)',\n right: 'auto',\n top: 'auto',\n bottom: bottom\n };\n break;\n case 'bottomLeft':\n style = {\n left: 0,\n top: 'auto',\n bottom: bottom\n };\n break;\n default:\n style = {\n right: 0,\n top: 'auto',\n bottom: bottom\n };\n break;\n }\n return style;\n}\nfunction getNotificationInstance(args, callback) {\n var _args$placement = args.placement,\n placement = _args$placement === void 0 ? defaultPlacement : _args$placement,\n top = args.top,\n bottom = args.bottom,\n _args$getContainer = args.getContainer,\n getContainer = _args$getContainer === void 0 ? defaultGetContainer : _args$getContainer,\n customizePrefixCls = args.prefixCls;\n var _globalConfig = globalConfig(),\n getPrefixCls = _globalConfig.getPrefixCls,\n getIconPrefixCls = _globalConfig.getIconPrefixCls;\n var prefixCls = getPrefixCls('notification', customizePrefixCls || defaultPrefixCls);\n var iconPrefixCls = getIconPrefixCls();\n var cacheKey = \"\".concat(prefixCls, \"-\").concat(placement);\n var cacheInstance = notificationInstance[cacheKey];\n if (cacheInstance) {\n Promise.resolve(cacheInstance).then(function (instance) {\n callback({\n prefixCls: \"\".concat(prefixCls, \"-notice\"),\n iconPrefixCls: iconPrefixCls,\n instance: instance\n });\n });\n return;\n }\n var notificationClass = classNames(\"\".concat(prefixCls, \"-\").concat(placement), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), rtl === true));\n notificationInstance[cacheKey] = new Promise(function (resolve) {\n Notification.newInstance({\n prefixCls: prefixCls,\n className: notificationClass,\n style: getPlacementStyle(placement, top, bottom),\n getContainer: getContainer,\n maxCount: maxCount\n }, function (notification) {\n resolve(notification);\n callback({\n prefixCls: \"\".concat(prefixCls, \"-notice\"),\n iconPrefixCls: iconPrefixCls,\n instance: notification\n });\n });\n });\n}\nvar typeToIcon = {\n success: CheckCircleOutlined,\n info: InfoCircleOutlined,\n error: CloseCircleOutlined,\n warning: ExclamationCircleOutlined\n};\nfunction getRCNoticeProps(args, prefixCls, iconPrefixCls) {\n var durationArg = args.duration,\n icon = args.icon,\n type = args.type,\n description = args.description,\n message = args.message,\n btn = args.btn,\n onClose = args.onClose,\n onClick = args.onClick,\n key = args.key,\n style = args.style,\n className = args.className,\n _args$closeIcon = args.closeIcon,\n closeIcon = _args$closeIcon === void 0 ? defaultCloseIcon : _args$closeIcon,\n props = args.props;\n var duration = durationArg === undefined ? defaultDuration : durationArg;\n var iconNode = null;\n if (icon) {\n iconNode = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-icon\")\n }, args.icon);\n } else if (type) {\n iconNode = /*#__PURE__*/React.createElement(typeToIcon[type] || null, {\n className: \"\".concat(prefixCls, \"-icon \").concat(prefixCls, \"-icon-\").concat(type)\n });\n }\n var closeIconToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-x\")\n }, closeIcon || /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\")\n }));\n var autoMarginTag = !description && iconNode ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-message-single-line-auto-margin\")\n }) : null;\n return {\n content: /*#__PURE__*/React.createElement(ConfigProvider, {\n iconPrefixCls: iconPrefixCls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: iconNode ? \"\".concat(prefixCls, \"-with-icon\") : '',\n role: \"alert\"\n }, iconNode, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message\")\n }, autoMarginTag, message), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-description\")\n }, description), btn ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-btn\")\n }, btn) : null)),\n duration: duration,\n closable: true,\n closeIcon: closeIconToRender,\n onClose: onClose,\n onClick: onClick,\n key: key,\n style: style || {},\n className: classNames(className, _defineProperty({}, \"\".concat(prefixCls, \"-\").concat(type), !!type)),\n props: props\n };\n}\nfunction notice(args) {\n getNotificationInstance(args, function (_ref) {\n var prefixCls = _ref.prefixCls,\n iconPrefixCls = _ref.iconPrefixCls,\n instance = _ref.instance;\n instance.notice(getRCNoticeProps(args, prefixCls, iconPrefixCls));\n });\n}\nvar api = {\n open: notice,\n close: function close(key) {\n Object.keys(notificationInstance).forEach(function (cacheKey) {\n return Promise.resolve(notificationInstance[cacheKey]).then(function (instance) {\n instance.removeNotice(key);\n });\n });\n },\n config: setNotificationConfig,\n destroy: function destroy() {\n Object.keys(notificationInstance).forEach(function (cacheKey) {\n Promise.resolve(notificationInstance[cacheKey]).then(function (instance) {\n instance.destroy();\n });\n delete notificationInstance[cacheKey]; // lgtm[js/missing-await]\n });\n }\n};\n\n['success', 'info', 'warning', 'error'].forEach(function (type) {\n api[type] = function (args) {\n return api.open(_extends(_extends({}, args), {\n type: type\n }));\n };\n});\napi.warn = api.warning;\napi.useNotification = createUseNotification(getNotificationInstance, getRCNoticeProps);\n/** @internal test Only function. Not work on production */\nexport var getInstance = function getInstance(cacheKey) {\n return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", process.env.NODE_ENV === 'test' ? notificationInstance[cacheKey] : null);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n};\nexport default api;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nfunction getUseId() {\n // We need fully clone React function here to avoid webpack warning React 17 do not export `useId`\n var fullClone = _objectSpread({}, React);\n return fullClone.useId;\n}\nvar uuid = 0;\n/** @private Note only worked in develop env. Not work in production. */\nexport function resetUuid() {\n if (process.env.NODE_ENV !== 'production') {\n uuid = 0;\n }\n}\nexport default function useId(id) {\n // Inner id for accessibility usage. Only work in client side\n var _React$useState = React.useState('ssr-id'),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerId = _React$useState2[0],\n setInnerId = _React$useState2[1];\n var useOriginId = getUseId();\n var reactNativeId = useOriginId === null || useOriginId === void 0 ? void 0 : useOriginId();\n React.useEffect(function () {\n if (!useOriginId) {\n var nextId = uuid;\n uuid += 1;\n setInnerId(\"rc_unique_\".concat(nextId));\n }\n }, []);\n // Developer passed id is single source of truth\n if (id) {\n return id;\n }\n // Test env always return mock id\n if (process.env.NODE_ENV === 'test') {\n return 'test-id';\n }\n // Return react native id or inner id\n return reactNativeId || innerId;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nexport default function Mask(props) {\n var prefixCls = props.prefixCls,\n style = props.style,\n visible = props.visible,\n maskProps = props.maskProps,\n motionName = props.motionName;\n return /*#__PURE__*/React.createElement(CSSMotion, {\n key: \"mask\",\n visible: visible,\n motionName: motionName,\n leavedClassName: \"\".concat(prefixCls, \"-mask-hidden\")\n }, function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n style: _objectSpread(_objectSpread({}, motionStyle), style),\n className: classNames(\"\".concat(prefixCls, \"-mask\"), motionClassName)\n }, maskProps));\n });\n}","// =============================== Motion ===============================\nexport function getMotionName(prefixCls, transitionName, animationName) {\n var motionName = transitionName;\n if (!motionName && animationName) {\n motionName = \"\".concat(prefixCls, \"-\").concat(animationName);\n }\n return motionName;\n}\n// =============================== Offset ===============================\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n ret = d.body[method];\n }\n }\n return ret;\n}\nexport function offset(el) {\n var rect = el.getBoundingClientRect();\n var pos = {\n left: rect.left,\n top: rect.top\n };\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n pos.top += getScroll(w, true);\n return pos;\n}","import * as React from 'react';\nexport default /*#__PURE__*/React.memo(function (_ref) {\n var children = _ref.children;\n return children;\n}, function (_, _ref2) {\n var shouldUpdate = _ref2.shouldUpdate;\n return !shouldUpdate;\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React, { useRef } from 'react';\nimport classNames from 'classnames';\nimport MemoChildren from './MemoChildren';\nvar sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none'\n};\nvar Panel = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n title = props.title,\n ariaId = props.ariaId,\n footer = props.footer,\n closable = props.closable,\n closeIcon = props.closeIcon,\n onClose = props.onClose,\n children = props.children,\n bodyStyle = props.bodyStyle,\n bodyProps = props.bodyProps,\n modalRender = props.modalRender,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n holderRef = props.holderRef,\n visible = props.visible,\n forceRender = props.forceRender,\n width = props.width,\n height = props.height;\n // ================================= Refs =================================\n var sentinelStartRef = useRef();\n var sentinelEndRef = useRef();\n React.useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _sentinelStartRef$cur;\n (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus();\n },\n changeActive: function changeActive(next) {\n var _document = document,\n activeElement = _document.activeElement;\n if (next && activeElement === sentinelEndRef.current) {\n sentinelStartRef.current.focus();\n } else if (!next && activeElement === sentinelStartRef.current) {\n sentinelEndRef.current.focus();\n }\n }\n };\n });\n // ================================ Style =================================\n var contentStyle = {};\n if (width !== undefined) {\n contentStyle.width = width;\n }\n if (height !== undefined) {\n contentStyle.height = height;\n }\n // ================================ Render ================================\n var footerNode;\n if (footer) {\n footerNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer);\n }\n var headerNode;\n if (title) {\n headerNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\"),\n id: ariaId\n }, title));\n }\n var closer;\n if (closable) {\n closer = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\",\n className: \"\".concat(prefixCls, \"-close\")\n }, closeIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-x\")\n }));\n }\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, closer, headerNode, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: \"\".concat(prefixCls, \"-body\"),\n style: bodyStyle\n }, bodyProps), children), footerNode);\n return /*#__PURE__*/React.createElement(\"div\", {\n key: \"dialog-element\",\n role: \"dialog\",\n \"aria-labelledby\": title ? ariaId : null,\n \"aria-modal\": \"true\",\n ref: holderRef,\n style: _objectSpread(_objectSpread({}, style), contentStyle),\n className: classNames(prefixCls, className),\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp\n }, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStartRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\"\n }), /*#__PURE__*/React.createElement(MemoChildren, {\n shouldUpdate: visible || forceRender\n }, modalRender ? modalRender(content) : content), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\"\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Panel.displayName = 'Panel';\n}\nexport default Panel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport { offset } from '../../util';\nimport Panel from './Panel';\nvar Content = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n title = props.title,\n style = props.style,\n className = props.className,\n visible = props.visible,\n forceRender = props.forceRender,\n destroyOnClose = props.destroyOnClose,\n motionName = props.motionName,\n ariaId = props.ariaId,\n onVisibleChanged = props.onVisibleChanged,\n mousePosition = props.mousePosition;\n var dialogRef = useRef();\n // ============================= Style ==============================\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n transformOrigin = _React$useState2[0],\n setTransformOrigin = _React$useState2[1];\n var contentStyle = {};\n if (transformOrigin) {\n contentStyle.transformOrigin = transformOrigin;\n }\n function onPrepare() {\n var elementOffset = offset(dialogRef.current);\n setTransformOrigin(mousePosition ? \"\".concat(mousePosition.x - elementOffset.left, \"px \").concat(mousePosition.y - elementOffset.top, \"px\") : '');\n }\n // ============================= Render =============================\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n onVisibleChanged: onVisibleChanged,\n onAppearPrepare: onPrepare,\n onEnterPrepare: onPrepare,\n forceRender: forceRender,\n motionName: motionName,\n removeOnLeave: destroyOnClose,\n ref: dialogRef\n }, function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(Panel, _extends({}, props, {\n ref: ref,\n title: title,\n ariaId: ariaId,\n prefixCls: prefixCls,\n holderRef: motionRef,\n style: _objectSpread(_objectSpread(_objectSpread({}, motionStyle), style), contentStyle),\n className: classNames(className, motionClassName)\n }));\n });\n});\nContent.displayName = 'Content';\nexport default Content;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect } from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport useId from \"rc-util/es/hooks/useId\";\nimport contains from \"rc-util/es/Dom/contains\";\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport Mask from './Mask';\nimport { getMotionName } from '../util';\nimport Content from './Content';\nexport default function Dialog(props) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-dialog' : _props$prefixCls,\n zIndex = props.zIndex,\n _props$visible = props.visible,\n visible = _props$visible === void 0 ? false : _props$visible,\n _props$keyboard = props.keyboard,\n keyboard = _props$keyboard === void 0 ? true : _props$keyboard,\n _props$focusTriggerAf = props.focusTriggerAfterClose,\n focusTriggerAfterClose = _props$focusTriggerAf === void 0 ? true : _props$focusTriggerAf,\n wrapStyle = props.wrapStyle,\n wrapClassName = props.wrapClassName,\n wrapProps = props.wrapProps,\n onClose = props.onClose,\n afterClose = props.afterClose,\n transitionName = props.transitionName,\n animation = props.animation,\n _props$closable = props.closable,\n closable = _props$closable === void 0 ? true : _props$closable,\n _props$mask = props.mask,\n mask = _props$mask === void 0 ? true : _props$mask,\n maskTransitionName = props.maskTransitionName,\n maskAnimation = props.maskAnimation,\n _props$maskClosable = props.maskClosable,\n maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable,\n maskStyle = props.maskStyle,\n maskProps = props.maskProps,\n rootClassName = props.rootClassName;\n var lastOutSideActiveElementRef = useRef();\n var wrapperRef = useRef();\n var contentRef = useRef();\n var _React$useState = React.useState(visible),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n // ========================== Init ==========================\n var ariaId = useId();\n function saveLastOutSideActiveElementRef() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n lastOutSideActiveElementRef.current = document.activeElement;\n }\n }\n function focusDialogContent() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n var _contentRef$current;\n (_contentRef$current = contentRef.current) === null || _contentRef$current === void 0 ? void 0 : _contentRef$current.focus();\n }\n }\n // ========================= Events =========================\n function onDialogVisibleChanged(newVisible) {\n // Try to focus\n if (newVisible) {\n focusDialogContent();\n } else {\n // Clean up scroll bar & focus back\n setAnimatedVisible(false);\n if (mask && lastOutSideActiveElementRef.current && focusTriggerAfterClose) {\n try {\n lastOutSideActiveElementRef.current.focus({\n preventScroll: true\n });\n } catch (e) {\n // Do nothing\n }\n lastOutSideActiveElementRef.current = null;\n }\n // Trigger afterClose only when change visible from true to false\n if (animatedVisible) {\n afterClose === null || afterClose === void 0 ? void 0 : afterClose();\n }\n }\n }\n function onInternalClose(e) {\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n }\n // >>> Content\n var contentClickRef = useRef(false);\n var contentTimeoutRef = useRef();\n // We need record content click incase content popup out of dialog\n var onContentMouseDown = function onContentMouseDown() {\n clearTimeout(contentTimeoutRef.current);\n contentClickRef.current = true;\n };\n var onContentMouseUp = function onContentMouseUp() {\n contentTimeoutRef.current = setTimeout(function () {\n contentClickRef.current = false;\n });\n };\n // >>> Wrapper\n // Close only when element not on dialog\n var onWrapperClick = null;\n if (maskClosable) {\n onWrapperClick = function onWrapperClick(e) {\n if (contentClickRef.current) {\n contentClickRef.current = false;\n } else if (wrapperRef.current === e.target) {\n onInternalClose(e);\n }\n };\n }\n function onWrapperKeyDown(e) {\n if (keyboard && e.keyCode === KeyCode.ESC) {\n e.stopPropagation();\n onInternalClose(e);\n return;\n }\n // keep focus inside dialog\n if (visible) {\n if (e.keyCode === KeyCode.TAB) {\n contentRef.current.changeActive(!e.shiftKey);\n }\n }\n }\n // ========================= Effect =========================\n useEffect(function () {\n if (visible) {\n setAnimatedVisible(true);\n saveLastOutSideActiveElementRef();\n }\n }, [visible]);\n // Remove direct should also check the scroll bar update\n useEffect(function () {\n return function () {\n clearTimeout(contentTimeoutRef.current);\n };\n }, []);\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classNames(\"\".concat(prefixCls, \"-root\"), rootClassName)\n }, pickAttrs(props, {\n data: true\n })), /*#__PURE__*/React.createElement(Mask, {\n prefixCls: prefixCls,\n visible: mask && visible,\n motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),\n style: _objectSpread({\n zIndex: zIndex\n }, maskStyle),\n maskProps: maskProps\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n tabIndex: -1,\n onKeyDown: onWrapperKeyDown,\n className: classNames(\"\".concat(prefixCls, \"-wrap\"), wrapClassName),\n ref: wrapperRef,\n onClick: onWrapperClick,\n style: _objectSpread(_objectSpread({\n zIndex: zIndex\n }, wrapStyle), {}, {\n display: !animatedVisible ? 'none' : null\n })\n }, wrapProps), /*#__PURE__*/React.createElement(Content, _extends({}, props, {\n onMouseDown: onContentMouseDown,\n onMouseUp: onContentMouseUp,\n ref: contentRef,\n closable: closable,\n ariaId: ariaId,\n prefixCls: prefixCls,\n visible: visible && animatedVisible,\n onClose: onInternalClose,\n onVisibleChanged: onDialogVisibleChanged,\n motionName: getMotionName(prefixCls, transitionName, animation)\n }))));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport Dialog from './Dialog';\n// fix issue #10656\n/*\n * getContainer remarks\n * Custom container should not be return, because in the Portal component, it will remove the\n * return container element here, if the custom container is the only child of it's component,\n * like issue #10656, It will has a conflict with removeChild method in react-dom.\n * So here should add a child (div element) to custom container.\n * */\nvar DialogWrap = function DialogWrap(props) {\n var visible = props.visible,\n getContainer = props.getContainer,\n forceRender = props.forceRender,\n _props$destroyOnClose = props.destroyOnClose,\n destroyOnClose = _props$destroyOnClose === void 0 ? false : _props$destroyOnClose,\n _afterClose = props.afterClose;\n var _React$useState = React.useState(visible),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n React.useEffect(function () {\n if (visible) {\n setAnimatedVisible(true);\n }\n }, [visible]);\n // // 渲染在当前 dom 里;\n // if (getContainer === false) {\n // return (\n // 2} // 不对 body 做任何操作。。\n // />\n // );\n // }\n // Destroy on close will remove wrapped div\n if (!forceRender && destroyOnClose && !animatedVisible) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Portal, {\n open: visible || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: visible || animatedVisible\n }, /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {\n destroyOnClose: destroyOnClose,\n afterClose: function afterClose() {\n _afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();\n setAnimatedVisible(false);\n }\n })));\n};\nDialogWrap.displayName = 'Dialog';\nexport default DialogWrap;","import DialogWrap from './DialogWrap';\nimport Panel from './Dialog/Content/Panel';\nexport { Panel };\nexport default DialogWrap;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\nimport { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport classNames from 'classnames';\nvar Notice = /*#__PURE__*/function (_Component) {\n _inherits(Notice, _Component);\n var _super = _createSuper(Notice);\n function Notice() {\n var _this;\n _classCallCheck(this, Notice);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.closeTimer = null;\n _this.close = function (e) {\n if (e) {\n e.stopPropagation();\n }\n _this.clearCloseTimer();\n var _this$props = _this.props,\n onClose = _this$props.onClose,\n noticeKey = _this$props.noticeKey;\n if (onClose) {\n onClose(noticeKey);\n }\n };\n _this.startCloseTimer = function () {\n if (_this.props.duration) {\n _this.closeTimer = window.setTimeout(function () {\n _this.close();\n }, _this.props.duration * 1000);\n }\n };\n _this.clearCloseTimer = function () {\n if (_this.closeTimer) {\n clearTimeout(_this.closeTimer);\n _this.closeTimer = null;\n }\n };\n return _this;\n }\n _createClass(Notice, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.startCloseTimer();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if (this.props.duration !== prevProps.duration || this.props.updateMark !== prevProps.updateMark ||\n // Visible again need reset timer\n this.props.visible !== prevProps.visible && this.props.visible) {\n this.restartCloseTimer();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.clearCloseTimer();\n }\n }, {\n key: \"restartCloseTimer\",\n value: function restartCloseTimer() {\n this.clearCloseTimer();\n this.startCloseTimer();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n closable = _this$props2.closable,\n closeIcon = _this$props2.closeIcon,\n style = _this$props2.style,\n onClick = _this$props2.onClick,\n children = _this$props2.children,\n holder = _this$props2.holder;\n var componentClass = \"\".concat(prefixCls, \"-notice\");\n var dataOrAriaAttributeProps = Object.keys(this.props).reduce(function (acc, key) {\n if (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role') {\n acc[key] = _this2.props[key];\n }\n return acc;\n }, {});\n var node = /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classNames(componentClass, className, _defineProperty({}, \"\".concat(componentClass, \"-closable\"), closable)),\n style: style,\n onMouseEnter: this.clearCloseTimer,\n onMouseLeave: this.startCloseTimer,\n onClick: onClick\n }, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(componentClass, \"-content\")\n }, children), closable ? /*#__PURE__*/React.createElement(\"a\", {\n tabIndex: 0,\n onClick: this.close,\n className: \"\".concat(componentClass, \"-close\")\n }, closeIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(componentClass, \"-close-x\")\n })) : null);\n if (holder) {\n return /*#__PURE__*/ReactDOM.createPortal(node, holder);\n }\n return node;\n }\n }]);\n return Notice;\n}(Component);\nNotice.defaultProps = {\n onClose: function onClose() {},\n duration: 1.5\n};\nexport { Notice as default };","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"getContainer\"];\nimport * as React from 'react';\nimport { Component } from 'react';\nimport { render, unmount } from \"rc-util/es/React/render\";\nimport classNames from 'classnames';\nimport { CSSMotionList } from 'rc-motion';\nimport Notice from './Notice';\nimport _useNotification from './useNotification';\nvar seed = 0;\nvar now = Date.now();\nfunction getUuid() {\n var id = seed;\n seed += 1;\n return \"rcNotification_\".concat(now, \"_\").concat(id);\n}\nvar Notification = /*#__PURE__*/function (_Component) {\n _inherits(Notification, _Component);\n var _super = _createSuper(Notification);\n function Notification() {\n var _this;\n _classCallCheck(this, Notification);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n notices: []\n };\n _this.hookRefs = new Map();\n _this.add = function (originNotice, holderCallback) {\n var _originNotice$key;\n var key = (_originNotice$key = originNotice.key) !== null && _originNotice$key !== void 0 ? _originNotice$key : getUuid();\n var notice = _objectSpread(_objectSpread({}, originNotice), {}, {\n key: key\n });\n var maxCount = _this.props.maxCount;\n _this.setState(function (previousState) {\n var notices = previousState.notices;\n var noticeIndex = notices.map(function (v) {\n return v.notice.key;\n }).indexOf(key);\n var updatedNotices = notices.concat();\n if (noticeIndex !== -1) {\n updatedNotices.splice(noticeIndex, 1, {\n notice: notice,\n holderCallback: holderCallback\n });\n } else {\n if (maxCount && notices.length >= maxCount) {\n // XXX, use key of first item to update new added (let React to move exsiting\n // instead of remove and mount). Same key was used before for both a) external\n // manual control and b) internal react 'key' prop , which is not that good.\n // eslint-disable-next-line no-param-reassign\n // zombieJ: Not know why use `updateKey`. This makes Notice infinite loop in jest.\n // Change to `updateMark` for compare instead.\n // https://github.com/react-component/notification/commit/32299e6be396f94040bfa82517eea940db947ece\n notice.key = updatedNotices[0].notice.key;\n notice.updateMark = getUuid();\n // zombieJ: That's why. User may close by key directly.\n // We need record this but not re-render to avoid upper issue\n // https://github.com/react-component/notification/issues/129\n notice.userPassKey = key;\n updatedNotices.shift();\n }\n updatedNotices.push({\n notice: notice,\n holderCallback: holderCallback\n });\n }\n return {\n notices: updatedNotices\n };\n });\n };\n _this.remove = function (removeKey) {\n _this.setState(function (_ref) {\n var notices = _ref.notices;\n return {\n notices: notices.filter(function (_ref2) {\n var _ref2$notice = _ref2.notice,\n key = _ref2$notice.key,\n userPassKey = _ref2$notice.userPassKey;\n var mergedKey = userPassKey !== null && userPassKey !== void 0 ? userPassKey : key;\n return mergedKey !== removeKey;\n })\n };\n });\n };\n _this.noticePropsMap = {};\n return _this;\n }\n _createClass(Notification, [{\n key: \"getTransitionName\",\n value: function getTransitionName() {\n var _this$props = this.props,\n prefixCls = _this$props.prefixCls,\n animation = _this$props.animation;\n var transitionName = this.props.transitionName;\n if (!transitionName && animation) {\n transitionName = \"\".concat(prefixCls, \"-\").concat(animation);\n }\n return transitionName;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var notices = this.state.notices;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n closeIcon = _this$props2.closeIcon,\n style = _this$props2.style;\n var noticeKeys = [];\n notices.forEach(function (_ref3, index) {\n var notice = _ref3.notice,\n holderCallback = _ref3.holderCallback;\n var updateMark = index === notices.length - 1 ? notice.updateMark : undefined;\n var key = notice.key,\n userPassKey = notice.userPassKey;\n var noticeProps = _objectSpread(_objectSpread(_objectSpread({\n prefixCls: prefixCls,\n closeIcon: closeIcon\n }, notice), notice.props), {}, {\n key: key,\n noticeKey: userPassKey || key,\n updateMark: updateMark,\n onClose: function onClose(noticeKey) {\n var _notice$onClose;\n _this2.remove(noticeKey);\n (_notice$onClose = notice.onClose) === null || _notice$onClose === void 0 ? void 0 : _notice$onClose.call(notice);\n },\n onClick: notice.onClick,\n children: notice.content\n });\n // Give to motion\n noticeKeys.push(key);\n _this2.noticePropsMap[key] = {\n props: noticeProps,\n holderCallback: holderCallback\n };\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, className),\n style: style\n }, /*#__PURE__*/React.createElement(CSSMotionList, {\n keys: noticeKeys,\n motionName: this.getTransitionName(),\n onVisibleChanged: function onVisibleChanged(changedVisible, _ref4) {\n var key = _ref4.key;\n if (!changedVisible) {\n delete _this2.noticePropsMap[key];\n }\n }\n }, function (_ref5) {\n var key = _ref5.key,\n motionClassName = _ref5.className,\n motionStyle = _ref5.style,\n visible = _ref5.visible;\n var _this2$noticePropsMap = _this2.noticePropsMap[key],\n noticeProps = _this2$noticePropsMap.props,\n holderCallback = _this2$noticePropsMap.holderCallback;\n if (holderCallback) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: key,\n className: classNames(motionClassName, \"\".concat(prefixCls, \"-hook-holder\")),\n style: _objectSpread({}, motionStyle),\n ref: function ref(div) {\n if (typeof key === 'undefined') {\n return;\n }\n if (div) {\n _this2.hookRefs.set(key, div);\n holderCallback(div, noticeProps);\n } else {\n _this2.hookRefs.delete(key);\n }\n }\n });\n }\n return /*#__PURE__*/React.createElement(Notice, _extends({}, noticeProps, {\n className: classNames(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),\n style: _objectSpread(_objectSpread({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),\n visible: visible\n }));\n }));\n }\n }]);\n return Notification;\n}(Component);\nNotification.newInstance = void 0;\nNotification.defaultProps = {\n prefixCls: 'rc-notification',\n animation: 'fade',\n style: {\n top: 65,\n left: '50%'\n }\n};\nNotification.newInstance = function newNotificationInstance(properties, callback) {\n var _ref6 = properties || {},\n getContainer = _ref6.getContainer,\n props = _objectWithoutProperties(_ref6, _excluded);\n var div = document.createElement('div');\n if (getContainer) {\n var root = getContainer();\n root.appendChild(div);\n } else {\n document.body.appendChild(div);\n }\n var called = false;\n function ref(notification) {\n if (called) {\n return;\n }\n called = true;\n callback({\n notice: function notice(noticeProps) {\n notification.add(noticeProps);\n },\n removeNotice: function removeNotice(key) {\n notification.remove(key);\n },\n component: notification,\n destroy: function destroy() {\n unmount(div);\n if (div.parentNode) {\n div.parentNode.removeChild(div);\n }\n },\n // Hooks\n useNotification: function useNotification() {\n return _useNotification(notification);\n }\n });\n }\n // Only used for test case usage\n if (process.env.NODE_ENV === 'test' && properties.TEST_RENDER) {\n properties.TEST_RENDER( /*#__PURE__*/React.createElement(Notification, _extends({}, props, {\n ref: ref\n })));\n return;\n }\n render( /*#__PURE__*/React.createElement(Notification, _extends({}, props, {\n ref: ref\n })), div);\n};\nexport default Notification;","import Notification from './Notification';\nexport default Notification;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Notice from './Notice';\nexport default function useNotification(notificationInstance) {\n var createdRef = React.useRef({});\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n elements = _React$useState2[0],\n setElements = _React$useState2[1];\n function notify(noticeProps) {\n var firstMount = true;\n notificationInstance.add(noticeProps, function (div, props) {\n var key = props.key;\n if (div && (!createdRef.current[key] || firstMount)) {\n var noticeEle = /*#__PURE__*/React.createElement(Notice, _extends({}, props, {\n holder: div\n }));\n createdRef.current[key] = noticeEle;\n setElements(function (originElements) {\n var index = originElements.findIndex(function (ele) {\n return ele.key === props.key;\n });\n if (index === -1) {\n return [].concat(_toConsumableArray(originElements), [noticeEle]);\n }\n var cloneList = _toConsumableArray(originElements);\n cloneList[index] = noticeEle;\n return cloneList;\n });\n }\n firstMount = false;\n });\n }\n return [notify, /*#__PURE__*/React.createElement(React.Fragment, null, elements)];\n}","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as ReactDOM from 'react-dom';\n// Let compiler not to search module usage\nvar fullClone = _objectSpread({}, ReactDOM);\nvar version = fullClone.version,\n reactRender = fullClone.render,\n unmountComponentAtNode = fullClone.unmountComponentAtNode;\nvar createRoot;\ntry {\n var mainVersion = Number((version || '').split('.')[0]);\n if (mainVersion >= 18) {\n createRoot = fullClone.createRoot;\n }\n} catch (e) {\n // Do nothing;\n}\nfunction toggleWarning(skip) {\n var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n if (__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED && _typeof(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === 'object') {\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint = skip;\n }\n}\nvar MARK = '__rc_react_root__';\nfunction modernRender(node, container) {\n toggleWarning(true);\n var root = container[MARK] || createRoot(container);\n toggleWarning(false);\n root.render(node);\n container[MARK] = root;\n}\nfunction legacyRender(node, container) {\n reactRender(node, container);\n}\n/** @private Test usage. Not work in prod */\nexport function _r(node, container) {\n if (process.env.NODE_ENV !== 'production') {\n return legacyRender(node, container);\n }\n}\nexport function render(node, container) {\n if (createRoot) {\n modernRender(node, container);\n return;\n }\n legacyRender(node, container);\n}\n// ========================= Unmount ==========================\nfunction modernUnmount(_x) {\n return _modernUnmount.apply(this, arguments);\n}\nfunction _modernUnmount() {\n _modernUnmount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(container) {\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", Promise.resolve().then(function () {\n var _container$MARK;\n (_container$MARK = container[MARK]) === null || _container$MARK === void 0 ? void 0 : _container$MARK.unmount();\n delete container[MARK];\n }));\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _modernUnmount.apply(this, arguments);\n}\nfunction legacyUnmount(container) {\n unmountComponentAtNode(container);\n}\n/** @private Test usage. Not work in prod */\nexport function _u(container) {\n if (process.env.NODE_ENV !== 'production') {\n return legacyUnmount(container);\n }\n}\nexport function unmount(_x2) {\n return _unmount.apply(this, arguments);\n}\nfunction _unmount() {\n _unmount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(container) {\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n if (!(createRoot !== undefined)) {\n _context2.next = 2;\n break;\n }\n return _context2.abrupt(\"return\", modernUnmount(container));\n case 2:\n legacyUnmount(container);\n case 3:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _unmount.apply(this, arguments);\n}","/* eslint-disable no-param-reassign */\nvar cached;\nexport default function getScrollBarSize(fresh) {\n if (typeof document === 'undefined') {\n return 0;\n }\n if (fresh || cached === undefined) {\n var inner = document.createElement('div');\n inner.style.width = '100%';\n inner.style.height = '200px';\n var outer = document.createElement('div');\n var outerStyle = outer.style;\n outerStyle.position = 'absolute';\n outerStyle.top = '0';\n outerStyle.left = '0';\n outerStyle.pointerEvents = 'none';\n outerStyle.visibility = 'hidden';\n outerStyle.width = '200px';\n outerStyle.height = '150px';\n outerStyle.overflow = 'hidden';\n outer.appendChild(inner);\n document.body.appendChild(outer);\n var widthContained = inner.offsetWidth;\n outer.style.overflow = 'scroll';\n var widthScroll = inner.offsetWidth;\n if (widthContained === widthScroll) {\n widthScroll = outer.clientWidth;\n }\n document.body.removeChild(outer);\n cached = widthContained - widthScroll;\n }\n return cached;\n}\nfunction ensureSize(str) {\n var match = str.match(/^(.*)px$/);\n var value = Number(match === null || match === void 0 ? void 0 : match[1]);\n return Number.isNaN(value) ? getScrollBarSize() : value;\n}\nexport function getTargetScrollBarSize(target) {\n if (typeof document === 'undefined' || !target || !(target instanceof Element)) {\n return {\n width: 0,\n height: 0\n };\n }\n var _getComputedStyle = getComputedStyle(target, '::-webkit-scrollbar'),\n width = _getComputedStyle.width,\n height = _getComputedStyle.height;\n return {\n width: ensureSize(width),\n height: ensureSize(height)\n };\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar attributes = \"accept acceptCharset accessKey action allowFullScreen allowTransparency\\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\\n charSet checked classID className colSpan cols content contentEditable contextMenu\\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\\n mediaGroup method min minLength multiple muted name noValidate nonce open\\n optimum pattern placeholder poster preload radioGroup readOnly rel required\\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\\n summary tabIndex target title type useMap value width wmode wrap\";\nvar eventsName = \"onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError\";\nvar propList = \"\".concat(attributes, \" \").concat(eventsName).split(/[\\s\\n]+/);\n/* eslint-enable max-len */\nvar ariaPrefix = 'aria-';\nvar dataPrefix = 'data-';\nfunction match(key, prefix) {\n return key.indexOf(prefix) === 0;\n}\n/**\n * Picker props from exist props with filter\n * @param props Passed props\n * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config\n */\nexport default function pickAttrs(props) {\n var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var mergedConfig;\n if (ariaOnly === false) {\n mergedConfig = {\n aria: true,\n data: true,\n attr: true\n };\n } else if (ariaOnly === true) {\n mergedConfig = {\n aria: true\n };\n } else {\n mergedConfig = _objectSpread({}, ariaOnly);\n }\n var attrs = {};\n Object.keys(props).forEach(function (key) {\n if (\n // Aria\n mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) ||\n // Data\n mergedConfig.data && match(key, dataPrefix) ||\n // Attr\n mergedConfig.attr && propList.includes(key)) {\n attrs[key] = props[key];\n }\n });\n return attrs;\n}"],"names":["asn_CheckCircleOutlined","CheckCircleOutlined_CheckCircleOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckCircleOutlined","forwardRef","asn_CloseCircleOutlined","CloseCircleOutlined_CloseCircleOutlined","icons_CloseCircleOutlined","asn_ExclamationCircleOutlined","ExclamationCircleOutlined_ExclamationCircleOutlined","icons_ExclamationCircleOutlined","asn_InfoCircleFilled","InfoCircleFilled_InfoCircleFilled","icons_InfoCircleFilled","asn_InfoCircleOutlined","InfoCircleOutlined_InfoCircleOutlined","icons_InfoCircleOutlined","TinyColor","color","opts","_conversion__WEBPACK_IMPORTED_MODULE_0__","Yt","originalInput","_a","rgb","_format_input__WEBPACK_IMPORTED_MODULE_1__","uA","r","g","b","a","roundA","Math","round","format","gradientType","isValid","ok","prototype","isDark","getBrightness","isLight","toRgb","getLuminance","RsRGB","GsRGB","BsRGB","pow","getAlpha","setAlpha","alpha","_util__WEBPACK_IMPORTED_MODULE_2__","Yq","isMonochrome","s","toHsl","toHsv","hsv","py","h","v","toHsvString","concat","hsl","lC","l","toHslString","toHex","allow3Char","vq","toHexString","toHex8","allow4Char","toHex8String","toRgbString","toPercentageRgb","fmt","x","sh","toPercentageRgbString","rnd","toName","hex","_i","Object","entries","_css_color_names__WEBPACK_IMPORTED_MODULE_3__","R","length","_b","key","toString","formatSet","Boolean","formattedString","hasAlpha","startsWith","toNumber","clone","lighten","amount","V2","brighten","max","min","darken","tint","mix","shade","desaturate","saturate","greyscale","spin","hue","rgb1","rgb2","p","rgba","analogous","results","slices","part","ret","push","complement","monochromatic","res","modification","splitcomplement","onBackground","background","fg","bg","triad","polyad","tetrad","n","result","increment","i","equals","tinycolor","OrderContext","createContext","EMPTY_LIST","UNIQUE_ID","Date","now","uuid","inline","getPortalContainer","getContainer","canUseDom","document","querySelector","es","mergedLock","_React$useState","id","nextInline","open","autoLock","_props$autoDestroy","debug","autoDestroy","children","useState","_React$useState2","slicedToArray","shouldRender","setShouldRender","mergedRender","useEffect","_React$useState3","_React$useState4","innerContainer","setInnerContainer","customizeContainer","_useDom","useDom","render","ele","appendedRef","useRef","queueCreate","useContext","queue","setQueue","mergedQueueCreate","current","undefined","appendFn","origin","toConsumableArray","append","parentElement","body","appendChild","cleanup","_ele$parentElement","removeChild","useLayoutEffect","forEach","_useDom2","defaultContainer","mergedContainer","scrollbarSize","getScrollBarSize","isOverflow","scrollHeight","window","innerHeight","documentElement","clientHeight","innerWidth","offsetWidth","dynamicCSS","hq","jL","childRef","es_ref","Yr","_ref","mergedRef","x1","renderInline","reffedChildren","cloneElement","Context","Provider","value","react_dom","createPortal","__webpack_exports__","clickedRef","react__WEBPACK_IMPORTED_MODULE_1__","_useState","rc_util_es_hooks_useState__WEBPACK_IMPORTED_MODULE_0__","_useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__","loading","setLoading","close","onInternalClose","apply","arguments","timeoutId","autoFocus","setTimeout","focus","clearTimeout","handlePromiseOnOk","returnValueOfOnOk","thing","then","e","console","error","type","prefixCls","buttonProps","_button__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","_button_button__WEBPACK_IMPORTED_MODULE_5__","onClick","actionFn","emitEvent","quitOnNullishReturnValue","globalPrefixCls","globalIconPrefixCls","locale_provider","_props$locale","locale","_ANT_MARK__","modal_locale","f","Modal","getMemoizedContextValue","useMemo","esm_extends","exist","context","dynamicStyleMark","random","PASSED_PROPS","getGlobalPrefixCls","getGlobalIconPrefixCls","globalConfig","getPrefixCls","suffixCls","customizePrefixCls","getIconPrefixCls","getRootPrefixCls","rootPrefixCls","includes","replace","ProviderChildren","csp","autoInsertSpaceInButton","form","componentSize","direction","space","virtual","dropdownMatchSelectWidth","legacyLocale","parentContext","iconPrefixCls","componentDisabled","useCallback","mergedPrefixCls","config","propName","propValue","memoedConfig","prevConfig","currentConfig","prevKeys","keys","currentKeys","some","memoIconContextValue","childNode","validateMessages","Form","defaultValidateMessages","locale_default","FormProvider","SizeContext","q","size","DisabledContext","disabled","config_provider_context","E_","ConfigProvider","message","ZP","rtl","notification","LocaleReceiver","_","__","C","ConfigContext","style","theme","getStyle","variables","formatColor","updater","fillColor","colorVal","baseColor","dist_module","colorPalettes","index_esm","generate","primaryColor","primaryColors","index","c","primaryActiveColor","successColor","warningColor","errorColor","infoColor","cssList","map","join","trim","config_provider","messageInstance","defaultTop","maxCount","defaultDuration","localPrefixCls","transitionName","hasTransitionName","getKeyThenIncreaseKey","getRCNotificationInstance","args","callback","getContextPopupContainer","getPopupContainer","_globalConfig","w6","instance","instanceConfig","top","newInstance","typeToIcon","info","InfoCircleFilled","success","CheckCircleFilled","CloseCircleFilled","warning","ExclamationCircleFilled","LoadingOutlined","typeList","getRCNoticeProps","_classNames","duration","IconComponent","messageClass","classnames_default","defineProperty","className","content","onClose","api","target","closePromise","Promise","resolve","notice","removeNotice","filled","rejected","promise","options","destroy","messageKey","_messageInstance","_messageInstance2","attachTypeApi","originalApi","call","warn","useMessage","innerInstance","_useRCNotification","useNotification","add","noticeProps","holderCallback","component","_useRCNotification2","hookNotify","holder","hookApiRef","getRcNotificationInstance","mousePosition","__rest","t","hasOwnProperty","indexOf","getOwnPropertySymbols","propertyIsEnumerable","styleChecker","jD","addEventListener","pageX","y","pageY","modal_Modal","_React$useContext","handleCancel","onCancel","handleOk","onOk","footer","visible","_props$open","wrapClassName","centered","closeIcon","_props$focusTriggerAf","focusTriggerAfterClose","_props$width","width","restProps","defaultFooter","componentName","defaultLocale","A","contextLocale","okText","_props$okType","okType","cancelText","_props$confirmLoading","confirmLoading","Fragment","es_button","cancelButtonProps","button_button","okButtonProps","closeIconToRender","CloseOutlined","wrapClassNameExtended","form_context","Ux","status","override","motion","mL","maskTransitionName","modal_ConfirmDialog","zIndex","afterClose","keyboard","maskStyle","bodyStyle","_props$closable","closable","modalRender","contentPrefixCls","okCancel","mask","maskClosable","autoFocusButton","classString","cancelButton","ActionButton","triggerCancel","title","modal_destroyFns","confirm_rest","defaultRootPrefixCls","confirm_confirm","container","createDocumentFragment","_len","_key","param","slice","fn","splice","React_render","runtimeLocale","justOkText","_this","_len2","_key2","update","configUpdate","withWarn","ExclamationCircleOutlined","withInfo","InfoCircleOutlined","withSuccess","CheckCircleOutlined","withError","CloseCircleOutlined","withConfirm","useModal_HookModal","setOpen","innerConfig","setInnerConfig","useImperativeHandle","newConfig","originConfig","ElementsHolder","memo","_props","elements","setElements","_usePatchElement","element","originElements","filter","_usePatchElement2","patchElement","modalWarn","es_modal_Modal","useModal","holderRef","actionQueue","setActionQueue","cloneQueue","action","getConfirmFunc","withFunc","closeFunc","modalRef","createRef","modal","destroyAction","prev","updateAction","confirm","destroyAll","pop","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","_locale_default__WEBPACK_IMPORTED_MODULE_1__","changeConfirmLocale","newLocale","getConfirmLocale","defaultGetContainer","defaultCloseIcon","notificationInstance","defaultBottom","defaultPrefixCls","defaultPlacement","getNotificationInstance","_args$placement","placement","bottom","_args$getContainer","cacheKey","cacheInstance","notificationClass","getPlacementStyle","left","transform","right","durationArg","description","btn","_args$closeIcon","iconNode","autoMarginTag","role","es_useNotification","Mask","maskProps","motionName","rc_motion_es","leavedClassName","motionClassName","motionStyle","getMotionName","animationName","getScroll","w","method","d","MemoChildren","_ref2","shouldUpdate","sentinelStyle","height","overflow","outline","Panel","footerNode","headerNode","closer","ariaId","bodyProps","onMouseDown","onMouseUp","forceRender","sentinelStartRef","sentinelEndRef","_sentinelStartRef$cur","changeActive","next","activeElement","_document","contentStyle","tabIndex","Content","destroyOnClose","onVisibleChanged","dialogRef","transformOrigin","setTransformOrigin","onPrepare","el","rect","pos","doc","elementOffset","getBoundingClientRect","ownerDocument","defaultView","parentWindow","onAppearPrepare","onEnterPrepare","removeOnLeave","motionRef","Dialog","innerId","setInnerId","useOriginId","reactNativeId","_props$prefixCls","_props$visible","_props$keyboard","wrapStyle","wrapProps","animation","_props$mask","maskAnimation","_props$maskClosable","rootClassName","lastOutSideActiveElementRef","wrapperRef","contentRef","animatedVisible","setAnimatedVisible","fullClone","react_namespaceObject","useId","nextId","contentClickRef","contentTimeoutRef","onWrapperClick","contains","pickAttrs","data","onKeyDown","keyCode","KeyCode","ESC","stopPropagation","TAB","shiftKey","display","newVisible","focusDialogContent","_contentRef$current","preventScroll","DialogWrap","_props$destroyOnClose","_afterClose","rc_dialog_es","Notice","_Component","_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__","_super","_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__","closeTimer","clearCloseTimer","_this$props","noticeKey","startCloseTimer","_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__","prevProps","updateMark","restartCloseTimer","_this2","_this$props2","componentClass","dataOrAriaAttributeProps","reduce","acc","substr","node","react__WEBPACK_IMPORTED_MODULE_0__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__","classnames__WEBPACK_IMPORTED_MODULE_2___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","onMouseEnter","onMouseLeave","react_dom__WEBPACK_IMPORTED_MODULE_1__","Component","defaultProps","_excluded","seed","getUuid","Notification","inherits","createSuper","classCallCheck","state","notices","hookRefs","Map","originNotice","_originNotice$key","setState","previousState","noticeIndex","updatedNotices","userPassKey","shift","remove","removeKey","_ref2$notice","mergedKey","noticePropsMap","createClass","noticeKeys","_ref3","_notice$onClose","V","getTransitionName","changedVisible","_ref4","_ref5","_this2$noticePropsMap","div","set","delete","properties","_ref6","objectWithoutProperties","root","called","parentNode","rc_notification_es","createdRef","firstMount","noticeEle","_Notice__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","findIndex","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__","cloneList","createRoot","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__","react_dom__WEBPACK_IMPORTED_MODULE_0___namespace_cache","__webpack_require__","react_dom__WEBPACK_IMPORTED_MODULE_0__","version","reactRender","unmountComponentAtNode","Number","split","toggleWarning","skip","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__","usingClientEntryPoint","MARK","_modernUnmount","_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__","mark","_callee","wrap","_context","abrupt","_container$MARK","unmount","stop","_x2","_unmount","_callee2","_context2","modernUnmount","_x","cached","fresh","inner","outer","outerStyle","position","pointerEvents","visibility","widthContained","widthScroll","clientWidth","ensureSize","str","match","isNaN","getTargetScrollBarSize","Element","_getComputedStyle","getComputedStyle","propList","prefix","mergedConfig","ariaOnly","aria","attr","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__","attrs"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/562.a63af991acaa9863.js b/static/web/_next/static/chunks/562.a63af991acaa9863.js new file mode 100644 index 000000000..51d053b7c --- /dev/null +++ b/static/web/_next/static/chunks/562.a63af991acaa9863.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[562,9095],{68997: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:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},69095:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(95642))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},95642:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(r(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=u?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(a,l,f):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(68997)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return l.createElement(c.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="ClockCircleOutlined";var d=l.forwardRef(i);t.default=d}}]); +//# sourceMappingURL=562.a63af991acaa9863.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/562.a63af991acaa9863.js.map b/static/web/_next/static/chunks/562.a63af991acaa9863.js.map new file mode 100644 index 000000000..4e7fc3cd1 --- /dev/null +++ b/static/web/_next/static/chunks/562.a63af991acaa9863.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/562.a63af991acaa9863.js","mappings":"qGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,oLAAwL,CAAI,kBAA0B,yKAA6K,EAAG,6DCFhiBF,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC/CC,MAAA,EACA,GACED,EAAA,OAAe,QAEjB,IAEAE,EAFAC,EAEyCD,CAAzCA,EAFoDE,EAAQ,SAEnBF,EAAAG,UAAA,CAAAH,EAAA,CAAuC,QAAAA,CAAA,EAG9EF,EAAA,OAAe,CADjBG,EAEAG,EAAAN,OAAA,CAFAG,yBCRA,IAAAI,EAA6BH,EAAQ,OACrCI,EAAcJ,EAAQ,OACtBN,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC7CC,MAAA,EACA,GACAD,EAAA,OAAe,QACf,IAAAS,EAAAF,EAA4CH,EAAQ,QACpDM,EAAAC,SAIAT,CAAA,CAAAU,CAAA,EAAqD,IAAAA,GAAAV,GAAAA,EAAAG,UAAA,CAA6C,OAAAH,CAAA,CAAc,GAAAA,IAAA,GAAAA,GAAAM,WAAAA,EAAAN,IAAA,mBAAAA,EAA8E,OAASW,QAAAX,CAAA,EAAkB,IAAAY,EAAAC,EAAAH,GAAmD,GAAAE,GAAAA,EAAAE,GAAA,CAAAd,GAA+B,OAAAY,EAAAG,GAAA,CAAAf,EAAA,CAAyB,IAAAgB,EAAA,GAAiBC,EAAArB,OAAAC,cAAA,EAAAD,OAAAsB,wBAAA,CAAsF,QAAAC,KAAAnB,EAAuB,GAAAmB,YAAAA,GAAAvB,OAAAwB,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAtB,EAAAmB,GAAA,CAA2E,IAAAI,EAAAN,EAAArB,OAAAsB,wBAAA,CAAAlB,EAAAmB,GAAA,KAAqFI,GAAAA,CAAAA,EAAAR,GAAA,EAAAQ,EAAAC,GAAA,EAAsC5B,OAAAC,cAAA,CAAAmB,EAAAG,EAAAI,GAAmDP,CAAA,CAAAG,EAAA,CAAAnB,CAAA,CAAAmB,EAAA,QAA8BH,EAAAL,OAAA,CAAAX,EAAsBY,GAAaA,EAAAY,GAAA,CAAAxB,EAAAgB,GAA0BA,CAAA,EAJlvBd,EAAQ,QAC5CD,EAAAI,EAAkDH,EAAQ,QAC1DuB,EAAApB,EAAuCH,EAAQ,QAC/C,SAAAW,EAAAH,CAAA,EAAiD,sBAAAgB,QAAA,YAAgD,IAAAC,EAAA,IAAAD,QAAuCE,EAAA,IAAAF,QAAsC,OAAAb,EAAA,SAAAH,CAAA,EAAoF,OAAAA,EAAAkB,EAAAD,CAAA,GAA4DjB,EAAA,CAK9T,IAAAmB,EAAA,SAAAC,CAAA,CAAAC,CAAA,EACA,OAAAvB,EAAAwB,aAAA,CAAAP,EAAAd,OAAA,IAAAJ,EAAAI,OAAA,KAAAJ,EAAAI,OAAA,KAAuHmB,GAAA,GAAY,CACnIC,IAAAA,EACAE,KAAAhC,EAAAU,OAAA,GAEA,CACAkB,CAAAA,EAAAK,WAAA,uBACA,IAAAC,EAAA3B,EAAA4B,UAAA,CAAAP,EACA/B,CAAAA,EAAA,OAAe,CAAAqC","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/ClockCircleOutlined.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexports.default = ClockCircleOutlined;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _ClockCircleOutlined = _interopRequireDefault(require('./lib/icons/ClockCircleOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _ClockCircleOutlined;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _ClockCircleOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/ClockCircleOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _ClockCircleOutlined.default\n }));\n};\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(ClockCircleOutlined);\nexports.default = _default;"],"names":["Object","defineProperty","exports","value","obj","_ClockCircleOutlined","__webpack_require__","__esModule","module","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","ClockCircleOutlined","props","ref","createElement","icon","displayName","_default","forwardRef"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js b/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js new file mode 100644 index 000000000..bd979331f --- /dev/null +++ b/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5817],{63606:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(1413),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},c=r(42135),l=function(e,t){return o.createElement(c.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};l.displayName="CheckOutlined";var s=o.forwardRef(l)},80882:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(1413),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},c=r(42135),l=function(e,t){return o.createElement(c.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};l.displayName="DownOutlined";var s=o.forwardRef(l)},68795:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(1413),o=r(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},c=r(42135),l=function(e,t){return o.createElement(c.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:a}))};l.displayName="SearchOutlined";var s=o.forwardRef(l)},81643:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e){return e?"function"==typeof e?e():e:null}},9708:function(e,t,r){"use strict";r.d(t,{F:function(){return l},Z:function(){return c}});var n=r(4942),o=r(94184),a=r.n(o);function c(e,t,r){var o;return a()((o={},(0,n.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,n.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,n.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,n.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,n.Z)(o,"".concat(e,"-has-feedback"),r),o))}(0,r(93355).b)("warning","error","");var l=function(e,t){return t||e}},24093:function(e,t,r){"use strict";r.d(t,{C:function(){return E}});var n=r(87462),o=r(4942),a=r(71002),c=r(97685),l=r(94184),s=r.n(l),i=r(48555),u=r(42550),f=r(67294),d=r(53124),p=r(25378),v=r(24308),m=f.createContext("default"),g=function(e){var t=e.children,r=e.size;return f.createElement(m.Consumer,null,function(e){return f.createElement(m.Provider,{value:r||e},t)})},h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},y=f.forwardRef(function(e,t){var r,l,g,y=f.useContext(m),Z=f.useState(1),x=(0,c.Z)(Z,2),w=x[0],b=x[1],E=f.useState(!1),j=(0,c.Z)(E,2),C=j[0],O=j[1],S=f.useState(!0),_=(0,c.Z)(S,2),N=_[0],P=_[1],k=f.useRef(null),F=f.useRef(null),R=(0,u.sQ)(t,k),z=f.useContext(d.E_).getPrefixCls,L=function(){if(F.current&&k.current){var t=F.current.offsetWidth,r=k.current.offsetWidth;if(0!==t&&0!==r){var n=e.gap,o=void 0===n?4:n;2*ot.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},d=["xs","sm","md","lg","xl","xxl"],p=s.forwardRef(function(e,t){var r,c=s.useContext(i.E_),p=c.getPrefixCls,v=c.direction,m=s.useContext(u.Z),g=m.gutter,h=m.wrap,y=m.supportFlexGap,Z=e.prefixCls,x=e.span,w=e.order,b=e.offset,E=e.push,j=e.pull,C=e.className,O=e.children,S=e.flex,_=e.style,N=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=p("col",Z),k={};d.forEach(function(t){var r,c={},l=e[t];"number"==typeof l?c.span=l:"object"===(0,a.Z)(l)&&(c=l||{}),delete N[t],k=(0,o.Z)((0,o.Z)({},k),(r={},(0,n.Z)(r,"".concat(P,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,n.Z)(r,"".concat(P,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,n.Z)(r,"".concat(P,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,n.Z)(r,"".concat(P,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,n.Z)(r,"".concat(P,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,n.Z)(r,"".concat(P,"-rtl"),"rtl"===v),r))});var F=l()(P,(r={},(0,n.Z)(r,"".concat(P,"-").concat(x),void 0!==x),(0,n.Z)(r,"".concat(P,"-order-").concat(w),w),(0,n.Z)(r,"".concat(P,"-offset-").concat(b),b),(0,n.Z)(r,"".concat(P,"-push-").concat(E),E),(0,n.Z)(r,"".concat(P,"-pull-").concat(j),j),r),C,k),R={};if(g&&g[0]>0){var z=g[0]/2;R.paddingLeft=z,R.paddingRight=z}if(g&&g[1]>0&&!y){var L=g[1]/2;R.paddingTop=L,R.paddingBottom=L}return S&&(R.flex="number"==typeof S?"".concat(S," ").concat(S," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(S)?"0 0 ".concat(S):S,!1!==h||R.minWidth||(R.minWidth=0)),s.createElement("div",(0,o.Z)({},N,{style:(0,o.Z)((0,o.Z)({},R),_),className:F,ref:t}),O)});t.Z=p},92820:function(e,t,r){"use strict";var n=r(87462),o=r(4942),a=r(71002),c=r(97685),l=r(94184),s=r.n(l),i=r(67294),u=r(53124),f=r(98082),d=r(24308),p=r(93355),v=r(99134),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function g(e,t){var r=i.useState("string"==typeof e?e:""),n=(0,c.Z)(r,2),o=n[0],l=n[1],s=function(){if("object"===(0,a.Z)(e))for(var r=0;r0?-(G[0]/2):void 0,J=null!=G[1]&&G[1]>0?-(G[1]/2):void 0;if(V&&(I.marginLeft=V,I.marginRight=V),A){var U=(0,c.Z)(G,2);I.rowGap=U[1]}else J&&(I.marginTop=J,I.marginBottom=J);var Q=(0,c.Z)(G,2),X=Q[0],$=Q[1],q=i.useMemo(function(){return{gutter:[X,$],wrap:j,supportFlexGap:A}},[X,$,j,A]);return i.createElement(v.Z.Provider,{value:q},i.createElement("div",(0,n.Z)({},C,{className:H,style:(0,n.Z)((0,n.Z)({},I),x),ref:t}),w))});t.Z=h},55241:function(e,t,r){"use strict";var n=r(87462),o=r(67294),a=r(53124),c=r(94199),l=r(81643),s=r(33603),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},u=function(e){var t=e.title,r=e.content,n=e.prefixCls;return t||r?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(n,"-title")},(0,l.Z)(t)),o.createElement("div",{className:"".concat(n,"-inner-content")},(0,l.Z)(r))):null},f=o.forwardRef(function(e,t){var r=e.prefixCls,l=e.title,f=e.content,d=e._overlay,p=e.placement,v=e.trigger,m=e.mouseEnterDelay,g=e.mouseLeaveDelay,h=e.overlayStyle,y=i(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),Z=o.useContext(a.E_).getPrefixCls,x=Z("popover",r),w=Z();return o.createElement(c.Z,(0,n.Z)({placement:void 0===p?"top":p,trigger:void 0===v?"hover":v,mouseEnterDelay:void 0===m?.1:m,mouseLeaveDelay:void 0===g?.1:g,overlayStyle:void 0===h?{}:h},y,{prefixCls:x,ref:t,overlay:d||o.createElement(u,{prefixCls:x,title:l,content:f}),transitionName:(0,s.mL)(w,"zoom-big",y.transitionName)}))});t.Z=f},71230:function(e,t,r){"use strict";var n=r(92820);t.Z=n.Z},15508:function(e,t,r){"use strict";r.r(t),r.d(t,{FollowerCollection:function(){return y}});var n=r(85893),o=r(67294),a=r(26303),c=r(71230),l=r(15746),s=r(3698),i=r(24093),u=r(94184),f=r.n(u),d=r(69833),p=r.n(d);let v=e=>{let{follower:t}=e;return(0,n.jsx)("div",{className:f()([p().follower,"followers-follower"]),children:(0,n.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,n.jsxs)(c.Z,{wrap:!1,children:[(0,n.jsx)(l.Z,{span:6,children:(0,n.jsx)(i.C,{src:t.image,alt:"Avatar",className:p().avatar,children:(0,n.jsx)("img",{src:"/logo",alt:"Logo",className:p().placeholder})})}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(c.Z,{children:t.name}),(0,n.jsx)(c.Z,{className:p().account,children:t.username})]})]})})})};var m=r(21890),g=r.n(m),h=r(78696);let y=e=>{let{name:t,onFollowButtonClick:r}=e,[i,u]=(0,o.useState)([]),[f,d]=(0,o.useState)(0),[p,m]=(0,o.useState)(1),[y,Z]=(0,o.useState)(!0),x=async()=>{try{let e=await fetch("".concat("/api/followers","?page=").concat(p)),t=await e.json(),{results:r,total:n}=t;u(r),d(n),Z(!1)}catch(o){console.error(o)}};(0,o.useEffect)(()=>{x()},[p]);let w=(0,n.jsxs)("div",{className:g().noFollowers,id:"followers-collection",children:[(0,n.jsx)("h2",{children:"Be the first follower!"}),(0,n.jsxs)("p",{children:["Owncast"!==t?t:"This server"," is a part of the"," ",(0,n.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,n.jsxs)("p",{children:["By following ","Owncast"!==t?t:"this server"," you'll be able to get updates from the stream, share it with others, and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,n.jsx)(h.e,{onClick:r})]}),b=(0,n.jsx)(a.Z,{active:!0,paragraph:{rows:3}});return y?b:(null==i?void 0:i.length)?(0,n.jsxs)("div",{className:g().followers,id:"followers-collection",children:[(0,n.jsx)(c.Z,{wrap:!0,gutter:[10,10],className:g().followerRow,children:i.map(e=>(0,n.jsx)(l.Z,{children:(0,n.jsx)(v,{follower:e},e.link)},e.link))}),(0,n.jsx)(s.Z,{current:p,pageSize:24,total:Math.ceil(f/24)||1,onChange:e=>{m(e)},hideOnSinglePage:!0})]}):w}},21890:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",followerRow:"FollowerCollection_followerRow__T1mFd",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},69833:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}}]); +//# sourceMappingURL=5817.55cdbcc8d4870ecb.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js.map b/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js.map new file mode 100644 index 000000000..4098806d9 --- /dev/null +++ b/static/web/_next/static/chunks/5817.55cdbcc8d4870ecb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/5817.55cdbcc8d4870ecb.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAaS,WAAA,iBACb,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,gGCX7CY,EADA,CAAqB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,gMAAoM,EAAG,yCCKxVC,EAAY,SAAAZ,CAAA,CAAAC,CAAA,EAChB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUI,CACV,GACA,CACAC,CAAAA,EAAYJ,WAAA,gBACZ,IAAAK,EAA4BX,EAAAQ,UAAgB,CAACE,gGCX7CE,EADA,CAAuB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,ugBAA2gB,EAAG,2CCKjqBC,EAAc,SAAAf,CAAA,CAAAC,CAAA,EAClB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC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AAA,CAAYA,CAAAA,CAACC,QAASrB,OAIrBsB,EAAkB,GAAAtC,EAAAC,GAAA,EAACsC,EAAAA,CAAQA,CAAAA,CAACC,OAAM,GAACC,UAAW,CAAEC,KAAM,CAAE,WAE9D,EACSJ,EAGJrB,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAWzP,MAAM,EAKpB,GAAAwO,EAAAU,IAAA,EAACR,MAAAA,CAAI5L,UAAW8L,IAAAA,SAAgB,CAAE8B,GAAG,iCACnC,GAAAlC,EAAAC,GAAA,EAACrE,EAAAA,CAAGA,CAAAA,CAACrC,KAAI,GAACD,OAAQ,CAAC,GAAI,GAAG,CAAEhF,UAAW8L,IAAAA,WAAkB,UACtDa,EAAUrJ,GAAG,CAACkI,GACb,GAAAE,EAAAC,GAAA,EAAChH,EAAAA,CAAGA,CAAAA,UACF,GAAA+G,EAAAC,GAAA,EAACJ,EAAcA,CAAqBC,SAAUA,GAAzBA,EAASS,IAAI,GAD1BT,EAASS,IAAI,KAM3B,GAAAP,EAAAC,GAAA,EAAC0C,EAAAA,CAAUA,CAAAA,CACTnP,QAAS6N,EACTuB,SAnEiB,GAoEjBzB,MAAO0B,KA7DMC,IAAI,CAAC3B,EAPD,KAoED,EAChB4B,SAAU/R,GAAK,CACbsQ,EAAQtQ,EACV,EACAgS,iBAAgB,QApBbf,CAHR,qBC9DHgB,EAAAC,OAAA,EAAkB,4KCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DownOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/SearchOutlined.js","webpack://_N_E/./node_modules/antd/es/_util/getRenderPropValue.js","webpack://_N_E/./node_modules/antd/es/_util/statusUtils.js","webpack://_N_E/./node_modules/antd/es/avatar/SizeContext.js","webpack://_N_E/./node_modules/antd/es/avatar/avatar.js","webpack://_N_E/./node_modules/antd/es/avatar/group.js","webpack://_N_E/./node_modules/antd/es/avatar/index.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/popover/index.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./components/ui/followers/SingleFollower/SingleFollower.tsx","webpack://_N_E/./components/ui/followers/FollowerCollection/FollowerCollection.tsx","webpack://_N_E/./components/ui/followers/FollowerCollection/FollowerCollection.module.scss","webpack://_N_E/./components/ui/followers/SingleFollower/SingleFollower.module.scss","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","// This icon file is generated automatically.\nvar DownOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z\" } }] }, \"name\": \"down\", \"theme\": \"outlined\" };\nexport default DownOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DownOutlinedSvg from \"@ant-design/icons-svg/es/asn/DownOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DownOutlined = function DownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DownOutlinedSvg\n }));\n};\nDownOutlined.displayName = 'DownOutlined';\nexport default /*#__PURE__*/React.forwardRef(DownOutlined);","// This icon file is generated automatically.\nvar SearchOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z\" } }] }, \"name\": \"search\", \"theme\": \"outlined\" };\nexport default SearchOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SearchOutlinedSvg from \"@ant-design/icons-svg/es/asn/SearchOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SearchOutlined = function SearchOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SearchOutlinedSvg\n }));\n};\nSearchOutlined.displayName = 'SearchOutlined';\nexport default /*#__PURE__*/React.forwardRef(SearchOutlined);","export var getRenderPropValue = function getRenderPropValue(propValue) {\n if (!propValue) {\n return null;\n }\n if (typeof propValue === 'function') {\n return propValue();\n }\n return propValue;\n};","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport { tuple } from './type';\nvar InputStatuses = tuple('warning', 'error', '');\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n var _classNames;\n return classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-success\"), status === 'success'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-warning\"), status === 'warning'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-error\"), status === 'error'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-status-validating\"), status === 'validating'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-feedback\"), hasFeedback), _classNames));\n}\nexport var getMergedStatus = function getMergedStatus(contextStatus, customStatus) {\n return customStatus || contextStatus;\n};","import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext('default');\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n var children = _ref.children,\n size = _ref.size;\n return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n });\n};\nexport default SizeContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport warning from '../_util/warning';\nimport SizeContext from './SizeContext';\nvar InternalAvatar = function InternalAvatar(props, ref) {\n var _classNames, _classNames2;\n var groupSize = React.useContext(SizeContext);\n var _React$useState = React.useState(1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n scale = _React$useState2[0],\n setScale = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n mounted = _React$useState4[0],\n setMounted = _React$useState4[1];\n var _React$useState5 = React.useState(true),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n isImgExist = _React$useState6[0],\n setIsImgExist = _React$useState6[1];\n var avatarNodeRef = React.useRef(null);\n var avatarChildrenRef = React.useRef(null);\n var avatarNodeMergeRef = composeRef(ref, avatarNodeRef);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var setScaleParam = function setScaleParam() {\n if (!avatarChildrenRef.current || !avatarNodeRef.current) {\n return;\n }\n var childrenWidth = avatarChildrenRef.current.offsetWidth; // offsetWidth avoid affecting be transform scale\n var nodeWidth = avatarNodeRef.current.offsetWidth;\n // denominator is 0 is no meaning\n if (childrenWidth !== 0 && nodeWidth !== 0) {\n var _props$gap = props.gap,\n gap = _props$gap === void 0 ? 4 : _props$gap;\n if (gap * 2 < nodeWidth) {\n setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n setIsImgExist(true);\n setScale(1);\n }, [props.src]);\n React.useEffect(function () {\n setScaleParam();\n }, [props.gap]);\n var handleImgLoadError = function handleImgLoadError() {\n var onError = props.onError;\n var errorFlag = onError ? onError() : undefined;\n if (errorFlag !== false) {\n setIsImgExist(false);\n }\n };\n var customizePrefixCls = props.prefixCls,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n customSize = _props$size === void 0 ? 'default' : _props$size,\n src = props.src,\n srcSet = props.srcSet,\n icon = props.icon,\n className = props.className,\n alt = props.alt,\n draggable = props.draggable,\n children = props.children,\n crossOrigin = props.crossOrigin,\n others = __rest(props, [\"prefixCls\", \"shape\", \"size\", \"src\", \"srcSet\", \"icon\", \"className\", \"alt\", \"draggable\", \"children\", \"crossOrigin\"]);\n var size = customSize === 'default' ? groupSize : customSize;\n var needResponsive = Object.keys(_typeof(size) === 'object' ? size || {} : {}).some(function (key) {\n return ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].includes(key);\n });\n var screens = useBreakpoint(needResponsive);\n var responsiveSizeStyle = React.useMemo(function () {\n if (_typeof(size) !== 'object') {\n return {};\n }\n var currentBreakpoint = responsiveArray.find(function (screen) {\n return screens[screen];\n });\n var currentSize = size[currentBreakpoint];\n return currentSize ? {\n width: currentSize,\n height: currentSize,\n lineHeight: \"\".concat(currentSize, \"px\"),\n fontSize: icon ? currentSize / 2 : 18\n } : {};\n }, [screens, size]);\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'Avatar', \"`icon` is using ReactNode instead of string naming in v4. Please check `\".concat(icon, \"` at https://ant.design/components/icon\")) : void 0;\n var prefixCls = getPrefixCls('avatar', customizePrefixCls);\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var hasImageElement = /*#__PURE__*/React.isValidElement(src);\n var classString = classNames(prefixCls, sizeCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-\").concat(shape), !!shape), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-image\"), hasImageElement || src && isImgExist), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon\"), !!icon), _classNames2), className);\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\"),\n fontSize: icon ? size / 2 : 18\n } : {};\n var childrenToRender;\n if (typeof src === 'string' && isImgExist) {\n childrenToRender = /*#__PURE__*/React.createElement(\"img\", {\n src: src,\n draggable: draggable,\n srcSet: srcSet,\n onError: handleImgLoadError,\n alt: alt,\n crossOrigin: crossOrigin\n });\n } else if (hasImageElement) {\n childrenToRender = src;\n } else if (icon) {\n childrenToRender = icon;\n } else if (mounted || scale !== 1) {\n var transformString = \"scale(\".concat(scale, \") translateX(-50%)\");\n var childrenStyle = {\n msTransform: transformString,\n WebkitTransform: transformString,\n transform: transformString\n };\n var sizeChildrenStyle = typeof size === 'number' ? {\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n childrenToRender = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: setScaleParam\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n ref: avatarChildrenRef,\n style: _extends(_extends({}, sizeChildrenStyle), childrenStyle)\n }, children));\n } else {\n childrenToRender = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-string\"),\n style: {\n opacity: 0\n },\n ref: avatarChildrenRef\n }, children);\n }\n // The event is triggered twice from bubbling up the DOM tree.\n // see https://codesandbox.io/s/kind-snow-9lidz\n delete others.onError;\n delete others.gap;\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, others, {\n style: _extends(_extends(_extends({}, sizeStyle), responsiveSizeStyle), others.style),\n className: classString,\n ref: avatarNodeMergeRef\n }), childrenToRender);\n};\nvar Avatar = /*#__PURE__*/React.forwardRef(InternalAvatar);\nif (process.env.NODE_ENV !== 'production') {\n Avatar.displayName = 'Avatar';\n}\nexport default Avatar;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport Avatar from './avatar';\nimport { SizeContextProvider } from './SizeContext';\nvar Group = function Group(props) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n maxCount = props.maxCount,\n maxStyle = props.maxStyle,\n size = props.size;\n var prefixCls = getPrefixCls('avatar-group', customizePrefixCls);\n var cls = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n var children = props.children,\n _props$maxPopoverPlac = props.maxPopoverPlacement,\n maxPopoverPlacement = _props$maxPopoverPlac === void 0 ? 'top' : _props$maxPopoverPlac,\n _props$maxPopoverTrig = props.maxPopoverTrigger,\n maxPopoverTrigger = _props$maxPopoverTrig === void 0 ? 'hover' : _props$maxPopoverTrig;\n var childrenWithProps = toArray(children).map(function (child, index) {\n return cloneElement(child, {\n key: \"avatar-key-\".concat(index)\n });\n });\n var numOfChildren = childrenWithProps.length;\n if (maxCount && maxCount < numOfChildren) {\n var childrenShow = childrenWithProps.slice(0, maxCount);\n var childrenHidden = childrenWithProps.slice(maxCount, numOfChildren);\n childrenShow.push( /*#__PURE__*/React.createElement(Popover, {\n key: \"avatar-popover-key\",\n content: childrenHidden,\n trigger: maxPopoverTrigger,\n placement: maxPopoverPlacement,\n overlayClassName: \"\".concat(prefixCls, \"-popover\")\n }, /*#__PURE__*/React.createElement(Avatar, {\n style: maxStyle\n }, \"+\".concat(numOfChildren - maxCount))));\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenShow));\n }\n return /*#__PURE__*/React.createElement(SizeContextProvider, {\n size: size\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: props.style\n }, childrenWithProps));\n};\nexport default Group;","import InternalAvatar from './avatar';\nimport Group from './group';\nexport { Group };\nvar Avatar = InternalAvatar;\nAvatar.Group = Group;\nexport default Avatar;","import { Col } from '../grid';\nexport default Col;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nvar Overlay = function Overlay(_ref) {\n var title = _ref.title,\n content = _ref.content,\n prefixCls = _ref.prefixCls;\n if (!title && !content) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, getRenderPropValue(content)));\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n title = props.title,\n content = props.content,\n _overlay = props._overlay,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n _props$overlayStyle = props.overlayStyle,\n overlayStyle = _props$overlayStyle === void 0 ? {} : _props$overlayStyle,\n otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"_overlay\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(Tooltip, _extends({\n placement: placement,\n trigger: trigger,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n overlayStyle: overlayStyle\n }, otherProps, {\n prefixCls: prefixCls,\n ref: ref,\n overlay: _overlay || /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n title: title,\n content: content\n }),\n transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName)\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popover.displayName = 'Popover';\n}\nexport default Popover;","import { Row } from '../grid';\nexport default Row;","import { Avatar, Col, Row } from 'antd';\nimport React, { FC } from 'react';\nimport cn from 'classnames';\nimport { Follower } from '../../../../interfaces/follower';\nimport styles from './SingleFollower.module.scss';\n\nexport type SingleFollowerProps = {\n follower: Follower;\n};\n\nexport const SingleFollower: FC = ({ follower }) => (\n \n);\n","import { FC, useEffect, useState } from 'react';\nimport { Col, Pagination, Row, Skeleton } from 'antd';\nimport { Follower } from '../../../../interfaces/follower';\nimport { SingleFollower } from '../SingleFollower/SingleFollower';\nimport styles from './FollowerCollection.module.scss';\nimport { FollowButton } from '../../../action-buttons/FollowButton';\n\nexport type FollowerCollectionProps = {\n name: string;\n onFollowButtonClick: () => void;\n};\n\nexport const FollowerCollection: FC = ({ name, onFollowButtonClick }) => {\n const ENDPOINT = '/api/followers';\n const ITEMS_PER_PAGE = 24;\n\n const [followers, setFollowers] = useState([]);\n const [total, setTotal] = useState(0);\n const [page, setPage] = useState(1);\n const [loading, setLoading] = useState(true);\n\n const pages = Math.ceil(total / ITEMS_PER_PAGE);\n\n const getFollowers = async () => {\n try {\n const response = await fetch(`${ENDPOINT}?page=${page}`);\n\n const data = await response.json();\n const { results, total: totalResults } = data;\n\n setFollowers(results);\n setTotal(totalResults);\n setLoading(false);\n } catch (error) {\n console.error(error);\n }\n };\n\n useEffect(() => {\n getFollowers();\n }, [page]);\n\n const noFollowers = (\n
\n

Be the first follower!

\n

\n {name !== 'Owncast' ? name : 'This server'} is a part of the{' '}\n Fediverse, an interconnected network of\n independent users and servers.\n

\n

\n By following {name !== 'Owncast' ? name : 'this server'} you'll be able to get updates\n from the stream, share it with others, and show your appreciation when it goes live, all\n from your own Fediverse account.\n

\n \n
\n );\n\n const loadingSkeleton = ;\n\n if (loading) {\n return loadingSkeleton;\n }\n\n if (!followers?.length) {\n return noFollowers;\n }\n\n return (\n
\n \n {followers.map(follower => (\n \n \n \n ))}\n \n\n {\n setPage(p);\n }}\n hideOnSinglePage\n />\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"followers\":\"FollowerCollection_followers__e_EUS\",\"followerRow\":\"FollowerCollection_followerRow__T1mFd\",\"noFollowers\":\"FollowerCollection_noFollowers__UaCVW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"follower\":\"SingleFollower_follower__EyBDI\",\"avatar\":\"SingleFollower_avatar__V9jHG\",\"account\":\"SingleFollower_account__Z66vo\",\"placeholder\":\"SingleFollower_placeholder__CgsfJ\"};"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","asn_DownOutlined","DownOutlined_DownOutlined","icons_DownOutlined","asn_SearchOutlined","SearchOutlined_SearchOutlined","icons_SearchOutlined","getRenderPropValue","propValue","getStatusClassNames","prefixCls","status","hasFeedback","_classNames","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","concat","_type__WEBPACK_IMPORTED_MODULE_1__","b","getMergedStatus","contextStatus","customStatus","SizeContext","createContext","SizeContextProvider","_ref","children","size","Consumer","originSize","Provider","value","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Avatar","_classNames2","childrenToRender","groupSize","useContext","_React$useState","useState","_React$useState2","slicedToArray","scale","setScale","_React$useState3","_React$useState4","mounted","setMounted","_React$useState5","_React$useState6","isImgExist","setIsImgExist","avatarNodeRef","useRef","avatarChildrenRef","avatarNodeMergeRef","es_ref","sQ","getPrefixCls","_React$useContext","context","E_","setScaleParam","current","childrenWidth","offsetWidth","nodeWidth","_props$gap","gap","useEffect","src","customizePrefixCls","_props$shape","shape","_props$size","customSize","srcSet","className","alt","draggable","crossOrigin","others","needResponsive","keys","esm_typeof","some","key","includes","screens","useBreakpoint","responsiveSizeStyle","useMemo","currentSize","responsiveObserve","c4","find","screen","width","height","lineHeight","fontSize","sizeCls","classnames_default","defineProperty","hasImageElement","isValidElement","classString","onError","undefined","transformString","es","onResize","style","esm_extends","msTransform","WebkitTransform","transform","opacity","avatar_Avatar","Group","direction","_props$className","maxCount","maxStyle","cls","_props$maxPopoverPlac","maxPopoverPlacement","_props$maxPopoverTrig","maxPopoverTrigger","childrenWithProps","toArray","map","child","index","reactNode","Tm","numOfChildren","childrenShow","slice","childrenHidden","push","popover","content","trigger","placement","overlayClassName","es_avatar","__webpack_exports__","_grid__WEBPACK_IMPORTED_MODULE_0__","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","span","order","offset","pull","flex","sizeClassObj","forEach","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","classes","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","breakpoint","curVal","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","xs","sm","md","lg","xl","xxl","setScreens","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","token","ZP","subscribe","currentGutter","Array","isArray","unsubscribe","gutters","normalizedGutter","g","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","_RowContext__WEBPACK_IMPORTED_MODULE_9__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","Overlay","title","Fragment","_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_1__","Popover","_overlay","_props$placement","_props$trigger","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","_props$overlayStyle","overlayStyle","otherProps","rootPrefixCls","_tooltip__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","overlay","transitionName","_util_motion__WEBPACK_IMPORTED_MODULE_5__","mL","SingleFollower","follower","param","jsx_runtime","jsx","div","cn","styles","a","href","link","target","rel","jsxs","image","img","name","username","FollowerCollection","onFollowButtonClick","followers","setFollowers","total","setTotal","page","setPage","loading","setLoading","getFollowers","response","fetch","data","json","totalResults","error","console","noFollowers","id","h2","FollowButton","onClick","loadingSkeleton","Skeleton","active","paragraph","rows","Pagination","pageSize","pages","ceil","onChange","hideOnSinglePage","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js b/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js deleted file mode 100644 index 1d0a9767a..000000000 --- a/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5827],{63606:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="CheckOutlined";var i=r.forwardRef(l)},15746:function(e,t,n){var a=n(21584);t.Z=a.Z},54907:function(e,t,n){n.d(t,{Z:function(){return A}});var a=n(87462),r=n(4942),c=n(18073),o=n(94184),l=n.n(o),i=n(74902),s=n(15671),u=n(43144),f=n(60136),d=n(33643),p=n(71002),m=n(50344),v=n(67294),y=n(96774),Z=n.n(y),h=n(45987),x=n(62874),C=n(97685),g=v.forwardRef(function(e,t){var n,a=e.prefixCls,c=e.forceRender,o=e.className,i=e.style,s=e.children,u=e.isActive,f=e.role,d=v.useState(u||c),p=(0,C.Z)(d,2),m=p[0],y=p[1];return(v.useEffect(function(){(c||u)&&y(!0)},[c,u]),m)?v.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),o),style:i,role:f},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null});g.displayName="PanelContent";var b=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],E=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=Array(a),c=0;c-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,c=r.prefixCls,o=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,u=r.collapsible,f=e.key||String(t),d=e.props,p=d.header,m=d.headerClass,y=d.destroyInactivePanel,Z=d.collapsible,h=!1;h=l?n[0]===f:n.indexOf(f)>-1;var x=null!=Z?Z:u,C={key:f,panelKey:f,header:p,headerClass:m,isActive:h,prefixCls:c,destroyInactivePanel:null!=y?y:i,openMotion:o,accordion:l,children:e.props.children,onItemClick:"disabled"===x?null:a.onClickItem,expandIcon:s,collapsible:x};return"string"==typeof e.type?e:(Object.keys(C).forEach(function(e){void 0===C[e]&&delete C[e]}),v.cloneElement(e,C))},a.getItems=function(){var e=a.props.children;return(0,m.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,c=e.defaultActiveKey;return"activeKey"in e&&(c=r),a.state={activeKey:N(c)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!Z()(this.props,e)||!Z()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,c=t.style,o=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:c,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=N(e.activeKey)),t}}]),n}(v.Component);w.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},w.Panel=E,w.Panel;var k=n(98423),P=n(53124),O=n(33603),I=n(96159),j=function(e){var t,n,o=v.useContext(P.E_),i=o.getPrefixCls,s=o.direction,u=e.prefixCls,f=e.className,d=e.bordered,p=e.ghost,y=e.expandIconPosition,Z=void 0===y?"start":y,h=i("collapse",u),x=v.useMemo(function(){return"left"===Z?"start":"right"===Z?"end":Z},[Z]),C=l()("".concat(h,"-icon-position-").concat(x),(n={},(0,r.Z)(n,"".concat(h,"-borderless"),!(void 0===d||d)),(0,r.Z)(n,"".concat(h,"-rtl"),"rtl"===s),(0,r.Z)(n,"".concat(h,"-ghost"),!!p),n),void 0===f?"":f),g=(0,a.Z)((0,a.Z)({},O.ZP),{motionAppear:!1,leavedClassName:"".concat(h,"-content-hidden")});return v.createElement(w,(0,a.Z)({openMotion:g},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(c.Z,{rotate:t.isActive?90:void 0});return(0,I.Tm)(a,function(){return{className:l()(a.props.className,"".concat(h,"-arrow"))}})},prefixCls:h,className:C}),(t=e.children,(0,m.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),c=e.props,o=c.disabled,l=c.collapsible,i=(0,a.Z)((0,a.Z)({},(0,k.Z)(e.props,["disabled"])),{key:r,collapsible:null!=l?l:o?"disabled":void 0});return(0,I.Tm)(e,i)}return e})))};j.Panel=function(e){var t=v.useContext(P.E_).getPrefixCls,n=e.prefixCls,c=e.className,o=e.showArrow,i=t("collapse",n),s=l()((0,r.Z)({},"".concat(i,"-no-arrow"),!(void 0===o||o)),void 0===c?"":c);return v.createElement(w.Panel,(0,a.Z)({},e,{prefixCls:i,className:s}))};var A=j},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},21584:function(e,t,n){var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,o=i.useContext(s.E_),p=o.getPrefixCls,m=o.direction,v=i.useContext(u.Z),y=v.gutter,Z=v.wrap,h=v.supportFlexGap,x=e.prefixCls,C=e.span,g=e.order,b=e.offset,E=e.push,N=e.pull,w=e.className,k=e.children,P=e.flex,O=e.style,I=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=p("col",x),A={};d.forEach(function(t){var n,o={},l=e[t];"number"==typeof l?o.span=l:"object"===(0,c.Z)(l)&&(o=l||{}),delete I[t],A=(0,r.Z)((0,r.Z)({},A),(n={},(0,a.Z)(n,"".concat(j,"-").concat(t,"-").concat(o.span),void 0!==o.span),(0,a.Z)(n,"".concat(j,"-").concat(t,"-order-").concat(o.order),o.order||0===o.order),(0,a.Z)(n,"".concat(j,"-").concat(t,"-offset-").concat(o.offset),o.offset||0===o.offset),(0,a.Z)(n,"".concat(j,"-").concat(t,"-push-").concat(o.push),o.push||0===o.push),(0,a.Z)(n,"".concat(j,"-").concat(t,"-pull-").concat(o.pull),o.pull||0===o.pull),(0,a.Z)(n,"".concat(j,"-rtl"),"rtl"===m),n))});var S=l()(j,(n={},(0,a.Z)(n,"".concat(j,"-").concat(C),void 0!==C),(0,a.Z)(n,"".concat(j,"-order-").concat(g),g),(0,a.Z)(n,"".concat(j,"-offset-").concat(b),b),(0,a.Z)(n,"".concat(j,"-push-").concat(E),E),(0,a.Z)(n,"".concat(j,"-pull-").concat(N),N),n),w,A),z={};if(y&&y[0]>0){var K=y[0]/2;z.paddingLeft=K,z.paddingRight=K}if(y&&y[1]>0&&!h){var R=y[1]/2;z.paddingTop=R,z.paddingBottom=R}return P&&(z.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==Z||z.minWidth||(z.minWidth=0)),i.createElement("div",(0,r.Z)({},I,{style:(0,r.Z)((0,r.Z)({},z),O),className:S,ref:t}),k)});t.Z=p},92820:function(e,t,n){var a=n(87462),r=n(4942),c=n(71002),o=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};function y(e,t){var n=s.useState("string"==typeof e?e:""),a=(0,o.Z)(n,2),r=a[0],l=a[1],i=function(){if("object"===(0,c.Z)(e))for(var n=0;n0?-(F[0]/2):void 0,H=null!=F[1]&&F[1]>0?-(F[1]/2):void 0;if(D&&(L.marginLeft=D,L.marginRight=D),T){var U=(0,o.Z)(F,2);L.rowGap=U[1]}else H&&(L.marginTop=H,L.marginBottom=H);var W=(0,o.Z)(F,2),J=W[0],V=W[1],Y=s.useMemo(function(){return{gutter:[J,V],wrap:N,supportFlexGap:T}},[J,V,N,T]);return s.createElement(m.Z.Provider,{value:Y},s.createElement("div",(0,a.Z)({},w,{className:G,style:(0,a.Z)((0,a.Z)({},L),C),ref:t}),g))});t.Z=Z},71230:function(e,t,n){var a=n(92820);t.Z=a.Z},26303:function(e,t,n){n.d(t,{Z:function(){return b}});var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(98423),f=function(e){var t,n,c=e.prefixCls,o=e.className,s=e.style,u=e.size,f=e.shape,d=l()((t={},(0,a.Z)(t,"".concat(c,"-lg"),"large"===u),(0,a.Z)(t,"".concat(c,"-sm"),"small"===u),t)),p=l()((n={},(0,a.Z)(n,"".concat(c,"-circle"),"circle"===f),(0,a.Z)(n,"".concat(c,"-square"),"square"===f),(0,a.Z)(n,"".concat(c,"-round"),"round"===f),n)),m=i.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return i.createElement("span",{className:l()(c,d,p,o),style:(0,r.Z)((0,r.Z)({},m),s)})},d=n(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},m=n(42135),v=function(e,t){return i.createElement(m.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:t,icon:p}))};v.displayName="DotChartOutlined";var y=i.forwardRef(v),Z=n(74902),h=function(e){var t=function(t){var n=e.width,a=e.rows;return Array.isArray(n)?n[t]:(void 0===a?2:a)-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,c=e.rows,o=(0,Z.Z)(Array(c)).map(function(e,n){return i.createElement("li",{key:n,style:{width:t(n)}})});return i.createElement("ul",{className:l()(n,a),style:r},o)},x=function(e){var t=e.prefixCls,n=e.className,a=e.width,c=e.style;return i.createElement("h3",{className:l()(t,n),style:(0,r.Z)({width:a},c)})};function C(e){return e&&"object"===(0,c.Z)(e)?e:{}}var g=function(e){var t=e.prefixCls,n=e.loading,c=e.className,o=e.style,u=e.children,d=e.avatar,p=void 0!==d&&d,m=e.title,v=void 0===m||m,y=e.paragraph,Z=void 0===y||y,g=e.active,b=e.round,E=i.useContext(s.E_),N=E.getPrefixCls,w=E.direction,k=N("skeleton",t);if(n||!("loading"in e)){var P=!!p,O=!!v,I=!!Z;if(P){var j=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-avatar")},O&&!I?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),C(p));S=i.createElement("div",{className:"".concat(k,"-header")},i.createElement(f,(0,r.Z)({},j)))}if(O||I){if(O){var A,S,z,K,R,_=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-title")},!P&&I?{width:"38%"}:P&&I?{width:"50%"}:{}),C(v));K=i.createElement(x,(0,r.Z)({},_))}if(I){var M,q=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-paragraph")},(M={},P&&O||(M.width="61%"),!P&&O?M.rows=3:M.rows=2,M)),C(Z));R=i.createElement(h,(0,r.Z)({},q))}z=i.createElement("div",{className:"".concat(k,"-content")},K,R)}var T=l()(k,(A={},(0,a.Z)(A,"".concat(k,"-with-avatar"),P),(0,a.Z)(A,"".concat(k,"-active"),g),(0,a.Z)(A,"".concat(k,"-rtl"),"rtl"===w),(0,a.Z)(A,"".concat(k,"-round"),b),A),c);return i.createElement("div",{className:T,style:o},S,z)}return void 0!==u?u:null};g.Button=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),v=(0,u.Z)(e,["prefixCls"]),y=l()(m,"".concat(m,"-element"),(t={},(0,a.Z)(t,"".concat(m,"-active"),o),(0,a.Z)(t,"".concat(m,"-block"),void 0!==d&&d),t),c);return i.createElement("div",{className:y},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-button"),size:void 0===p?"default":p},v)))},g.Avatar=function(e){var t=e.prefixCls,n=e.className,c=e.active,o=e.shape,d=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),m=(0,u.Z)(e,["prefixCls","className"]),v=l()(p,"".concat(p,"-element"),(0,a.Z)({},"".concat(p,"-active"),c),n);return i.createElement("div",{className:v},i.createElement(f,(0,r.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===o?"circle":o,size:void 0===d?"default":d},m)))},g.Input=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),v=(0,u.Z)(e,["prefixCls"]),y=l()(m,"".concat(m,"-element"),(t={},(0,a.Z)(t,"".concat(m,"-active"),o),(0,a.Z)(t,"".concat(m,"-block"),d),t),c);return i.createElement("div",{className:y},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-input"),size:void 0===p?"default":p},v)))},g.Image=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=l()(o,"".concat(o,"-element"),(0,a.Z)({},"".concat(o,"-active"),c),n);return i.createElement("div",{className:u},i.createElement("div",{className:l()("".concat(o,"-image"),n),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},g.Node=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=l()(u,"".concat(u,"-element"),(0,a.Z)({},"".concat(u,"-active"),c),n),d=null!=o?o:i.createElement(y,null);return i.createElement("div",{className:f},i.createElement("div",{className:l()("".concat(u,"-image"),n),style:r},d))};var b=g},11382:function(e,t,n){var a=n(87462),r=n(4942),c=n(97685),o=n(94184),l=n.n(o),i=n(23279),s=n.n(i),u=n(98423),f=n(67294),d=n(53124),p=n(96159),m=n(93355),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,m.b)("small","default","large");var y=null,Z=function(e){var t=e.spinPrefixCls,n=e.spinning,o=void 0===n||n,i=e.delay,m=e.className,Z=e.size,h=void 0===Z?"default":Z,x=e.tip,C=e.wrapperClassName,g=e.style,b=e.children,E=v(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return o&&(!o||!i||!!isNaN(Number(i)))}),w=(0,c.Z)(N,2),k=w[0],P=w[1];return f.useEffect(function(){var e=s()(function(){P(o)},i);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[i,o]),f.createElement(d.C,null,function(n){var c,o,i,s=n.direction,d=l()(t,(i={},(0,r.Z)(i,"".concat(t,"-sm"),"small"===h),(0,r.Z)(i,"".concat(t,"-lg"),"large"===h),(0,r.Z)(i,"".concat(t,"-spinning"),k),(0,r.Z)(i,"".concat(t,"-show-text"),!!x),(0,r.Z)(i,"".concat(t,"-rtl"),"rtl"===s),i),m),v=(0,u.Z)(E,["indicator","prefixCls"]),Z=f.createElement("div",(0,a.Z)({},v,{style:g,className:d,"aria-live":"polite","aria-busy":k}),(c=e.indicator,o="".concat(t,"-dot"),null===c?null:(0,p.l$)(c)?(0,p.Tm)(c,{className:l()(c.props.className,o)}):(0,p.l$)(y)?(0,p.Tm)(y,{className:l()(y.props.className,o)}):f.createElement("span",{className:l()(o,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),x?f.createElement("div",{className:"".concat(t,"-text")},x):null);if(void 0!==b){var N=l()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),k));return f.createElement("div",(0,a.Z)({},v,{className:l()("".concat(t,"-nested-loading"),C)}),k&&f.createElement("div",{key:"loading"},Z),f.createElement("div",{className:N,key:"container"},b))}return Z})},h=function(e){var t=e.prefixCls,n=(0,f.useContext(d.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return f.createElement(Z,(0,a.Z)({},r))};h.setDefaultIndicator=function(e){y=e},t.Z=h},20550:function(e,t,n){n.d(t,{Z:function(){return x}});var a=n(4942),r=n(87462),c=n(97685),o=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},y=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),Z=RegExp("^(".concat(d.E.join("|"),")$")),h=u.forwardRef(function(e,t){var n,l=e.prefixCls,d=e.className,m=e.style,h=e.children,x=e.icon,C=e.color,g=e.onClose,b=e.closeIcon,E=e.closable,N=v(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),w=u.useContext(f.E_),k=w.getPrefixCls,P=w.direction,O=u.useState(!0),I=(0,c.Z)(O,2),j=I[0],A=I[1];u.useEffect(function(){"visible"in N&&A(N.visible)},[N.visible]);var S=function(){return!!C&&(y.test(C)||Z.test(C))},z=(0,r.Z)({backgroundColor:C&&!S()?C:void 0},m),K=S(),R=k("tag",l),_=i()(R,(n={},(0,a.Z)(n,"".concat(R,"-").concat(C),K),(0,a.Z)(n,"".concat(R,"-has-color"),C&&!K),(0,a.Z)(n,"".concat(R,"-hidden"),!j),(0,a.Z)(n,"".concat(R,"-rtl"),"rtl"===P),n),d),M=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in N||A(!1))},q="onClick"in N||h&&"a"===h.type,T=(0,s.Z)(N,["visible"]),B=x||null,$=B?u.createElement(u.Fragment,null,B,u.createElement("span",null,h)):h,F=u.createElement("span",(0,r.Z)({},T,{ref:t,className:_,style:z}),$,void 0!==E&&E?b?u.createElement("span",{className:"".concat(R,"-close-icon"),onClick:M},b):u.createElement(o.Z,{className:"".concat(R,"-close-icon"),onClick:M}):null);return q?u.createElement(p.Z,null,F):F});h.CheckableTag=function(e){var t,n=e.prefixCls,c=e.className,o=e.checked,l=e.onChange,s=e.onClick,d=m(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,u.useContext(f.E_).getPrefixCls)("tag",n),v=i()(p,(t={},(0,a.Z)(t,"".concat(p,"-checkable"),!0),(0,a.Z)(t,"".concat(p,"-checkable-checked"),o),t),c);return u.createElement("span",(0,r.Z)({},d,{className:v,onClick:function(e){null==l||l(!o),null==s||s(e)}}))};var x=h},79370:function(e,t,n){n.d(t,{G:function(){return o}});var a=n(98924),r=function(e){if((0,a.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},c=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),a=n.style[e];return n.style[e]=t,n.style[e]!==a};function o(e,t){return Array.isArray(e)||void 0===t?r(e):c(e,t)}}}]); -//# sourceMappingURL=5827.c6e4a056d7b6d89e.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js.map b/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js.map deleted file mode 100644 index c6dca110d..000000000 --- a/static/web/_next/static/chunks/5827.c6e4a056d7b6d89e.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/5827.c6e4a056d7b6d89e.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAaS,WAAA,iBACb,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,wCCZ7CY,CAAAA,EAAA,EAAeC,EAAAP,CAAG,6PCOlBQ,EAAgCX,EAAAQ,UAAgB,UAAAV,CAAA,CAAAC,CAAA,EAGhD,IAFAa,EAEAC,EAAAf,EAAAe,SAAA,CACAC,EAAAhB,EAAAgB,WAAA,CACAC,EAAAjB,EAAAiB,SAAA,CACAC,EAAAlB,EAAAkB,KAAA,CACAC,EAAAnB,EAAAmB,QAAA,CACAC,EAAApB,EAAAoB,QAAA,CACAC,EAAArB,EAAAqB,IAAA,CAEAC,EAAwBpB,EAAAqB,QAAc,CAAAH,GAAAJ,GAC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AkY,EAAA,GAAAU,CACA,EACO,SAAAC,EAAAX,CAAA,CAAAY,CAAA,SACP,MAAA3T,OAAA,CAAA+S,IAAAY,KAAAhQ,IAAAgQ,EAGAb,EAAAC,GAFAQ,EAAAR,EAAAY,EACA,AAEA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/./node_modules/rc-util/es/Dom/styleChecker.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","import { Col } from '../grid';\nexport default Col;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import { Row } from '../grid';\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;","import canUseDom from './canUseDom';\nvar isStyleNameSupport = function isStyleNameSupport(styleName) {\n if (canUseDom() && window.document.documentElement) {\n var styleNameList = Array.isArray(styleName) ? styleName : [styleName];\n var documentElement = window.document.documentElement;\n return styleNameList.some(function (name) {\n return name in documentElement.style;\n });\n }\n return false;\n};\nvar isStyleValueSupport = function isStyleValueSupport(styleName, value) {\n if (!isStyleNameSupport(styleName)) {\n return false;\n }\n var ele = document.createElement('div');\n var origin = ele.style[styleName];\n ele.style[styleName] = value;\n return ele.style[styleName] !== origin;\n};\nexport function isStyleSupport(styleName, styleValue) {\n if (!Array.isArray(styleName) && styleValue !== undefined) {\n return isStyleValueSupport(styleName, styleValue);\n }\n return isStyleNameSupport(styleName);\n}"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","__webpack_exports__","_grid__WEBPACK_IMPORTED_MODULE_0__","PanelContent","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","rendered","setRendered","useEffect","classnames_default","concat","defineProperty","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","key","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","Object","keys","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__rest","s","t","p","prototype","hasOwnProperty","getOwnPropertySymbols","i","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","span","order","offset","pull","flex","others","sizeClassObj","size","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","screen","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","xs","sm","md","lg","xl","xxl","_React$useState4","screens","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","token","subscribe","currentGutter","current","unsubscribe","gutters","normalizedGutter","g","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","skeleton_Element","shape","sizeCls","shapeCls","sizeStyle","width","height","lineHeight","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","icons_DotChartOutlined","skeleton_Paragraph","getWidth","_props$rows","rows","rowList","_","skeleton_Title","getComponentProps","Skeleton","loading","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","cls","Button","_props$block","block","_props$size","otherProps","Avatar","_props$shape","Input","Image","viewBox","xmlns","d","Node","content","skeleton","_util_type__WEBPACK_IMPORTED_MODULE_3__","defaultIndicator","Spin","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","tip","wrapperClassName","restProps","react__WEBPACK_IMPORTED_MODULE_2__","isNaN","Number","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","cancel","_config_provider__WEBPACK_IMPORTED_MODULE_9__","C","indicator","dotClassName","spinClassName","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","containerClassName","SpinFC","spinClassProps","setDefaultIndicator","tag_rest","PresetColorRegex","colors","Y","join","PresetStatusColorRegex","E","Tag","color","onClose","closeIcon","_a$closable","closable","setVisible","isPresetColor","tagStyle","backgroundColor","presetColor","tagClassName","handleCloseClick","stopPropagation","defaultPrevented","isNeedWave","tagProps","kids","Fragment","tagNode","CloseOutlined","wave","CheckableTag","checked","tag","isStyleNameSupport","styleName","_canUseDom__WEBPACK_IMPORTED_MODULE_0__","window","document","documentElement","styleNameList","some","name","isStyleValueSupport","ele","origin","isStyleSupport","styleValue"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js b/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js deleted file mode 100644 index 85b62b350..000000000 --- a/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6069],{57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(97685),r=n(67294);function o(){var e=r.useReducer(function(e){return e+1},0);return(0,i.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var i=n(4942),r=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={};t.ZP={matchHandlers:{},dispatch:function(e){return s=e,c.forEach(function(e){return e(s)}),c.size>=1},subscribe:function(e){return c.size||this.register(),l+=1,c.set(l,e),e(s),l},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],i=e.matchHandlers[n];null==i||i.mql.removeListener(null==i?void 0:i.listener)}),c.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,i.Z)({},t,o)))},c=window.matchMedia(n);c.addListener(o),e.matchHandlers[n]={mql:c,listener:o},o(c)})}}},11382:function(e,t,n){"use strict";var i=n(87462),r=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),d=n(96159),m=n(93355),v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};(0,m.b)("small","default","large");var g=null,h=function(e){var t=e.spinPrefixCls,n=e.spinning,a=void 0===n||n,l=e.delay,m=e.className,h=e.size,b=void 0===h?"default":h,y=e.tip,w=e.wrapperClassName,x=e.style,C=e.children,N=v(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),E=f.useState(function(){return a&&(!a||!l||!!isNaN(Number(l)))}),Z=(0,o.Z)(E,2),O=Z[0],P=Z[1];return f.useEffect(function(){var e=s()(function(){P(a)},l);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[l,a]),f.createElement(p.C,null,function(n){var o,a,l,s=n.direction,p=c()(t,(l={},(0,r.Z)(l,"".concat(t,"-sm"),"small"===b),(0,r.Z)(l,"".concat(t,"-lg"),"large"===b),(0,r.Z)(l,"".concat(t,"-spinning"),O),(0,r.Z)(l,"".concat(t,"-show-text"),!!y),(0,r.Z)(l,"".concat(t,"-rtl"),"rtl"===s),l),m),v=(0,u.Z)(N,["indicator","prefixCls"]),h=f.createElement("div",(0,i.Z)({},v,{style:x,className:p,"aria-live":"polite","aria-busy":O}),(o=e.indicator,a="".concat(t,"-dot"),null===o?null:(0,d.l$)(o)?(0,d.Tm)(o,{className:c()(o.props.className,a)}):(0,d.l$)(g)?(0,d.Tm)(g,{className:c()(g.props.className,a)}):f.createElement("span",{className:c()(a,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),y?f.createElement("div",{className:"".concat(t,"-text")},y):null);if(void 0!==C){var E=c()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),O));return f.createElement("div",(0,i.Z)({},v,{className:c()("".concat(t,"-nested-loading"),w)}),O&&f.createElement("div",{key:"loading"},h),f.createElement("div",{className:E,key:"container"},C))}return h})},b=function(e){var t=e.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",t),r=(0,i.Z)((0,i.Z)({},e),{spinPrefixCls:n});return f.createElement(h,(0,i.Z)({},r))};b.setDefaultIndicator=function(e){g=e},t.Z=b},23279:function(e,t,n){var i=n(13218),r=n(7771),o=n(14841),a=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,d,m=0,v=!1,g=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=l,i=s;return l=s=void 0,m=t,f=e.apply(i,n)}function y(e){var n=e-d,i=e-m;return void 0===d||n>=t||n<0||g&&i>=u}function w(){var e,n,i,o=r();if(y(o))return x(o);p=setTimeout(w,(e=o-d,n=o-m,i=t-e,g?c(i,u-n):i))}function x(e){return(p=void 0,h&&l)?b(e):(l=s=void 0,f)}function C(){var e,n=r(),i=y(n);if(l=arguments,s=this,d=n,i){if(void 0===p)return m=e=d,p=setTimeout(w,t),v?b(e):f;if(g)return clearTimeout(p),p=setTimeout(w,t),b(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=o(t)||0,i(n)&&(v=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=d=s=p=void 0},C.flush=function(){return void 0===p?f:x(r())},C}},1469:function(e){var t=Array.isArray;e.exports=t},7771:function(e,t,n){var i=n(55639);e.exports=function(){return i.Date.now()}},60057:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(4942),r=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(53749),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},p=[0,0],d={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:p}},m=n(15105),v=n(75164),g=n(88603),h=m.Z.ESC,b=m.Z.TAB,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],w=c.forwardRef(function(e,t){var n,s,f,p,m,w,x,C,N,E,Z,O,P,k,T,A,R=e.arrow,S=void 0!==R&&R,j=e.prefixCls,V=void 0===j?"rc-dropdown":j,L=e.transitionName,M=e.animation,z=e.align,F=e.placement,W=e.placements,_=e.getPopupContainer,H=e.showAction,D=e.hideAction,I=e.overlayClassName,q=e.overlayStyle,$=e.visible,B=e.trigger,X=void 0===B?["hover"]:B,Y=e.autoFocus,G=(0,a.Z)(e,y),J=c.useState(),K=(0,o.Z)(J,2),Q=K[0],U=K[1],ee="visible"in e?$:Q,et=c.useRef(null);c.useImperativeHandle(t,function(){return et.current}),f=(s={visible:ee,setTriggerVisible:U,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,p=s.setTriggerVisible,m=s.triggerRef,w=s.onVisibleChange,x=s.autoFocus,C=c.useRef(!1),N=function(){if(f&&m.current){var e,t,n,i;null===(e=m.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(i=n.focus)||void 0===i||i.call(n),p(!1),"function"==typeof w&&w(!1)}},E=function(){var e,t,n,i,r=(0,g.tS)(null===(e=m.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(i=n.getElement)||void 0===i?void 0:i.call(n))[0];return null!=r&&!!r.focus&&(r.focus(),C.current=!0,!0)},Z=function(e){switch(e.keyCode){case h:N();break;case b:var t=!1;C.current||(t=E()),t?e.preventDefault():N()}},c.useEffect(function(){return f?(window.addEventListener("keydown",Z),x&&(0,v.Z)(E,3),function(){window.removeEventListener("keydown",Z),C.current=!1}):function(){C.current=!1}},[f]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},ei=function(){var e=en();return c.createElement(c.Fragment,null,S&&c.createElement("div",{className:"".concat(V,"-arrow")}),e)},er=D;return er||-1===X.indexOf("contextMenu")||(er=["click"]),c.createElement(l.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===W?d:W},G),{},{prefixCls:V,ref:et,popupClassName:u()(I,(0,i.Z)({},"".concat(V,"-show-arrow"),S)),popupStyle:q,action:X,showAction:H,hideAction:er||[],popupPlacement:void 0===F?"bottomLeft":F,popupAlign:z,popupTransitionName:L,popupAnimation:M,popupVisible:ee,stretch:(O=e.minOverlayWidthMatchTrigger,P=e.alignPoint,"minOverlayWidthMatchTrigger"in e?O:!P)?"minWidth":"",popup:"function"==typeof e.overlay?ei:ei(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;U(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},getPopupContainer:_}),(T=(k=e.children).props?k.props:{},A=u()(T.className,void 0!==(n=e.openClassName)?n:"".concat(V,"-open")),ee&&k?c.cloneElement(k,{className:A}):k))})}}]); -//# sourceMappingURL=6069-76bc3ed72dd580d7.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js.map b/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js.map deleted file mode 100644 index d826601c8..000000000 --- a/static/web/_next/static/chunks/6069-76bc3ed72dd580d7.js.map +++ /dev/null @@ -1 +0,0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AAAY,QAAA,EACAZ,KAAA,CAAAY,EAAAZ,KAAA,IACAuI,EAAyB0D,IAAU3D,EAAA/H,SAAA,CAVnC,KAAA2E,KAFAwC,EAAA1H,EAAA0H,aAAA,EAGAA,EAGA,GAAArF,MAAA,CAAApC,EAAA,QAFA,EASA4J,IAAAjJ,EAAoD2G,EAAA2F,YAAkB,CAAAtM,EAAA,CACtEL,UAAAgI,CACA,GAAK3H,CAAA,EA8BL","sources":["webpack://_N_E/./node_modules/antd/es/_util/hooks/useForceUpdate.js","webpack://_N_E/./node_modules/antd/es/_util/responsiveObserve.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./node_modules/lodash/debounce.js","webpack://_N_E/./node_modules/lodash/isArray.js","webpack://_N_E/./node_modules/lodash/now.js","webpack://_N_E/./node_modules/rc-dropdown/es/placements.js","webpack://_N_E/./node_modules/rc-dropdown/es/hooks/useAccessibility.js","webpack://_N_E/./node_modules/rc-dropdown/es/Dropdown.js","webpack://_N_E/./node_modules/rc-dropdown/es/index.js","webpack://_N_E/"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default function useForceUpdate() {\n var _React$useReducer = React.useReducer(function (x) {\n return x + 1;\n }, 0),\n _React$useReducer2 = _slicedToArray(_React$useReducer, 2),\n forceUpdate = _React$useReducer2[1];\n return forceUpdate;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'];\nexport var responsiveMap = {\n xs: '(max-width: 575px)',\n sm: '(min-width: 576px)',\n md: '(min-width: 768px)',\n lg: '(min-width: 992px)',\n xl: '(min-width: 1200px)',\n xxl: '(min-width: 1600px)'\n};\nvar subscribers = new Map();\nvar subUid = -1;\nvar screens = {};\nvar responsiveObserve = {\n matchHandlers: {},\n dispatch: function dispatch(pointMap) {\n screens = pointMap;\n subscribers.forEach(function (func) {\n return func(screens);\n });\n return subscribers.size >= 1;\n },\n subscribe: function subscribe(func) {\n if (!subscribers.size) this.register();\n subUid += 1;\n subscribers.set(subUid, func);\n func(screens);\n return subUid;\n },\n unsubscribe: function unsubscribe(token) {\n subscribers[\"delete\"](token);\n if (!subscribers.size) this.unregister();\n },\n unregister: function unregister() {\n var _this = this;\n Object.keys(responsiveMap).forEach(function (screen) {\n var matchMediaQuery = responsiveMap[screen];\n var handler = _this.matchHandlers[matchMediaQuery];\n handler === null || handler === void 0 ? void 0 : handler.mql.removeListener(handler === null || handler === void 0 ? void 0 : handler.listener);\n });\n subscribers.clear();\n },\n register: function register() {\n var _this2 = this;\n Object.keys(responsiveMap).forEach(function (screen) {\n var matchMediaQuery = responsiveMap[screen];\n var listener = function listener(_ref) {\n var matches = _ref.matches;\n _this2.dispatch(_extends(_extends({}, screens), _defineProperty({}, screen, matches)));\n };\n var mql = window.matchMedia(matchMediaQuery);\n mql.addListener(listener);\n _this2.matchHandlers[matchMediaQuery] = {\n mql: mql,\n listener: listener\n };\n listener(mql);\n });\n }\n};\nexport default responsiveObserve;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nvar targetOffset = [0, 0];\nvar placements = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n topCenter: {\n points: ['bc', 'tc'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n bottomCenter: {\n points: ['tc', 'bc'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n }\n};\nexport default placements;","import * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport { getFocusNodeList } from \"rc-util/es/Dom/focus\";\nvar ESC = KeyCode.ESC,\n TAB = KeyCode.TAB;\nexport default function useAccessibility(_ref) {\n var visible = _ref.visible,\n setTriggerVisible = _ref.setTriggerVisible,\n triggerRef = _ref.triggerRef,\n onVisibleChange = _ref.onVisibleChange,\n autoFocus = _ref.autoFocus;\n var focusMenuRef = React.useRef(false);\n\n var handleCloseMenuAndReturnFocus = function handleCloseMenuAndReturnFocus() {\n if (visible && triggerRef.current) {\n var _triggerRef$current, _triggerRef$current$t, _triggerRef$current$t2, _triggerRef$current$t3;\n\n (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : (_triggerRef$current$t = _triggerRef$current.triggerRef) === null || _triggerRef$current$t === void 0 ? void 0 : (_triggerRef$current$t2 = _triggerRef$current$t.current) === null || _triggerRef$current$t2 === void 0 ? void 0 : (_triggerRef$current$t3 = _triggerRef$current$t2.focus) === null || _triggerRef$current$t3 === void 0 ? void 0 : _triggerRef$current$t3.call(_triggerRef$current$t2);\n setTriggerVisible(false);\n\n if (typeof onVisibleChange === 'function') {\n onVisibleChange(false);\n }\n }\n };\n\n var focusMenu = function focusMenu() {\n var _triggerRef$current2, _triggerRef$current2$, _triggerRef$current2$2, _triggerRef$current2$3;\n\n var elements = getFocusNodeList((_triggerRef$current2 = triggerRef.current) === null || _triggerRef$current2 === void 0 ? void 0 : (_triggerRef$current2$ = _triggerRef$current2.popupRef) === null || _triggerRef$current2$ === void 0 ? void 0 : (_triggerRef$current2$2 = _triggerRef$current2$.current) === null || _triggerRef$current2$2 === void 0 ? void 0 : (_triggerRef$current2$3 = _triggerRef$current2$2.getElement) === null || _triggerRef$current2$3 === void 0 ? void 0 : _triggerRef$current2$3.call(_triggerRef$current2$2));\n var firstElement = elements[0];\n\n if (firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus) {\n firstElement.focus();\n focusMenuRef.current = true;\n return true;\n }\n\n return false;\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n switch (event.keyCode) {\n case ESC:\n handleCloseMenuAndReturnFocus();\n break;\n\n case TAB:\n {\n var focusResult = false;\n\n if (!focusMenuRef.current) {\n focusResult = focusMenu();\n }\n\n if (focusResult) {\n event.preventDefault();\n } else {\n handleCloseMenuAndReturnFocus();\n }\n\n break;\n }\n }\n };\n\n React.useEffect(function () {\n if (visible) {\n window.addEventListener('keydown', handleKeyDown);\n\n if (autoFocus) {\n // FIXME: hack with raf\n raf(focusMenu, 3);\n }\n\n return function () {\n window.removeEventListener('keydown', handleKeyDown);\n focusMenuRef.current = false;\n };\n }\n\n return function () {\n focusMenuRef.current = false;\n };\n }, [visible]); // eslint-disable-line react-hooks/exhaustive-deps\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"arrow\", \"prefixCls\", \"transitionName\", \"animation\", \"align\", \"placement\", \"placements\", \"getPopupContainer\", \"showAction\", \"hideAction\", \"overlayClassName\", \"overlayStyle\", \"visible\", \"trigger\", \"autoFocus\"];\nimport * as React from 'react';\nimport Trigger from 'rc-trigger';\nimport classNames from 'classnames';\nimport Placements from './placements';\nimport useAccessibility from './hooks/useAccessibility';\n\nfunction Dropdown(props, ref) {\n var _props$arrow = props.arrow,\n arrow = _props$arrow === void 0 ? false : _props$arrow,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-dropdown' : _props$prefixCls,\n transitionName = props.transitionName,\n animation = props.animation,\n align = props.align,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'bottomLeft' : _props$placement,\n _props$placements = props.placements,\n placements = _props$placements === void 0 ? Placements : _props$placements,\n getPopupContainer = props.getPopupContainer,\n showAction = props.showAction,\n hideAction = props.hideAction,\n overlayClassName = props.overlayClassName,\n overlayStyle = props.overlayStyle,\n visible = props.visible,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n autoFocus = props.autoFocus,\n otherProps = _objectWithoutProperties(props, _excluded);\n\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n triggerVisible = _React$useState2[0],\n setTriggerVisible = _React$useState2[1];\n\n var mergedVisible = 'visible' in props ? visible : triggerVisible;\n var triggerRef = React.useRef(null);\n React.useImperativeHandle(ref, function () {\n return triggerRef.current;\n });\n useAccessibility({\n visible: mergedVisible,\n setTriggerVisible: setTriggerVisible,\n triggerRef: triggerRef,\n onVisibleChange: props.onVisibleChange,\n autoFocus: autoFocus\n });\n\n var getOverlayElement = function getOverlayElement() {\n var overlay = props.overlay;\n var overlayElement;\n\n if (typeof overlay === 'function') {\n overlayElement = overlay();\n } else {\n overlayElement = overlay;\n }\n\n return overlayElement;\n };\n\n var onClick = function onClick(e) {\n var onOverlayClick = props.onOverlayClick;\n setTriggerVisible(false);\n\n if (onOverlayClick) {\n onOverlayClick(e);\n }\n };\n\n var onVisibleChange = function onVisibleChange(newVisible) {\n var onVisibleChangeProp = props.onVisibleChange;\n setTriggerVisible(newVisible);\n\n if (typeof onVisibleChangeProp === 'function') {\n onVisibleChangeProp(newVisible);\n }\n };\n\n var getMenuElement = function getMenuElement() {\n var overlayElement = getOverlayElement();\n return /*#__PURE__*/React.createElement(React.Fragment, null, arrow && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-arrow\")\n }), overlayElement);\n };\n\n var getMenuElementOrLambda = function getMenuElementOrLambda() {\n var overlay = props.overlay;\n\n if (typeof overlay === 'function') {\n return getMenuElement;\n }\n\n return getMenuElement();\n };\n\n var getMinOverlayWidthMatchTrigger = function getMinOverlayWidthMatchTrigger() {\n var minOverlayWidthMatchTrigger = props.minOverlayWidthMatchTrigger,\n alignPoint = props.alignPoint;\n\n if ('minOverlayWidthMatchTrigger' in props) {\n return minOverlayWidthMatchTrigger;\n }\n\n return !alignPoint;\n };\n\n var getOpenClassName = function getOpenClassName() {\n var openClassName = props.openClassName;\n\n if (openClassName !== undefined) {\n return openClassName;\n }\n\n return \"\".concat(prefixCls, \"-open\");\n };\n\n var renderChildren = function renderChildren() {\n var children = props.children;\n var childrenProps = children.props ? children.props : {};\n var childClassName = classNames(childrenProps.className, getOpenClassName());\n return mergedVisible && children ? /*#__PURE__*/React.cloneElement(children, {\n className: childClassName\n }) : children;\n };\n\n var triggerHideAction = hideAction;\n\n if (!triggerHideAction && trigger.indexOf('contextMenu') !== -1) {\n triggerHideAction = ['click'];\n }\n\n return /*#__PURE__*/React.createElement(Trigger, _objectSpread(_objectSpread({\n builtinPlacements: placements\n }, otherProps), {}, {\n prefixCls: prefixCls,\n ref: triggerRef,\n popupClassName: classNames(overlayClassName, _defineProperty({}, \"\".concat(prefixCls, \"-show-arrow\"), arrow)),\n popupStyle: overlayStyle,\n action: trigger,\n showAction: showAction,\n hideAction: triggerHideAction || [],\n popupPlacement: placement,\n popupAlign: align,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupVisible: mergedVisible,\n stretch: getMinOverlayWidthMatchTrigger() ? 'minWidth' : '',\n popup: getMenuElementOrLambda(),\n onPopupVisibleChange: onVisibleChange,\n onPopupClick: onClick,\n getPopupContainer: getPopupContainer\n }), renderChildren());\n}\n\nexport default /*#__PURE__*/React.forwardRef(Dropdown);","import Dropdown from './Dropdown';\nexport default Dropdown;"],"names":["useForceUpdate","_React$useReducer","react__WEBPACK_IMPORTED_MODULE_0__","useReducer","x","_React$useReducer2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__","Z","responsiveArray","responsiveMap","xs","sm","md","lg","xl","xxl","subscribers","Map","subUid","screens","__webpack_exports__","matchHandlers","dispatch","pointMap","forEach","func","size","subscribe","register","set","unsubscribe","token","unregister","_this","Object","keys","screen","matchMediaQuery","handler","mql","removeListener","listener","clear","_this2","_ref","matches","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","window","matchMedia","addListener","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","_util_type__WEBPACK_IMPORTED_MODULE_3__","b","defaultIndicator","Spin","props","prefixCls","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","className","_props$size","tip","wrapperClassName","style","children","restProps","_React$useState","react__WEBPACK_IMPORTED_MODULE_2__","useState","isNaN","Number","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","useEffect","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","_a","cancel","createElement","_config_provider__WEBPACK_IMPORTED_MODULE_9__","C","indicator","dotClassName","_classNames","direction","spinClassName","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","concat","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","Tm","containerClassName","key","SpinFC","customizePrefixCls","getPrefixCls","_React$useContext","useContext","E_","spinClassProps","setDefaultIndicator","isObject","__webpack_require__","now","toNumber","nativeMax","Math","max","nativeMin","min","module","exports","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","timeWaiting","trailingEdge","setTimeout","debounced","isInvoking","arguments","clearTimeout","flush","isArray","Array","root","Date","autoAdjustOverflow","adjustX","adjustY","targetOffset","es_placements","topLeft","points","overflow","offset","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","ESC","KeyCode","TAB","_excluded","rc_dropdown_es","react","forwardRef","ref","openClassName","visible","setTriggerVisible","triggerRef","onVisibleChange","autoFocus","focusMenuRef","handleCloseMenuAndReturnFocus","focusMenu","handleKeyDown","minOverlayWidthMatchTrigger","alignPoint","childrenProps","childClassName","_props$arrow","arrow","_props$prefixCls","transitionName","animation","align","_props$placement","placement","_props$placements","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","_props$trigger","trigger","otherProps","objectWithoutProperties","slicedToArray","triggerVisible","mergedVisible","useRef","useImperativeHandle","current","_triggerRef$current","_triggerRef$current$t","_triggerRef$current$t2","_triggerRef$current$t3","focus","_triggerRef$current2","_triggerRef$current2$","_triggerRef$current2$2","_triggerRef$current2$3","firstElement","elements","Dom_focus","tS","popupRef","getElement","event","keyCode","focusResult","preventDefault","addEventListener","raf","removeEventListener","getOverlayElement","overlay","getMenuElement","overlayElement","Fragment","triggerHideAction","es","objectSpread2","builtinPlacements","popupClassName","classnames_default","defineProperty","popupStyle","action","popupPlacement","popupAlign","popupTransitionName","popupAnimation","popupVisible","stretch","getMinOverlayWidthMatchTrigger","popup","onPopupVisibleChange","newVisible","onVisibleChangeProp","onPopupClick","onOverlayClick","cloneElement"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js b/static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js similarity index 94% rename from static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js rename to static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js index 67e813c28..c826c25be 100644 --- a/static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js +++ b/static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js @@ -1,2 +1,2 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7118],{74876:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"}},87118:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(59840))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},59840:function(e,t,a){var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(a(42122)),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var o=u?Object.getOwnPropertyDescriptor(e,f):null;o&&(o.get||o.set)?Object.defineProperty(r,f,o):r[f]=e[f]}return r.default=e,a&&a.set(e,r),r}(a(67294)),o=r(a(74876)),l=r(a(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}var i=function(e,t){return f.createElement(l.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:o.default}))};i.displayName="DatabaseTwoTone";var d=f.forwardRef(i);t.default=d}}]); -//# sourceMappingURL=7118.e48c0b11f0ce0368.js.map \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6248],{74876:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"}},87118:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(59840))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},59840:function(e,t,a){var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(a(42122)),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var o=u?Object.getOwnPropertyDescriptor(e,f):null;o&&(o.get||o.set)?Object.defineProperty(r,f,o):r[f]=e[f]}return r.default=e,a&&a.set(e,r),r}(a(67294)),o=r(a(74876)),l=r(a(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}var i=function(e,t){return f.createElement(l.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:o.default}))};i.displayName="DatabaseTwoTone";var d=f.forwardRef(i);t.default=d}}]); +//# sourceMappingURL=6248.ccbf7ae2bf9c7a90.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js.map b/static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js.map similarity index 99% rename from static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js.map rename to static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js.map index 74094f5c3..fb11f60b0 100644 --- a/static/web/_next/static/chunks/7118.e48c0b11f0ce0368.js.map +++ b/static/web/_next/static/chunks/6248.ccbf7ae2bf9c7a90.js.map @@ -1 +1 @@ -{"version":3,"file":"static/chunks/7118.e48c0b11f0ce0368.js","mappings":"iGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAAwB,cAAAE,CAAA,CAAAC,CAAA,EAAwD,OAAS,iBAAyB,2CAAkD,WAAiB,kBAA0B,gTAAAA,CAAA,GAAyU,CAAI,kBAA0B,8HAAAD,CAAA,GAAqJ,CAAI,kBAA0B,6LAAAA,CAAA,GAAoN,GAAM,wDCFj8BJ,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC/CC,MAAA,EACA,GACED,EAAA,OAAe,QAEjB,IAEAI,EAFAC,EAEyCD,CAAzCA,EAFgDE,EAAQ,SAEfF,EAAAG,UAAA,CAAAH,EAAA,CAAuC,QAAAA,CAAA,EAG9EJ,EAAA,OAAe,CADjBK,EAEAG,EAAAR,OAAA,CAFAK,yBCRA,IAAAI,EAA6BH,EAAQ,OACrCI,EAAcJ,EAAQ,OACtBR,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC7CC,MAAA,EACA,GACAD,EAAA,OAAe,QACf,IAAAW,EAAAF,EAA4CH,EAAQ,QACpDM,EAAAC,SAIAT,CAAA,CAAAU,CAAA,EAAqD,IAAAA,GAAAV,GAAAA,EAAAG,UAAA,CAA6C,OAAAH,CAAA,CAAc,GAAAA,IAAA,GAAAA,GAAAM,WAAAA,EAAAN,IAAA,mBAAAA,EAA8E,OAASW,QAAAX,CAAA,EAAkB,IAAAY,EAAAC,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woTone.js","webpack://_N_E/./node_modules/@ant-design/icons/DatabaseTwoTone.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/DatabaseTwoTone.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DatabaseTwoTone = { \"icon\": function render(primaryColor, secondaryColor) { return { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z\", \"fill\": secondaryColor } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z\", \"fill\": primaryColor } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z\", \"fill\": primaryColor } }] }; }, \"name\": \"database\", \"theme\": \"twotone\" };\nexports.default = DatabaseTwoTone;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _DatabaseTwoTone = _interopRequireDefault(require('./lib/icons/DatabaseTwoTone'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _DatabaseTwoTone;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _DatabaseTwoTone = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/DatabaseTwoTone\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar DatabaseTwoTone = function DatabaseTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _DatabaseTwoTone.default\n }));\n};\nDatabaseTwoTone.displayName = 'DatabaseTwoTone';\nvar _default = /*#__PURE__*/React.forwardRef(DatabaseTwoTone);\nexports.default = _default;"],"names":["Object","defineProperty","exports","value","primaryColor","secondaryColor","obj","_DatabaseTwoTone","__webpack_require__","__esModule","module","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","DatabaseTwoTone","props","ref","createElement","icon","displayName","_default","forwardRef"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/chunks/6248.ccbf7ae2bf9c7a90.js","mappings":"iGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAAwB,cAAAE,CAAA,CAAAC,CAAA,EAAwD,OAAS,iBAAyB,2CAAkD,WAAiB,kBAA0B,gTAAAA,CAAA,GAAyU,CAAI,kBAA0B,8HAAAD,CAAA,GAAqJ,CAAI,kBAA0B,6LAAAA,CAAA,GAAoN,GAAM,wDCFj8BJ,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC/CC,MAAA,EACA,GACED,EAAA,OAAe,QAEjB,IAEAI,EAFAC,EAEyCD,CAAzCA,EAFgDE,EAAQ,SAEfF,EAAAG,UAAA,CAAAH,EAAA,CAAuC,QAAAA,CAAA,EAG9EJ,EAAA,OAAe,CADjBK,EAEAG,EAAAR,OAAA,CAFAK,yBCRA,IAAAI,EAA6BH,EAAQ,OACrCI,EAAcJ,EAAQ,OACtBR,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC7CC,MAAA,EACA,GACAD,EAAA,OAAe,QACf,IAAAW,EAAAF,EAA4CH,EAAQ,QACpDM,EAAAC,SAIAT,CAAA,CAAAU,CAAA,EAAqD,IAAAA,GAAAV,GAAAA,EAAAG,UAAA,CAA6C,OAAAH,CAAA,CAAc,GAAAA,IAAA,GAAAA,GAAAM,WAAA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EAAA,OAAe,CAAAuC","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/DatabaseTwoTone.js","webpack://_N_E/./node_modules/@ant-design/icons/DatabaseTwoTone.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/DatabaseTwoTone.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DatabaseTwoTone = { \"icon\": function render(primaryColor, secondaryColor) { return { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z\", \"fill\": secondaryColor } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z\", \"fill\": primaryColor } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z\", \"fill\": primaryColor } }] }; }, \"name\": \"database\", \"theme\": \"twotone\" };\nexports.default = DatabaseTwoTone;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _DatabaseTwoTone = _interopRequireDefault(require('./lib/icons/DatabaseTwoTone'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _DatabaseTwoTone;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _DatabaseTwoTone = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/DatabaseTwoTone\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar DatabaseTwoTone = function DatabaseTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _DatabaseTwoTone.default\n }));\n};\nDatabaseTwoTone.displayName = 'DatabaseTwoTone';\nvar _default = /*#__PURE__*/React.forwardRef(DatabaseTwoTone);\nexports.default = _default;"],"names":["Object","defineProperty","exports","value","primaryColor","secondaryColor","obj","_DatabaseTwoTone","__webpack_require__","__esModule","module","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","DatabaseTwoTone","props","ref","createElement","icon","displayName","_default","forwardRef"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js b/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js new file mode 100644 index 000000000..29c605cec --- /dev/null +++ b/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6331],{63606:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),a=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},c=t(42135),i=function(e,n){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:r}))};i.displayName="CheckOutlined";var l=a.forwardRef(i)},80882:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),a=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},c=t(42135),i=function(e,n){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:r}))};i.displayName="DownOutlined";var l=a.forwardRef(i)},99611:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),a=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},c=t(42135),i=function(e,n){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:r}))};i.displayName="EyeOutlined";var l=a.forwardRef(i)},68795:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(1413),a=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},c=t(42135),i=function(e,n){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:n,icon:r}))};i.displayName="SearchOutlined";var l=a.forwardRef(i)},99134:function(e,n,t){var o=(0,t(67294).createContext)({});n.Z=o},21584:function(e,n,t){var o=t(4942),a=t(87462),r=t(71002),c=t(94184),i=t.n(c),l=t(67294),s=t(53124),u=t(99134),d=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);an.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t},f=["xs","sm","md","lg","xl","xxl"],p=l.forwardRef(function(e,n){var t,c=l.useContext(s.E_),p=c.getPrefixCls,m=c.direction,v=l.useContext(u.Z),h=v.gutter,g=v.wrap,y=v.supportFlexGap,Z=e.prefixCls,C=e.span,b=e.order,x=e.offset,w=e.push,E=e.pull,O=e.className,S=e.children,P=e.flex,M=e.style,j=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),N=p("col",Z),k={};f.forEach(function(n){var t,c={},i=e[n];"number"==typeof i?c.span=i:"object"===(0,r.Z)(i)&&(c=i||{}),delete j[n],k=(0,a.Z)((0,a.Z)({},k),(t={},(0,o.Z)(t,"".concat(N,"-").concat(n,"-").concat(c.span),void 0!==c.span),(0,o.Z)(t,"".concat(N,"-").concat(n,"-order-").concat(c.order),c.order||0===c.order),(0,o.Z)(t,"".concat(N,"-").concat(n,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,o.Z)(t,"".concat(N,"-").concat(n,"-push-").concat(c.push),c.push||0===c.push),(0,o.Z)(t,"".concat(N,"-").concat(n,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,o.Z)(t,"".concat(N,"-rtl"),"rtl"===m),t))});var z=i()(N,(t={},(0,o.Z)(t,"".concat(N,"-").concat(C),void 0!==C),(0,o.Z)(t,"".concat(N,"-order-").concat(b),b),(0,o.Z)(t,"".concat(N,"-offset-").concat(x),x),(0,o.Z)(t,"".concat(N,"-push-").concat(w),w),(0,o.Z)(t,"".concat(N,"-pull-").concat(E),E),t),O,k),L={};if(h&&h[0]>0){var T=h[0]/2;L.paddingLeft=T,L.paddingRight=T}if(h&&h[1]>0&&!y){var A=h[1]/2;L.paddingTop=A,L.paddingBottom=A}return P&&(L.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==g||L.minWidth||(L.minWidth=0)),l.createElement("div",(0,a.Z)({},j,{style:(0,a.Z)((0,a.Z)({},L),M),className:z,ref:n}),S)});n.Z=p},92820:function(e,n,t){var o=t(87462),a=t(4942),r=t(71002),c=t(97685),i=t(94184),l=t.n(i),s=t(67294),u=t(53124),d=t(98082),f=t(24308),p=t(93355),m=t(99134),v=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);an.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t};function h(e,n){var t=s.useState("string"==typeof e?e:""),o=(0,c.Z)(t,2),a=o[0],i=o[1],l=function(){if("object"===(0,r.Z)(e))for(var t=0;t0?-(G[0]/2):void 0,Q=null!=G[1]&&G[1]>0?-(G[1]/2):void 0;if(U&&(q.marginLeft=U,q.marginRight=U),I){var W=(0,c.Z)(G,2);q.rowGap=W[1]}else Q&&(q.marginTop=Q,q.marginBottom=Q);var H=(0,c.Z)(G,2),K=H[0],Y=H[1],J=s.useMemo(function(){return{gutter:[K,Y],wrap:E,supportFlexGap:I}},[K,Y,E,I]);return s.createElement(m.Z.Provider,{value:J},s.createElement("div",(0,o.Z)({},O,{className:V,style:(0,o.Z)((0,o.Z)({},q),C),ref:n}),b))});n.Z=g},79531:function(e,n,t){t.d(n,{Z:function(){return A}});var o=t(87462),a=t(4942),r=t(94184),c=t.n(r),i=t(67294),l=t(53124),s=t(65223),u=t(82586),d=t(97685),f=t(71002),p=t(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},v=t(42135),h=function(e,n){return i.createElement(v.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:m}))};h.displayName="EyeInvisibleOutlined";var g=i.forwardRef(h),y=t(99611),Z=t(98423),C=t(42550),b=t(72922),x=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);an.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t},w=function(e){return e?i.createElement(y.Z,null):i.createElement(g,null)},E={click:"onClick",hover:"onMouseOver"},O=i.forwardRef(function(e,n){var t=e.visibilityToggle,r=void 0===t||t,s="object"===(0,f.Z)(r)&&void 0!==r.visible,p=(0,i.useState)(function(){return!!s&&r.visible}),m=(0,d.Z)(p,2),v=m[0],h=m[1],g=(0,i.useRef)(null);i.useEffect(function(){s&&h(r.visible)},[s,r]);var y=(0,b.Z)(g),O=function(){e.disabled||(v&&y(),h(function(e){var n,t=!e;return"object"===(0,f.Z)(r)&&(null===(n=r.onVisibleChange)||void 0===n||n.call(r,t)),t}))},S=function(n){var t,o=e.action,r=e.iconRender,c=E[void 0===o?"click":o]||"",l=(void 0===r?w:r)(v),s=(t={},(0,a.Z)(t,c,O),(0,a.Z)(t,"className","".concat(n,"-icon")),(0,a.Z)(t,"key","passwordIcon"),(0,a.Z)(t,"onMouseDown",function(e){e.preventDefault()}),(0,a.Z)(t,"onMouseUp",function(e){e.preventDefault()}),t);return i.cloneElement(i.isValidElement(l)?l:i.createElement("span",null,l),s)};return i.createElement(l.C,null,function(t){var l=t.getPrefixCls,s=e.className,d=e.prefixCls,f=e.inputPrefixCls,p=e.size,m=x(e,["className","prefixCls","inputPrefixCls","size"]),h=l("input",f),y=l("input-password",d),b=r&&S(y),w=c()(y,s,(0,a.Z)({},"".concat(y,"-").concat(p),!!p)),E=(0,o.Z)((0,o.Z)({},(0,Z.Z)(m,["suffix","iconRender","visibilityToggle"])),{type:v?"text":"password",className:w,prefixCls:h,suffix:b});return p&&(E.size=p),i.createElement(u.ZP,(0,o.Z)({ref:(0,C.sQ)(n,g)},E))})}),S=t(68795),P=t(71577),M=t(97647),j=t(4173),N=t(96159),k=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);an.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t},z=i.forwardRef(function(e,n){var t,r,s=e.prefixCls,d=e.inputPrefixCls,f=e.className,p=e.size,m=e.suffix,v=e.enterButton,h=void 0!==v&&v,g=e.addonAfter,y=e.loading,Z=e.disabled,b=e.onSearch,x=e.onChange,w=e.onCompositionStart,E=e.onCompositionEnd,O=k(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),z=i.useContext(l.E_),L=z.getPrefixCls,T=z.direction,A=i.useContext(M.Z),D=i.useRef(!1),R=L("input-search",s),B=L("input",d),I=(0,j.ri)(R,T).compactSize||p||A,_=i.useRef(null),F=function(e){var n;document.activeElement===(null===(n=_.current)||void 0===n?void 0:n.input)&&e.preventDefault()},G=function(e){var n,t;b&&b(null===(t=null===(n=_.current)||void 0===n?void 0:n.input)||void 0===t?void 0:t.value,e)},V="boolean"==typeof h?i.createElement(S.Z,null):null,q="".concat(R,"-button"),U=h||{},Q=U.type&&!0===U.type.__ANT_BUTTON;r=Q||"button"===U.type?(0,N.Tm)(U,(0,o.Z)({onMouseDown:F,onClick:function(e){var n,t;null===(t=null===(n=null==U?void 0:U.props)||void 0===n?void 0:n.onClick)||void 0===t||t.call(n,e),G(e)},key:"enterButton"},Q?{className:q,size:I}:{})):i.createElement(P.Z,{className:q,type:h?"primary":void 0,size:I,disabled:Z,key:"enterButton",onMouseDown:F,onClick:G,loading:y,icon:V},h),g&&(r=[r,(0,N.Tm)(g,{key:"addonAfter"})]);var W=c()(R,(t={},(0,a.Z)(t,"".concat(R,"-rtl"),"rtl"===T),(0,a.Z)(t,"".concat(R,"-").concat(I),!!I),(0,a.Z)(t,"".concat(R,"-with-button"),!!h),t),f);return i.createElement(u.ZP,(0,o.Z)({ref:(0,C.sQ)(_,n),onPressEnter:function(e){D.current||y||G(e)}},O,{size:I,onCompositionStart:function(e){D.current=!0,null==w||w(e)},onCompositionEnd:function(e){D.current=!1,null==E||E(e)},prefixCls:B,addonAfter:r,suffix:m,onChange:function(e){e&&e.target&&"click"===e.type&&b&&b(e.target.value,e),x&&x(e)},className:W,disabled:Z}))}),L=t(80173),T=u.ZP;T.Group=function(e){var n,t=(0,i.useContext)(l.E_),r=t.getPrefixCls,u=t.direction,d=e.prefixCls,f=e.className,p=r("input-group",d),m=c()(p,(n={},(0,a.Z)(n,"".concat(p,"-lg"),"large"===e.size),(0,a.Z)(n,"".concat(p,"-sm"),"small"===e.size),(0,a.Z)(n,"".concat(p,"-compact"),e.compact),(0,a.Z)(n,"".concat(p,"-rtl"),"rtl"===u),n),void 0===f?"":f),v=(0,i.useContext)(s.aM),h=(0,i.useMemo)(function(){return(0,o.Z)((0,o.Z)({},v),{isFormItemInput:!1})},[v]);return i.createElement("span",{className:m,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},i.createElement(s.aM.Provider,{value:h},e.children))},T.Search=z,T.TextArea=L.Z,T.Password=O;var A=T},59096:function(e,n,t){t.r(n),t.d(n,{NameChangeModal:function(){return m}});var o=t(85893),a=t(67294),r=t(4480),c=t(34041),i=t(71577),l=t(79292),s=t(79531),u=t(91951),d=t(77466);let{Option:f}=c.Z,p=e=>{let{color:n}=e;return(0,o.jsx)("div",{style:{textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(n,")"),width:"100%",height:"100%"}})},m=()=>{let e=(0,r.sJ)(d.db),n=(0,r.sJ)(d.Gt),[t,m]=(0,a.useState)(null==e?void 0:e.displayName);if(!e)return null;let{displayName:v,displayColor:h}=e,g=()=>t!==v&&""!==t&&(null==n?void 0:n.isConnected()),y=()=>{if(!g())return;let e={type:u.C.NAME_CHANGE,newName:t};n.send(e)},Z=e=>{let t={type:u.C.COLOR_CHANGE,newColor:Number(e)};n.send(t)},C=[...Array(8)].map((e,n)=>n),b=(0,o.jsx)(i.Z,{type:"primary",id:"name-change-submit",onClick:y,disabled:!g(),children:"Change name"});return(0,o.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages.",(0,o.jsx)(l.Z,{onSubmitCapture:y,style:{paddingTop:"8px"},children:(0,o.jsx)(s.Z.Search,{enterButton:b,id:"name-change-field",value:t,onChange:e=>m(e.target.value),placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:v})}),(0,o.jsx)(l.Z.Item,{label:"Your Color",style:{paddingTop:"8px",zIndex:1e3,marginBottom:0},children:(0,o.jsx)(c.Z,{style:{width:120},onChange:Z,defaultValue:h.toString(),children:C.map(e=>(0,o.jsx)(f,{title:e,children:(0,o.jsx)(p,{color:e})},e.toString()))})}),'You can also authenticate an IndieAuth or Fediverse account via the "Authenticate" menu.']})}},64217:function(e,n,t){t.d(n,{Z:function(){return c}});var o=t(1413),a="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function r(e,n){return 0===e.indexOf(n)}function c(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n=!1===t?{aria:!0,data:!0,attr:!0}:!0===t?{aria:!0}:(0,o.Z)({},t);var c={};return Object.keys(e).forEach(function(t){(n.aria&&("role"===t||r(t,"aria-"))||n.data&&r(t,"data-")||n.attr&&a.includes(t))&&(c[t]=e[t])}),c}}}]); +//# sourceMappingURL=6331.c74998a7ae8bdc41.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js.map b/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js.map new file mode 100644 index 000000000..dee9533ce --- /dev/null +++ b/static/web/_next/static/chunks/6331.c74998a7ae8bdc41.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/6331.c74998a7ae8bdc41.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAA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P,EAAA,CAEA,GACA+E,CACA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DownOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/SearchOutlined.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/input/Group.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/antd/es/input/Password.js","webpack://_N_E/./node_modules/antd/es/input/Search.js","webpack://_N_E/./node_modules/antd/es/input/index.js","webpack://_N_E/./components/modals/NameChangeModal/NameChangeModal.tsx","webpack://_N_E/./node_modules/rc-util/es/pickAttrs.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","// This icon file is generated automatically.\nvar DownOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z\" } }] }, \"name\": \"down\", \"theme\": \"outlined\" };\nexport default DownOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DownOutlinedSvg from \"@ant-design/icons-svg/es/asn/DownOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DownOutlined = function DownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DownOutlinedSvg\n }));\n};\nDownOutlined.displayName = 'DownOutlined';\nexport default /*#__PURE__*/React.forwardRef(DownOutlined);","// This icon file is generated automatically.\nvar EyeOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z\" } }] }, \"name\": \"eye\", \"theme\": \"outlined\" };\nexport default EyeOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeOutlined = function EyeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeOutlinedSvg\n }));\n};\nEyeOutlined.displayName = 'EyeOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeOutlined);","// This icon file is generated automatically.\nvar SearchOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z\" } }] }, \"name\": \"search\", \"theme\": \"outlined\" };\nexport default SearchOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SearchOutlinedSvg from \"@ant-design/icons-svg/es/asn/SearchOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SearchOutlined = function SearchOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SearchOutlinedSvg\n }));\n};\nSearchOutlined.displayName = 'SearchOutlined';\nexport default /*#__PURE__*/React.forwardRef(SearchOutlined);","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { FormItemInputContext } from '../form/context';\nvar Group = function Group(props) {\n var _classNames;\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className;\n var prefixCls = getPrefixCls('input-group', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), props.size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), props.size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\"), props.compact), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var formItemContext = useContext(FormItemInputContext);\n var groupFormItemContext = useMemo(function () {\n return _extends(_extends({}, formItemContext), {\n isFormItemInput: false\n });\n }, [formItemContext]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: cls,\n style: props.style,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n onFocus: props.onFocus,\n onBlur: props.onBlur\n }, /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: groupFormItemContext\n }, props.children));\n};\nexport default Group;","// This icon file is generated automatically.\nvar EyeInvisibleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z\" } }] }, \"name\": \"eye-invisible\", \"theme\": \"outlined\" };\nexport default EyeInvisibleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeInvisibleOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeInvisibleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeInvisibleOutlinedSvg\n }));\n};\nEyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeInvisibleOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EyeInvisibleOutlined from \"@ant-design/icons/es/icons/EyeInvisibleOutlined\";\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { useRef, useState } from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport useRemovePasswordTimeout from './hooks/useRemovePasswordTimeout';\nimport Input from './Input';\nvar defaultIconRender = function defaultIconRender(visible) {\n return visible ? /*#__PURE__*/React.createElement(EyeOutlined, null) : /*#__PURE__*/React.createElement(EyeInvisibleOutlined, null);\n};\nvar ActionMap = {\n click: 'onClick',\n hover: 'onMouseOver'\n};\nvar Password = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$visibilityTogg = props.visibilityToggle,\n visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;\n var visibilityControlled = _typeof(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;\n var _useState = useState(function () {\n return visibilityControlled ? visibilityToggle.visible : false;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n visible = _useState2[0],\n setVisible = _useState2[1];\n var inputRef = useRef(null);\n React.useEffect(function () {\n if (visibilityControlled) {\n setVisible(visibilityToggle.visible);\n }\n }, [visibilityControlled, visibilityToggle]);\n // Remove Password value\n var removePasswordTimeout = useRemovePasswordTimeout(inputRef);\n var onVisibleChange = function onVisibleChange() {\n var disabled = props.disabled;\n if (disabled) {\n return;\n }\n if (visible) {\n removePasswordTimeout();\n }\n setVisible(function (prevState) {\n var _a;\n var newState = !prevState;\n if (_typeof(visibilityToggle) === 'object') {\n (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);\n }\n return newState;\n });\n };\n var getIcon = function getIcon(prefixCls) {\n var _iconProps;\n var _props$action = props.action,\n action = _props$action === void 0 ? 'click' : _props$action,\n _props$iconRender = props.iconRender,\n iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;\n var iconTrigger = ActionMap[action] || '';\n var icon = iconRender(visible);\n var iconProps = (_iconProps = {}, _defineProperty(_iconProps, iconTrigger, onVisibleChange), _defineProperty(_iconProps, \"className\", \"\".concat(prefixCls, \"-icon\")), _defineProperty(_iconProps, \"key\", 'passwordIcon'), _defineProperty(_iconProps, \"onMouseDown\", function onMouseDown(e) {\n // Prevent focused state lost\n // https://github.com/ant-design/ant-design/issues/15173\n e.preventDefault();\n }), _defineProperty(_iconProps, \"onMouseUp\", function onMouseUp(e) {\n // Prevent caret position change\n // https://github.com/ant-design/ant-design/issues/23524\n e.preventDefault();\n }), _iconProps);\n return /*#__PURE__*/React.cloneElement( /*#__PURE__*/React.isValidElement(icon) ? icon : /*#__PURE__*/React.createElement(\"span\", null, icon), iconProps);\n };\n var renderPassword = function renderPassword(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var className = props.className,\n customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n size = props.size,\n restProps = __rest(props, [\"className\", \"prefixCls\", \"inputPrefixCls\", \"size\"]);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var prefixCls = getPrefixCls('input-password', customizePrefixCls);\n var suffixIcon = visibilityToggle && getIcon(prefixCls);\n var inputClassName = classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-\").concat(size), !!size));\n var omittedProps = _extends(_extends({}, omit(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {\n type: visible ? 'text' : 'password',\n className: inputClassName,\n prefixCls: inputPrefixCls,\n suffix: suffixIcon\n });\n if (size) {\n omittedProps.size = size;\n }\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(ref, inputRef)\n }, omittedProps));\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderPassword);\n});\nif (process.env.NODE_ENV !== 'production') {\n Password.displayName = 'Password';\n}\nexport default Password;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport SearchOutlined from \"@ant-design/icons/es/icons/SearchOutlined\";\nimport classNames from 'classnames';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { cloneElement } from '../_util/reactNode';\nimport Input from './Input';\nvar Search = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n className = props.className,\n customizeSize = props.size,\n suffix = props.suffix,\n _props$enterButton = props.enterButton,\n enterButton = _props$enterButton === void 0 ? false : _props$enterButton,\n addonAfter = props.addonAfter,\n loading = props.loading,\n disabled = props.disabled,\n customOnSearch = props.onSearch,\n customOnChange = props.onChange,\n onCompositionStart = props.onCompositionStart,\n onCompositionEnd = props.onCompositionEnd,\n restProps = __rest(props, [\"prefixCls\", \"inputPrefixCls\", \"className\", \"size\", \"suffix\", \"enterButton\", \"addonAfter\", \"loading\", \"disabled\", \"onSearch\", \"onChange\", \"onCompositionStart\", \"onCompositionEnd\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var contextSize = React.useContext(SizeContext);\n var composedRef = React.useRef(false);\n var prefixCls = getPrefixCls('input-search', customizePrefixCls);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize;\n var size = compactSize || customizeSize || contextSize;\n var inputRef = React.useRef(null);\n var onChange = function onChange(e) {\n if (e && e.target && e.type === 'click' && customOnSearch) {\n customOnSearch(e.target.value, e);\n }\n if (customOnChange) {\n customOnChange(e);\n }\n };\n var onMouseDown = function onMouseDown(e) {\n var _a;\n if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {\n e.preventDefault();\n }\n };\n var onSearch = function onSearch(e) {\n var _a, _b;\n if (customOnSearch) {\n customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);\n }\n };\n var onPressEnter = function onPressEnter(e) {\n if (composedRef.current || loading) {\n return;\n }\n onSearch(e);\n };\n var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/React.createElement(SearchOutlined, null) : null;\n var btnClassName = \"\".concat(prefixCls, \"-button\");\n var button;\n var enterButtonAsElement = enterButton || {};\n var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;\n if (isAntdButton || enterButtonAsElement.type === 'button') {\n button = cloneElement(enterButtonAsElement, _extends({\n onMouseDown: onMouseDown,\n onClick: function onClick(e) {\n var _a, _b;\n (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n onSearch(e);\n },\n key: 'enterButton'\n }, isAntdButton ? {\n className: btnClassName,\n size: size\n } : {}));\n } else {\n button = /*#__PURE__*/React.createElement(Button, {\n className: btnClassName,\n type: enterButton ? 'primary' : undefined,\n size: size,\n disabled: disabled,\n key: \"enterButton\",\n onMouseDown: onMouseDown,\n onClick: onSearch,\n loading: loading,\n icon: searchIcon\n }, enterButton);\n }\n if (addonAfter) {\n button = [button, cloneElement(addonAfter, {\n key: 'addonAfter'\n })];\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), !!size), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-button\"), !!enterButton), _classNames), className);\n var handleOnCompositionStart = function handleOnCompositionStart(e) {\n composedRef.current = true;\n onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);\n };\n var handleOnCompositionEnd = function handleOnCompositionEnd(e) {\n composedRef.current = false;\n onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);\n };\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(inputRef, ref),\n onPressEnter: onPressEnter\n }, restProps, {\n size: size,\n onCompositionStart: handleOnCompositionStart,\n onCompositionEnd: handleOnCompositionEnd,\n prefixCls: inputPrefixCls,\n addonAfter: button,\n suffix: suffix,\n onChange: onChange,\n className: cls,\n disabled: disabled\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Search.displayName = 'Search';\n}\nexport default Search;","import Group from './Group';\nimport InternalInput from './Input';\nimport Password from './Password';\nimport Search from './Search';\nimport TextArea from './TextArea';\nvar Input = InternalInput;\nInput.Group = Group;\nInput.Search = Search;\nInput.TextArea = TextArea;\nInput.Password = Password;\nexport default Input;","import React, { CSSProperties, FC, useState } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { Input, Button, Select, Form } from 'antd';\nimport { MessageType } from '../../../interfaces/socket-events';\nimport WebsocketService from '../../../services/websocket-service';\nimport { websocketServiceAtom, currentUserAtom } from '../../stores/ClientConfigStore';\n\nconst { Option } = Select;\n\nexport type UserColorProps = {\n color: number;\n};\n\nconst UserColor: FC = ({ color }) => {\n const style: CSSProperties = {\n textAlign: 'center',\n backgroundColor: `var(--theme-color-users-${color})`,\n width: '100%',\n height: '100%',\n };\n return
;\n};\n\nexport const NameChangeModal: FC = () => {\n const currentUser = useRecoilValue(currentUserAtom);\n const websocketService = useRecoilValue(websocketServiceAtom);\n const [newName, setNewName] = useState(currentUser?.displayName);\n\n if (!currentUser) {\n return null;\n }\n\n const { displayName, displayColor } = currentUser;\n\n const saveEnabled = () =>\n newName !== displayName && newName !== '' && websocketService?.isConnected();\n\n const handleNameChange = () => {\n if (!saveEnabled()) return;\n\n const nameChange = {\n type: MessageType.NAME_CHANGE,\n newName,\n };\n websocketService.send(nameChange);\n };\n\n const handleColorChange = (color: string) => {\n const colorChange = {\n type: MessageType.COLOR_CHANGE,\n newColor: Number(color),\n };\n websocketService.send(colorChange);\n };\n\n const maxColor = 8; // 0...n\n const colorOptions = [...Array(maxColor)].map((e, i) => i);\n\n const saveButton = (\n \n Change name\n \n );\n\n return (\n
\n Your chat display name is what people see when you send chat messages.\n
\n setNewName(e.target.value)}\n placeholder=\"Your chat display name\"\n maxLength={30}\n showCount\n defaultValue={displayName}\n />\n \n \n \n {colorOptions.map(e => (\n \n ))}\n \n \n You can also authenticate an IndieAuth or Fediverse account via the "Authenticate"\n menu.\n
\n );\n};\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar attributes = \"accept acceptCharset accessKey action allowFullScreen allowTransparency\\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\\n charSet checked classID className colSpan cols content contentEditable contextMenu\\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\\n mediaGroup method min minLength multiple muted name noValidate nonce open\\n optimum pattern placeholder poster preload radioGroup readOnly rel required\\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\\n summary tabIndex target title type useMap value width wmode wrap\";\nvar eventsName = \"onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError\";\nvar propList = \"\".concat(attributes, \" \").concat(eventsName).split(/[\\s\\n]+/);\n/* eslint-enable max-len */\nvar ariaPrefix = 'aria-';\nvar dataPrefix = 'data-';\nfunction match(key, prefix) {\n return key.indexOf(prefix) === 0;\n}\n/**\n * Picker props from exist props with filter\n * @param props Passed props\n * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config\n */\nexport default function pickAttrs(props) {\n var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var mergedConfig;\n if (ariaOnly === false) {\n mergedConfig = {\n aria: true,\n data: true,\n attr: true\n };\n } else if (ariaOnly === true) {\n mergedConfig = {\n aria: true\n };\n } else {\n mergedConfig = _objectSpread({}, ariaOnly);\n }\n var attrs = {};\n Object.keys(props).forEach(function (key) {\n if (\n // Aria\n mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) ||\n // Data\n mergedConfig.data && match(key, dataPrefix) ||\n // Attr\n mergedConfig.attr && propList.includes(key)) {\n attrs[key] = props[key];\n }\n });\n return attrs;\n}"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","asn_DownOutlined","DownOutlined_DownOutlined","icons_DownOutlined","asn_EyeOutlined","EyeOutlined_EyeOutlined","icons_EyeOutlined","asn_SearchOutlined","SearchOutlined_SearchOutlined","icons_SearchOutlined","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__webpack_exports__","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_classNames","_React$useContext","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","customizePrefixCls","prefixCls","span","order","offset","push","pull","className","children","flex","style","others","sizeClassObj","forEach","size","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","concat","undefined","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","screen","_React$useState","useState","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","useEffect","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","xs","sm","md","lg","xl","xxl","_React$useState4","screens","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","token","ZP","subscribe","currentGutter","current","Array","isArray","unsubscribe","gutters","normalizedGutter","g","index","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","useMemo","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","value","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","asn_EyeInvisibleOutlined","EyeInvisibleOutlined_EyeInvisibleOutlined","icons_EyeInvisibleOutlined","defaultIconRender","visible","EyeOutlined","ActionMap","click","hover","Password","_props$visibilityTogg","visibilityToggle","visibilityControlled","esm_typeof","_useState","_useState2","slicedToArray","setVisible","inputRef","removePasswordTimeout","useRemovePasswordTimeout","onVisibleChange","disabled","prevState","_a","newState","getIcon","_iconProps","_props$action","action","_props$iconRender","iconRender","iconTrigger","iconProps","defineProperty","preventDefault","cloneElement","isValidElement","context","C","_ref","customizeInputPrefixCls","inputPrefixCls","restProps","suffixIcon","inputClassName","classnames_default","omittedProps","esm_extends","omit","type","suffix","Input","es_ref","sQ","Search_rest","Search","button","customizeSize","_props$enterButton","enterButton","addonAfter","loading","customOnSearch","onSearch","customOnChange","onChange","onCompositionStart","onCompositionEnd","contextSize","SizeContext","composedRef","compactSize","Compact","ri","onMouseDown","document","activeElement","input","_b","searchIcon","SearchOutlined","btnClassName","enterButtonAsElement","isAntdButton","__ANT_BUTTON","reactNode","Tm","onClick","key","es_button","cls","onPressEnter","target","input_Input","Group","_useContext","_props$className","compact","formItemContext","form_context","aM","groupFormItemContext","isFormItemInput","onMouseEnter","onMouseLeave","onFocus","onBlur","TextArea","Option","Select","UserColor","color","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","textAlign","backgroundColor","width","height","NameChangeModal","currentUser","useRecoilValue","currentUserAtom","websocketService","websocketServiceAtom","newName","setNewName","displayColor","saveEnabled","isConnected","handleNameChange","nameChange","MessageType","send","handleColorChange","colorChange","newColor","Number","colorOptions","map","saveButton","Button","id","jsxs","Form","onSubmitCapture","placeholder","maxLength","showCount","defaultValue","label","zIndex","toString","title","propList","split","match","prefix","pickAttrs","mergedConfig","ariaOnly","arguments","aria","data","attr","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__","attrs","keys","includes"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/6960-9b43acc035d01270.js b/static/web/_next/static/chunks/6960-9b43acc035d01270.js new file mode 100644 index 000000000..f7e10aaaa --- /dev/null +++ b/static/web/_next/static/chunks/6960-9b43acc035d01270.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6960],{73615:function(e,t,a){a.d(t,{E:function(){return r}});var n=a(85893);a(67294);var i=a(94184),s=a.n(i);let r=e=>{let{status:t}=e,{type:a,icon:i,message:r}=t||{},l=s()({"status-container":!0,["status-".concat(a)]:a,empty:!r});return(0,n.jsxs)("span",{className:l,children:[i?(0,n.jsx)("span",{className:"status-icon",children:i}):null,r?(0,n.jsx)("span",{className:"status-message",children:r}):null]})};t.Z=r},79139:function(e,t,a){a.d(t,{A8:function(){return u},Kx:function(){return c},Sk:function(){return h},mG:function(){return d},nv:function(){return f},xA:function(){return m}});var n=a(85893);a(67294);var i=a(94184),s=a.n(i),r=a(79531),l=a(79915),o=a(73615);let c="default",u="password",d="numeric",h="textarea",m="url",f=e=>{let{className:t,disabled:a,fieldName:i,label:c,maxLength:f,onBlur:p,onChange:g,onPressEnter:b,pattern:y,placeholder:x,required:v,status:w,tip:j,type:k,useTrim:P,value:L}=e,N=e=>{if(g){let t=k===d?e:e.target.value;g({fieldName:i,value:P?t.trim():t})}},S=e=>{let t=e.target.value;p&&p({value:t})},A=()=>{b&&b()},T=r.Z,C={};k===h?(T=r.Z.TextArea,C={autoSize:!0}):k===u?(T=r.Z.Password,C={visibilityToggle:!0}):k===d?(T=l.Z,C={type:"number",min:1,max:10**f-1}):k===m&&(C={type:"url",pattern:y});let E="field-".concat(i),{type:O}=w||{},G=s()({"formfield-container":!0,"textfield-container":!0,["type-".concat(k)]:!0,required:v,["status-".concat(O)]:w});return(0,n.jsxs)("div",{className:G,children:[c?(0,n.jsx)("div",{className:"label-side",children:(0,n.jsx)("label",{htmlFor:E,className:"formfield-label",children:c})}):null,(0,n.jsxs)("div",{className:"input-side",children:[(0,n.jsx)("div",{className:"input-group",children:(0,n.jsx)(T,{id:E,className:"field ".concat(t," ").concat(E),...C,...k!==d&&{allowClear:!0},placeholder:x,maxLength:f,onChange:N,onBlur:S,onPressEnter:A,disabled:a,value:L})}),(0,n.jsx)(o.E,{status:w}),(0,n.jsx)("p",{className:"field-tip",children:j})]})]})};f.defaultProps={className:"",disabled:!1,label:"",maxLength:255,placeholder:"",required:!1,status:null,tip:"",type:c,value:"",pattern:"",useTrim:!1,useTrimLead:!1,onSubmit:()=>{},onBlur:()=>{},onChange:()=>{},onPressEnter:()=>{}}},46551:function(e,t,a){a.d(t,{$7:function(){return g},Kx:function(){return m},Sk:function(){return f},xA:function(){return p}});var n=a(85893),i=a(71577),s=a(94184),r=a.n(s),l=a(67294),o=a(90745),c=a(41983),u=a(99519),d=a(73615),h=a(79139);let m="default",f="textarea",p="url",g=e=>{let{apiPath:t,configPath:a="",initialValue:s,useTrim:m,useTrimLead:f,...p}=e,[g,b]=(0,l.useState)(null),[y,x]=(0,l.useState)(!1),v=(0,l.useContext)(u.aC),{setFieldInConfigState:w}=v||{},j=null,{fieldName:k,required:P,tip:L,status:N,value:S,onChange:A,onSubmit:T}=p,C=()=>{b(null),x(!1),clearTimeout(j),j=null};(0,l.useEffect)(()=>{P&&(""===S||null===S)||S===s?x(!1):(C(),x(!0))},[S]);let E=e=>{let{fieldName:t,value:a}=e;if(A){let n=a;m?n=a.trim():f&&(n=a.replace(/^\s+/g,"")),A({fieldName:t,value:n})}},O=e=>{let{value:t}=e;A&&P&&""===t&&A({fieldName:k,value:s})},G=async()=>{(P&&""!==S||S!==s)&&(b((0,c.kg)(c.Jk)),await (0,o.Si)({apiPath:t,data:{value:S},onSuccess:()=>{w({fieldName:k,value:S,path:a}),b((0,c.kg)(c.zv))},onError:e=>{b((0,c.kg)(c.Un,"There was an error: ".concat(e)))}}),j=setTimeout(C,o.sI),T&&T())},M=r()({"textfield-with-submit-container":!0,submittable:y});return(0,n.jsxs)("div",{className:M,children:[(0,n.jsx)("div",{className:"textfield-component",children:(0,n.jsx)(h.nv,{...p,onSubmit:null,onBlur:O,onChange:E})}),(0,n.jsxs)("div",{className:"formfield-container lower-container",children:[(0,n.jsx)("p",{className:"label-spacer"}),(0,n.jsxs)("div",{className:"lower-content",children:[(0,n.jsx)("div",{className:"field-tip",children:L}),(0,n.jsx)(d.E,{status:N||g}),(0,n.jsx)("div",{className:"update-button-container",children:(0,n.jsx)(i.Z,{type:"primary",size:"small",className:"submit-button",onClick:G,disabled:!y,children:"Update"})})]})]})]})};g.defaultProps={configPath:"",initialValue:""}},6960:function(e,t,a){a.d(t,{l:function(){return z}});var n=a(85893),i=a(99519),s=a(82661),r=a(67294),l=a(45697),o=a.n(l),c=a(41664),u=a.n(c),d=a(9008),h=a.n(d),m=a(11699),f=a(11163),p=a(97183),g=a(14670),b=a(66516),y=a(26713),x=a(94199),v=a(71577),w=a(94184),j=a.n(w),k=a(5152),P=a.n(k),L=a(64777),N=a(70241),S=a(50738),A=a(46551),T=a(90745),C=a(79531),E=a(85402),O=a(41983);let{TextArea:G}=C.Z,M=e=>{let{open:t,handleClose:a}=e,[i,s]=(0,r.useState)(""),[l,o]=(0,r.useState)(!1),[c,u]=(0,r.useState)(null);function d(){o(!1),u(null),a()}async function h(){o(!0);try{await (0,L.rQ)(L.e_,{data:{value:i},method:"POST",auth:!0}),u(O.zv),setTimeout(d,1e3)}catch(e){console.error(e),u(O.Un)}o(!1)}return(0,n.jsxs)(E.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",open:t,onCancel:a,footer:[(0,n.jsx)(v.Z,{onClick:()=>a(),children:"Cancel"}),(0,n.jsx)(v.Z,{type:"primary",onClick:h,disabled:l||c,loading:l,children:(null==c?void 0:c.toUpperCase())||"Post"})],children:[(0,n.jsx)("h3",{children:"Tell the world about your future streaming plans or let your followers know to tune in."}),(0,n.jsx)(G,{placeholder:"I'm still live, come join me!",size:"large",showCount:!0,maxLength:500,style:{height:"150px",width:"100%"},onChange:function(e){s(e.target.value)}})]})},U=P()(()=>Promise.all([a.e(2074),a.e(1264)]).then(a.t.bind(a,63126,23)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1}),q=P()(()=>Promise.all([a.e(2074),a.e(863)]).then(a.t.bind(a,50863,23)),{loadableGenerated:{webpack:()=>[50863]},ssr:!1}),D=P()(()=>Promise.all([a.e(2074),a.e(9073)]).then(a.t.bind(a,99073,23)),{loadableGenerated:{webpack:()=>[99073]},ssr:!1}),F=P()(()=>Promise.all([a.e(2074),a.e(7090)]).then(a.t.bind(a,87090,23)),{loadableGenerated:{webpack:()=>[87090]},ssr:!1}),I=P()(()=>Promise.all([a.e(2074),a.e(4927)]).then(a.t.bind(a,64927,23)),{loadableGenerated:{webpack:()=>[64927]},ssr:!1}),Z=P()(()=>Promise.all([a.e(2074),a.e(7434)]).then(a.t.bind(a,27434,23)),{loadableGenerated:{webpack:()=>[27434]},ssr:!1}),H=P()(()=>Promise.all([a.e(2074),a.e(3840)]).then(a.t.bind(a,3840,23)),{loadableGenerated:{webpack:()=>[3840]},ssr:!1}),R=P()(()=>Promise.all([a.e(2074),a.e(5672)]).then(a.t.bind(a,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),W=P()(()=>Promise.all([a.e(2074),a.e(5258)]).then(a.t.bind(a,85258,23)),{loadableGenerated:{webpack:()=>[85258]},ssr:!1}),B=P()(()=>Promise.all([a.e(2074),a.e(775)]).then(a.t.bind(a,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),K=e=>{let{children:t}=e,a=(0,r.useContext)(i.aC),{serverConfig:l,online:o,broadcaster:c,versionNumber:d}=a||{},{instanceDetails:w,chatDisabled:k,federation:P}=l,{enabled:C}=P,[E,O]=(0,r.useState)(""),[G,K]=(0,r.useState)(!1),z=(0,r.useContext)(s.k),_=(0,f.useRouter)(),{route:V}=_||{},{Header:Q,Footer:X,Content:J,Sider:$}=p.Z,[Y,ee]=(0,r.useState)(""),et=async()=>{try{let e=await (0,L.GR)(d);ee(e)}catch(t){console.log("==== error",t)}};(0,r.useEffect)(()=>{et()},[d]),(0,r.useEffect)(()=>{O(w.streamTitle)},[w]);let ea=e=>{let{value:t}=e;O(t)},en=()=>{K(!0)},ei=j()({"app-container":!0,online:o}),es=()=>{z.setMessage(null)},er=z.message?(0,n.jsx)(g.Z,{message:z.message,afterClose:es,banner:!0,closable:!0}):null,el=c?(0,N.wS)((0,m.Z)(new Date,new Date(c.time))):"",eo=o?(0,n.jsx)(I,{}):(0,n.jsx)(Z,{}),ec=(0,n.jsxs)("div",{className:"online-status-indicator",children:[(0,n.jsx)("span",{className:"status-label",children:o?"Online ".concat(el):"Offline"}),(0,n.jsx)("span",{className:"status-icon",children:eo})]}),eu=[{label:(0,n.jsx)(u(),{href:"/admin/webhooks",children:"Webhooks"}),key:"webhooks"},{label:(0,n.jsx)(u(),{href:"/admin/access-tokens",children:"Access Tokens"}),key:"access-tokens"},{label:(0,n.jsx)(u(),{href:"/admin/actions",children:"External Actions"}),key:"actions"}],ed=[{label:(0,n.jsx)(u(),{href:"/admin/chat/messages",children:"Messages"}),key:"messages"},{label:(0,n.jsx)(u(),{href:"/admin/chat/users",children:"Users"}),key:"chat-users"},{label:(0,n.jsx)(u(),{href:"/admin/chat/emojis",children:"Emojis"}),key:"emojis"}],eh=[{label:(0,n.jsx)(u(),{href:"/admin/hardware-info",children:"Hardware"}),key:"hardware-info"},{label:(0,n.jsx)(u(),{href:"/admin/stream-health",children:"Stream Health"}),key:"stream-health"},{label:(0,n.jsx)(u(),{href:"/admin/logs",children:"Logs"}),key:"logs"},C&&{label:(0,n.jsx)(u(),{href:"/admin/federation/actions",children:"Social Actions"}),key:"federation-activities"}],em=[{label:(0,n.jsx)(u(),{href:"/admin/config/general",children:"General"}),key:"config-public-details"},{label:(0,n.jsx)(u(),{href:"/admin/config/server",children:"Server Setup"}),key:"config-server"},{label:(0,n.jsx)(u(),{href:"/admin/config-video",children:"Video"}),key:"config-video"},{label:(0,n.jsx)(u(),{href:"/admin/config-chat",children:"Chat"}),key:"config-chat"},{label:(0,n.jsx)(u(),{href:"/admin/config-federation",children:"Social"}),key:"config-federation"},{label:(0,n.jsx)(u(),{href:"/admin/config-notify",children:"Notifications"}),key:"config-notify"}],ef=[{label:(0,n.jsx)(u(),{href:"/admin",children:"Home"}),icon:(0,n.jsx)(q,{}),key:"home"},{label:(0,n.jsx)(u(),{href:"/admin/viewer-info",children:"Viewers"}),icon:(0,n.jsx)(D,{}),key:"viewer-info"},!k&&{label:(0,n.jsx)(u(),{href:"/admin/viewer-info",children:"Chat & Users"}),icon:(0,n.jsx)(R,{}),children:ed,key:"chat-and-users"},C&&{key:"fediverse-followers",label:(0,n.jsx)(u(),{href:"/admin/federation/followers",children:"Followers"}),icon:(0,n.jsx)("img",{alt:"fediverse icon",src:"/img/fediverse-black.png",width:"17rem",style:{opacity:.6,position:"relative",top:"-1px"}})},{key:"configuration",label:"Configuration",icon:(0,n.jsx)(U,{}),children:em},{key:"utilities",label:"Utilities",icon:(0,n.jsx)(F,{}),children:eh},{key:"integrations",label:"Integrations",icon:(0,n.jsx)(W,{}),children:eu},Y&&{key:"upgrade",label:(0,n.jsx)(u(),{href:"/upgrade",children:"Upgrade to v".concat("".concat(Y)||"")})},{key:"help",label:(0,n.jsx)(u(),{href:"/admin/help",children:"Help"}),icon:(0,n.jsx)(H,{})}];return(0,n.jsxs)(p.Z,{className:ei,children:[(0,n.jsxs)(h(),{children:[(0,n.jsx)("title",{children:"Owncast Admin"}),(0,n.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"})]}),(0,n.jsxs)($,{width:240,className:"side-nav",children:[(0,n.jsxs)("h1",{className:"owncast-title",children:[(0,n.jsx)("span",{className:"logo-container",children:(0,n.jsx)(S.C,{variant:"simple"})}),(0,n.jsx)("span",{className:"title-label",children:"Owncast Admin"})]}),(0,n.jsx)(b.Z,{defaultSelectedKeys:[V.substring(1)||"home"],defaultOpenKeys:Y?["utilities-menu"]:[],mode:"inline",className:"menu-container",items:ef})]}),(0,n.jsxs)(p.Z,{className:"layout-main",children:[(0,n.jsxs)(Q,{className:"layout-header",children:[(0,n.jsx)(y.Z,{direction:"horizontal",children:(0,n.jsx)(x.Z,{title:"Compose post to your social followers",children:(0,n.jsx)(v.Z,{type:"link",icon:(0,n.jsx)(B,{}),size:"small",onClick:en,style:{display:C?"block":"none",margin:"10px"},children:"Compose Post"})})}),(0,n.jsx)("div",{className:"global-stream-title-container",children:(0,n.jsx)(A.$7,{fieldName:"streamTitle",...T.$t,placeholder:"What are you streaming now? (Stream title)",value:E,initialValue:w.streamTitle,onChange:ea})}),(0,n.jsx)(y.Z,{direction:"horizontal",children:ec})]}),er,(0,n.jsx)(J,{className:"main-content-container",children:t}),(0,n.jsx)(X,{className:"footer-container",children:(0,n.jsxs)("a",{href:"https://owncast.online/?source=admin",target:"_blank",rel:"noopener noreferrer",children:["About Owncast v",d]})})]}),(0,n.jsx)(M,{open:G,handleClose:()=>K(!1)})]})};K.propTypes={children:o().element.isRequired};let z=e=>{let{page:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/main-layout.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/form-textfields.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-socialhandles.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-storage.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-edit-string-tags.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-video-variants.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-public-details.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/home.css"}),(0,n.jsx)("link",{rel:"stylesheet",href:"/styles/admin/chat.css"}),(0,n.jsx)(i.ZP,{children:(0,n.jsx)(s.Z,{children:(0,n.jsx)(K,{children:t})})})]})}},82661:function(e,t,a){a.d(t,{k:function(){return l}});var n=a(85893),i=a(67294),s=a(45697),r=a.n(s);let l=i.createContext({message:null,setMessage:e=>null}),o=e=>{let{children:t}=e,[a,s]=(0,i.useState)("");return(0,n.jsx)(l.Provider,{value:{message:a,setMessage:s},children:t})};o.propTypes={children:r().element.isRequired},t.Z=o},90745:function(e,t,a){a.d(t,{$Z:function(){return ef},$t:function(){return P},$w:function(){return h},AA:function(){return o},AN:function(){return B},AP:function(){return g},BF:function(){return V},B_:function(){return J},CJ:function(){return b},CQ:function(){return v},Dg:function(){return W},EY:function(){return q},FE:function(){return _},HM:function(){return es},I$:function(){return el},IX:function(){return S},KB:function(){return C},Kl:function(){return K},LC:function(){return z},ME:function(){return M},P:function(){return D},RE:function(){return k},SS:function(){return ei},Si:function(){return j},Xc:function(){return Q},Xq:function(){return et},ZQ:function(){return A},_X:function(){return F},c9:function(){return m},cf:function(){return y},cj:function(){return G},d$:function(){return c},dL:function(){return Y},dR:function(){return $},dj:function(){return R},gX:function(){return I},i3:function(){return eo},kB:function(){return H},lT:function(){return O},mv:function(){return em},nm:function(){return ee},os:function(){return x},oy:function(){return eh},pE:function(){return w},rE:function(){return E},rd:function(){return N},rs:function(){return L},sI:function(){return l},sv:function(){return f},t$:function(){return er},tQ:function(){return T},vv:function(){return p},wC:function(){return ec},x8:function(){return ea},yC:function(){return en},y_:function(){return U},yi:function(){return X},yj:function(){return Z},z_:function(){return eu},zm:function(){return ed}});var n=a(85893),i=a(64777),s=a(79139),r=a(37174);let l=3e3,o="/pagecontent",c="/customstyles",u="/serverurl",d="/nsfw",h="/s3",m="/socialhandles",f="/video/streamlatencylevel",p="/video/streamoutputvariants",g="/directoryenabled",b="/chat/forbiddenusernames",y="/chat/suggestedusernames",x="/externalactions",v="/video/codec",w="/federation/blockdomains";async function j(e){let{apiPath:t,data:a,onSuccess:n,onError:s}=e,r=await (0,i.rQ)("".concat(i.ao).concat(t),{data:a,method:"POST",auth:!0});r.success&&n?n(r.message):s&&s(r.message)}let k={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},P={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},L={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},N={apiPath:"/offlinemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"An optional message you can leave people when your stream is not live.",label:"Offline Message",tip:"An optional message you can leave people when your stream is not live."},S={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},A={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one (max size 2 MB). We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},T={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Admin Password",tip:"Save this password somewhere safe, you will need it to login to the admin dashboard!",required:!0},C={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},E={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},O={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},G={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:s.xA,pattern:r.ax,useTrim:!0},M={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:s.xA,pattern:r.ax,useTrim:!0},U={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},q={apiPath:d,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},D={apiPath:g,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},F={apiPath:"/hideviewercount",configPath:"",label:"Hide viewer count",tip:"Turn this ON to hide the viewer count the web page."},I={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},Z={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},H={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},R={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},W={apiPath:b,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},B={apiPath:y,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},K={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},z={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},_={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},V={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},Q={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},X={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:s.xA,pattern:r.ax,useTrim:!0},J={apiPath:d,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},$={apiPath:w,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},Y={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},ee={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},et={[ee.min]:"".concat(ee.min," ").concat(ee.unit),25:" ",30:" ",50:" ",60:" ",90:" ",[ee.max]:"".concat(ee.max," ").concat(ee.unit)},ea={[ee.min]:"".concat(ee.min,"fps - Good for film, presentations, music, low power/bandwidth servers."),25:"25fps - Good for film, presentations, music, low power/bandwidth servers.",30:"30fps - Good for slow/casual games, chat, general purpose.",50:"50fps - Good for fast/action games, sports, HD video.",60:"60fps - Good for fast/action games, sports, HD video.",90:"90fps - Good for newer fast games and hardware.",[ee.max]:"".concat(ee.max,"fps - Experimental, use at your own risk!")},en={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},ei={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},es={[en.min]:{style:{marginLeft:"24px"},label:"".concat(en.min," ").concat(en.unit)},3e3:3e3,4500:4500,[en.max]:{style:{marginLeft:"-10px"},label:"".concat(en.max," ").concat(en.unit)}},er={1:{style:{marginLeft:"15px"},label:(0,n.jsx)("p",{children:"lowest"})},2:"",3:"",4:"",5:{style:{marginLeft:"-15px"},label:(0,n.jsx)("p",{children:"highest"})}},el={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},eo={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},ec={url:"",platform:""},eu="OTHER_SOCIAL_HANDLE_OPTION",ed={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:s.xA,pattern:r.ax},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:s.xA,pattern:r.ax,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},eh={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:s.xA,pattern:r.ax,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},em={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},ef={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},70241:function(e,t,a){a.d(t,{AB:function(){return c},Qr:function(){return r},t5:function(){return s},wS:function(){return o}});var n=a(42238),i=a.n(n);function s(e){let t=e.split(":");t[t.length-1]="";let a=t.join(":");return"[::1]"===(a=a.slice(0,a.length-1))||"127.0.0.1"===a?"Localhost":a}function r(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function l(e,t,a){return String(t.repeat(a)+e).slice(-a)}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,a=Math.floor(t/86400),n=a>0?"".concat(a," day").concat(a>1?"s":""," "):"",i=Math.floor(t/3600%24),s=i||a?l("".concat(i,":"),"0",3):"",r=l("".concat(Math.floor(t/60%60),":"),"0",3),o=l("".concat(Math.floor(t%60)),"0",2);return n+s+r+o}function c(e){let t=i()(e),{device:a,os:n,browser:s}=t,{major:r,name:l}=s,{version:o,name:c}=n,{model:u,type:d}=a;return"libmpv"===e?"mpv media player":l&&r&&c?"".concat(l," ").concat(r," on ").concat(c," ").concat(o,"\n ").concat(u||d?" (".concat(u||d,")"):""):e}},41983:function(e,t,a){a.d(t,{Jk:function(){return h},Un:function(){return u},dG:function(){return f},kg:function(){return g},zv:function(){return m}});var n=a(85893),i=a(5152),s=a.n(i);let r=s()(()=>Promise.all([a.e(2074),a.e(7431)]).then(a.t.bind(a,37431,23)),{loadableGenerated:{webpack:()=>[37431]},ssr:!1}),l=s()(()=>Promise.all([a.e(2074),a.e(2461)]).then(a.t.bind(a,42461,23)),{loadableGenerated:{webpack:()=>[42461]},ssr:!1}),o=s()(()=>Promise.all([a.e(2074),a.e(628)]).then(a.t.bind(a,628,23)),{loadableGenerated:{webpack:()=>[628]},ssr:!1}),c=s()(()=>Promise.all([a.e(2074),a.e(7282)]).then(a.t.bind(a,97282,23)),{loadableGenerated:{webpack:()=>[97282]},ssr:!1}),u="error",d="invalid",h="proessing",m="success",f="warning",p={[m]:{type:m,icon:(0,n.jsx)(r,{style:{color:"green"}}),message:"Success!"},[u]:{type:u,icon:(0,n.jsx)(l,{style:{color:"red"}}),message:"An error occurred."},[d]:{type:d,icon:(0,n.jsx)(l,{style:{color:"red"}}),message:"An error occurred."},[h]:{type:h,icon:(0,n.jsx)(o,{}),message:""},[f]:{type:f,icon:(0,n.jsx)(c,{style:{color:"#fc0"}}),message:""}};function g(e,t){return e&&p[e]?t?{type:e,icon:p[e].icon,message:t}:p[e]:null}},99519:function(e,t,a){a.d(t,{aC:function(){return d}});var n=a(85893),i=a(67294),s=a(45697),r=a.n(s),l=a(64777),o=a(90745);let c={streamKeys:[],adminPassword:"",instanceDetails:{customStyles:"",extraPageContent:"",logo:"",name:"",nsfw:!1,socialHandles:[],streamTitle:"",summary:"",tags:[],title:"",welcomeMessage:"",offlineMessage:"",appearanceVariables:{}},ffmpegPath:"",rtmpServerPort:"",webServerPort:"",socketHostOverride:null,s3:{accessKey:"",acl:"",bucket:"",enabled:!1,endpoint:"",region:"",secret:"",servingEndpoint:"",forcePathStyle:!1},yp:{enabled:!1,instanceUrl:""},videoSettings:{latencyLevel:4,cpuUsageLevel:3,videoQualityVariants:[o.gX]},federation:{enabled:!1,isPrivate:!1,username:"",goLiveMessage:"",showEngagement:!0,blockedDomains:[]},notifications:{browser:{enabled:!1,goLiveMessage:""},discord:{enabled:!1,webhook:"",goLiveMessage:""},twitter:{enabled:!1,goLiveMessage:"",apiKey:"",apiSecret:"",accessToken:"",accessTokenSecret:"",bearerToken:""}},externalActions:[],supportedCodecs:[],videoCodec:"",forbiddenUsernames:[],suggestedUsernames:[],chatDisabled:!1,chatJoinMessagesEnabled:!0,chatEstablishedUserMode:!1,hideViewerCount:!1},u={broadcastActive:!1,broadcaster:null,currentBroadcast:null,online:!1,viewerCount:0,sessionMaxViewerCount:0,sessionPeakViewerCount:0,overallPeakViewerCount:0,versionNumber:"0.0.0",streamTitle:"",chatDisabled:!1,health:{healthy:!0,healthPercentage:100,message:"",representation:0}},d=i.createContext({...u,serverConfig:c,setFieldInConfigState:e=>null}),h=e=>{let{children:t}=e,[a,s]=(0,i.useState)(u),[r,o]=(0,i.useState)(c),h=async()=>{try{let e=await (0,l.rQ)(l.Q_);s({...e})}catch(t){}},m=async()=>{try{let e=await (0,l.rQ)(l.bl);o(e)}catch(t){}},f=e=>{let{fieldName:t,value:a,path:n}=e,i=n?{...r,[n]:{...r[n],[t]:a}}:{...r,[t]:a};o(i)};(0,i.useEffect)(()=>{let e=null;return h(),e=setInterval(h,l.NE),m(),()=>{clearInterval(e)}},[]);let p={...a,serverConfig:r,setFieldInConfigState:f};return(0,n.jsx)(d.Provider,{value:p,children:t})};h.propTypes={children:r().element.isRequired},t.ZP=h},37174:function(e,t,a){a.d(t,{Kf:function(){return s},ax:function(){return n},bu:function(){return r},jv:function(){return i}});let n="https?://.*";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["http:","https:"];try{let a=new URL(e);if(""===a.protocol||""===a.hostname||!t.includes(a.protocol))return!1}catch(n){return!1}return!0}function s(e,t){e.startsWith("@")&&(e=e.slice(1));let a=e.split(/:|@/),[n,i,s]=a;return console.log({account:e,protocol:t,service:n,user:i,host:s}),n===t&&3===a.length&&!!n&&!!i&&!!s}function r(e){if(!e.startsWith("matrix:"))return!1;(e=e.slice(7)).startsWith("@")&&(e=e.slice(1));let t=e.split(":"),[a,n]=t;return 2===t.length&&!!a&&!!n}}}]); +//# sourceMappingURL=6960-9b43acc035d01270.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/6960-9b43acc035d01270.js.map b/static/web/_next/static/chunks/6960-9b43acc035d01270.js.map new file mode 100644 index 000000000..62bb170f9 --- /dev/null +++ b/static/web/_next/static/chunks/6960-9b43acc035d01270.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/6960-9b43acc035d01270.js","mappings":"mLASO,IAAMA,EAAoD,GAAgB,IAAf,CAAEC,OAAAA,CAAAA,CAAQ,CAAAC,EACpE,CAAEC,KAAAA,CAAAA,CAAMC,KAAAA,CAAAA,CAAMC,QAAAA,CAAAA,CAAS,CAAGJ,GAAU,CAAC,EACrCK,EAAUC,IAAW,CACzB,mBAAoB,GACpB,CAAC,U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/./components/admin/TextFieldWithSubmit.tsx","webpack://_N_E/./components/admin/ComposeFederatedPost.tsx","webpack://_N_E/./components/admin/MainLayout.tsx","webpack://_N_E/./components/layouts/AdminLayout.tsx","webpack://_N_E/./utils/alert-message-context.tsx","webpack://_N_E/./utils/config-constants.tsx","webpack://_N_E/./utils/format.ts","webpack://_N_E/./utils/input-statuses.tsx","webpack://_N_E/./utils/server-status-context.tsx","webpack://_N_E/./utils/urls.ts","webpack://_N_E/"],"sourcesContent":["import React, { FC } from 'react';\nimport classNames from 'classnames';\n\nimport { StatusState } from '../../utils/input-statuses';\n\nexport type FormStatusIndicatorProps = {\n status: StatusState;\n};\n\nexport const FormStatusIndicator: FC = ({ status }) => {\n const { type, icon, message } = status || {};\n const classes = classNames({\n 'status-container': true,\n [`status-${type}`]: type,\n empty: !message,\n });\n return (\n \n {icon ? {icon} : null}\n {message ? {message} : null}\n \n );\n};\nexport default FormStatusIndicator;\n","import React, { FC } from 'react';\nimport classNames from 'classnames';\nimport { Input, InputNumber } from 'antd';\nimport { FieldUpdaterFunc } from '../../types/config-section';\n// import InfoTip from '../info-tip';\nimport { StatusState } from '../../utils/input-statuses';\nimport { FormStatusIndicator } from './FormStatusIndicator';\n\nexport const TEXTFIELD_TYPE_TEXT = 'default';\nexport const TEXTFIELD_TYPE_PASSWORD = 'password'; // Input.Password\nexport const TEXTFIELD_TYPE_NUMBER = 'numeric'; // InputNumber\nexport const TEXTFIELD_TYPE_TEXTAREA = 'textarea'; // Input.TextArea\nexport const TEXTFIELD_TYPE_URL = 'url';\n\nexport type TextFieldProps = {\n fieldName: string;\n\n onSubmit?: () => void;\n onPressEnter?: () => void;\n\n className?: string;\n disabled?: boolean;\n label?: string;\n maxLength?: number;\n pattern?: string;\n placeholder?: string;\n required?: boolean;\n status?: StatusState;\n tip?: string;\n type?: string;\n useTrim?: boolean;\n useTrimLead?: boolean;\n value?: string | number;\n onBlur?: FieldUpdaterFunc;\n onChange?: FieldUpdaterFunc;\n};\n\nexport const TextField: FC = ({\n className,\n disabled,\n fieldName,\n label,\n maxLength,\n onBlur,\n onChange,\n onPressEnter,\n pattern,\n placeholder,\n required,\n status,\n tip,\n type,\n useTrim,\n value,\n}) => {\n const handleChange = (e: any) => {\n // if an extra onChange handler was sent in as a prop, let's run that too.\n if (onChange) {\n const val = type === TEXTFIELD_TYPE_NUMBER ? e : e.target.value;\n onChange({ fieldName, value: useTrim ? val.trim() : val });\n }\n };\n\n // if you blur a required field with an empty value, restore its original value in state (parent's state), if an onChange from parent is available.\n const handleBlur = (e: any) => {\n const val = e.target.value;\n if (onBlur) {\n onBlur({ value: val });\n }\n };\n\n const handlePressEnter = () => {\n if (onPressEnter) {\n onPressEnter();\n }\n };\n\n // display the appropriate Ant text field\n let Field = Input as\n | typeof Input\n | typeof InputNumber\n | typeof Input.TextArea\n | typeof Input.Password;\n let fieldProps = {};\n if (type === TEXTFIELD_TYPE_TEXTAREA) {\n Field = Input.TextArea;\n fieldProps = {\n autoSize: true,\n };\n } else if (type === TEXTFIELD_TYPE_PASSWORD) {\n Field = Input.Password;\n fieldProps = {\n visibilityToggle: true,\n };\n } else if (type === TEXTFIELD_TYPE_NUMBER) {\n Field = InputNumber;\n fieldProps = {\n type: 'number',\n min: 1,\n max: 10 ** maxLength - 1,\n };\n } else if (type === TEXTFIELD_TYPE_URL) {\n fieldProps = {\n type: 'url',\n pattern,\n };\n }\n\n const fieldId = `field-${fieldName}`;\n\n const { type: statusType } = status || {};\n\n const containerClass = classNames({\n 'formfield-container': true,\n 'textfield-container': true,\n [`type-${type}`]: true,\n required,\n [`status-${statusType}`]: status,\n });\n\n return (\n
\n {label ? (\n
\n \n
\n ) : null}\n\n
\n
\n \n
\n \n

{tip}

\n
\n
\n );\n};\nexport default TextField;\n\nTextField.defaultProps = {\n className: '',\n disabled: false,\n label: '',\n maxLength: 255,\n\n placeholder: '',\n required: false,\n status: null,\n tip: '',\n type: TEXTFIELD_TYPE_TEXT,\n value: '',\n\n pattern: '',\n useTrim: false,\n useTrimLead: false,\n\n onSubmit: () => {},\n onBlur: () => {},\n onChange: () => {},\n onPressEnter: () => {},\n};\n","import { Button } from 'antd';\nimport classNames from 'classnames';\nimport React, { FC, useContext, useEffect, useState } from 'react';\nimport { UpdateArgs } from '../../types/config-section';\nimport { postConfigUpdateToAPI, RESET_TIMEOUT } from '../../utils/config-constants';\nimport {\n createInputStatus,\n StatusState,\n STATUS_ERROR,\n STATUS_PROCESSING,\n STATUS_SUCCESS,\n} from '../../utils/input-statuses';\nimport { ServerStatusContext } from '../../utils/server-status-context';\nimport { FormStatusIndicator } from './FormStatusIndicator';\nimport { TextField, TextFieldProps } from './TextField';\n\nexport const TEXTFIELD_TYPE_TEXT = 'default';\nexport const TEXTFIELD_TYPE_PASSWORD = 'password'; // Input.Password\nexport const TEXTFIELD_TYPE_NUMBER = 'numeric';\nexport const TEXTFIELD_TYPE_TEXTAREA = 'textarea';\nexport const TEXTFIELD_TYPE_URL = 'url';\n\nexport type TextFieldWithSubmitProps = TextFieldProps & {\n apiPath: string;\n configPath?: string;\n initialValue?: string;\n};\n\nexport const TextFieldWithSubmit: FC = ({\n apiPath,\n configPath = '',\n initialValue,\n useTrim,\n useTrimLead,\n ...textFieldProps // rest of props\n}) => {\n const [submitStatus, setSubmitStatus] = useState(null);\n\n const [hasChanged, setHasChanged] = useState(false);\n\n const serverStatusData = useContext(ServerStatusContext);\n const { setFieldInConfigState } = serverStatusData || {};\n\n let resetTimer = null;\n\n const { fieldName, required, tip, status, value, onChange, onSubmit } = textFieldProps;\n\n // Clear out any validation states and messaging\n const resetStates = () => {\n setSubmitStatus(null);\n setHasChanged(false);\n clearTimeout(resetTimer);\n resetTimer = null;\n };\n\n useEffect(() => {\n // TODO: Add native validity checks here, somehow\n // https://developer.mozilla.org/en-US/docs/Web/API/ValidityState\n // const hasValidity = (type !== TEXTFIELD_TYPE_NUMBER && e.target.validity.valid) || type === TEXTFIELD_TYPE_NUMBER ;\n if ((required && (value === '' || value === null)) || value === initialValue) {\n setHasChanged(false);\n } else {\n // show submit button\n resetStates();\n setHasChanged(true);\n }\n }, [value]);\n\n // if field is required but value is empty, or equals initial value, then don't show submit/update button. otherwise clear out any result messaging and display button.\n const handleChange = ({ fieldName: changedFieldName, value: changedValue }: UpdateArgs) => {\n if (onChange) {\n let newValue: string = changedValue;\n if (useTrim) {\n newValue = changedValue.trim();\n } else if (useTrimLead) {\n newValue = changedValue.replace(/^\\s+/g, '');\n }\n onChange({\n fieldName: changedFieldName,\n value: newValue,\n });\n }\n };\n\n // if you blur a required field with an empty value, restore its original value in state (parent's state), if an onChange from parent is available.\n const handleBlur = ({ value: changedValue }: UpdateArgs) => {\n if (onChange && required && changedValue === '') {\n onChange({ fieldName, value: initialValue });\n }\n };\n\n // how to get current value of input\n const handleSubmit = async () => {\n if ((required && value !== '') || value !== initialValue) {\n setSubmitStatus(createInputStatus(STATUS_PROCESSING));\n\n await postConfigUpdateToAPI({\n apiPath,\n data: { value },\n onSuccess: () => {\n setFieldInConfigState({ fieldName, value, path: configPath });\n setSubmitStatus(createInputStatus(STATUS_SUCCESS));\n },\n onError: (message: string) => {\n setSubmitStatus(createInputStatus(STATUS_ERROR, `There was an error: ${message}`));\n },\n });\n resetTimer = setTimeout(resetStates, RESET_TIMEOUT);\n\n // if an extra onSubmit handler was sent in as a prop, let's run that too.\n if (onSubmit) {\n onSubmit();\n }\n }\n };\n\n const textfieldContainerClass = classNames({\n 'textfield-with-submit-container': true,\n submittable: hasChanged,\n });\n return (\n
\n
\n \n
\n
\n

\n

\n
{tip}
\n \n
\n \n Update\n \n
\n
\n
\n
\n );\n};\n\nTextFieldWithSubmit.defaultProps = {\n configPath: '',\n initialValue: '',\n};\n","import React, { FC, useState } from 'react';\n\nimport { Button, Input, Modal } from 'antd';\nimport { STATUS_ERROR, STATUS_SUCCESS } from '../../utils/input-statuses';\nimport { fetchData, FEDERATION_MESSAGE_SEND } from '../../utils/apis';\n\nconst { TextArea } = Input;\n\nexport type ComposeFederatedPostProps = {\n open: boolean;\n handleClose: () => void;\n};\n\nexport const ComposeFederatedPost: FC = ({ open, handleClose }) => {\n const [content, setContent] = useState('');\n const [postPending, setPostPending] = useState(false);\n const [postSuccessState, setPostSuccessState] = useState(null);\n\n function handleEditorChange(e) {\n setContent(e.target.value);\n }\n\n function close() {\n setPostPending(false);\n setPostSuccessState(null);\n handleClose();\n }\n\n async function sendButtonClicked() {\n setPostPending(true);\n\n const data = {\n value: content,\n };\n try {\n await fetchData(FEDERATION_MESSAGE_SEND, {\n data,\n method: 'POST',\n auth: true,\n });\n setPostSuccessState(STATUS_SUCCESS);\n setTimeout(close, 1000);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(e);\n setPostSuccessState(STATUS_ERROR);\n }\n setPostPending(false);\n }\n\n return (\n handleClose()}>Cancel,\n \n {postSuccessState?.toUpperCase() || 'Post'}\n ,\n ]}\n >\n

\n Tell the world about your future streaming plans or let your followers know to tune in.\n

\n \n \n );\n};\n","import React, { FC, ReactNode, useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport Link from 'next/link';\nimport Head from 'next/head';\nimport { differenceInSeconds } from 'date-fns';\nimport { useRouter } from 'next/router';\nimport { Layout, Menu, Alert, Button, Space, Tooltip } from 'antd';\n\nimport classNames from 'classnames';\nimport dynamic from 'next/dynamic';\nimport { upgradeVersionAvailable } from '../../utils/apis';\nimport { parseSecondsToDurationString } from '../../utils/format';\n\nimport { OwncastLogo } from '../common/OwncastLogo/OwncastLogo';\nimport { ServerStatusContext } from '../../utils/server-status-context';\nimport { AlertMessageContext } from '../../utils/alert-message-context';\n\nimport { TextFieldWithSubmit } from './TextFieldWithSubmit';\nimport { TEXTFIELD_PROPS_STREAM_TITLE } from '../../utils/config-constants';\nimport { ComposeFederatedPost } from './ComposeFederatedPost';\nimport { UpdateArgs } from '../../types/config-section';\n\n// Lazy loaded components\n\nconst SettingOutlined = dynamic(() => import('@ant-design/icons/SettingOutlined'), {\n ssr: false,\n}); // Lazy loaded components\n\nconst HomeOutlined = dynamic(() => import('@ant-design/icons/HomeOutlined'), {\n ssr: false,\n});\n\nconst LineChartOutlined = dynamic(() => import('@ant-design/icons/LineChartOutlined'), {\n ssr: false,\n});\n\nconst ToolOutlined = dynamic(() => import('@ant-design/icons/ToolOutlined'), {\n ssr: false,\n});\n\nconst PlayCircleFilled = dynamic(() => import('@ant-design/icons/PlayCircleFilled'), {\n ssr: false,\n});\n\nconst MinusSquareFilled = dynamic(() => import('@ant-design/icons/MinusSquareFilled'), {\n ssr: false,\n});\n\nconst QuestionCircleOutlined = dynamic(() => import('@ant-design/icons/QuestionCircleOutlined'), {\n ssr: false,\n});\n\nconst MessageOutlined = dynamic(() => import('@ant-design/icons/MessageOutlined'), {\n ssr: false,\n});\n\nconst ExperimentOutlined = dynamic(() => import('@ant-design/icons/ExperimentOutlined'), {\n ssr: false,\n});\n\nconst EditOutlined = dynamic(() => import('@ant-design/icons/EditOutlined'), {\n ssr: false,\n});\n\nexport type MainLayoutProps = {\n children: ReactNode;\n};\n\nexport const MainLayout: FC = ({ children }) => {\n const context = useContext(ServerStatusContext);\n const { serverConfig, online, broadcaster, versionNumber } = context || {};\n const { instanceDetails, chatDisabled, federation } = serverConfig;\n const { enabled: federationEnabled } = federation;\n\n const [currentStreamTitle, setCurrentStreamTitle] = useState('');\n const [postModalDisplayed, setPostModalDisplayed] = useState(false);\n\n const alertMessage = useContext(AlertMessageContext);\n\n const router = useRouter();\n const { route } = router || {};\n\n const { Header, Footer, Content, Sider } = Layout;\n\n const [upgradeVersion, setUpgradeVersion] = useState('');\n const checkForUpgrade = async () => {\n try {\n const result = await upgradeVersionAvailable(versionNumber);\n setUpgradeVersion(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n checkForUpgrade();\n }, [versionNumber]);\n\n useEffect(() => {\n setCurrentStreamTitle(instanceDetails.streamTitle);\n }, [instanceDetails]);\n\n const handleStreamTitleChanged = ({ value }: UpdateArgs) => {\n setCurrentStreamTitle(value);\n };\n\n const handleCreatePostButtonPressed = () => {\n setPostModalDisplayed(true);\n };\n\n const appClass = classNames({\n 'app-container': true,\n online,\n });\n\n const upgradeVersionString = `${upgradeVersion}` || '';\n const upgradeMessage = `Upgrade to v${upgradeVersionString}`;\n const openMenuItems = upgradeVersion ? ['utilities-menu'] : [];\n\n const clearAlertMessage = () => {\n alertMessage.setMessage(null);\n };\n\n const headerAlertMessage = alertMessage.message ? (\n \n ) : null;\n\n // status indicator items\n const streamDurationString = broadcaster\n ? parseSecondsToDurationString(differenceInSeconds(new Date(), new Date(broadcaster.time)))\n : '';\n\n const statusIcon = online ? : ;\n const statusMessage = online ? `Online ${streamDurationString}` : 'Offline';\n\n const statusIndicator = (\n
\n {statusMessage}\n {statusIcon}\n
\n );\n\n const integrationsMenu = [\n {\n label: Webhooks,\n key: 'webhooks',\n },\n {\n label: Access Tokens,\n key: 'access-tokens',\n },\n {\n label: External Actions,\n key: 'actions',\n },\n ];\n\n const chatMenu = [\n {\n label: Messages,\n key: 'messages',\n },\n {\n label: Users,\n key: 'chat-users',\n },\n {\n label: Emojis,\n key: 'emojis',\n },\n ];\n\n const utilitiesMenu = [\n {\n label: Hardware,\n key: 'hardware-info',\n },\n {\n label: Stream Health,\n key: 'stream-health',\n },\n {\n label: Logs,\n key: 'logs',\n },\n federationEnabled && {\n label: Social Actions,\n key: 'federation-activities',\n },\n ];\n\n const configurationMenu = [\n {\n label: General,\n key: 'config-public-details',\n },\n {\n label: Server Setup,\n key: 'config-server',\n },\n {\n label: Video,\n key: 'config-video',\n },\n {\n label: Chat,\n key: 'config-chat',\n },\n {\n label: Social,\n key: 'config-federation',\n },\n {\n label: Notifications,\n key: 'config-notify',\n },\n ];\n\n const menuItems = [\n { label: Home, icon: , key: 'home' },\n {\n label: Viewers,\n icon: ,\n key: 'viewer-info',\n },\n !chatDisabled && {\n label: Chat & Users,\n icon: ,\n children: chatMenu,\n key: 'chat-and-users',\n },\n federationEnabled && {\n key: 'fediverse-followers',\n label: Followers,\n icon: (\n \n ),\n },\n {\n key: 'configuration',\n label: 'Configuration',\n icon: ,\n children: configurationMenu,\n },\n {\n key: 'utilities',\n label: 'Utilities',\n icon: ,\n children: utilitiesMenu,\n },\n {\n key: 'integrations',\n label: 'Integrations',\n icon: ,\n children: integrationsMenu,\n },\n upgradeVersion && {\n key: 'upgrade',\n label: {upgradeMessage},\n },\n {\n key: 'help',\n label: Help,\n icon: ,\n },\n ];\n return (\n \n \n Owncast Admin\n \n \n\n \n

\n \n \n \n Owncast Admin\n

\n \n
\n\n \n
\n \n \n }\n size=\"small\"\n onClick={handleCreatePostButtonPressed}\n style={{ display: federationEnabled ? 'block' : 'none', margin: '10px' }}\n >\n Compose Post\n \n \n \n
\n \n
\n {statusIndicator}\n
\n\n {headerAlertMessage}\n\n {children}\n\n \n
\n\n setPostModalDisplayed(false)}\n />\n
\n );\n};\n\nMainLayout.propTypes = {\n children: PropTypes.element.isRequired,\n};\n","/* eslint-disable @next/next/no-css-tags */\nimport { FC, ReactElement } from 'react';\nimport ServerStatusProvider from '../../utils/server-status-context';\nimport AlertMessageProvider from '../../utils/alert-message-context';\nimport { MainLayout } from '../admin/MainLayout';\n\n/*\nNOTE: A bunch of compiled css is loaded here for the Admin UI.\nThese are old stylesheets that were converted from sass and should not be\nedited or maintained. Instead we are using css modules everywhere. So if you\nneed to change a style rewrite the css file as a css module and import it\ninto the component that needs it, removing it from this global list.\n*/\n\ntype AdminLayoutProps = {\n page: ReactElement;\n};\n\nexport const AdminLayout: FC = ({ page }) => (\n <>\n \n \n \n \n \n \n \n \n \n\n \n \n {page}\n \n \n \n);\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const AlertMessageContext = React.createContext({\n message: null,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setMessage: (text?: string) => null,\n});\n\nconst AlertMessageProvider = ({ children }) => {\n const [message, setMessage] = useState('');\n\n const providerValue = {\n message,\n setMessage,\n };\n return (\n {children}\n );\n};\n\nAlertMessageProvider.propTypes = {\n children: PropTypes.element.isRequired,\n};\n\nexport default AlertMessageProvider;\n","// DEFAULT VALUES\nimport { fetchData, SERVER_CONFIG_UPDATE_URL } from './apis';\nimport { ApiPostArgs, VideoVariant, SocialHandle } from '../types/config-section';\nimport { TEXTFIELD_TYPE_URL } from '../components/admin/TextField';\nimport { DEFAULT_TEXTFIELD_URL_PATTERN } from './urls';\n\nexport const TEXT_MAXLENGTH = 255;\n\nexport const RESET_TIMEOUT = 3000;\n\n// CONFIG API ENDPOINTS\nexport const API_CUSTOM_CONTENT = '/pagecontent';\nexport const API_CUSTOM_CSS_STYLES = '/customstyles';\nexport const API_FFMPEG = '/ffmpegpath';\nexport const API_INSTANCE_URL = '/serverurl';\nexport const API_LOGO = '/logo';\nexport const API_NSFW_SWITCH = '/nsfw';\nexport const API_RTMP_PORT = '/rtmpserverport';\nexport const API_S3_INFO = '/s3';\nexport const API_SERVER_SUMMARY = '/serversummary';\nexport const API_SERVER_WELCOME_MESSAGE = '/welcomemessage';\nexport const API_SERVER_OFFLINE_MESSAGE = '/offlinemessage';\nexport const API_SERVER_NAME = '/name';\nexport const API_SOCIAL_HANDLES = '/socialhandles';\nexport const API_STREAM_KEY = '/key';\nexport const API_STREAM_TITLE = '/streamtitle';\nexport const API_TAGS = '/tags';\nexport const API_USERNAME = '/name';\nexport const API_VIDEO_SEGMENTS = '/video/streamlatencylevel';\nexport const API_VIDEO_VARIANTS = '/video/streamoutputvariants';\nexport const API_WEB_PORT = '/webserverport';\nexport const API_YP_SWITCH = '/directoryenabled';\nexport const API_HIDE_VIEWER_COUNT = '/hideviewercount';\nexport const API_CHAT_DISABLE = '/chat/disable';\nexport const API_CHAT_JOIN_MESSAGES_ENABLED = '/chat/joinmessagesenabled';\nexport const API_CHAT_ESTABLISHED_MODE = '/chat/establishedusermode';\nexport const API_CHAT_FORBIDDEN_USERNAMES = '/chat/forbiddenusernames';\nexport const API_CHAT_SUGGESTED_USERNAMES = '/chat/suggestedusernames';\nexport const API_EXTERNAL_ACTIONS = '/externalactions';\nexport const API_VIDEO_CODEC = '/video/codec';\nexport const API_SOCKET_HOST_OVERRIDE = '/sockethostoverride';\n\n// Federation\nexport const API_FEDERATION_ENABLED = '/federation/enable';\nexport const API_FEDERATION_PRIVATE = '/federation/private';\nexport const API_FEDERATION_USERNAME = '/federation/username';\nexport const API_FEDERATION_GOLIVE_MESSAGE = '/federation/livemessage';\nexport const API_FEDERATION_SHOW_ENGAGEMENT = '/federation/showengagement';\nexport const API_FEDERATION_BLOCKED_DOMAINS = '/federation/blockdomains';\n\nexport async function postConfigUpdateToAPI(args: ApiPostArgs) {\n const { apiPath, data, onSuccess, onError } = args;\n const result = await fetchData(`${SERVER_CONFIG_UPDATE_URL}${apiPath}`, {\n data,\n method: 'POST',\n auth: true,\n });\n if (result.success && onSuccess) {\n onSuccess(result.message);\n } else if (onError) {\n onError(result.message);\n }\n}\n\n// Some default props to help build out a TextField\nexport const TEXTFIELD_PROPS_SERVER_NAME = {\n apiPath: API_SERVER_NAME,\n configPath: 'instanceDetails',\n maxLength: TEXT_MAXLENGTH,\n placeholder: 'Owncast site name', // like \"gothland\"\n label: 'Name',\n tip: 'The name of your Owncast server',\n required: true,\n useTrimLead: true,\n};\nexport const TEXTFIELD_PROPS_STREAM_TITLE = {\n apiPath: API_STREAM_TITLE,\n configPath: 'instanceDetails',\n maxLength: 100,\n placeholder: 'Doing cool things...',\n label: 'Stream Title',\n tip: 'What is your stream about today?',\n};\nexport const TEXTFIELD_PROPS_SERVER_SUMMARY = {\n apiPath: API_SERVER_SUMMARY,\n configPath: 'instanceDetails',\n maxLength: 500,\n placeholder: '',\n label: 'About',\n tip: 'A brief blurb about you, your server, or what your stream is about.',\n};\nexport const TEXTFIELD_PROPS_SERVER_OFFLINE_MESSAGE = {\n apiPath: API_SERVER_OFFLINE_MESSAGE,\n configPath: 'instanceDetails',\n maxLength: 2500,\n placeholder: 'An optional message you can leave people when your stream is not live.',\n label: 'Offline Message',\n tip: 'An optional message you can leave people when your stream is not live.',\n};\nexport const TEXTFIELD_PROPS_SERVER_WELCOME_MESSAGE = {\n apiPath: API_SERVER_WELCOME_MESSAGE,\n configPath: 'instanceDetails',\n maxLength: 2500,\n placeholder: '',\n label: 'Welcome Message',\n tip: 'A system chat message sent to viewers when they first connect to chat. Leave blank to disable.',\n};\nexport const TEXTFIELD_PROPS_LOGO = {\n apiPath: API_LOGO,\n configPath: 'instanceDetails',\n maxLength: 255,\n placeholder: '/img/mylogo.png',\n label: 'Logo',\n tip: 'Upload your logo if you have one (max size 2 MB). We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms.',\n};\nexport const TEXTFIELD_PROPS_ADMIN_PASSWORD = {\n apiPath: API_STREAM_KEY,\n configPath: '',\n maxLength: TEXT_MAXLENGTH,\n placeholder: 'abc123',\n label: 'Admin Password',\n tip: 'Save this password somewhere safe, you will need it to login to the admin dashboard!',\n required: true,\n};\nexport const TEXTFIELD_PROPS_FFMPEG = {\n apiPath: API_FFMPEG,\n configPath: '',\n maxLength: TEXT_MAXLENGTH,\n placeholder: '/usr/local/bin/ffmpeg',\n label: 'FFmpeg Path',\n tip: 'Absolute file path of the FFMPEG application on your server',\n required: true,\n};\nexport const TEXTFIELD_PROPS_WEB_PORT = {\n apiPath: API_WEB_PORT,\n configPath: '',\n maxLength: 6,\n placeholder: '8080',\n label: 'Owncast port',\n tip: 'What port is your Owncast web server listening? Default is 8080',\n required: true,\n};\nexport const TEXTFIELD_PROPS_RTMP_PORT = {\n apiPath: API_RTMP_PORT,\n configPath: '',\n maxLength: 6,\n placeholder: '1935',\n label: 'RTMP port',\n tip: 'What port should accept inbound broadcasts? Default is 1935',\n required: true,\n};\nexport const TEXTFIELD_PROPS_INSTANCE_URL = {\n apiPath: API_INSTANCE_URL,\n configPath: 'yp',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Server URL',\n tip: 'The full url to your Owncast server.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\nexport const TEXTFIELD_PROPS_SOCKET_HOST_OVERRIDE = {\n apiPath: API_SOCKET_HOST_OVERRIDE,\n configPath: '',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Websocket host override',\n tip: 'The direct URL of your Owncast server.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\n// MISC FIELDS\nexport const FIELD_PROPS_TAGS = {\n apiPath: API_TAGS,\n configPath: 'instanceDetails',\n maxLength: 24,\n placeholder: 'Add a new tag',\n required: true,\n label: '',\n tip: '',\n};\n\nexport const FIELD_PROPS_NSFW = {\n apiPath: API_NSFW_SWITCH,\n configPath: 'instanceDetails',\n label: 'NSFW?',\n tip: \"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory.\",\n};\n\nexport const FIELD_PROPS_YP = {\n apiPath: API_YP_SWITCH,\n configPath: 'yp',\n label: 'Enable directory',\n tip: 'Turn this ON to request to show up in the directory.',\n};\n\nexport const FIELD_PROPS_HIDE_VIEWER_COUNT = {\n apiPath: API_HIDE_VIEWER_COUNT,\n configPath: '',\n label: 'Hide viewer count',\n tip: 'Turn this ON to hide the viewer count the web page.',\n};\n\nexport const DEFAULT_VARIANT_STATE: VideoVariant = {\n framerate: 24,\n videoPassthrough: false,\n videoBitrate: 800,\n audioPassthrough: true, // if false, then CAN set audiobitrate\n audioBitrate: 0,\n cpuUsageLevel: 3,\n scaledHeight: null,\n scaledWidth: null,\n name: '',\n};\n\nexport const FIELD_PROPS_DISABLE_CHAT = {\n apiPath: API_CHAT_DISABLE,\n configPath: '',\n label: 'Chat',\n tip: 'Turn the chat functionality on/off on your Owncast server.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_CHAT_JOIN_MESSAGES_ENABLED = {\n apiPath: API_CHAT_JOIN_MESSAGES_ENABLED,\n configPath: '',\n label: 'Join Messages',\n tip: 'Show when a viewer joins the chat.',\n useSubmit: true,\n};\n\nexport const CHAT_ESTABLISHED_USER_MODE = {\n apiPath: API_CHAT_ESTABLISHED_MODE,\n configPath: '',\n label: 'Established users only',\n tip: 'Only users who have previously been established for some time may chat.',\n useSubmit: true,\n};\n\nexport const TEXTFIELD_PROPS_CHAT_FORBIDDEN_USERNAMES = {\n apiPath: API_CHAT_FORBIDDEN_USERNAMES,\n placeholder: 'username',\n label: 'Forbidden usernames',\n tip: 'A list of words in chat usernames you disallow.',\n};\n\nexport const TEXTFIELD_PROPS_CHAT_SUGGESTED_USERNAMES = {\n apiPath: API_CHAT_SUGGESTED_USERNAMES,\n placeholder: 'username',\n label: 'Default usernames',\n tip: 'An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.',\n min_not_reached: 'At least 10 items are required for this feature.',\n no_entries: 'The default name generator is used.',\n};\n\nexport const FIELD_PROPS_ENABLE_FEDERATION = {\n apiPath: API_FEDERATION_ENABLED,\n configPath: 'federation',\n label: 'Enable Social Features',\n tip: 'Send and receive activities on the Fediverse.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_FEDERATION_IS_PRIVATE = {\n apiPath: API_FEDERATION_PRIVATE,\n configPath: 'federation',\n label: 'Private',\n tip: 'Follow requests will require approval and only followers will see your activity.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_SHOW_FEDERATION_ENGAGEMENT = {\n apiPath: API_FEDERATION_SHOW_ENGAGEMENT,\n configPath: 'showEngagement',\n label: 'Show engagement',\n tip: 'Following, liking and sharing will appear in the chat feed.',\n useSubmit: true,\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_LIVE_MESSAGE = {\n apiPath: API_FEDERATION_GOLIVE_MESSAGE,\n configPath: 'federation',\n maxLength: 500,\n placeholder: 'My stream has started, tune in!',\n label: 'Now Live message',\n tip: 'The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable.',\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_DEFAULT_USER = {\n apiPath: API_FEDERATION_USERNAME,\n configPath: 'federation',\n maxLength: 10,\n placeholder: 'owncast',\n default: 'owncast',\n label: 'Username',\n tip: 'The username used for sending and receiving activities from the Fediverse. For example, if you use \"bob\" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.',\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_INSTANCE_URL = {\n apiPath: API_INSTANCE_URL,\n configPath: 'yp',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Server URL',\n tip: 'The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\nexport const FIELD_PROPS_FEDERATION_NSFW = {\n apiPath: API_NSFW_SWITCH,\n configPath: 'instanceDetails',\n label: 'Potentially NSFW',\n tip: 'Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive.',\n};\n\nexport const FIELD_PROPS_FEDERATION_BLOCKED_DOMAINS = {\n apiPath: API_FEDERATION_BLOCKED_DOMAINS,\n configPath: 'federation',\n label: 'Blocked domains',\n placeholder: 'bad.domain.biz',\n tip: 'You can block specific domains from interacting with you.',\n};\n\nexport const VIDEO_VARIANT_SETTING_DEFAULTS = {\n // this one is currently unused\n audioBitrate: {\n min: 600,\n max: 1200,\n defaultValue: 800,\n unit: 'kbps',\n incrementBy: 100,\n tip: 'nothing to see here',\n },\n videoPassthrough: {\n tip: 'If enabled, all other settings will be disabled. Otherwise configure as desired.',\n },\n audioPassthrough: {\n tip: 'If No is selected, then you should set your desired Audio Bitrate.',\n },\n scaledWidth: {\n fieldName: 'scaledWidth',\n label: 'Resized Width',\n maxLength: 4,\n placeholder: '1080',\n tip: \"Optionally resize this content's width.\",\n },\n scaledHeight: {\n fieldName: 'scaledHeight',\n label: 'Resized Height',\n maxLength: 4,\n placeholder: '720',\n tip: \"Optionally resize this content's height.\",\n },\n};\n\n// VIDEO VARIANT FORM - framerate\nexport const FRAMERATE_DEFAULTS = {\n min: 24,\n max: 120,\n defaultValue: 24,\n unit: 'fps',\n incrementBy: null,\n tip: 'Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content.',\n};\nexport const FRAMERATE_SLIDER_MARKS = {\n [FRAMERATE_DEFAULTS.min]: `${FRAMERATE_DEFAULTS.min} ${FRAMERATE_DEFAULTS.unit}`,\n 25: ' ',\n 30: ' ',\n 50: ' ',\n 60: ' ',\n 90: ' ',\n [FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max} ${FRAMERATE_DEFAULTS.unit}`,\n};\nexport const FRAMERATE_TOOLTIPS = {\n [FRAMERATE_DEFAULTS.min]: `${FRAMERATE_DEFAULTS.min}fps - Good for film, presentations, music, low power/bandwidth servers.`,\n 25: '25fps - Good for film, presentations, music, low power/bandwidth servers.',\n 30: '30fps - Good for slow/casual games, chat, general purpose.',\n 50: '50fps - Good for fast/action games, sports, HD video.',\n 60: '60fps - Good for fast/action games, sports, HD video.',\n 90: '90fps - Good for newer fast games and hardware.',\n [FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max}fps - Experimental, use at your own risk!`,\n};\n// VIDEO VARIANT FORM - bitrate\nexport const VIDEO_BITRATE_DEFAULTS = {\n min: 400,\n max: 6000,\n defaultValue: 1200,\n unit: 'kbps',\n incrementBy: 100,\n tip: 'The overall quality of your stream is generally impacted most by bitrate.',\n};\n\nexport const VIDEO_NAME_DEFAULTS = {\n fieldName: 'name',\n label: 'Name',\n maxLength: 15,\n placeholder: 'HD or Low',\n tip: 'Human-readable name for for displaying in the player.',\n};\n\nexport const VIDEO_BITRATE_SLIDER_MARKS = {\n [VIDEO_BITRATE_DEFAULTS.min]: {\n style: {\n marginLeft: '24px',\n },\n label: `${VIDEO_BITRATE_DEFAULTS.min} ${VIDEO_BITRATE_DEFAULTS.unit}`,\n },\n 3000: 3000,\n 4500: 4500,\n [VIDEO_BITRATE_DEFAULTS.max]: {\n style: {\n marginLeft: '-10px',\n },\n label: `${VIDEO_BITRATE_DEFAULTS.max} ${VIDEO_BITRATE_DEFAULTS.unit}`,\n },\n};\n// VIDEO VARIANT FORM - encoder preset\n// CPU\nexport const ENCODER_PRESET_SLIDER_MARKS = {\n 1: {\n style: {\n marginLeft: '15px',\n },\n label:

lowest

,\n },\n 2: '',\n 3: '',\n 4: '',\n 5: {\n style: {\n marginLeft: '-15px',\n },\n label:

highest

,\n },\n};\nexport const ENCODER_PRESET_TOOLTIPS = {\n 1: 'Lowest hardware usage - lowest quality video',\n 2: 'Low hardware usage - low quality video',\n 3: 'Medium hardware usage - average quality video',\n 4: 'High hardware usage - high quality video',\n 5: 'Highest hardware usage - higher quality video',\n};\n\nexport const ENCODER_RECOMMENDATION_THRESHOLD = {\n VIDEO_HEIGHT: 1080,\n VIDEO_BITRATE: 3000,\n HELP_TEXT:\n 'You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!',\n};\n\nexport const DEFAULT_SOCIAL_HANDLE: SocialHandle = {\n url: '',\n platform: '',\n};\n\nexport const OTHER_SOCIAL_HANDLE_OPTION = 'OTHER_SOCIAL_HANDLE_OPTION';\n\nexport const TEXTFIELD_PROPS_S3_COMMON = {\n maxLength: 255,\n};\n\nexport const S3_TEXT_FIELDS_INFO = {\n accessKey: {\n fieldName: 'accessKey',\n label: 'Access Key',\n maxLength: 255,\n placeholder: 'access key 123',\n tip: '',\n },\n acl: {\n fieldName: 'acl',\n label: 'ACL',\n maxLength: 255,\n placeholder: '',\n tip: 'Optional specific access control value to add to your content. Generally not required.',\n },\n bucket: {\n fieldName: 'bucket',\n label: 'Bucket',\n maxLength: 255,\n placeholder: 'bucket 123',\n tip: 'Create a new bucket for each Owncast instance you may be running.',\n },\n endpoint: {\n fieldName: 'endpoint',\n label: 'Endpoint',\n maxLength: 255,\n placeholder: 'https://your.s3.provider.endpoint.com',\n tip: 'The full URL (with \"https://\") endpoint from your storage provider.',\n useTrim: true,\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n },\n region: {\n fieldName: 'region',\n label: 'Region',\n maxLength: 255,\n placeholder: 'region 123',\n tip: '',\n },\n secret: {\n fieldName: 'secret',\n label: 'Secret key',\n maxLength: 255,\n placeholder: 'your secret key',\n tip: '',\n },\n servingEndpoint: {\n fieldName: 'servingEndpoint',\n label: 'Serving Endpoint',\n maxLength: 255,\n placeholder: 'http://cdn.ss3.provider.endpoint.com',\n tip: 'Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n },\n forcePathStyle: {\n fieldName: 'forcePathStyle',\n label: 'Force path-style',\n tip: \"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)\",\n },\n};\n\nexport const DISCORD_CONFIG_FIELDS = {\n webhookUrl: {\n fieldName: 'webhook',\n label: 'Webhook URL',\n maxLength: 255,\n placeholder: 'https://discord.com/api/webhooks/837/jf38-6iNEv',\n tip: 'The webhook assigned to your channel.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n },\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 300,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n\nexport const BROWSER_PUSH_CONFIG_FIELDS = {\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 200,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n\nexport const TWITTER_CONFIG_FIELDS = {\n apiKey: {\n fieldName: 'apiKey',\n label: 'API Key',\n maxLength: 200,\n tip: '',\n placeholder: `gaUQhRC2lqfrEFfElBXJgOctU`,\n },\n apiSecret: {\n fieldName: 'apiSecret',\n label: 'API Secret',\n maxLength: 200,\n tip: '',\n placeholder: `IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS`,\n },\n accessToken: {\n fieldName: 'accessToken',\n label: 'Access Token',\n maxLength: 200,\n tip: '',\n placeholder: `952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka`,\n },\n accessTokenSecret: {\n fieldName: 'accessTokenSecret',\n label: 'Access Token Secret',\n maxLength: 200,\n tip: '',\n placeholder: `xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg`,\n },\n bearerToken: {\n fieldName: 'bearerToken',\n label: 'Bearer Token',\n maxLength: 200,\n tip: '',\n placeholder: `AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK`,\n },\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 200,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n","import UAParser from 'ua-parser-js';\n\nexport function formatIPAddress(ipAddress: string): string {\n const ipAddressComponents = ipAddress.split(':');\n\n // Wipe out the port component\n ipAddressComponents[ipAddressComponents.length - 1] = '';\n\n let ip = ipAddressComponents.join(':');\n ip = ip.slice(0, ip.length - 1);\n if (ip === '[::1]' || ip === '127.0.0.1') {\n return 'Localhost';\n }\n\n return ip;\n}\n\n// check if obj is {}\nexport function isEmptyObject(obj) {\n return !obj || (Object.keys(obj).length === 0 && obj.constructor === Object);\n}\n\nexport function padLeft(text, pad, size) {\n return String(pad.repeat(size) + text).slice(-size);\n}\n\nexport function parseSecondsToDurationString(seconds = 0) {\n const finiteSeconds = Number.isFinite(+seconds) ? Math.abs(seconds) : 0;\n\n const days = Math.floor(finiteSeconds / 86400);\n const daysString = days > 0 ? `${days} day${days > 1 ? 's' : ''} ` : '';\n\n const hours = Math.floor((finiteSeconds / 3600) % 24);\n const hoursString = hours || days ? padLeft(`${hours}:`, '0', 3) : '';\n\n const mins = Math.floor((finiteSeconds / 60) % 60);\n const minString = padLeft(`${mins}:`, '0', 3);\n\n const secs = Math.floor(finiteSeconds % 60);\n const secsString = padLeft(`${secs}`, '0', 2);\n\n return daysString + hoursString + minString + secsString;\n}\n\nexport function makeAndStringFromArray(arr: string[]): string {\n if (arr.length === 1) return arr[0];\n const firsts = arr.slice(0, arr.length - 1);\n const last = arr[arr.length - 1];\n return `${firsts.join(', ')} and ${last}`;\n}\n\nexport function formatUAstring(uaString: string) {\n const parser = UAParser(uaString);\n const { device, os, browser } = parser;\n const { major: browserVersion, name } = browser;\n const { version: osVersion, name: osName } = os;\n const { model, type } = device;\n\n if (uaString === 'libmpv') {\n return 'mpv media player';\n }\n // Fallback to just displaying the raw agent string.\n if (!name || !browserVersion || !osName) {\n return uaString;\n }\n\n const deviceString = model || type ? ` (${model || type})` : '';\n return `${name} ${browserVersion} on ${osName} ${osVersion}\n ${deviceString}`;\n}\n","import dynamic from 'next/dynamic';\n\n// Lazy loaded components\n\nconst CheckCircleFilled = dynamic(() => import('@ant-design/icons/CheckCircleFilled'), {\n ssr: false,\n});\n\nconst ExclamationCircleFilled = dynamic(() => import('@ant-design/icons/ExclamationCircleFilled'), {\n ssr: false,\n});\n\nconst LoadingOutlined = dynamic(() => import('@ant-design/icons/LoadingOutlined'), {\n ssr: false,\n});\n\nconst WarningOutlined = dynamic(() => import('@ant-design/icons/WarningOutlined'), {\n ssr: false,\n});\n\nexport const STATUS_RESET_TIMEOUT = 3000;\n\nexport const STATUS_ERROR = 'error';\nexport const STATUS_INVALID = 'invalid';\nexport const STATUS_PROCESSING = 'proessing';\nexport const STATUS_SUCCESS = 'success';\nexport const STATUS_WARNING = 'warning';\n\nexport type InputStatusTypes = 'error' | 'invalid' | 'proessing' | 'success' | 'warning';\n\nexport interface StatusState {\n type: InputStatusTypes;\n icon: any; // Element type of sorts?\n message: string;\n}\ninterface InputStates {\n [key: string]: StatusState;\n}\n\nexport const INPUT_STATES: InputStates = {\n [STATUS_SUCCESS]: {\n type: STATUS_SUCCESS,\n icon: ,\n message: 'Success!',\n },\n [STATUS_ERROR]: {\n type: STATUS_ERROR,\n icon: ,\n message: 'An error occurred.',\n },\n [STATUS_INVALID]: {\n type: STATUS_INVALID,\n icon: ,\n message: 'An error occurred.',\n },\n [STATUS_PROCESSING]: {\n type: STATUS_PROCESSING,\n icon: ,\n message: '',\n },\n [STATUS_WARNING]: {\n type: STATUS_WARNING,\n icon: ,\n message: '',\n },\n};\n\n// Don't like any of the default messages in INPUT_STATES? Create a state with custom message by providing an icon style with your message.\nexport function createInputStatus(type: InputStatusTypes, message?: string): StatusState {\n if (!type || !INPUT_STATES[type]) {\n return null;\n }\n if (!message) {\n return INPUT_STATES[type];\n }\n return {\n type,\n icon: INPUT_STATES[type].icon,\n message,\n };\n}\n","// TODO: add a notication after updating info that changes will take place either on a new stream or server restart. may be different for each field.\n\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';\nimport { ConfigDetails, UpdateArgs } from '../types/config-section';\nimport { DEFAULT_VARIANT_STATE } from './config-constants';\n\nexport const initialServerConfigState: ConfigDetails = {\n streamKeys: [],\n adminPassword: '',\n instanceDetails: {\n customStyles: '',\n extraPageContent: '',\n logo: '',\n name: '',\n nsfw: false,\n socialHandles: [],\n streamTitle: '',\n summary: '',\n tags: [],\n title: '',\n welcomeMessage: '',\n offlineMessage: '',\n appearanceVariables: {},\n },\n ffmpegPath: '',\n rtmpServerPort: '',\n webServerPort: '',\n socketHostOverride: null,\n s3: {\n accessKey: '',\n acl: '',\n bucket: '',\n enabled: false,\n endpoint: '',\n region: '',\n secret: '',\n servingEndpoint: '',\n forcePathStyle: false,\n },\n yp: {\n enabled: false,\n instanceUrl: '',\n },\n videoSettings: {\n latencyLevel: 4,\n cpuUsageLevel: 3,\n videoQualityVariants: [DEFAULT_VARIANT_STATE],\n },\n federation: {\n enabled: false,\n isPrivate: false,\n username: '',\n goLiveMessage: '',\n showEngagement: true,\n blockedDomains: [],\n },\n notifications: {\n browser: { enabled: false, goLiveMessage: '' },\n discord: { enabled: false, webhook: '', goLiveMessage: '' },\n twitter: {\n enabled: false,\n goLiveMessage: '',\n apiKey: '',\n apiSecret: '',\n accessToken: '',\n accessTokenSecret: '',\n bearerToken: '',\n },\n },\n externalActions: [],\n supportedCodecs: [],\n videoCodec: '',\n forbiddenUsernames: [],\n suggestedUsernames: [],\n chatDisabled: false,\n chatJoinMessagesEnabled: true,\n chatEstablishedUserMode: false,\n hideViewerCount: false,\n};\n\nconst initialServerStatusState = {\n broadcastActive: false,\n broadcaster: null,\n currentBroadcast: null,\n online: false,\n viewerCount: 0,\n sessionMaxViewerCount: 0,\n sessionPeakViewerCount: 0,\n overallPeakViewerCount: 0,\n versionNumber: '0.0.0',\n streamTitle: '',\n chatDisabled: false,\n health: {\n healthy: true,\n healthPercentage: 100,\n message: '',\n representation: 0,\n },\n};\n\nexport const ServerStatusContext = React.createContext({\n ...initialServerStatusState,\n serverConfig: initialServerConfigState,\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setFieldInConfigState: (args: UpdateArgs) => null,\n});\n\nconst ServerStatusProvider = ({ children }) => {\n const [status, setStatus] = useState(initialServerStatusState);\n const [config, setConfig] = useState(initialServerConfigState);\n\n const getStatus = async () => {\n try {\n const result = await fetchData(STATUS);\n setStatus({ ...result });\n } catch (error) {\n // todo\n }\n };\n const getConfig = async () => {\n try {\n const result = await fetchData(SERVER_CONFIG);\n setConfig(result);\n } catch (error) {\n // todo\n }\n };\n\n const setFieldInConfigState = ({ fieldName, value, path }: UpdateArgs) => {\n const updatedConfig = path\n ? {\n ...config,\n [path]: {\n ...config[path],\n [fieldName]: value,\n },\n }\n : {\n ...config,\n [fieldName]: value,\n };\n setConfig(updatedConfig);\n };\n\n useEffect(() => {\n let getStatusIntervalId = null;\n\n getStatus();\n getStatusIntervalId = setInterval(getStatus, FETCH_INTERVAL);\n\n getConfig();\n\n // returned function will be called on component unmount\n return () => {\n clearInterval(getStatusIntervalId);\n };\n }, []);\n\n // eslint-disable-next-line react/jsx-no-constructed-context-values\n const providerValue = {\n ...status,\n serverConfig: config,\n\n setFieldInConfigState,\n };\n return (\n {children}\n );\n};\n\nServerStatusProvider.propTypes = {\n children: PropTypes.element.isRequired,\n};\n\nexport default ServerStatusProvider;\n","// to use with fields, as the default pattern only checks for `:`,\nexport const DEFAULT_TEXTFIELD_URL_PATTERN = 'https?://.*';\n\n/**\n * Determines if a URL is valid\n * @param {string} url - A URL to validate.\n * @param {string[]} validProtocols - An array of valid protocols. Defaults to web.\n * @returns {boolean} - True if the URI is valid, false otherwise.\n */\nexport function isValidUrl(url: string, validProtocols: string[] = ['http:', 'https:']): boolean {\n try {\n const validationObject = new URL(url);\n\n if (\n validationObject.protocol === '' ||\n validationObject.hostname === '' ||\n !validProtocols.includes(validationObject.protocol)\n ) {\n return false;\n }\n } catch (e) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @param {string} protocol - The protocol we expect the account to be using.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidAccount(account: string, protocol: string): boolean {\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(/:|@/);\n const [service, user, host] = components;\n\n console.log({ account, protocol, service, user, host });\n if (service !== protocol) {\n return false;\n }\n\n if (components.length !== 3 || !service || !user || !host) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidMatrixAccount(account: string): boolean {\n if (account.startsWith('matrix:')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(7);\n } else {\n return false;\n }\n\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(':');\n const [user, host] = components;\n\n if (components.length !== 2 || !user || !host) {\n return false;\n }\n\n return true;\n}\n"],"names":["FormStatusIndicator","status","param","type","icon","message","classes","classNames","concat","empty","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","span","className","jsx","__webpack_exports__","TEXTFIELD_TYPE_TEXT","TEXTFIELD_TYPE_PASSWORD","TEXTFIELD_TYPE_NUMBER","TEXTFIELD_TYPE_TEXTAREA","TEXTFIELD_TYPE_URL","TextField","disabled","fieldName","label","maxLength","onBlur","onChange","onPressEnter","pattern","placeholder","required","tip","useTrim","value","handleChange","val","e","target","trim","handleBlur","handlePressEnter","Field","Input","fieldProps","autoSize","visibilityToggle","InputNumber","min","max","fieldId","statusType","containerClass","div","htmlFor","id","allowClear","p","defaultProps","useTrimLead","onSubmit","TextFieldWithSubmit","apiPath","configPath","initialValue","textFieldProps","submitStatus","setSubmitStatus","useState","hasChanged","setHasChanged","serverStatusData","useContext","ServerStatusContext","setFieldInConfigState","resetTimer","resetStates","clearTimeout","useEffect","changedFieldName","changedValue","newValue","replace","handleSubmit","createInputStatus","STATUS_PROCESSING","postConfigUpdateToAPI","data","onSuccess","path","STATUS_SUCCESS","onError","STATUS_ERROR","setTimeout","RESET_TIMEOUT","textfieldContainerClass","submittable","Button","size","onClick","TextArea","ComposeFederatedPost","open","handleClose","content","setContent","postPending","setPostPending","postSuccessState","setPostSuccessState","close","sendButtonClicked","fetchData","FEDERATION_MESSAGE_SEND","method","auth","console","error","jsx_runtime","Modal","destroyOnClose","width","title","onCancel","footer","loading","toUpperCase","h3","showCount","style","height","SettingOutlined","dynamic","Promise","all","__webpack_require__","then","t","bind","ssr","HomeOutlined","LineChartOutlined","ToolOutlined","PlayCircleFilled","MinusSquareFilled","QuestionCircleOutlined","MessageOutlined","ExperimentOutlined","EditOutlined","MainLayout","children","context","serverConfig","online","broadcaster","versionNumber","instanceDetails","chatDisabled","federation","enabled","federationEnabled","currentStreamTitle","setCurrentStreamTitle","postModalDisplayed","setPostModalDisplayed","alertMessage","AlertMessageContext","router","useRouter","route","Header","Footer","Content","Sider","Layout","upgradeVersion","setUpgradeVersion","checkForUpgrade","result","upgradeVersionAvailable","log","streamTitle","handleStreamTitleChanged","handleCreatePostButtonPressed","appClass","clearAlertMessage","setMessage","headerAlertMessage","Alert","afterClose","banner","closable","streamDurationString","parseSecondsToDurationString","differenceInSeconds","Date","time","statusIcon","statusIndicator","integrationsMenu","Link","href","key","chatMenu","utilitiesMenu","configurationMenu","menuItems","img","alt","src","opacity","position","top","Head","link","rel","sizes","h1","OwncastLogo","variant","Menu","defaultSelectedKeys","substring","defaultOpenKeys","mode","items","Space","direction","Tooltip","display","margin","TEXTFIELD_PROPS_STREAM_TITLE","a","propTypes","PropTypes","AdminLayout","page","Fragment","ServerStatusProvider","AlertMessageProvider","React","Provider","API_CUSTOM_CONTENT","API_CUSTOM_CSS_STYLES","API_INSTANCE_URL","API_NSFW_SWITCH","API_S3_INFO","API_SOCIAL_HANDLES","API_VIDEO_SEGMENTS","API_VIDEO_VARIANTS","API_YP_SWITCH","API_CHAT_FORBIDDEN_USERNAMES","API_CHAT_SUGGESTED_USERNAMES","API_EXTERNAL_ACTIONS","API_VIDEO_CODEC","API_FEDERATION_BLOCKED_DOMAINS","args","SERVER_CONFIG_UPDATE_URL","success","TEXTFIELD_PROPS_SERVER_NAME","TEXTFIELD_PROPS_SERVER_SUMMARY","TEXTFIELD_PROPS_SERVER_OFFLINE_MESSAGE","TEXTFIELD_PROPS_SERVER_WELCOME_MESSAGE","TEXTFIELD_PROPS_LOGO","TEXTFIELD_PROPS_ADMIN_PASSWORD","TEXTFIELD_PROPS_FFMPEG","TEXTFIELD_PROPS_WEB_PORT","TEXTFIELD_PROPS_RTMP_PORT","TEXTFIELD_PROPS_INSTANCE_URL","DEFAULT_TEXTFIELD_URL_PATTERN","TEXTFIELD_PROPS_SOCKET_HOST_OVERRIDE","FIELD_PROPS_TAGS","FIELD_PROPS_NSFW","FIELD_PROPS_YP","FIELD_PROPS_HIDE_VIEWER_COUNT","DEFAULT_VARIANT_STATE","framerate","videoPassthrough","videoBitrate","audioPassthrough","audioBitrate","cpuUsageLevel","scaledHeight","scaledWidth","name","FIELD_PROPS_DISABLE_CHAT","useSubmit","FIELD_PROPS_CHAT_JOIN_MESSAGES_ENABLED","CHAT_ESTABLISHED_USER_MODE","TEXTFIELD_PROPS_CHAT_FORBIDDEN_USERNAMES","TEXTFIELD_PROPS_CHAT_SUGGESTED_USERNAMES","min_not_reached","no_entries","FIELD_PROPS_ENABLE_FEDERATION","FIELD_PROPS_FEDERATION_IS_PRIVATE","FIELD_PROPS_SHOW_FEDERATION_ENGAGEMENT","TEXTFIELD_PROPS_FEDERATION_LIVE_MESSAGE","TEXTFIELD_PROPS_FEDERATION_DEFAULT_USER","default","TEXTFIELD_PROPS_FEDERATION_INSTANCE_URL","FIELD_PROPS_FEDERATION_NSFW","FIELD_PROPS_FEDERATION_BLOCKED_DOMAINS","VIDEO_VARIANT_SETTING_DEFAULTS","defaultValue","unit","incrementBy","FRAMERATE_DEFAULTS","FRAMERATE_SLIDER_MARKS","FRAMERATE_TOOLTIPS","VIDEO_BITRATE_DEFAULTS","VIDEO_NAME_DEFAULTS","VIDEO_BITRATE_SLIDER_MARKS","marginLeft","ENCODER_PRESET_SLIDER_MARKS","ENCODER_PRESET_TOOLTIPS","ENCODER_RECOMMENDATION_THRESHOLD","VIDEO_HEIGHT","VIDEO_BITRATE","HELP_TEXT","DEFAULT_SOCIAL_HANDLE","url","platform","OTHER_SOCIAL_HANDLE_OPTION","S3_TEXT_FIELDS_INFO","accessKey","acl","bucket","endpoint","region","secret","servingEndpoint","forcePathStyle","DISCORD_CONFIG_FIELDS","webhookUrl","goLiveMessage","BROWSER_PUSH_CONFIG_FIELDS","TWITTER_CONFIG_FIELDS","apiKey","apiSecret","accessToken","accessTokenSecret","bearerToken","formatIPAddress","ipAddress","ipAddressComponents","split","length","ip","join","slice","isEmptyObject","obj","Object","keys","constructor","padLeft","text","pad","String","repeat","seconds","finiteSeconds","Number","isFinite","Math","abs","days","floor","daysString","hours","hoursString","minString","secsString","formatUAstring","uaString","parser","UAParser","device","os","browser","major","browserVersion","version","osVersion","osName","model","deviceString","CheckCircleFilled","ExclamationCircleFilled","LoadingOutlined","WarningOutlined","STATUS_INVALID","STATUS_WARNING","INPUT_STATES","color","initialServerConfigState","streamKeys","adminPassword","customStyles","extraPageContent","logo","nsfw","socialHandles","summary","tags","welcomeMessage","offlineMessage","appearanceVariables","ffmpegPath","rtmpServerPort","webServerPort","socketHostOverride","s3","yp","instanceUrl","videoSettings","latencyLevel","videoQualityVariants","isPrivate","username","showEngagement","blockedDomains","notifications","discord","webhook","twitter","externalActions","supportedCodecs","videoCodec","forbiddenUsernames","suggestedUsernames","chatJoinMessagesEnabled","chatEstablishedUserMode","hideViewerCount","initialServerStatusState","broadcastActive","currentBroadcast","viewerCount","sessionMaxViewerCount","sessionPeakViewerCount","overallPeakViewerCount","health","healthy","healthPercentage","representation","setStatus","config","setConfig","getStatus","STATUS","getConfig","SERVER_CONFIG","updatedConfig","getStatusIntervalId","setInterval","FETCH_INTERVAL","clearInterval","providerValue","isValidUrl","validProtocols","validationObject","URL","protocol","hostname","includes","isValidAccount","account","startsWith","components","service","user","host","isValidMatrixAccount"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/710-65427a04fd0b5717.js b/static/web/_next/static/chunks/710-65427a04fd0b5717.js new file mode 100644 index 000000000..96c44743a --- /dev/null +++ b/static/web/_next/static/chunks/710-65427a04fd0b5717.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[710],{50738:function(t,r,n){"use strict";n.d(r,{C:function(){return i}});var e=n(85893);n(67294);var o=n(94184),s=n.n(o),c=n(29403),a=n.n(c);let i=t=>{let{variant:r="simple"}=t,n=s()(a().root,{[a().simple]:"simple"===r,[a().contrast]:"contrast"===r});return(0,e.jsx)("div",{className:n,children:(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,e.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,e.jsx)("g",{children:(0,e.jsxs)("g",{children:[(0,e.jsx)("g",{children:(0,e.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,e.jsx)("path",{fill:"url(#gradient120)",d:"M91.5 75.35Q93.05 71.15 91.65 67.7 90.35 64.5 86.65 62.3 83.2 60.3 78.3 59.4 73.85 58.6 68.6 58.7 63.55 58.85 58.8 59.8 54.25 60.75 50.8 62.2 47.4 63.65 45.5 65.35 43.6 67.15 43.5 69.05 43.35 71.3 45.8 73.9 48.05 76.3 52.1 78.6 56.15 80.9 61.05 82.55 66.3 84.3 71.4 84.8 74.7 85.1 77.55 84.9 80.65 84.6 83.3 83.6 86.15 82.5 88.15 80.55 90.4 78.4 91.5 75.35M70.6 67.5Q72.3 68.4 73.1 69.7 73.9 71.15 73.45 73 73.1 74.3 72.3 75.25 71.55 76.1 70.3 76.6 69.25 77.05 67.75 77.25 66.3 77.4 64.85 77.3 62.3 77.15 59.25 76.3 56.6 75.5 54.15 74.3 51.9 73.2 50.45 72 49.05 70.75 49.1 69.8 49.2 69 50.25 68.25 51.3 67.55 53.15 67 55 66.4 57.25 66.1 59.8 65.8 62.1 65.8 64.65 65.85 66.7 66.2 68.9 66.65 70.6 67.5Z"})]}),(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,e.jsx)("path",{fill:"url(#gradient121)",d:"M66.6 15.05Q66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.75 18.45 32.7 23.4 31.7 28.05 31.35 32.85 31.05 37.2 31.3 41.2 31.6 45.15 32.4 48.35 34 54.9 37.3 56.4 37.6 56.55 37.9 56.65L39.2 56.85Q39.45 56.85 39.95 56.8 42.05 56.6 44.7 55.05 47.25 53.5 50.05 50.8 53.05 47.9 55.85 44.05 58.8 40.05 61.1 35.6 63.8 30.35 65.25 25.3 66.75 19.75 66.6 15.05M47.55 23.15Q48.05 23.25 48.4 23.4 52.45 24.8 52.55 29.85 52.6 34 50 39.4 47.85 43.9 44.85 47.3 42.05 50.5 40.15 50.7L39.9 50.75 39.45 50.7 39.2 50.6Q37.8 49.95 37.25 46.35 36.7 42.7 37.3 38 37.95 32.75 39.75 28.8 41.9 24.1 45.05 23.25 45.6 23.1 45.85 23.1 46.25 23.05 46.65 23.05 47.05 23.05 47.55 23.15Z"})]}),(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,e.jsx)("path",{fill:"url(#gradient122)",d:"M2.7 33.6Q2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7 0 42.6 2.2 47.2 4 51 8 54.35 11.55 57.3 16 59.15 20.5 61 23.85 60.85 24.5 60.85 25.25 60.7 26 60.55 26.5 60.3 27 60.05 27.45 59.65 27.9 59.25 28.15 58.75 29.35 56.45 27.5 51.65 25.6 47 21.75 42.1 17.75 37 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6M10.1 43.55Q10.35 43.1 10.6 42.85 10.85 42.6 11.2 42.4 11.6 42.25 11.9 42.2 13.5 41.9 15.95 43.6 18.15 45.05 20.35 47.7 22.35 50.1 23.55 52.4 24.7 54.75 24.25 55.7 24.15 55.9 24 56 23.85 56.2 23.65 56.25 23.55 56.35 23.25 56.4L22.7 56.5Q21.1 56.6 18.55 55.6 16.05 54.6 13.85 52.95 11.5 51.2 10.35 49.15 9.05 46.8 9.75 44.45 9.9 43.95 10.1 43.55Z"})]}),(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,e.jsx)("path",{fill:"url(#gradient123)",d:"M34.95 74.2L34.75 74.2Q33.2 74.15 31.9 75.25 30.7 76.3 29.85 78.25 29.1 80 28.8 82.2 28.5 84.4 28.7 86.65 29.1 91.4 31.5 94.7 34.3 98.5 39.3 99.7L39.4 99.7 39.7 99.8 39.85 99.8Q45.3 100.85 47.15 97.75 48 96.3 48 94.05 47.95 91.9 47.2 89.35 46.45 86.75 45.1 84.15 43.75 81.5 42.05 79.35 40.25 77.1 38.45 75.75 36.55 74.35 34.95 74.2M33.55 80.4Q34.35 78.2 35.6 78.3L35.65 78.3Q36.9 78.45 38.6 80.9 40.3 83.35 41.15 86.05 42.1 89 41.55 90.75 40.9 92.6 38.35 92.25L38.3 92.25 38.25 92.2 38.1 92.2Q35.6 91.7 34.25 89.6 33.1 87.7 32.95 85 32.8 82.35 33.55 80.4Z"})]}),(0,e.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,e.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,e.jsx)("path",{fill:"url(#gradient124)",d:"M22.7 69.65Q22.25 69.3 21.6 69.05 20.95 68.8 20.25 68.7 19.6 68.55 18.85 68.5 16.7 68.45 14.65 69.15 12.65 69.8 11.4 71.1 10.15 72.5 10.2 74.2 10.25 76.05 11.95 78.2 12.4 78.75 13.05 79.4 13.55 79.9 14.2 80.3 14.7 80.6 15.3 80.85 16 81.1 16.4 81.1 18.2 81.35 19.9 80.35 21.55 79.4 22.75 77.65 24 75.85 24.3 73.95 24.6 71.85 23.55 70.5 23.15 70 22.7 69.65M21.7 71.7Q22.15 72.3 21.9 73.3 21.7 74.25 21 75.25 20.3 76.2 19.4 76.75 18.45 77.35 17.55 77.25L17 77.15Q16.7 77.05 16.45 76.85 16.25 76.75 15.9 76.45 15.7 76.25 15.4 75.9 14.5 74.75 14.7 73.8 14.8 72.95 15.75 72.3 16.6 71.7 17.8 71.4 19 71.1 20.1 71.15L20.65 71.2 21.1 71.3Q21.3 71.4 21.45 71.5L21.7 71.7Z"})]}),(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,e.jsx)("path",{fill:"url(#gradient125)",d:"M52.6 19.25Q59.6 19.25 66.2 20.95 66.7 17.8 66.6 15.05 66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.85 18.3 32.8 22.85 42.25 19.25 52.6 19.25Z"})]}),(0,e.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,e.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,e.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,e.jsx)("path",{fill:"url(#gradient126)",d:"M1.05 37.7Q0 42.6 2.2 47.2 2.95 48.8 4.05 50.25 7.55 41.65 14.4 34.75 14 34.45 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6 2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7Z"})]})]})}),(0,e.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,e.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},64777:function(t,r,n){"use strict";n.d(r,{$i:function(){return T},$l:function(){return $},Bu:function(){return j},E8:function(){return I},Ff:function(){return v},GC:function(){return w},GR:function(){return Y},HP:function(){return B},IO:function(){return E},Kp:function(){return x},Kt:function(){return S},M_:function(){return G},N$:function(){return P},NE:function(){return i},NM:function(){return g},Q_:function(){return f},Qc:function(){return b},RB:function(){return m},UJ:function(){return U},WB:function(){return c},WE:function(){return C},WQ:function(){return Q},Wr:function(){return k},XA:function(){return L},Y9:function(){return Z},a_:function(){return p},ao:function(){return l},bl:function(){return u},e_:function(){return A},hn:function(){return O},iG:function(){return N},iV:function(){return d},jr:function(){return y},kb:function(){return D},kg:function(){return K},ms:function(){return M},nx:function(){return F},op:function(){return J},qk:function(){return h},rQ:function(){return W},sG:function(){return _},um:function(){return R}});var e=n(34155);let o=e.env.NEXT_PUBLIC_ADMIN_USERNAME,s=e.env.NEXT_PUBLIC_ADMIN_STREAMKEY,c="/",a="".concat(c,"api/admin/"),i=15e3,f="".concat(a,"status"),u="".concat(a,"serverconfig"),l="".concat(a,"config"),d="".concat(a,"viewersOverTime"),p="".concat(a,"viewers"),x="".concat(a,"chat/clients"),h="".concat(a,"chat/users/disabled"),g="".concat(a,"chat/users/setenabled"),j="".concat(a,"chat/users/ipbans"),m="".concat(a,"chat/users/ipbans/remove"),y="".concat(a,"chat/users/setmoderator"),w="".concat(a,"chat/users/moderators"),F="".concat(a,"hardwarestats"),_="".concat(a,"logs"),Q="".concat(a,"logs/warnings"),C="".concat(a,"chat/messages"),O="/api/admin/chat/messagevisibility",b="".concat(a,"emoji/upload"),v="".concat(a,"emoji/delete"),M="".concat(a,"accesstokens"),k="".concat(a,"accesstokens/delete"),E="".concat(a,"accesstokens/create"),L="".concat(a,"webhooks"),G="".concat(a,"webhooks/delete"),N="".concat(a,"webhooks/create"),T="".concat(c,"api/socialplatforms"),A="".concat(a,"federation/send"),B="".concat(a,"followers"),I="".concat(a,"followers/pending"),Z="".concat(a,"followers/blocked"),D="".concat(a,"followers/approve"),J="".concat(a,"federation/actions"),P="".concat(a,"metrics/video"),R="".concat(a,"config/streamkeys"),U="".concat(a,"yp/reset");async function W(t,r){let{data:n,method:e="GET",auth:c=!0}=r||{},a={method:e};if(n&&(a.body=JSON.stringify(n)),c&&o&&s){let i=btoa("".concat(o,":").concat(s));a.headers={Authorization:"Basic ".concat(i)},a.mode="cors",a.credentials="include"}try{let f=await fetch(t,a),u=await f.json();if(!f.ok){let l=u.message||"An error has occurred: ".concat(f.status);throw Error(l)}return u}catch(d){return console.error(d),d}}async function $(t,r){let n={method:"GET",auth:!1,...r};return W(t,n)}async function K(t){try{let r=await fetch(t,{referrerPolicy:"no-referrer",referrer:""});if(!r.ok){let n="An error has occured: ".concat(r.status);throw Error(n)}let e=await r.json();return e}catch(o){console.log(o)}return{}}async function S(){return K("https://api.github.com/repos/owncast/owncast/releases/latest")}let X=/^\d+(\.\d+){0,2}$/;async function Y(t){let r=await S(),n=r.tag_name;return("v"===n.substr(0,1)&&(n=n.substr(1)),!function(t,r){if(!t||!r||0===t.length||0===r.length)return!1;if(t===r)return!0;if(X.test(t)&&X.test(r)){let n=t.split(".");for(;n.length<3;)n.push("0");let e=r.split(".");for(;e.length<3;)e.push("0");for(let o=0;o<3;o++){let s=parseInt(n[o],10),c=parseInt(e[o],10);if(s!==c)return s>c}return!0}return t>=r}(t,n))?n:null}},29403:function(t){t.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}}}]); +//# sourceMappingURL=710-65427a04fd0b5717.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/710-65427a04fd0b5717.js.map b/static/web/_next/static/chunks/710-65427a04fd0b5717.js.map new file mode 100644 index 000000000..1d07aa3ff --- /dev/null +++ b/static/web/_next/static/chunks/710-65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AAIF,IAAUC,EAAQ,MAAO,EAAI,CACjC,GAAIT,EAAKW,IAAI,CAACH,IAAUR,EAAKW,IAAI,CAACF,GAAS,CACzC,IAAMG,EAASJ,EAAMK,KAAK,CAAC,KAC3B,KAAOD,EAAOF,MAAM,CAAG,GAAGE,EAAOE,IAAI,CAAC,KACtC,IAAMC,EAASN,EAAOI,KAAK,CAAC,KAC5B,KAAOE,EAAOL,MAAM,CAAG,GAAGK,EAAOD,IAAI,CAAC,KAEtC,IAAK,IAAIE,EAAI,EAAGA,EAAI,EAAGA,IAAK,CAC1B,IAAMC,EAAIC,SAASN,CAAM,CAACI,EAAE,CAAE,IACxBG,EAAID,SAASH,CAAM,CAACC,EAAE,CAAE,IAC9B,GAAIC,IAAME,EAGV,OAAOF,EAAIE,CADA,CAGb,MAAO,EACT,CAAC,OACMX,GAASC,CAClB,EAYgBP,EAAgBE,IACrBA,EAGF,IAAI,qBC7ObgB,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/common/OwncastLogo/OwncastLogo.tsx","webpack://_N_E/./utils/apis.ts","webpack://_N_E/./components/common/OwncastLogo/OwncastLogo.module.scss","webpack://_N_E/"],"sourcesContent":["import React, { FC } from 'react';\nimport cn from 'classnames';\nimport styles from './OwncastLogo.module.scss';\n\nexport type LogoProps = {\n variant: 'simple' | 'contrast';\n};\n\nexport const OwncastLogo: FC = ({ variant = 'simple' }) => {\n const rootClassName = cn(styles.root, {\n [styles.simple]: variant === 'simple',\n [styles.contrast]: variant === 'contrast',\n });\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {' '}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n};\n","/* eslint-disable prefer-destructuring */\nconst ADMIN_USERNAME = process.env.NEXT_PUBLIC_ADMIN_USERNAME;\nconst ADMIN_STREAMKEY = process.env.NEXT_PUBLIC_ADMIN_STREAMKEY;\nexport const NEXT_PUBLIC_API_HOST = process.env.NEXT_PUBLIC_API_HOST;\n\nconst API_LOCATION = `${NEXT_PUBLIC_API_HOST}api/admin/`;\n\nexport const FETCH_INTERVAL = 15000;\n\n// Current inbound broadcaster info\nexport const STATUS = `${API_LOCATION}status`;\n\n// Disconnect inbound stream\nexport const DISCONNECT = `${API_LOCATION}disconnect`;\n\n// Change the current streaming key in memory\nexport const STREAMKEY_CHANGE = `${API_LOCATION}changekey`;\n\n// Current server config\nexport const SERVER_CONFIG = `${API_LOCATION}serverconfig`;\n\n// Base url to update config settings\nexport const SERVER_CONFIG_UPDATE_URL = `${API_LOCATION}config`;\n\n// Get viewer count over time\nexport const VIEWERS_OVER_TIME = `${API_LOCATION}viewersOverTime`;\n\n// Get active viewer details\nexport const ACTIVE_VIEWER_DETAILS = `${API_LOCATION}viewers`;\n\n// Get currently connected chat clients\nexport const CONNECTED_CLIENTS = `${API_LOCATION}chat/clients`;\n\n// Get list of disabled/blocked chat users\nexport const DISABLED_USERS = `${API_LOCATION}chat/users/disabled`;\n\n// Disable/enable a single user\nexport const USER_ENABLED_TOGGLE = `${API_LOCATION}chat/users/setenabled`;\n\n// Get banned IP addresses\nexport const BANNED_IPS = `${API_LOCATION}chat/users/ipbans`;\n\n// Remove IP ban\nexport const BANNED_IP_REMOVE = `${API_LOCATION}chat/users/ipbans/remove`;\n\n// Disable/enable a single user\nexport const USER_SET_MODERATOR = `${API_LOCATION}chat/users/setmoderator`;\n\n// Get list of moderators\nexport const MODERATORS = `${API_LOCATION}chat/users/moderators`;\n\n// Get hardware stats\nexport const HARDWARE_STATS = `${API_LOCATION}hardwarestats`;\n\n// Get all logs\nexport const LOGS_ALL = `${API_LOCATION}logs`;\n\n// Get warnings + errors\nexport const LOGS_WARN = `${API_LOCATION}logs/warnings`;\n\n// Get chat history\nexport const CHAT_HISTORY = `${API_LOCATION}chat/messages`;\n\n// Get chat history\nexport const UPDATE_CHAT_MESSGAE_VIZ = `/api/admin/chat/messagevisibility`;\n\n// Upload a new custom emoji\nexport const UPLOAD_EMOJI = `${API_LOCATION}emoji/upload`;\n\n// Delete a custom emoji\nexport const DELETE_EMOJI = `${API_LOCATION}emoji/delete`;\n\n// Get all access tokens\nexport const ACCESS_TOKENS = `${API_LOCATION}accesstokens`;\n\n// Delete a single access token\nexport const DELETE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/delete`;\n\n// Create a new access token\nexport const CREATE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/create`;\n\n// Get webhooks\nexport const WEBHOOKS = `${API_LOCATION}webhooks`;\n\n// Delete a single webhook\nexport const DELETE_WEBHOOK = `${API_LOCATION}webhooks/delete`;\n\n// Create a single webhook\nexport const CREATE_WEBHOOK = `${API_LOCATION}webhooks/create`;\n\n// hard coded social icons list\nexport const SOCIAL_PLATFORMS_LIST = `${NEXT_PUBLIC_API_HOST}api/socialplatforms`;\n\n// set external action links\nexport const EXTERNAL_ACTIONS = `${API_LOCATION}api/externalactions`;\n\n// send a message to the fediverse\nexport const FEDERATION_MESSAGE_SEND = `${API_LOCATION}federation/send`;\n\n// Get followers\nexport const FOLLOWERS = `${API_LOCATION}followers`;\n\n// Get followers pending approval\nexport const FOLLOWERS_PENDING = `${API_LOCATION}followers/pending`;\n\n// Get followers who were blocked or rejected\nexport const FOLLOWERS_BLOCKED = `${API_LOCATION}followers/blocked`;\n\n// Approve, reject a follow request\nexport const SET_FOLLOWER_APPROVAL = `${API_LOCATION}followers/approve`;\n\n// List of inbound federated actions that took place.\nexport const FEDERATION_ACTIONS = `${API_LOCATION}federation/actions`;\n\nexport const API_STREAM_HEALTH_METRICS = `${API_LOCATION}metrics/video`;\n\n// Save an array of stream keys\nexport const UPDATE_STREAM_KEYS = `${API_LOCATION}config/streamkeys`;\n\nexport const API_YP_RESET = `${API_LOCATION}yp/reset`;\n\nexport const TEMP_UPDATER_API = LOGS_ALL;\n\nconst GITHUB_RELEASE_URL = 'https://api.github.com/repos/owncast/owncast/releases/latest';\n\ninterface FetchOptions {\n data?: any;\n method?: string;\n auth?: boolean;\n}\n\nexport async function fetchData(url: string, options?: FetchOptions) {\n const { data, method = 'GET', auth = true } = options || {};\n\n // eslint-disable-next-line no-undef\n const requestOptions: RequestInit = {\n method,\n };\n\n if (data) {\n requestOptions.body = JSON.stringify(data);\n }\n\n if (auth && ADMIN_USERNAME && ADMIN_STREAMKEY) {\n const encoded = btoa(`${ADMIN_USERNAME}:${ADMIN_STREAMKEY}`);\n requestOptions.headers = {\n Authorization: `Basic ${encoded}`,\n };\n requestOptions.mode = 'cors';\n requestOptions.credentials = 'include';\n }\n\n try {\n const response = await fetch(url, requestOptions);\n const json = await response.json();\n\n if (!response.ok) {\n const message = json.message || `An error has occurred: ${response.status}`;\n throw new Error(message);\n }\n return json;\n } catch (error) {\n console.error(error);\n return error;\n // console.log(error)\n // throw new Error(error)\n }\n}\n\nexport async function getUnauthedData(url: string, options?: FetchOptions) {\n const opts = {\n method: 'GET',\n auth: false,\n ...options,\n };\n return fetchData(url, opts);\n}\n\nexport async function fetchExternalData(url: string) {\n try {\n const response = await fetch(url, {\n referrerPolicy: 'no-referrer', // Send no referrer header for privacy reasons.\n referrer: '',\n });\n if (!response.ok) {\n const message = `An error has occured: ${response.status}`;\n throw new Error(message);\n }\n const json = await response.json();\n return json;\n } catch (error) {\n console.log(error);\n }\n return {};\n}\n\nexport async function getGithubRelease() {\n return fetchExternalData(GITHUB_RELEASE_URL);\n}\n\n// Stolen from https://gist.github.com/prenagha/98bbb03e27163bc2f5e4\nconst VPAT = /^\\d+(\\.\\d+){0,2}$/;\nfunction upToDate(local, remote) {\n if (!local || !remote || local.length === 0 || remote.length === 0) return false;\n if (local === remote) return true;\n if (VPAT.test(local) && VPAT.test(remote)) {\n const lparts = local.split('.');\n while (lparts.length < 3) lparts.push('0');\n const rparts = remote.split('.');\n while (rparts.length < 3) rparts.push('0');\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < 3; i++) {\n const l = parseInt(lparts[i], 10);\n const r = parseInt(rparts[i], 10);\n if (l === r)\n // eslint-disable-next-line no-continue\n continue;\n return l > r;\n }\n return true;\n }\n return local >= remote;\n}\n\n// Make a request to the server status API and the Github releases API\n// and return a release if it's newer than the server version.\nexport async function upgradeVersionAvailable(currentVersion) {\n const recentRelease = await getGithubRelease();\n let recentReleaseVersion = recentRelease.tag_name;\n\n if (recentReleaseVersion.substr(0, 1) === 'v') {\n recentReleaseVersion = recentReleaseVersion.substr(1);\n }\n\n if (!upToDate(currentVersion, recentReleaseVersion)) {\n return recentReleaseVersion;\n }\n\n return null;\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"OwncastLogo_root__uDVJf\",\"contrast\":\"OwncastLogo_contrast__rDMJY\",\"simple\":\"OwncastLogo_simple___hC9r\"};"],"names":["OwncastLogo","variant","param","rootClassName","cn","styles","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","className","svg","xmlns","viewBox","g","transform","jsxs","defs","linearGradient","x1","y1","x2","y2","id","gradientTransform","stop","offset","stopColor","stopOpacity","path","fill","d","fillOpacity","ADMIN_USERNAME","process","env","NEXT_PUBLIC_ADMIN_USERNAME","ADMIN_STREAMKEY","NEXT_PUBLIC_ADMIN_STREAMKEY","NEXT_PUBLIC_API_HOST","API_LOCATION","concat","FETCH_INTERVAL","STATUS","SERVER_CONFIG","SERVER_CONFIG_UPDATE_URL","VIEWERS_OVER_TIME","ACTIVE_VIEWER_DETAILS","CONNECTED_CLIENTS","DISABLED_USERS","USER_ENABLED_TOGGLE","BANNED_IPS","BANNED_IP_REMOVE","USER_SET_MODERATOR","MODERATORS","HARDWARE_STATS","LOGS_ALL","LOGS_WARN","CHAT_HISTORY","UPDATE_CHAT_MESSGAE_VIZ","UPLOAD_EMOJI","DELETE_EMOJI","ACCESS_TOKENS","DELETE_ACCESS_TOKEN","CREATE_ACCESS_TOKEN","WEBHOOKS","DELETE_WEBHOOK","CREATE_WEBHOOK","SOCIAL_PLATFORMS_LIST","FEDERATION_MESSAGE_SEND","FOLLOWERS","FOLLOWERS_PENDING","FOLLOWERS_BLOCKED","SET_FOLLOWER_APPROVAL","FEDERATION_ACTIONS","API_STREAM_HEALTH_METRICS","UPDATE_STREAM_KEYS","API_YP_RESET","fetchData","url","options","data","method","auth","requestOptions","body","JSON","stringify","encoded","btoa","headers","Authorization","mode","credentials","response","fetch","json","ok","message","status","error","console","getUnauthedData","opts","fetchExternalData","referrerPolicy","referrer","log","getGithubRelease","VPAT","upgradeVersionAvailable","currentVersion","recentRelease","recentReleaseVersion","tag_name","substr","upToDate","local","remote","length","test","lparts","split","push","rparts","i","l","parseInt","r","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js b/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js new file mode 100644 index 000000000..0bb8b8d31 --- /dev/null +++ b/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7118],{97937:function(i,e,o){"use strict";o.d(e,{Z:function(){return b}});var r=o(1413),a=o(67294),t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},n=o(42135),s=function(i,e){return a.createElement(n.Z,(0,r.Z)((0,r.Z)({},i),{},{ref:e,icon:t}))};s.displayName="CloseOutlined";var b=a.forwardRef(s)},80882:function(i,e,o){"use strict";o.d(e,{Z:function(){return b}});var r=o(1413),a=o(67294),t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},n=o(42135),s=function(i,e){return a.createElement(n.Z,(0,r.Z)((0,r.Z)({},i),{},{ref:e,icon:t}))};s.displayName="DownOutlined";var b=a.forwardRef(s)},13882:function(i,e,o){"use strict";function r(i,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}o.d(e,{Z:function(){return r}})},19013:function(i,e,o){"use strict";o.d(e,{Z:function(){return t}});var r=o(13882);function a(i){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}function t(i){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(i);return i instanceof Date||"object"===a(i)&&"[object Date]"===e?new Date(i.getTime()):"number"==typeof i||"[object Number]"===e?new Date(i):(("string"==typeof i||"[object String]"===e)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},42238:function(i,e,o){var r;!function(a,t){"use strict";var n="function",s="undefined",b="object",w="string",l="model",c="name",u="type",d="vendor",p="version",m="architecture",f="console",h="mobile",g="tablet",v="smarttv",x="wearable",k="embedded",y="Amazon",_="Apple",S="ASUS",N="BlackBerry",T="Browser",q="Chrome",z="Firefox",E="Google",A="Huawei",C="Microsoft",O="Motorola",j="Opera",Z="Samsung",R="Sharp",U="Sony",D="Xiaomi",M="Zebra",B="Facebook",L=function(i,e){var o={};for(var r in i)e[r]&&e[r].length%2==0?o[r]=e[r].concat(i[r]):o[r]=i[r];return o},P=function(i){for(var e={},o=0;o0?2===s.length?typeof s[1]==n?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==n||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):t:this[s[0]]=l?s[1].call(this,l,s[2]):t:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):t):this[s]=l||t;c+=2}},F=function(i,e){for(var o in e)if(typeof e[o]===b&&e[o].length>0){for(var r=0;r350?I(i,350):i,this},this.setUA(o),this};X.VERSION="1.0.32",X.BROWSER=P([c,p,"major"]),X.CPU=P([m]),X.DEVICE=P([l,d,u,f,h,v,g,x,k]),X.ENGINE=X.OS=P([c,p]),typeof e!==s?(i.exports&&(e=i.exports=X),e.UAParser=X):o.amdO?(r=(function(){return X}).call(e,o,e,i),t!==r&&(i.exports=r)):typeof a!==s&&(a.UAParser=X);var K=typeof a!==s&&(a.jQuery||a.Zepto);if(K&&!K.ua){var Q=new X;K.ua=Q.getResult(),K.ua.get=function(){return Q.getUA()},K.ua.set=function(i){Q.setUA(i);var e=Q.getResult();for(var o in e)K.ua[o]=e[o]}}}("object"==typeof window?window:this)}}]); +//# sourceMappingURL=7118-0b606f46aa3a6309.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js.map b/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js.map new file mode 100644 index 000000000..e4c7f8158 --- /dev/null +++ b/static/web/_next/static/chunks/7118-0b606f46aa3a6309.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/7118-0b606f46aa3a6309.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,k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CAAAxC,GACA,IAAAuD,EAAAH,EAAA/B,SAAA,GACA,QAAAmC,KAAAD,EACAN,EAAAjD,EAAA,CAAAwD,EAAA,CAAAD,CAAA,CAAAC,EAAA,CAGA,GAEC,iBAAAlH,OAAAA,OAAA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CloseOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DownOutlined.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack://_N_E/./node_modules/date-fns/esm/toDate/index.js","webpack://_N_E/./node_modules/ua-parser-js/src/ua-parser.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CloseOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z\" } }] }, \"name\": \"close\", \"theme\": \"outlined\" };\nexport default CloseOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CloseOutlinedSvg from \"@ant-design/icons-svg/es/asn/CloseOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CloseOutlined = function CloseOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CloseOutlinedSvg\n }));\n};\nCloseOutlined.displayName = 'CloseOutlined';\nexport default /*#__PURE__*/React.forwardRef(CloseOutlined);","// This icon file is generated automatically.\nvar DownOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z\" } }] }, \"name\": \"down\", \"theme\": \"outlined\" };\nexport default DownOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DownOutlinedSvg from \"@ant-design/icons-svg/es/asn/DownOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DownOutlined = function DownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DownOutlinedSvg\n }));\n};\nDownOutlined.displayName = 'DownOutlined';\nexport default /*#__PURE__*/React.forwardRef(DownOutlined);","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}","/////////////////////////////////////////////////////////////////////////////////\n/* UAParser.js v1.0.32\n Copyright © 2012-2021 Faisal Salman \n MIT License *//*\n Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.\n Supports browser & node.js environment. \n Demo : https://faisalman.github.io/ua-parser-js\n Source : https://github.com/faisalman/ua-parser-js */\n/////////////////////////////////////////////////////////////////////////////////\n\n(function (window, undefined) {\n\n 'use strict';\n\n //////////////\n // Constants\n /////////////\n\n\n var LIBVERSION = '1.0.32',\n EMPTY = '',\n UNKNOWN = '?',\n FUNC_TYPE = 'function',\n UNDEF_TYPE = 'undefined',\n OBJ_TYPE = 'object',\n STR_TYPE = 'string',\n MAJOR = 'major',\n MODEL = 'model',\n NAME = 'name',\n TYPE = 'type',\n VENDOR = 'vendor',\n VERSION = 'version',\n ARCHITECTURE= 'architecture',\n CONSOLE = 'console',\n MOBILE = 'mobile',\n TABLET = 'tablet',\n SMARTTV = 'smarttv',\n WEARABLE = 'wearable',\n EMBEDDED = 'embedded',\n UA_MAX_LENGTH = 350;\n\n var AMAZON = 'Amazon',\n APPLE = 'Apple',\n ASUS = 'ASUS',\n BLACKBERRY = 'BlackBerry',\n BROWSER = 'Browser',\n CHROME = 'Chrome',\n EDGE = 'Edge',\n FIREFOX = 'Firefox',\n GOOGLE = 'Google',\n HUAWEI = 'Huawei',\n LG = 'LG',\n MICROSOFT = 'Microsoft',\n MOTOROLA = 'Motorola',\n OPERA = 'Opera',\n SAMSUNG = 'Samsung',\n SHARP = 'Sharp',\n SONY = 'Sony',\n XIAOMI = 'Xiaomi',\n ZEBRA = 'Zebra',\n FACEBOOK = 'Facebook';\n\n ///////////\n // Helper\n //////////\n\n var extend = function (regexes, extensions) {\n var mergedRegexes = {};\n for (var i in regexes) {\n if (extensions[i] && extensions[i].length % 2 === 0) {\n mergedRegexes[i] = extensions[i].concat(regexes[i]);\n } else {\n mergedRegexes[i] = regexes[i];\n }\n }\n return mergedRegexes;\n },\n enumerize = function (arr) {\n var enums = {};\n for (var i=0; i 0) {\n if (q.length === 2) {\n if (typeof q[1] == FUNC_TYPE) {\n // assign modified match\n this[q[0]] = q[1].call(this, match);\n } else {\n // assign given value, ignore regex match\n this[q[0]] = q[1];\n }\n } else if (q.length === 3) {\n // check whether function or regex\n if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\n // call function (usually string mapper)\n this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\n } else {\n // sanitize match using given regex\n this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\n }\n } else if (q.length === 4) {\n this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\n }\n } else {\n this[q] = match ? match : undefined;\n }\n }\n }\n }\n i += 2;\n }\n },\n\n strMapper = function (str, map) {\n\n for (var i in map) {\n // check if current value is array\n if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\n for (var j = 0; j < map[i].length; j++) {\n if (has(map[i][j], str)) {\n return (i === UNKNOWN) ? undefined : i;\n }\n }\n } else if (has(map[i], str)) {\n return (i === UNKNOWN) ? undefined : i;\n }\n }\n return str;\n };\n\n ///////////////\n // String map\n //////////////\n\n // Safari < 3.0\n var oldSafariMap = {\n '1.0' : '/8',\n '1.2' : '/1',\n '1.3' : '/3',\n '2.0' : '/412',\n '2.0.2' : '/416',\n '2.0.3' : '/417',\n '2.0.4' : '/419',\n '?' : '/'\n },\n windowsVersionMap = {\n 'ME' : '4.90',\n 'NT 3.11' : 'NT3.51',\n 'NT 4.0' : 'NT4.0',\n '2000' : 'NT 5.0',\n 'XP' : ['NT 5.1', 'NT 5.2'],\n 'Vista' : 'NT 6.0',\n '7' : 'NT 6.1',\n '8' : 'NT 6.2',\n '8.1' : 'NT 6.3',\n '10' : ['NT 6.4', 'NT 10.0'],\n 'RT' : 'ARM'\n };\n\n //////////////\n // Regex map\n /////////////\n\n var regexes = {\n\n browser : [[\n\n /\\b(?:crmo|crios)\\/([\\w\\.]+)/i // Chrome for Android/iOS\n ], [VERSION, [NAME, 'Chrome']], [\n /edg(?:e|ios|a)?\\/([\\w\\.]+)/i // Microsoft Edge\n ], [VERSION, [NAME, 'Edge']], [\n\n // Presto based\n /(opera mini)\\/([-\\w\\.]+)/i, // Opera Mini\n /(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i, // Opera Mobi/Tablet\n /(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i // Opera\n ], [NAME, VERSION], [\n /opios[\\/ ]+([\\w\\.]+)/i // Opera mini on iphone >= 8.0\n ], [VERSION, [NAME, OPERA+' Mini']], [\n /\\bopr\\/([\\w\\.]+)/i // Opera Webkit\n ], [VERSION, [NAME, OPERA]], [\n\n // Mixed\n /(kindle)\\/([\\w\\.]+)/i, // Kindle\n /(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer\n // Trident based\n /(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i, // Avant/IEMobile/SlimBrowser\n /(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i, // Baidu Browser\n /(?:ms|\\()(ie) ([\\w\\.]+)/i, // Internet Explorer\n\n // Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon\n /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,\n // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ\n /(weibo)__([\\d\\.]+)/i // Weibo\n ], [NAME, VERSION], [\n /(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i // UCBrowser\n ], [VERSION, [NAME, 'UC'+BROWSER]], [\n /microm.+\\bqbcore\\/([\\w\\.]+)/i, // WeChat Desktop for Windows Built-in Browser\n /\\bqbcore\\/([\\w\\.]+).+microm/i\n ], [VERSION, [NAME, 'WeChat(Win) Desktop']], [\n /micromessenger\\/([\\w\\.]+)/i // WeChat\n ], [VERSION, [NAME, 'WeChat']], [\n /konqueror\\/([\\w\\.]+)/i // Konqueror\n ], [VERSION, [NAME, 'Konqueror']], [\n /trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i // IE11\n ], [VERSION, [NAME, 'IE']], [\n /yabrowser\\/([\\w\\.]+)/i // Yandex\n ], [VERSION, [NAME, 'Yandex']], [\n /(avast|avg)\\/([\\w\\.]+)/i // Avast/AVG Secure Browser\n ], [[NAME, /(.+)/, '$1 Secure '+BROWSER], VERSION], [\n /\\bfocus\\/([\\w\\.]+)/i // Firefox Focus\n ], [VERSION, [NAME, FIREFOX+' Focus']], [\n /\\bopt\\/([\\w\\.]+)/i // Opera Touch\n ], [VERSION, [NAME, OPERA+' Touch']], [\n /coc_coc\\w+\\/([\\w\\.]+)/i // Coc Coc Browser\n ], [VERSION, [NAME, 'Coc Coc']], [\n /dolfin\\/([\\w\\.]+)/i // Dolphin\n ], [VERSION, [NAME, 'Dolphin']], [\n /coast\\/([\\w\\.]+)/i // Opera Coast\n ], [VERSION, [NAME, OPERA+' Coast']], [\n /miuibrowser\\/([\\w\\.]+)/i // MIUI Browser\n ], [VERSION, [NAME, 'MIUI '+BROWSER]], [\n /fxios\\/([-\\w\\.]+)/i // Firefox for iOS\n ], [VERSION, [NAME, FIREFOX]], [\n /\\bqihu|(qi?ho?o?|360)browser/i // 360\n ], [[NAME, '360 '+BROWSER]], [\n /(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i\n ], [[NAME, /(.+)/, '$1 '+BROWSER], VERSION], [ // Oculus/Samsung/Sailfish/Huawei Browser\n /(comodo_dragon)\\/([\\w\\.]+)/i // Comodo Dragon\n ], [[NAME, /_/g, ' '], VERSION], [\n /(electron)\\/([\\w\\.]+) safari/i, // Electron-based App\n /(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i, // Tesla\n /m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i // QQBrowser/Baidu App/2345 Browser\n ], [NAME, VERSION], [\n /(metasr)[\\/ ]?([\\w\\.]+)/i, // SouGouBrowser\n /(lbbrowser)/i, // LieBao Browser\n /\\[(linkedin)app\\]/i // LinkedIn App for iOS & Android\n ], [NAME], [\n\n // WebView\n /((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i // Facebook App for iOS & Android\n ], [[NAME, FACEBOOK], VERSION], [\n /safari (line)\\/([\\w\\.]+)/i, // Line App for iOS\n /\\b(line)\\/([\\w\\.]+)\\/iab/i, // Line App for Android\n /(chromium|instagram)[\\/ ]([-\\w\\.]+)/i // Chromium/Instagram\n ], [NAME, VERSION], [\n /\\bgsa\\/([\\w\\.]+) .*safari\\//i // Google Search Appliance on iOS\n ], [VERSION, [NAME, 'GSA']], [\n\n /headlesschrome(?:\\/([\\w\\.]+)| )/i // Chrome Headless\n ], [VERSION, [NAME, CHROME+' Headless']], [\n\n / wv\\).+(chrome)\\/([\\w\\.]+)/i // Chrome WebView\n ], [[NAME, CHROME+' WebView'], VERSION], [\n\n /droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i // Android Browser\n ], [VERSION, [NAME, 'Android '+BROWSER]], [\n\n /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia\n ], [NAME, VERSION], [\n\n /version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i // Mobile Safari\n ], [VERSION, [NAME, 'Mobile Safari']], [\n /version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile\n ], [VERSION, NAME], [\n /webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i // Safari < 3.0\n ], [NAME, [VERSION, strMapper, oldSafariMap]], [\n\n /(webkit|khtml)\\/([\\w\\.]+)/i\n ], [NAME, VERSION], [\n\n // Gecko based\n /(navigator|netscape\\d?)\\/([-\\w\\.]+)/i // Netscape\n ], [[NAME, 'Netscape'], VERSION], [\n /mobile vr; rv:([\\w\\.]+)\\).+firefox/i // Firefox Reality\n ], [VERSION, [NAME, FIREFOX+' Reality']], [\n /ekiohf.+(flow)\\/([\\w\\.]+)/i, // Flow\n /(swiftfox)/i, // Swiftfox\n /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,\n // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar\n /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,\n // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\n /(firefox)\\/([\\w\\.]+)/i, // Other Firefox-based\n /(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i, // Mozilla\n\n // Other\n /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,\n // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser\n /(links) \\(([\\w\\.]+)/i // Links\n ], [NAME, VERSION]\n ],\n\n cpu : [[\n\n /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i // AMD64 (x64)\n ], [[ARCHITECTURE, 'amd64']], [\n\n /(ia32(?=;))/i // IA32 (quicktime)\n ], [[ARCHITECTURE, lowerize]], [\n\n /((?:i[346]|x)86)[;\\)]/i // IA32 (x86)\n ], [[ARCHITECTURE, 'ia32']], [\n\n /\\b(aarch64|arm(v?8e?l?|_?64))\\b/i // ARM64\n ], [[ARCHITECTURE, 'arm64']], [\n\n /\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i // ARMHF\n ], [[ARCHITECTURE, 'armhf']], [\n\n // PocketPC mistakenly identified as PowerPC\n /windows (ce|mobile); ppc;/i\n ], [[ARCHITECTURE, 'arm']], [\n\n /((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i // PowerPC\n ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [\n\n /(sun4\\w)[;\\)]/i // SPARC\n ], [[ARCHITECTURE, 'sparc']], [\n\n /((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i\n // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\n ], [[ARCHITECTURE, lowerize]]\n ],\n\n device : [[\n\n //////////////////////////\n // MOBILES & TABLETS\n // Ordered by popularity\n /////////////////////////\n\n // Samsung\n /\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [\n /\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,\n /samsung[- ]([-\\w]+)/i,\n /sec-(sgh\\w+)/i\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [\n\n // Apple\n /\\((ip(?:hone|od)[\\w ]*);/i // iPod/iPhone\n ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [\n /\\((ipad);[-\\w\\),; ]+apple/i, // iPad\n /applecoremedia\\/[\\w\\.]+ \\((ipad)/i,\n /\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i\n ], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [\n\n // Huawei\n /\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [\n /(?:huawei|honor)([-\\w ]+)[;\\)]/i,\n /\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [\n\n // Xiaomi\n /\\b(poco[\\w ]+)(?: bui|\\))/i, // Xiaomi POCO\n /\\b; (\\w+) build\\/hm\\1/i, // Xiaomi Hongmi 'numeric' models\n /\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i, // Xiaomi Hongmi\n /\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i, // Xiaomi Redmi\n /\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i // Xiaomi Mi\n ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [\n /\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i // Mi Pad tablets\n ],[[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [\n\n // OPPO\n /; (\\w+) bui.+ oppo/i,\n /\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i\n ], [MODEL, [VENDOR, 'OPPO'], [TYPE, MOBILE]], [\n\n // Vivo\n /vivo (\\w+)(?: bui|\\))/i,\n /\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i\n ], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [\n\n // Realme\n /\\b(rmx[12]\\d{3})(?: bui|;|\\))/i\n ], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [\n\n // Motorola\n /\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,\n /\\bmot(?:orola)?[- ](\\w*)/i,\n /((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [\n /\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [\n\n // LG\n /((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i\n ], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [\n /(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,\n /\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,\n /\\blg-?([\\d\\w]+) bui/i\n ], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [\n\n // Lenovo\n /(ideatab[-\\w ]+)/i,\n /lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i\n ], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [\n\n // Nokia\n /(?:maemo|nokia).*(n900|lumia \\d+)/i,\n /nokia[-_ ]?([-\\w\\.]*)/i\n ], [[MODEL, /_/g, ' '], [VENDOR, 'Nokia'], [TYPE, MOBILE]], [\n\n // Google\n /(pixel c)\\b/i // Google Pixel C\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [\n /droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i // Google Pixel\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [\n\n // Sony\n /droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i\n ], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [\n /sony tablet [ps]/i,\n /\\b(?:sony)?sgp\\w+(?: bui|\\))/i\n ], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [\n\n // OnePlus\n / (kb2005|in20[12]5|be20[12][59])\\b/i,\n /(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i\n ], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [\n\n // Amazon\n /(alexa)webm/i,\n /(kf[a-z]{2}wi)( bui|\\))/i, // Kindle Fire without Silk\n /(kf[a-z]+)( bui|\\)).+silk\\//i // Kindle Fire HD\n ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [\n /((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i // Fire Phone\n ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [\n\n // BlackBerry\n /(playbook);[-\\w\\),; ]+(rim)/i // BlackBerry PlayBook\n ], [MODEL, VENDOR, [TYPE, TABLET]], [\n /\\b((?:bb[a-f]|st[hv])100-\\d)/i,\n /\\(bb10; (\\w+)/i // BlackBerry 10\n ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [\n\n // Asus\n /(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i\n ], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [\n / (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i\n ], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [\n\n // HTC\n /(nexus 9)/i // HTC Nexus 9\n ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [\n /(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i, // HTC\n\n // ZTE\n /(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,\n /(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony\n ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [\n\n // Acer\n /droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i\n ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [\n\n // Meizu\n /droid.+; (m[1-5] note) bui/i,\n /\\bmz-([-\\w]{2,})/i\n ], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [\n\n // Sharp\n /\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i\n ], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [\n\n // MIXED\n /(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,\n // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\n /(hp) ([\\w ]+\\w)/i, // HP iPAQ\n /(asus)-?(\\w+)/i, // Asus\n /(microsoft); (lumia[\\w ]+)/i, // Microsoft Lumia\n /(lenovo)[-_ ]?([-\\w]+)/i, // Lenovo\n /(jolla)/i, // Jolla\n /(oppo) ?([\\w ]+) bui/i // OPPO\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n\n /(archos) (gamepad2?)/i, // Archos\n /(hp).+(touchpad(?!.+tablet)|tablet)/i, // HP TouchPad\n /(kindle)\\/([\\w\\.]+)/i, // Kindle\n /(nook)[\\w ]+build\\/(\\w+)/i, // Nook\n /(dell) (strea[kpr\\d ]*[\\dko])/i, // Dell Streak\n /(le[- ]+pan)[- ]+(\\w{1,9}) bui/i, // Le Pan Tablets\n /(trinity)[- ]*(t\\d{3}) bui/i, // Trinity Tablets\n /(gigaset)[- ]+(q\\w{1,9}) bui/i, // Gigaset Tablets\n /(vodafone) ([\\w ]+)(?:\\)| bui)/i // Vodafone\n ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n /(surface duo)/i // Surface Duo\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [\n /droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i // Fairphone\n ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [\n /(u304aa)/i // AT&T\n ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [\n /\\bsie-(\\w*)/i // Siemens\n ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [\n /\\b(rct\\w+) b/i // RCA Tablets\n ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [\n /\\b(venue[\\d ]{2,7}) b/i // Dell Venue Tablets\n ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [\n /\\b(q(?:mv|ta)\\w+) b/i // Verizon Tablet\n ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [\n /\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i // Barnes & Noble Tablet\n ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [\n /\\b(tm\\d{3}\\w+) b/i\n ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [\n /\\b(k88) b/i // ZTE K Series Tablet\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [\n /\\b(nx\\d{3}j) b/i // ZTE Nubia\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [\n /\\b(gen\\d{3}) b.+49h/i // Swiss GEN Mobile\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [\n /\\b(zur\\d{3}) b/i // Swiss ZUR Tablet\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [\n /\\b((zeki)?tb.*\\b) b/i // Zeki Tablets\n ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [\n /\\b([yr]\\d{2}) b/i,\n /\\b(dragon[- ]+touch |dt)(\\w{5}) b/i // Dragon Touch Tablet\n ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [\n /\\b(ns-?\\w{0,9}) b/i // Insignia Tablets\n ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [\n /\\b((nxa|next)-?\\w{0,9}) b/i // NextBook Tablets\n ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [\n /\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones\n ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [\n /\\b(lvtel\\-)?(v1[12]) b/i // LvTel Phones\n ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [\n /\\b(ph-1) /i // Essential PH-1\n ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [\n /\\b(v(100md|700na|7011|917g).*\\b) b/i // Envizen Tablets\n ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [\n /\\b(trio[-\\w\\. ]+) b/i // MachSpeed Tablets\n ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [\n /\\btu_(1491) b/i // Rotor Tablets\n ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [\n /(shield[\\w ]+) b/i // Nvidia Shield Tablets\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, TABLET]], [\n /(sprint) (\\w+)/i // Sprint Phones\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n /(kin\\.[onetw]{3})/i // Microsoft Kin\n ], [[MODEL, /\\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [\n /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i // Zebra\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [\n /droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [\n\n ///////////////////\n // CONSOLES\n ///////////////////\n\n /(ouya)/i, // Ouya\n /(nintendo) ([wids3utch]+)/i // Nintendo\n ], [VENDOR, MODEL, [TYPE, CONSOLE]], [\n /droid.+; (shield) bui/i // Nvidia\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [\n /(playstation [345portablevi]+)/i // Playstation\n ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [\n /\\b(xbox(?: one)?(?!; xbox))[\\); ]/i // Microsoft Xbox\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [\n\n ///////////////////\n // SMARTTVS\n ///////////////////\n\n /smart-tv.+(samsung)/i // Samsung\n ], [VENDOR, [TYPE, SMARTTV]], [\n /hbbtv.+maple;(\\d+)/i\n ], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [\n /(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i // LG SmartTV\n ], [[VENDOR, LG], [TYPE, SMARTTV]], [\n /(apple) ?tv/i // Apple TV\n ], [VENDOR, [MODEL, APPLE+' TV'], [TYPE, SMARTTV]], [\n /crkey/i // Google Chromecast\n ], [[MODEL, CHROME+'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [\n /droid.+aft(\\w)( bui|\\))/i // Fire TV\n ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [\n /\\(dtv[\\);].+(aquos)/i,\n /(aquos-tv[\\w ]+)\\)/i // Sharp\n ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],[\n /(bravia[\\w ]+)( bui|\\))/i // Sony\n ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [\n /(mitv-\\w{5}) bui/i // Xiaomi\n ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [\n /\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i, // Roku\n /hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i // HbbTV devices\n ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [\n /\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i // SmartTV from Unidentified Vendors\n ], [[TYPE, SMARTTV]], [\n\n ///////////////////\n // WEARABLES\n ///////////////////\n\n /((pebble))app/i // Pebble\n ], [VENDOR, MODEL, [TYPE, WEARABLE]], [\n /droid.+; (glass) \\d/i // Google Glass\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [\n /droid.+; (wt63?0{2,3})\\)/i\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [\n /(quest( 2)?)/i // Oculus Quest\n ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [\n\n ///////////////////\n // EMBEDDED\n ///////////////////\n\n /(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i // Tesla\n ], [VENDOR, [TYPE, EMBEDDED]], [\n\n ////////////////////\n // MIXED (GENERIC)\n ///////////////////\n\n /droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors\n ], [MODEL, [TYPE, MOBILE]], [\n /droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors\n ], [MODEL, [TYPE, TABLET]], [\n /\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i // Unidentifiable Tablet\n ], [[TYPE, TABLET]], [\n /(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile\n ], [[TYPE, MOBILE]], [\n /(android[-\\w\\. ]{0,9});.+buil/i // Generic Android Device\n ], [MODEL, [VENDOR, 'Generic']]\n ],\n\n engine : [[\n\n /windows.+ edge\\/([\\w\\.]+)/i // EdgeHTML\n ], [VERSION, [NAME, EDGE+'HTML']], [\n\n /webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i // Blink\n ], [VERSION, [NAME, 'Blink']], [\n\n /(presto)\\/([\\w\\.]+)/i, // Presto\n /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna\n /ekioh(flow)\\/([\\w\\.]+)/i, // Flow\n /(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i, // KHTML/Tasman/Links\n /(icab)[\\/ ]([23]\\.[\\d\\.]+)/i // iCab\n ], [NAME, VERSION], [\n\n /rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i // Gecko\n ], [VERSION, NAME]\n ],\n\n os : [[\n\n // Windows\n /microsoft (windows) (vista|xp)/i // Windows (iTunes)\n ], [NAME, VERSION], [\n /(windows) nt 6\\.2; (arm)/i, // Windows RT\n /(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i, // Windows Phone\n /(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i\n ], [NAME, [VERSION, strMapper, windowsVersionMap]], [\n /(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i\n ], [[NAME, 'Windows'], [VERSION, strMapper, windowsVersionMap]], [\n\n // iOS/macOS\n /ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i, // iOS\n /cfnetwork\\/.+darwin/i\n ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [\n /(mac os x) ?([\\w\\. ]*)/i,\n /(macintosh|mac_powerpc\\b)(?!.+haiku)/i // Mac OS\n ], [[NAME, 'Mac OS'], [VERSION, /_/g, '.']], [\n\n // Mobile OSes\n /droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS\n ], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS\n /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,\n /(blackberry)\\w*\\/([\\w\\.]*)/i, // Blackberry\n /(tizen|kaios)[\\/ ]([\\w\\.]+)/i, // Tizen/KaiOS\n /\\((series40);/i // Series 40\n ], [NAME, VERSION], [\n /\\(bb(10);/i // BlackBerry 10\n ], [VERSION, [NAME, BLACKBERRY]], [\n /(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i // Symbian\n ], [VERSION, [NAME, 'Symbian']], [\n /mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i // Firefox OS\n ], [VERSION, [NAME, FIREFOX+' OS']], [\n /web0s;.+rt(tv)/i,\n /\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i // WebOS\n ], [VERSION, [NAME, 'webOS']], [\n\n // Google Chromecast\n /crkey\\/([\\d\\.]+)/i // Google Chromecast\n ], [VERSION, [NAME, CHROME+'cast']], [\n /(cros) [\\w]+ ([\\w\\.]+\\w)/i // Chromium OS\n ], [[NAME, 'Chromium OS'], VERSION],[\n\n // Console\n /(nintendo|playstation) ([wids345portablevuch]+)/i, // Nintendo/Playstation\n /(xbox); +xbox ([^\\);]+)/i, // Microsoft Xbox (360, One, X, S, Series X, Series S)\n\n // Other\n /\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i, // Joli/Palm\n /(mint)[\\/\\(\\) ]?(\\w*)/i, // Mint\n /(mageia|vectorlinux)[; ]/i, // Mageia/VectorLinux\n /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,\n // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire\n /(hurd|linux) ?([\\w\\.]*)/i, // Hurd/Linux\n /(gnu) ?([\\w\\.]*)/i, // GNU\n /\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly\n /(haiku) (\\w+)/i // Haiku\n ], [NAME, VERSION], [\n /(sunos) ?([\\w\\.\\d]*)/i // Solaris\n ], [[NAME, 'Solaris'], VERSION], [\n /((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i, // Solaris\n /(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i, // AIX\n /\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX\n /(unix) ?([\\w\\.]*)/i // UNIX\n ], [NAME, VERSION]\n ]\n };\n\n /////////////////\n // Constructor\n ////////////////\n\n var UAParser = function (ua, extensions) {\n\n if (typeof ua === OBJ_TYPE) {\n extensions = ua;\n ua = undefined;\n }\n\n if (!(this instanceof UAParser)) {\n return new UAParser(ua, extensions).getResult();\n }\n\n var _ua = ua || ((typeof window !== UNDEF_TYPE && window.navigator && window.navigator.userAgent) ? window.navigator.userAgent : EMPTY);\n var _rgxmap = extensions ? extend(regexes, extensions) : regexes;\n\n this.getBrowser = function () {\n var _browser = {};\n _browser[NAME] = undefined;\n _browser[VERSION] = undefined;\n rgxMapper.call(_browser, _ua, _rgxmap.browser);\n _browser.major = majorize(_browser.version);\n return _browser;\n };\n this.getCPU = function () {\n var _cpu = {};\n _cpu[ARCHITECTURE] = undefined;\n rgxMapper.call(_cpu, _ua, _rgxmap.cpu);\n return _cpu;\n };\n this.getDevice = function () {\n var _device = {};\n _device[VENDOR] = undefined;\n _device[MODEL] = undefined;\n _device[TYPE] = undefined;\n rgxMapper.call(_device, _ua, _rgxmap.device);\n return _device;\n };\n this.getEngine = function () {\n var _engine = {};\n _engine[NAME] = undefined;\n _engine[VERSION] = undefined;\n rgxMapper.call(_engine, _ua, _rgxmap.engine);\n return _engine;\n };\n this.getOS = function () {\n var _os = {};\n _os[NAME] = undefined;\n _os[VERSION] = undefined;\n rgxMapper.call(_os, _ua, _rgxmap.os);\n return _os;\n };\n this.getResult = function () {\n return {\n ua : this.getUA(),\n browser : this.getBrowser(),\n engine : this.getEngine(),\n os : this.getOS(),\n device : this.getDevice(),\n cpu : this.getCPU()\n };\n };\n this.getUA = function () {\n return _ua;\n };\n this.setUA = function (ua) {\n _ua = (typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH) ? trim(ua, UA_MAX_LENGTH) : ua;\n return this;\n };\n this.setUA(_ua);\n return this;\n };\n\n UAParser.VERSION = LIBVERSION;\n UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);\n UAParser.CPU = enumerize([ARCHITECTURE]);\n UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);\n UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);\n\n ///////////\n // Export\n //////////\n\n // check js environment\n if (typeof(exports) !== UNDEF_TYPE) {\n // nodejs env\n if (typeof module !== UNDEF_TYPE && module.exports) {\n exports = module.exports = UAParser;\n }\n exports.UAParser = UAParser;\n } else {\n // requirejs env (optional)\n if (typeof(define) === FUNC_TYPE && define.amd) {\n define(function () {\n return UAParser;\n });\n } else if (typeof window !== UNDEF_TYPE) {\n // browser env\n window.UAParser = UAParser;\n }\n }\n\n // jQuery/Zepto specific (optional)\n // Note:\n // In AMD env the global scope should be kept clean, but jQuery is an exception.\n // jQuery always exports to global scope, unless jQuery.noConflict(true) is used,\n // and we should catch that.\n var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);\n if ($ && !$.ua) {\n var parser = new UAParser();\n $.ua = parser.getResult();\n $.ua.get = function () {\n return parser.getUA();\n };\n $.ua.set = function (ua) {\n parser.setUA(ua);\n var result = parser.getResult();\n for (var prop in result) {\n $.ua[prop] = result[prop];\n }\n };\n }\n\n})(typeof window === 'object' ? window : this);\n"],"names":["asn_CloseOutlined","CloseOutlined_CloseOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CloseOutlined","forwardRef","asn_DownOutlined","DownOutlined_DownOutlined","icons_DownOutlined","requiredArgs","required","args","length","_typeof","obj","Symbol","iterator","constructor","prototype","toDate","argument","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","arguments","argStr","Object","toString","call","Date","getTime","console","warn","stack","NaN","__WEBPACK_AMD_DEFINE_RESULT__","window","undefined","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","extend","regexes","extensions","mergedRegexes","i","concat","enumerize","arr","enums","toUpperCase","has","str1","str2","lowerize","indexOf","str","toLowerCase","trim","len","replace","substring","rgxMapper","ua","arrays","j","k","p","q","matches","match","regex","exec","test","strMapper","map","windowsVersionMap","browser","cpu","device","engine","EDGE","os","UAParser","getResult","_ua","navigator","userAgent","_rgxmap","getBrowser","version","_browser","major","split","getCPU","_cpu","getDevice","_device","getEngine","_engine","getOS","_os","getUA","setUA","CPU","DEVICE","ENGINE","OS","exports","module","__webpack_require__","amdO","$","jQuery","Zepto","parser","get","set","result","prop"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/8270.7d09e92885446eda.js b/static/web/_next/static/chunks/8270.7d09e92885446eda.js new file mode 100644 index 000000000..1cd29ca68 --- /dev/null +++ b/static/web/_next/static/chunks/8270.7d09e92885446eda.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8270],{63606:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="CheckOutlined";var i=r.forwardRef(l)},99611:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="EyeOutlined";var i=r.forwardRef(l)},68795:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="SearchOutlined";var i=r.forwardRef(l)},5467:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){return Object.keys(e).reduce(function(t,n){return(n.startsWith("data-")||n.startsWith("aria-")||"role"===n)&&!n.startsWith("data-__")&&(t[n]=e[n]),t},{})}},15746:function(e,t,n){var a=n(21584);t.Z=a.Z},54907:function(e,t,n){n.d(t,{Z:function(){return z}});var a=n(87462),r=n(4942),c=n(18073),o=n(94184),l=n.n(o),i=n(74902),s=n(15671),u=n(43144),f=n(60136),d=n(33643),p=n(71002),m=n(50344),v=n(67294),Z=n(96774),y=n.n(Z),h=n(45987),C=n(62874),x=n(97685),b=v.forwardRef(function(e,t){var n,a=e.prefixCls,c=e.forceRender,o=e.className,i=e.style,s=e.children,u=e.isActive,f=e.role,d=v.useState(u||c),p=(0,x.Z)(d,2),m=p[0],Z=p[1];return(v.useEffect(function(){(c||u)&&Z(!0)},[c,u]),m)?v.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),o),style:i,role:f},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null});b.displayName="PanelContent";var g=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],E=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=Array(a),c=0;c-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,c=r.prefixCls,o=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,u=r.collapsible,f=e.key||String(t),d=e.props,p=d.header,m=d.headerClass,Z=d.destroyInactivePanel,y=d.collapsible,h=!1;h=l?n[0]===f:n.indexOf(f)>-1;var C=null!=y?y:u,x={key:f,panelKey:f,header:p,headerClass:m,isActive:h,prefixCls:c,destroyInactivePanel:null!=Z?Z:i,openMotion:o,accordion:l,children:e.props.children,onItemClick:"disabled"===C?null:a.onClickItem,expandIcon:s,collapsible:C};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),v.cloneElement(e,x))},a.getItems=function(){var e=a.props.children;return(0,m.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,c=e.defaultActiveKey;return"activeKey"in e&&(c=r),a.state={activeKey:N(c)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!y()(this.props,e)||!y()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,c=t.style,o=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:c,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=N(e.activeKey)),t}}]),n}(v.Component);w.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},w.Panel=E,w.Panel;var O=n(98423),P=n(53124),k=n(33603),I=n(96159),j=function(e){var t,n,o=v.useContext(P.E_),i=o.getPrefixCls,s=o.direction,u=e.prefixCls,f=e.className,d=e.bordered,p=e.ghost,Z=e.expandIconPosition,y=void 0===Z?"start":Z,h=i("collapse",u),C=v.useMemo(function(){return"left"===y?"start":"right"===y?"end":y},[y]),x=l()("".concat(h,"-icon-position-").concat(C),(n={},(0,r.Z)(n,"".concat(h,"-borderless"),!(void 0===d||d)),(0,r.Z)(n,"".concat(h,"-rtl"),"rtl"===s),(0,r.Z)(n,"".concat(h,"-ghost"),!!p),n),void 0===f?"":f),b=(0,a.Z)((0,a.Z)({},k.ZP),{motionAppear:!1,leavedClassName:"".concat(h,"-content-hidden")});return v.createElement(w,(0,a.Z)({openMotion:b},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(c.Z,{rotate:t.isActive?90:void 0});return(0,I.Tm)(a,function(){return{className:l()(a.props.className,"".concat(h,"-arrow"))}})},prefixCls:h,className:x}),(t=e.children,(0,m.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),c=e.props,o=c.disabled,l=c.collapsible,i=(0,a.Z)((0,a.Z)({},(0,O.Z)(e.props,["disabled"])),{key:r,collapsible:null!=l?l:o?"disabled":void 0});return(0,I.Tm)(e,i)}return e})))};j.Panel=function(e){var t=v.useContext(P.E_).getPrefixCls,n=e.prefixCls,c=e.className,o=e.showArrow,i=t("collapse",n),s=l()((0,r.Z)({},"".concat(i,"-no-arrow"),!(void 0===o||o)),void 0===c?"":c);return v.createElement(w.Panel,(0,a.Z)({},e,{prefixCls:i,className:s}))};var z=j},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},21584:function(e,t,n){var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,o=i.useContext(s.E_),p=o.getPrefixCls,m=o.direction,v=i.useContext(u.Z),Z=v.gutter,y=v.wrap,h=v.supportFlexGap,C=e.prefixCls,x=e.span,b=e.order,g=e.offset,E=e.push,N=e.pull,w=e.className,O=e.children,P=e.flex,k=e.style,I=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=p("col",C),z={};d.forEach(function(t){var n,o={},l=e[t];"number"==typeof l?o.span=l:"object"===(0,c.Z)(l)&&(o=l||{}),delete I[t],z=(0,r.Z)((0,r.Z)({},z),(n={},(0,a.Z)(n,"".concat(j,"-").concat(t,"-").concat(o.span),void 0!==o.span),(0,a.Z)(n,"".concat(j,"-").concat(t,"-order-").concat(o.order),o.order||0===o.order),(0,a.Z)(n,"".concat(j,"-").concat(t,"-offset-").concat(o.offset),o.offset||0===o.offset),(0,a.Z)(n,"".concat(j,"-").concat(t,"-push-").concat(o.push),o.push||0===o.push),(0,a.Z)(n,"".concat(j,"-").concat(t,"-pull-").concat(o.pull),o.pull||0===o.pull),(0,a.Z)(n,"".concat(j,"-rtl"),"rtl"===m),n))});var A=l()(j,(n={},(0,a.Z)(n,"".concat(j,"-").concat(x),void 0!==x),(0,a.Z)(n,"".concat(j,"-order-").concat(b),b),(0,a.Z)(n,"".concat(j,"-offset-").concat(g),g),(0,a.Z)(n,"".concat(j,"-push-").concat(E),E),(0,a.Z)(n,"".concat(j,"-pull-").concat(N),N),n),w,z),S={};if(Z&&Z[0]>0){var M=Z[0]/2;S.paddingLeft=M,S.paddingRight=M}if(Z&&Z[1]>0&&!h){var R=Z[1]/2;S.paddingTop=R,S.paddingBottom=R}return P&&(S.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==y||S.minWidth||(S.minWidth=0)),i.createElement("div",(0,r.Z)({},I,{style:(0,r.Z)((0,r.Z)({},S),k),className:A,ref:t}),O)});t.Z=p},92820:function(e,t,n){var a=n(87462),r=n(4942),c=n(71002),o=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};function Z(e,t){var n=s.useState("string"==typeof e?e:""),a=(0,o.Z)(n,2),r=a[0],l=a[1],i=function(){if("object"===(0,c.Z)(e))for(var n=0;n0?-(D[0]/2):void 0,W=null!=D[1]&&D[1]>0?-(D[1]/2):void 0;if(Q&&(G.marginLeft=Q,G.marginRight=Q),q){var $=(0,o.Z)(D,2);G.rowGap=$[1]}else W&&(G.marginTop=W,G.marginBottom=W);var U=(0,o.Z)(D,2),H=U[0],V=U[1],J=s.useMemo(function(){return{gutter:[H,V],wrap:N,supportFlexGap:q}},[H,V,N,q]);return s.createElement(m.Z.Provider,{value:J},s.createElement("div",(0,a.Z)({},w,{className:F,style:(0,a.Z)((0,a.Z)({},G),x),ref:t}),b))});t.Z=y},79531:function(e,t,n){n.d(t,{Z:function(){return R}});var a=n(87462),r=n(4942),c=n(94184),o=n.n(c),l=n(67294),i=n(53124),s=n(65223),u=n(82586),f=n(97685),d=n(71002),p=n(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},v=n(42135),Z=function(e,t){return l.createElement(v.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:m}))};Z.displayName="EyeInvisibleOutlined";var y=l.forwardRef(Z),h=n(99611),C=n(98423),x=n(42550),b=n(72922),g=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},E=function(e){return e?l.createElement(h.Z,null):l.createElement(y,null)},N={click:"onClick",hover:"onMouseOver"},w=l.forwardRef(function(e,t){var n=e.visibilityToggle,c=void 0===n||n,s="object"===(0,d.Z)(c)&&void 0!==c.visible,p=(0,l.useState)(function(){return!!s&&c.visible}),m=(0,f.Z)(p,2),v=m[0],Z=m[1],y=(0,l.useRef)(null);l.useEffect(function(){s&&Z(c.visible)},[s,c]);var h=(0,b.Z)(y),w=function(){e.disabled||(v&&h(),Z(function(e){var t,n=!e;return"object"===(0,d.Z)(c)&&(null===(t=c.onVisibleChange)||void 0===t||t.call(c,n)),n}))},O=function(t){var n,a=e.action,c=e.iconRender,o=N[void 0===a?"click":a]||"",i=(void 0===c?E:c)(v),s=(n={},(0,r.Z)(n,o,w),(0,r.Z)(n,"className","".concat(t,"-icon")),(0,r.Z)(n,"key","passwordIcon"),(0,r.Z)(n,"onMouseDown",function(e){e.preventDefault()}),(0,r.Z)(n,"onMouseUp",function(e){e.preventDefault()}),n);return l.cloneElement(l.isValidElement(i)?i:l.createElement("span",null,i),s)};return l.createElement(i.C,null,function(n){var i=n.getPrefixCls,s=e.className,f=e.prefixCls,d=e.inputPrefixCls,p=e.size,m=g(e,["className","prefixCls","inputPrefixCls","size"]),Z=i("input",d),h=i("input-password",f),b=c&&O(h),E=o()(h,s,(0,r.Z)({},"".concat(h,"-").concat(p),!!p)),N=(0,a.Z)((0,a.Z)({},(0,C.Z)(m,["suffix","iconRender","visibilityToggle"])),{type:v?"text":"password",className:E,prefixCls:Z,suffix:b});return p&&(N.size=p),l.createElement(u.ZP,(0,a.Z)({ref:(0,x.sQ)(t,y)},N))})}),O=n(68795),P=n(71577),k=n(97647),I=n(4173),j=n(96159),z=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},A=l.forwardRef(function(e,t){var n,c,s=e.prefixCls,f=e.inputPrefixCls,d=e.className,p=e.size,m=e.suffix,v=e.enterButton,Z=void 0!==v&&v,y=e.addonAfter,h=e.loading,C=e.disabled,b=e.onSearch,g=e.onChange,E=e.onCompositionStart,N=e.onCompositionEnd,w=z(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),A=l.useContext(i.E_),S=A.getPrefixCls,M=A.direction,R=l.useContext(k.Z),_=l.useRef(!1),K=S("input-search",s),T=S("input",f),q=(0,I.ri)(K,M).compactSize||p||R,B=l.useRef(null),L=function(e){var t;document.activeElement===(null===(t=B.current)||void 0===t?void 0:t.input)&&e.preventDefault()},D=function(e){var t,n;b&&b(null===(n=null===(t=B.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},F="boolean"==typeof Z?l.createElement(O.Z,null):null,G="".concat(K,"-button"),Q=Z||{},W=Q.type&&!0===Q.type.__ANT_BUTTON;c=W||"button"===Q.type?(0,j.Tm)(Q,(0,a.Z)({onMouseDown:L,onClick:function(e){var t,n;null===(n=null===(t=null==Q?void 0:Q.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),D(e)},key:"enterButton"},W?{className:G,size:q}:{})):l.createElement(P.Z,{className:G,type:Z?"primary":void 0,size:q,disabled:C,key:"enterButton",onMouseDown:L,onClick:D,loading:h,icon:F},Z),y&&(c=[c,(0,j.Tm)(y,{key:"addonAfter"})]);var $=o()(K,(n={},(0,r.Z)(n,"".concat(K,"-rtl"),"rtl"===M),(0,r.Z)(n,"".concat(K,"-").concat(q),!!q),(0,r.Z)(n,"".concat(K,"-with-button"),!!Z),n),d);return l.createElement(u.ZP,(0,a.Z)({ref:(0,x.sQ)(B,t),onPressEnter:function(e){_.current||h||D(e)}},w,{size:q,onCompositionStart:function(e){_.current=!0,null==E||E(e)},onCompositionEnd:function(e){_.current=!1,null==N||N(e)},prefixCls:T,addonAfter:c,suffix:m,onChange:function(e){e&&e.target&&"click"===e.type&&b&&b(e.target.value,e),g&&g(e)},className:$,disabled:C}))}),S=n(80173),M=u.ZP;M.Group=function(e){var t,n=(0,l.useContext)(i.E_),c=n.getPrefixCls,u=n.direction,f=e.prefixCls,d=e.className,p=c("input-group",f),m=o()(p,(t={},(0,r.Z)(t,"".concat(p,"-lg"),"large"===e.size),(0,r.Z)(t,"".concat(p,"-sm"),"small"===e.size),(0,r.Z)(t,"".concat(p,"-compact"),e.compact),(0,r.Z)(t,"".concat(p,"-rtl"),"rtl"===u),t),void 0===d?"":d),v=(0,l.useContext)(s.aM),Z=(0,l.useMemo)(function(){return(0,a.Z)((0,a.Z)({},v),{isFormItemInput:!1})},[v]);return l.createElement("span",{className:m,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(s.aM.Provider,{value:Z},e.children))},M.Search=A,M.TextArea=S.Z,M.Password=w;var R=M},71230:function(e,t,n){var a=n(92820);t.Z=a.Z},26303:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(98423),f=function(e){var t,n,c=e.prefixCls,o=e.className,s=e.style,u=e.size,f=e.shape,d=l()((t={},(0,a.Z)(t,"".concat(c,"-lg"),"large"===u),(0,a.Z)(t,"".concat(c,"-sm"),"small"===u),t)),p=l()((n={},(0,a.Z)(n,"".concat(c,"-circle"),"circle"===f),(0,a.Z)(n,"".concat(c,"-square"),"square"===f),(0,a.Z)(n,"".concat(c,"-round"),"round"===f),n)),m=i.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return i.createElement("span",{className:l()(c,d,p,o),style:(0,r.Z)((0,r.Z)({},m),s)})},d=n(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},m=n(42135),v=function(e,t){return i.createElement(m.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:t,icon:p}))};v.displayName="DotChartOutlined";var Z=i.forwardRef(v),y=n(74902),h=function(e){var t=function(t){var n=e.width,a=e.rows;return Array.isArray(n)?n[t]:(void 0===a?2:a)-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,c=e.rows,o=(0,y.Z)(Array(c)).map(function(e,n){return i.createElement("li",{key:n,style:{width:t(n)}})});return i.createElement("ul",{className:l()(n,a),style:r},o)},C=function(e){var t=e.prefixCls,n=e.className,a=e.width,c=e.style;return i.createElement("h3",{className:l()(t,n),style:(0,r.Z)({width:a},c)})};function x(e){return e&&"object"===(0,c.Z)(e)?e:{}}var b=function(e){var t=e.prefixCls,n=e.loading,c=e.className,o=e.style,u=e.children,d=e.avatar,p=void 0!==d&&d,m=e.title,v=void 0===m||m,Z=e.paragraph,y=void 0===Z||Z,b=e.active,g=e.round,E=i.useContext(s.E_),N=E.getPrefixCls,w=E.direction,O=N("skeleton",t);if(n||!("loading"in e)){var P=!!p,k=!!v,I=!!y;if(P){var j=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-avatar")},k&&!I?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),x(p));A=i.createElement("div",{className:"".concat(O,"-header")},i.createElement(f,(0,r.Z)({},j)))}if(k||I){if(k){var z,A,S,M,R,_=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-title")},!P&&I?{width:"38%"}:P&&I?{width:"50%"}:{}),x(v));M=i.createElement(C,(0,r.Z)({},_))}if(I){var K,T=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-paragraph")},(K={},P&&k||(K.width="61%"),!P&&k?K.rows=3:K.rows=2,K)),x(y));R=i.createElement(h,(0,r.Z)({},T))}S=i.createElement("div",{className:"".concat(O,"-content")},M,R)}var q=l()(O,(z={},(0,a.Z)(z,"".concat(O,"-with-avatar"),P),(0,a.Z)(z,"".concat(O,"-active"),b),(0,a.Z)(z,"".concat(O,"-rtl"),"rtl"===w),(0,a.Z)(z,"".concat(O,"-round"),g),z),c);return i.createElement("div",{className:q,style:o},A,S)}return void 0!==u?u:null};b.Button=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),v=(0,u.Z)(e,["prefixCls"]),Z=l()(m,"".concat(m,"-element"),(t={},(0,a.Z)(t,"".concat(m,"-active"),o),(0,a.Z)(t,"".concat(m,"-block"),void 0!==d&&d),t),c);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-button"),size:void 0===p?"default":p},v)))},b.Avatar=function(e){var t=e.prefixCls,n=e.className,c=e.active,o=e.shape,d=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),m=(0,u.Z)(e,["prefixCls","className"]),v=l()(p,"".concat(p,"-element"),(0,a.Z)({},"".concat(p,"-active"),c),n);return i.createElement("div",{className:v},i.createElement(f,(0,r.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===o?"circle":o,size:void 0===d?"default":d},m)))},b.Input=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),v=(0,u.Z)(e,["prefixCls"]),Z=l()(m,"".concat(m,"-element"),(t={},(0,a.Z)(t,"".concat(m,"-active"),o),(0,a.Z)(t,"".concat(m,"-block"),d),t),c);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-input"),size:void 0===p?"default":p},v)))},b.Image=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=l()(o,"".concat(o,"-element"),(0,a.Z)({},"".concat(o,"-active"),c),n);return i.createElement("div",{className:u},i.createElement("div",{className:l()("".concat(o,"-image"),n),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},b.Node=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=l()(u,"".concat(u,"-element"),(0,a.Z)({},"".concat(u,"-active"),c),n),d=null!=o?o:i.createElement(Z,null);return i.createElement("div",{className:f},i.createElement("div",{className:l()("".concat(u,"-image"),n),style:r},d))};var g=b},11382:function(e,t,n){var a=n(87462),r=n(4942),c=n(97685),o=n(94184),l=n.n(o),i=n(23279),s=n.n(i),u=n(98423),f=n(67294),d=n(53124),p=n(96159),m=n(93355),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,m.b)("small","default","large");var Z=null,y=function(e){var t=e.spinPrefixCls,n=e.spinning,o=void 0===n||n,i=e.delay,m=e.className,y=e.size,h=void 0===y?"default":y,C=e.tip,x=e.wrapperClassName,b=e.style,g=e.children,E=v(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return o&&(!o||!i||!!isNaN(Number(i)))}),w=(0,c.Z)(N,2),O=w[0],P=w[1];return f.useEffect(function(){var e=s()(function(){P(o)},i);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[i,o]),f.createElement(d.C,null,function(n){var c,o,i,s=n.direction,d=l()(t,(i={},(0,r.Z)(i,"".concat(t,"-sm"),"small"===h),(0,r.Z)(i,"".concat(t,"-lg"),"large"===h),(0,r.Z)(i,"".concat(t,"-spinning"),O),(0,r.Z)(i,"".concat(t,"-show-text"),!!C),(0,r.Z)(i,"".concat(t,"-rtl"),"rtl"===s),i),m),v=(0,u.Z)(E,["indicator","prefixCls"]),y=f.createElement("div",(0,a.Z)({},v,{style:b,className:d,"aria-live":"polite","aria-busy":O}),(c=e.indicator,o="".concat(t,"-dot"),null===c?null:(0,p.l$)(c)?(0,p.Tm)(c,{className:l()(c.props.className,o)}):(0,p.l$)(Z)?(0,p.Tm)(Z,{className:l()(Z.props.className,o)}):f.createElement("span",{className:l()(o,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),C?f.createElement("div",{className:"".concat(t,"-text")},C):null);if(void 0!==g){var N=l()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),O));return f.createElement("div",(0,a.Z)({},v,{className:l()("".concat(t,"-nested-loading"),x)}),O&&f.createElement("div",{key:"loading"},y),f.createElement("div",{className:N,key:"container"},g))}return y})},h=function(e){var t=e.prefixCls,n=(0,f.useContext(d.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return f.createElement(y,(0,a.Z)({},r))};h.setDefaultIndicator=function(e){Z=e},t.Z=h},20550:function(e,t,n){n.d(t,{Z:function(){return C}});var a=n(4942),r=n(87462),c=n(97685),o=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},Z=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),y=RegExp("^(".concat(d.E.join("|"),")$")),h=u.forwardRef(function(e,t){var n,l=e.prefixCls,d=e.className,m=e.style,h=e.children,C=e.icon,x=e.color,b=e.onClose,g=e.closeIcon,E=e.closable,N=v(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),w=u.useContext(f.E_),O=w.getPrefixCls,P=w.direction,k=u.useState(!0),I=(0,c.Z)(k,2),j=I[0],z=I[1];u.useEffect(function(){"visible"in N&&z(N.visible)},[N.visible]);var A=function(){return!!x&&(Z.test(x)||y.test(x))},S=(0,r.Z)({backgroundColor:x&&!A()?x:void 0},m),M=A(),R=O("tag",l),_=i()(R,(n={},(0,a.Z)(n,"".concat(R,"-").concat(x),M),(0,a.Z)(n,"".concat(R,"-has-color"),x&&!M),(0,a.Z)(n,"".concat(R,"-hidden"),!j),(0,a.Z)(n,"".concat(R,"-rtl"),"rtl"===P),n),d),K=function(e){e.stopPropagation(),null==b||b(e),!e.defaultPrevented&&("visible"in N||z(!1))},T="onClick"in N||h&&"a"===h.type,q=(0,s.Z)(N,["visible"]),B=C||null,L=B?u.createElement(u.Fragment,null,B,u.createElement("span",null,h)):h,D=u.createElement("span",(0,r.Z)({},q,{ref:t,className:_,style:S}),L,void 0!==E&&E?g?u.createElement("span",{className:"".concat(R,"-close-icon"),onClick:K},g):u.createElement(o.Z,{className:"".concat(R,"-close-icon"),onClick:K}):null);return T?u.createElement(p.Z,null,D):D});h.CheckableTag=function(e){var t,n=e.prefixCls,c=e.className,o=e.checked,l=e.onChange,s=e.onClick,d=m(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,u.useContext(f.E_).getPrefixCls)("tag",n),v=i()(p,(t={},(0,a.Z)(t,"".concat(p,"-checkable"),!0),(0,a.Z)(t,"".concat(p,"-checkable-checked"),o),t),c);return u.createElement("span",(0,r.Z)({},d,{className:v,onClick:function(e){null==l||l(!o),null==s||s(e)}}))};var C=h},79370:function(e,t,n){n.d(t,{G:function(){return o}});var a=n(98924),r=function(e){if((0,a.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},c=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),a=n.style[e];return n.style[e]=t,n.style[e]!==a};function o(e,t){return Array.isArray(e)||void 0===t?r(e):c(e,t)}}}]); +//# sourceMappingURL=8270.7d09e92885446eda.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/8270.7d09e92885446eda.js.map b/static/web/_next/static/chunks/8270.7d09e92885446eda.js.map new file mode 100644 index 000000000..93b48b681 --- /dev/null +++ b/static/web/_next/static/chunks/8270.7d09e92885446eda.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/8270.7d09e92885446eda.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAA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design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/SearchOutlined.js","webpack://_N_E/./node_modules/antd/es/_util/getDataOrAriaProps.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/input/Group.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js","webpack://_N_E/./node_modules/antd/es/input/Password.js","webpack://_N_E/./node_modules/antd/es/input/Search.js","webpack://_N_E/./node_modules/antd/es/input/index.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/./node_modules/rc-util/es/Dom/styleChecker.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","// This icon file is generated automatically.\nvar EyeOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z\" } }] }, \"name\": \"eye\", \"theme\": \"outlined\" };\nexport default EyeOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeOutlined = function EyeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeOutlinedSvg\n }));\n};\nEyeOutlined.displayName = 'EyeOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeOutlined);","// This icon file is generated automatically.\nvar SearchOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z\" } }] }, \"name\": \"search\", \"theme\": \"outlined\" };\nexport default SearchOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport SearchOutlinedSvg from \"@ant-design/icons-svg/es/asn/SearchOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar SearchOutlined = function SearchOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: SearchOutlinedSvg\n }));\n};\nSearchOutlined.displayName = 'SearchOutlined';\nexport default /*#__PURE__*/React.forwardRef(SearchOutlined);","export default function getDataOrAriaProps(props) {\n return Object.keys(props).reduce(function (prev, key) {\n if ((key.startsWith('data-') || key.startsWith('aria-') || key === 'role') && !key.startsWith('data-__')) {\n prev[key] = props[key];\n }\n return prev;\n }, {});\n}","import { Col } from '../grid';\nexport default Col;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useContext, useMemo } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { FormItemInputContext } from '../form/context';\nvar Group = function Group(props) {\n var _classNames;\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls,\n direction = _useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className;\n var prefixCls = getPrefixCls('input-group', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), props.size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), props.size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-compact\"), props.compact), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var formItemContext = useContext(FormItemInputContext);\n var groupFormItemContext = useMemo(function () {\n return _extends(_extends({}, formItemContext), {\n isFormItemInput: false\n });\n }, [formItemContext]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: cls,\n style: props.style,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n onFocus: props.onFocus,\n onBlur: props.onBlur\n }, /*#__PURE__*/React.createElement(FormItemInputContext.Provider, {\n value: groupFormItemContext\n }, props.children));\n};\nexport default Group;","// This icon file is generated automatically.\nvar EyeInvisibleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z\" } }] }, \"name\": \"eye-invisible\", \"theme\": \"outlined\" };\nexport default EyeInvisibleOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EyeInvisibleOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeInvisibleOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EyeInvisibleOutlinedSvg\n }));\n};\nEyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';\nexport default /*#__PURE__*/React.forwardRef(EyeInvisibleOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport EyeInvisibleOutlined from \"@ant-design/icons/es/icons/EyeInvisibleOutlined\";\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport { useRef, useState } from 'react';\nimport { ConfigConsumer } from '../config-provider';\nimport useRemovePasswordTimeout from './hooks/useRemovePasswordTimeout';\nimport Input from './Input';\nvar defaultIconRender = function defaultIconRender(visible) {\n return visible ? /*#__PURE__*/React.createElement(EyeOutlined, null) : /*#__PURE__*/React.createElement(EyeInvisibleOutlined, null);\n};\nvar ActionMap = {\n click: 'onClick',\n hover: 'onMouseOver'\n};\nvar Password = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$visibilityTogg = props.visibilityToggle,\n visibilityToggle = _props$visibilityTogg === void 0 ? true : _props$visibilityTogg;\n var visibilityControlled = _typeof(visibilityToggle) === 'object' && visibilityToggle.visible !== undefined;\n var _useState = useState(function () {\n return visibilityControlled ? visibilityToggle.visible : false;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n visible = _useState2[0],\n setVisible = _useState2[1];\n var inputRef = useRef(null);\n React.useEffect(function () {\n if (visibilityControlled) {\n setVisible(visibilityToggle.visible);\n }\n }, [visibilityControlled, visibilityToggle]);\n // Remove Password value\n var removePasswordTimeout = useRemovePasswordTimeout(inputRef);\n var onVisibleChange = function onVisibleChange() {\n var disabled = props.disabled;\n if (disabled) {\n return;\n }\n if (visible) {\n removePasswordTimeout();\n }\n setVisible(function (prevState) {\n var _a;\n var newState = !prevState;\n if (_typeof(visibilityToggle) === 'object') {\n (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);\n }\n return newState;\n });\n };\n var getIcon = function getIcon(prefixCls) {\n var _iconProps;\n var _props$action = props.action,\n action = _props$action === void 0 ? 'click' : _props$action,\n _props$iconRender = props.iconRender,\n iconRender = _props$iconRender === void 0 ? defaultIconRender : _props$iconRender;\n var iconTrigger = ActionMap[action] || '';\n var icon = iconRender(visible);\n var iconProps = (_iconProps = {}, _defineProperty(_iconProps, iconTrigger, onVisibleChange), _defineProperty(_iconProps, \"className\", \"\".concat(prefixCls, \"-icon\")), _defineProperty(_iconProps, \"key\", 'passwordIcon'), _defineProperty(_iconProps, \"onMouseDown\", function onMouseDown(e) {\n // Prevent focused state lost\n // https://github.com/ant-design/ant-design/issues/15173\n e.preventDefault();\n }), _defineProperty(_iconProps, \"onMouseUp\", function onMouseUp(e) {\n // Prevent caret position change\n // https://github.com/ant-design/ant-design/issues/23524\n e.preventDefault();\n }), _iconProps);\n return /*#__PURE__*/React.cloneElement( /*#__PURE__*/React.isValidElement(icon) ? icon : /*#__PURE__*/React.createElement(\"span\", null, icon), iconProps);\n };\n var renderPassword = function renderPassword(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var className = props.className,\n customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n size = props.size,\n restProps = __rest(props, [\"className\", \"prefixCls\", \"inputPrefixCls\", \"size\"]);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var prefixCls = getPrefixCls('input-password', customizePrefixCls);\n var suffixIcon = visibilityToggle && getIcon(prefixCls);\n var inputClassName = classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-\").concat(size), !!size));\n var omittedProps = _extends(_extends({}, omit(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {\n type: visible ? 'text' : 'password',\n className: inputClassName,\n prefixCls: inputPrefixCls,\n suffix: suffixIcon\n });\n if (size) {\n omittedProps.size = size;\n }\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(ref, inputRef)\n }, omittedProps));\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderPassword);\n});\nif (process.env.NODE_ENV !== 'production') {\n Password.displayName = 'Password';\n}\nexport default Password;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport SearchOutlined from \"@ant-design/icons/es/icons/SearchOutlined\";\nimport classNames from 'classnames';\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nimport { useCompactItemContext } from '../space/Compact';\nimport { cloneElement } from '../_util/reactNode';\nimport Input from './Input';\nvar Search = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n customizeInputPrefixCls = props.inputPrefixCls,\n className = props.className,\n customizeSize = props.size,\n suffix = props.suffix,\n _props$enterButton = props.enterButton,\n enterButton = _props$enterButton === void 0 ? false : _props$enterButton,\n addonAfter = props.addonAfter,\n loading = props.loading,\n disabled = props.disabled,\n customOnSearch = props.onSearch,\n customOnChange = props.onChange,\n onCompositionStart = props.onCompositionStart,\n onCompositionEnd = props.onCompositionEnd,\n restProps = __rest(props, [\"prefixCls\", \"inputPrefixCls\", \"className\", \"size\", \"suffix\", \"enterButton\", \"addonAfter\", \"loading\", \"disabled\", \"onSearch\", \"onChange\", \"onCompositionStart\", \"onCompositionEnd\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var contextSize = React.useContext(SizeContext);\n var composedRef = React.useRef(false);\n var prefixCls = getPrefixCls('input-search', customizePrefixCls);\n var inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize;\n var size = compactSize || customizeSize || contextSize;\n var inputRef = React.useRef(null);\n var onChange = function onChange(e) {\n if (e && e.target && e.type === 'click' && customOnSearch) {\n customOnSearch(e.target.value, e);\n }\n if (customOnChange) {\n customOnChange(e);\n }\n };\n var onMouseDown = function onMouseDown(e) {\n var _a;\n if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {\n e.preventDefault();\n }\n };\n var onSearch = function onSearch(e) {\n var _a, _b;\n if (customOnSearch) {\n customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e);\n }\n };\n var onPressEnter = function onPressEnter(e) {\n if (composedRef.current || loading) {\n return;\n }\n onSearch(e);\n };\n var searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/React.createElement(SearchOutlined, null) : null;\n var btnClassName = \"\".concat(prefixCls, \"-button\");\n var button;\n var enterButtonAsElement = enterButton || {};\n var isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;\n if (isAntdButton || enterButtonAsElement.type === 'button') {\n button = cloneElement(enterButtonAsElement, _extends({\n onMouseDown: onMouseDown,\n onClick: function onClick(e) {\n var _a, _b;\n (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n onSearch(e);\n },\n key: 'enterButton'\n }, isAntdButton ? {\n className: btnClassName,\n size: size\n } : {}));\n } else {\n button = /*#__PURE__*/React.createElement(Button, {\n className: btnClassName,\n type: enterButton ? 'primary' : undefined,\n size: size,\n disabled: disabled,\n key: \"enterButton\",\n onMouseDown: onMouseDown,\n onClick: onSearch,\n loading: loading,\n icon: searchIcon\n }, enterButton);\n }\n if (addonAfter) {\n button = [button, cloneElement(addonAfter, {\n key: 'addonAfter'\n })];\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(size), !!size), _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-button\"), !!enterButton), _classNames), className);\n var handleOnCompositionStart = function handleOnCompositionStart(e) {\n composedRef.current = true;\n onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);\n };\n var handleOnCompositionEnd = function handleOnCompositionEnd(e) {\n composedRef.current = false;\n onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);\n };\n return /*#__PURE__*/React.createElement(Input, _extends({\n ref: composeRef(inputRef, ref),\n onPressEnter: onPressEnter\n }, restProps, {\n size: size,\n onCompositionStart: handleOnCompositionStart,\n onCompositionEnd: handleOnCompositionEnd,\n prefixCls: inputPrefixCls,\n addonAfter: button,\n suffix: suffix,\n onChange: onChange,\n className: cls,\n disabled: disabled\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Search.displayName = 'Search';\n}\nexport default Search;","import Group from './Group';\nimport InternalInput from './Input';\nimport Password from './Password';\nimport Search from './Search';\nimport TextArea from './TextArea';\nvar Input = InternalInput;\nInput.Group = Group;\nInput.Search = Search;\nInput.TextArea = TextArea;\nInput.Password = Password;\nexport default Input;","import { Row } from '../grid';\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;","import canUseDom from './canUseDom';\nvar isStyleNameSupport = function isStyleNameSupport(styleName) {\n if (canUseDom() && window.document.documentElement) {\n var styleNameList = Array.isArray(styleName) ? styleName : [styleName];\n var documentElement = window.document.documentElement;\n return styleNameList.some(function (name) {\n return name in documentElement.style;\n });\n }\n return false;\n};\nvar isStyleValueSupport = function isStyleValueSupport(styleName, value) {\n if (!isStyleNameSupport(styleName)) {\n return false;\n }\n var ele = document.createElement('div');\n var origin = ele.style[styleName];\n ele.style[styleName] = value;\n return ele.style[styleName] !== origin;\n};\nexport function isStyleSupport(styleName, styleValue) {\n if (!Array.isArray(styleName) && styleValue !== undefined) {\n return isStyleValueSupport(styleName, styleValue);\n }\n return isStyleNameSupport(styleName);\n}"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","asn_EyeOutlined","EyeOutlined_EyeOutlined","icons_EyeOutlined","asn_SearchOutlined","SearchOutlined_SearchOutlined","icons_SearchOutlined","getDataOrAriaProps","Object","keys","reduce","prev","key","startsWith","__webpack_exports__","_grid__WEBPACK_IMPORTED_MODULE_0__","PanelContent","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","rendered","setRendered","useEffect","classnames_default","concat","defineProperty","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__rest","s","t","p","prototype","hasOwnProperty","getOwnPropertySymbols","i","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_config_provider__WEBPACK_IMPORTED_MODULE_2__","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","span","order","offset","pull","flex","others","sizeClassObj","size","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","screen","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","xs","sm","md","lg","xl","xxl","_React$useState4","screens","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","token","subscribe","currentGutter","current","unsubscribe","gutters","normalizedGutter","g","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","asn_EyeInvisibleOutlined","EyeInvisibleOutlined_EyeInvisibleOutlined","icons_EyeInvisibleOutlined","defaultIconRender","EyeOutlined","ActionMap","click","hover","Password","_props$visibilityTogg","visibilityToggle","visibilityControlled","_useState","_useState2","setVisible","inputRef","removePasswordTimeout","useRemovePasswordTimeout","onVisibleChange","prevState","getIcon","_iconProps","_props$action","action","_props$iconRender","iconRender","iconTrigger","iconProps","preventDefault","isValidElement","C","customizeInputPrefixCls","inputPrefixCls","restProps","suffixIcon","inputClassName","omittedProps","suffix","Input","es_ref","sQ","Search_rest","Search","button","customizeSize","_props$enterButton","enterButton","addonAfter","loading","customOnSearch","onSearch","customOnChange","onCompositionStart","onCompositionEnd","contextSize","SizeContext","composedRef","compactSize","Compact","ri","onMouseDown","document","activeElement","input","_b","searchIcon","SearchOutlined","btnClassName","enterButtonAsElement","isAntdButton","__ANT_BUTTON","es_button","cls","onPressEnter","target","input_Input","Group","_useContext","compact","formItemContext","form_context","aM","groupFormItemContext","isFormItemInput","onMouseEnter","onMouseLeave","onFocus","onBlur","TextArea","skeleton_Element","shape","sizeCls","shapeCls","sizeStyle","width","height","lineHeight","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","icons_DotChartOutlined","skeleton_Paragraph","getWidth","_props$rows","rows","rowList","_","skeleton_Title","getComponentProps","Skeleton","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","Button","_props$block","block","_props$size","otherProps","Avatar","_props$shape","Image","viewBox","xmlns","d","Node","content","skeleton","_util_type__WEBPACK_IMPORTED_MODULE_3__","defaultIndicator","Spin","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","tip","wrapperClassName","react__WEBPACK_IMPORTED_MODULE_2__","isNaN","Number","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","cancel","_config_provider__WEBPACK_IMPORTED_MODULE_9__","indicator","dotClassName","spinClassName","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","containerClassName","SpinFC","spinClassProps","setDefaultIndicator","tag_rest","PresetColorRegex","colors","Y","join","PresetStatusColorRegex","E","Tag","color","onClose","closeIcon","_a$closable","closable","isPresetColor","tagStyle","backgroundColor","presetColor","tagClassName","handleCloseClick","stopPropagation","defaultPrevented","isNeedWave","tagProps","kids","Fragment","tagNode","CloseOutlined","wave","CheckableTag","checked","tag","isStyleNameSupport","styleName","_canUseDom__WEBPACK_IMPORTED_MODULE_0__","window","documentElement","styleNameList","some","name","isStyleValueSupport","ele","origin","isStyleSupport","styleValue"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/850.0256fb10bff2efdd.js b/static/web/_next/static/chunks/850.0256fb10bff2efdd.js deleted file mode 100644 index b87e4c7a8..000000000 --- a/static/web/_next/static/chunks/850.0256fb10bff2efdd.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[850],{80850:function(e,n,t){"use strict";t.r(n),t.d(n,{UserDropdown:function(){return j}});var o=t(85893),r=t(66516),a=t(13013),i=t(71577),l=t(4480),c=t(67294),s=t(46977),u=t(5152),d=t.n(u),f=t(77466),p=t(79252),h=t.n(p);let v=d()(()=>Promise.all([t.e(2074),t.e(8244)]).then(t.t.bind(t,18244,23)),{loadableGenerated:{webpack:()=>[18244]},ssr:!1}),m=d()(()=>Promise.all([t.e(2074),t.e(775)]).then(t.t.bind(t,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),y=d()(()=>Promise.all([t.e(2074),t.e(6275)]).then(t.t.bind(t,6275,23)),{loadableGenerated:{webpack:()=>[6275]},ssr:!1}),b=d()(()=>Promise.all([t.e(2074),t.e(5672)]).then(t.t.bind(t,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),k=d()(()=>Promise.all([t.e(2074),t.e(5412)]).then(t.t.bind(t,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),w=d()(()=>t.e(4761).then(t.bind(t,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]},ssr:!1}),C=d()(()=>Promise.all([t.e(6386),t.e(9292),t.e(8535)]).then(t.bind(t,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]},ssr:!1}),g=d()(()=>Promise.all([t.e(5818),t.e(4381),t.e(261)]).then(t.bind(t,50261)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[50261]},ssr:!1}),j=e=>{let{username:n}=e,[t,u]=(0,c.useState)(!1),[d,p]=(0,c.useState)(!1),[j,x]=(0,l.FV)(f.ZA),E=(0,l.sJ)(f.Q),L=()=>{x(!j)},A=()=>{u(!0)};(0,s.y1)("c",L,{enableOnContentEditable:!1},[j]);let _=(0,l.sJ)(f.db);if(!_)return null;let{displayName:P}=_,S=(0,o.jsxs)(r.Z,{children:[(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(m,{}),onClick:()=>A(),children:"Change name"},"0"),(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(y,{}),onClick:()=>p(!0),children:"Authenticate"},"1"),E.chatAvailable&&(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(b,{}),onClick:()=>L(),children:j?"Hide Chat":"Show Chat"},"3")]});return(0,o.jsxs)("div",{id:"user-menu",className:"".concat(h().root),children:[(0,o.jsx)(a.Z,{overlay:S,trigger:["click"],children:(0,o.jsxs)(i.Z,{type:"primary",icon:(0,o.jsx)(k,{className:h().userIcon}),children:[(0,o.jsx)("span",{className:h().username,children:n||P}),(0,o.jsx)(v,{})]})}),(0,o.jsx)(w,{title:"Change Chat Display Name",open:t,handleCancel:()=>u(!1),children:(0,o.jsx)(C,{})}),(0,o.jsx)(w,{title:"Authenticate",open:d,handleCancel:()=>p(!1),children:(0,o.jsx)(g,{})})]})}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2",userIcon:"UserDropdown_userIcon__A5XgE",username:"UserDropdown_username__nVyPA"}},46977:function(e,n,t){"use strict";t.d(n,{y1:function(){return w}});var o=t(67294);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var n=1;n'),!0):!!(!t||n.some(function(e){return t.includes(e)})||n.includes("*")))){var n,t,o=function(n,t){var o;if(void 0===t&&(t=!1),!h(n,["input","textarea","select"])||h(n,null==C?void 0:C.enableOnFormTags)){if(null!==i.current&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){b(n);return}(null==(o=n.target)||!o.isContentEditable||null!=C&&C.enableOnContentEditable)&&c(e,null==C?void 0:C.splitKey).forEach(function(e){var o,r,a,i=s(e,null==C?void 0:C.combinationKey);if((v(n,i,null==C?void 0:C.ignoreModifiers)||null!=(a=i.keys)&&a.includes("*"))&&!u.current){if(("function"==typeof(o=null==C?void 0:C.preventDefault)&&o(n,i)||!0===o)&&n.preventDefault(),"function"==typeof(r=null==C?void 0:C.enabled)?!r(n,i):!0!==r&&void 0!==r){b(n);return}w(n,i),t||(u.current=!0)}})}},r=function(e){void 0!==e.key&&(f(l(e.code)),((null==C?void 0:C.keydown)===void 0&&(null==C?void 0:C.keyup)!==!0||null!=C&&C.keydown)&&o(e))},a=function(e){void 0!==e.key&&(p(l(e.code)),u.current=!1,null!=C&&C.keyup&&o(e,!0))};return(i.current||(null==d?void 0:d.document)||document).addEventListener("keyup",a),(i.current||(null==d?void 0:d.document)||document).addEventListener("keydown",r),j&&c(e,null==C?void 0:C.splitKey).forEach(function(e){return j.addHotkey(s(e,null==C?void 0:C.combinationKey))}),function(){(i.current||(null==d?void 0:d.document)||document).removeEventListener("keyup",a),(i.current||(null==d?void 0:d.document)||document).removeEventListener("keydown",r),j&&c(e,null==C?void 0:C.splitKey).forEach(function(e){return j.removeHotkey(s(e,null==C?void 0:C.combinationKey))})}}},[e,w,C,g]),i}}}]); -//# sourceMappingURL=850.0256fb10bff2efdd.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/850.0256fb10bff2efdd.js.map b/static/web/_next/static/chunks/850.0256fb10bff2efdd.js.map deleted file mode 100644 index 634c89f8d..000000000 --- a/static/web/_next/static/chunks/850.0256fb10bff2efdd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/850.0256fb10bff2efdd.js","mappings":"sRAgBA,IAAMA,EAAoBC,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,EAAA,WAAO,yCAC7CK,IAAK,KAGDC,EAAeT,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,QAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,EAAA,WAAO,yCACxCK,IAAK,KAGDE,EAAeV,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,EAAA,UAAO,wCACxCK,IAAK,KAGDG,EAAkBX,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CAAA,CAAAC,IAAA,CAAAJ,EAAA,WAAO,yCAC3CK,IAAK,KA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A,GAAAA,QAAA,EAAAC,gBAAA,SAAAkE,GAEA,CAAAnC,EAAAY,OAAA,EAAAT,CAAAA,IAAA,EAAAA,EAAA,OAAAA,EAAAnC,QAAA,GAAAA,QAAA,EAAAC,gBAAA,WAAA8D,GACAhB,GACAnF,EAAAC,EAAAyE,IAAA,EAAAA,EAAA,OAAAA,EAAAxE,QAAA,EAAAsB,OAAA,UAAApC,CAAA,EACA,OAAA+F,EAAAqB,SAAA,CAAApG,EAAAhB,EAAAsF,IAAA,EAAAA,EAAA,OAAAA,EAAApE,cAAA,EACA,GAEA,WAEA,CAAA8D,EAAAY,OAAA,EAAAT,CAAAA,IAAA,EAAAA,EAAA,OAAAA,EAAAnC,QAAA,GAAAA,QAAA,EAAAqE,mBAAA,SAAAF,GAEA,CAAAnC,EAAAY,OAAA,EAAAT,CAAAA,IAAA,EAAAA,EAAA,OAAAA,EAAAnC,QAAA,GAAAA,QAAA,EAAAqE,mBAAA,WAAAN,GACAhB,GACAnF,EAAAC,EAAAyE,IAAA,EAAAA,EAAA,OAAAA,EAAAxE,QAAA,EAAAsB,OAAA,UAAApC,CAAA,EACA,OAAA+F,EAAAuB,YAAA,CAAAtG,EAAAhB,EAAAsF,IAAA,EAAAA,EAAA,OAAAA,EAAApE,cAAA,EACA,EAEA,EA3EA,EA4EG,CAAAL,EAAAuE,EAAAE,EAAAnB,EAAA,EACHa,CACA","sources":["webpack://_N_E/./components/common/UserDropdown/UserDropdown.tsx","webpack://_N_E/./components/common/UserDropdown/UserDropdown.module.scss","webpack://_N_E/./node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js","webpack://_N_E/"],"sourcesContent":["import { Menu, Dropdown, Button } from 'antd';\n\nimport { useRecoilState, useRecoilValue } from 'recoil';\nimport { FC, useState } from 'react';\nimport { useHotkeys } from 'react-hotkeys-hook';\nimport dynamic from 'next/dynamic';\nimport {\n chatVisibleToggleAtom,\n currentUserAtom,\n appStateAtom,\n} from '../../stores/ClientConfigStore';\nimport styles from './UserDropdown.module.scss';\nimport { AppStateOptions } from '../../stores/application-state';\n\n// Lazy loaded components\n\nconst CaretDownOutlined = dynamic(() => import('@ant-design/icons/CaretDownOutlined'), {\n ssr: false,\n});\n\nconst EditOutlined = dynamic(() => import('@ant-design/icons/EditOutlined'), {\n ssr: false,\n});\n\nconst LockOutlined = dynamic(() => import('@ant-design/icons/LockOutlined'), {\n ssr: false,\n});\n\nconst MessageOutlined = dynamic(() => import('@ant-design/icons/MessageOutlined'), {\n ssr: false,\n});\n\nconst UserOutlined = dynamic(() => import('@ant-design/icons/UserOutlined'), {\n ssr: false,\n});\n\nconst Modal = dynamic(() => import('../../ui/Modal/Modal').then(mod => mod.Modal), {\n ssr: false,\n});\n\nconst NameChangeModal = dynamic(\n () => import('../../modals/NameChangeModal/NameChangeModal').then(mod => mod.NameChangeModal),\n {\n ssr: false,\n },\n);\n\nconst AuthModal = dynamic(\n () => import('../../modals/AuthModal/AuthModal').then(mod => mod.AuthModal),\n {\n ssr: false,\n },\n);\n\nexport type UserDropdownProps = {\n username?: string;\n};\n\nexport const UserDropdown: FC = ({ username: defaultUsername = undefined }) => {\n const [showNameChangeModal, setShowNameChangeModal] = useState(false);\n const [showAuthModal, setShowAuthModal] = useState(false);\n const [chatToggleVisible, setChatToggleVisible] = useRecoilState(chatVisibleToggleAtom);\n const appState = useRecoilValue(appStateAtom);\n\n const toggleChatVisibility = () => {\n setChatToggleVisible(!chatToggleVisible);\n };\n\n const handleChangeName = () => {\n setShowNameChangeModal(true);\n };\n\n // Register keyboard shortcut for the space bar to toggle playback\n useHotkeys(\n 'c',\n toggleChatVisibility,\n {\n enableOnContentEditable: false,\n },\n [chatToggleVisible],\n );\n\n const currentUser = useRecoilValue(currentUserAtom);\n if (!currentUser) {\n return null;\n }\n\n const { displayName } = currentUser;\n const username = defaultUsername || displayName;\n const menu = (\n \n } onClick={() => handleChangeName()}>\n Change name\n \n } onClick={() => setShowAuthModal(true)}>\n Authenticate\n \n {appState.chatAvailable && (\n } onClick={() => toggleChatVisibility()}>\n {chatToggleVisible ? 'Hide Chat' : 'Show Chat'}\n \n )}\n \n );\n\n return (\n
\n \n \n \n setShowNameChangeModal(false)}\n >\n \n \n setShowAuthModal(false)}>\n \n \n
\n );\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"UserDropdown_root__IdxfQ\",\"ant-space\":\"UserDropdown_ant-space__XJTZ3\",\"ant-space-item\":\"UserDropdown_ant-space-item__w4nC2\",\"userIcon\":\"UserDropdown_userIcon__A5XgE\",\"username\":\"UserDropdown_username__nVyPA\"};","import { useContext, createContext, useState, useCallback, useRef, useLayoutEffect, useEffect } from 'react';\nimport { jsx } from 'react/jsx-runtime';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar reservedModifierKeywords = ['shift', 'alt', 'meta', 'mod'];\nvar mappedKeys = {\n esc: 'escape',\n \"return\": 'enter',\n '.': 'period',\n ',': 'comma',\n '-': 'slash',\n ' ': 'space',\n '#': 'backslash',\n '+': 'bracketright',\n 'ShiftLeft': 'shift',\n 'ShiftRight': 'shift',\n 'AltLeft': 'alt',\n 'AltRight': 'alt',\n 'MetaLeft': 'meta',\n 'MetaRight': 'meta',\n 'ControlLeft': 'ctrl',\n 'ControlRight': 'ctrl'\n};\nfunction mapKey(key) {\n return (mappedKeys[key] || key).trim().toLowerCase().replace('key', '').replace('digit', '').replace('numpad', '').replace('arrow', '');\n}\nfunction isHotkeyModifier(key) {\n return reservedModifierKeywords.includes(key);\n}\nfunction parseKeysHookInput(keys, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n if (typeof keys === 'string') {\n return keys.split(splitKey);\n }\n return keys;\n}\nfunction parseHotkey(hotkey, combinationKey) {\n if (combinationKey === void 0) {\n combinationKey = '+';\n }\n var keys = hotkey.toLocaleLowerCase().split(combinationKey).map(function (k) {\n return mapKey(k);\n });\n var modifiers = {\n alt: keys.includes('alt'),\n shift: keys.includes('shift'),\n meta: keys.includes('meta'),\n mod: keys.includes('mod')\n };\n var singleCharKeys = keys.filter(function (k) {\n return !reservedModifierKeywords.includes(k);\n });\n return _extends({}, modifiers, {\n keys: singleCharKeys\n });\n}\n\nvar currentlyPressedKeys = /*#__PURE__*/new Set();\nfunction isHotkeyPressed(key, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n var hotkeyArray = Array.isArray(key) ? key : key.split(splitKey);\n return hotkeyArray.every(function (hotkey) {\n return currentlyPressedKeys.has(hotkey.trim().toLowerCase());\n });\n}\nfunction pushToCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (currentlyPressedKeys.has('meta')) {\n currentlyPressedKeys.forEach(function (key) {\n return !isHotkeyModifier(key) && currentlyPressedKeys[\"delete\"](key.toLowerCase());\n });\n }\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys.add(hotkey.toLowerCase());\n });\n}\nfunction removeFromCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (key === 'meta') {\n currentlyPressedKeys.clear();\n } else {\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys[\"delete\"](hotkey.toLowerCase());\n });\n }\n}\n(function () {\n if (typeof document !== 'undefined') {\n document.addEventListener('keydown', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n document.addEventListener('keyup', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('blur', function () {\n currentlyPressedKeys.clear();\n });\n }\n})();\n\nfunction maybePreventDefault(e, hotkey, preventDefault) {\n if (typeof preventDefault === 'function' && preventDefault(e, hotkey) || preventDefault === true) {\n e.preventDefault();\n }\n}\nfunction isHotkeyEnabled(e, hotkey, enabled) {\n if (typeof enabled === 'function') {\n return enabled(e, hotkey);\n }\n return enabled === true || enabled === undefined;\n}\nfunction isKeyboardEventTriggeredByInput(ev) {\n return isHotkeyEnabledOnTag(ev, ['input', 'textarea', 'select']);\n}\nfunction isHotkeyEnabledOnTag(_ref, enabledOnTags) {\n var target = _ref.target;\n if (enabledOnTags === void 0) {\n enabledOnTags = false;\n }\n var targetTagName = target && target.tagName;\n if (enabledOnTags instanceof Array) {\n return Boolean(targetTagName && enabledOnTags && enabledOnTags.some(function (tag) {\n return tag.toLowerCase() === targetTagName.toLowerCase();\n }));\n }\n return Boolean(targetTagName && enabledOnTags && enabledOnTags === true);\n}\nfunction isScopeActive(activeScopes, scopes) {\n if (activeScopes.length === 0 && scopes) {\n console.warn('A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a ');\n return true;\n }\n if (!scopes) {\n return true;\n }\n return activeScopes.some(function (scope) {\n return scopes.includes(scope);\n }) || activeScopes.includes('*');\n}\nvar isHotkeyMatchingKeyboardEvent = function isHotkeyMatchingKeyboardEvent(e, hotkey, ignoreModifiers) {\n if (ignoreModifiers === void 0) {\n ignoreModifiers = false;\n }\n var alt = hotkey.alt,\n meta = hotkey.meta,\n mod = hotkey.mod,\n shift = hotkey.shift,\n keys = hotkey.keys;\n var pressedKeyUppercase = e.key,\n code = e.code;\n var altKey = isHotkeyPressed('alt');\n var shiftKey = isHotkeyPressed('shift');\n var metaKey = isHotkeyPressed('meta');\n var ctrlKey = isHotkeyPressed('ctrl');\n var keyCode = mapKey(code);\n var pressedKey = pressedKeyUppercase.toLowerCase();\n if (!ignoreModifiers) {\n if (altKey !== alt && pressedKey !== 'alt') {\n return false;\n }\n if (shiftKey !== shift && pressedKey !== 'shift') {\n return false;\n }\n // Mod is a special key name that is checking for meta on macOS and ctrl on other platforms\n if (mod) {\n if (!metaKey && !ctrlKey) {\n return false;\n }\n } else {\n if (metaKey !== meta && ctrlKey !== meta && keyCode !== 'meta' && keyCode !== 'ctrl') {\n return false;\n }\n }\n }\n // All modifiers are correct, now check the key\n // If the key is set, we check for the key\n if (keys && keys.length === 1 && (keys.includes(pressedKey) || keys.includes(keyCode))) {\n return true;\n } else if (keys) {\n // Check if all keys are present in pressedDownKeys set\n return isHotkeyPressed(keys);\n } else if (!keys) {\n // If the key is not set, we only listen for modifiers, that check went alright, so we return true\n return true;\n }\n // There is nothing that matches.\n return false;\n};\n\nvar BoundHotkeysProxyProvider = /*#__PURE__*/createContext(undefined);\nvar useBoundHotkeysProxy = function useBoundHotkeysProxy() {\n return useContext(BoundHotkeysProxyProvider);\n};\nfunction BoundHotkeysProxyProviderProvider(_ref) {\n var addHotkey = _ref.addHotkey,\n removeHotkey = _ref.removeHotkey,\n children = _ref.children;\n return /*#__PURE__*/jsx(BoundHotkeysProxyProvider.Provider, {\n value: {\n addHotkey: addHotkey,\n removeHotkey: removeHotkey\n },\n children: children\n });\n}\n\nfunction deepEqual(x, y) {\n //@ts-ignore\n return x && y && typeof x === 'object' && typeof y === 'object'\n //@ts-ignore\n ? Object.keys(x).length === Object.keys(y).length && Object.keys(x).reduce(function (isEqual, key) {\n return isEqual && deepEqual(x[key], y[key]);\n }, true) : x === y;\n}\n\nvar HotkeysContext = /*#__PURE__*/createContext({\n hotkeys: [],\n enabledScopes: [],\n toggleScope: function toggleScope() {},\n enableScope: function enableScope() {},\n disableScope: function disableScope() {}\n});\nvar useHotkeysContext = function useHotkeysContext() {\n return useContext(HotkeysContext);\n};\nvar HotkeysProvider = function HotkeysProvider(_ref) {\n var _ref$initiallyActiveS = _ref.initiallyActiveScopes,\n initiallyActiveScopes = _ref$initiallyActiveS === void 0 ? ['*'] : _ref$initiallyActiveS,\n children = _ref.children;\n var _useState = useState((initiallyActiveScopes == null ? void 0 : initiallyActiveScopes.length) > 0 ? initiallyActiveScopes : ['*']),\n internalActiveScopes = _useState[0],\n setInternalActiveScopes = _useState[1];\n var _useState2 = useState([]),\n boundHotkeys = _useState2[0],\n setBoundHotkeys = _useState2[1];\n var enableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n });\n }, []);\n var disableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n });\n }, []);\n var toggleScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes(scope)) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n } else {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n }\n });\n }, []);\n var addBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return [].concat(prev, [hotkey]);\n });\n }, []);\n var removeBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return prev.filter(function (h) {\n return !deepEqual(h, hotkey);\n });\n });\n }, []);\n return /*#__PURE__*/jsx(HotkeysContext.Provider, {\n value: {\n enabledScopes: internalActiveScopes,\n hotkeys: boundHotkeys,\n enableScope: enableScope,\n disableScope: disableScope,\n toggleScope: toggleScope\n },\n children: /*#__PURE__*/jsx(BoundHotkeysProxyProviderProvider, {\n addHotkey: addBoundHotkey,\n removeHotkey: removeBoundHotkey,\n children: children\n })\n });\n};\n\nfunction useDeepEqualMemo(value) {\n var ref = useRef(undefined);\n if (!deepEqual(ref.current, value)) {\n ref.current = value;\n }\n return ref.current;\n}\n\nvar stopPropagation = function stopPropagation(e) {\n e.stopPropagation();\n e.preventDefault();\n e.stopImmediatePropagation();\n};\nvar useSafeLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nfunction useHotkeys(keys, callback, options, dependencies) {\n var ref = useRef(null);\n var hasTriggeredRef = useRef(false);\n var _options = !(options instanceof Array) ? options : !(dependencies instanceof Array) ? dependencies : undefined;\n var _deps = options instanceof Array ? options : dependencies instanceof Array ? dependencies : [];\n var cb = useCallback(callback, [].concat(_deps));\n var memoisedOptions = useDeepEqualMemo(_options);\n var _useHotkeysContext = useHotkeysContext(),\n enabledScopes = _useHotkeysContext.enabledScopes;\n var proxy = useBoundHotkeysProxy();\n useSafeLayoutEffect(function () {\n if ((memoisedOptions == null ? void 0 : memoisedOptions.enabled) === false || !isScopeActive(enabledScopes, memoisedOptions == null ? void 0 : memoisedOptions.scopes)) {\n return;\n }\n var listener = function listener(e, isKeyUp) {\n var _e$target;\n if (isKeyUp === void 0) {\n isKeyUp = false;\n }\n if (isKeyboardEventTriggeredByInput(e) && !isHotkeyEnabledOnTag(e, memoisedOptions == null ? void 0 : memoisedOptions.enableOnFormTags)) {\n return;\n }\n // TODO: SINCE THE EVENT IS NOW ATTACHED TO THE REF, THE ACTIVE ELEMENT CAN NEVER BE INSIDE THE REF. THE HOTKEY ONLY TRIGGERS IF THE\n // REF IS THE ACTIVE ELEMENT. THIS IS A PROBLEM SINCE FOCUSED SUB COMPONENTS WON'T TRIGGER THE HOTKEY.\n if (ref.current !== null && document.activeElement !== ref.current && !ref.current.contains(document.activeElement)) {\n stopPropagation(e);\n return;\n }\n if ((_e$target = e.target) != null && _e$target.isContentEditable && !(memoisedOptions != null && memoisedOptions.enableOnContentEditable)) {\n return;\n }\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n var _hotkey$keys;\n var hotkey = parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey);\n if ((isHotkeyMatchingKeyboardEvent(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.ignoreModifiers) || (_hotkey$keys = hotkey.keys) != null && _hotkey$keys.includes('*')) && !hasTriggeredRef.current) {\n maybePreventDefault(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.preventDefault);\n if (!isHotkeyEnabled(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.enabled)) {\n stopPropagation(e);\n return;\n }\n // Execute the user callback for that hotkey\n cb(e, hotkey);\n if (!isKeyUp) {\n hasTriggeredRef.current = true;\n }\n }\n });\n };\n var handleKeyDown = function handleKeyDown(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys(mapKey(event.code));\n if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {\n listener(event);\n }\n };\n var handleKeyUp = function handleKeyUp(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys(mapKey(event.code));\n hasTriggeredRef.current = false;\n if (memoisedOptions != null && memoisedOptions.keyup) {\n listener(event, true);\n }\n };\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keyup', handleKeyUp);\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.addHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey));\n });\n }\n return function () {\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keyup', handleKeyUp);\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.removeHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey));\n });\n }\n };\n }, [keys, cb, memoisedOptions, enabledScopes]);\n return ref;\n}\n\nfunction useRecordHotkeys() {\n var _useState = useState(new Set()),\n keys = _useState[0],\n setKeys = _useState[1];\n var _useState2 = useState(false),\n isRecording = _useState2[0],\n setIsRecording = _useState2[1];\n var handler = useCallback(function (event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n event.preventDefault();\n event.stopPropagation();\n setKeys(function (prev) {\n var newKeys = new Set(prev);\n newKeys.add(mapKey(event.code));\n return newKeys;\n });\n }, []);\n var stop = useCallback(function () {\n if (typeof document !== 'undefined') {\n document.removeEventListener('keydown', handler);\n setIsRecording(false);\n }\n }, [handler]);\n var start = useCallback(function () {\n setKeys(new Set());\n if (typeof document !== 'undefined') {\n stop();\n document.addEventListener('keydown', handler);\n setIsRecording(true);\n }\n }, [handler, stop]);\n return [keys, {\n start: start,\n stop: stop,\n isRecording: isRecording\n }];\n}\n\nexport { HotkeysProvider, isHotkeyPressed, useHotkeys, useHotkeysContext, useRecordHotkeys };\n//# sourceMappingURL=react-hotkeys-hook.esm.js.map\n"],"names":["CaretDownOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","EditOutlined","LockOutlined","MessageOutlined","UserOutlined","Modal","mod","NameChangeModal","AuthModal","UserDropdown","username","defaultUsername","param","showNameChangeModal","setShowNameChangeModal","useState","showAuthModal","setShowAuthModal","chatToggleVisible","setChatToggleVisible","useRecoilState","chatVisibleToggleAtom","appState","useRecoilValue","appStateAtom","toggleChatVisibility","handleChangeName","useHotkeys","enableOnContentEditable","currentUser","currentUserAtom","displayName","menu","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Menu","jsx","icon","onClick","chatAvailable","div","id","className","concat","styles","Dropdown","overlay","trigger","Button","type","span","title","open","handleCancel","module","exports","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","reservedModifierKeywords","mappedKeys","esc","mapKey","trim","toLowerCase","replace","parseKeysHookInput","keys","splitKey","split","parseHotkey","hotkey","combinationKey","toLocaleLowerCase","map","k","alt","includes","shift","meta","filter","currentlyPressedKeys","Set","isHotkeyPressed","hotkeyArray","Array","isArray","every","has","pushToCurrentlyPressedKeys","forEach","add","removeFromCurrentlyPressedKeys","clear","isHotkeyEnabledOnTag","_ref","enabledOnTags","targetTagName","tagName","Boolean","some","tag","document","addEventListener","undefined","code","window","isHotkeyMatchingKeyboardEvent","ignoreModifiers","pressedKeyUppercase","altKey","shiftKey","metaKey","ctrlKey","keyCode","pressedKey","BoundHotkeysProxyProvider","react__WEBPACK_IMPORTED_MODULE_0__","createContext","HotkeysContext","hotkeys","enabledScopes","toggleScope","enableScope","disableScope","stopPropagation","preventDefault","stopImmediatePropagation","useSafeLayoutEffect","useLayoutEffect","useEffect","callback","options","dependencies","ref","useRef","hasTriggeredRef","_options","cb","useCallback","memoisedOptions","deepEqual","x","y","reduce","isEqual","current","_useHotkeysContext","useContext","proxy","enabled","activeScopes","scopes","console","warn","scope","listener","isKeyUp","_e$target","isKeyboardEventTriggeredByInput","enableOnFormTags","activeElement","contains","isContentEditable","_hotkey$keys","handleKeyDown","event","keydown","keyup","handleKeyUp","addHotkey","removeEventListener","removeHotkey"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/850.9026c10adc59e0b0.js b/static/web/_next/static/chunks/850.9026c10adc59e0b0.js new file mode 100644 index 000000000..c4c39bdc3 --- /dev/null +++ b/static/web/_next/static/chunks/850.9026c10adc59e0b0.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[850],{80850:function(e,n,t){"use strict";t.r(n),t.d(n,{UserDropdown:function(){return j}});var o=t(85893),r=t(66516),a=t(13013),i=t(71577),l=t(4480),c=t(67294),s=t(46977),u=t(5152),d=t.n(u),f=t(77466),p=t(79252),h=t.n(p);let v=d()(()=>Promise.all([t.e(2074),t.e(8244)]).then(t.t.bind(t,18244,23)),{loadableGenerated:{webpack:()=>[18244]},ssr:!1}),m=d()(()=>Promise.all([t.e(2074),t.e(775)]).then(t.t.bind(t,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),y=d()(()=>Promise.all([t.e(2074),t.e(6275)]).then(t.t.bind(t,6275,23)),{loadableGenerated:{webpack:()=>[6275]},ssr:!1}),b=d()(()=>Promise.all([t.e(2074),t.e(5672)]).then(t.t.bind(t,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),k=d()(()=>Promise.all([t.e(2074),t.e(5412)]).then(t.t.bind(t,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),w=d()(()=>Promise.all([t.e(164),t.e(5402),t.e(4761)]).then(t.bind(t,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]},ssr:!1}),C=d()(()=>Promise.all([t.e(173),t.e(164),t.e(6386),t.e(9292),t.e(6331)]).then(t.bind(t,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]},ssr:!1}),g=d()(()=>Promise.all([t.e(173),t.e(164),t.e(2231),t.e(5818),t.e(4381),t.e(2033)]).then(t.bind(t,50261)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[50261]},ssr:!1}),j=e=>{let{username:n}=e,[t,u]=(0,c.useState)(!1),[d,p]=(0,c.useState)(!1),[j,x]=(0,l.FV)(f.ZA),E=(0,l.sJ)(f.Q),L=()=>{x(!j)},A=()=>{u(!0)};(0,s.y1)("c",L,{enableOnContentEditable:!1},[j]);let _=(0,l.sJ)(f.db);if(!_)return null;let{displayName:P}=_,S=(0,o.jsxs)(r.Z,{children:[(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(m,{}),onClick:()=>A(),children:"Change name"},"0"),(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(y,{}),onClick:()=>p(!0),children:"Authenticate"},"1"),E.chatAvailable&&(0,o.jsx)(r.Z.Item,{icon:(0,o.jsx)(b,{}),onClick:()=>L(),children:j?"Hide Chat":"Show Chat"},"3")]});return(0,o.jsxs)("div",{id:"user-menu",className:"".concat(h().root),children:[(0,o.jsx)(a.Z,{overlay:S,trigger:["click"],children:(0,o.jsxs)(i.Z,{type:"primary",icon:(0,o.jsx)(k,{className:h().userIcon}),children:[(0,o.jsx)("span",{className:h().username,children:n||P}),(0,o.jsx)(v,{})]})}),(0,o.jsx)(w,{title:"Change Chat Display Name",open:t,handleCancel:()=>u(!1),children:(0,o.jsx)(C,{})}),(0,o.jsx)(w,{title:"Authenticate",open:d,handleCancel:()=>p(!1),children:(0,o.jsx)(g,{})})]})}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2",userIcon:"UserDropdown_userIcon__A5XgE",username:"UserDropdown_username__nVyPA"}},46977:function(e,n,t){"use strict";t.d(n,{y1:function(){return w}});var o=t(67294);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var n=1;n'),!0):!!(!t||n.some(function(e){return t.includes(e)})||n.includes("*")))){var n,t,o=function(n,t){var o;if(void 0===t&&(t=!1),!h(n,["input","textarea","select"])||h(n,null==C?void 0:C.enableOnFormTags)){if(null!==i.current&&document.activeElement!==i.current&&!i.current.contains(document.activeElement)){b(n);return}(null==(o=n.target)||!o.isContentEditable||null!=C&&C.enableOnContentEditable)&&c(e,null==C?void 0:C.splitKey).forEach(function(e){var o,r,a,i=s(e,null==C?void 0:C.combinationKey);if((v(n,i,null==C?void 0:C.ignoreModifiers)||null!=(a=i.keys)&&a.includes("*"))&&!u.current){if(("function"==typeof(o=null==C?void 0:C.preventDefault)&&o(n,i)||!0===o)&&n.preventDefault(),"function"==typeof(r=null==C?void 0:C.enabled)?!r(n,i):!0!==r&&void 0!==r){b(n);return}w(n,i),t||(u.current=!0)}})}},r=function(e){void 0!==e.key&&(f(l(e.code)),((null==C?void 0:C.keydown)===void 0&&(null==C?void 0:C.keyup)!==!0||null!=C&&C.keydown)&&o(e))},a=function(e){void 0!==e.key&&(p(l(e.code)),u.current=!1,null!=C&&C.keyup&&o(e,!0))};return(i.current||(null==d?void 0:d.document)||document).addEventListener("keyup",a),(i.current||(null==d?void 0:d.document)||document).addEventListener("keydown",r),j&&c(e,null==C?void 0:C.splitKey).forEach(function(e){return j.addHotkey(s(e,null==C?void 0:C.combinationKey))}),function(){(i.current||(null==d?void 0:d.document)||document).removeEventListener("keyup",a),(i.current||(null==d?void 0:d.document)||document).removeEventListener("keydown",r),j&&c(e,null==C?void 0:C.splitKey).forEach(function(e){return j.removeHotkey(s(e,null==C?void 0:C.combinationKey))})}}},[e,w,C,g]),i}}}]); +//# sourceMappingURL=850.9026c10adc59e0b0.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/850.9026c10adc59e0b0.js.map b/static/web/_next/static/chunks/850.9026c10adc59e0b0.js.map new file mode 100644 index 000000000..9a002b84b --- /dev/null +++ b/static/web/_next/static/chunks/850.9026c10adc59e0b0.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/850.9026c10adc59e0b0.js","mappings":"sRAgBA,IAAMA,EAAoBC,IAAQ,IAAMC,QAAAC,GAAA,EAAAC,EAAAC,CAAA,OAAAD,EAAAC,CAAA,SAAAC,IAAA,CAAAF,EAAAG,CA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AA,IAAA,EAAAA,EAAA,OAAAA,EAAAnC,QAAA,GAAAA,QAAA,EAAAqE,mBAAA,WAAAN,GACAhB,GACAnF,EAAAC,EAAAyE,IAAA,EAAAA,EAAA,OAAAA,EAAAxE,QAAA,EAAAsB,OAAA,UAAApC,CAAA,EACA,OAAA+F,EAAAuB,YAAA,CAAAtG,EAAAhB,EAAAsF,IAAA,EAAAA,EAAA,OAAAA,EAAApE,cAAA,EACA,EAEA,EA3EA,EA4EG,CAAAL,EAAAuE,EAAAE,EAAAnB,EAAA,EACHa,CACA","sources":["webpack://_N_E/./components/common/UserDropdown/UserDropdown.tsx","webpack://_N_E/./components/common/UserDropdown/UserDropdown.module.scss","webpack://_N_E/./node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js","webpack://_N_E/"],"sourcesContent":["import { Menu, Dropdown, Button } from 'antd';\n\nimport { useRecoilState, useRecoilValue } from 'recoil';\nimport { FC, useState } from 'react';\nimport { useHotkeys } from 'react-hotkeys-hook';\nimport dynamic from 'next/dynamic';\nimport {\n chatVisibleToggleAtom,\n currentUserAtom,\n appStateAtom,\n} from '../../stores/ClientConfigStore';\nimport styles from './UserDropdown.module.scss';\nimport { AppStateOptions } from '../../stores/application-state';\n\n// Lazy loaded components\n\nconst CaretDownOutlined = dynamic(() => import('@ant-design/icons/CaretDownOutlined'), {\n ssr: false,\n});\n\nconst EditOutlined = dynamic(() => import('@ant-design/icons/EditOutlined'), {\n ssr: false,\n});\n\nconst LockOutlined = dynamic(() => import('@ant-design/icons/LockOutlined'), {\n ssr: false,\n});\n\nconst MessageOutlined = dynamic(() => import('@ant-design/icons/MessageOutlined'), {\n ssr: false,\n});\n\nconst UserOutlined = dynamic(() => import('@ant-design/icons/UserOutlined'), {\n ssr: false,\n});\n\nconst Modal = dynamic(() => import('../../ui/Modal/Modal').then(mod => mod.Modal), {\n ssr: false,\n});\n\nconst NameChangeModal = dynamic(\n () => import('../../modals/NameChangeModal/NameChangeModal').then(mod => mod.NameChangeModal),\n {\n ssr: false,\n },\n);\n\nconst AuthModal = dynamic(\n () => import('../../modals/AuthModal/AuthModal').then(mod => mod.AuthModal),\n {\n ssr: false,\n },\n);\n\nexport type UserDropdownProps = {\n username?: string;\n};\n\nexport const UserDropdown: FC = ({ username: defaultUsername = undefined }) => {\n const [showNameChangeModal, setShowNameChangeModal] = useState(false);\n const [showAuthModal, setShowAuthModal] = useState(false);\n const [chatToggleVisible, setChatToggleVisible] = useRecoilState(chatVisibleToggleAtom);\n const appState = useRecoilValue(appStateAtom);\n\n const toggleChatVisibility = () => {\n setChatToggleVisible(!chatToggleVisible);\n };\n\n const handleChangeName = () => {\n setShowNameChangeModal(true);\n };\n\n // Register keyboard shortcut for the space bar to toggle playback\n useHotkeys(\n 'c',\n toggleChatVisibility,\n {\n enableOnContentEditable: false,\n },\n [chatToggleVisible],\n );\n\n const currentUser = useRecoilValue(currentUserAtom);\n if (!currentUser) {\n return null;\n }\n\n const { displayName } = currentUser;\n const username = defaultUsername || displayName;\n const menu = (\n \n } onClick={() => handleChangeName()}>\n Change name\n \n } onClick={() => setShowAuthModal(true)}>\n Authenticate\n \n {appState.chatAvailable && (\n } onClick={() => toggleChatVisibility()}>\n {chatToggleVisible ? 'Hide Chat' : 'Show Chat'}\n \n )}\n \n );\n\n return (\n
\n \n \n \n setShowNameChangeModal(false)}\n >\n \n \n setShowAuthModal(false)}>\n \n \n
\n );\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"UserDropdown_root__IdxfQ\",\"ant-space\":\"UserDropdown_ant-space__XJTZ3\",\"ant-space-item\":\"UserDropdown_ant-space-item__w4nC2\",\"userIcon\":\"UserDropdown_userIcon__A5XgE\",\"username\":\"UserDropdown_username__nVyPA\"};","import { useContext, createContext, useState, useCallback, useRef, useLayoutEffect, useEffect } from 'react';\nimport { jsx } from 'react/jsx-runtime';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar reservedModifierKeywords = ['shift', 'alt', 'meta', 'mod'];\nvar mappedKeys = {\n esc: 'escape',\n \"return\": 'enter',\n '.': 'period',\n ',': 'comma',\n '-': 'slash',\n ' ': 'space',\n '#': 'backslash',\n '+': 'bracketright',\n 'ShiftLeft': 'shift',\n 'ShiftRight': 'shift',\n 'AltLeft': 'alt',\n 'AltRight': 'alt',\n 'MetaLeft': 'meta',\n 'MetaRight': 'meta',\n 'ControlLeft': 'ctrl',\n 'ControlRight': 'ctrl'\n};\nfunction mapKey(key) {\n return (mappedKeys[key] || key).trim().toLowerCase().replace('key', '').replace('digit', '').replace('numpad', '').replace('arrow', '');\n}\nfunction isHotkeyModifier(key) {\n return reservedModifierKeywords.includes(key);\n}\nfunction parseKeysHookInput(keys, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n if (typeof keys === 'string') {\n return keys.split(splitKey);\n }\n return keys;\n}\nfunction parseHotkey(hotkey, combinationKey) {\n if (combinationKey === void 0) {\n combinationKey = '+';\n }\n var keys = hotkey.toLocaleLowerCase().split(combinationKey).map(function (k) {\n return mapKey(k);\n });\n var modifiers = {\n alt: keys.includes('alt'),\n shift: keys.includes('shift'),\n meta: keys.includes('meta'),\n mod: keys.includes('mod')\n };\n var singleCharKeys = keys.filter(function (k) {\n return !reservedModifierKeywords.includes(k);\n });\n return _extends({}, modifiers, {\n keys: singleCharKeys\n });\n}\n\nvar currentlyPressedKeys = /*#__PURE__*/new Set();\nfunction isHotkeyPressed(key, splitKey) {\n if (splitKey === void 0) {\n splitKey = ',';\n }\n var hotkeyArray = Array.isArray(key) ? key : key.split(splitKey);\n return hotkeyArray.every(function (hotkey) {\n return currentlyPressedKeys.has(hotkey.trim().toLowerCase());\n });\n}\nfunction pushToCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (currentlyPressedKeys.has('meta')) {\n currentlyPressedKeys.forEach(function (key) {\n return !isHotkeyModifier(key) && currentlyPressedKeys[\"delete\"](key.toLowerCase());\n });\n }\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys.add(hotkey.toLowerCase());\n });\n}\nfunction removeFromCurrentlyPressedKeys(key) {\n var hotkeyArray = Array.isArray(key) ? key : [key];\n /*\r\n Due to a weird behavior on macOS we need to clear the set if the user pressed down the meta key and presses another key.\r\n https://stackoverflow.com/questions/11818637/why-does-javascript-drop-keyup-events-when-the-metakey-is-pressed-on-mac-browser\r\n Otherwise the set will hold all ever pressed keys while the meta key is down which leads to wrong results.\r\n */\n if (key === 'meta') {\n currentlyPressedKeys.clear();\n } else {\n hotkeyArray.forEach(function (hotkey) {\n return currentlyPressedKeys[\"delete\"](hotkey.toLowerCase());\n });\n }\n}\n(function () {\n if (typeof document !== 'undefined') {\n document.addEventListener('keydown', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n document.addEventListener('keyup', function (e) {\n if (e.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys([mapKey(e.key), mapKey(e.code)]);\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('blur', function () {\n currentlyPressedKeys.clear();\n });\n }\n})();\n\nfunction maybePreventDefault(e, hotkey, preventDefault) {\n if (typeof preventDefault === 'function' && preventDefault(e, hotkey) || preventDefault === true) {\n e.preventDefault();\n }\n}\nfunction isHotkeyEnabled(e, hotkey, enabled) {\n if (typeof enabled === 'function') {\n return enabled(e, hotkey);\n }\n return enabled === true || enabled === undefined;\n}\nfunction isKeyboardEventTriggeredByInput(ev) {\n return isHotkeyEnabledOnTag(ev, ['input', 'textarea', 'select']);\n}\nfunction isHotkeyEnabledOnTag(_ref, enabledOnTags) {\n var target = _ref.target;\n if (enabledOnTags === void 0) {\n enabledOnTags = false;\n }\n var targetTagName = target && target.tagName;\n if (enabledOnTags instanceof Array) {\n return Boolean(targetTagName && enabledOnTags && enabledOnTags.some(function (tag) {\n return tag.toLowerCase() === targetTagName.toLowerCase();\n }));\n }\n return Boolean(targetTagName && enabledOnTags && enabledOnTags === true);\n}\nfunction isScopeActive(activeScopes, scopes) {\n if (activeScopes.length === 0 && scopes) {\n console.warn('A hotkey has the \"scopes\" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a ');\n return true;\n }\n if (!scopes) {\n return true;\n }\n return activeScopes.some(function (scope) {\n return scopes.includes(scope);\n }) || activeScopes.includes('*');\n}\nvar isHotkeyMatchingKeyboardEvent = function isHotkeyMatchingKeyboardEvent(e, hotkey, ignoreModifiers) {\n if (ignoreModifiers === void 0) {\n ignoreModifiers = false;\n }\n var alt = hotkey.alt,\n meta = hotkey.meta,\n mod = hotkey.mod,\n shift = hotkey.shift,\n keys = hotkey.keys;\n var pressedKeyUppercase = e.key,\n code = e.code;\n var altKey = isHotkeyPressed('alt');\n var shiftKey = isHotkeyPressed('shift');\n var metaKey = isHotkeyPressed('meta');\n var ctrlKey = isHotkeyPressed('ctrl');\n var keyCode = mapKey(code);\n var pressedKey = pressedKeyUppercase.toLowerCase();\n if (!ignoreModifiers) {\n if (altKey !== alt && pressedKey !== 'alt') {\n return false;\n }\n if (shiftKey !== shift && pressedKey !== 'shift') {\n return false;\n }\n // Mod is a special key name that is checking for meta on macOS and ctrl on other platforms\n if (mod) {\n if (!metaKey && !ctrlKey) {\n return false;\n }\n } else {\n if (metaKey !== meta && ctrlKey !== meta && keyCode !== 'meta' && keyCode !== 'ctrl') {\n return false;\n }\n }\n }\n // All modifiers are correct, now check the key\n // If the key is set, we check for the key\n if (keys && keys.length === 1 && (keys.includes(pressedKey) || keys.includes(keyCode))) {\n return true;\n } else if (keys) {\n // Check if all keys are present in pressedDownKeys set\n return isHotkeyPressed(keys);\n } else if (!keys) {\n // If the key is not set, we only listen for modifiers, that check went alright, so we return true\n return true;\n }\n // There is nothing that matches.\n return false;\n};\n\nvar BoundHotkeysProxyProvider = /*#__PURE__*/createContext(undefined);\nvar useBoundHotkeysProxy = function useBoundHotkeysProxy() {\n return useContext(BoundHotkeysProxyProvider);\n};\nfunction BoundHotkeysProxyProviderProvider(_ref) {\n var addHotkey = _ref.addHotkey,\n removeHotkey = _ref.removeHotkey,\n children = _ref.children;\n return /*#__PURE__*/jsx(BoundHotkeysProxyProvider.Provider, {\n value: {\n addHotkey: addHotkey,\n removeHotkey: removeHotkey\n },\n children: children\n });\n}\n\nfunction deepEqual(x, y) {\n //@ts-ignore\n return x && y && typeof x === 'object' && typeof y === 'object'\n //@ts-ignore\n ? Object.keys(x).length === Object.keys(y).length && Object.keys(x).reduce(function (isEqual, key) {\n return isEqual && deepEqual(x[key], y[key]);\n }, true) : x === y;\n}\n\nvar HotkeysContext = /*#__PURE__*/createContext({\n hotkeys: [],\n enabledScopes: [],\n toggleScope: function toggleScope() {},\n enableScope: function enableScope() {},\n disableScope: function disableScope() {}\n});\nvar useHotkeysContext = function useHotkeysContext() {\n return useContext(HotkeysContext);\n};\nvar HotkeysProvider = function HotkeysProvider(_ref) {\n var _ref$initiallyActiveS = _ref.initiallyActiveScopes,\n initiallyActiveScopes = _ref$initiallyActiveS === void 0 ? ['*'] : _ref$initiallyActiveS,\n children = _ref.children;\n var _useState = useState((initiallyActiveScopes == null ? void 0 : initiallyActiveScopes.length) > 0 ? initiallyActiveScopes : ['*']),\n internalActiveScopes = _useState[0],\n setInternalActiveScopes = _useState[1];\n var _useState2 = useState([]),\n boundHotkeys = _useState2[0],\n setBoundHotkeys = _useState2[1];\n var enableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n });\n }, []);\n var disableScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n });\n }, []);\n var toggleScope = useCallback(function (scope) {\n setInternalActiveScopes(function (prev) {\n if (prev.includes(scope)) {\n if (prev.filter(function (s) {\n return s !== scope;\n }).length === 0) {\n return ['*'];\n } else {\n return prev.filter(function (s) {\n return s !== scope;\n });\n }\n } else {\n if (prev.includes('*')) {\n return [scope];\n }\n return Array.from(new Set([].concat(prev, [scope])));\n }\n });\n }, []);\n var addBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return [].concat(prev, [hotkey]);\n });\n }, []);\n var removeBoundHotkey = useCallback(function (hotkey) {\n setBoundHotkeys(function (prev) {\n return prev.filter(function (h) {\n return !deepEqual(h, hotkey);\n });\n });\n }, []);\n return /*#__PURE__*/jsx(HotkeysContext.Provider, {\n value: {\n enabledScopes: internalActiveScopes,\n hotkeys: boundHotkeys,\n enableScope: enableScope,\n disableScope: disableScope,\n toggleScope: toggleScope\n },\n children: /*#__PURE__*/jsx(BoundHotkeysProxyProviderProvider, {\n addHotkey: addBoundHotkey,\n removeHotkey: removeBoundHotkey,\n children: children\n })\n });\n};\n\nfunction useDeepEqualMemo(value) {\n var ref = useRef(undefined);\n if (!deepEqual(ref.current, value)) {\n ref.current = value;\n }\n return ref.current;\n}\n\nvar stopPropagation = function stopPropagation(e) {\n e.stopPropagation();\n e.preventDefault();\n e.stopImmediatePropagation();\n};\nvar useSafeLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nfunction useHotkeys(keys, callback, options, dependencies) {\n var ref = useRef(null);\n var hasTriggeredRef = useRef(false);\n var _options = !(options instanceof Array) ? options : !(dependencies instanceof Array) ? dependencies : undefined;\n var _deps = options instanceof Array ? options : dependencies instanceof Array ? dependencies : [];\n var cb = useCallback(callback, [].concat(_deps));\n var memoisedOptions = useDeepEqualMemo(_options);\n var _useHotkeysContext = useHotkeysContext(),\n enabledScopes = _useHotkeysContext.enabledScopes;\n var proxy = useBoundHotkeysProxy();\n useSafeLayoutEffect(function () {\n if ((memoisedOptions == null ? void 0 : memoisedOptions.enabled) === false || !isScopeActive(enabledScopes, memoisedOptions == null ? void 0 : memoisedOptions.scopes)) {\n return;\n }\n var listener = function listener(e, isKeyUp) {\n var _e$target;\n if (isKeyUp === void 0) {\n isKeyUp = false;\n }\n if (isKeyboardEventTriggeredByInput(e) && !isHotkeyEnabledOnTag(e, memoisedOptions == null ? void 0 : memoisedOptions.enableOnFormTags)) {\n return;\n }\n // TODO: SINCE THE EVENT IS NOW ATTACHED TO THE REF, THE ACTIVE ELEMENT CAN NEVER BE INSIDE THE REF. THE HOTKEY ONLY TRIGGERS IF THE\n // REF IS THE ACTIVE ELEMENT. THIS IS A PROBLEM SINCE FOCUSED SUB COMPONENTS WON'T TRIGGER THE HOTKEY.\n if (ref.current !== null && document.activeElement !== ref.current && !ref.current.contains(document.activeElement)) {\n stopPropagation(e);\n return;\n }\n if ((_e$target = e.target) != null && _e$target.isContentEditable && !(memoisedOptions != null && memoisedOptions.enableOnContentEditable)) {\n return;\n }\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n var _hotkey$keys;\n var hotkey = parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey);\n if ((isHotkeyMatchingKeyboardEvent(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.ignoreModifiers) || (_hotkey$keys = hotkey.keys) != null && _hotkey$keys.includes('*')) && !hasTriggeredRef.current) {\n maybePreventDefault(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.preventDefault);\n if (!isHotkeyEnabled(e, hotkey, memoisedOptions == null ? void 0 : memoisedOptions.enabled)) {\n stopPropagation(e);\n return;\n }\n // Execute the user callback for that hotkey\n cb(e, hotkey);\n if (!isKeyUp) {\n hasTriggeredRef.current = true;\n }\n }\n });\n };\n var handleKeyDown = function handleKeyDown(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n pushToCurrentlyPressedKeys(mapKey(event.code));\n if ((memoisedOptions == null ? void 0 : memoisedOptions.keydown) === undefined && (memoisedOptions == null ? void 0 : memoisedOptions.keyup) !== true || memoisedOptions != null && memoisedOptions.keydown) {\n listener(event);\n }\n };\n var handleKeyUp = function handleKeyUp(event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n removeFromCurrentlyPressedKeys(mapKey(event.code));\n hasTriggeredRef.current = false;\n if (memoisedOptions != null && memoisedOptions.keyup) {\n listener(event, true);\n }\n };\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keyup', handleKeyUp);\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).addEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.addHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey));\n });\n }\n return function () {\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keyup', handleKeyUp);\n // @ts-ignore\n (ref.current || (_options == null ? void 0 : _options.document) || document).removeEventListener('keydown', handleKeyDown);\n if (proxy) {\n parseKeysHookInput(keys, memoisedOptions == null ? void 0 : memoisedOptions.splitKey).forEach(function (key) {\n return proxy.removeHotkey(parseHotkey(key, memoisedOptions == null ? void 0 : memoisedOptions.combinationKey));\n });\n }\n };\n }, [keys, cb, memoisedOptions, enabledScopes]);\n return ref;\n}\n\nfunction useRecordHotkeys() {\n var _useState = useState(new Set()),\n keys = _useState[0],\n setKeys = _useState[1];\n var _useState2 = useState(false),\n isRecording = _useState2[0],\n setIsRecording = _useState2[1];\n var handler = useCallback(function (event) {\n if (event.key === undefined) {\n // Synthetic event (e.g., Chrome autofill). Ignore.\n return;\n }\n event.preventDefault();\n event.stopPropagation();\n setKeys(function (prev) {\n var newKeys = new Set(prev);\n newKeys.add(mapKey(event.code));\n return newKeys;\n });\n }, []);\n var stop = useCallback(function () {\n if (typeof document !== 'undefined') {\n document.removeEventListener('keydown', handler);\n setIsRecording(false);\n }\n }, [handler]);\n var start = useCallback(function () {\n setKeys(new Set());\n if (typeof document !== 'undefined') {\n stop();\n document.addEventListener('keydown', handler);\n setIsRecording(true);\n }\n }, [handler, stop]);\n return [keys, {\n start: start,\n stop: stop,\n isRecording: isRecording\n }];\n}\n\nexport { HotkeysProvider, isHotkeyPressed, useHotkeys, useHotkeysContext, useRecordHotkeys };\n//# sourceMappingURL=react-hotkeys-hook.esm.js.map\n"],"names":["CaretDownOutlined","dynamic","Promise","all","__webpack_require__","e","then","t","bind","ssr","EditOutlined","LockOutlined","MessageOutlined","UserOutlined","Modal","mod","NameChangeModal","AuthModal","UserDropdown","username","defaultUsername","param","showNameChangeModal","setShowNameChangeModal","useState","showAuthModal","setShowAuthModal","chatToggleVisible","setChatToggleVisible","useRecoilState","chatVisibleToggleAtom","appState","useRecoilValue","appStateAtom","toggleChatVisibility","handleChangeName","useHotkeys","enableOnContentEditable","currentUser","currentUserAtom","displayName","menu","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Menu","jsx","icon","onClick","chatAvailable","div","id","className","concat","styles","Dropdown","overlay","trigger","Button","type","span","title","open","handleCancel","module","exports","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","reservedModifierKeywords","mappedKeys","esc","mapKey","trim","toLowerCase","replace","parseKeysHookInput","keys","splitKey","split","parseHotkey","hotkey","combinationKey","toLocaleLowerCase","map","k","alt","includes","shift","meta","filter","currentlyPressedKeys","Set","isHotkeyPressed","hotkeyArray","Array","isArray","every","has","pushToCurrentlyPressedKeys","forEach","add","removeFromCurrentlyPressedKeys","clear","isHotkeyEnabledOnTag","_ref","enabledOnTags","targetTagName","tagName","Boolean","some","tag","document","addEventListener","undefined","code","window","isHotkeyMatchingKeyboardEvent","ignoreModifiers","pressedKeyUppercase","altKey","shiftKey","metaKey","ctrlKey","keyCode","pressedKey","BoundHotkeysProxyProvider","react__WEBPACK_IMPORTED_MODULE_0__","createContext","HotkeysContext","hotkeys","enabledScopes","toggleScope","enableScope","disableScope","stopPropagation","preventDefault","stopImmediatePropagation","useSafeLayoutEffect","useLayoutEffect","useEffect","callback","options","dependencies","ref","useRef","hasTriggeredRef","_options","cb","useCallback","memoisedOptions","deepEqual","x","y","reduce","isEqual","current","_useHotkeysContext","useContext","proxy","enabled","activeScopes","scopes","console","warn","scope","listener","isKeyUp","_e$target","isKeyboardEventTriggeredByInput","enableOnFormTags","activeElement","contains","isContentEditable","_hotkey$keys","handleKeyDown","event","keydown","keyup","handleKeyUp","addHotkey","removeEventListener","removeHotkey"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js b/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js deleted file mode 100644 index 48dfd8659..000000000 --- a/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8535],{63606:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},c=n(42135),l=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="CheckOutlined";var i=a.forwardRef(l)},99134:function(e,t,n){var r=(0,n(67294).createContext)({});t.Z=r},21584:function(e,t,n){var r=n(4942),a=n(87462),o=n(71002),c=n(94184),l=n.n(c),i=n(67294),s=n(53124),u=n(99134),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);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,c=i.useContext(s.E_),p=c.getPrefixCls,h=c.direction,m=i.useContext(u.Z),v=m.gutter,Z=m.wrap,g=m.supportFlexGap,y=e.prefixCls,x=e.span,b=e.order,C=e.offset,w=e.push,j=e.pull,O=e.className,E=e.children,N=e.flex,A=e.style,S=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=p("col",y),k={};d.forEach(function(t){var n,c={},l=e[t];"number"==typeof l?c.span=l:"object"===(0,o.Z)(l)&&(c=l||{}),delete S[t],k=(0,a.Z)((0,a.Z)({},k),(n={},(0,r.Z)(n,"".concat(P,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,r.Z)(n,"".concat(P,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,r.Z)(n,"".concat(P,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,r.Z)(n,"".concat(P,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,r.Z)(n,"".concat(P,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,r.Z)(n,"".concat(P,"-rtl"),"rtl"===h),n))});var _=l()(P,(n={},(0,r.Z)(n,"".concat(P,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(P,"-order-").concat(b),b),(0,r.Z)(n,"".concat(P,"-offset-").concat(C),C),(0,r.Z)(n,"".concat(P,"-push-").concat(w),w),(0,r.Z)(n,"".concat(P,"-pull-").concat(j),j),n),O,k),R={};if(v&&v[0]>0){var G=v[0]/2;R.paddingLeft=G,R.paddingRight=G}if(v&&v[1]>0&&!g){var B=v[1]/2;R.paddingTop=B,R.paddingBottom=B}return N&&(R.flex="number"==typeof N?"".concat(N," ").concat(N," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(N)?"0 0 ".concat(N):N,!1!==Z||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,a.Z)({},S,{style:(0,a.Z)((0,a.Z)({},R),A),className:_,ref:t}),E)});t.Z=p},92820:function(e,t,n){var r=n(87462),a=n(4942),o=n(71002),c=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),h=n(99134),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);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function v(e,t){var n=s.useState("string"==typeof e?e:""),r=(0,c.Z)(n,2),a=r[0],l=r[1],i=function(){if("object"===(0,o.Z)(e))for(var n=0;n0?-(H[0]/2):void 0,W=null!=H[1]&&H[1]>0?-(H[1]/2):void 0;if(V&&(z.marginLeft=V,z.marginRight=V),T){var $=(0,c.Z)(H,2);z.rowGap=$[1]}else W&&(z.marginTop=W,z.marginBottom=W);var q=(0,c.Z)(H,2),D=q[0],K=q[1],Q=s.useMemo(function(){return{gutter:[D,K],wrap:j,supportFlexGap:T}},[D,K,j,T]);return s.createElement(h.Z.Provider,{value:Q},s.createElement("div",(0,r.Z)({},O,{className:J,style:(0,r.Z)((0,r.Z)({},z),x),ref:t}),b))});t.Z=Z},59096:function(e,t,n){n.r(t),n.d(t,{NameChangeModal:function(){return h}});var r=n(85893),a=n(67294),o=n(4480),c=n(34041),l=n(71577),i=n(79292),s=n(79531),u=n(91951),f=n(77466);let{Option:d}=c.Z,p=e=>{let{color:t}=e;return(0,r.jsx)("div",{style:{textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(t,")"),width:"100%",height:"100%"}})},h=()=>{let e=(0,o.sJ)(f.db),t=(0,o.sJ)(f.Gt),[n,h]=(0,a.useState)(null==e?void 0:e.displayName);if(!e)return null;let{displayName:m,displayColor:v}=e,Z=()=>n!==m&&""!==n&&(null==t?void 0:t.isConnected()),g=()=>{if(!Z())return;let e={type:u.C.NAME_CHANGE,newName:n};t.send(e)},y=e=>{let n={type:u.C.COLOR_CHANGE,newColor:Number(e)};t.send(n)},x=[...Array(8)].map((e,t)=>t),b=(0,r.jsx)(l.Z,{type:"primary",id:"name-change-submit",onClick:g,disabled:!Z(),children:"Change name"});return(0,r.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages.",(0,r.jsx)(i.Z,{onSubmitCapture:g,style:{paddingTop:"8px"},children:(0,r.jsx)(s.Z.Search,{enterButton:b,id:"name-change-field",value:n,onChange:e=>h(e.target.value),placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:m})}),(0,r.jsx)(i.Z.Item,{label:"Your Color",style:{paddingTop:"8px",zIndex:1e3,marginBottom:0},children:(0,r.jsx)(c.Z,{style:{width:120},onChange:y,defaultValue:v.toString(),children:x.map(e=>(0,r.jsx)(d,{title:e,children:(0,r.jsx)(p,{color:e})},e.toString()))})}),'You can also authenticate an IndieAuth or Fediverse account via the "Authenticate" menu.']})}}}]); -//# sourceMappingURL=8535.5f5904b8f519e7d7.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js.map b/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js.map deleted file mode 100644 index cf0341101..000000000 --- a/static/web/_next/static/chunks/8535.5f5904b8f519e7d7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/8535.5f5904b8f519e7d7.js","mappings":"4JAEAA,EADA,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,+LAAmM,EAAG,0CCKxVC,EAAa,SAAAC,CAAA,CAAAC,CAAA,EACjB,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAaS,WAAA,iBACb,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,0BCZ7C,IAAAY,EAA8B,GAAAC,SAAAC,aAAA,EAAa,GAC3CC,CAAAA,EAAA,EAAeH,kHCCfI,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAP,EAAAG,IAAAF,EAAAA,EAAAO,OAAA,CAAAL,IAAAD,CAAAA,CAAA,CAAAC,EAAA,CAAAH,CAAA,CAAAG,EAAA,EAEA,GAAAH,IAAA,EAAAA,GAAA,mBAAAI,OAAAK,qBAAA,SAAAC,EAAA,EAAAP,EAAAC,OAAAK,qBAAA,CAAAT,GAA4HU,EAAAP,EAAAQ,MAAA,CAAcD,IAC1I,EAAAT,EAAAO,OAAA,CAAAL,CAAA,CAAAO,EAAA,GAAAN,OAAAC,SAAA,CAAAO,oBAAA,CAAAL,IAAA,CAAAP,EAAAG,CAAA,CAAAO,EAAA,GAAAR,CAAAA,CAAA,CAAAC,CAAA,CAAAO,EAAA,EAAAV,CAAA,CAAAG,CAAA,CAAAO,EAAA,EACA,CACA,OAAAR,CACA,EAcAW,EAAA,iCACAC,EAAuBC,EAAArB,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,UAAS,GACTC,aAAchM,MAGlB,GAAAoJ,EAAAC,GAAA,EAACkC,EAAAA,CAAAA,CAAAA,IAAS,EAACU,MAAM,aAAanJ,MAAO,CAAEoB,WAAY,MAAOgI,OAAQ,IAAM7D,aAAc,CAAE,WACtF,GAAAe,EAAAC,GAAA,EAACL,EAAAA,CAAMA,CAAAA,CACLlG,MAAO,CAAE2G,MAAO,GAAI,EACpBkC,SAAUhB,EACVqB,aAAc7B,EAAagC,QAAQ,YAElCpB,EAAaC,GAAG,CAACvK,GAChB,GAAA2I,EAAAC,GAAA,EAACN,EAAAA,CAA0BqD,MAAO3L,WAChC,GAAA2I,EAAAC,GAAA,EAACJ,EAAAA,CAAUC,MAAOzI,KADPA,EAAE0L,QAAQ,SAKjB,6FAKlB","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/CheckOutlined.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./components/modals/NameChangeModal/NameChangeModal.tsx","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar CheckOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\" } }] }, \"name\": \"check\", \"theme\": \"outlined\" };\nexport default CheckOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CheckOutlinedSvg from \"@ant-design/icons-svg/es/asn/CheckOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar CheckOutlined = function CheckOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: CheckOutlinedSvg\n }));\n};\nCheckOutlined.displayName = 'CheckOutlined';\nexport default /*#__PURE__*/React.forwardRef(CheckOutlined);","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import React, { CSSProperties, FC, useState } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { Input, Button, Select, Form } from 'antd';\nimport { MessageType } from '../../../interfaces/socket-events';\nimport WebsocketService from '../../../services/websocket-service';\nimport { websocketServiceAtom, currentUserAtom } from '../../stores/ClientConfigStore';\n\nconst { Option } = Select;\n\nexport type UserColorProps = {\n color: number;\n};\n\nconst UserColor: FC = ({ color }) => {\n const style: CSSProperties = {\n textAlign: 'center',\n backgroundColor: `var(--theme-color-users-${color})`,\n width: '100%',\n height: '100%',\n };\n return
;\n};\n\nexport const NameChangeModal: FC = () => {\n const currentUser = useRecoilValue(currentUserAtom);\n const websocketService = useRecoilValue(websocketServiceAtom);\n const [newName, setNewName] = useState(currentUser?.displayName);\n\n if (!currentUser) {\n return null;\n }\n\n const { displayName, displayColor } = currentUser;\n\n const saveEnabled = () =>\n newName !== displayName && newName !== '' && websocketService?.isConnected();\n\n const handleNameChange = () => {\n if (!saveEnabled()) return;\n\n const nameChange = {\n type: MessageType.NAME_CHANGE,\n newName,\n };\n websocketService.send(nameChange);\n };\n\n const handleColorChange = (color: string) => {\n const colorChange = {\n type: MessageType.COLOR_CHANGE,\n newColor: Number(color),\n };\n websocketService.send(colorChange);\n };\n\n const maxColor = 8; // 0...n\n const colorOptions = [...Array(maxColor)].map((e, i) => i);\n\n const saveButton = (\n \n Change name\n \n );\n\n return (\n
\n Your chat display name is what people see when you send chat messages.\n
\n setNewName(e.target.value)}\n placeholder=\"Your chat display name\"\n maxLength={30}\n showCount\n defaultValue={displayName}\n />\n \n \n \n {colorOptions.map(e => (\n \n ))}\n \n \n You can also authenticate an IndieAuth or Fediverse account via the "Authenticate"\n menu.\n
\n );\n};\n"],"names":["asn_CheckOutlined","CheckOutlined_CheckOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_CheckOutlined","forwardRef","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__webpack_exports__","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","_classNames","_React$useContext","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","customizePrefixCls","prefixCls","span","order","offset","push","pull","className","children","flex","style","others","sizeClassObj","forEach","size","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","concat","undefined","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","useMergePropByScreen","oriProp","screen","_React$useState","useState","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","useEffect","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","xs","sm","md","lg","xl","xxl","_React$useState4","screens","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","token","ZP","subscribe","currentGutter","current","Array","isArray","unsubscribe","gutters","normalizedGutter","g","index","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","useMemo","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","value","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","Option","Select","UserColor","color","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","textAlign","backgroundColor","width","height","NameChangeModal","currentUser","useRecoilValue","currentUserAtom","websocketService","websocketServiceAtom","newName","setNewName","displayColor","saveEnabled","isConnected","handleNameChange","nameChange","type","MessageType","send","handleColorChange","colorChange","newColor","Number","colorOptions","map","saveButton","Button","id","onClick","disabled","jsxs","Form","onSubmitCapture","Input","enterButton","onChange","target","placeholder","maxLength","showCount","defaultValue","label","zIndex","toString","title"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/8572-ce656375f939f9f3.js b/static/web/_next/static/chunks/8572-ce656375f939f9f3.js deleted file mode 100644 index d3803d71e..000000000 --- a/static/web/_next/static/chunks/8572-ce656375f939f9f3.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8572],{24308:function(e,t,n){n.d(t,{c4:function(){return o}});var c=n(4942),r=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,i=-1,s={};t.ZP={matchHandlers:{},dispatch:function(e){return s=e,l.forEach(function(e){return e(s)}),l.size>=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],c=e.matchHandlers[n];null==c||c.mql.removeListener(null==c?void 0:c.listener)}),l.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)})}}},15746:function(e,t,n){var c=n(21584);t.Z=c.Z},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},21584:function(e,t,n){var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,a=i.useContext(s.E_),p=a.getPrefixCls,m=a.direction,h=i.useContext(u.Z),v=h.gutter,b=h.wrap,Z=h.supportFlexGap,y=e.prefixCls,x=e.span,g=e.order,C=e.offset,O=e.push,w=e.pull,E=e.className,j=e.children,k=e.flex,N=e.style,P=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=p("col",y),I={};d.forEach(function(t){var n,a={},l=e[t];"number"==typeof l?a.span=l:"object"===(0,o.Z)(l)&&(a=l||{}),delete P[t],I=(0,r.Z)((0,r.Z)({},I),(n={},(0,c.Z)(n,"".concat(S,"-").concat(t,"-").concat(a.span),void 0!==a.span),(0,c.Z)(n,"".concat(S,"-").concat(t,"-order-").concat(a.order),a.order||0===a.order),(0,c.Z)(n,"".concat(S,"-").concat(t,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,c.Z)(n,"".concat(S,"-").concat(t,"-push-").concat(a.push),a.push||0===a.push),(0,c.Z)(n,"".concat(S,"-").concat(t,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,c.Z)(n,"".concat(S,"-rtl"),"rtl"===m),n))});var _=l()(S,(n={},(0,c.Z)(n,"".concat(S,"-").concat(x),void 0!==x),(0,c.Z)(n,"".concat(S,"-order-").concat(g),g),(0,c.Z)(n,"".concat(S,"-offset-").concat(C),C),(0,c.Z)(n,"".concat(S,"-push-").concat(O),O),(0,c.Z)(n,"".concat(S,"-pull-").concat(w),w),n),E,I),R={};if(v&&v[0]>0){var A=v[0]/2;R.paddingLeft=A,R.paddingRight=A}if(v&&v[1]>0&&!Z){var T=v[1]/2;R.paddingTop=T,R.paddingBottom=T}return k&&(R.flex="number"==typeof k?"".concat(k," ").concat(k," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(k)?"0 0 ".concat(k):k,!1!==b||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),j)});t.Z=p},92820:function(e,t,n){var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),h=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n};function v(e,t){var n=s.useState("string"==typeof e?e:""),c=(0,a.Z)(n,2),r=c[0],l=c[1],i=function(){if("object"===(0,o.Z)(e))for(var n=0;n0?-(K[0]/2):void 0,q=null!=K[1]&&K[1]>0?-(K[1]/2):void 0;if($&&(W.marginLeft=$,W.marginRight=$),F){var B=(0,a.Z)(K,2);W.rowGap=B[1]}else q&&(W.marginTop=q,W.marginBottom=q);var J=(0,a.Z)(K,2),V=J[0],Y=J[1],Q=s.useMemo(function(){return{gutter:[V,Y],wrap:w,supportFlexGap:F}},[V,Y,w,F]);return s.createElement(m.Z.Provider,{value:Q},s.createElement("div",(0,c.Z)({},E,{className:M,style:(0,c.Z)((0,c.Z)({},W),x),ref:t}),g))});t.Z=b},71230:function(e,t,n){var c=n(92820);t.Z=c.Z},94594:function(e,t,n){n.d(t,{Z:function(){return x}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(45987),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef(function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,h=e.disabled,v=e.loadingIcon,b=e.checkedChildren,Z=e.unCheckedChildren,y=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),O=(0,f.Z)(!1,{value:p,defaultValue:m}),w=(0,i.Z)(O,2),E=w[0],j=w[1];function k(e,t){var n=E;return h||(j(n=e),null==x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),h),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:h,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?k(!1,e):e.which===d.Z.RIGHT&&k(!0,e),null==g||g(e)},onClick:function(e){var t=k(!E,e);null==y||y(t,e)}}),v,u.createElement("span",{className:"".concat(o,"-inner")},E?b:Z))});p.displayName="Switch";var m=n(53124),h=n(98866),v=n(97647),b=n(68349),Z=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},y=u.forwardRef(function(e,t){var n,a=e.prefixCls,i=e.size,s=e.disabled,f=e.loading,d=e.className,y=Z(e,["prefixCls","size","disabled","loading","className"]),x=u.useContext(m.E_),g=x.getPrefixCls,C=x.direction,O=u.useContext(v.Z),w=u.useContext(h.Z),E=g("switch",a),j=u.createElement("div",{className:"".concat(E,"-handle")},f&&u.createElement(o.Z,{className:"".concat(E,"-loading-icon")})),k=l()((n={},(0,r.Z)(n,"".concat(E,"-small"),"small"===(i||O)),(0,r.Z)(n,"".concat(E,"-loading"),f),(0,r.Z)(n,"".concat(E,"-rtl"),"rtl"===C),n),void 0===d?"":d);return u.createElement(b.Z,{insertExtraNode:!0},u.createElement(p,(0,c.Z)({},y,{prefixCls:E,className:k,disabled:(null!=s?s:w)||f,ref:t,loadingIcon:j})))});y.__ANT_SWITCH=!0;var x=y},20550:function(e,t,n){n.d(t,{Z:function(){return y}});var c=n(4942),r=n(87462),o=n(97685),a=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),m=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},h=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},v=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),b=RegExp("^(".concat(d.E.join("|"),")$")),Z=u.forwardRef(function(e,t){var n,l=e.prefixCls,d=e.className,m=e.style,Z=e.children,y=e.icon,x=e.color,g=e.onClose,C=e.closeIcon,O=e.closable,w=h(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),E=u.useContext(f.E_),j=E.getPrefixCls,k=E.direction,N=u.useState(!0),P=(0,o.Z)(N,2),S=P[0],I=P[1];u.useEffect(function(){"visible"in w&&I(w.visible)},[w.visible]);var _=function(){return!!x&&(v.test(x)||b.test(x))},R=(0,r.Z)({backgroundColor:x&&!_()?x:void 0},m),A=_(),T=j("tag",l),z=i()(T,(n={},(0,c.Z)(n,"".concat(T,"-").concat(x),A),(0,c.Z)(n,"".concat(T,"-has-color"),x&&!A),(0,c.Z)(n,"".concat(T,"-hidden"),!S),(0,c.Z)(n,"".concat(T,"-rtl"),"rtl"===k),n),d),H=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in w||I(!1))},L="onClick"in w||Z&&"a"===Z.type,F=(0,s.Z)(w,["visible"]),G=y||null,D=G?u.createElement(u.Fragment,null,G,u.createElement("span",null,Z)):Z,K=u.createElement("span",(0,r.Z)({},F,{ref:t,className:z,style:R}),D,void 0!==O&&O?C?u.createElement("span",{className:"".concat(T,"-close-icon"),onClick:H},C):u.createElement(a.Z,{className:"".concat(T,"-close-icon"),onClick:H}):null);return L?u.createElement(p.Z,null,K):K});Z.CheckableTag=function(e){var t,n=e.prefixCls,o=e.className,a=e.checked,l=e.onChange,s=e.onClick,d=m(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,u.useContext(f.E_).getPrefixCls)("tag",n),h=i()(p,(t={},(0,c.Z)(t,"".concat(p,"-checkable"),!0),(0,c.Z)(t,"".concat(p,"-checkable-checked"),a),t),o);return u.createElement("span",(0,r.Z)({},d,{className:h,onClick:function(e){null==l||l(!a),null==s||s(e)}}))};var y=Z}}]); -//# sourceMappingURL=8572-ce656375f939f9f3.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/8572-ce656375f939f9f3.js.map b/static/web/_next/static/chunks/8572-ce656375f939f9f3.js.map deleted file mode 100644 index fd4e24b95..000000000 --- a/static/web/_next/static/chunks/8572-ce656375f939f9f3.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/8572-ce656375f939f9f3.js","mappings":"6JAEOA,EAAA,iCACAC,EAAA,CACPC,GAAA,qBACAC,GAAA,qBACAC,GAAA,qBACAC,GAAA,qBACAC,GAAA,sBACAC,IAAA,qBACA,EACAC,EAAA,IAAAC,IACAC,EAAA,GACAC,EAAA,EAgDAC,CAAAA,EAAA,GA/CA,CACAC,cAAA,GACAC,SAAA,SAAAC,CAAA,EAKA,OAJAJ,EAAAI,EACAP,EAAAQ,OAAA,UAAAC,CAAA,EACA,OAAAA,EAAAN,EACA,GACAH,EAAAU,IAAA,GACA,EACAC,UAAA,SAAAF,CAAA,EAKA,OAJAT,EAAAU,IAAA,OAAAE,QAAA,GACAV,GAAA,EACAF,EAAAa,GAAA,CAAAX,EAAAO,GACAA,EAAAN,GACAD,CACA,EACAY,YAAA,SAAAC,CAAA,EACAf,EAAA,OAAAe,GACAf,EAAAU,IAAA,OAAAM,UAAA,EACA,EACAA,WAAA,WACA,IAAAC,EAAA,KACAC,OAAAC,IAAA,CAAA1B,GAAAe,OAAA,UAAAY,CAAA,EACA,IAAAC,EAAA5B,CAAA,CAAA2B,EAAA,CACAE,EAAAL,EAAAZ,aAAA,CAAAgB,EAAA,OACAC,GAAAA,EAAAC,GAAA,CAAAC,cAAA,CAAAF,MAAAA,EAAA,OAAAA,EAAAG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OApI,EAAAR,CALAJ,EAAAA,EAD0BC,UAAgB,CAACoJ,EAAAlJ,EAAa,EACxDC,YAAA,EAKA,MAAAO,GACAoL,EAAY3D,IAAUxH,EAAAb,CAAAA,EAAA,GAA+B,GAAAsI,EAAAlK,CAAA,EAAe4B,EAAA,GAAA+B,MAAA,CAAAlB,EAAA,kBAAyD,GAAAyH,EAAAlK,CAAA,EAAe4B,EAAA,GAAA+B,MAAA,CAAAlB,EAAA,sBAAAiG,GAAA9G,CAAA,EAAAmB,GAC5I,OAAsByF,EAAAhE,aAAmB,QAAS,GAAAgH,EAAAxL,CAAA,EAAQ,GAAGmJ,EAAA,CAC7DpG,UAAA6K,EACA5E,QARA,SAAArI,CAAA,EACAsI,MAAAA,GAAAA,EAAA,CAAAP,GACAM,MAAAA,GAAAA,EAAArI,EACA,CAMA,GACA,ECoEA,IAAAkN,EAAe3B","sources":["webpack://_N_E/./node_modules/antd/es/_util/responsiveObserve.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./node_modules/rc-switch/es/index.js","webpack://_N_E/./node_modules/antd/es/switch/index.js","webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'];\nexport var responsiveMap = {\n xs: '(max-width: 575px)',\n sm: '(min-width: 576px)',\n md: '(min-width: 768px)',\n lg: '(min-width: 992px)',\n xl: '(min-width: 1200px)',\n xxl: '(min-width: 1600px)'\n};\nvar subscribers = new Map();\nvar subUid = -1;\nvar screens = {};\nvar responsiveObserve = {\n matchHandlers: {},\n dispatch: function dispatch(pointMap) {\n screens = pointMap;\n subscribers.forEach(function (func) {\n return func(screens);\n });\n return subscribers.size >= 1;\n },\n subscribe: function subscribe(func) {\n if (!subscribers.size) this.register();\n subUid += 1;\n subscribers.set(subUid, func);\n func(screens);\n return subUid;\n },\n unsubscribe: function unsubscribe(token) {\n subscribers[\"delete\"](token);\n if (!subscribers.size) this.unregister();\n },\n unregister: function unregister() {\n var _this = this;\n Object.keys(responsiveMap).forEach(function (screen) {\n var matchMediaQuery = responsiveMap[screen];\n var handler = _this.matchHandlers[matchMediaQuery];\n handler === null || handler === void 0 ? void 0 : handler.mql.removeListener(handler === null || handler === void 0 ? void 0 : handler.listener);\n });\n subscribers.clear();\n },\n register: function register() {\n var _this2 = this;\n Object.keys(responsiveMap).forEach(function (screen) {\n var matchMediaQuery = responsiveMap[screen];\n var listener = function listener(_ref) {\n var matches = _ref.matches;\n _this2.dispatch(_extends(_extends({}, screens), _defineProperty({}, screen, matches)));\n };\n var mql = window.matchMedia(matchMediaQuery);\n mql.addListener(listener);\n _this2.matchHandlers[matchMediaQuery] = {\n mql: mql,\n listener: listener\n };\n listener(mql);\n });\n }\n};\nexport default responsiveObserve;","import { Col } from '../grid';\nexport default Col;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import { Row } from '../grid';\nexport default Row;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nvar Switch = React.forwardRef(function (_ref, ref) {\n var _classNames;\n\n var _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,\n className = _ref.className,\n checked = _ref.checked,\n defaultChecked = _ref.defaultChecked,\n disabled = _ref.disabled,\n loadingIcon = _ref.loadingIcon,\n checkedChildren = _ref.checkedChildren,\n unCheckedChildren = _ref.unCheckedChildren,\n onClick = _ref.onClick,\n onChange = _ref.onChange,\n onKeyDown = _ref.onKeyDown,\n restProps = _objectWithoutProperties(_ref, [\"prefixCls\", \"className\", \"checked\", \"defaultChecked\", \"disabled\", \"loadingIcon\", \"checkedChildren\", \"unCheckedChildren\", \"onClick\", \"onChange\", \"onKeyDown\"]);\n\n var _useMergedState = useMergedState(false, {\n value: checked,\n defaultValue: defaultChecked\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n innerChecked = _useMergedState2[0],\n setInnerChecked = _useMergedState2[1];\n\n function triggerChange(newChecked, event) {\n var mergedChecked = innerChecked;\n\n if (!disabled) {\n mergedChecked = newChecked;\n setInnerChecked(mergedChecked);\n onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);\n }\n\n return mergedChecked;\n }\n\n function onInternalKeyDown(e) {\n if (e.which === KeyCode.LEFT) {\n triggerChange(false, e);\n } else if (e.which === KeyCode.RIGHT) {\n triggerChange(true, e);\n }\n\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);\n }\n\n function onInternalClick(e) {\n var ret = triggerChange(!innerChecked, e); // [Legacy] trigger onClick with value\n\n onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);\n }\n\n var switchClassName = classNames(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checked\"), innerChecked), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames));\n return React.createElement(\"button\", Object.assign({}, restProps, {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": innerChecked,\n disabled: disabled,\n className: switchClassName,\n ref: ref,\n onKeyDown: onInternalKeyDown,\n onClick: onInternalClick\n }), loadingIcon, React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-inner\")\n }, innerChecked ? checkedChildren : unCheckedChildren));\n});\nSwitch.displayName = 'Switch';\nexport default Switch;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport classNames from 'classnames';\nimport RcSwitch from 'rc-switch';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport warning from '../_util/warning';\nimport Wave from '../_util/wave';\nvar Switch = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n customizeSize = _a.size,\n customDisabled = _a.disabled,\n loading = _a.loading,\n _a$className = _a.className,\n className = _a$className === void 0 ? '' : _a$className,\n props = __rest(_a, [\"prefixCls\", \"size\", \"disabled\", \"loading\", \"className\"]);\n process.env.NODE_ENV !== \"production\" ? warning('checked' in props || !('value' in props), 'Switch', '`value` is not a valid prop, do you mean `checked`?') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var size = React.useContext(SizeContext);\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;\n var prefixCls = getPrefixCls('switch', customizePrefixCls);\n var loadingIcon = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-handle\")\n }, loading && /*#__PURE__*/React.createElement(LoadingOutlined, {\n className: \"\".concat(prefixCls, \"-loading-icon\")\n }));\n var classes = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-small\"), (customizeSize || size) === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), loading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n return /*#__PURE__*/React.createElement(Wave, {\n insertExtraNode: true\n }, /*#__PURE__*/React.createElement(RcSwitch, _extends({}, props, {\n prefixCls: prefixCls,\n className: classes,\n disabled: mergedDisabled,\n ref: ref,\n loadingIcon: loadingIcon\n })));\n});\nSwitch.__ANT_SWITCH = true;\nif (process.env.NODE_ENV !== 'production') {\n Switch.displayName = 'Switch';\n}\nexport default Switch;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;"],"names":["responsiveArray","responsiveMap","xs","sm","md","lg","xl","xxl","subscribers","Map","subUid","screens","__webpack_exports__","matchHandlers","dispatch","pointMap","forEach","func","size","subscribe","register","set","unsubscribe","token","unregister","_this","Object","keys","screen","matchMediaQuery","handler","mql","removeListener","listener","clear","_this2","_ref","matches","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","Z","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","window","matchMedia","addListener","_grid__WEBPACK_IMPORTED_MODULE_0__","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","forwardRef","props","ref","_classNames","_React$useContext","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","customizePrefixCls","prefixCls","span","order","offset","push","pull","className","children","flex","style","others","sizeClassObj","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","concat","undefined","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","createElement","useMergePropByScreen","oriProp","_React$useState","useState","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","useEffect","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","_React$useState4","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","ZP","currentGutter","current","Array","isArray","gutters","normalizedGutter","g","index","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","useMemo","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","value","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","Switch","react","_ref$prefixCls","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown","restProps","objectWithoutProperties","_useMergedState","useMergedState","defaultValue","_useMergedState2","slicedToArray","innerChecked","setInnerChecked","triggerChange","newChecked","event","mergedChecked","switchClassName","classnames_default","defineProperty","assign","type","role","which","KeyCode","LEFT","RIGHT","ret","displayName","switch_Switch","_a","customizeSize","customDisabled","loading","_a$className","context","SizeContext","DisabledContext","LoadingOutlined","wave","insertExtraNode","esm_extends","__ANT_SWITCH","es_switch","tag_rest","PresetColorRegex","colors","Y","join","PresetStatusColorRegex","E","Tag","icon","color","onClose","closeIcon","_a$closable","closable","visible","setVisible","isPresetColor","tagStyle","backgroundColor","presetColor","tagClassName","handleCloseClick","stopPropagation","defaultPrevented","isNeedWave","tagProps","omit","iconNode","kids","Fragment","tagNode","CloseOutlined","CheckableTag","cls","tag"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/8740-ef6b1bab6a842a69.js b/static/web/_next/static/chunks/8740-ef6b1bab6a842a69.js deleted file mode 100644 index a9df9142e..000000000 --- a/static/web/_next/static/chunks/8740-ef6b1bab6a842a69.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8740,3403,1382],{81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},15746:function(e,t,n){"use strict";var r=n(21584);t.Z=r.Z},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},21584:function(e,t,n){"use strict";var r=n(4942),o=n(87462),a=n(71002),c=n(94184),i=n.n(c),l=n(67294),s=n(53124),u=n(99134),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},p=["xs","sm","md","lg","xl","xxl"],v=l.forwardRef(function(e,t){var n,c=l.useContext(s.E_),v=c.getPrefixCls,m=c.direction,d=l.useContext(u.Z),y=d.gutter,g=d.wrap,x=d.supportFlexGap,b=e.prefixCls,Z=e.span,O=e.order,E=e.offset,C=e.push,h=e.pull,N=e.className,j=e.children,w=e.flex,P=e.style,S=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),T=v("col",b),k={};p.forEach(function(t){var n,c={},i=e[t];"number"==typeof i?c.span=i:"object"===(0,a.Z)(i)&&(c=i||{}),delete S[t],k=(0,o.Z)((0,o.Z)({},k),(n={},(0,r.Z)(n,"".concat(T,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,r.Z)(n,"".concat(T,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,r.Z)(n,"".concat(T,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,r.Z)(n,"".concat(T,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,r.Z)(n,"".concat(T,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,r.Z)(n,"".concat(T,"-rtl"),"rtl"===m),n))});var _=i()(T,(n={},(0,r.Z)(n,"".concat(T,"-").concat(Z),void 0!==Z),(0,r.Z)(n,"".concat(T,"-order-").concat(O),O),(0,r.Z)(n,"".concat(T,"-offset-").concat(E),E),(0,r.Z)(n,"".concat(T,"-push-").concat(C),C),(0,r.Z)(n,"".concat(T,"-pull-").concat(h),h),n),N,k),D={};if(y&&y[0]>0){var R=y[0]/2;D.paddingLeft=R,D.paddingRight=R}if(y&&y[1]>0&&!x){var A=y[1]/2;D.paddingTop=A,D.paddingBottom=A}return w&&(D.flex="number"==typeof w?"".concat(w," ").concat(w," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(w)?"0 0 ".concat(w):w,!1!==g||D.minWidth||(D.minWidth=0)),l.createElement("div",(0,o.Z)({},S,{style:(0,o.Z)((0,o.Z)({},D),P),className:_,ref:t}),j)});t.Z=v},92820:function(e,t,n){"use strict";var r=n(87462),o=n(4942),a=n(71002),c=n(97685),i=n(94184),l=n.n(i),s=n(67294),u=n(53124),f=n(98082),p=n(24308),v=n(93355),m=n(99134),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function y(e,t){var n=s.useState("string"==typeof e?e:""),r=(0,c.Z)(n,2),o=r[0],i=r[1],l=function(){if("object"===(0,a.Z)(e))for(var n=0;n0?-(B[0]/2):void 0,K=null!=B[1]&&B[1]>0?-(B[1]/2):void 0;if(M&&(G.marginLeft=M,G.marginRight=M),z){var q=(0,c.Z)(B,2);G.rowGap=q[1]}else K&&(G.marginTop=K,G.marginBottom=K);var J=(0,c.Z)(B,2),U=J[0],H=J[1],Q=s.useMemo(function(){return{gutter:[U,H],wrap:h,supportFlexGap:z}},[U,H,h,z]);return s.createElement(m.Z.Provider,{value:Q},s.createElement("div",(0,r.Z)({},N,{className:W,style:(0,r.Z)((0,r.Z)({},G),Z),ref:t}),O))});t.Z=g},65360:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(87462),o=n(97685),a=n(21640),c=n(94184),i=n.n(c),l=n(21770),s=n(15105),u=n(67294),f=n(53124),p=n(55241),v=n(96159),m=n(71577),d=n(6134),y=n(86743),g=n(23715),x=n(7734),b=n(81643),Z=function(e){var t=e.prefixCls,n=e.okButtonProps,o=e.cancelButtonProps,a=e.title,c=e.cancelText,i=e.okText,l=e.okType,s=e.icon,p=e.showCancel,v=void 0===p||p,Z=e.close,O=e.onConfirm,E=e.onCancel,C=u.useContext(f.E_).getPrefixCls;return u.createElement(g.Z,{componentName:"Popconfirm",defaultLocale:x.Z.Popconfirm},function(e){return u.createElement("div",{className:"".concat(t,"-inner-content")},u.createElement("div",{className:"".concat(t,"-message")},s&&u.createElement("span",{className:"".concat(t,"-message-icon")},s),u.createElement("div",{className:"".concat(t,"-message-title")},(0,b.Z)(a))),u.createElement("div",{className:"".concat(t,"-buttons")},v&&u.createElement(m.Z,(0,r.Z)({onClick:E,size:"small"},o),null!=c?c:e.cancelText),u.createElement(y.Z,{buttonProps:(0,r.Z)((0,r.Z)({size:"small"},(0,d.n)(l)),n),actionFn:O,close:Z,prefixCls:C("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},null!=i?i:e.okText)))})},O=void 0,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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},C=u.forwardRef(function(e,t){var n=u.useContext(f.E_).getPrefixCls,c=(0,l.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),m=(0,o.Z)(c,2),d=m[0],y=m[1],g=function(t,n){var r,o;y(t,!0),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t,n),null===(o=e.onOpenChange)||void 0===o||o.call(e,t,n)},x=function(e){e.keyCode===s.Z.ESC&&d&&g(!1,e)},b=e.prefixCls,C=e.placement,h=e.trigger,N=e.okType,j=e.icon,w=void 0===j?u.createElement(a.Z,null):j,P=e.children,S=e.overlayClassName,T=E(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),k=n("popover",b),_=n("popconfirm",b),D=i()(_,S);return u.createElement(p.Z,(0,r.Z)({},T,{trigger:void 0===h?"click":h,prefixCls:k,placement:void 0===C?"top":C,onOpenChange:function(t){var n=e.disabled;void 0!==n&&n||g(t)},open:d,ref:t,overlayClassName:D,_overlay:u.createElement(Z,(0,r.Z)({okType:void 0===N?"primary":N,icon:w},e,{prefixCls:k,close:function(e){g(!1,e)},onConfirm:function(t){var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(O,t)},onCancel:function(t){var n;g(!1,t),null===(n=e.onCancel)||void 0===n||n.call(O,t)}}))}),(0,v.Tm)(P,{onKeyDown:function(e){var t,n;u.isValidElement(P)&&(null===(n=null==P?void 0:(t=P.props).onKeyDown)||void 0===n||n.call(t,e)),x(e)}}))})},55241:function(e,t,n){"use strict";var r=n(87462),o=n(67294),a=n(53124),c=n(94199),i=n(81643),l=n(33603),s=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,i.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,i.Z)(n))):null},f=o.forwardRef(function(e,t){var n=e.prefixCls,i=e.title,f=e.content,p=e._overlay,v=e.placement,m=e.trigger,d=e.mouseEnterDelay,y=e.mouseLeaveDelay,g=e.overlayStyle,x=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),b=o.useContext(a.E_).getPrefixCls,Z=b("popover",n),O=b();return o.createElement(c.Z,(0,r.Z)({placement:void 0===v?"top":v,trigger:void 0===m?"hover":m,mouseEnterDelay:void 0===d?.1:d,mouseLeaveDelay:void 0===y?.1:y,overlayStyle:void 0===g?{}:g},x,{prefixCls:Z,ref:t,overlay:p||o.createElement(u,{prefixCls:Z,title:i,content:f}),transitionName:(0,l.mL)(O,"zoom-big",x.transitionName)}))});t.Z=f},71230:function(e,t,n){"use strict";var r=n(92820);t.Z=r.Z},11382:function(e,t,n){"use strict";var r=n(87462),o=n(4942),a=n(97685),c=n(94184),i=n.n(c),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),v=n(96159),m=n(93355),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,m.b)("small","default","large");var y=null,g=function(e){var t=e.spinPrefixCls,n=e.spinning,c=void 0===n||n,l=e.delay,m=e.className,g=e.size,x=void 0===g?"default":g,b=e.tip,Z=e.wrapperClassName,O=e.style,E=e.children,C=d(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),h=f.useState(function(){return c&&(!c||!l||!!isNaN(Number(l)))}),N=(0,a.Z)(h,2),j=N[0],w=N[1];return f.useEffect(function(){var e=s()(function(){w(c)},l);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[l,c]),f.createElement(p.C,null,function(n){var a,c,l,s=n.direction,p=i()(t,(l={},(0,o.Z)(l,"".concat(t,"-sm"),"small"===x),(0,o.Z)(l,"".concat(t,"-lg"),"large"===x),(0,o.Z)(l,"".concat(t,"-spinning"),j),(0,o.Z)(l,"".concat(t,"-show-text"),!!b),(0,o.Z)(l,"".concat(t,"-rtl"),"rtl"===s),l),m),d=(0,u.Z)(C,["indicator","prefixCls"]),g=f.createElement("div",(0,r.Z)({},d,{style:O,className:p,"aria-live":"polite","aria-busy":j}),(a=e.indicator,c="".concat(t,"-dot"),null===a?null:(0,v.l$)(a)?(0,v.Tm)(a,{className:i()(a.props.className,c)}):(0,v.l$)(y)?(0,v.Tm)(y,{className:i()(y.props.className,c)}):f.createElement("span",{className:i()(c,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),b?f.createElement("div",{className:"".concat(t,"-text")},b):null);if(void 0!==E){var h=i()("".concat(t,"-container"),(0,o.Z)({},"".concat(t,"-blur"),j));return f.createElement("div",(0,r.Z)({},d,{className:i()("".concat(t,"-nested-loading"),Z)}),j&&f.createElement("div",{key:"loading"},g),f.createElement("div",{className:h,key:"container"},E))}return g})},x=function(e){var t=e.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",t),o=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:n});return f.createElement(g,(0,r.Z)({},o))};x.setDefaultIndicator=function(e){y=e},t.Z=x},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),a=n(2333),c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?o(e):a(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,a=o.hasOwnProperty,c=o.toString,i=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,i),n=e[i];try{e[i]=void 0;var r=!0}catch(o){}var l=c.call(e);return r&&(t?e[i]=n:delete e[i]),l}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),a=n(14841),c=Math.max,i=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,v,m=0,d=!1,y=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(t){var n=l,r=s;return l=s=void 0,m=t,f=e.apply(r,n)}function b(e){var n=e-v,r=e-m;return void 0===v||n>=t||n<0||y&&r>=u}function Z(){var e,n,r,a=o();if(b(a))return O(a);p=setTimeout(Z,(e=a-v,n=a-m,r=t-e,y?i(r,u-n):r))}function O(e){return(p=void 0,g&&l)?x(e):(l=s=void 0,f)}function E(){var e,n=o(),r=b(n);if(l=arguments,s=this,v=n,r){if(void 0===p)return m=e=v,p=setTimeout(Z,t),d?x(e):f;if(y)return clearTimeout(p),p=setTimeout(Z,t),x(v)}return void 0===p&&(p=setTimeout(Z,t)),f}return t=a(t)||0,r(n)&&(d=!!n.leading,u=(y="maxWait"in n)?c(a(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=v=s=p=void 0},E.flush=function(){return void 0===p?f:O(o())},E}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),a=n(33448),c=0/0,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return c;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):i.test(e)?c:+e}}}]); -//# sourceMappingURL=8740-ef6b1bab6a842a69.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/8740-ef6b1bab6a842a69.js.map b/static/web/_next/static/chunks/8740-ef6b1bab6a842a69.js.map deleted file mode 100644 index 7f8e38329..000000000 --- a/static/web/_next/static/chunks/8740-ef6b1bab6a842a69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AA4M,EAAA,mBAAA5M,EAAA6M,OAAA,CAAA7M,EAAA6M,OAAA,GAAA7M,CAAA,CACAA,EAAA2J,EAAAiD,GAAAA,EAAA,GAAAA,CAAA,CACA,GACA,iBAAA5M,EACA,OAAAA,IAAAA,EAAAA,EAAA,CAAAA,CAAA,CAEAA,EAAAoM,EAAApM,GACA,IAAA8M,EAAAN,EAAAlR,IAAA,CAAA0E,GACA,UAAAyM,EAAAnR,IAAA,CAAA0E,GACA0M,EAAA1M,EAAA4I,KAAA,IAAAkE,EAAA,KACAP,EAAAjR,IAAA,CAAA0E,GAAAsM,EAAA,CAAAtM,CAAA,AACA","sources":["webpack://_N_E/./node_modules/antd/es/_util/getRenderPropValue.js","webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/popconfirm/PurePanel.js","webpack://_N_E/./node_modules/antd/es/popconfirm/index.js","webpack://_N_E/./node_modules/antd/es/popover/index.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./node_modules/lodash/_Symbol.js","webpack://_N_E/./node_modules/lodash/_baseGetTag.js","webpack://_N_E/./node_modules/lodash/_baseTrim.js","webpack://_N_E/./node_modules/lodash/_freeGlobal.js","webpack://_N_E/./node_modules/lodash/_getRawTag.js","webpack://_N_E/./node_modules/lodash/_objectToString.js","webpack://_N_E/./node_modules/lodash/_root.js","webpack://_N_E/./node_modules/lodash/_trimmedEndIndex.js","webpack://_N_E/./node_modules/lodash/debounce.js","webpack://_N_E/./node_modules/lodash/isObject.js","webpack://_N_E/./node_modules/lodash/isObjectLike.js","webpack://_N_E/./node_modules/lodash/isSymbol.js","webpack://_N_E/./node_modules/lodash/now.js","webpack://_N_E/./node_modules/lodash/toNumber.js","webpack://_N_E/"],"sourcesContent":["export var getRenderPropValue = function getRenderPropValue(propValue) {\n if (!propValue) {\n return null;\n }\n if (typeof propValue === 'function') {\n return propValue();\n }\n return propValue;\n};","import { Col } from '../grid';\nexport default Col;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Button from '../button';\nimport { convertLegacyProps } from '../button/button';\nimport ActionButton from '../_util/ActionButton';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport defaultLocale from '../locale/default';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { ConfigContext } from '../config-provider';\nexport var Overlay = function Overlay(props) {\n var prefixCls = props.prefixCls,\n okButtonProps = props.okButtonProps,\n cancelButtonProps = props.cancelButtonProps,\n title = props.title,\n cancelText = props.cancelText,\n okText = props.okText,\n okType = props.okType,\n icon = props.icon,\n _props$showCancel = props.showCancel,\n showCancel = _props$showCancel === void 0 ? true : _props$showCancel,\n close = props.close,\n onConfirm = props.onConfirm,\n onCancel = props.onCancel;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Popconfirm\",\n defaultLocale: defaultLocale.Popconfirm\n }, function (contextLocale) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message\")\n }, icon && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-message-icon\")\n }, icon), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-message-title\")\n }, getRenderPropValue(title))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-buttons\")\n }, showCancel && /*#__PURE__*/React.createElement(Button, _extends({\n onClick: onCancel,\n size: \"small\"\n }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale.cancelText), /*#__PURE__*/React.createElement(ActionButton, {\n buttonProps: _extends(_extends({\n size: 'small'\n }, convertLegacyProps(okType)), okButtonProps),\n actionFn: onConfirm,\n close: close,\n prefixCls: getPrefixCls('btn'),\n quitOnNullishReturnValue: true,\n emitEvent: true\n }, okText !== null && okText !== void 0 ? okText : contextLocale.okText)));\n });\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar _this = this;\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Popover from '../popover';\nimport { cloneElement } from '../_util/reactNode';\nimport { Overlay } from './PurePanel';\nvar Popconfirm = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var _useMergedState = useMergedState(false, {\n value: props.open !== undefined ? props.open : props.visible,\n defaultValue: props.defaultOpen !== undefined ? props.defaultOpen : props.defaultVisible\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n open = _useMergedState2[0],\n setOpen = _useMergedState2[1];\n // const isDestroyed = useDestroyed();\n var settingOpen = function settingOpen(value, e) {\n var _a, _b;\n setOpen(value, true);\n (_a = props.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(props, value, e);\n (_b = props.onOpenChange) === null || _b === void 0 ? void 0 : _b.call(props, value, e);\n };\n var close = function close(e) {\n settingOpen(false, e);\n };\n var onConfirm = function onConfirm(e) {\n var _a;\n return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var onCancel = function onCancel(e) {\n var _a;\n settingOpen(false, e);\n (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(_this, e);\n };\n var _onKeyDown = function onKeyDown(e) {\n if (e.keyCode === KeyCode.ESC && open) {\n settingOpen(false, e);\n }\n };\n var onOpenChange = function onOpenChange(value) {\n var _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled;\n if (disabled) {\n return;\n }\n settingOpen(value);\n };\n var customizePrefixCls = props.prefixCls,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'click' : _props$trigger,\n _props$okType = props.okType,\n okType = _props$okType === void 0 ? 'primary' : _props$okType,\n _props$icon = props.icon,\n icon = _props$icon === void 0 ? /*#__PURE__*/React.createElement(ExclamationCircleFilled, null) : _props$icon,\n children = props.children,\n overlayClassName = props.overlayClassName,\n restProps = __rest(props, [\"prefixCls\", \"placement\", \"trigger\", \"okType\", \"icon\", \"children\", \"overlayClassName\"]);\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var prefixClsConfirm = getPrefixCls('popconfirm', customizePrefixCls);\n var overlayClassNames = classNames(prefixClsConfirm, overlayClassName);\n return /*#__PURE__*/React.createElement(Popover, _extends({}, restProps, {\n trigger: trigger,\n prefixCls: prefixCls,\n placement: placement,\n onOpenChange: onOpenChange,\n open: open,\n ref: ref,\n overlayClassName: overlayClassNames,\n _overlay: /*#__PURE__*/React.createElement(Overlay, _extends({\n okType: okType,\n icon: icon\n }, props, {\n prefixCls: prefixCls,\n close: close,\n onConfirm: onConfirm,\n onCancel: onCancel\n }))\n }), cloneElement(children, {\n onKeyDown: function onKeyDown(e) {\n var _a, _b;\n if ( /*#__PURE__*/React.isValidElement(children)) {\n (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n }\n _onKeyDown(e);\n }\n }));\n});\nexport default Popconfirm;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nvar Overlay = function Overlay(_ref) {\n var title = _ref.title,\n content = _ref.content,\n prefixCls = _ref.prefixCls;\n if (!title && !content) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner-content\")\n }, getRenderPropValue(content)));\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var customizePrefixCls = props.prefixCls,\n title = props.title,\n content = props.content,\n _overlay = props._overlay,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'top' : _props$placement,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n _props$overlayStyle = props.overlayStyle,\n overlayStyle = _props$overlayStyle === void 0 ? {} : _props$overlayStyle,\n otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"_overlay\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('popover', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n return /*#__PURE__*/React.createElement(Tooltip, _extends({\n placement: placement,\n trigger: trigger,\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n overlayStyle: overlayStyle\n }, otherProps, {\n prefixCls: prefixCls,\n ref: ref,\n overlay: _overlay || /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n title: title,\n content: content\n }),\n transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName)\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popover.displayName = 'Popover';\n}\nexport default Popover;","import { Row } from '../grid';\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n"],"names":["getRenderPropValue","propValue","__webpack_exports__","_grid__WEBPACK_IMPORTED_MODULE_0__","Z","RowContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","sizes","Col","react__WEBPACK_IMPORTED_MODULE_1__","forwardRef","props","ref","_classNames","_React$useContext","useContext","_config_provider__WEBPACK_IMPORTED_MODULE_2__","E_","getPrefixCls","direction","_React$useContext2","_RowContext__WEBPACK_IMPORTED_MODULE_3__","gutter","wrap","supportFlexGap","customizePrefixCls","prefixCls","span","order","offset","push","pull","className","children","flex","style","others","sizeClassObj","forEach","size","_extends2","sizeProps","propSize","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__","concat","undefined","classes","classnames__WEBPACK_IMPORTED_MODULE_0___default","mergedStyle","horizontalGutter","paddingLeft","paddingRight","verticalGutter","paddingTop","paddingBottom","test","minWidth","createElement","useMergePropByScreen","oriProp","screen","_React$useState","useState","_React$useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","prop","setProp","clacMergeAlignOrJustify","_util_responsiveObserve__WEBPACK_IMPORTED_MODULE_5__","c4","breakpoint","curVal","useEffect","JSON","stringify","_util_type__WEBPACK_IMPORTED_MODULE_2__","b","Row","results","justify","align","_props$gutter","_config_provider__WEBPACK_IMPORTED_MODULE_6__","_React$useState3","xs","sm","md","lg","xl","xxl","_React$useState4","screens","setScreens","_React$useState5","_React$useState6","curScreens","setCurScreens","mergeAlign","mergeJustify","_util_hooks_useFlexGapSupport__WEBPACK_IMPORTED_MODULE_7__","gutterRef","useRef","token","ZP","subscribe","currentGutter","current","Array","isArray","unsubscribe","gutters","normalizedGutter","g","index","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","rowStyle","marginLeft","marginRight","_gutters","rowGap","marginTop","marginBottom","_gutters2","gutterH","gutterV","rowContext","useMemo","_RowContext__WEBPACK_IMPORTED_MODULE_9__","Provider","value","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_10__","Overlay","okButtonProps","cancelButtonProps","title","cancelText","okText","okType","icon","_props$showCancel","showCancel","close","onConfirm","onCancel","context","react","LocaleReceiver","componentName","defaultLocale","locale_default","Popconfirm","contextLocale","es_button","esm_extends","onClick","ActionButton","buttonProps","button_button","n","actionFn","quitOnNullishReturnValue","emitEvent","_this","popconfirm","_useMergedState","useMergedState","open","visible","defaultValue","defaultOpen","defaultVisible","_useMergedState2","slicedToArray","setOpen","settingOpen","_a","_b","onVisibleChange","onOpenChange","_onKeyDown","keyCode","KeyCode","ESC","_props$placement","placement","_props$trigger","trigger","_props$okType","_props$icon","ExclamationCircleFilled","overlayClassName","restProps","prefixClsConfirm","overlayClassNames","classnames_default","popover","_props$disabled","disabled","_overlay","reactNode","Tm","onKeyDown","isValidElement","_ref","content","Fragment","_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_1__","Popover","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","_props$overlayStyle","overlayStyle","otherProps","rootPrefixCls","_tooltip__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","overlay","transitionName","_util_motion__WEBPACK_IMPORTED_MODULE_5__","mL","_util_type__WEBPACK_IMPORTED_MODULE_3__","defaultIndicator","Spin","spinPrefixCls","_props$spinning","spinning","customSpinning","delay","_props$size","tip","wrapperClassName","react__WEBPACK_IMPORTED_MODULE_2__","isNaN","Number","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__","setSpinning","updateSpinning","lodash_debounce__WEBPACK_IMPORTED_MODULE_1___default","cancel","_config_provider__WEBPACK_IMPORTED_MODULE_9__","C","indicator","dotClassName","spinClassName","divProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__","spinElement","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__","_util_reactNode__WEBPACK_IMPORTED_MODULE_4__","l$","containerClassName","key","SpinFC","spinClassProps","setDefaultIndicator","Symbol","root","module","exports","__webpack_require__","getRawTag","objectToString","symToStringTag","toStringTag","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","objectProto","nativeObjectToString","toString","isOwn","tag","unmasked","result","freeSelf","self","Function","reWhitespace","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","timeWaiting","trailingEdge","setTimeout","debounced","isInvoking","arguments","clearTimeout","flush","type","baseGetTag","isObjectLike","Date","baseTrim","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js b/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js new file mode 100644 index 000000000..444d3fa6e --- /dev/null +++ b/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8883],{97183:function(e,t,n){"use strict";var o=n(2897),r=n(7293),u=o.ZP;u.Header=o.h4,u.Footer=o.$_,u.Content=o.VY,u.Sider=r.Z,t.Z=u},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var o={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function r(e){return e?o[e]:o.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var o=n(19013),r=n(13882);function u(e,t){return(0,r.Z)(2,arguments),(0,o.Z)(e).getTime()-(0,o.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(59910),r=n(13882),u=n(93645);function l(e,t,n){(0,r.Z)(2,arguments);var l=(0,o.Z)(e,t)/1e3;return(0,u.u)(null==n?void 0:n.roundingMethod)(l)}},10227:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,o){return!1},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(92648).Z,r=n(17273).Z,u=o(n(67294)),l=n(41003),a=n(67795),i=n(54465),c=n(72692),f=n(48245),s=n(69246),p=n(10227),d=n(33468);let h=new Set;function y(e,t,n,o){if(l.isLocalURL(t)){if(!o.bypassPrefetchedCheck){let r=void 0!==o.locale?o.locale:"locale"in e?e.locale:void 0,u=t+"%"+n+"%"+r;if(h.has(u))return;h.add(u)}Promise.resolve(e.prefetch(t,n,o)).catch(e=>{})}}function v(e){return"string"==typeof e?e:a.formatUrl(e)}let b=u.default.forwardRef(function(e,t){let n,o;let{href:a,as:h,children:b,prefetch:g,passHref:_,replace:m,shallow:M,scroll:C,locale:O,onClick:E,onMouseEnter:P,onTouchStart:T,legacyBehavior:k=!1}=e,j=r(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=b,k&&("string"==typeof n||"number"==typeof n)&&(n=u.default.createElement("a",null,n));let x=!1!==g,S=u.default.useContext(c.RouterContext),R=u.default.useContext(f.AppRouterContext),I=null!=S?S:R,L=!S,{href:Z,as:w}=u.default.useMemo(()=>{if(!S){let e=v(a);return{href:e,as:h?v(h):e}}let[t,n]=l.resolveHref(S,a,!0);return{href:t,as:h?l.resolveHref(S,h):n||t}},[S,a,h]),D=u.default.useRef(Z),U=u.default.useRef(w);k&&(o=u.default.Children.only(n));let H=k?o&&"object"==typeof o&&o.ref:t,[N,K,A]=s.useIntersection({rootMargin:"200px"}),B=u.default.useCallback(e=>{(U.current!==w||D.current!==Z)&&(A(),U.current=w,D.current=Z),N(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[w,H,Z,A,N]);u.default.useEffect(()=>{I&&K&&x&&y(I,Z,w,{locale:O})},[w,Z,K,O,x,null==S?void 0:S.locale,I]);let W={ref:B,onClick(e){k||"function"!=typeof E||E(e),k&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),I&&!e.defaultPrevented&&function(e,t,n,o,r,a,i,c,f,s){let{nodeName:p}=e.currentTarget,d="A"===p.toUpperCase();if(d&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l.isLocalURL(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[r?"replace":"push"](n,o,{shallow:a,locale:c,scroll:i}):t[r?"replace":"push"](o||n,{forceOptimisticNavigation:!s})};f?u.default.startTransition(h):h()}(e,I,Z,w,m,M,C,O,L,x)},onMouseEnter(e){k||"function"!=typeof P||P(e),k&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),I&&(x||!L)&&y(I,Z,w,{locale:O,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(e){k||"function"!=typeof T||T(e),k&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),I&&(x||!L)&&y(I,Z,w,{locale:O,priority:!0,bypassPrefetchedCheck:!0})}};if(!k||_||"a"===o.type&&!("href"in o.props)){let q=void 0!==O?O:null==S?void 0:S.locale,F=(null==S?void 0:S.isLocaleDomain)&&p.getDomainLocale(w,q,null==S?void 0:S.locales,null==S?void 0:S.domainLocales);W.href=F||d.addBasePath(i.addLocale(w,q,null==S?void 0:S.defaultLocale))}return k?u.default.cloneElement(o,W):u.default.createElement("a",Object.assign({},j,W),n)});t.default=b,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:i}=e,c=i||!u,[f,s]=o.useState(!1),[p,d]=o.useState(null);o.useEffect(()=>{if(u){if(!c&&!f&&p&&p.tagName){let e=function(e,t,n){let{id:o,observer:r,elements:u}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},o=a.find(e=>e.root===n.root&&e.margin===n.margin);if(o&&(t=l.get(o)))return t;let r=new Map,u=new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:u,elements:r},a.push(n),l.set(n,t),t}(n);return u.set(e,t),r.observe(e),function(){if(u.delete(e),r.unobserve(e),0===u.size){r.disconnect(),l.delete(o);let t=a.findIndex(e=>e.root===o.root&&e.margin===o.margin);t>-1&&a.splice(t,1)}}}(p,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){let o=r.requestIdleCallback(()=>s(!0));return()=>r.cancelIdleCallback(o)}},[p,c,n,t,f]);let h=o.useCallback(()=>{s(!1)},[]);return[d,f,h]};var o=n(67294),r=n(44686);let u="function"==typeof IntersectionObserver,l=new Map,a=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9008:function(e,t,n){e.exports=n(83121)},41664:function(e,t,n){e.exports=n(31551)},11163:function(e,t,n){e.exports=n(80880)},92703:function(e,t,n){"use strict";var o=n(50414);function r(){}function u(){}u.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,u,l){if(l!==o){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u,resetWarningCache:r};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); +//# sourceMappingURL=8883-e38610c0af2d7da6.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js.map b/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js.map new file mode 100644 index 000000000..721a36f21 --- /dev/null +++ b/static/web/_next/static/chunks/8883-e38610c0af2d7da6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/8883-e38610c0af2d7da6.js","mappings":"2HAEAA,EAAaC,EAAAC,EAAc,CAC3BF,EAAAG,MAAA,CAAgBF,EAAAG,EAAM,CACtBJ,EAAAK,MAAA,CAAgBJ,EAAAK,EAAM,CACtBN,EAAAO,OAAA,CAAiBN,EAAAO,EAAO,CACxBR,EAAAS,KAAA,CAAeC,EAAAC,CAAK,CACpBC,EAAA,EAAeZ,sECPf,IAAAa,EAAA,CACAC,KAAAC,KAAAD,IAAA,CACAE,MAAAD,KAAAC,KAAA,CACAC,MAAAF,KAAAE,KAAA,CACAC,MAAA,SAAAC,CAAA,EACA,OAAAA,EAAA,EAAAJ,KAAAD,IAAA,CAAAK,GAAAJ,KAAAE,KAAA,CAAAE,EAAA,CAGA,EAEO,SAAAC,EAAAC,CAAA,EACP,OAAAA,EAAAR,CAAA,CAAAQ,EAAA,CAAAR,EAFA,KAEA,gGCce,SAAAS,EAAAC,CAAA,CAAAC,CAAA,EAEf,MADE,GAAAC,EAAAd,CAAA,EAAY,EAAAe,WACL,GAAAC,EAAAhB,CAAA,EAAMY,GAAAK,OAAA,GAAuB,GAAAD,EAAAhB,CAAA,EAAMa,GAAAI,OAAA,EAC5C,2GCAe,SAAAC,EAAAN,CAAA,CAAAC,CAAA,CAAAM,CAAA,EACb,GAAAL,EAAAd,CAAA,EAAY,EAAAe,WACd,IAAAK,EAAa,GAAAC,EAAArB,CAAA,EAAwBY,EAAAC,GAAA,IACrC,MAAS,GAAAS,EAAAC,CAAA,EAAiBJ,MAAAA,EAAA,OAAAA,EAAAK,cAAA,EAAAJ,EAC1B,oCC/BAK,OAAAA,cAAAA,CAAAA,EAAAA,aAA6C,CACzCjB,MAAO,EACX,GACAkB,EAAA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EAMA,IAAAU,EAAA,CACAC,MAAAX,EACAY,OAAAZ,EACAa,KAAAb,EACAc,KAAAd,EACAe,OAAAf,EACAgB,OAAAhB,EACAiB,OAAAjB,EACAkB,OAAAlB,EAEAmB,IAAAnB,EACAoB,QAAAZ,EACAnD,QAAA2C,EACAqB,YAAArB,EACAsB,WAAAd,EACAe,KAAAvB,EACAwB,SAAAhB,EACAiB,MAAAjB,EACAkB,UAAAlB,EACAmB,MAAAnB,EACAoB,MAAApB,EAEAqB,eAAA/B,EACAC,kBAAAF,CACA,EAIA,OAFAa,EAAAoB,SAAA,CAAApB,EAEAA,CACA,yBC/CA7K,EAAAT,OAAA,CAAmBuK,EAAQ,wCCN3B9J,CAAAA,EAAAT,OAAA,CAFA","sources":["webpack://_N_E/./node_modules/antd/es/layout/index.js","webpack://_N_E/./node_modules/date-fns/esm/_lib/roundingMethods/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInMilliseconds/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInSeconds/index.js","webpack://_N_E/./node_modules/next/dist/client/get-domain-locale.js","webpack://_N_E/./node_modules/next/dist/client/link.js","webpack://_N_E/./node_modules/next/dist/client/use-intersection.js","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/./node_modules/next/link.js","webpack://_N_E/./node_modules/next/router.js","webpack://_N_E/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://_N_E/./node_modules/prop-types/index.js","webpack://_N_E/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://_N_E/"],"sourcesContent":["import InternalLayout, { Content, Footer, Header } from './layout';\nimport Sider from './Sider';\nvar Layout = InternalLayout;\nLayout.Header = Header;\nLayout.Footer = Footer;\nLayout.Content = Content;\nLayout.Sider = Sider;\nexport default Layout;","var roundingMap = {\n ceil: Math.ceil,\n round: Math.round,\n floor: Math.floor,\n trunc: function trunc(value) {\n return value < 0 ? Math.ceil(value) : Math.floor(value);\n } // Math.trunc is not supported by IE\n\n};\nvar defaultRoundingMethod = 'trunc';\nexport function getRoundingMethod(method) {\n return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInMilliseconds\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * const result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\n\nexport default function differenceInMilliseconds(dateLeft, dateRight) {\n requiredArgs(2, arguments);\n return toDate(dateLeft).getTime() - toDate(dateRight).getTime();\n}","import differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInSeconds\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of seconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * const result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\n\nexport default function differenceInSeconds(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getDomainLocale = getDomainLocale;\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || '';\nfunction getDomainLocale(path, locale, locales, domainLocales) {\n if (process.env.__NEXT_I18N_SUPPORT) {\n const normalizeLocalePath = require('./normalize-locale-path').normalizeLocalePath;\n const detectDomainLocale = require('./detect-domain-locale').detectDomainLocale;\n const target = locale || normalizeLocalePath(path, locales).detectedLocale;\n const domain = detectDomainLocale(domainLocales, undefined, target);\n if (domain) {\n const proto = `http${domain.http ? '' : 's'}://`;\n const finalLocale = target === domain.defaultLocale ? '' : `/${target}`;\n return `${proto}${domain.domain}${basePath}${finalLocale}${path}`;\n }\n return false;\n } else {\n return false;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-domain-locale.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _object_without_properties_loose = require(\"@swc/helpers/lib/_object_without_properties_loose.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _router = require(\"../shared/lib/router/router\");\nvar _formatUrl = require(\"../shared/lib/router/utils/format-url\");\nvar _addLocale = require(\"./add-locale\");\nvar _routerContext = require(\"../shared/lib/router-context\");\nvar _appRouterContext = require(\"../shared/lib/app-router-context\");\nvar _useIntersection = require(\"./use-intersection\");\nvar _getDomainLocale = require(\"./get-domain-locale\");\nvar _addBasePath = require(\"./add-base-path\");\n\nconst prefetched = new Set();\nfunction prefetch(router, href, as, options) {\n if (typeof window === 'undefined') {\n return;\n }\n if (!(0, _router).isLocalURL(href)) {\n return;\n }\n // We should only dedupe requests when experimental.optimisticClientCache is\n // disabled.\n if (!options.bypassPrefetchedCheck) {\n const locale = // Let the link's locale prop override the default router locale.\n typeof options.locale !== 'undefined' ? options.locale : 'locale' in router ? router.locale : undefined;\n const prefetchedKey = href + '%' + as + '%' + locale;\n // If we've already fetched the key, then don't prefetch it again!\n if (prefetched.has(prefetchedKey)) {\n return;\n }\n // Mark this URL as prefetched.\n prefetched.add(prefetchedKey);\n }\n // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n Promise.resolve(router.prefetch(href, as, options)).catch((err)=>{\n if (process.env.NODE_ENV !== 'production') {\n // rethrow to show invalid URL errors\n throw err;\n }\n });\n}\nfunction isModifiedEvent(event) {\n const { target } = event.currentTarget;\n return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.nativeEvent && event.nativeEvent.which === 2;\n}\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter, prefetchEnabled) {\n const { nodeName } = e.currentTarget;\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A';\n if (isAnchorNodeName && (isModifiedEvent(e) || !(0, _router).isLocalURL(href))) {\n // ignore click for browser’s default behavior\n return;\n }\n e.preventDefault();\n const navigate = ()=>{\n // If the router is an NextRouter instance it will have `beforePopState`\n if ('beforePopState' in router) {\n router[replace ? 'replace' : 'push'](href, as, {\n shallow,\n locale,\n scroll\n });\n } else {\n router[replace ? 'replace' : 'push'](as || href, {\n forceOptimisticNavigation: !prefetchEnabled\n });\n }\n };\n if (isAppRouter) {\n // @ts-expect-error startTransition exists.\n _react.default.startTransition(navigate);\n } else {\n navigate();\n }\n}\nfunction formatStringOrUrl(urlObjOrString) {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString;\n }\n return (0, _formatUrl).formatUrl(urlObjOrString);\n}\n/**\n * React Component that enables client-side transitions between routes.\n */ const Link = /*#__PURE__*/ _react.default.forwardRef(function LinkComponent(props, forwardedRef) {\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args) {\n return new Error(`Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`\\`, but got \\`${args.actual}\\` instead.` + (typeof window !== 'undefined' ? \"\\nOpen your browser's console to view the Component stack trace.\" : ''));\n }\n // TypeScript trick for type-guarding:\n const requiredPropsGuard = {\n href: true\n };\n const requiredProps = Object.keys(requiredPropsGuard);\n requiredProps.forEach((key)=>{\n if (key === 'href') {\n if (props[key] == null || typeof props[key] !== 'string' && typeof props[key] !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key]\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // TypeScript trick for type-guarding:\n const optionalPropsGuard = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n locale: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true\n };\n const optionalProps = Object.keys(optionalPropsGuard);\n optionalProps.forEach((key)=>{\n const valType = typeof props[key];\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType\n });\n }\n } else if (key === 'locale') {\n if (props[key] && valType !== 'string') {\n throw createPropError({\n key,\n expected: '`string`',\n actual: valType\n });\n }\n } else if (key === 'onClick' || key === 'onMouseEnter' || key === 'onTouchStart') {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType\n });\n }\n } else if (key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'prefetch' || key === 'legacyBehavior') {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const hasWarned = _react.default.useRef(false);\n if (props.prefetch && !hasWarned.current) {\n hasWarned.current = true;\n console.warn('Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated');\n }\n }\n let children;\n const { href: hrefProp , as: asProp , children: childrenProp , prefetch: prefetchProp , passHref , replace , shallow , scroll , locale , onClick , onMouseEnter: onMouseEnterProp , onTouchStart: onTouchStartProp , // @ts-expect-error this is inlined as a literal boolean not a string\n legacyBehavior =process.env.__NEXT_NEW_LINK_BEHAVIOR === false } = props, restProps = _object_without_properties_loose(props, [\n \"href\",\n \"as\",\n \"children\",\n \"prefetch\",\n \"passHref\",\n \"replace\",\n \"shallow\",\n \"scroll\",\n \"locale\",\n \"onClick\",\n \"onMouseEnter\",\n \"onTouchStart\",\n \"legacyBehavior\"\n ]);\n children = childrenProp;\n if (legacyBehavior && (typeof children === 'string' || typeof children === 'number')) {\n children = /*#__PURE__*/ _react.default.createElement(\"a\", null, children);\n }\n const prefetchEnabled = prefetchProp !== false;\n const pagesRouter = _react.default.useContext(_routerContext.RouterContext);\n const appRouter = _react.default.useContext(_appRouterContext.AppRouterContext);\n const router = pagesRouter != null ? pagesRouter : appRouter;\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter;\n if (process.env.NODE_ENV !== 'production') {\n if (isAppRouter && !asProp) {\n let href;\n if (typeof hrefProp === 'string') {\n href = hrefProp;\n } else if (typeof hrefProp === 'object' && typeof hrefProp.pathname === 'string') {\n href = hrefProp.pathname;\n }\n if (href) {\n const hasDynamicSegment = href.split('/').some((segment)=>segment.startsWith('[') && segment.endsWith(']'));\n if (hasDynamicSegment) {\n throw new Error(`Dynamic href \\`${href}\\` found in while using the \\`/app\\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`);\n }\n }\n }\n }\n const { href , as } = _react.default.useMemo(()=>{\n if (!pagesRouter) {\n const resolvedHref = formatStringOrUrl(hrefProp);\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref\n };\n }\n const [resolvedHref, resolvedAs] = (0, _router).resolveHref(pagesRouter, hrefProp, true);\n return {\n href: resolvedHref,\n as: asProp ? (0, _router).resolveHref(pagesRouter, asProp) : resolvedAs || resolvedHref\n };\n }, [\n pagesRouter,\n hrefProp,\n asProp\n ]);\n const previousHref = _react.default.useRef(href);\n const previousAs = _react.default.useRef(as);\n // This will return the first child, if multiple are provided it will throw an error\n let child;\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(`\"onClick\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`);\n }\n if (onMouseEnterProp) {\n console.warn(`\"onMouseEnter\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`);\n }\n try {\n child = _react.default.Children.only(children);\n } catch (err) {\n if (!children) {\n throw new Error(`No children were passed to with \\`href\\` of \\`${hrefProp}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`);\n }\n throw new Error(`Multiple children were passed to with \\`href\\` of \\`${hrefProp}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` + (typeof window !== 'undefined' ? \" \\nOpen your browser's console to view the Component stack trace.\" : ''));\n }\n } else {\n child = _react.default.Children.only(children);\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n var ref;\n if (((ref = children) == null ? void 0 : ref.type) === 'a') {\n throw new Error('Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor');\n }\n }\n }\n const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useIntersection).useIntersection({\n rootMargin: '200px'\n });\n const setRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n if (childRef) {\n if (typeof childRef === 'function') childRef(el);\n else if (typeof childRef === 'object') {\n childRef.current = el;\n }\n }\n }, [\n as,\n childRef,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n // Prefetch the URL if we haven't already and it's visible.\n _react.default.useEffect(()=>{\n // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.\n if (process.env.NODE_ENV !== 'production') {\n return;\n }\n if (!router) {\n return;\n }\n // If we don't need to prefetch the URL, don't do prefetch.\n if (!isVisible || !prefetchEnabled) {\n return;\n }\n // Prefetch the URL.\n prefetch(router, href, as, {\n locale\n });\n }, [\n as,\n href,\n isVisible,\n locale,\n prefetchEnabled,\n pagesRouter == null ? void 0 : pagesRouter.locale,\n router, \n ]);\n const childProps = {\n ref: setRef,\n onClick (e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(`Component rendered inside next/link has to pass click event to \"onClick\" prop.`);\n }\n }\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n if (!router) {\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter, prefetchEnabled);\n },\n onMouseEnter (e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {\n child.props.onMouseEnter(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n },\n onTouchStart (e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onTouchStart === 'function') {\n child.props.onTouchStart(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n }\n };\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {\n const curLocale = typeof locale !== 'undefined' ? locale : pagesRouter == null ? void 0 : pagesRouter.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = (pagesRouter == null ? void 0 : pagesRouter.isLocaleDomain) && (0, _getDomainLocale).getDomainLocale(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.locales, pagesRouter == null ? void 0 : pagesRouter.domainLocales);\n childProps.href = localeDomain || (0, _addBasePath).addBasePath((0, _addLocale).addLocale(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.defaultLocale));\n }\n return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ _react.default.createElement(\"a\", Object.assign({}, restProps, childProps), children);\n});\nvar _default = Link;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useIntersection = useIntersection;\nvar _react = require(\"react\");\nvar _requestIdleCallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver === 'function';\nconst observers = new Map();\nconst idList = [];\nfunction createObserver(options) {\n const id = {\n root: options.root || null,\n margin: options.rootMargin || ''\n };\n const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);\n let instance;\n if (existing) {\n instance = observers.get(existing);\n if (instance) {\n return instance;\n }\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n instance = {\n id,\n observer,\n elements\n };\n idList.push(id);\n observers.set(id, instance);\n return instance;\n}\nfunction observe(element, callback, options) {\n const { id , observer , elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);\n if (index > -1) {\n idList.splice(index, 1);\n }\n }\n };\n}\nfunction useIntersection({ rootRef , rootMargin , disabled }) {\n const isDisabled = disabled || !hasIntersectionObserver;\n const [visible, setVisible] = (0, _react).useState(false);\n const [element, setElement] = (0, _react).useState(null);\n (0, _react).useEffect(()=>{\n if (hasIntersectionObserver) {\n if (isDisabled || visible) return;\n if (element && element.tagName) {\n const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {\n root: rootRef == null ? void 0 : rootRef.current,\n rootMargin\n });\n return unobserve;\n }\n } else {\n if (!visible) {\n const idleCallback = (0, _requestIdleCallback).requestIdleCallback(()=>setVisible(true));\n return ()=>(0, _requestIdleCallback).cancelIdleCallback(idleCallback);\n }\n }\n }, [\n element,\n isDisabled,\n rootMargin,\n rootRef,\n visible\n ]);\n const resetVisible = (0, _react).useCallback(()=>{\n setVisible(false);\n }, []);\n return [\n setElement,\n visible,\n resetVisible\n ];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-intersection.js.map","module.exports = require('./dist/shared/lib/head')\n","module.exports = require('./dist/client/link')\n","module.exports = require('./dist/client/router')\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["Layout","_layout__WEBPACK_IMPORTED_MODULE_0__","ZP","Header","h4","Footer","$_","Content","VY","Sider","_Sider__WEBPACK_IMPORTED_MODULE_1__","Z","__webpack_exports__","roundingMap","ceil","Math","round","floor","trunc","value","getRoundingMethod","method","differenceInMilliseconds","dateLeft","dateRight","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","arguments","_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__","getTime","differenceInSeconds","options","diff","_differenceInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__","_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__","u","roundingMethod","Object","exports","path","locale","locales","domainLocales","default","__esModule","defineProperty","assign","module","_interop_require_default","require","_object_without_properties_loose","_react","_router","_formatUrl","_addLocale","_routerContext","_appRouterContext","_useIntersection","_getDomainLocale","_addBasePath","prefetched","Set","prefetch","router","href","as","isLocalURL","bypassPrefetchedCheck","undefined","prefetchedKey","has","add","resolve","catch","formatStringOrUrl","urlObjOrString","formatUrl","Link","forwardRef","props","forwardedRef","children","child","hrefProp","asProp","childrenProp","prefetchProp","passHref","replace","shallow","scroll","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","process","restProps","createElement","prefetchEnabled","pagesRouter","useContext","RouterContext","appRouter","AppRouterContext","isAppRouter","useMemo","resolvedHref","resolvedAs","resolveHref","previousHref","useRef","previousAs","Children","only","childRef","ref","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","setRef","useCallback","current","el","useEffect","childProps","e","defaultPrevented","linkClicked","nodeName","currentTarget","isAnchorNodeName","toUpperCase","isModifiedEvent","event","target","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","preventDefault","navigate","forceOptimisticNavigation","startTransition","priority","type","curLocale","localeDomain","isLocaleDomain","getDomainLocale","addBasePath","addLocale","defaultLocale","cloneElement","param","rootRef","disabled","isDisabled","hasIntersectionObserver","visible","setVisible","useState","element","setElement","tagName","unobserve","observe","callback","id","observer","elements","createObserver","instance","root","margin","existing","idList","find","obj","observers","get","Map","IntersectionObserver","entries","forEach","entry","isIntersecting","intersectionRatio","push","set","delete","size","disconnect","index","findIndex","splice","idleCallback","requestIdleCallback","cancelIdleCallback","_requestIdleCallback","__webpack_require__","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/9095.04b1f23bbf31e207.js b/static/web/_next/static/chunks/9095.04b1f23bbf31e207.js new file mode 100644 index 000000000..7fd86aadb --- /dev/null +++ b/static/web/_next/static/chunks/9095.04b1f23bbf31e207.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9095,562],{68997: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:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},69095:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(95642))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},95642:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(r(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=u?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(a,l,f):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(68997)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return l.createElement(c.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="ClockCircleOutlined";var d=l.forwardRef(i);t.default=d}}]); +//# sourceMappingURL=9095.04b1f23bbf31e207.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/9095.51b186b1a98997ce.js.map b/static/web/_next/static/chunks/9095.04b1f23bbf31e207.js.map similarity index 97% rename from static/web/_next/static/chunks/9095.51b186b1a98997ce.js.map rename to static/web/_next/static/chunks/9095.04b1f23bbf31e207.js.map index cc9f8c872..f2d8d0e8b 100644 --- a/static/web/_next/static/chunks/9095.51b186b1a98997ce.js.map +++ b/static/web/_next/static/chunks/9095.04b1f23bbf31e207.js.map @@ -1 +1 @@ -{"version":3,"file":"static/chunks/9095.51b186b1a98997ce.js","mappings":"iGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,oLAAwL,CAAI,kBAA0B,yKAA6K,EAAG,6DCFhiBF,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC/CC,MAAA,EACA,GACED,EAAA,OAAe,QAEjB,IAEAE,EAFAC,EAEyCD,CAAzCA,EAFoDE,EAAQ,SAEnBF,EAAAG,UAAA,CAAAH,EAAA,CAAuC,QAAAA,CAAA,EAG9EF,EAAA,OAAe,CADjBG,EAEAG,EAAAN,OAAA,CAFAG,yBCRA,IAAAI,EAA6BH,EAAQ,OACrCI,EAAcJ,EAAQ,OACtBN,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC7CC,MAAA,EACA,GACAD,EAAA,OAAe,QACf,IAAAS,EAAAF,EAA4CH,EAAQ,QACpDM,EAAAC,SAIAT,CAAA,CAAAU,CAAA,EAAqD,IAAAA,GAAAV,GAAAA,EAAAG,UAAA,CAA6C,OAAAH,CAAA,CAAc,GAAAA,IAAA,GAAAA,GAAAM,WAAAA,EAAAN,IAAA,mBAAAA,EAA8E,OAASW,QAAAX,CAAA,EAAkB,IAAAY,EAAAC,EAAAH,GAAmD,GAAAE,GAAAA,EAAAE,GAAA,CAAAd,GAA+B,OAAAY,EAAAG,GAAA,CAAAf,EAAA,CAAyB,IAAAgB,EAAA,GAAiBC,EAAArB,OAAAC,cAAA,EAAAD,OAAAsB,wBAAA,CAAsF,QAAAC,KAAAnB,EAAuB,GAAAmB,YAAAA,GAAAvB,OAAAwB,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAtB,EAAAmB,GAAA,CAA2E,IAAAI,EAAAN,EAAArB,OAAAsB,wBAAA,CAAAlB,EAAAmB,GAAA,KAAqFI,GAAAA,CAAAA,EAAAR,GAAA,EAAAQ,EAAAC,GAAA,EAAsC5B,OAAAC,cAAA,CAAAmB,EAAAG,EAAAI,GAAmDP,CAAA,CAAAG,EAAA,CAAAnB,CAAA,CAAAmB,EAAA,QAA8BH,EAAAL,OAAA,CAAAX,EAAsBY,GAAaA,EAAAY,GAAA,CAAAxB,EAAAgB,GAA0BA,CAAA,EAJlvBd,EAAQ,QAC5CD,EAAAI,EAAkDH,EAAQ,QAC1DuB,EAAApB,EAAuCH,EAAQ,QAC/C,SAAAW,EAAAH,CAAA,EAAiD,sBAAAgB,QAAA,YAAgD,IAAAC,EAAA,IAAAD,QAAuCE,EAAA,IAAAF,QAAsC,OAAAb,EAAA,SAAAH,CAAA,EAAoF,OAAAA,EAAAkB,EAAAD,CAAA,GAA4DjB,EAAA,CAK9T,IAAAmB,EAAA,SAAAC,CAAA,CAAAC,CAAA,EACA,OAAAvB,EAAAwB,aAAA,CAAAP,EAAAd,OAAA,IAAAJ,EAAAI,OAAA,KAAAJ,EAAAI,OAAA,KAAuHmB,GAAA,GAAY,CACnIC,IAAAA,EACAE,KAAAhC,EAAAU,OAAA,GAEA,CACAkB,CAAAA,EAAAK,WAAA,uBACA,IAAAC,EAAA3B,EAAA4B,UAAA,CAAAP,EACA/B,CAAAA,EAAA,OAAe,CAAAqC","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/ClockCircleOutlined.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexports.default = ClockCircleOutlined;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _ClockCircleOutlined = _interopRequireDefault(require('./lib/icons/ClockCircleOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _ClockCircleOutlined;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _ClockCircleOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/ClockCircleOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _ClockCircleOutlined.default\n }));\n};\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(ClockCircleOutlined);\nexports.default = _default;"],"names":["Object","defineProperty","exports","value","obj","_ClockCircleOutlined","__webpack_require__","__esModule","module","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","ClockCircleOutlined","props","ref","createElement","icon","displayName","_default","forwardRef"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/chunks/9095.04b1f23bbf31e207.js","mappings":"qGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAA4B,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,oLAAwL,CAAI,kBAA0B,yKAA6K,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JlvBd,EAAQ,QAC5CD,EAAAI,EAAkDH,EAAQ,QAC1DuB,EAAApB,EAAuCH,EAAQ,QAC/C,SAAAW,EAAAH,CAAA,EAAiD,sBAAAgB,QAAA,YAAgD,IAAAC,EAAA,IAAAD,QAAuCE,EAAA,IAAAF,QAAsC,OAAAb,EAAA,SAAAH,CAAA,EAAoF,OAAAA,EAAAkB,EAAAD,CAAA,GAA4DjB,EAAA,CAK9T,IAAAmB,EAAA,SAAAC,CAAA,CAAAC,CAAA,EACA,OAAAvB,EAAAwB,aAAA,CAAAP,EAAAd,OAAA,IAAAJ,EAAAI,OAAA,KAAAJ,EAAAI,OAAA,KAAuHmB,GAAA,GAAY,CACnIC,IAAAA,EACAE,KAAAhC,EAAAU,OAAA,GAEA,CACAkB,CAAAA,EAAAK,WAAA,uBACA,IAAAC,EAAA3B,EAAA4B,UAAA,CAAAP,EACA/B,CAAAA,EAAA,OAAe,CAAAqC","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/ClockCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/ClockCircleOutlined.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexports.default = ClockCircleOutlined;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _ClockCircleOutlined = _interopRequireDefault(require('./lib/icons/ClockCircleOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _ClockCircleOutlined;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _ClockCircleOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/ClockCircleOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _ClockCircleOutlined.default\n }));\n};\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(ClockCircleOutlined);\nexports.default = _default;"],"names":["Object","defineProperty","exports","value","obj","_ClockCircleOutlined","__webpack_require__","__esModule","module","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","ClockCircleOutlined","props","ref","createElement","icon","displayName","_default","forwardRef"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/9095.51b186b1a98997ce.js b/static/web/_next/static/chunks/9095.51b186b1a98997ce.js deleted file mode 100644 index 6993c41d6..000000000 --- a/static/web/_next/static/chunks/9095.51b186b1a98997ce.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9095],{68997: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:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},69095:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(95642))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},95642:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(r(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=u?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(a,l,f):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(68997)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return l.createElement(c.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="ClockCircleOutlined";var d=l.forwardRef(i);t.default=d}}]); -//# sourceMappingURL=9095.51b186b1a98997ce.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/9396-aa57d5109e019600.js b/static/web/_next/static/chunks/9396-aa57d5109e019600.js deleted file mode 100644 index a8fe1a9c2..000000000 --- a/static/web/_next/static/chunks/9396-aa57d5109e019600.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9396],{25413:function(e,t){"use strict";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"}},6594:function(e,t){"use strict";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){"use strict";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,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(45799))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},68229:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(7500))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},67638:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(86994))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},45799:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(25413)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="BarsOutlined";var d=o.forwardRef(u);t.default=d},7500:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(6594)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="LeftOutlined";var d=o.forwardRef(u);t.default=d},86994:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=s(t);if(a&&a.has(e))return a.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,a&&a.set(e,r),r}(a(67294)),i=r(a(77307)),c=r(a(92074));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(s=function(e){return e?a:t})(e)}var u=function(e,t){return o.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};u.displayName="RightOutlined";var d=o.forwardRef(u);t.default=d},26303:function(e,t,a){"use strict";a.d(t,{Z:function(){return C}});var r=a(4942),n=a(87462),l=a(71002),o=a(94184),i=a.n(o),c=a(67294),s=a(53124),u=a(98423),d=function(e){var t,a,l=e.prefixCls,o=e.className,s=e.style,u=e.size,d=e.shape,f=i()((t={},(0,r.Z)(t,"".concat(l,"-lg"),"large"===u),(0,r.Z)(t,"".concat(l,"-sm"),"small"===u),t)),p=i()((a={},(0,r.Z)(a,"".concat(l,"-circle"),"circle"===d),(0,r.Z)(a,"".concat(l,"-square"),"square"===d),(0,r.Z)(a,"".concat(l,"-round"),"round"===d),a)),m=c.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return c.createElement("span",{className:i()(l,f,p,o),style:(0,n.Z)((0,n.Z)({},m),s)})},f=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},m=a(42135),v=function(e,t){return c.createElement(m.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:t,icon:p}))};v.displayName="DotChartOutlined";var g=c.forwardRef(v),h=a(74902),y=function(e){var t=function(t){var a=e.width,r=e.rows;return Array.isArray(a)?a[t]:(void 0===r?2:r)-1===t?a:void 0},a=e.prefixCls,r=e.className,n=e.style,l=e.rows,o=(0,h.Z)(Array(l)).map(function(e,a){return c.createElement("li",{key:a,style:{width:t(a)}})});return c.createElement("ul",{className:i()(a,r),style:n},o)},w=function(e){var t=e.prefixCls,a=e.className,r=e.width,l=e.style;return c.createElement("h3",{className:i()(t,a),style:(0,n.Z)({width:r},l)})};function b(e){return e&&"object"===(0,l.Z)(e)?e:{}}var x=function(e){var t=e.prefixCls,a=e.loading,l=e.className,o=e.style,u=e.children,f=e.avatar,p=void 0!==f&&f,m=e.title,v=void 0===m||m,g=e.paragraph,h=void 0===g||g,x=e.active,C=e.round,E=c.useContext(s.E_),O=E.getPrefixCls,N=E.direction,_=O("skeleton",t);if(a||!("loading"in e)){var j=!!p,P=!!v,z=!!h;if(j){var M=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-avatar")},P&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),b(p));k=c.createElement("div",{className:"".concat(_,"-header")},c.createElement(d,(0,n.Z)({},M)))}if(P||z){if(P){var S,k,Z,R,W,L=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-title")},!j&&z?{width:"38%"}:j&&z?{width:"50%"}:{}),b(v));R=c.createElement(w,(0,n.Z)({},L))}if(z){var A,I=(0,n.Z)((0,n.Z)({prefixCls:"".concat(_,"-paragraph")},(A={},j&&P||(A.width="61%"),!j&&P?A.rows=3:A.rows=2,A)),b(h));W=c.createElement(y,(0,n.Z)({},I))}Z=c.createElement("div",{className:"".concat(_,"-content")},R,W)}var q=i()(_,(S={},(0,r.Z)(S,"".concat(_,"-with-avatar"),j),(0,r.Z)(S,"".concat(_,"-active"),x),(0,r.Z)(S,"".concat(_,"-rtl"),"rtl"===N),(0,r.Z)(S,"".concat(_,"-round"),C),S),l);return c.createElement("div",{className:q,style:o},k,Z)}return void 0!==u?u:null};x.Button=function(e){var t,a=e.prefixCls,l=e.className,o=e.active,f=e.block,p=e.size,m=(0,c.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),g=i()(m,"".concat(m,"-element"),(t={},(0,r.Z)(t,"".concat(m,"-active"),o),(0,r.Z)(t,"".concat(m,"-block"),void 0!==f&&f),t),l);return c.createElement("div",{className:g},c.createElement(d,(0,n.Z)({prefixCls:"".concat(m,"-button"),size:void 0===p?"default":p},v)))},x.Avatar=function(e){var t=e.prefixCls,a=e.className,l=e.active,o=e.shape,f=e.size,p=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),m=(0,u.Z)(e,["prefixCls","className"]),v=i()(p,"".concat(p,"-element"),(0,r.Z)({},"".concat(p,"-active"),l),a);return c.createElement("div",{className:v},c.createElement(d,(0,n.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===o?"circle":o,size:void 0===f?"default":f},m)))},x.Input=function(e){var t,a=e.prefixCls,l=e.className,o=e.active,f=e.block,p=e.size,m=(0,c.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),g=i()(m,"".concat(m,"-element"),(t={},(0,r.Z)(t,"".concat(m,"-active"),o),(0,r.Z)(t,"".concat(m,"-block"),f),t),l);return c.createElement("div",{className:g},c.createElement(d,(0,n.Z)({prefixCls:"".concat(m,"-input"),size:void 0===p?"default":p},v)))},x.Image=function(e){var t=e.prefixCls,a=e.className,n=e.style,l=e.active,o=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),u=i()(o,"".concat(o,"-element"),(0,r.Z)({},"".concat(o,"-active"),l),a);return c.createElement("div",{className:u},c.createElement("div",{className:i()("".concat(o,"-image"),a),style:n},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},c.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},x.Node=function(e){var t=e.prefixCls,a=e.className,n=e.style,l=e.active,o=e.children,u=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),d=i()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),l),a),f=null!=o?o:c.createElement(g,null);return c.createElement("div",{className:d},c.createElement("div",{className:i()("".concat(u,"-image"),a),style:n},f))};var C=x},63406:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},87412:function(e,t,a){"use strict";var r,n=a(75263).default,l=a(64836).default;t.ZP=void 0;var o=l(a(38416)),i=l(a(10434)),c=l(a(27424)),s=l(a(54067)),u=l(a(68229)),d=l(a(67638)),f=l(a(94184)),p=l(a(18475)),m=n(a(67294)),v=a(31929),g=l(a(63406)),h=a(62704),y=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},w={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=m.createContext({}),x=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),C=m.forwardRef(function(e,t){var a,r,n,l,C,E,O,N,_,j,P=e.prefixCls,z=e.className,M=e.trigger,S=e.children,k=e.defaultCollapsed,Z=e.theme,R=e.style,W=e.collapsible,L=void 0!==W&&W,A=e.reverseArrow,I=void 0!==A&&A,q=e.width,B=e.collapsedWidth,D=void 0===B?80:B,F=e.zeroWidthTriggerStyle,H=e.breakpoint,T=e.onCollapse,V=e.onBreakpoint,G=y(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),U=(0,m.useContext)(h.LayoutContext).siderHook,J=(0,m.useState)("collapsed"in G?G.collapsed:void 0!==k&&k),$=(0,c.default)(J,2),K=$[0],Q=$[1],X=(0,m.useState)(!1),Y=(0,c.default)(X,2),ee=Y[0],et=Y[1];(0,m.useEffect)(function(){"collapsed"in G&&Q(G.collapsed)},[G.collapsed]);var ea=function(e,t){"collapsed"in G||Q(e),null==T||T(e,t)},er=(0,m.useRef)();er.current=function(e){et(e.matches),null==V||V(e.matches),K!==e.matches&&ea(e.matches,"responsive")},(0,m.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,a=window.matchMedia;if(a&&H&&H in w){t=a("(max-width: ".concat(w[H],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(a){null==t||t.removeListener(e)}}},[H]),(0,m.useEffect)(function(){var e=x("ant-sider-");return U.addSider(e),function(){return U.removeSider(e)}},[]);var en=function(){ea(!K,"clickTrigger")},el=(0,m.useContext)(v.ConfigContext).getPrefixCls,eo=m.useMemo(function(){return{siderCollapsed:K}},[K]);return m.createElement(b.Provider,{value:eo},(r=el("layout-sider",P),n=(0,p.default)(G,["collapsed"]),l=K?D:void 0===q?200:q,C=(0,g.default)(l)?"".concat(l,"px"):String(l),E=0===parseFloat(String(D||0))?m.createElement("span",{onClick:en,className:(0,f.default)("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(I?"right":"left")),style:F},M||m.createElement(s.default,null)):null,O=({expanded:I?m.createElement(d.default,null):m.createElement(u.default,null),collapsed:I?m.createElement(u.default,null):m.createElement(d.default,null)})[K?"collapsed":"expanded"],N=null!==M?E||m.createElement("div",{className:"".concat(r,"-trigger"),onClick:en,style:{width:C}},M||O):null,_=(0,i.default)((0,i.default)({},void 0===R?{}:R),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),j=(0,f.default)(r,"".concat(r,"-").concat(void 0===Z?"dark":Z),(a={},(0,o.default)(a,"".concat(r,"-collapsed"),!!K),(0,o.default)(a,"".concat(r,"-has-trigger"),L&&null!==M&&!E),(0,o.default)(a,"".concat(r,"-below"),!!ee),(0,o.default)(a,"".concat(r,"-zero-width"),0===parseFloat(C)),a),z),m.createElement("aside",(0,i.default)({className:j},n,{style:_,ref:t}),m.createElement("div",{className:"".concat(r,"-children")},S),L||ee&&E?N:null)))});t.ZP=C},62704:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var l=n(a(861)),o=n(a(38416)),i=n(a(27424)),c=n(a(10434)),s=n(a(94184)),u=r(a(67294)),d=a(31929),f=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},p=u.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function m(e){var t=e.suffixCls,a=e.tagName;return e.displayName,function(e){return u.forwardRef(function(r,n){var l=(0,u.useContext(d.ConfigContext).getPrefixCls)(t,r.prefixCls);return u.createElement(e,(0,c.default)({ref:n,prefixCls:l,tagName:a},r))})}}t.LayoutContext=p;var v=u.forwardRef(function(e,t){var a=e.prefixCls,r=e.className,n=e.children,l=e.tagName,o=f(e,["prefixCls","className","children","tagName"]),i=(0,s.default)(a,r);return u.createElement(l,(0,c.default)((0,c.default)({className:i},o),{ref:t}),n)}),g=u.forwardRef(function(e,t){var a,r=u.useContext(d.ConfigContext).direction,n=u.useState([]),m=(0,i.default)(n,2),v=m[0],g=m[1],h=e.prefixCls,y=e.className,w=e.children,b=e.hasSider,x=e.tagName,C=f(e,["prefixCls","className","children","hasSider","tagName"]),E=(0,s.default)(h,(a={},(0,o.default)(a,"".concat(h,"-has-sider"),"boolean"==typeof b?b:v.length>0),(0,o.default)(a,"".concat(h,"-rtl"),"rtl"===r),a),y),O=u.useMemo(function(){return{siderHook:{addSider:function(e){g(function(t){return[].concat((0,l.default)(t),[e])})},removeSider:function(e){g(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return u.createElement(p.Provider,{value:O},u.createElement(x,(0,c.default)({ref:t,className:E},C),w))}),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v);t.Header=y;var w=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v);t.Footer=w;var b=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);t.Content=b,t.default=h},19749:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(6495).Z,n=a(92648).Z,l=a(91598).Z,o=a(17273).Z,i=l(a(67294)),c=n(a(83121)),s=a(2675),u=a(10139),d=a(28730);a(57238);var f=n(a(89824));let p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function m(e){return void 0!==e.default}function v(e){return"number"==typeof e||void 0===e?e:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function g(e,t,a,n,l,o,i){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let c="decode"in e?e.decode():Promise.resolve();c.catch(()=>{}).then(()=>{if(e.parentNode){if("blur"===a&&o(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,c=!1;n.current(r({},t,{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>c,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{c=!0,t.stopPropagation()}}))}(null==l?void 0:l.current)&&l.current(e)}})}let h=i.forwardRef((e,t)=>{var{imgAttributes:a,heightInt:n,widthInt:l,qualityInt:c,className:s,imgStyle:u,blurStyle:d,isLazy:f,fill:p,placeholder:m,loading:v,srcString:h,config:y,unoptimized:w,loader:b,onLoadRef:x,onLoadingCompleteRef:C,setBlurComplete:E,setShowAltText:O,onLoad:N,onError:_}=e,j=o(e,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return v=f?"lazy":v,i.default.createElement(i.default.Fragment,null,i.default.createElement("img",Object.assign({},j,a,{width:l,height:n,decoding:"async","data-nimg":p?"fill":"1",className:s,loading:v,style:r({},u,d),ref:i.useCallback(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&g(e,h,m,x,C,E,w))},[h,m,x,C,E,_,w,t]),onLoad:e=>{let t=e.currentTarget;g(t,h,m,x,C,E,w)},onError:e=>{O(!0),"blur"===m&&E(!0),_&&_(e)}})))}),y=i.forwardRef((e,t)=>{let a,n;var l,{src:g,sizes:y,unoptimized:w=!1,priority:b=!1,loading:x,className:C,quality:E,width:O,height:N,fill:_,style:j,onLoad:P,onLoadingComplete:z,placeholder:M="empty",blurDataURL:S,layout:k,objectFit:Z,objectPosition:R,lazyBoundary:W,lazyRoot:L}=e,A=o(e,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let I=i.useContext(d.ImageConfigContext),q=i.useMemo(()=>{let e=p||I||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),a=e.deviceSizes.sort((e,t)=>e-t);return r({},e,{allSizes:t,deviceSizes:a})},[I]),B=A,D=B.loader||f.default;delete B.loader;let F="__next_img_default"in D;if(F){if("custom"===q.loader)throw Error('Image with src "'.concat(g,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let H=D;D=e=>{let{config:t}=e,a=o(e,["config"]);return H(a)}}if(k){"fill"===k&&(_=!0);let T={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];T&&(j=r({},j,T));let V={responsive:"100vw",fill:"100vw"}[k];V&&!y&&(y=V)}let G="",U=v(O),J=v(N);if("object"==typeof(l=g)&&(m(l)||void 0!==l.src)){let $=m(g)?g.default:g;if(!$.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify($)));if(!$.height||!$.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify($)));if(a=$.blurWidth,n=$.blurHeight,S=S||$.blurDataURL,G=$.src,!_){if(U||J){if(U&&!J){let K=U/$.width;J=Math.round($.height*K)}else if(!U&&J){let Q=J/$.height;U=Math.round($.width*Q)}}else U=$.width,J=$.height}}let X=!b&&("lazy"===x||void 0===x);((g="string"==typeof g?g:G).startsWith("data:")||g.startsWith("blob:"))&&(w=!0,X=!1),q.unoptimized&&(w=!0),F&&g.endsWith(".svg")&&!q.dangerouslyAllowSVG&&(w=!0);let[Y,ee]=i.useState(!1),[et,ea]=i.useState(!1),er=v(E),en=Object.assign(_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:Z,objectPosition:R}:{},et?{}:{color:"transparent"},j),el="blur"===M&&S&&!Y?{backgroundSize:en.objectFit||"cover",backgroundPosition:en.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(s.getImageBlurSvg({widthInt:U,heightInt:J,blurWidth:a,blurHeight:n,blurDataURL:S}),'")')}:{},eo=function(e){let{config:t,src:a,unoptimized:r,width:n,quality:l,sizes:o,loader:i}=e;if(r)return{src:a,srcSet:void 0,sizes:void 0};let{widths:c,kind:s}=function(e,t,a){let{deviceSizes:r,allSizes:n}=e;if(a){let l=/(^|\s)(1?\d?\d)vw/g,o=[];for(let i;i=l.exec(a);i)o.push(parseInt(i[2]));if(o.length){let c=.01*Math.min(...o);return{widths:n.filter(e=>e>=r[0]*c),kind:"w"}}return{widths:n,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let s=[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))];return{widths:s,kind:"x"}}(t,n,o),u=c.length-1;return{sizes:o||"w"!==s?o:"100vw",srcSet:c.map((e,r)=>"".concat(i({config:t,src:a,quality:l,width:e})," ").concat("w"===s?e:r+1).concat(s)).join(", "),src:i({config:t,src:a,quality:l,width:c[u]})}}({config:q,src:g,unoptimized:w,width:U,quality:er,sizes:y,loader:D}),ei=g,ec={imageSrcSet:eo.srcSet,imageSizes:eo.sizes,crossOrigin:B.crossOrigin},es=i.useRef(P);i.useEffect(()=>{es.current=P},[P]);let eu=i.useRef(z);i.useEffect(()=>{eu.current=z},[z]);let ed=r({isLazy:X,imgAttributes:eo,heightInt:J,widthInt:U,qualityInt:er,className:C,imgStyle:en,blurStyle:el,loading:x,config:q,fill:_,unoptimized:w,placeholder:M,loader:D,srcString:ei,onLoadRef:es,onLoadingCompleteRef:eu,setBlurComplete:ee,setShowAltText:ea},B);return i.default.createElement(i.default.Fragment,null,i.default.createElement(h,Object.assign({},ed,{ref:t})),b?i.default.createElement(c.default,null,i.default.createElement("link",Object.assign({key:"__nimg-"+eo.src+eo.srcSet+eo.sizes,rel:"preload",as:"image",href:eo.srcSet?void 0:eo.src},ec))):null)});t.default=y,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageBlurSvg=function(e){let{widthInt:t,heightInt:a,blurWidth:r,blurHeight:n,blurDataURL:l}=e,o=r||t,i=n||a,c=l.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return o&&i?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(o," ").concat(i,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r&&n?"1":"20","'/%3E").concat(c,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(l,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(l,"'/%3E%3C/svg%3E")}},89824:function(e,t){"use strict";function a(e){let{config:t,src:a,width:r,quality:n}=e;return"".concat(t.path,"?url=").concat(encodeURIComponent(a),"&w=").concat(r,"&q=").concat(n||75)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a.__next_img_default=!0,t.default=a},25675:function(e,t,a){e.exports=a(19749)}}]); -//# sourceMappingURL=9396-aa57d5109e019600.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/9396-aa57d5109e019600.js.map b/static/web/_next/static/chunks/9396-aa57d5109e019600.js.map deleted file mode 100644 index c594a2bc7..000000000 --- a/static/web/_next/static/chunks/9396-aa57d5109e019600.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/9396-aa57d5109e019600.js","mappings":"iGAEAA,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAAqB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,wYAA4Y,EAAG,+DCDpiBF,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAAqB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,4LAAgM,EAAG,gECDxVF,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAAEC,MAAA,KAE/CD,EAAA,OAAe,CADf,CAAsB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,6LAAiM,EAAG,mECFxVF,OAAAC,cAAA,CAAAC,EAAA,aAA6C,CAC/CC,MAAA,EACA,GACED,EAAA,OAAe,QAEjB,IAEAE,EAFAC,EAEyCD,CAA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BC3CfvZ,EAAAN,OAAA,CAAAI,EAAA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/lib/asn/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/BarsOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/lib/icons/RightOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/antd/lib/_util/isNumeric.js","webpack://_N_E/./node_modules/antd/lib/layout/Sider.js","webpack://_N_E/./node_modules/antd/lib/layout/layout.js","webpack://_N_E/./node_modules/next/dist/client/image.js","webpack://_N_E/./node_modules/next/dist/shared/lib/image-blur-svg.js","webpack://_N_E/./node_modules/next/dist/shared/lib/image-loader.js","webpack://_N_E/./node_modules/next/image.js","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BarsOutlined = { \"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\" };\nexports.default = BarsOutlined;\n","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar LeftOutlined = { \"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\" };\nexports.default = LeftOutlined;\n","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RightOutlined = { \"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\" };\nexports.default = RightOutlined;\n","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _BarsOutlined = _interopRequireDefault(require('./lib/icons/BarsOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _BarsOutlined;\n exports.default = _default;\n module.exports = _default;","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _LeftOutlined = _interopRequireDefault(require('./lib/icons/LeftOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _LeftOutlined;\n exports.default = _default;\n module.exports = _default;","'use strict';\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n \n var _RightOutlined = _interopRequireDefault(require('./lib/icons/RightOutlined'));\n \n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n \n var _default = _RightOutlined;\n exports.default = _default;\n module.exports = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _BarsOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/BarsOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar BarsOutlined = function BarsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _BarsOutlined.default\n }));\n};\nBarsOutlined.displayName = 'BarsOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(BarsOutlined);\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _LeftOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/LeftOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _LeftOutlined.default\n }));\n};\nLeftOutlined.displayName = 'LeftOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(LeftOutlined);\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _RightOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/RightOutlined\"));\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _RightOutlined.default\n }));\n};\nRightOutlined.displayName = 'RightOutlined';\nvar _default = /*#__PURE__*/React.forwardRef(RightOutlined);\nexports.default = _default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar isNumeric = function isNumeric(value) {\n return !isNaN(parseFloat(value)) && isFinite(value);\n};\nvar _default = isNumeric;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.SiderContext = void 0;\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _BarsOutlined = _interopRequireDefault(require(\"@ant-design/icons/BarsOutlined\"));\nvar _LeftOutlined = _interopRequireDefault(require(\"@ant-design/icons/LeftOutlined\"));\nvar _RightOutlined = _interopRequireDefault(require(\"@ant-design/icons/RightOutlined\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar _isNumeric = _interopRequireDefault(require(\"../_util/isNumeric\"));\nvar _layout = require(\"./layout\");\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nvar SiderContext = /*#__PURE__*/React.createContext({});\nexports.SiderContext = SiderContext;\nvar generateId = function () {\n var i = 0;\n return function () {\n var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return \"\".concat(prefix).concat(i);\n };\n}();\nvar Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n trigger = _a.trigger,\n children = _a.children,\n _a$defaultCollapsed = _a.defaultCollapsed,\n defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n _a$theme = _a.theme,\n theme = _a$theme === void 0 ? 'dark' : _a$theme,\n _a$style = _a.style,\n style = _a$style === void 0 ? {} : _a$style,\n _a$collapsible = _a.collapsible,\n collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n _a$reverseArrow = _a.reverseArrow,\n reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n _a$width = _a.width,\n width = _a$width === void 0 ? 200 : _a$width,\n _a$collapsedWidth = _a.collapsedWidth,\n collapsedWidth = _a$collapsedWidth === void 0 ? 80 : _a$collapsedWidth,\n zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n breakpoint = _a.breakpoint,\n onCollapse = _a.onCollapse,\n onBreakpoint = _a.onBreakpoint,\n props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n var _useContext = (0, React.useContext)(_layout.LayoutContext),\n siderHook = _useContext.siderHook;\n var _useState = (0, React.useState)('collapsed' in props ? props.collapsed : defaultCollapsed),\n _useState2 = (0, _slicedToArray2[\"default\"])(_useState, 2),\n collapsed = _useState2[0],\n setCollapsed = _useState2[1];\n var _useState3 = (0, React.useState)(false),\n _useState4 = (0, _slicedToArray2[\"default\"])(_useState3, 2),\n below = _useState4[0],\n setBelow = _useState4[1];\n (0, React.useEffect)(function () {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n var handleSetCollapsed = function handleSetCollapsed(value, type) {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // ========================= Responsive =========================\n var responsiveHandlerRef = (0, React.useRef)();\n responsiveHandlerRef.current = function (mql) {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n (0, React.useEffect)(function () {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n var mql;\n if (typeof window !== 'undefined') {\n var _window = window,\n matchMedia = _window.matchMedia;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (error) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return function () {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (error) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n (0, React.useEffect)(function () {\n var uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return function () {\n return siderHook.removeSider(uniqueId);\n };\n }, []);\n var toggle = function toggle() {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n var _useContext2 = (0, React.useContext)(_configProvider.ConfigContext),\n getPrefixCls = _useContext2.getPrefixCls;\n var renderSider = function renderSider() {\n var _classNames;\n var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n var divProps = (0, _omit[\"default\"])(props, ['collapsed']);\n var rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n var siderWidth = (0, _isNumeric[\"default\"])(rawWidth) ? \"\".concat(rawWidth, \"px\") : String(rawWidth);\n // special trigger when collapsedWidth == 0\n var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: (0, _classnames[\"default\"])(\"\".concat(prefixCls, \"-zero-width-trigger\"), \"\".concat(prefixCls, \"-zero-width-trigger-\").concat(reverseArrow ? 'right' : 'left')),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(_BarsOutlined[\"default\"], null)) : null;\n var iconObj = {\n expanded: reverseArrow ? /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null),\n collapsed: reverseArrow ? /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null)\n };\n var status = collapsed ? 'collapsed' : 'expanded';\n var defaultTrigger = iconObj[status];\n var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-trigger\"),\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger) : null;\n var divStyle = (0, _extends2[\"default\"])((0, _extends2[\"default\"])({}, style), {\n flex: \"0 0 \".concat(siderWidth),\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n var siderCls = (0, _classnames[\"default\"])(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme), (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n return /*#__PURE__*/React.createElement(\"aside\", (0, _extends2[\"default\"])({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-children\")\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n };\n var contextValue = React.useMemo(function () {\n return {\n siderCollapsed: collapsed\n };\n }, [collapsed]);\n return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nvar _default = Sider;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.LayoutContext = exports.Header = exports.Footer = exports.Content = void 0;\nvar _toConsumableArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar LayoutContext = /*#__PURE__*/React.createContext({\n siderHook: {\n addSider: function addSider() {\n return null;\n },\n removeSider: function removeSider() {\n return null;\n }\n }\n});\nexports.LayoutContext = LayoutContext;\nfunction generator(_ref) {\n var suffixCls = _ref.suffixCls,\n tagName = _ref.tagName,\n displayName = _ref.displayName;\n return function (BasicComponent) {\n var Adapter = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useContext = React.useContext(_configProvider.ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls;\n var prefixCls = getPrefixCls(suffixCls, customizePrefixCls);\n return /*#__PURE__*/React.createElement(BasicComponent, (0, _extends2[\"default\"])({\n ref: ref,\n prefixCls: prefixCls,\n tagName: tagName\n }, props));\n });\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nvar Basic = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n tagName = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"tagName\"]);\n var classString = (0, _classnames[\"default\"])(prefixCls, className);\n return /*#__PURE__*/React.createElement(tagName, (0, _extends2[\"default\"])((0, _extends2[\"default\"])({\n className: classString\n }, others), {\n ref: ref\n }), children);\n});\nvar BasicLayout = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext2 = React.useContext(_configProvider.ConfigContext),\n direction = _React$useContext2.direction;\n var _React$useState = React.useState([]),\n _React$useState2 = (0, _slicedToArray2[\"default\"])(_React$useState, 2),\n siders = _React$useState2[0],\n setSiders = _React$useState2[1];\n var prefixCls = props.prefixCls,\n className = props.className,\n children = props.children,\n hasSider = props.hasSider,\n Tag = props.tagName,\n others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"hasSider\", \"tagName\"]);\n var classString = (0, _classnames[\"default\"])(prefixCls, (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-sider\"), typeof hasSider === 'boolean' ? hasSider : siders.length > 0), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var contextValue = React.useMemo(function () {\n return {\n siderHook: {\n addSider: function addSider(id) {\n setSiders(function (prev) {\n return [].concat((0, _toConsumableArray2[\"default\"])(prev), [id]);\n });\n },\n removeSider: function removeSider(id) {\n setSiders(function (prev) {\n return prev.filter(function (currentId) {\n return currentId !== id;\n });\n });\n }\n }\n };\n }, []);\n return /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, (0, _extends2[\"default\"])({\n ref: ref,\n className: classString\n }, others), children));\n});\nvar Layout = generator({\n suffixCls: 'layout',\n tagName: 'section',\n displayName: 'Layout'\n})(BasicLayout);\nvar Header = generator({\n suffixCls: 'layout-header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nexports.Header = Header;\nvar Footer = generator({\n suffixCls: 'layout-footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nexports.Footer = Footer;\nvar Content = generator({\n suffixCls: 'layout-content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexports.Content = Content;\nvar _default = Layout;\nexports[\"default\"] = _default;","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _object_without_properties_loose = require(\"@swc/helpers/lib/_object_without_properties_loose.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _head = _interop_require_default(require(\"../shared/lib/head\"));\nvar _imageBlurSvg = require(\"../shared/lib/image-blur-svg\");\nvar _imageConfig = require(\"../shared/lib/image-config\");\nvar _imageConfigContext = require(\"../shared/lib/image-config-context\");\nvar _warnOnce = require(\"../shared/lib/utils/warn-once\");\nvar _imageLoader = _interop_require_default(require(\"next/dist/shared/lib/image-loader\"));\n\nconst configEnv = process.env.__NEXT_IMAGE_OPTS;\nconst allImgs = new Map();\nlet perfObserver;\nif (typeof window === 'undefined') {\n globalThis.__NEXT_IMAGE_IMPORTED = true;\n}\nconst VALID_LOADING_VALUES = [\n 'lazy',\n 'eager',\n undefined\n];\nfunction isStaticRequire(src) {\n return src.default !== undefined;\n}\nfunction isStaticImageData(src) {\n return src.src !== undefined;\n}\nfunction isStaticImport(src) {\n return typeof src === 'object' && (isStaticRequire(src) || isStaticImageData(src));\n}\nfunction getWidths({ deviceSizes , allSizes }, width, sizes) {\n if (sizes) {\n // Find all the \"vw\" percent sizes used in the sizes prop\n const viewportWidthRe = /(^|\\s)(1?\\d?\\d)vw/g;\n const percentSizes = [];\n for(let match; match = viewportWidthRe.exec(sizes); match){\n percentSizes.push(parseInt(match[2]));\n }\n if (percentSizes.length) {\n const smallestRatio = Math.min(...percentSizes) * 0.01;\n return {\n widths: allSizes.filter((s)=>s >= deviceSizes[0] * smallestRatio),\n kind: 'w'\n };\n }\n return {\n widths: allSizes,\n kind: 'w'\n };\n }\n if (typeof width !== 'number') {\n return {\n widths: deviceSizes,\n kind: 'w'\n };\n }\n const widths = [\n ...new Set(// > This means that most OLED screens that say they are 3x resolution,\n // > are actually 3x in the green color, but only 1.5x in the red and\n // > blue colors. Showing a 3x resolution image in the app vs a 2x\n // > resolution image will be visually the same, though the 3x image\n // > takes significantly more data. Even true 3x resolution screens are\n // > wasteful as the human eye cannot see that level of detail without\n // > something like a magnifying glass.\n // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html\n [\n width,\n width * 2 /*, width * 3*/ \n ].map((w)=>allSizes.find((p)=>p >= w) || allSizes[allSizes.length - 1])), \n ];\n return {\n widths,\n kind: 'x'\n };\n}\nfunction generateImgAttrs({ config , src , unoptimized , width , quality , sizes , loader }) {\n if (unoptimized) {\n return {\n src,\n srcSet: undefined,\n sizes: undefined\n };\n }\n const { widths , kind } = getWidths(config, width, sizes);\n const last = widths.length - 1;\n return {\n sizes: !sizes && kind === 'w' ? '100vw' : sizes,\n srcSet: widths.map((w, i)=>`${loader({\n config,\n src,\n quality,\n width: w\n })} ${kind === 'w' ? w : i + 1}${kind}`).join(', '),\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n src: loader({\n config,\n src,\n quality,\n width: widths[last]\n })\n };\n}\nfunction getInt(x) {\n if (typeof x === 'number' || typeof x === 'undefined') {\n return x;\n }\n if (typeof x === 'string' && /^[0-9]+$/.test(x)) {\n return parseInt(x, 10);\n }\n return NaN;\n}\n// See https://stackoverflow.com/q/39777833/266535 for why we use this ref\n// handler instead of the img's onLoad attribute.\nfunction handleLoading(img, src, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized) {\n if (!img || img['data-loaded-src'] === src) {\n return;\n }\n img['data-loaded-src'] = src;\n const p = 'decode' in img ? img.decode() : Promise.resolve();\n p.catch(()=>{}).then(()=>{\n if (!img.parentNode) {\n // Exit early in case of race condition:\n // - onload() is called\n // - decode() is called but incomplete\n // - unmount is called\n // - decode() completes\n return;\n }\n if (placeholder === 'blur') {\n setBlurComplete(true);\n }\n if (onLoadRef == null ? void 0 : onLoadRef.current) {\n // Since we don't have the SyntheticEvent here,\n // we must create one with the same shape.\n // See https://reactjs.org/docs/events.html\n const event = new Event('load');\n Object.defineProperty(event, 'target', {\n writable: false,\n value: img\n });\n let prevented = false;\n let stopped = false;\n onLoadRef.current(_extends({}, event, {\n nativeEvent: event,\n currentTarget: img,\n target: img,\n isDefaultPrevented: ()=>prevented,\n isPropagationStopped: ()=>stopped,\n persist: ()=>{},\n preventDefault: ()=>{\n prevented = true;\n event.preventDefault();\n },\n stopPropagation: ()=>{\n stopped = true;\n event.stopPropagation();\n }\n }));\n }\n if (onLoadingCompleteRef == null ? void 0 : onLoadingCompleteRef.current) {\n onLoadingCompleteRef.current(img);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (img.getAttribute('data-nimg') === 'fill') {\n if (!unoptimized && (!img.getAttribute('sizes') || img.getAttribute('sizes') === '100vw')) {\n let widthViewportRatio = img.getBoundingClientRect().width / window.innerWidth;\n if (widthViewportRatio < 0.6) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" but is missing \"sizes\" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`);\n }\n }\n if (img.parentElement) {\n const { position } = window.getComputedStyle(img.parentElement);\n const valid = [\n 'absolute',\n 'fixed',\n 'relative'\n ];\n if (!valid.includes(position)) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" and parent element with invalid \"position\". Provided \"${position}\" should be one of ${valid.map(String).join(',')}.`);\n }\n }\n if (img.height === 0) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has \"fill\" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`);\n }\n }\n const heightModified = img.height.toString() !== img.getAttribute('height');\n const widthModified = img.width.toString() !== img.getAttribute('width');\n if (heightModified && !widthModified || !heightModified && widthModified) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: \"auto\"' or 'height: \"auto\"' to maintain the aspect ratio.`);\n }\n }\n });\n}\nconst ImageElement = /*#__PURE__*/ (0, _react).forwardRef((_param, forwardedRef)=>{\n var { imgAttributes , heightInt , widthInt , qualityInt , className , imgStyle , blurStyle , isLazy , fill , placeholder , loading , srcString , config , unoptimized , loader , onLoadRef , onLoadingCompleteRef , setBlurComplete , setShowAltText , onLoad , onError } = _param, rest = _object_without_properties_loose(_param, [\n \"imgAttributes\",\n \"heightInt\",\n \"widthInt\",\n \"qualityInt\",\n \"className\",\n \"imgStyle\",\n \"blurStyle\",\n \"isLazy\",\n \"fill\",\n \"placeholder\",\n \"loading\",\n \"srcString\",\n \"config\",\n \"unoptimized\",\n \"loader\",\n \"onLoadRef\",\n \"onLoadingCompleteRef\",\n \"setBlurComplete\",\n \"setShowAltText\",\n \"onLoad\",\n \"onError\"\n ]);\n loading = isLazy ? 'lazy' : loading;\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(\"img\", Object.assign({}, rest, imgAttributes, {\n width: widthInt,\n height: heightInt,\n decoding: \"async\",\n \"data-nimg\": fill ? 'fill' : '1',\n className: className,\n // @ts-ignore - TODO: upgrade to `@types/react@17`\n loading: loading,\n style: _extends({}, imgStyle, blurStyle),\n ref: (0, _react).useCallback((img)=>{\n if (forwardedRef) {\n if (typeof forwardedRef === 'function') forwardedRef(img);\n else if (typeof forwardedRef === 'object') {\n // @ts-ignore - .current is read only it's usually assigned by react internally\n forwardedRef.current = img;\n }\n }\n if (!img) {\n return;\n }\n if (onError) {\n // If the image has an error before react hydrates, then the error is lost.\n // The workaround is to wait until the image is mounted which is after hydration,\n // then we set the src again to trigger the error handler (if there was an error).\n // eslint-disable-next-line no-self-assign\n img.src = img.src;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!srcString) {\n console.error(`Image is missing required \"src\" property:`, img);\n }\n if (img.getAttribute('alt') === null) {\n console.error(`Image is missing required \"alt\" property. Please add Alternative Text to describe the image for screen readers and search engines.`);\n }\n }\n if (img.complete) {\n handleLoading(img, srcString, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized);\n }\n }, [\n srcString,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n onError,\n unoptimized,\n forwardedRef, \n ]),\n onLoad: (event)=>{\n const img = event.currentTarget;\n handleLoading(img, srcString, placeholder, onLoadRef, onLoadingCompleteRef, setBlurComplete, unoptimized);\n },\n onError: (event)=>{\n // if the real image fails to load, this will ensure \"alt\" is visible\n setShowAltText(true);\n if (placeholder === 'blur') {\n // If the real image fails to load, this will still remove the placeholder.\n setBlurComplete(true);\n }\n if (onError) {\n onError(event);\n }\n }\n })));\n});\nconst Image = /*#__PURE__*/ (0, _react).forwardRef((_param, forwardedRef)=>{\n var { src , sizes , unoptimized =false , priority =false , loading , className , quality , width , height , fill , style , onLoad , onLoadingComplete , placeholder ='empty' , blurDataURL , layout , objectFit , objectPosition , lazyBoundary , lazyRoot } = _param, all = _object_without_properties_loose(_param, [\n \"src\",\n \"sizes\",\n \"unoptimized\",\n \"priority\",\n \"loading\",\n \"className\",\n \"quality\",\n \"width\",\n \"height\",\n \"fill\",\n \"style\",\n \"onLoad\",\n \"onLoadingComplete\",\n \"placeholder\",\n \"blurDataURL\",\n \"layout\",\n \"objectFit\",\n \"objectPosition\",\n \"lazyBoundary\",\n \"lazyRoot\"\n ]);\n const configContext = (0, _react).useContext(_imageConfigContext.ImageConfigContext);\n const config = (0, _react).useMemo(()=>{\n const c = configEnv || configContext || _imageConfig.imageConfigDefault;\n const allSizes = [\n ...c.deviceSizes,\n ...c.imageSizes\n ].sort((a, b)=>a - b);\n const deviceSizes = c.deviceSizes.sort((a, b)=>a - b);\n return _extends({}, c, {\n allSizes,\n deviceSizes\n });\n }, [\n configContext\n ]);\n let rest = all;\n let loader = rest.loader || _imageLoader.default;\n // Remove property so it's not spread on element\n delete rest.loader;\n // This special value indicates that the user\n // didn't define a \"loader\" prop or \"loader\" config.\n const isDefaultLoader = '__next_img_default' in loader;\n if (isDefaultLoader) {\n if (config.loader === 'custom') {\n throw new Error(`Image with src \"${src}\" is missing \"loader\" prop.` + `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`);\n }\n } else {\n // The user defined a \"loader\" prop or config.\n // Since the config object is internal only, we\n // must not pass it to the user-defined \"loader\".\n const customImageLoader = loader;\n var _tmp;\n _tmp = (obj)=>{\n const { config: _ } = obj, opts = _object_without_properties_loose(obj, [\n \"config\"\n ]);\n return customImageLoader(opts);\n }, loader = _tmp, _tmp;\n }\n if (layout) {\n if (layout === 'fill') {\n fill = true;\n }\n const layoutToStyle = {\n intrinsic: {\n maxWidth: '100%',\n height: 'auto'\n },\n responsive: {\n width: '100%',\n height: 'auto'\n }\n };\n const layoutToSizes = {\n responsive: '100vw',\n fill: '100vw'\n };\n const layoutStyle = layoutToStyle[layout];\n if (layoutStyle) {\n style = _extends({}, style, layoutStyle);\n }\n const layoutSizes = layoutToSizes[layout];\n if (layoutSizes && !sizes) {\n sizes = layoutSizes;\n }\n }\n let staticSrc = '';\n let widthInt = getInt(width);\n let heightInt = getInt(height);\n let blurWidth;\n let blurHeight;\n if (isStaticImport(src)) {\n const staticImageData = isStaticRequire(src) ? src.default : src;\n if (!staticImageData.src) {\n throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(staticImageData)}`);\n }\n if (!staticImageData.height || !staticImageData.width) {\n throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(staticImageData)}`);\n }\n blurWidth = staticImageData.blurWidth;\n blurHeight = staticImageData.blurHeight;\n blurDataURL = blurDataURL || staticImageData.blurDataURL;\n staticSrc = staticImageData.src;\n if (!fill) {\n if (!widthInt && !heightInt) {\n widthInt = staticImageData.width;\n heightInt = staticImageData.height;\n } else if (widthInt && !heightInt) {\n const ratio = widthInt / staticImageData.width;\n heightInt = Math.round(staticImageData.height * ratio);\n } else if (!widthInt && heightInt) {\n const ratio = heightInt / staticImageData.height;\n widthInt = Math.round(staticImageData.width * ratio);\n }\n }\n }\n src = typeof src === 'string' ? src : staticSrc;\n let isLazy = !priority && (loading === 'lazy' || typeof loading === 'undefined');\n if (src.startsWith('data:') || src.startsWith('blob:')) {\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\n unoptimized = true;\n isLazy = false;\n }\n if (config.unoptimized) {\n unoptimized = true;\n }\n if (isDefaultLoader && src.endsWith('.svg') && !config.dangerouslyAllowSVG) {\n // Special case to make svg serve as-is to avoid proxying\n // through the built-in Image Optimization API.\n unoptimized = true;\n }\n const [blurComplete, setBlurComplete] = (0, _react).useState(false);\n const [showAltText, setShowAltText] = (0, _react).useState(false);\n const qualityInt = getInt(quality);\n if (process.env.NODE_ENV !== 'production') {\n if (!src) {\n // React doesn't show the stack trace and there's\n // no `src` to help identify which image, so we\n // instead console.error(ref) during mount.\n unoptimized = true;\n } else {\n if (fill) {\n if (width) {\n throw new Error(`Image with src \"${src}\" has both \"width\" and \"fill\" properties. Only one should be used.`);\n }\n if (height) {\n throw new Error(`Image with src \"${src}\" has both \"height\" and \"fill\" properties. Only one should be used.`);\n }\n if ((style == null ? void 0 : style.position) && style.position !== 'absolute') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.position\" properties. Images with \"fill\" always use position absolute - it cannot be modified.`);\n }\n if ((style == null ? void 0 : style.width) && style.width !== '100%') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.width\" properties. Images with \"fill\" always use width 100% - it cannot be modified.`);\n }\n if ((style == null ? void 0 : style.height) && style.height !== '100%') {\n throw new Error(`Image with src \"${src}\" has both \"fill\" and \"style.height\" properties. Images with \"fill\" always use height 100% - it cannot be modified.`);\n }\n } else {\n if (typeof widthInt === 'undefined') {\n throw new Error(`Image with src \"${src}\" is missing required \"width\" property.`);\n } else if (isNaN(widthInt)) {\n throw new Error(`Image with src \"${src}\" has invalid \"width\" property. Expected a numeric value in pixels but received \"${width}\".`);\n }\n if (typeof heightInt === 'undefined') {\n throw new Error(`Image with src \"${src}\" is missing required \"height\" property.`);\n } else if (isNaN(heightInt)) {\n throw new Error(`Image with src \"${src}\" has invalid \"height\" property. Expected a numeric value in pixels but received \"${height}\".`);\n }\n }\n }\n if (!VALID_LOADING_VALUES.includes(loading)) {\n throw new Error(`Image with src \"${src}\" has invalid \"loading\" property. Provided \"${loading}\" should be one of ${VALID_LOADING_VALUES.map(String).join(',')}.`);\n }\n if (priority && loading === 'lazy') {\n throw new Error(`Image with src \"${src}\" has both \"priority\" and \"loading='lazy'\" properties. Only one should be used.`);\n }\n if (placeholder === 'blur') {\n if (widthInt && heightInt && widthInt * heightInt < 1600) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" is smaller than 40x40. Consider removing the \"placeholder='blur'\" property to improve performance.`);\n }\n if (!blurDataURL) {\n const VALID_BLUR_EXT = [\n 'jpeg',\n 'png',\n 'webp',\n 'avif'\n ] // should match next-image-loader\n ;\n throw new Error(`Image with src \"${src}\" has \"placeholder='blur'\" property but is missing the \"blurDataURL\" property.\n Possible solutions:\n - Add a \"blurDataURL\" property, the contents should be a small Data URL to represent the image\n - Change the \"src\" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(',')}\n - Remove the \"placeholder\" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`);\n }\n }\n if ('ref' in rest) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" is using unsupported \"ref\" property. Consider using the \"onLoadingComplete\" property instead.`);\n }\n if (!unoptimized && loader !== _imageLoader.default) {\n const urlStr = loader({\n config,\n src,\n width: widthInt || 400,\n quality: qualityInt || 75\n });\n let url;\n try {\n url = new URL(urlStr);\n } catch (err) {}\n if (urlStr === src || url && url.pathname === src && !url.search) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has a \"loader\" property that does not implement width. Please implement it or use the \"unoptimized\" property instead.` + `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);\n }\n }\n for (const [legacyKey, legacyValue] of Object.entries({\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot\n })){\n if (legacyValue) {\n (0, _warnOnce).warnOnce(`Image with src \"${src}\" has legacy prop \"${legacyKey}\". Did you forget to run the codemod?` + `\\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);\n }\n }\n if (typeof window !== 'undefined' && !perfObserver && window.PerformanceObserver) {\n perfObserver = new PerformanceObserver((entryList)=>{\n for (const entry of entryList.getEntries()){\n var ref;\n // @ts-ignore - missing \"LargestContentfulPaint\" class with \"element\" prop\n const imgSrc = (entry == null ? void 0 : (ref = entry.element) == null ? void 0 : ref.src) || '';\n const lcpImage = allImgs.get(imgSrc);\n if (lcpImage && !lcpImage.priority && lcpImage.placeholder !== 'blur' && !lcpImage.src.startsWith('data:') && !lcpImage.src.startsWith('blob:')) {\n // https://web.dev/lcp/#measure-lcp-in-javascript\n (0, _warnOnce).warnOnce(`Image with src \"${lcpImage.src}\" was detected as the Largest Contentful Paint (LCP). Please add the \"priority\" property if this image is above the fold.` + `\\nRead more: https://nextjs.org/docs/api-reference/next/image#priority`);\n }\n }\n });\n try {\n perfObserver.observe({\n type: 'largest-contentful-paint',\n buffered: true\n });\n } catch (err) {\n // Log error but don't crash the app\n console.error(err);\n }\n }\n }\n const imgStyle = Object.assign(fill ? {\n position: 'absolute',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n objectFit,\n objectPosition\n } : {}, showAltText ? {} : {\n color: 'transparent'\n }, style);\n const blurStyle = placeholder === 'blur' && blurDataURL && !blurComplete ? {\n backgroundSize: imgStyle.objectFit || 'cover',\n backgroundPosition: imgStyle.objectPosition || '50% 50%',\n backgroundRepeat: 'no-repeat',\n backgroundImage: `url(\"data:image/svg+xml;charset=utf-8,${(0, _imageBlurSvg).getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL\n })}\")`\n } : {};\n if (process.env.NODE_ENV === 'development') {\n if (blurStyle.backgroundImage && (blurDataURL == null ? void 0 : blurDataURL.startsWith('/'))) {\n // During `next dev`, we don't want to generate blur placeholders with webpack\n // because it can delay starting the dev server. Instead, `next-image-loader.js`\n // will inline a special url to lazily generate the blur placeholder at request time.\n blurStyle.backgroundImage = `url(\"${blurDataURL}\")`;\n }\n }\n const imgAttributes = generateImgAttrs({\n config,\n src,\n unoptimized,\n width: widthInt,\n quality: qualityInt,\n sizes,\n loader\n });\n let srcString = src;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined') {\n let fullUrl;\n try {\n fullUrl = new URL(imgAttributes.src);\n } catch (e) {\n fullUrl = new URL(imgAttributes.src, window.location.href);\n }\n allImgs.set(fullUrl.href, {\n src,\n priority,\n placeholder\n });\n }\n }\n const linkProps = {\n // @ts-expect-error upgrade react types to react 18\n imageSrcSet: imgAttributes.srcSet,\n imageSizes: imgAttributes.sizes,\n crossOrigin: rest.crossOrigin\n };\n const onLoadRef = (0, _react).useRef(onLoad);\n (0, _react).useEffect(()=>{\n onLoadRef.current = onLoad;\n }, [\n onLoad\n ]);\n const onLoadingCompleteRef = (0, _react).useRef(onLoadingComplete);\n (0, _react).useEffect(()=>{\n onLoadingCompleteRef.current = onLoadingComplete;\n }, [\n onLoadingComplete\n ]);\n const imgElementArgs = _extends({\n isLazy,\n imgAttributes,\n heightInt,\n widthInt,\n qualityInt,\n className,\n imgStyle,\n blurStyle,\n loading,\n config,\n fill,\n unoptimized,\n placeholder,\n loader,\n srcString,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n setShowAltText\n }, rest);\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(ImageElement, Object.assign({}, imgElementArgs, {\n ref: forwardedRef\n })), priority ? // Note how we omit the `href` attribute, as it would only be relevant\n // for browsers that do not support `imagesrcset`, and in those cases\n // it would likely cause the incorrect image to be preloaded.\n //\n // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset\n /*#__PURE__*/ _react.default.createElement(_head.default, null, /*#__PURE__*/ _react.default.createElement(\"link\", Object.assign({\n key: '__nimg-' + imgAttributes.src + imgAttributes.srcSet + imgAttributes.sizes,\n rel: \"preload\",\n as: \"image\",\n href: imgAttributes.srcSet ? undefined : imgAttributes.src\n }, linkProps))) : null);\n});\nvar _default = Image;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=image.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getImageBlurSvg = getImageBlurSvg;\nfunction getImageBlurSvg({ widthInt , heightInt , blurWidth , blurHeight , blurDataURL }) {\n const std = blurWidth && blurHeight ? '1' : '20';\n const svgWidth = blurWidth || widthInt;\n const svgHeight = blurHeight || heightInt;\n const feComponentTransfer = blurDataURL.startsWith('data:image/jpeg') ? `%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%` : '';\n if (svgWidth && svgHeight) {\n return `%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ${svgWidth} ${svgHeight}'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E${feComponentTransfer}%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='${blurDataURL}'/%3E%3C/svg%3E`;\n }\n return `%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='${blurDataURL}'/%3E%3C/svg%3E`;\n}\n\n//# sourceMappingURL=image-blur-svg.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nfunction defaultLoader({ config , src , width , quality }) {\n if (process.env.NODE_ENV !== 'production') {\n const missingValues = [];\n // these should always be provided but make sure they are\n if (!src) missingValues.push('src');\n if (!width) missingValues.push('width');\n if (missingValues.length > 0) {\n throw new Error(`Next Image Optimization requires ${missingValues.join(', ')} to be provided. Make sure you pass them as props to the \\`next/image\\` component. Received: ${JSON.stringify({\n src,\n width,\n quality\n })}`);\n }\n if (src.startsWith('//')) {\n throw new Error(`Failed to parse src \"${src}\" on \\`next/image\\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`);\n }\n if (!src.startsWith('/') && (config.domains || config.remotePatterns)) {\n let parsedSrc;\n try {\n parsedSrc = new URL(src);\n } catch (err) {\n console.error(err);\n throw new Error(`Failed to parse src \"${src}\" on \\`next/image\\`, if using relative image it must start with a leading slash \"/\" or be an absolute URL (http:// or https://)`);\n }\n if (process.env.NODE_ENV !== 'test') {\n // We use dynamic require because this should only error in development\n const { hasMatch } = require('./match-remote-pattern');\n if (!hasMatch(config.domains, config.remotePatterns, parsedSrc)) {\n throw new Error(`Invalid src prop (${src}) on \\`next/image\\`, hostname \"${parsedSrc.hostname}\" is not configured under images in your \\`next.config.js\\`\\n` + `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`);\n }\n }\n }\n }\n return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${quality || 75}`;\n}\n// We use this to determine if the import is the default loader\n// or a custom loader defined by the user in next.config.js\ndefaultLoader.__next_img_default = true;\nvar _default = defaultLoader;\nexports.default = _default;\n\n//# sourceMappingURL=image-loader.js.map","module.exports = require('./dist/client/image')\n"],"names":["Object","defineProperty","exports","value","obj","_BarsOutlined","__webpack_require__","__esModule","module","_LeftOutlined","_RightOutlined","_interopRequireDefault","_typeof","_objectSpread2","React","_interopRequireWildcard","nodeInterop","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_AntdIcon","WeakMap","cacheBabelInterop","cacheNodeInterop","BarsOutlined","props","ref","createElement","icon","displayName","_default","forwardRef","LeftOutlined","RightOutlined","skeleton_Element","_classNames","_classNames2","prefixCls","className","style","size","shape","sizeCls","classnames_default","Z","concat","shapeCls","sizeStyle","react","useMemo","width","height","lineHeight","esm_extends","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","AntdIcon","objectSpread2","icons_DotChartOutlined","skeleton_Paragraph","getWidth","index","_props$rows","rows","isArray","rowList","toConsumableArray","Array","map","_","skeleton_Title","_ref","getComponentProps","prop","esm_typeof","Skeleton","customizePrefixCls","loading","children","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","_React$useContext","useContext","context","E_","getPrefixCls","direction","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","cls","Button","_props$block","block","_props$size","otherProps","omit","Avatar","_props$shape","Input","Image","viewBox","xmlns","d","Node","content","skeleton","isNaN","parseFloat","isFinite","i","ZP","_defineProperty2","_extends2","_slicedToArray2","_classnames","_omit","_configProvider","_isNumeric","_layout","__rest","s","e","t","p","indexOf","getOwnPropertySymbols","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","createContext","generateId","prefix","arguments","undefined","Sider","_a","divProps","rawWidth","siderWidth","zeroWidthTrigger","defaultTrigger","triggerDom","divStyle","siderCls","trigger","_a$defaultCollapsed","defaultCollapsed","_a$theme","theme","_a$style","_a$collapsible","collapsible","_a$reverseArrow","reverseArrow","_a$width","_a$collapsedWidth","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","siderHook","_useContext","LayoutContext","_useState","useState","collapsed","_useState2","setCollapsed","_useState3","_useState4","below","setBelow","useEffect","handleSetCollapsed","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","_window","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","_useContext2","ConfigContext","contextValue","siderCollapsed","Provider","String","onClick","iconObj","expanded","flex","maxWidth","minWidth","Header","Footer","Content","_toConsumableArray2","generator","suffixCls","tagName","BasicComponent","Basic","others","classString","BasicLayout","_React$useContext2","_React$useState","_React$useState2","siders","setSiders","hasSider","Tag","id","prev","filter","currentId","Layout","_extends","require","_interop_require_default","_interop_require_wildcard","_object_without_properties_loose","_react","_head","_imageBlurSvg","_imageConfig","_imageConfigContext","_imageLoader","configEnv","process","isStaticRequire","src","getInt","x","test","parseInt","NaN","handleLoading","img","placeholder","onLoadRef","onLoadingCompleteRef","setBlurComplete","unoptimized","decode","Promise","resolve","catch","then","parentNode","event","Event","writable","prevented","stopped","nativeEvent","currentTarget","target","isDefaultPrevented","isPropagationStopped","persist","preventDefault","stopPropagation","ImageElement","_param","forwardedRef","imgAttributes","heightInt","widthInt","qualityInt","imgStyle","blurStyle","isLazy","fill","srcString","config","loader","setShowAltText","onLoad","onError","rest","Fragment","assign","decoding","useCallback","complete","blurWidth","blurHeight","sizes","priority","quality","onLoadingComplete","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot","all","configContext","ImageConfigContext","c","imageConfigDefault","allSizes","deviceSizes","imageSizes","sort","a","b","isDefaultLoader","customImageLoader","opts","layoutStyle","layoutToStyle","intrinsic","responsive","layoutSizes","layoutToSizes","staticSrc","staticImageData","JSON","stringify","ratio","Math","startsWith","endsWith","dangerouslyAllowSVG","blurComplete","showAltText","position","left","top","right","bottom","color","backgroundSize","backgroundPosition","backgroundRepeat","backgroundImage","getImageBlurSvg","generateImgAttrs","param","srcSet","widths","kind","getWidths","viewportWidthRe","percentSizes","match","exec","push","smallestRatio","min","Set","find","w","last","join","linkProps","imageSrcSet","crossOrigin","imgElementArgs","rel","as","href","svgWidth","svgHeight","feComponentTransfer","std","defaultLoader","encodeURIComponent","path","__next_img_default"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/9915-3844dc939eb68532.js b/static/web/_next/static/chunks/9915-3844dc939eb68532.js new file mode 100644 index 000000000..83a015c84 --- /dev/null +++ b/static/web/_next/static/chunks/9915-3844dc939eb68532.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9915],{79915:function(e,t,n){n.d(t,{Z:function(){return K}});var r=n(87462),a=n(4942),i=n(71002),u=n(97685),c=n(80882),o=n(1413),l=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},f=n(42135),d=function(e,t){return l.createElement(f.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:s}))};d.displayName="UpOutlined";var m=l.forwardRef(d),v=n(94184),p=n.n(v),g=n(45987),h=n(15105),N=n(8410),b=n(42550),S=n(15671),y=n(43144);function E(){return"function"==typeof BigInt}function w(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),i=a[0]||"0",u=a[1]||"0";"0"===i&&"0"===u&&(n=!1);var c=n?"-":"";return{negative:n,negativeStr:c,trimStr:r,integerStr:i,decimalStr:u,fullStr:"".concat(c).concat(r)}}function Z(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function I(e){var t=String(e);if(Z(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null==r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&k(t)?t.length-t.indexOf(".")-1:0}function x(e){var t=String(e);if(Z(e)){if(e>Number.MAX_SAFE_INTEGER)return String(E()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":x(this.number):this.origin}}]),e}(),R=function(){function e(t){if((0,S.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!t&&0!==t||!String(t).trim()){this.empty=!0;return}if(this.origin=String(t),"-"===t){this.nan=!0;return}var n=t;if(Z(n)&&(n=Number(n)),k(n="string"==typeof n?n:x(n))){var r=w(n);this.negative=r.negative;var a=r.trimStr.split(".");this.integer=BigInt(a[0]);var i=a[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}return(0,y.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),a=w((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=a.negativeStr,u=a.trimStr,c="".concat(i).concat(u.padStart(r+1,"0"));return new e("".concat(c.slice(0,-r),".").concat(c.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function _(e){return E()?new R(e):new C(e)}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var a=w(e),i=a.negativeStr,u=a.integerStr,c=a.decimalStr,o="".concat(t).concat(c),l="".concat(i).concat(u);if(n>=0){var s=Number(c[n]);return s>=5&&!r?O(_(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-s)).toString(),t,n,r):0===n?l:"".concat(l).concat(t).concat(c.padEnd(n,"0").slice(0,n))}return".0"===o?l:"".concat(l).concat(o)}var T=n(31131);function D(e){var t=e.prefixCls,n=e.upNode,i=e.downNode,u=e.upDisabled,c=e.downDisabled,o=e.onStep,s=l.useRef(),f=l.useRef();f.current=o;var d=function(e,t){e.preventDefault(),f.current(t),s.current=setTimeout(function e(){f.current(t),s.current=setTimeout(e,200)},600)},m=function(){clearTimeout(s.current)};if(l.useEffect(function(){return m},[]),(0,T.Z)())return null;var v="".concat(t,"-handler"),g=p()(v,"".concat(v,"-up"),(0,a.Z)({},"".concat(v,"-up-disabled"),u)),h=p()(v,"".concat(v,"-down"),(0,a.Z)({},"".concat(v,"-down-disabled"),c)),N={unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m};return l.createElement("div",{className:"".concat(v,"-wrap")},l.createElement("span",(0,r.Z)({},N,{onMouseDown:function(e){d(e,!0)},"aria-label":"Increase Value","aria-disabled":u,className:g}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",(0,r.Z)({},N,{onMouseDown:function(e){d(e,!1)},"aria-label":"Decrease Value","aria-disabled":c,className:h}),i||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var F=n(80334),A=n(75164),B=function(){var e=(0,l.useRef)(0),t=function(){A.Z.cancel(e.current)};return(0,l.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,A.Z)(function(){n()})}},q=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],P=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},G=function(e){var t=_(e);return t.isInvalidate()?null:t},U=l.forwardRef(function(e,t){var n,c,o,s=e.prefixCls,f=void 0===s?"rc-input-number":s,d=e.className,m=e.style,v=e.min,S=e.max,y=e.step,E=void 0===y?1:y,w=e.defaultValue,Z=e.value,C=e.disabled,R=e.readOnly,T=e.upHandler,A=e.downHandler,U=e.keyboard,$=e.controls,H=e.stringMode,L=e.parser,j=e.formatter,W=e.precision,z=e.decimalSeparator,V=e.onChange,X=e.onInput,K=e.onPressEnter,Q=e.onStep,J=(0,g.Z)(e,q),Y="".concat(f,"-input"),ee=l.useRef(null),et=l.useState(!1),en=(0,u.Z)(et,2),er=en[0],ea=en[1],ei=l.useRef(!1),eu=l.useRef(!1),ec=l.useRef(!1),eo=l.useState(function(){return _(null!=Z?Z:w)}),el=(0,u.Z)(eo,2),es=el[0],ef=el[1],ed=l.useCallback(function(e,t){return t?void 0:W>=0?W:Math.max(I(e),I(E))},[W,E]),em=l.useCallback(function(e){var t=String(e);if(L)return L(t);var n=t;return z&&(n=n.replace(z,".")),n.replace(/[^\w.-]+/g,"")},[L,z]),ev=l.useRef(""),ep=l.useCallback(function(e,t){if(j)return j(e,{userTyping:t,input:String(ev.current)});var n="number"==typeof e?x(e):e;if(!t){var r=ed(n,t);k(n)&&(z||r>=0)&&(n=O(n,z||".",r))}return n},[j,ed,z]),eg=l.useState(function(){var e=null!=w?w:Z;return es.isInvalidate()&&["string","number"].includes((0,i.Z)(e))?Number.isNaN(e)?"":e:ep(es.toString(),!1)}),eh=(0,u.Z)(eg,2),eN=eh[0],eb=eh[1];function eS(e,t){eb(ep(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}ev.current=eN;var ey=l.useMemo(function(){return G(S)},[S,W]),eE=l.useMemo(function(){return G(v)},[v,W]),ew=l.useMemo(function(){return!(!ey||!es||es.isInvalidate())&&ey.lessEquals(es)},[ey,es]),eZ=l.useMemo(function(){return!(!eE||!es||es.isInvalidate())&&es.lessEquals(eE)},[eE,es]),eI=(n=ee.current,c=(0,l.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,r=n.value,a=r.substring(0,e),i=r.substring(t);c.current={start:e,end:t,value:r,beforeTxt:a,afterTxt:i}}catch(u){}},function(){if(n&&c.current&&er)try{var e=n.value,t=c.current,r=t.beforeTxt,a=t.afterTxt,i=t.start,u=e.length;if(e.endsWith(a))u=e.length-c.current.afterTxt.length;else if(e.startsWith(r))u=r.length;else{var o=r[i-1],l=e.indexOf(o,i-1);-1!==l&&(u=l+1)}n.setSelectionRange(u,u)}catch(s){(0,F.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(s.message))}}]),ex=(0,u.Z)(eI,2),ek=ex[0],eM=ex[1],eC=function(e){return ey&&!e.lessEquals(ey)?ey:eE&&!eE.lessEquals(e)?eE:null},eR=function(e){return!eC(e)},e_=function(e,t){var n=e,r=eR(n)||n.isEmpty();if(n.isEmpty()||t||(n=eC(n)||n,r=!0),!R&&!C&&r){var a,i=n.toString(),u=ed(i,t);return u>=0&&!eR(n=_(O(i,".",u)))&&(n=_(O(i,".",u,!0))),n.equals(es)||(a=n,void 0===Z&&ef(a),null==V||V(n.isEmpty()?null:P(H,n)),void 0===Z&&eS(n,t)),n}return es},eO=B(),eT=function e(t){if(ek(),eb(t),!eu.current){var n=_(em(t));n.isNaN()||e_(n,!0)}null==X||X(t),eO(function(){var n=t;L||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eD=function(e){if((!e||!ew)&&(e||!eZ)){ei.current=!1;var t,n=_(ec.current?M(E):E);e||(n=n.negate());var r=e_((es||_(0)).add(n.toString()),!1);null==Q||Q(P(H,r),{offset:ec.current?M(E):E,type:e?"up":"down"}),null===(t=ee.current)||void 0===t||t.focus()}},eF=function(e){var t=_(em(eN)),n=t;n=t.isNaN()?es:e_(t,e),void 0!==Z?eS(es,!1):n.isNaN()||eS(n,!1)};return(0,N.o)(function(){es.isInvalidate()||eS(es,!1)},[W]),(0,N.o)(function(){var e=_(Z);ef(e);var t=_(em(eN));e.equals(t)&&ei.current&&!j||eS(e,ei.current)},[Z]),(0,N.o)(function(){j&&eM()},[eN]),l.createElement("div",{className:p()(f,d,(o={},(0,a.Z)(o,"".concat(f,"-focused"),er),(0,a.Z)(o,"".concat(f,"-disabled"),C),(0,a.Z)(o,"".concat(f,"-readonly"),R),(0,a.Z)(o,"".concat(f,"-not-a-number"),es.isNaN()),(0,a.Z)(o,"".concat(f,"-out-of-range"),!es.isInvalidate()&&!eR(es)),o)),style:m,onFocus:function(){ea(!0)},onBlur:function(){eF(!1),ea(!1),ei.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;ei.current=!0,n?ec.current=!0:ec.current=!1,t===h.Z.ENTER&&(eu.current||(ei.current=!1),eF(!1),null==K||K(e)),!1!==U&&!eu.current&&[h.Z.UP,h.Z.DOWN].includes(t)&&(eD(h.Z.UP===t),e.preventDefault())},onKeyUp:function(){ei.current=!1,ec.current=!1},onCompositionStart:function(){eu.current=!0},onCompositionEnd:function(){eu.current=!1,eT(ee.current.value)},onBeforeInput:function(){ei.current=!0}},(void 0===$||$)&&l.createElement(D,{prefixCls:f,upNode:T,downNode:A,upDisabled:ew,downDisabled:eZ,onStep:eD}),l.createElement("div",{className:"".concat(Y,"-wrap")},l.createElement("input",(0,r.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":v,"aria-valuemax":S,"aria-valuenow":es.isInvalidate()?null:es.toString(),step:E},J,{ref:(0,b.sQ)(ee,t),className:Y,value:eN,onChange:function(e){eT(e.target.value)},disabled:C,readOnly:R}))))});U.displayName="InputNumber";var $=n(53124),H=n(98866),L=n(97647),j=n(65223),W=n(4173),z=n(96159),V=n(9708),X=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);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},K=l.forwardRef(function(e,t){var n=l.useContext($.E_),o=n.getPrefixCls,s=n.direction,f=l.useContext(L.Z),d=l.useState(!1),v=(0,u.Z)(d,2),g=v[0],h=v[1],N=l.useRef(null);l.useImperativeHandle(t,function(){return N.current});var b=e.className,S=e.size,y=e.disabled,E=e.prefixCls,w=e.addonBefore,Z=e.addonAfter,I=e.prefix,x=e.bordered,k=void 0===x||x,M=e.readOnly,C=e.status,R=e.controls,_=X(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),O=o("input-number",E),T=(0,W.ri)(O,s),D=T.compactSize,F=T.compactItemClassnames,A=l.createElement(m,{className:"".concat(O,"-handler-up-inner")}),B=l.createElement(c.Z,{className:"".concat(O,"-handler-down-inner")});"object"===(0,i.Z)(R)&&(A=void 0===R.upIcon?A:l.createElement("span",{className:"".concat(O,"-handler-up-inner")},R.upIcon),B=void 0===R.downIcon?B:l.createElement("span",{className:"".concat(O,"-handler-down-inner")},R.downIcon));var q=(0,l.useContext)(j.aM),P=q.hasFeedback,G=q.status,K=q.isFormItemInput,Q=q.feedbackIcon,J=(0,V.F)(G,C),Y=D||S||f,ee=l.useContext(H.Z),et=null!=y?y:ee,en=p()((ea={},(0,a.Z)(ea,"".concat(O,"-lg"),"large"===Y),(0,a.Z)(ea,"".concat(O,"-sm"),"small"===Y),(0,a.Z)(ea,"".concat(O,"-rtl"),"rtl"===s),(0,a.Z)(ea,"".concat(O,"-borderless"),!k),(0,a.Z)(ea,"".concat(O,"-in-form-item"),K),ea),(0,V.Z)(O,J),F,b),er=l.createElement(U,(0,r.Z)({ref:N,disabled:et,className:en,upHandler:A,downHandler:B,prefixCls:O,readOnly:M,controls:"boolean"==typeof R?R:void 0},_));if(null!=I||P){var ea,ei,eu=p()("".concat(O,"-affix-wrapper"),(0,V.Z)("".concat(O,"-affix-wrapper"),J,P),(ei={},(0,a.Z)(ei,"".concat(O,"-affix-wrapper-focused"),g),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-disabled"),e.disabled),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-sm"),"small"===f),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-lg"),"large"===f),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-rtl"),"rtl"===s),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-readonly"),M),(0,a.Z)(ei,"".concat(O,"-affix-wrapper-borderless"),!k),(0,a.Z)(ei,"".concat(b),!(w||Z)&&b),ei));er=l.createElement("div",{className:eu,style:e.style,onMouseUp:function(){return N.current.focus()}},I&&l.createElement("span",{className:"".concat(O,"-prefix")},I),(0,z.Tm)(er,{style:null,value:e.value,onFocus:function(t){var n;h(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;h(!1),null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),P&&l.createElement("span",{className:"".concat(O,"-suffix")},Q))}if(null!=w||null!=Z){var ec,eo="".concat(O,"-group"),el="".concat(eo,"-addon"),es=w?l.createElement("div",{className:el},w):null,ef=Z?l.createElement("div",{className:el},Z):null,ed=p()("".concat(O,"-wrapper"),eo,(0,a.Z)({},"".concat(eo,"-rtl"),"rtl"===s)),em=p()("".concat(O,"-group-wrapper"),(ec={},(0,a.Z)(ec,"".concat(O,"-group-wrapper-sm"),"small"===f),(0,a.Z)(ec,"".concat(O,"-group-wrapper-lg"),"large"===f),(0,a.Z)(ec,"".concat(O,"-group-wrapper-rtl"),"rtl"===s),ec),(0,V.Z)("".concat(O,"-group-wrapper"),J,P),b);er=l.createElement("div",{className:em,style:e.style},l.createElement("div",{className:ed},es&&l.createElement(j.Ux,{status:!0,override:!0},es),(0,z.Tm)(er,{style:null,disabled:et}),ef&&l.createElement(j.Ux,{status:!0,override:!0},ef)))}return er})}}]); +//# sourceMappingURL=9915-3844dc939eb68532.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/9915-3844dc939eb68532.js.map b/static/web/_next/static/chunks/9915-3844dc939eb68532.js.map new file mode 100644 index 000000000..52aaa0628 --- /dev/null +++ b/static/web/_next/static/chunks/9915-3844dc939eb68532.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/9915-3844dc939eb68532.js","mappings":"kNAEAA,EADA,CAAmB,MAAU,iBAAyB,2CAAkD,WAAiB,kBAA0B,wLAA4L,EAAG,uCCK9UC,EAAU,SAAAC,CAAA,CAAAC,CAAA,EACd,OAAsBC,EAAAC,aAAmB,CAACC,EAAAC,CAAQ,CAAE,GAAAC,EAAAD,CAAA,EAAc,GAAAC,EAAAD,CAAA,EAAa,GAAGL,GAAA,GAAY,CAC9FC,IAAAA,EACAM,KAAUT,CACV,GACA,CACAC,CAAAA,EAAUS,WAAA,cACV,IAAAC,EAA4BP,EAAAQ,UAAgB,CAACX,wFCbtC,SAAAY,GAAA,CACP,yBAAAC,MACA,CCEO,SAAAC,EAAAC,CAAA,EACP,IAAAC,EAAAD,EAAAE,IAAA,GACAC,EAAAF,EAAAG,UAAA,MACAD,GACAF,CAAAA,EAAAA,EAAAI,KAAA,KASAJ,CAPAA,EAAAA,EAEAK,OAAA,wBAEAA,OAAA,aAEAA,OAAA,YACAF,UAAA,OACAH,CAAAA,EAAA,IAAAM,MAAA,CAAAN,EAAA,EAEA,IAAAO,EAAAP,GAAA,IACAQ,EAAAD,EAAAE,KAAA,MACAC,EAAAF,CAAA,SACAG,EAAAH,CAAA,SACA,MAAAE,GAAAC,MAAAA,GACAT,CAAAA,EAAA,IAEA,IAAAU,EAAAV,EAAA,OACA,OACAA,SAAAA,EACAU,YAAAA,EACAL,QAAAA,EACAG,WAAAA,EACAC,WAAAA,EACAE,QAAA,GAAAP,MAAA,CAAAM,GAAAN,MAAA,CAAAC,EACA,CACA,CACO,S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A+B/M,IAAU,GAAAzG,MAAA,CAAAmF,EAAA,kBAAA+N,CAAAA,GAAA,GAA6D,GAAAxM,EAAA1H,CAAA,EAAekU,GAAA,GAAAlT,MAAA,CAAAmF,EAAA,qBAAAoL,UAAAA,GAA6E,GAAA7J,EAAA1H,CAAA,EAAekU,GAAA,GAAAlT,MAAA,CAAAmF,EAAA,qBAAAoL,UAAAA,GAA6E,GAAA7J,EAAA1H,CAAA,EAAekU,GAAA,GAAAlT,MAAA,CAAAmF,EAAA,sBAAAmL,QAAAA,GAAA4C,EAAA,EAAgG,GAAAZ,EAAAtT,CAAA,EAAmB,GAAAgB,MAAA,CAAAmF,EAAA,kBAAAkN,EAAAJ,GAAAhL,GACha2L,GAA2B/T,EAAAC,aAAmB,QAC9CmI,UAAAuM,GACApL,MAAAzJ,EAAAyJ,KAAA,EACoBvJ,EAAAC,aAAmB,QACvCmI,UAAAsM,EACA,EAAKF,IAAkCxU,EAAAC,aAAmB,CAACiT,EAAA0B,EAAW,EACtErC,OAAA,GACAsC,SAAA,EACA,EAAKL,IAAoB,GAAAN,EAAAC,EAAA,EAAYJ,GAAA,CACrCxK,MAAA,KACAI,SAAAkK,EACA,GAAKY,IAAkCzU,EAAAC,aAAmB,CAACiT,EAAA0B,EAAW,EACtErC,OAAA,GACAsC,SAAA,EACA,EAAKJ,KACL,QACAV,EACA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/UpOutlined.js","webpack://_N_E/./node_modules/rc-input-number/es/utils/supportUtil.js","webpack://_N_E/./node_modules/rc-input-number/es/utils/numberUtil.js","webpack://_N_E/./node_modules/rc-input-number/es/utils/MiniDecimal.js","webpack://_N_E/./node_modules/rc-input-number/es/StepHandler.js","webpack://_N_E/./node_modules/rc-input-number/es/hooks/useCursor.js","webpack://_N_E/./node_modules/rc-input-number/es/hooks/useFrame.js","webpack://_N_E/./node_modules/rc-input-number/es/InputNumber.js","webpack://_N_E/./node_modules/rc-input-number/es/index.js","webpack://_N_E/./node_modules/antd/es/input-number/index.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar UpOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z\" } }] }, \"name\": \"up\", \"theme\": \"outlined\" };\nexport default UpOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport UpOutlinedSvg from \"@ant-design/icons-svg/es/asn/UpOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar UpOutlined = function UpOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: UpOutlinedSvg\n }));\n};\nUpOutlined.displayName = 'UpOutlined';\nexport default /*#__PURE__*/React.forwardRef(UpOutlined);","export function supportBigInt() {\n return typeof BigInt === 'function';\n}","import { supportBigInt } from './supportUtil';\n/**\n * Format string number to readable number\n */\nexport function trimNumber(numStr) {\n var str = numStr.trim();\n var negative = str.startsWith('-');\n if (negative) {\n str = str.slice(1);\n }\n str = str\n // Remove decimal 0. `1.000` => `1.`, `1.100` => `1.1`\n .replace(/(\\.\\d*[^0])0*$/, '$1')\n // Remove useless decimal. `1.` => `1`\n .replace(/\\.0*$/, '')\n // Remove integer 0. `0001` => `1`, 000.1' => `.1`\n .replace(/^0+/, '');\n if (str.startsWith('.')) {\n str = \"0\".concat(str);\n }\n var trimStr = str || '0';\n var splitNumber = trimStr.split('.');\n var integerStr = splitNumber[0] || '0';\n var decimalStr = splitNumber[1] || '0';\n if (integerStr === '0' && decimalStr === '0') {\n negative = false;\n }\n var negativeStr = negative ? '-' : '';\n return {\n negative: negative,\n negativeStr: negativeStr,\n trimStr: trimStr,\n integerStr: integerStr,\n decimalStr: decimalStr,\n fullStr: \"\".concat(negativeStr).concat(trimStr)\n };\n}\nexport function isE(number) {\n var str = String(number);\n return !Number.isNaN(Number(str)) && str.includes('e');\n}\n/**\n * [Legacy] Convert 1e-9 to 0.000000001.\n * This may lose some precision if user really want 1e-9.\n */\nexport function getNumberPrecision(number) {\n var numStr = String(number);\n if (isE(number)) {\n var precision = Number(numStr.slice(numStr.indexOf('e-') + 2));\n var decimalMatch = numStr.match(/\\.(\\d+)/);\n if (decimalMatch === null || decimalMatch === void 0 ? void 0 : decimalMatch[1]) {\n precision += decimalMatch[1].length;\n }\n return precision;\n }\n return numStr.includes('.') && validateNumber(numStr) ? numStr.length - numStr.indexOf('.') - 1 : 0;\n}\n/**\n * Convert number (includes scientific notation) to -xxx.yyy format\n */\nexport function num2str(number) {\n var numStr = String(number);\n if (isE(number)) {\n if (number > Number.MAX_SAFE_INTEGER) {\n return String(supportBigInt() ? BigInt(number).toString() : Number.MAX_SAFE_INTEGER);\n }\n if (number < Number.MIN_SAFE_INTEGER) {\n return String(supportBigInt() ? BigInt(number).toString() : Number.MIN_SAFE_INTEGER);\n }\n numStr = number.toFixed(getNumberPrecision(numStr));\n }\n return trimNumber(numStr).fullStr;\n}\nexport function validateNumber(num) {\n if (typeof num === 'number') {\n return !Number.isNaN(num);\n }\n // Empty\n if (!num) {\n return false;\n }\n return (\n // Normal type: 11.28\n /^\\s*-?\\d+(\\.\\d+)?\\s*$/.test(num) ||\n // Pre-number: 1.\n /^\\s*-?\\d+\\.\\s*$/.test(num) ||\n // Post-number: .1\n /^\\s*-?\\.\\d+\\s*$/.test(num)\n );\n}\nexport function getDecupleSteps(step) {\n var stepStr = typeof step === 'number' ? num2str(step) : trimNumber(step).fullStr;\n var hasPoint = stepStr.includes('.');\n if (!hasPoint) {\n return step + '0';\n }\n return trimNumber(stepStr.replace(/(\\d)\\.(\\d)/g, '$1$2.')).fullStr;\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\n/* eslint-disable max-classes-per-file */\nimport { getNumberPrecision, isE, num2str, trimNumber, validateNumber } from './numberUtil';\nimport { supportBigInt } from './supportUtil';\n/**\n * We can remove this when IE not support anymore\n */\nexport var NumberDecimal = /*#__PURE__*/function () {\n function NumberDecimal(value) {\n _classCallCheck(this, NumberDecimal);\n this.origin = '';\n this.number = void 0;\n this.empty = void 0;\n if (!value && value !== 0 || !String(value).trim()) {\n this.empty = true;\n return;\n }\n this.origin = String(value);\n this.number = Number(value);\n }\n _createClass(NumberDecimal, [{\n key: \"negate\",\n value: function negate() {\n return new NumberDecimal(-this.toNumber());\n }\n }, {\n key: \"add\",\n value: function add(value) {\n if (this.isInvalidate()) {\n return new NumberDecimal(value);\n }\n var target = Number(value);\n if (Number.isNaN(target)) {\n return this;\n }\n var number = this.number + target;\n // [Legacy] Back to safe integer\n if (number > Number.MAX_SAFE_INTEGER) {\n return new NumberDecimal(Number.MAX_SAFE_INTEGER);\n }\n if (number < Number.MIN_SAFE_INTEGER) {\n return new NumberDecimal(Number.MIN_SAFE_INTEGER);\n }\n var maxPrecision = Math.max(getNumberPrecision(this.number), getNumberPrecision(target));\n return new NumberDecimal(number.toFixed(maxPrecision));\n }\n }, {\n key: \"isEmpty\",\n value: function isEmpty() {\n return this.empty;\n }\n }, {\n key: \"isNaN\",\n value: function isNaN() {\n return Number.isNaN(this.number);\n }\n }, {\n key: \"isInvalidate\",\n value: function isInvalidate() {\n return this.isEmpty() || this.isNaN();\n }\n }, {\n key: \"equals\",\n value: function equals(target) {\n return this.toNumber() === (target === null || target === void 0 ? void 0 : target.toNumber());\n }\n }, {\n key: \"lessEquals\",\n value: function lessEquals(target) {\n return this.add(target.negate().toString()).toNumber() <= 0;\n }\n }, {\n key: \"toNumber\",\n value: function toNumber() {\n return this.number;\n }\n }, {\n key: \"toString\",\n value: function toString() {\n var safe = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n if (!safe) {\n return this.origin;\n }\n if (this.isInvalidate()) {\n return '';\n }\n return num2str(this.number);\n }\n }]);\n return NumberDecimal;\n}();\nexport var BigIntDecimal = /*#__PURE__*/function () {\n /** BigInt will convert `0009` to `9`. We need record the len of decimal */\n\n function BigIntDecimal(value) {\n _classCallCheck(this, BigIntDecimal);\n this.origin = '';\n this.negative = void 0;\n this.integer = void 0;\n this.decimal = void 0;\n this.decimalLen = void 0;\n this.empty = void 0;\n this.nan = void 0;\n if (!value && value !== 0 || !String(value).trim()) {\n this.empty = true;\n return;\n }\n this.origin = String(value);\n // Act like Number convert\n if (value === '-') {\n this.nan = true;\n return;\n }\n var mergedValue = value;\n // We need convert back to Number since it require `toFixed` to handle this\n if (isE(mergedValue)) {\n mergedValue = Number(mergedValue);\n }\n mergedValue = typeof mergedValue === 'string' ? mergedValue : num2str(mergedValue);\n if (validateNumber(mergedValue)) {\n var trimRet = trimNumber(mergedValue);\n this.negative = trimRet.negative;\n var numbers = trimRet.trimStr.split('.');\n this.integer = BigInt(numbers[0]);\n var decimalStr = numbers[1] || '0';\n this.decimal = BigInt(decimalStr);\n this.decimalLen = decimalStr.length;\n } else {\n this.nan = true;\n }\n }\n _createClass(BigIntDecimal, [{\n key: \"getMark\",\n value: function getMark() {\n return this.negative ? '-' : '';\n }\n }, {\n key: \"getIntegerStr\",\n value: function getIntegerStr() {\n return this.integer.toString();\n }\n }, {\n key: \"getDecimalStr\",\n value: function getDecimalStr() {\n return this.decimal.toString().padStart(this.decimalLen, '0');\n }\n /**\n * Align BigIntDecimal with same decimal length. e.g. 12.3 + 5 = 1230000\n * This is used for add function only.\n */\n }, {\n key: \"alignDecimal\",\n value: function alignDecimal(decimalLength) {\n var str = \"\".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(decimalLength, '0'));\n return BigInt(str);\n }\n }, {\n key: \"negate\",\n value: function negate() {\n var clone = new BigIntDecimal(this.toString());\n clone.negative = !clone.negative;\n return clone;\n }\n }, {\n key: \"add\",\n value: function add(value) {\n if (this.isInvalidate()) {\n return new BigIntDecimal(value);\n }\n var offset = new BigIntDecimal(value);\n if (offset.isInvalidate()) {\n return this;\n }\n var maxDecimalLength = Math.max(this.getDecimalStr().length, offset.getDecimalStr().length);\n var myAlignedDecimal = this.alignDecimal(maxDecimalLength);\n var offsetAlignedDecimal = offset.alignDecimal(maxDecimalLength);\n var valueStr = (myAlignedDecimal + offsetAlignedDecimal).toString();\n // We need fill string length back to `maxDecimalLength` to avoid parser failed\n var _trimNumber = trimNumber(valueStr),\n negativeStr = _trimNumber.negativeStr,\n trimStr = _trimNumber.trimStr;\n var hydrateValueStr = \"\".concat(negativeStr).concat(trimStr.padStart(maxDecimalLength + 1, '0'));\n return new BigIntDecimal(\"\".concat(hydrateValueStr.slice(0, -maxDecimalLength), \".\").concat(hydrateValueStr.slice(-maxDecimalLength)));\n }\n }, {\n key: \"isEmpty\",\n value: function isEmpty() {\n return this.empty;\n }\n }, {\n key: \"isNaN\",\n value: function isNaN() {\n return this.nan;\n }\n }, {\n key: \"isInvalidate\",\n value: function isInvalidate() {\n return this.isEmpty() || this.isNaN();\n }\n }, {\n key: \"equals\",\n value: function equals(target) {\n return this.toString() === (target === null || target === void 0 ? void 0 : target.toString());\n }\n }, {\n key: \"lessEquals\",\n value: function lessEquals(target) {\n return this.add(target.negate().toString()).toNumber() <= 0;\n }\n }, {\n key: \"toNumber\",\n value: function toNumber() {\n if (this.isNaN()) {\n return NaN;\n }\n return Number(this.toString());\n }\n }, {\n key: \"toString\",\n value: function toString() {\n var safe = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n if (!safe) {\n return this.origin;\n }\n if (this.isInvalidate()) {\n return '';\n }\n return trimNumber(\"\".concat(this.getMark()).concat(this.getIntegerStr(), \".\").concat(this.getDecimalStr())).fullStr;\n }\n }]);\n return BigIntDecimal;\n}();\nexport default function getMiniDecimal(value) {\n // We use BigInt here.\n // Will fallback to Number if not support.\n if (supportBigInt()) {\n return new BigIntDecimal(value);\n }\n return new NumberDecimal(value);\n}\n/**\n * Align the logic of toFixed to around like 1.5 => 2.\n * If set `cutOnly`, will just remove the over decimal part.\n */\nexport function toFixed(numStr, separatorStr, precision) {\n var cutOnly = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n if (numStr === '') {\n return '';\n }\n var _trimNumber2 = trimNumber(numStr),\n negativeStr = _trimNumber2.negativeStr,\n integerStr = _trimNumber2.integerStr,\n decimalStr = _trimNumber2.decimalStr;\n var precisionDecimalStr = \"\".concat(separatorStr).concat(decimalStr);\n var numberWithoutDecimal = \"\".concat(negativeStr).concat(integerStr);\n if (precision >= 0) {\n // We will get last + 1 number to check if need advanced number\n var advancedNum = Number(decimalStr[precision]);\n if (advancedNum >= 5 && !cutOnly) {\n var advancedDecimal = getMiniDecimal(numStr).add(\"\".concat(negativeStr, \"0.\").concat('0'.repeat(precision)).concat(10 - advancedNum));\n return toFixed(advancedDecimal.toString(), separatorStr, precision, cutOnly);\n }\n if (precision === 0) {\n return numberWithoutDecimal;\n }\n return \"\".concat(numberWithoutDecimal).concat(separatorStr).concat(decimalStr.padEnd(precision, '0').slice(0, precision));\n }\n if (precisionDecimalStr === '.0') {\n return numberWithoutDecimal;\n }\n return \"\".concat(numberWithoutDecimal).concat(precisionDecimalStr);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n/* eslint-disable react/no-unknown-property */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport isMobile from \"rc-util/es/isMobile\";\n/**\n * When click and hold on a button - the speed of auto changing the value.\n */\nvar STEP_INTERVAL = 200;\n/**\n * When click and hold on a button - the delay before auto changing the value.\n */\nvar STEP_DELAY = 600;\nexport default function StepHandler(_ref) {\n var prefixCls = _ref.prefixCls,\n upNode = _ref.upNode,\n downNode = _ref.downNode,\n upDisabled = _ref.upDisabled,\n downDisabled = _ref.downDisabled,\n onStep = _ref.onStep;\n // ======================== Step ========================\n var stepTimeoutRef = React.useRef();\n var onStepRef = React.useRef();\n onStepRef.current = onStep;\n // We will interval update step when hold mouse down\n var onStepMouseDown = function onStepMouseDown(e, up) {\n e.preventDefault();\n onStepRef.current(up);\n // Loop step for interval\n function loopStep() {\n onStepRef.current(up);\n stepTimeoutRef.current = setTimeout(loopStep, STEP_INTERVAL);\n }\n // First time press will wait some time to trigger loop step update\n stepTimeoutRef.current = setTimeout(loopStep, STEP_DELAY);\n };\n var onStopStep = function onStopStep() {\n clearTimeout(stepTimeoutRef.current);\n };\n React.useEffect(function () {\n return onStopStep;\n }, []);\n // ======================= Render =======================\n if (isMobile()) {\n return null;\n }\n var handlerClassName = \"\".concat(prefixCls, \"-handler\");\n var upClassName = classNames(handlerClassName, \"\".concat(handlerClassName, \"-up\"), _defineProperty({}, \"\".concat(handlerClassName, \"-up-disabled\"), upDisabled));\n var downClassName = classNames(handlerClassName, \"\".concat(handlerClassName, \"-down\"), _defineProperty({}, \"\".concat(handlerClassName, \"-down-disabled\"), downDisabled));\n var sharedHandlerProps = {\n unselectable: 'on',\n role: 'button',\n onMouseUp: onStopStep,\n onMouseLeave: onStopStep\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(handlerClassName, \"-wrap\")\n }, /*#__PURE__*/React.createElement(\"span\", _extends({}, sharedHandlerProps, {\n onMouseDown: function onMouseDown(e) {\n onStepMouseDown(e, true);\n },\n \"aria-label\": \"Increase Value\",\n \"aria-disabled\": upDisabled,\n className: upClassName\n }), upNode || /*#__PURE__*/React.createElement(\"span\", {\n unselectable: \"on\",\n className: \"\".concat(prefixCls, \"-handler-up-inner\")\n })), /*#__PURE__*/React.createElement(\"span\", _extends({}, sharedHandlerProps, {\n onMouseDown: function onMouseDown(e) {\n onStepMouseDown(e, false);\n },\n \"aria-label\": \"Decrease Value\",\n \"aria-disabled\": downDisabled,\n className: downClassName\n }), downNode || /*#__PURE__*/React.createElement(\"span\", {\n unselectable: \"on\",\n className: \"\".concat(prefixCls, \"-handler-down-inner\")\n })));\n}","import { useRef } from 'react';\nimport warning from \"rc-util/es/warning\";\n/**\n * Keep input cursor in the correct position if possible.\n * Is this necessary since we have `formatter` which may mass the content?\n */\nexport default function useCursor(input, focused) {\n var selectionRef = useRef(null);\n function recordCursor() {\n // Record position\n try {\n var start = input.selectionStart,\n end = input.selectionEnd,\n value = input.value;\n var beforeTxt = value.substring(0, start);\n var afterTxt = value.substring(end);\n selectionRef.current = {\n start: start,\n end: end,\n value: value,\n beforeTxt: beforeTxt,\n afterTxt: afterTxt\n };\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n }\n /**\n * Restore logic:\n * 1. back string same\n * 2. start string same\n */\n function restoreCursor() {\n if (input && selectionRef.current && focused) {\n try {\n var value = input.value;\n var _selectionRef$current = selectionRef.current,\n beforeTxt = _selectionRef$current.beforeTxt,\n afterTxt = _selectionRef$current.afterTxt,\n start = _selectionRef$current.start;\n var startPos = value.length;\n if (value.endsWith(afterTxt)) {\n startPos = value.length - selectionRef.current.afterTxt.length;\n } else if (value.startsWith(beforeTxt)) {\n startPos = beforeTxt.length;\n } else {\n var beforeLastChar = beforeTxt[start - 1];\n var newIndex = value.indexOf(beforeLastChar, start - 1);\n if (newIndex !== -1) {\n startPos = newIndex + 1;\n }\n }\n input.setSelectionRange(startPos, startPos);\n } catch (e) {\n warning(false, \"Something warning of cursor restore. Please fire issue about this: \".concat(e.message));\n }\n }\n }\n return [recordCursor, restoreCursor];\n}","import { useRef, useEffect } from 'react';\nimport raf from \"rc-util/es/raf\";\n/**\n * Always trigger latest once when call multiple time\n */\nexport default (function () {\n var idRef = useRef(0);\n var cleanUp = function cleanUp() {\n raf.cancel(idRef.current);\n };\n useEffect(function () {\n return cleanUp;\n }, []);\n return function (callback) {\n cleanUp();\n idRef.current = raf(function () {\n callback();\n });\n };\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"className\", \"style\", \"min\", \"max\", \"step\", \"defaultValue\", \"value\", \"disabled\", \"readOnly\", \"upHandler\", \"downHandler\", \"keyboard\", \"controls\", \"stringMode\", \"parser\", \"formatter\", \"precision\", \"decimalSeparator\", \"onChange\", \"onInput\", \"onPressEnter\", \"onStep\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport { useLayoutUpdateEffect } from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport getMiniDecimal, { toFixed } from './utils/MiniDecimal';\nimport StepHandler from './StepHandler';\nimport { getNumberPrecision, num2str, getDecupleSteps, validateNumber } from './utils/numberUtil';\nimport useCursor from './hooks/useCursor';\nimport useFrame from './hooks/useFrame';\n/**\n * We support `stringMode` which need handle correct type when user call in onChange\n * format max or min value\n * 1. if isInvalid return null\n * 2. if precision is undefined, return decimal\n * 3. format with precision\n * I. if max > 0, round down with precision. Example: max= 3.5, precision=0 afterFormat: 3\n * II. if max < 0, round up with precision. Example: max= -3.5, precision=0 afterFormat: -4\n * III. if min > 0, round up with precision. Example: min= 3.5, precision=0 afterFormat: 4\n * IV. if min < 0, round down with precision. Example: max= -3.5, precision=0 afterFormat: -3\n */\nvar getDecimalValue = function getDecimalValue(stringMode, decimalValue) {\n if (stringMode || decimalValue.isEmpty()) {\n return decimalValue.toString();\n }\n return decimalValue.toNumber();\n};\nvar getDecimalIfValidate = function getDecimalIfValidate(value) {\n var decimal = getMiniDecimal(value);\n return decimal.isInvalidate() ? null : decimal;\n};\nvar InputNumber = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-input-number' : _props$prefixCls,\n className = props.className,\n style = props.style,\n min = props.min,\n max = props.max,\n _props$step = props.step,\n step = _props$step === void 0 ? 1 : _props$step,\n defaultValue = props.defaultValue,\n value = props.value,\n disabled = props.disabled,\n readOnly = props.readOnly,\n upHandler = props.upHandler,\n downHandler = props.downHandler,\n keyboard = props.keyboard,\n _props$controls = props.controls,\n controls = _props$controls === void 0 ? true : _props$controls,\n stringMode = props.stringMode,\n parser = props.parser,\n formatter = props.formatter,\n precision = props.precision,\n decimalSeparator = props.decimalSeparator,\n onChange = props.onChange,\n onInput = props.onInput,\n onPressEnter = props.onPressEnter,\n onStep = props.onStep,\n inputProps = _objectWithoutProperties(props, _excluded);\n var inputClassName = \"\".concat(prefixCls, \"-input\");\n var inputRef = React.useRef(null);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focus = _React$useState2[0],\n setFocus = _React$useState2[1];\n var userTypingRef = React.useRef(false);\n var compositionRef = React.useRef(false);\n var shiftKeyRef = React.useRef(false);\n // ============================ Value =============================\n // Real value control\n var _React$useState3 = React.useState(function () {\n return getMiniDecimal(value !== null && value !== void 0 ? value : defaultValue);\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n decimalValue = _React$useState4[0],\n setDecimalValue = _React$useState4[1];\n function setUncontrolledDecimalValue(newDecimal) {\n if (value === undefined) {\n setDecimalValue(newDecimal);\n }\n }\n // ====================== Parser & Formatter ======================\n /**\n * `precision` is used for formatter & onChange.\n * It will auto generate by `value` & `step`.\n * But it will not block user typing.\n *\n * Note: Auto generate `precision` is used for legacy logic.\n * We should remove this since we already support high precision with BigInt.\n *\n * @param number Provide which number should calculate precision\n * @param userTyping Change by user typing\n */\n var getPrecision = React.useCallback(function (numStr, userTyping) {\n if (userTyping) {\n return undefined;\n }\n if (precision >= 0) {\n return precision;\n }\n return Math.max(getNumberPrecision(numStr), getNumberPrecision(step));\n }, [precision, step]);\n // >>> Parser\n var mergedParser = React.useCallback(function (num) {\n var numStr = String(num);\n if (parser) {\n return parser(numStr);\n }\n var parsedStr = numStr;\n if (decimalSeparator) {\n parsedStr = parsedStr.replace(decimalSeparator, '.');\n }\n // [Legacy] We still support auto convert `$ 123,456` to `123456`\n return parsedStr.replace(/[^\\w.-]+/g, '');\n }, [parser, decimalSeparator]);\n // >>> Formatter\n var inputValueRef = React.useRef('');\n var mergedFormatter = React.useCallback(function (number, userTyping) {\n if (formatter) {\n return formatter(number, {\n userTyping: userTyping,\n input: String(inputValueRef.current)\n });\n }\n var str = typeof number === 'number' ? num2str(number) : number;\n // User typing will not auto format with precision directly\n if (!userTyping) {\n var mergedPrecision = getPrecision(str, userTyping);\n if (validateNumber(str) && (decimalSeparator || mergedPrecision >= 0)) {\n // Separator\n var separatorStr = decimalSeparator || '.';\n str = toFixed(str, separatorStr, mergedPrecision);\n }\n }\n return str;\n }, [formatter, getPrecision, decimalSeparator]);\n // ========================== InputValue ==========================\n /**\n * Input text value control\n *\n * User can not update input content directly. It update with follow rules by priority:\n * 1. controlled `value` changed\n * * [SPECIAL] Typing like `1.` should not immediately convert to `1`\n * 2. User typing with format (not precision)\n * 3. Blur or Enter trigger revalidate\n */\n var _React$useState5 = React.useState(function () {\n var initValue = defaultValue !== null && defaultValue !== void 0 ? defaultValue : value;\n if (decimalValue.isInvalidate() && ['string', 'number'].includes(_typeof(initValue))) {\n return Number.isNaN(initValue) ? '' : initValue;\n }\n return mergedFormatter(decimalValue.toString(), false);\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n inputValue = _React$useState6[0],\n setInternalInputValue = _React$useState6[1];\n inputValueRef.current = inputValue;\n // Should always be string\n function setInputValue(newValue, userTyping) {\n setInternalInputValue(mergedFormatter(\n // Invalidate number is sometime passed by external control, we should let it go\n // Otherwise is controlled by internal interactive logic which check by userTyping\n // You can ref 'show limited value when input is not focused' test for more info.\n newValue.isInvalidate() ? newValue.toString(false) : newValue.toString(!userTyping), userTyping));\n }\n // >>> Max & Min limit\n var maxDecimal = React.useMemo(function () {\n return getDecimalIfValidate(max);\n }, [max, precision]);\n var minDecimal = React.useMemo(function () {\n return getDecimalIfValidate(min);\n }, [min, precision]);\n var upDisabled = React.useMemo(function () {\n if (!maxDecimal || !decimalValue || decimalValue.isInvalidate()) {\n return false;\n }\n return maxDecimal.lessEquals(decimalValue);\n }, [maxDecimal, decimalValue]);\n var downDisabled = React.useMemo(function () {\n if (!minDecimal || !decimalValue || decimalValue.isInvalidate()) {\n return false;\n }\n return decimalValue.lessEquals(minDecimal);\n }, [minDecimal, decimalValue]);\n // Cursor controller\n var _useCursor = useCursor(inputRef.current, focus),\n _useCursor2 = _slicedToArray(_useCursor, 2),\n recordCursor = _useCursor2[0],\n restoreCursor = _useCursor2[1];\n // ============================= Data =============================\n /**\n * Find target value closet within range.\n * e.g. [11, 28]:\n * 3 => 11\n * 23 => 23\n * 99 => 28\n */\n var getRangeValue = function getRangeValue(target) {\n // target > max\n if (maxDecimal && !target.lessEquals(maxDecimal)) {\n return maxDecimal;\n }\n // target < min\n if (minDecimal && !minDecimal.lessEquals(target)) {\n return minDecimal;\n }\n return null;\n };\n /**\n * Check value is in [min, max] range\n */\n var isInRange = function isInRange(target) {\n return !getRangeValue(target);\n };\n /**\n * Trigger `onChange` if value validated and not equals of origin.\n * Return the value that re-align in range.\n */\n var triggerValueUpdate = function triggerValueUpdate(newValue, userTyping) {\n var updateValue = newValue;\n var isRangeValidate = isInRange(updateValue) || updateValue.isEmpty();\n // Skip align value when trigger value is empty.\n // We just trigger onChange(null)\n // This should not block user typing\n if (!updateValue.isEmpty() && !userTyping) {\n // Revert value in range if needed\n updateValue = getRangeValue(updateValue) || updateValue;\n isRangeValidate = true;\n }\n if (!readOnly && !disabled && isRangeValidate) {\n var numStr = updateValue.toString();\n var mergedPrecision = getPrecision(numStr, userTyping);\n if (mergedPrecision >= 0) {\n updateValue = getMiniDecimal(toFixed(numStr, '.', mergedPrecision));\n // When to fixed. The value may out of min & max range.\n // 4 in [0, 3.8] => 3.8 => 4 (toFixed)\n if (!isInRange(updateValue)) {\n updateValue = getMiniDecimal(toFixed(numStr, '.', mergedPrecision, true));\n }\n }\n // Trigger event\n if (!updateValue.equals(decimalValue)) {\n setUncontrolledDecimalValue(updateValue);\n onChange === null || onChange === void 0 ? void 0 : onChange(updateValue.isEmpty() ? null : getDecimalValue(stringMode, updateValue));\n // Reformat input if value is not controlled\n if (value === undefined) {\n setInputValue(updateValue, userTyping);\n }\n }\n return updateValue;\n }\n return decimalValue;\n };\n // ========================== User Input ==========================\n var onNextPromise = useFrame();\n // >>> Collect input value\n var collectInputValue = function collectInputValue(inputStr) {\n recordCursor();\n // Update inputValue incase input can not parse as number\n setInternalInputValue(inputStr);\n // Parse number\n if (!compositionRef.current) {\n var finalValue = mergedParser(inputStr);\n var finalDecimal = getMiniDecimal(finalValue);\n if (!finalDecimal.isNaN()) {\n triggerValueUpdate(finalDecimal, true);\n }\n }\n // Trigger onInput later to let user customize value if they want do handle something after onChange\n onInput === null || onInput === void 0 ? void 0 : onInput(inputStr);\n // optimize for chinese input experience\n // https://github.com/ant-design/ant-design/issues/8196\n onNextPromise(function () {\n var nextInputStr = inputStr;\n if (!parser) {\n nextInputStr = inputStr.replace(/。/g, '.');\n }\n if (nextInputStr !== inputStr) {\n collectInputValue(nextInputStr);\n }\n });\n };\n // >>> Composition\n var onCompositionStart = function onCompositionStart() {\n compositionRef.current = true;\n };\n var onCompositionEnd = function onCompositionEnd() {\n compositionRef.current = false;\n collectInputValue(inputRef.current.value);\n };\n // >>> Input\n var onInternalInput = function onInternalInput(e) {\n collectInputValue(e.target.value);\n };\n // ============================= Step =============================\n var onInternalStep = function onInternalStep(up) {\n var _inputRef$current;\n // Ignore step since out of range\n if (up && upDisabled || !up && downDisabled) {\n return;\n }\n // Clear typing status since it may caused by up & down key.\n // We should sync with input value.\n userTypingRef.current = false;\n var stepDecimal = getMiniDecimal(shiftKeyRef.current ? getDecupleSteps(step) : step);\n if (!up) {\n stepDecimal = stepDecimal.negate();\n }\n var target = (decimalValue || getMiniDecimal(0)).add(stepDecimal.toString());\n var updatedValue = triggerValueUpdate(target, false);\n onStep === null || onStep === void 0 ? void 0 : onStep(getDecimalValue(stringMode, updatedValue), {\n offset: shiftKeyRef.current ? getDecupleSteps(step) : step,\n type: up ? 'up' : 'down'\n });\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();\n };\n // ============================ Flush =============================\n /**\n * Flush current input content to trigger value change & re-formatter input if needed\n */\n var flushInputValue = function flushInputValue(userTyping) {\n var parsedValue = getMiniDecimal(mergedParser(inputValue));\n var formatValue = parsedValue;\n if (!parsedValue.isNaN()) {\n // Only validate value or empty value can be re-fill to inputValue\n // Reassign the formatValue within ranged of trigger control\n formatValue = triggerValueUpdate(parsedValue, userTyping);\n } else {\n formatValue = decimalValue;\n }\n if (value !== undefined) {\n // Reset back with controlled value first\n setInputValue(decimalValue, false);\n } else if (!formatValue.isNaN()) {\n // Reset input back since no validate value\n setInputValue(formatValue, false);\n }\n };\n // Solve the issue of the event triggering sequence when entering numbers in chinese input (Safari)\n var onBeforeInput = function onBeforeInput() {\n userTypingRef.current = true;\n };\n var onKeyDown = function onKeyDown(event) {\n var which = event.which,\n shiftKey = event.shiftKey;\n userTypingRef.current = true;\n if (shiftKey) {\n shiftKeyRef.current = true;\n } else {\n shiftKeyRef.current = false;\n }\n if (which === KeyCode.ENTER) {\n if (!compositionRef.current) {\n userTypingRef.current = false;\n }\n flushInputValue(false);\n onPressEnter === null || onPressEnter === void 0 ? void 0 : onPressEnter(event);\n }\n if (keyboard === false) {\n return;\n }\n // Do step\n if (!compositionRef.current && [KeyCode.UP, KeyCode.DOWN].includes(which)) {\n onInternalStep(KeyCode.UP === which);\n event.preventDefault();\n }\n };\n var onKeyUp = function onKeyUp() {\n userTypingRef.current = false;\n shiftKeyRef.current = false;\n };\n // >>> Focus & Blur\n var onBlur = function onBlur() {\n flushInputValue(false);\n setFocus(false);\n userTypingRef.current = false;\n };\n // ========================== Controlled ==========================\n // Input by precision\n useLayoutUpdateEffect(function () {\n if (!decimalValue.isInvalidate()) {\n setInputValue(decimalValue, false);\n }\n }, [precision]);\n // Input by value\n useLayoutUpdateEffect(function () {\n var newValue = getMiniDecimal(value);\n setDecimalValue(newValue);\n var currentParsedValue = getMiniDecimal(mergedParser(inputValue));\n // When user typing from `1.2` to `1.`, we should not convert to `1` immediately.\n // But let it go if user set `formatter`\n if (!newValue.equals(currentParsedValue) || !userTypingRef.current || formatter) {\n // Update value as effect\n setInputValue(newValue, userTypingRef.current);\n }\n }, [value]);\n // ============================ Cursor ============================\n useLayoutUpdateEffect(function () {\n if (formatter) {\n restoreCursor();\n }\n }, [inputValue]);\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-focused\"), focus), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-readonly\"), readOnly), _defineProperty(_classNames, \"\".concat(prefixCls, \"-not-a-number\"), decimalValue.isNaN()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-out-of-range\"), !decimalValue.isInvalidate() && !isInRange(decimalValue)), _classNames)),\n style: style,\n onFocus: function onFocus() {\n setFocus(true);\n },\n onBlur: onBlur,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n onCompositionStart: onCompositionStart,\n onCompositionEnd: onCompositionEnd,\n onBeforeInput: onBeforeInput\n }, controls && /*#__PURE__*/React.createElement(StepHandler, {\n prefixCls: prefixCls,\n upNode: upHandler,\n downNode: downHandler,\n upDisabled: upDisabled,\n downDisabled: downDisabled,\n onStep: onInternalStep\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(inputClassName, \"-wrap\")\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n autoComplete: \"off\",\n role: \"spinbutton\",\n \"aria-valuemin\": min,\n \"aria-valuemax\": max,\n \"aria-valuenow\": decimalValue.isInvalidate() ? null : decimalValue.toString(),\n step: step\n }, inputProps, {\n ref: composeRef(inputRef, ref),\n className: inputClassName,\n value: inputValue,\n onChange: onInternalInput,\n disabled: disabled,\n readOnly: readOnly\n }))));\n});\nInputNumber.displayName = 'InputNumber';\nexport default InputNumber;","import InputNumber from './InputNumber';\nexport default InputNumber;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport DownOutlined from \"@ant-design/icons/es/icons/DownOutlined\";\nimport UpOutlined from \"@ant-design/icons/es/icons/UpOutlined\";\nimport classNames from 'classnames';\nimport RcInputNumber from 'rc-input-number';\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport DisabledContext from '../config-provider/DisabledContext';\nimport SizeContext from '../config-provider/SizeContext';\nimport { FormItemInputContext, NoFormStyle } from '../form/context';\nimport { useCompactItemContext } from '../space/Compact';\nimport { cloneElement } from '../_util/reactNode';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nvar InputNumber = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var size = React.useContext(SizeContext);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocus = _React$useState2[1];\n var inputRef = React.useRef(null);\n React.useImperativeHandle(ref, function () {\n return inputRef.current;\n });\n var className = props.className,\n customizeSize = props.size,\n customDisabled = props.disabled,\n customizePrefixCls = props.prefixCls,\n addonBefore = props.addonBefore,\n addonAfter = props.addonAfter,\n prefix = props.prefix,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n readOnly = props.readOnly,\n customStatus = props.status,\n controls = props.controls,\n others = __rest(props, [\"className\", \"size\", \"disabled\", \"prefixCls\", \"addonBefore\", \"addonAfter\", \"prefix\", \"bordered\", \"readOnly\", \"status\", \"controls\"]);\n var prefixCls = getPrefixCls('input-number', customizePrefixCls);\n var _useCompactItemContex = useCompactItemContext(prefixCls, direction),\n compactSize = _useCompactItemContex.compactSize,\n compactItemClassnames = _useCompactItemContex.compactItemClassnames;\n var upIcon = /*#__PURE__*/React.createElement(UpOutlined, {\n className: \"\".concat(prefixCls, \"-handler-up-inner\")\n });\n var downIcon = /*#__PURE__*/React.createElement(DownOutlined, {\n className: \"\".concat(prefixCls, \"-handler-down-inner\")\n });\n var controlsTemp = typeof controls === 'boolean' ? controls : undefined;\n if (_typeof(controls) === 'object') {\n upIcon = typeof controls.upIcon === 'undefined' ? upIcon : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-handler-up-inner\")\n }, controls.upIcon);\n downIcon = typeof controls.downIcon === 'undefined' ? downIcon : /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-handler-down-inner\")\n }, controls.downIcon);\n }\n var _useContext = useContext(FormItemInputContext),\n hasFeedback = _useContext.hasFeedback,\n contextStatus = _useContext.status,\n isFormItemInput = _useContext.isFormItemInput,\n feedbackIcon = _useContext.feedbackIcon;\n var mergedStatus = getMergedStatus(contextStatus, customStatus);\n var mergeSize = compactSize || customizeSize || size;\n // ===================== Disabled =====================\n var disabled = React.useContext(DisabledContext);\n var mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;\n var inputNumberClass = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), mergeSize === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), mergeSize === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-in-form-item\"), isFormItemInput), _classNames), getStatusClassNames(prefixCls, mergedStatus), compactItemClassnames, className);\n var element = /*#__PURE__*/React.createElement(RcInputNumber, _extends({\n ref: inputRef,\n disabled: mergedDisabled,\n className: inputNumberClass,\n upHandler: upIcon,\n downHandler: downIcon,\n prefixCls: prefixCls,\n readOnly: readOnly,\n controls: controlsTemp\n }, others));\n if (prefix != null || hasFeedback) {\n var _classNames2;\n var affixWrapperCls = classNames(\"\".concat(prefixCls, \"-affix-wrapper\"), getStatusClassNames(\"\".concat(prefixCls, \"-affix-wrapper\"), mergedStatus, hasFeedback), (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-focused\"), focused), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-disabled\"), props.disabled), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-sm\"), size === 'small'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-lg\"), size === 'large'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-rtl\"), direction === 'rtl'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-readonly\"), readOnly), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-affix-wrapper-borderless\"), !bordered), _defineProperty(_classNames2, \"\".concat(className), !(addonBefore || addonAfter) && className), _classNames2));\n element = /*#__PURE__*/React.createElement(\"div\", {\n className: affixWrapperCls,\n style: props.style,\n onMouseUp: function onMouseUp() {\n return inputRef.current.focus();\n }\n }, prefix && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prefix\")\n }, prefix), cloneElement(element, {\n style: null,\n value: props.value,\n onFocus: function onFocus(event) {\n var _a;\n setFocus(true);\n (_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, event);\n },\n onBlur: function onBlur(event) {\n var _a;\n setFocus(false);\n (_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, event);\n }\n }), hasFeedback && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, feedbackIcon));\n }\n if (addonBefore != null || addonAfter != null) {\n var _classNames4;\n var wrapperClassName = \"\".concat(prefixCls, \"-group\");\n var addonClassName = \"\".concat(wrapperClassName, \"-addon\");\n var addonBeforeNode = addonBefore ? /*#__PURE__*/React.createElement(\"div\", {\n className: addonClassName\n }, addonBefore) : null;\n var addonAfterNode = addonAfter ? /*#__PURE__*/React.createElement(\"div\", {\n className: addonClassName\n }, addonAfter) : null;\n var mergedWrapperClassName = classNames(\"\".concat(prefixCls, \"-wrapper\"), wrapperClassName, _defineProperty({}, \"\".concat(wrapperClassName, \"-rtl\"), direction === 'rtl'));\n var mergedGroupClassName = classNames(\"\".concat(prefixCls, \"-group-wrapper\"), (_classNames4 = {}, _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-sm\"), size === 'small'), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-lg\"), size === 'large'), _defineProperty(_classNames4, \"\".concat(prefixCls, \"-group-wrapper-rtl\"), direction === 'rtl'), _classNames4), getStatusClassNames(\"\".concat(prefixCls, \"-group-wrapper\"), mergedStatus, hasFeedback), className);\n element = /*#__PURE__*/React.createElement(\"div\", {\n className: mergedGroupClassName,\n style: props.style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: mergedWrapperClassName\n }, addonBeforeNode && /*#__PURE__*/React.createElement(NoFormStyle, {\n status: true,\n override: true\n }, addonBeforeNode), cloneElement(element, {\n style: null,\n disabled: mergedDisabled\n }), addonAfterNode && /*#__PURE__*/React.createElement(NoFormStyle, {\n status: true,\n override: true\n }, addonAfterNode)));\n }\n return element;\n});\nexport default InputNumber;"],"names":["asn_UpOutlined","UpOutlined_UpOutlined","props","ref","react","createElement","AntdIcon","Z","objectSpread2","icon","displayName","icons_UpOutlined","forwardRef","supportBigInt","BigInt","trimNumber","numStr","str","trim","negative","startsWith","slice","replace","concat","trimStr","splitNumber","split","integerStr","decimalStr","negativeStr","fullStr","isE","number","String","Number","isNaN","includes","getNumberPrecision","precision","indexOf","decimalMatch","match","length","validateNumber","num2str","MAX_SAFE_INTEGER","toString","MIN_SAFE_INTEGER","toFixed","num","test","getDecupleSteps","step","stepStr","NumberDecimal","value","classCallCheck","origin","empty","createClass","key","toNumber","isInvalidate","target","maxPrecision","Math","max","isEmpty","add","negate","safe","arguments","undefined","BigIntDecimal","integer","decimal","decimalLen","nan","mergedValue","trimRet","numbers","padStart","decimalLength","getMark","getIntegerStr","getDecimalStr","padEnd","clone","offset","maxDecimalLength","_trimNumber","myAlignedDecimal","alignDecimal","hydrateValueStr","NaN","getMiniDecimal","separatorStr","cutOnly","_trimNumber2","precisionDecimalStr","numberWithoutDecimal","advancedNum","advancedDecimal","repeat","StepHandler","_ref","prefixCls","upNode","downNode","upDisabled","downDisabled","onStep","stepTimeoutRef","useRef","onStepRef","current","onStepMouseDown","e","up","preventDefault","setTimeout","loopStep","onStopStep","clearTimeout","useEffect","isMobile","handlerClassName","upClassName","classnames_default","defineProperty","downClassName","sharedHandlerProps","unselectable","role","onMouseUp","onMouseLeave","className","esm_extends","onMouseDown","useFrame","idRef","cleanUp","raf","cancel","callback","_excluded","getDecimalValue","stringMode","decimalValue","getDecimalIfValidate","InputNumber","input","selectionRef","_classNames","_props$prefixCls","style","min","_props$step","defaultValue","disabled","readOnly","upHandler","downHandler","keyboard","_props$controls","controls","parser","formatter","decimalSeparator","onChange","onInput","onPressEnter","inputProps","objectWithoutProperties","inputClassName","inputRef","_React$useState","useState","_React$useState2","slicedToArray","focus","setFocus","userTypingRef","compositionRef","shiftKeyRef","_React$useState3","_React$useState4","setDecimalValue","getPrecision","useCallback","userTyping","mergedParser","parsedStr","inputValueRef","mergedFormatter","mergedPrecision","_React$useState5","initValue","esm_typeof","_React$useState6","inputValue","setInternalInputValue","setInputValue","newValue","maxDecimal","useMemo","minDecimal","lessEquals","_useCursor","start","selectionStart","end","selectionEnd","beforeTxt","substring","afterTxt","_selectionRef$current","startPos","endsWith","beforeLastChar","newIndex","setSelectionRange","warning","ZP","message","_useCursor2","recordCursor","restoreCursor","getRangeValue","isInRange","triggerValueUpdate","updateValue","isRangeValidate","newDecimal","equals","onNextPromise","collectInputValue","inputStr","finalDecimal","nextInputStr","onInternalStep","_inputRef$current","stepDecimal","updatedValue","type","flushInputValue","parsedValue","formatValue","useLayoutEffect","o","currentParsedValue","onFocus","onBlur","onKeyDown","event","which","shiftKey","KeyCode","ENTER","UP","DOWN","onKeyUp","onCompositionStart","onCompositionEnd","onBeforeInput","autoComplete","es_ref","sQ","__rest","s","t","p","Object","prototype","hasOwnProperty","call","getOwnPropertySymbols","i","propertyIsEnumerable","input_number","_React$useContext","useContext","context","E_","getPrefixCls","direction","size","SizeContext","focused","useImperativeHandle","customizeSize","customDisabled","customizePrefixCls","addonBefore","addonAfter","prefix","_props$bordered","bordered","customStatus","status","others","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","upIcon","downIcon","DownOutlined","_useContext","form_context","aM","hasFeedback","contextStatus","isFormItemInput","feedbackIcon","mergedStatus","statusUtils","F","mergeSize","DisabledContext","mergedDisabled","inputNumberClass","element","_classNames2","affixWrapperCls","reactNode","Tm","_a","_classNames4","wrapperClassName","addonClassName","addonBeforeNode","addonAfterNode","mergedWrapperClassName","mergedGroupClassName","Ux","override"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-bafe2a644131dc4c.js b/static/web/_next/static/chunks/pages/_app-bafe2a644131dc4c.js deleted file mode 100644 index ab2330ade..000000000 --- a/static/web/_next/static/chunks/pages/_app-bafe2a644131dc4c.js +++ /dev/null @@ -1,15 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return C},cyan:function(){return E},geekblue:function(){return Z},generate:function(){return f},gold:function(){return g},green:function(){return x},grey:function(){return N},lime:function(){return w},magenta:function(){return k},orange:function(){return y},presetDarkPalettes:function(){return h},presetPalettes:function(){return p},presetPrimaryColors:function(){return d},purple:function(){return S},red:function(){return m},volcano:function(){return v},yellow:function(){return b}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function s(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function c(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:s(d,f,!0),s:c(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var m=a(r),v=l((0,o.uA)({h:s(m,h),s:c(m,h),v:u(m,h)}));n.push(v)}return"dark"===t.theme?i.map(function(e){var r,i,a,s=e.index,c=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[s]),a=100*c/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]});var m=p.red,v=p.volcano,g=p.gold,y=p.orange,b=p.yellow,w=p.lime,x=p.green,E=p.cyan,C=p.blue,Z=p.geekblue,S=p.purple,k=p.magenta,N=p.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),l=n(67294),s=n(94184),c=n.n(s),u=n(63017),f=n(71002),d=n(92138),p=n(80334),h=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"==typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t},{})}function g(e){return(0,d.generate)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",t=(0,l.useContext)(u.Z).csp;(0,l.useEffect)(function(){(0,h.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,n=e.icon,o=e.className,i=e.onClick,s=e.style,c=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),d=x;if(c&&(d={primaryColor:c,secondaryColor:u||g(c)}),b(),t=m(n),(0,p.ZP)(t,"[@ant-design/icons] ".concat("icon should be icon definiton, but got ".concat(n))),!m(n))return null;var h=n;return h&&"function"==typeof h.icon&&(h=(0,r.Z)((0,r.Z)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,o){return o?l.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},v(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,r.Z)({key:n},v(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(h.icon,"svg-".concat(h.name),(0,r.Z)({className:o,onClick:i,style:s,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};function C(e){var t=y(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,r.Z)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||g(t),x.calculated=!!n};var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var S=l.forwardRef(function(e,t){var n,s=e.className,f=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,m=e.onClick,v=e.twoToneColor,g=(0,a.Z)(e,Z),b=l.useContext(u.Z),w=b.prefixCls,x=void 0===w?"anticon":w,C=b.rootClassName,S=c()(C,x,(n={},(0,i.Z)(n,"".concat(x,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(x,"-spin"),!!d||"loading"===f.name),n),s),k=h;void 0===k&&m&&(k=-1);var N=y(v),_=(0,o.Z)(N,2),T=_[0],P=_[1];return l.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:k,onClick:m,className:S}),l.createElement(E,{icon:f,primaryColor:T,secondaryColor:P,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=C;var k=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleFilled";var s=o.forwardRef(l)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleOutlined";var s=o.forwardRef(l)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleFilled";var s=o.forwardRef(l)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleOutlined";var s=o.forwardRef(l)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseOutlined";var s=o.forwardRef(l)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="DownOutlined";var s=o.forwardRef(l)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EllipsisOutlined";var s=o.forwardRef(l)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleFilled";var s=o.forwardRef(l)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleOutlined";var s=o.forwardRef(l)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeOutlined";var s=o.forwardRef(l)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleFilled";var s=o.forwardRef(l)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleOutlined";var s=o.forwardRef(l)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LeftOutlined";var s=o.forwardRef(l)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LoadingOutlined";var s=o.forwardRef(l)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={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"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="RightOutlined";var s=o.forwardRef(l)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="SearchOutlined";var s=o.forwardRef(l)},86500:function(e,t,n){"use strict";n.d(t,{GC:function(){return d},T6:function(){return h},VD:function(){return m},WE:function(){return c},Wl:function(){return p},Yt:function(){return v},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{ky:function(){return d},uA:function(){return a},uz:function(){return f}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,l=null,s=!1,c=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),s=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),s=!0,c="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,l),s=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:s,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:RegExp(l),rgb:RegExp("rgb"+s),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+s),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+s),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l},H:function(){return s}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924),l=n(42550),s=o.createContext(null),c=n(74902),u=n(8410),f=[],d=n(44958),p=n(74204),h="rc-util-locker-".concat(Date.now()),m=0,v=!1,g=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},y=o.forwardRef(function(e,t){var n,y,b,w,x=e.open,E=e.autoLock,C=e.getContainer,Z=(e.debug,e.autoDestroy),S=void 0===Z||Z,k=e.children,N=o.useState(x),_=(0,r.Z)(N,2),T=_[0],P=_[1],R=T||x;o.useEffect(function(){(S||x)&&P(x)},[x,S]);var O=o.useState(function(){return g(C)}),A=(0,r.Z)(O,2),M=A[0],L=A[1];o.useEffect(function(){var e=g(C);L(null!=e?e:null)});var F=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useRef(!1),d=o.useContext(s),p=o.useState(f),h=(0,r.Z)(p,2),m=h[0],v=h[1],g=d||(l.current?void 0:function(e){v(function(t){return[e].concat((0,c.Z)(t))})});function y(){i.parentElement||document.body.appendChild(i),l.current=!0}function b(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),l.current=!1}return(0,u.Z)(function(){return e?d?d(y):y():b(),b},[e]),(0,u.Z)(function(){m.length&&(m.forEach(function(e){return e()}),v(f))},[m]),[i,g]}(R&&!M,0),I=(0,r.Z)(F,2),j=I[0],V=I[1],D=null!=M?M:j;n=!!(E&&x&&(0,a.Z)()&&(D===j||D===document.body)),y=o.useState(function(){return m+=1,"".concat(h,"_").concat(m)}),b=(0,r.Z)(y,1)[0],(0,u.Z)(function(){if(n){var e=(0,p.Z)(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,d.jL)(b);return function(){(0,d.jL)(b)}},[n,b]);var z=null;k&&(0,l.Yr)(k)&&t&&(z=k.ref);var U=(0,l.x1)(z,t);if(!R||!(0,a.Z)()||void 0===M)return null;var B=!1===D||("boolean"==typeof w&&(v=w),v),H=k;return t&&(H=o.cloneElement(k,{ref:U})),o.createElement(s.Provider,{value:V},B?H:(0,i.createPortal)(H,D))})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(30470),a=n(67294),l=n(71577),s=n(6134);t.Z=function(e){var t=a.useRef(!1),n=a.useRef(null),c=(0,i.Z)(!1),u=(0,o.Z)(c,2),f=u[0],d=u[1],p=e.close,h=function(){null==p||p.apply(void 0,arguments)};a.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;null===(e=n.current)||void 0===e||e.focus()})),function(){t&&clearTimeout(t)}},[]);var m=function(e){e&&e.then&&(d(!0),e.then(function(){d(!1,!0),h.apply(void 0,arguments),t.current=!1},function(e){console.error(e),d(!1,!0),t.current=!1}))},v=e.type,g=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(l.Z,(0,r.Z)({},(0,s.n)(v),{onClick:function(n){var r,o,i=e.actionFn;if(!t.current){if(t.current=!0,!i){h();return}if(e.emitEvent){if(o=i(n),e.quitOnNullishReturnValue&&!((r=o)&&r.then)){t.current=!1,h(n);return}}else if(i.length)o=i(p),t.current=!1;else if(!(o=i())){h();return}m(o)}},loading:f,prefixCls:y},b,{ref:n}),g)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce(function(t,n){return(n.startsWith("data-")||n.startsWith("aria-")||"role"===n)&&!n.startsWith("data-__")&&(t[n]=e[n]),t},{})}n.d(t,{Z:function(){return r}})},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect(function(){a((0,i.fk)())},[]),n}},33603:function(e,t,n){"use strict";n.d(t,{mL:function(){return s},q0:function(){return l}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.b)("bottomLeft","bottomRight","topLeft","topRight");var l=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},s=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:o,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},l=[0,0];function s(e){return"boolean"==typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function c(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,c=e.verticalArrowShift,u=void 0===c?8:c,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(p).forEach(function(e){p[e]=d?(0,r.Z)((0,r.Z)({},p[e]),{overflow:s(f),targetOffset:l}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:s(f)}),p[e].ignoreShake=!0}),p}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return l},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e){return e&&o(e)&&e.type===r.Fragment}function a(e,t,n){return o(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}function l(e,t){return a(e,e,t)}},9708:function(e,t,n){"use strict";n.d(t,{F:function(){return l},Z:function(){return a}});var r=n(4942),o=n(94184),i=n.n(o);function a(e,t,n){var o;return i()((o={},(0,r.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(o,"".concat(e,"-has-feedback"),n),o))}(0,n(93355).b)("warning","error","");var l=function(e,t){return t||e}},31808:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{a:function(){return o},b:function(){return r}});var r=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;return m[n]=(0,p.Z)(function t(){(r-=1)<=0?(e(),delete m[n]):m[n]=(0,p.Z)(t)}),n}v.cancel=function(e){void 0!==e&&(p.Z.cancel(m[e]),delete m[e])},v.ids=m;var g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}var b=function(e){(0,l.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var o,i,l=e.props,s=l.insertExtraNode;if(!(l.disabled||!t||y(t)||t.className.includes("-leave"))){e.extraNode=document.createElement("div");var u=(0,a.Z)(e).extraNode,f=e.context.getPrefixCls;u.className="".concat(f(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&(!(p=(n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/))||!p[1]||!p[2]||!p[3]||!(p[1]===p[2]&&p[2]===p[3]))&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var p,h=(null===(o=t.getRootNode)||void 0===o?void 0:o.call(t))||t.ownerDocument,m=null!==(i=h instanceof Document?h.body:Array.from(h.childNodes).find(function(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}))&&void 0!==i?i:h;r=(0,c.hq)("\n [".concat(f(""),"-click-animating-without-extra-node='true']::after, .").concat(f(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:m})}s&&t.appendChild(u),["transition","animation"].forEach(function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)})}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(!(!t||!t.getAttribute||t.getAttribute("disabled")||t.className.includes("disabled"))){var n=function(n){if(!("INPUT"===n.target.tagName||y(n.target))){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout(function(){return e.onClick(t,r)},0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v(function(){e.animationStart=!1},10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!f.isValidElement(r))return r;var o=e.containerRef;return(0,u.Yr)(r)&&(o=(0,u.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls;return this.props.insertExtraNode?"".concat(e(""),"-click-animating"):"".concat(e(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,o=this.getAttributeName();e.setAttribute(o,"false"),r&&(r.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach(function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)})}}},{key:"render",value:function(){return f.createElement(d.C,null,this.renderWave)}}]),n}(f.Component);b.contextType=d.E_;var w=b},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(87462),o=n(97685),i=n(4942),a=n(89739),l=n(8751),s=n(4340),c=n(18429),u=n(97937),f=n(21640),d=n(11475),p=n(78860),h=n(45605),m=n(94184),v=n.n(m),g=n(62874),y=n(67294),b=n(53124),w=n(5467),x=n(96159),E=n(15671),C=n(43144),Z=n(60136),S=n(33643),k=function(e){(0,Z.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;return(0,E.Z)(this,n),e=t.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,C.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,a=o.info,l=a&&a.componentStack?a.componentStack:null,s=void 0===t?(i||"").toString():t;return i?y.createElement(A,{type:"error",message:s,description:y.createElement("pre",null,void 0===n?l:n)}):r}}]),n}(y.Component),N=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_={success:a.Z,info:p.Z,error:s.Z,warning:f.Z},T={success:l.Z,info:h.Z,error:c.Z,warning:d.Z},P=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=(t?T:_)[e.type]||null;return n?(0,x.wm)(n,y.createElement("span",{className:"".concat(r,"-icon")},n),function(){return{className:v()("".concat(r,"-icon"),(0,i.Z)({},n.props.className,n.props.className))}}):y.createElement(o,{className:"".concat(r,"-icon")})},R=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,i=e.handleClose;return t?y.createElement("button",{type:"button",onClick:i,className:"".concat(r,"-close-icon"),tabIndex:0},n?y.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},O=function(e){var t,n,a=e.description,l=e.prefixCls,s=e.message,c=e.banner,f=e.className,d=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,x=e.afterClose,E=e.showIcon,C=e.closable,Z=e.closeText,S=e.closeIcon,k=void 0===S?y.createElement(u.Z,null):S,_=e.action,T=N(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),O=y.useState(!1),A=(0,o.Z)(O,2),M=A[0],L=A[1],F=y.useRef(),I=y.useContext(b.E_),j=I.getPrefixCls,V=I.direction,D=j("alert",l),z=function(e){var t;L(!0),null===(t=T.onClose)||void 0===t||t.call(T,e)},U=!!Z||C,B=void 0!==(t=T.type)?t:c?"warning":"info",H=!!c&&void 0===E||E,W=v()(D,"".concat(D,"-").concat(B),(n={},(0,i.Z)(n,"".concat(D,"-with-description"),!!a),(0,i.Z)(n,"".concat(D,"-no-icon"),!H),(0,i.Z)(n,"".concat(D,"-banner"),!!c),(0,i.Z)(n,"".concat(D,"-rtl"),"rtl"===V),n),void 0===f?"":f),q=(0,w.Z)(T);return y.createElement(g.Z,{visible:!M,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:x},function(e){var t=e.className,n=e.style;return y.createElement("div",(0,r.Z)({ref:F,"data-show":!M,className:v()(W,t),style:(0,r.Z)((0,r.Z)({},d),n),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},q),H?y.createElement(P,{description:a,icon:T.icon,prefixCls:D,type:B}):null,y.createElement("div",{className:"".concat(D,"-content")},s?y.createElement("div",{className:"".concat(D,"-message")},s):null,a?y.createElement("div",{className:"".concat(D,"-description")},a):null),_?y.createElement("div",{className:"".concat(D,"-action")},_):null,y.createElement(R,{isClosable:!!U,closeText:Z,prefixCls:D,closeIcon:k,handleClose:z}))})};O.ErrorBoundary=k;var A=O},6134:function(e,t,n){"use strict";n.d(t,{n:function(){return T},Z:function(){return R}});var r=n(87462),o=n(4942),i=n(97685),a=n(71002),l=n(94184),s=n.n(l),c=n(98423),u=n(67294),f=n(53124),d=n(98866),p=n(97647),h=n(4173),m=n(96159),v=n(93355),g=n(68349),y=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=u.createContext(void 0),w=n(50888),x=n(62874),E=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},Z=function(e){var t=e.prefixCls,n=e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(w.Z,null)):u.createElement(x.Z,{visible:!!n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:E,onAppearActive:C,onEnterStart:E,onEnterActive:C,onLeaveStart:C,onLeaveActive:E},function(e,n){var r=e.className,o=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:o,ref:n},u.createElement(w.Z,{className:r}))})},S=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},k=/^[\u4e00-\u9fa5]{2}$/,N=k.test.bind(k);function _(e){return"text"===e||"link"===e}function T(e){return"danger"===e?{danger:!0}:{type:e}}(0,v.b)("default","primary","ghost","dashed","link","text"),(0,v.b)("default","circle","round"),(0,v.b)("submit","button","reset");var P=u.forwardRef(function(e,t){var n,l,v,y,w=e.loading,x=void 0!==w&&w,E=e.prefixCls,C=e.type,k=void 0===C?"default":C,T=e.danger,P=e.shape,R=void 0===P?"default":P,O=e.size,A=e.disabled,M=e.className,L=e.children,F=e.icon,I=e.ghost,j=e.block,V=e.htmlType,D=S(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),z=u.useContext(p.Z),U=u.useContext(d.Z),B=null!=A?A:U,H=u.useContext(b),W=u.useState(!!x),q=(0,i.Z)(W,2),$=q[0],K=q[1],G=u.useState(!1),Y=(0,i.Z)(G,2),X=Y[0],Q=Y[1],J=u.useContext(f.E_),ee=J.getPrefixCls,et=J.autoInsertSpaceInButton,en=J.direction,er=t||u.createRef(),eo=function(){return 1===u.Children.count(L)&&!F&&!_(k)},ei="boolean"==typeof x?x:(null==x?void 0:x.delay)||!0;u.useEffect(function(){var e=null;return"number"==typeof ei?e=window.setTimeout(function(){e=null,K(ei)},ei):K(ei),function(){e&&(window.clearTimeout(e),e=null)}},[ei]),u.useEffect(function(){if(er&&er.current&&!1!==et){var e=er.current.textContent;eo()&&N(e)?X||Q(!0):X&&Q(!1)}},[er]);var ea=function(t){var n=e.onClick;if($||B){t.preventDefault();return}null==n||n(t)},el=ee("btn",E),es=!1!==et,ec=(0,h.ri)(el,en),eu=ec.compactSize,ef=ec.compactItemClassnames,ed=eu||H||O||z,ep=ed&&({large:"lg",small:"sm",middle:void 0})[ed]||"",eh=(0,c.Z)(D,["navigate"]),em=s()(el,(y={},(0,o.Z)(y,"".concat(el,"-").concat(R),"default"!==R&&R),(0,o.Z)(y,"".concat(el,"-").concat(k),k),(0,o.Z)(y,"".concat(el,"-").concat(ep),ep),(0,o.Z)(y,"".concat(el,"-icon-only"),!L&&0!==L&&!!($?"loading":F)),(0,o.Z)(y,"".concat(el,"-background-ghost"),void 0!==I&&I&&!_(k)),(0,o.Z)(y,"".concat(el,"-loading"),$),(0,o.Z)(y,"".concat(el,"-two-chinese-chars"),X&&es&&!$),(0,o.Z)(y,"".concat(el,"-block"),void 0!==j&&j),(0,o.Z)(y,"".concat(el,"-dangerous"),!!T),(0,o.Z)(y,"".concat(el,"-rtl"),"rtl"===en),(0,o.Z)(y,"".concat(el,"-disabled"),void 0!==eh.href&&B),y),ef,M),ev=F&&!$?F:u.createElement(Z,{existIcon:!!F,prefixCls:el,loading:!!$}),eg=L||0===L?(n=eo()&&es,l=!1,v=[],u.Children.forEach(L,function(e){var t=(0,a.Z)(e),n="string"===t||"number"===t;if(l&&n){var r=v.length-1,o=v[r];v[r]="".concat(o).concat(e)}else v.push(e);l=n}),u.Children.map(v,function(e){return function(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&N(e.props.children)?(0,m.Tm)(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?N(e)?u.createElement("span",null,e.split("").join(n)):u.createElement("span",null,e):(0,m.M2)(e)?u.createElement("span",null,e):e}}(e,n)})):null;if(void 0!==eh.href)return u.createElement("a",(0,r.Z)({},eh,{className:em,onClick:ea,ref:er}),ev,eg);var ey=u.createElement("button",(0,r.Z)({},D,{type:void 0===V?"button":V,className:em,onClick:ea,disabled:B,ref:er}),ev,eg);return _(k)?ey:u.createElement(g.Z,{disabled:!!$},ey)});P.Group=function(e){var t,n=u.useContext(f.E_),i=n.getPrefixCls,a=n.direction,l=e.prefixCls,c=e.size,d=e.className,p=y(e,["prefixCls","size","className"]),h=i("btn-group",l),m="";switch(c){case"large":m="lg";break;case"small":m="sm"}var v=s()(h,(t={},(0,o.Z)(t,"".concat(h,"-").concat(m),m),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===a),t),d);return u.createElement(b.Provider,{value:c},u.createElement("div",(0,r.Z)({},p,{className:v})))},P.__ANT_BUTTON=!0;var R=P},71577:function(e,t,n){"use strict";var r=n(6134);t.Z=r.Z},74228:function(e,t,n){"use strict";var r=n(87206);t.Z=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294),o=r.createContext(!1),i=function(e){var t=e.children,n=e.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,function(e){return r.createElement(o.Provider,{value:n||e},t)})};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{C:function(){return a},E_:function(){return i},PG:function(){return l}});var r=n(87462),o=n(67294),i=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),a=i.Consumer;function l(e){return function(t){var n=t.constructor;return n&&n.displayName||t.name,function(n){return o.createElement(a,null,function(i){var a=e.prefixCls,l=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:l}))})}}}},76519:function(e,t,n){"use strict";n.d(t,{ZP:function(){return R},w6:function(){return _}});var r,o,i=n(87462),a=n(63017),l=n(71990),s=n(56982),c=n(67294),u=n(83008),f=n(67178),d=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__,c.useEffect(function(){return(0,u.f)(n&&n.Modal),function(){(0,u.f)()}},[n]);var o=c.useMemo(function(){return(0,i.Z)((0,i.Z)({},n),{exist:!0})},[n]);return c.createElement(f.Z.Provider,{value:o},r)},p=n(23715),h=n(7734),m=n(12461),v=n(13448),g=n(53124),y=n(92138),b=n(10274),w=n(98924),x=n(44958),E="-ant-".concat(Date.now(),"-").concat(Math.random()),C=n(98866),Z=n(97647),S=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function k(){return r||"ant"}function N(){return o||"anticon"}var _=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(k(),"-").concat(e):k())},getIconPrefixCls:N,getRootPrefixCls:function(e,t){return e||r||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):k())}}},T=function(e){var t,n,r=e.children,o=e.csp,u=e.autoInsertSpaceInButton,f=e.form,p=e.locale,m=e.componentSize,v=e.direction,y=e.space,b=e.virtual,w=e.dropdownMatchSelectWidth,x=e.legacyLocale,E=e.parentContext,k=e.iconPrefixCls,N=e.componentDisabled,_=c.useCallback(function(t,n){var r=e.prefixCls;if(n)return n;var o=r||E.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[E.getPrefixCls,e.prefixCls]),T=(0,i.Z)((0,i.Z)({},E),{csp:o,autoInsertSpaceInButton:u,locale:p||x,direction:v,space:y,virtual:b,dropdownMatchSelectWidth:w,getPrefixCls:_});S.forEach(function(t){var n=e[t];n&&(T[t]=n)});var P=(0,s.Z)(function(){return T},T,function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(function(n){return e[n]!==t[n]})}),R=c.useMemo(function(){return{prefixCls:k,csp:o}},[k,o]),O=r,A={};return p&&(A=(null===(t=p.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=h.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),f&&f.validateMessages&&(A=(0,i.Z)((0,i.Z)({},A),f.validateMessages)),Object.keys(A).length>0&&(O=c.createElement(l.FormProvider,{validateMessages:A},r)),p&&(O=c.createElement(d,{locale:p,_ANT_MARK__:"internalMark"},O)),(k||o)&&(O=c.createElement(a.Z.Provider,{value:R},O)),m&&(O=c.createElement(Z.q,{size:m},O)),void 0!==N&&(O=c.createElement(C.n,{disabled:N},O)),c.createElement(g.E_.Provider,{value:P},O)},P=function(e){return c.useEffect(function(){e.direction&&(m.ZP.config({rtl:"rtl"===e.direction}),v.Z.config({rtl:"rtl"===e.direction}))},[e.direction]),c.createElement(p.Z,null,function(t,n,r){return c.createElement(g.C,null,function(t){return c.createElement(T,(0,i.Z)({parentContext:t,legacyLocale:r},e))})})};P.ConfigContext=g.E_,P.SizeContext=Z.Z,P.config=function(e){var t,n=e.prefixCls,i=e.iconPrefixCls,a=e.theme;void 0!==n&&(r=n),void 0!==i&&(o=i),a&&(t=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new b.C(e),i=(0,y.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new b.C(t.primaryColor),a=(0,y.generate)(i.toRgbString());a.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(i,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=r(i,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=r(i,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=r(i,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=r(i,function(e){return e.setAlpha(.12*e.getAlpha())});var l=new b.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(l,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=r(l,function(e){return e.darken(2)})}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var s=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}(k(),a),(0,w.Z)()&&(0,x.hq)(t,"".concat(E,"-dynamic-theme")))};var R=P},87206:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(42115),i={lang:(0,r.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,r.Z)({},o.Z)}},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return c},Rk:function(){return u},Ux:function(){return d},aM:function(){return f},q3:function(){return l},qI:function(){return s}});var r=n(87462),o=n(71990),i=n(98423),a=n(67294),l=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),s=a.createContext(null),c=function(e){var t=(0,i.Z)(e,["prefixCls"]);return a.createElement(o.FormProvider,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),f=a.createContext({}),d=function(e){var t=e.children,n=e.status,o=e.override,i=(0,a.useContext)(f),l=(0,a.useMemo)(function(){var e=(0,r.Z)({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return a.createElement(f.Provider,{value:l},t)}},79915:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var r=n(87462),o=n(4942),i=n(71002),a=n(97685),l=n(80882),s=n(1413),c=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},f=n(42135),d=function(e,t){return c.createElement(f.Z,(0,s.Z)((0,s.Z)({},e),{},{ref:t,icon:u}))};d.displayName="UpOutlined";var p=c.forwardRef(d),h=n(94184),m=n.n(h),v=n(45987),g=n(15105),y=n(8410),b=n(42550),w=n(15671),x=n(43144);function E(){return"function"==typeof BigInt}function C(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(l).concat(r)}}function Z(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function S(e){var t=String(e);if(Z(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null==r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&N(t)?t.length-t.indexOf(".")-1:0}function k(e){var t=String(e);if(Z(e)){if(e>Number.MAX_SAFE_INTEGER)return String(E()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":k(this.number):this.origin}}]),e}(),P=function(){function e(t){if((0,w.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!t&&0!==t||!String(t).trim()){this.empty=!0;return}if(this.origin=String(t),"-"===t){this.nan=!0;return}var n=t;if(Z(n)&&(n=Number(n)),N(n="string"==typeof n?n:k(n))){var r=C(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}return(0,x.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=C((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,l="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(l.slice(0,-r),".").concat(l.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":C("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function R(e){return E()?new P(e):new T(e)}function O(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=C(e),i=o.negativeStr,a=o.integerStr,l=o.decimalStr,s="".concat(t).concat(l),c="".concat(i).concat(a);if(n>=0){var u=Number(l[n]);return u>=5&&!r?O(R(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===s?c:"".concat(c).concat(s)}var A=n(31131);function M(e){var t=e.prefixCls,n=e.upNode,i=e.downNode,a=e.upDisabled,l=e.downDisabled,s=e.onStep,u=c.useRef(),f=c.useRef();f.current=s;var d=function(e,t){e.preventDefault(),f.current(t),u.current=setTimeout(function e(){f.current(t),u.current=setTimeout(e,200)},600)},p=function(){clearTimeout(u.current)};if(c.useEffect(function(){return p},[]),(0,A.Z)())return null;var h="".concat(t,"-handler"),v=m()(h,"".concat(h,"-up"),(0,o.Z)({},"".concat(h,"-up-disabled"),a)),g=m()(h,"".concat(h,"-down"),(0,o.Z)({},"".concat(h,"-down-disabled"),l)),y={unselectable:"on",role:"button",onMouseUp:p,onMouseLeave:p};return c.createElement("div",{className:"".concat(h,"-wrap")},c.createElement("span",(0,r.Z)({},y,{onMouseDown:function(e){d(e,!0)},"aria-label":"Increase Value","aria-disabled":a,className:v}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",(0,r.Z)({},y,{onMouseDown:function(e){d(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:g}),i||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var L=n(80334),F=n(75164),I=function(){var e=(0,c.useRef)(0),t=function(){F.Z.cancel(e.current)};return(0,c.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,F.Z)(function(){n()})}},j=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],V=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},D=function(e){var t=R(e);return t.isInvalidate()?null:t},z=c.forwardRef(function(e,t){var n,l,s,u=e.prefixCls,f=void 0===u?"rc-input-number":u,d=e.className,p=e.style,h=e.min,w=e.max,x=e.step,E=void 0===x?1:x,C=e.defaultValue,Z=e.value,T=e.disabled,P=e.readOnly,A=e.upHandler,F=e.downHandler,z=e.keyboard,U=e.controls,B=e.stringMode,H=e.parser,W=e.formatter,q=e.precision,$=e.decimalSeparator,K=e.onChange,G=e.onInput,Y=e.onPressEnter,X=e.onStep,Q=(0,v.Z)(e,j),J="".concat(f,"-input"),ee=c.useRef(null),et=c.useState(!1),en=(0,a.Z)(et,2),er=en[0],eo=en[1],ei=c.useRef(!1),ea=c.useRef(!1),el=c.useRef(!1),es=c.useState(function(){return R(null!=Z?Z:C)}),ec=(0,a.Z)(es,2),eu=ec[0],ef=ec[1],ed=c.useCallback(function(e,t){return t?void 0:q>=0?q:Math.max(S(e),S(E))},[q,E]),ep=c.useCallback(function(e){var t=String(e);if(H)return H(t);var n=t;return $&&(n=n.replace($,".")),n.replace(/[^\w.-]+/g,"")},[H,$]),eh=c.useRef(""),em=c.useCallback(function(e,t){if(W)return W(e,{userTyping:t,input:String(eh.current)});var n="number"==typeof e?k(e):e;if(!t){var r=ed(n,t);N(n)&&($||r>=0)&&(n=O(n,$||".",r))}return n},[W,ed,$]),ev=c.useState(function(){var e=null!=C?C:Z;return eu.isInvalidate()&&["string","number"].includes((0,i.Z)(e))?Number.isNaN(e)?"":e:em(eu.toString(),!1)}),eg=(0,a.Z)(ev,2),ey=eg[0],eb=eg[1];function ew(e,t){eb(em(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eh.current=ey;var ex=c.useMemo(function(){return D(w)},[w,q]),eE=c.useMemo(function(){return D(h)},[h,q]),eC=c.useMemo(function(){return!(!ex||!eu||eu.isInvalidate())&&ex.lessEquals(eu)},[ex,eu]),eZ=c.useMemo(function(){return!(!eE||!eu||eu.isInvalidate())&&eu.lessEquals(eE)},[eE,eu]),eS=(n=ee.current,l=(0,c.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,r=n.value,o=r.substring(0,e),i=r.substring(t);l.current={start:e,end:t,value:r,beforeTxt:o,afterTxt:i}}catch(a){}},function(){if(n&&l.current&&er)try{var e=n.value,t=l.current,r=t.beforeTxt,o=t.afterTxt,i=t.start,a=e.length;if(e.endsWith(o))a=e.length-l.current.afterTxt.length;else if(e.startsWith(r))a=r.length;else{var s=r[i-1],c=e.indexOf(s,i-1);-1!==c&&(a=c+1)}n.setSelectionRange(a,a)}catch(u){(0,L.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(u.message))}}]),ek=(0,a.Z)(eS,2),eN=ek[0],e_=ek[1],eT=function(e){return ex&&!e.lessEquals(ex)?ex:eE&&!eE.lessEquals(e)?eE:null},eP=function(e){return!eT(e)},eR=function(e,t){var n=e,r=eP(n)||n.isEmpty();if(n.isEmpty()||t||(n=eT(n)||n,r=!0),!P&&!T&&r){var o,i=n.toString(),a=ed(i,t);return a>=0&&!eP(n=R(O(i,".",a)))&&(n=R(O(i,".",a,!0))),n.equals(eu)||(o=n,void 0===Z&&ef(o),null==K||K(n.isEmpty()?null:V(B,n)),void 0===Z&&ew(n,t)),n}return eu},eO=I(),eA=function e(t){if(eN(),eb(t),!ea.current){var n=R(ep(t));n.isNaN()||eR(n,!0)}null==G||G(t),eO(function(){var n=t;H||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eM=function(e){if((!e||!eC)&&(e||!eZ)){ei.current=!1;var t,n=R(el.current?_(E):E);e||(n=n.negate());var r=eR((eu||R(0)).add(n.toString()),!1);null==X||X(V(B,r),{offset:el.current?_(E):E,type:e?"up":"down"}),null===(t=ee.current)||void 0===t||t.focus()}},eL=function(e){var t=R(ep(ey)),n=t;n=t.isNaN()?eu:eR(t,e),void 0!==Z?ew(eu,!1):n.isNaN()||ew(n,!1)};return(0,y.o)(function(){eu.isInvalidate()||ew(eu,!1)},[q]),(0,y.o)(function(){var e=R(Z);ef(e);var t=R(ep(ey));e.equals(t)&&ei.current&&!W||ew(e,ei.current)},[Z]),(0,y.o)(function(){W&&e_()},[ey]),c.createElement("div",{className:m()(f,d,(s={},(0,o.Z)(s,"".concat(f,"-focused"),er),(0,o.Z)(s,"".concat(f,"-disabled"),T),(0,o.Z)(s,"".concat(f,"-readonly"),P),(0,o.Z)(s,"".concat(f,"-not-a-number"),eu.isNaN()),(0,o.Z)(s,"".concat(f,"-out-of-range"),!eu.isInvalidate()&&!eP(eu)),s)),style:p,onFocus:function(){eo(!0)},onBlur:function(){eL(!1),eo(!1),ei.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;ei.current=!0,n?el.current=!0:el.current=!1,t===g.Z.ENTER&&(ea.current||(ei.current=!1),eL(!1),null==Y||Y(e)),!1!==z&&!ea.current&&[g.Z.UP,g.Z.DOWN].includes(t)&&(eM(g.Z.UP===t),e.preventDefault())},onKeyUp:function(){ei.current=!1,el.current=!1},onCompositionStart:function(){ea.current=!0},onCompositionEnd:function(){ea.current=!1,eA(ee.current.value)},onBeforeInput:function(){ei.current=!0}},(void 0===U||U)&&c.createElement(M,{prefixCls:f,upNode:A,downNode:F,upDisabled:eC,downDisabled:eZ,onStep:eM}),c.createElement("div",{className:"".concat(J,"-wrap")},c.createElement("input",(0,r.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":h,"aria-valuemax":w,"aria-valuenow":eu.isInvalidate()?null:eu.toString(),step:E},Q,{ref:(0,b.sQ)(ee,t),className:J,value:ey,onChange:function(e){eA(e.target.value)},disabled:T,readOnly:P}))))});z.displayName="InputNumber";var U=n(53124),B=n(98866),H=n(97647),W=n(65223),q=n(4173),$=n(96159),K=n(9708),G=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Y=c.forwardRef(function(e,t){var n=c.useContext(U.E_),s=n.getPrefixCls,u=n.direction,f=c.useContext(H.Z),d=c.useState(!1),h=(0,a.Z)(d,2),v=h[0],g=h[1],y=c.useRef(null);c.useImperativeHandle(t,function(){return y.current});var b=e.className,w=e.size,x=e.disabled,E=e.prefixCls,C=e.addonBefore,Z=e.addonAfter,S=e.prefix,k=e.bordered,N=void 0===k||k,_=e.readOnly,T=e.status,P=e.controls,R=G(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),O=s("input-number",E),A=(0,q.ri)(O,u),M=A.compactSize,L=A.compactItemClassnames,F=c.createElement(p,{className:"".concat(O,"-handler-up-inner")}),I=c.createElement(l.Z,{className:"".concat(O,"-handler-down-inner")});"object"===(0,i.Z)(P)&&(F=void 0===P.upIcon?F:c.createElement("span",{className:"".concat(O,"-handler-up-inner")},P.upIcon),I=void 0===P.downIcon?I:c.createElement("span",{className:"".concat(O,"-handler-down-inner")},P.downIcon));var j=(0,c.useContext)(W.aM),V=j.hasFeedback,D=j.status,Y=j.isFormItemInput,X=j.feedbackIcon,Q=(0,K.F)(D,T),J=M||w||f,ee=c.useContext(B.Z),et=null!=x?x:ee,en=m()((eo={},(0,o.Z)(eo,"".concat(O,"-lg"),"large"===J),(0,o.Z)(eo,"".concat(O,"-sm"),"small"===J),(0,o.Z)(eo,"".concat(O,"-rtl"),"rtl"===u),(0,o.Z)(eo,"".concat(O,"-borderless"),!N),(0,o.Z)(eo,"".concat(O,"-in-form-item"),Y),eo),(0,K.Z)(O,Q),L,b),er=c.createElement(z,(0,r.Z)({ref:y,disabled:et,className:en,upHandler:F,downHandler:I,prefixCls:O,readOnly:_,controls:"boolean"==typeof P?P:void 0},R));if(null!=S||V){var eo,ei,ea=m()("".concat(O,"-affix-wrapper"),(0,K.Z)("".concat(O,"-affix-wrapper"),Q,V),(ei={},(0,o.Z)(ei,"".concat(O,"-affix-wrapper-focused"),v),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-disabled"),e.disabled),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-sm"),"small"===f),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-lg"),"large"===f),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-rtl"),"rtl"===u),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-readonly"),_),(0,o.Z)(ei,"".concat(O,"-affix-wrapper-borderless"),!N),(0,o.Z)(ei,"".concat(b),!(C||Z)&&b),ei));er=c.createElement("div",{className:ea,style:e.style,onMouseUp:function(){return y.current.focus()}},S&&c.createElement("span",{className:"".concat(O,"-prefix")},S),(0,$.Tm)(er,{style:null,value:e.value,onFocus:function(t){var n;g(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;g(!1),null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),V&&c.createElement("span",{className:"".concat(O,"-suffix")},X))}if(null!=C||null!=Z){var el,es="".concat(O,"-group"),ec="".concat(es,"-addon"),eu=C?c.createElement("div",{className:ec},C):null,ef=Z?c.createElement("div",{className:ec},Z):null,ed=m()("".concat(O,"-wrapper"),es,(0,o.Z)({},"".concat(es,"-rtl"),"rtl"===u)),ep=m()("".concat(O,"-group-wrapper"),(el={},(0,o.Z)(el,"".concat(O,"-group-wrapper-sm"),"small"===f),(0,o.Z)(el,"".concat(O,"-group-wrapper-lg"),"large"===f),(0,o.Z)(el,"".concat(O,"-group-wrapper-rtl"),"rtl"===u),el),(0,K.Z)("".concat(O,"-group-wrapper"),Q,V),b);er=c.createElement("div",{className:ep,style:e.style},c.createElement("div",{className:ed},eu&&c.createElement(W.Ux,{status:!0,override:!0},eu),(0,$.Tm)(er,{style:null,disabled:et}),ef&&c.createElement(W.Ux,{status:!0,override:!0},ef)))}return er})},82586:function(e,t,n){"use strict";n.d(t,{ZP:function(){return C},D7:function(){return w},rJ:function(){return x},nH:function(){return E}});var r=n(4942),o=n(87462),i=n(71002),a=n(4340),l=n(94184),s=n.n(l),c=n(59775),u=n(42550),f=n(67294),d=n(53124),p=n(98866),h=n(97647),m=n(65223),v=n(4173),g=n(9708),y=n(72922),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function w(e){return null==e?"":String(e)}function x(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(o);return}if(void 0!==r){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function E(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var C=(0,f.forwardRef)(function(e,t){var n,l,w,x,E=e.prefixCls,C=e.bordered,Z=void 0===C||C,S=e.status,k=e.size,N=e.disabled,_=e.onBlur,T=e.onFocus,P=e.suffix,R=e.allowClear,O=e.addonAfter,A=e.addonBefore,M=e.className,L=e.onChange,F=b(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),I=f.useContext(d.E_),j=I.getPrefixCls,V=I.direction,D=I.input,z=j("input",E),U=(0,f.useRef)(null),B=(0,v.ri)(z,V),H=B.compactSize,W=B.compactItemClassnames,q=f.useContext(h.Z),$=H||k||q,K=f.useContext(p.Z),G=(0,f.useContext)(m.aM),Y=G.status,X=G.hasFeedback,Q=G.feedbackIcon,J=(0,g.F)(Y,S),ee=!!(e.prefix||e.suffix||e.allowClear)||!!X,et=(0,f.useRef)(ee);(0,f.useEffect)(function(){ee&&et.current,et.current=ee},[ee]);var en=(0,y.Z)(U,!0),er=(X||P)&&f.createElement(f.Fragment,null,P,X&&Q);return"object"===(0,i.Z)(R)&&(null==R?void 0:R.clearIcon)?x=R:R&&(x={clearIcon:f.createElement(a.Z,null)}),f.createElement(c.default,(0,o.Z)({ref:(0,u.sQ)(t,U),prefixCls:z,autoComplete:null==D?void 0:D.autoComplete},F,{disabled:(null!=N?N:K)||void 0,onBlur:function(e){en(),null==_||_(e)},onFocus:function(e){en(),null==T||T(e)},suffix:er,allowClear:x,className:s()(M,W),onChange:function(e){en(),null==L||L(e)},addonAfter:O&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},O)),addonBefore:A&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},A)),inputClassName:s()((n={},(0,r.Z)(n,"".concat(z,"-sm"),"small"===$),(0,r.Z)(n,"".concat(z,"-lg"),"large"===$),(0,r.Z)(n,"".concat(z,"-rtl"),"rtl"===V),(0,r.Z)(n,"".concat(z,"-borderless"),!Z),n),!ee&&(0,g.Z)(z,J)),affixWrapperClassName:s()((l={},(0,r.Z)(l,"".concat(z,"-affix-wrapper-sm"),"small"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-lg"),"large"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-rtl"),"rtl"===V),(0,r.Z)(l,"".concat(z,"-affix-wrapper-borderless"),!Z),l),(0,g.Z)("".concat(z,"-affix-wrapper"),J,X)),wrapperClassName:s()((0,r.Z)({},"".concat(z,"-group-rtl"),"rtl"===V)),groupClassName:s()((w={},(0,r.Z)(w,"".concat(z,"-group-wrapper-sm"),"small"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-lg"),"large"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-rtl"),"rtl"===V),w),(0,g.Z)("".concat(z,"-group-wrapper"),J,X))}))})},80173:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(71002),o=n(4942),i=n(87462),a=n(97685),l=n(74902),s=n(94184),c=n.n(s),u=n(57239),f=n(21770),d=n(98423),p=n(67294),h=n(53124),m=n(98866),v=n(97647),g=n(65223),y=n(9708),b=n(15671),w=n(43144),x=n(60136),E=n(33643),C=n(4340),Z=n(96159),S=(0,n(93355).b)("text","input"),k=function(e){(0,x.Z)(n,e);var t=(0,E.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,w.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,l=n.handleReset,s=n.suffix,u="".concat(e,"-clear-icon");return p.createElement(C.Z,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:c()((t={},(0,o.Z)(t,"".concat(u,"-hidden"),!(!i&&!a&&r)),(0,o.Z)(t,"".concat(u,"-has-suffix"),!!s),t),u),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i,a=this.props,l=a.value,s=a.allowClear,u=a.className,f=a.style,d=a.direction,h=a.bordered,m=a.hidden,v=a.status,g=n.status,b=n.hasFeedback;if(!s)return(0,Z.Tm)(t,{value:l});var w=c()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,y.Z)("".concat(e,"-affix-wrapper"),(0,y.F)(g,v),b),(i={},(0,o.Z)(i,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(i,"".concat(e,"-affix-wrapper-borderless"),!h),(0,o.Z)(i,"".concat(u),!((r=this.props).addonBefore||r.addonAfter)&&u),i));return p.createElement("span",{className:w,style:f,hidden:m},(0,Z.Tm)(t,{style:null,value:l}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(g.aM.Consumer,null,function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===S[0])return e.renderTextAreaWithClearIcon(r,i,t)})}}]),n}(p.Component),N=n(82586),_=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function T(e,t){return(0,l.Z)(e||"").slice(0,t).join("")}function P(e,t,n,r){var o=n;return e?o=T(n,r):(0,l.Z)(t||"").lengthr&&(o=t),o}var R=p.forwardRef(function(e,t){var n=e.prefixCls,s=e.bordered,b=void 0===s||s,w=e.showCount,x=void 0!==w&&w,E=e.maxLength,C=e.className,Z=e.style,S=e.size,R=e.disabled,O=e.onCompositionStart,A=e.onCompositionEnd,M=e.onChange,L=e.status,F=_(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),I=p.useContext(h.E_),j=I.getPrefixCls,V=I.direction,D=p.useContext(v.Z),z=p.useContext(m.Z),U=null!=R?R:z,B=p.useContext(g.aM),H=B.status,W=B.hasFeedback,q=B.isFormItemInput,$=B.feedbackIcon,K=(0,y.F)(H,L),G=p.useRef(null),Y=p.useRef(null),X=p.useState(!1),Q=(0,a.Z)(X,2),J=Q[0],ee=Q[1],et=p.useRef(),en=p.useRef(0),er=(0,f.Z)(F.defaultValue,{value:F.value}),eo=(0,a.Z)(er,2),ei=eo[0],ea=eo[1],el=F.hidden,es=function(e,t){void 0===F.value&&(ea(e),null==t||t())},ec=Number(E)>0,eu=j("input",n);p.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=G.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,N.nH)(null===(n=null===(t=G.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=G.current)||void 0===e?void 0:e.blur()}}});var ef=p.createElement(u.default,(0,i.Z)({},(0,d.Z)(F,["allowClear"]),{disabled:U,className:c()((eh={},(0,o.Z)(eh,"".concat(eu,"-borderless"),!b),(0,o.Z)(eh,C,C&&!x),(0,o.Z)(eh,"".concat(eu,"-sm"),"small"===D||"small"===S),(0,o.Z)(eh,"".concat(eu,"-lg"),"large"===D||"large"===S),eh),(0,y.Z)(eu,K)),style:x?{resize:null==Z?void 0:Z.resize}:Z,prefixCls:eu,onCompositionStart:function(e){ee(!0),et.current=ei,en.current=e.currentTarget.selectionStart,null==O||O(e)},onChange:function(e){var t=e.target.value;!J&&ec&&(t=P(e.target.selectionStart>=E+1||e.target.selectionStart===t.length||!e.target.selectionStart,ei,t,E)),es(t),(0,N.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;ec&&(n=P(en.current>=E+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,E)),n!==ei&&(es(n),(0,N.rJ)(e.currentTarget,e,M,n)),null==A||A(e)},ref:G})),ed=(0,N.D7)(ei);!J&&ec&&(null===F.value||void 0===F.value)&&(ed=T(ed,E));var ep=p.createElement(k,(0,i.Z)({disabled:U},F,{prefixCls:eu,direction:V,inputType:"text",value:ed,element:ef,handleReset:function(e){var t,n,r;es(""),null===(t=G.current)||void 0===t||t.focus(),(0,N.rJ)(null===(r=null===(n=G.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,M)},ref:Y,bordered:b,status:L,style:x?void 0:Z}));if(x||W){var eh,em,ev=(0,l.Z)(ed).length,eg="";return eg="object"===(0,r.Z)(x)?x.formatter({value:ed,count:ev,maxLength:E}):"".concat(ev).concat(ec?" / ".concat(E):""),p.createElement("div",{hidden:el,className:c()("".concat(eu,"-textarea"),(em={},(0,o.Z)(em,"".concat(eu,"-textarea-rtl"),"rtl"===V),(0,o.Z)(em,"".concat(eu,"-textarea-show-count"),x),(0,o.Z)(em,"".concat(eu,"-textarea-in-form-item"),q),em),(0,y.Z)("".concat(eu,"-textarea"),K,W),C),style:Z,"data-count":eg},ep,W&&p.createElement("span",{className:"".concat(eu,"-textarea-suffix")},$))}return ep})},72922:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=(0,r.useRef)([]),o=function(){n.current.push(setTimeout(function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&o(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),o}},79531:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(67294),s=n(53124),c=n(65223),u=n(82586),f=n(97685),d=n(71002),p=n(1413),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},m=n(42135),v=function(e,t){return l.createElement(m.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:h}))};v.displayName="EyeInvisibleOutlined";var g=l.forwardRef(v),y=n(99611),b=n(98423),w=n(42550),x=n(72922),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},C=function(e){return e?l.createElement(y.Z,null):l.createElement(g,null)},Z={click:"onClick",hover:"onMouseOver"},S=l.forwardRef(function(e,t){var n=e.visibilityToggle,i=void 0===n||n,c="object"===(0,d.Z)(i)&&void 0!==i.visible,p=(0,l.useState)(function(){return!!c&&i.visible}),h=(0,f.Z)(p,2),m=h[0],v=h[1],g=(0,l.useRef)(null);l.useEffect(function(){c&&v(i.visible)},[c,i]);var y=(0,x.Z)(g),S=function(){e.disabled||(m&&y(),v(function(e){var t,n=!e;return"object"===(0,d.Z)(i)&&(null===(t=i.onVisibleChange)||void 0===t||t.call(i,n)),n}))},k=function(t){var n,r=e.action,i=e.iconRender,a=Z[void 0===r?"click":r]||"",s=(void 0===i?C:i)(m),c=(n={},(0,o.Z)(n,a,S),(0,o.Z)(n,"className","".concat(t,"-icon")),(0,o.Z)(n,"key","passwordIcon"),(0,o.Z)(n,"onMouseDown",function(e){e.preventDefault()}),(0,o.Z)(n,"onMouseUp",function(e){e.preventDefault()}),n);return l.cloneElement(l.isValidElement(s)?s:l.createElement("span",null,s),c)};return l.createElement(s.C,null,function(n){var s=n.getPrefixCls,c=e.className,f=e.prefixCls,d=e.inputPrefixCls,p=e.size,h=E(e,["className","prefixCls","inputPrefixCls","size"]),v=s("input",d),y=s("input-password",f),x=i&&k(y),C=a()(y,c,(0,o.Z)({},"".concat(y,"-").concat(p),!!p)),Z=(0,r.Z)((0,r.Z)({},(0,b.Z)(h,["suffix","iconRender","visibilityToggle"])),{type:m?"text":"password",className:C,prefixCls:v,suffix:x});return p&&(Z.size=p),l.createElement(u.ZP,(0,r.Z)({ref:(0,w.sQ)(t,g)},Z))})}),k=n(68795),N=n(71577),_=n(97647),T=n(4173),P=n(96159),R=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O=l.forwardRef(function(e,t){var n,i,c=e.prefixCls,f=e.inputPrefixCls,d=e.className,p=e.size,h=e.suffix,m=e.enterButton,v=void 0!==m&&m,g=e.addonAfter,y=e.loading,b=e.disabled,x=e.onSearch,E=e.onChange,C=e.onCompositionStart,Z=e.onCompositionEnd,S=R(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),O=l.useContext(s.E_),A=O.getPrefixCls,M=O.direction,L=l.useContext(_.Z),F=l.useRef(!1),I=A("input-search",c),j=A("input",f),V=(0,T.ri)(I,M).compactSize||p||L,D=l.useRef(null),z=function(e){var t;document.activeElement===(null===(t=D.current)||void 0===t?void 0:t.input)&&e.preventDefault()},U=function(e){var t,n;x&&x(null===(n=null===(t=D.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},B="boolean"==typeof v?l.createElement(k.Z,null):null,H="".concat(I,"-button"),W=v||{},q=W.type&&!0===W.type.__ANT_BUTTON;i=q||"button"===W.type?(0,P.Tm)(W,(0,r.Z)({onMouseDown:z,onClick:function(e){var t,n;null===(n=null===(t=null==W?void 0:W.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),U(e)},key:"enterButton"},q?{className:H,size:V}:{})):l.createElement(N.Z,{className:H,type:v?"primary":void 0,size:V,disabled:b,key:"enterButton",onMouseDown:z,onClick:U,loading:y,icon:B},v),g&&(i=[i,(0,P.Tm)(g,{key:"addonAfter"})]);var $=a()(I,(n={},(0,o.Z)(n,"".concat(I,"-rtl"),"rtl"===M),(0,o.Z)(n,"".concat(I,"-").concat(V),!!V),(0,o.Z)(n,"".concat(I,"-with-button"),!!v),n),d);return l.createElement(u.ZP,(0,r.Z)({ref:(0,w.sQ)(D,t),onPressEnter:function(e){F.current||y||U(e)}},S,{size:V,onCompositionStart:function(e){F.current=!0,null==C||C(e)},onCompositionEnd:function(e){F.current=!1,null==Z||Z(e)},prefixCls:j,addonAfter:i,suffix:h,onChange:function(e){e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),E&&E(e)},className:$,disabled:b}))}),A=n(80173),M=u.ZP;M.Group=function(e){var t,n=(0,l.useContext)(s.E_),i=n.getPrefixCls,u=n.direction,f=e.prefixCls,d=e.className,p=i("input-group",f),h=a()(p,(t={},(0,o.Z)(t,"".concat(p,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(p,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(p,"-compact"),e.compact),(0,o.Z)(t,"".concat(p,"-rtl"),"rtl"===u),t),void 0===d?"":d),m=(0,l.useContext)(c.aM),v=(0,l.useMemo)(function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})},[m]);return l.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(c.aM.Provider,{value:v},e.children))},M.Search=O,M.TextArea=A.Z,M.Password=S;var L=M},7293:function(e,t,n){"use strict";n.d(t,{D:function(){return E},Z:function(){return Z}});var r,o=n(4942),i=n(87462),a=n(97685),l=n(1413),s=n(67294),c={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"},u=n(42135),f=function(e,t){return s.createElement(u.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:c}))};f.displayName="BarsOutlined";var d=s.forwardRef(f),p=n(6171),h=n(18073),m=n(94184),v=n.n(m),g=n(98423),y=n(53124),b=n(2897),w=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=s.createContext({}),C=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),Z=s.forwardRef(function(e,t){var n,r,l,c,u,f,m,Z,S,k,N,_=e.prefixCls,T=e.className,P=e.trigger,R=e.children,O=e.defaultCollapsed,A=e.theme,M=e.style,L=e.collapsible,F=void 0!==L&&L,I=e.reverseArrow,j=void 0!==I&&I,V=e.width,D=e.collapsedWidth,z=void 0===D?80:D,U=e.zeroWidthTriggerStyle,B=e.breakpoint,H=e.onCollapse,W=e.onBreakpoint,q=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),$=(0,s.useContext)(b.Gs).siderHook,K=(0,s.useState)("collapsed"in q?q.collapsed:void 0!==O&&O),G=(0,a.Z)(K,2),Y=G[0],X=G[1],Q=(0,s.useState)(!1),J=(0,a.Z)(Q,2),ee=J[0],et=J[1];(0,s.useEffect)(function(){"collapsed"in q&&X(q.collapsed)},[q.collapsed]);var en=function(e,t){"collapsed"in q||X(e),null==H||H(e,t)},er=(0,s.useRef)();er.current=function(e){et(e.matches),null==W||W(e.matches),Y!==e.matches&&en(e.matches,"responsive")},(0,s.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&B&&B in x){t=n("(max-width: ".concat(x[B],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[B]),(0,s.useEffect)(function(){var e=C("ant-sider-");return $.addSider(e),function(){return $.removeSider(e)}},[]);var eo=function(){en(!Y,"clickTrigger")},ei=(0,s.useContext)(y.E_).getPrefixCls,ea=s.useMemo(function(){return{siderCollapsed:Y}},[Y]);return s.createElement(E.Provider,{value:ea},(r=ei("layout-sider",_),l=(0,g.Z)(q,["collapsed"]),f=!isNaN(parseFloat(u=c=Y?z:void 0===V?200:V))&&isFinite(u)?"".concat(c,"px"):String(c),m=0===parseFloat(String(z||0))?s.createElement("span",{onClick:eo,className:v()("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(j?"right":"left")),style:U},P||s.createElement(d,null)):null,Z=({expanded:j?s.createElement(h.Z,null):s.createElement(p.Z,null),collapsed:j?s.createElement(p.Z,null):s.createElement(h.Z,null)})[Y?"collapsed":"expanded"],S=null!==P?m||s.createElement("div",{className:"".concat(r,"-trigger"),onClick:eo,style:{width:f}},P||Z):null,k=(0,i.Z)((0,i.Z)({},void 0===M?{}:M),{flex:"0 0 ".concat(f),maxWidth:f,minWidth:f,width:f}),N=v()(r,"".concat(r,"-").concat(void 0===A?"dark":A),(n={},(0,o.Z)(n,"".concat(r,"-collapsed"),!!Y),(0,o.Z)(n,"".concat(r,"-has-trigger"),F&&null!==P&&!m),(0,o.Z)(n,"".concat(r,"-below"),!!ee),(0,o.Z)(n,"".concat(r,"-zero-width"),0===parseFloat(f)),n),T),s.createElement("aside",(0,i.Z)({className:N},l,{style:k,ref:t}),s.createElement("div",{className:"".concat(r,"-children")},R),F||ee&&m?S:null)))})},97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},2897:function(e,t,n){"use strict";n.d(t,{$_:function(){return y},Gs:function(){return d},VY:function(){return b},h4:function(){return g}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),l=n(94184),s=n.n(l),c=n(67294),u=n(53124),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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=c.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return c.forwardRef(function(r,o){var i=(0,c.useContext(u.E_).getPrefixCls)(t,r.prefixCls);return c.createElement(e,(0,a.Z)({ref:o,prefixCls:i,tagName:n},r))})}}var h=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,l=f(e,["prefixCls","className","children","tagName"]),u=s()(n,r);return c.createElement(i,(0,a.Z)((0,a.Z)({className:u},l),{ref:t}),o)}),m=c.forwardRef(function(e,t){var n,l=c.useContext(u.E_).direction,p=c.useState([]),h=(0,i.Z)(p,2),m=h[0],v=h[1],g=e.prefixCls,y=e.className,b=e.children,w=e.hasSider,x=e.tagName,E=f(e,["prefixCls","className","children","hasSider","tagName"]),C=s()(g,(n={},(0,o.Z)(n,"".concat(g,"-has-sider"),"boolean"==typeof w?w:m.length>0),(0,o.Z)(n,"".concat(g,"-rtl"),"rtl"===l),n),y),Z=c.useMemo(function(){return{siderHook:{addSider:function(e){v(function(t){return[].concat((0,r.Z)(t),[e])})},removeSider:function(e){v(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return c.createElement(d.Provider,{value:Z},c.createElement(x,(0,a.Z)({ref:t,className:C},E),b))}),v=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(m),g=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(h),y=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(h),b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(h);t.ZP=v},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},E:function(){return s}});var r=n(87462),o=n(67294),i=n(67178),a=n(7734).Z,l=function(e){var t=e.componentName,n=void 0===t?"global":t,l=e.defaultLocale,s=e.children,c=o.useContext(i.Z);return s(o.useMemo(function(){var e,t=l||a[n],o=null!==(e=null==c?void 0:c[n])&&void 0!==e?e:{};return(0,r.Z)((0,r.Z)({},t instanceof Function?t():t),o||{})},[n,l,c]),o.useMemo(function(){var e=c&&c.locale;return c&&c.exist&&!e?a.locale:e},[c]),c)},s=function(e,t){var n=o.useContext(i.Z);return[o.useMemo(function(){var o,i=t||a[e],l=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:{};return(0,r.Z)((0,r.Z)({},"function"==typeof i?i():i),l||{})},[e,t,n])]}},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},7734:function(e,t,n){"use strict";var r=n(62906),o=n(74228),i=n(87206),a=n(42115),l="${label} is not a valid ${type}",s={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:a.Z,Calendar:o.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.Z=s},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(87462),o=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=o.createContext(null),l=function(e){var t=e.children,n=i(e,["children"]),l=o.useContext(a),s=o.useMemo(function(){return(0,r.Z)((0,r.Z)({},l),n)},[l,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:s},t)};t.Z=a},66516:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(15671),o=n(43144),i=n(60136),a=n(33643),l=n(87462),s=n(89705),c=n(94184),u=n.n(c),f=n(97868),d=n(66680),p=n(98423),h=n(67294),m=n(53124),v=n(7293),g=n(33603),y=n(96159),b=n(71002),w=n(4942),x=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=x(e,["prefixCls","className","dashed"]),i=(0,h.useContext(m.E_).getPrefixCls)("menu",t),a=u()((0,w.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return h.createElement(f.iz,(0,l.Z)({className:a},o))},C=n(50344),Z=n(94199),S=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},N=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,s=i.firstLevel,c=i.inlineCollapsed,d=i.direction,p=i.disableMenuItemTitleTooltip,m=e.props,v=m.className,g=m.children,b=e.props,x=b.title,E=b.icon,S=b.danger,N=k(b,["title","icon","danger"]),_=x;void 0===x?_=s?g:"":!1===x&&(_="");var T={title:_};o||c||(T.title=null,T.open=!1);var P=(0,C.Z)(g).length,R=h.createElement(f.ck,(0,l.Z)({},N,{className:u()((n={},(0,w.Z)(n,"".concat(a,"-item-danger"),S),(0,w.Z)(n,"".concat(a,"-item-only-child"),(E?P+1:P)===1),n),v),title:"string"==typeof x?x:void 0}),(0,y.Tm)(E,{className:u()((0,y.l$)(E)?null===(r=E.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(c));return p||(R=h.createElement(Z.Z,(0,l.Z)({},T,{placement:"rtl"===d?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),R)),R},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,l=h.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,y.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"==typeof a?h.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):l}},{key:"render",value:function(){return h.createElement(v.D.Consumer,null,this.renderItem)}}]),n}(h.Component);N.contextType=S;var _=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,s=h.useContext(S),c=s.prefixCls,d=s.inlineCollapsed,m=s.antdMenuTheme,v=(0,f.Xl)();if(o){var g=(0,y.l$)(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,y.Tm)(o,{className:u()((0,y.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(c,"-item-icon"))}),g?i:h.createElement("span",{className:"".concat(c,"-title-content")},i))}else n=d&&!v.length&&i&&"string"==typeof i?h.createElement("div",{className:"".concat(c,"-inline-collapsed-noicon")},i.charAt(0)):h.createElement("span",{className:"".concat(c,"-title-content")},i);var b=h.useMemo(function(){return(0,l.Z)((0,l.Z)({},s),{firstLevel:!1})},[s]);return h.createElement(S.Provider,{value:b},h.createElement(f.Wd,(0,l.Z)({},(0,p.Z)(e,["icon"]),{title:n,popupClassName:u()(c,"".concat(c,"-").concat(a||m),r)})))},T=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},P=n(76529),R=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O=(0,h.forwardRef)(function(e,t){var n,r,o=h.useContext(P.Z)||{},i=h.useContext(m.E_),a=i.getPrefixCls,c=i.getPopupContainer,v=i.direction,w=a(),x=e.prefixCls,C=e.className,Z=e.theme,k=void 0===Z?"light":Z,O=e.expandIcon,A=e._internalDisableMenuItemTitleTooltip,M=e.inlineCollapsed,L=e.siderCollapsed,F=e.items,I=e.children,j=e.mode,V=e.selectable,D=e.onClick,z=R(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),U=(0,p.Z)(z,["collapsedWidth"]),B=h.useMemo(function(){return F?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,b.Z)(t)){var r=t.label,o=t.children,i=t.key,a=t.type,s=T(t,["label","children","key","type"]),c=null!=i?i:"tmp-".concat(n);return o||"group"===a?"group"===a?h.createElement(f.BW,(0,l.Z)({key:c},s,{title:r}),e(o)):h.createElement(_,(0,l.Z)({key:c},s,{title:r}),e(o)):"divider"===a?h.createElement(E,(0,l.Z)({key:c},s)):h.createElement(N,(0,l.Z)({key:c},s),r)}return null}).filter(function(e){return e})}(F):F},[F])||I;null===(n=o.validator)||void 0===n||n.call(o,{mode:j});var H=(0,d.Z)(function(){var e;null==D||D.apply(void 0,arguments),null===(e=null==o?void 0:o.onClick)||void 0===e||e.call(o)}),W=o.mode||j,q=null!=V?V:o.selectable,$=h.useMemo(function(){return void 0!==L?L:M},[M,L]),K={horizontal:{motionName:"".concat(w,"-slide-up")},inline:g.ZP,other:{motionName:"".concat(w,"-zoom-big")}},G=a("menu",x||o.prefixCls),Y=u()("".concat(G,"-").concat(k),C);r="function"==typeof O?O:(0,y.Tm)(O||o.expandIcon,{className:"".concat(G,"-submenu-expand-icon")});var X=h.useMemo(function(){return{prefixCls:G,inlineCollapsed:$||!1,antdMenuTheme:k,direction:v,firstLevel:!0,disableMenuItemTitleTooltip:A}},[G,$,k,v,A]);return h.createElement(P.Z.Provider,{value:null},h.createElement(S.Provider,{value:X},h.createElement(f.ZP,(0,l.Z)({getPopupContainer:c,overflowedIndicator:h.createElement(s.Z,null),overflowedIndicatorPopupClassName:"".concat(G,"-").concat(k),mode:W,selectable:q,onClick:H},U,{inlineCollapsed:$,className:Y,prefixCls:G,direction:v,defaultMotions:K,expandIcon:r,ref:t}),B)))}),A=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(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.Z)(n,[{key:"render",value:function(){var e=this;return h.createElement(v.D.Consumer,null,function(t){return h.createElement(O,(0,l.Z)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(h.Component);A.Divider=E,A.Item=N,A.SubMenu=_,A.ItemGroup=f.BW;var M=A},12461:function(e,t,n){"use strict";n.d(t,{Df:function(){return M},ZP:function(){return L},S$:function(){return _},z$:function(){return R}});var r,o,i,a,l=n(87462),s=n(4942),c=n(89739),u=n(4340),f=n(21640),d=n(78860),p=n(50888),h=n(94184),m=n.n(h),v=n(91127),g=n(67294),y=n(76519),b=n(97685),w=n(51550),x=n(53124),E=3,C=1,Z="",S="move-up",k=!1,N=!1;function _(){return C++}function T(e,t){var n=e.prefixCls,l=e.getPopupContainer,s=(0,y.w6)(),c=s.getPrefixCls,u=s.getRootPrefixCls,f=s.getIconPrefixCls,d=c("message",n||Z),p=u(e.rootPrefixCls,d),h=f();if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}var m={prefixCls:d,transitionName:k?S:"".concat(p,"-").concat(S),style:{top:o},getContainer:i||l,maxCount:a};v.default.newInstance(m,function(e){if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}r=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:e})})}var P={info:d.Z,success:c.Z,error:u.Z,warning:f.Z,loading:p.Z},R=Object.keys(P);function O(e,t,n){var r,o=void 0!==e.duration?e.duration:E,i=P[e.type],a=m()("".concat(t,"-custom-content"),(r={},(0,s.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,s.Z)(r,"".concat(t,"-rtl"),!0===N),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(y.ZP,{iconPrefixCls:n},g.createElement("div",{className:a},e.icon||i&&g.createElement(i,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var A={open:function(e){var t=e.key||_(),n=new Promise(function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};T(e,function(n){var o=n.prefixCls,i=n.iconPrefixCls;n.instance.notice(O((0,l.Z)((0,l.Z)({},e),{key:t,onClose:r}),o,i))})}),o=function(){r&&r.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(o=e.top,r=null),void 0!==e.duration&&(E=e.duration),void 0!==e.prefixCls&&(Z=e.prefixCls),void 0!==e.getContainer&&(i=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,k=!0),void 0!==e.maxCount&&(a=e.maxCount,r=null),void 0!==e.rtl&&(N=e.rtl)},destroy:function(e){r&&(e?(0,r.removeNotice)(e):((0,r.destroy)(),r=null))}};function M(e,t){e[t]=function(n,r,o){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,l.Z)((0,l.Z)({},n),{type:t})):("function"==typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}R.forEach(function(e){return M(A,e)}),A.warn=A.warning,A.useMessage=function(){var e,t,n=null,r=(0,w.Z)({add:function(e,t){null==n||n.component.add(e,t)}}),o=(0,b.Z)(r,2),i=o[0],a=o[1],s=g.useRef({});return s.current.open=function(r){var o=e("message",r.prefixCls),a=e(),s=r.key||_(),c=new Promise(function(e){var c=function(){return"function"==typeof r.onClose&&r.onClose(),e(!0)};T((0,l.Z)((0,l.Z)({},r),{prefixCls:o,rootPrefixCls:a,getPopupContainer:t}),function(e){var t=e.prefixCls;n=e.instance,i(O((0,l.Z)((0,l.Z)({},r),{key:s,onClose:c}),t))})}),u=function(){n&&n.removeNotice(s)};return u.then=function(e,t){return c.then(e,t)},u.promise=c,u},R.forEach(function(e){return M(s.current,e)}),[s.current,g.createElement(x.C,{key:"holder"},function(n){return e=n.getPrefixCls,t=n.getPopupContainer,a})]};var L=A},85402:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r,o=n(74902),i=n(87462),a=n(8751),l=n(18429),s=n(11475),c=n(45605),u=n(38135),f=n(67294),d=n(76519),p=n(4942),h=n(94184),m=n.n(h),v=n(86743),g=n(33603),y=n(97937),b=n(38425),w=n(71577),x=n(6134),E=n(53124),C=n(65223),Z=n(23715),S=n(31808),k=n(83008),N=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,S.jD)()&&document.documentElement.addEventListener("click",function(e){r={x:e.pageX,y:e.pageY},setTimeout(function(){r=null},100)},!0);var _=function(e){var t,n,o=f.useContext(E.E_),a=o.getPopupContainer,l=o.getPrefixCls,s=o.direction,c=function(t){var n=e.onCancel;null==n||n(t)},u=function(t){var n=e.onOk;null==n||n(t)},d=e.prefixCls,h=e.footer,v=e.visible,S=e.open,_=e.wrapClassName,T=e.centered,P=e.getContainer,R=e.closeIcon,O=e.focusTriggerAfterClose,A=e.width,M=N(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),L=l("modal",d),F=l(),I=f.createElement(Z.Z,{componentName:"Modal",defaultLocale:(0,k.A)()},function(t){var n=e.okText,r=e.okType,o=e.cancelText,a=e.confirmLoading;return f.createElement(f.Fragment,null,f.createElement(w.Z,(0,i.Z)({onClick:c},e.cancelButtonProps),o||t.cancelText),f.createElement(w.Z,(0,i.Z)({},(0,x.n)(void 0===r?"primary":r),{loading:void 0!==a&&a,onClick:u},e.okButtonProps),null!=n?n:t.okText))}),j=f.createElement("span",{className:"".concat(L,"-close-x")},R||f.createElement(y.Z,{className:"".concat(L,"-close-icon")})),V=m()(_,(t={},(0,p.Z)(t,"".concat(L,"-centered"),!!T),(0,p.Z)(t,"".concat(L,"-wrap-rtl"),"rtl"===s),t));return f.createElement(C.Ux,{status:!0,override:!0},f.createElement(b.Z,(0,i.Z)({width:void 0===A?520:A},M,{getContainer:void 0===P?a:P,prefixCls:L,wrapClassName:V,footer:void 0===h?I:h,visible:void 0!==S&&S||v,mousePosition:null!==(n=M.mousePosition)&&void 0!==n?n:r,onClose:c,closeIcon:j,focusTriggerAfterClose:void 0===O||O,transitionName:(0,g.mL)(F,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(F,"fade",e.maskTransitionName)})))},T=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,a=e.afterClose,l=e.visible,s=e.open,c=e.keyboard,u=e.centered,h=e.getContainer,y=e.maskStyle,b=e.okText,w=e.okButtonProps,x=e.cancelText,E=e.cancelButtonProps,C=e.direction,Z=e.prefixCls,S=e.wrapClassName,k=e.rootPrefixCls,N=e.iconPrefixCls,T=e.bodyStyle,P=e.closable,R=e.closeIcon,O=e.modalRender,A=e.focusTriggerAfterClose,M=e.okType||"primary",L="".concat(Z,"-confirm"),F=!("okCancel"in e)||e.okCancel,I=e.width||416,j=e.style||{},V=void 0===e.mask||e.mask,D=void 0!==e.maskClosable&&e.maskClosable,z=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),U=m()(L,"".concat(L,"-").concat(e.type),(0,p.Z)({},"".concat(L,"-rtl"),"rtl"===C),e.className),B=F&&f.createElement(v.Z,{actionFn:n,close:o,autoFocus:"cancel"===z,buttonProps:E,prefixCls:"".concat(k,"-btn")},x);return f.createElement(d.ZP,{prefixCls:k,iconPrefixCls:N,direction:C},f.createElement(_,{prefixCls:Z,className:U,wrapClassName:m()((0,p.Z)({},"".concat(L,"-centered"),!!e.centered),S),onCancel:function(){return null==o?void 0:o({triggerCancel:!0})},open:s||l,title:"",footer:"",transitionName:(0,g.mL)(k,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(k,"fade",e.maskTransitionName),mask:V,maskClosable:D,maskStyle:y,style:j,bodyStyle:T,width:I,zIndex:i,afterClose:a,keyboard:c,centered:u,getContainer:h,closable:void 0!==P&&P,closeIcon:R,modalRender:O,focusTriggerAfterClose:A},f.createElement("div",{className:"".concat(L,"-body-wrapper")},f.createElement("div",{className:"".concat(L,"-body")},t,void 0===e.title?null:f.createElement("span",{className:"".concat(L,"-title")},e.title),f.createElement("div",{className:"".concat(L,"-content")},e.content)),f.createElement("div",{className:"".concat(L,"-btns")},B,f.createElement(v.Z,{type:M,actionFn:r,close:o,autoFocus:"ok"===z,buttonProps:w,prefixCls:"".concat(k,"-btn")},b)))))},P=[],R=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O="";function A(e){var t,n=document.createDocumentFragment(),r=(0,i.Z)((0,i.Z)({},e),{close:s,open:!0});function a(){for(var t=arguments.length,r=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:C,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}(o,a,s),getContainer:u,maxCount:i},function(n){e(n),t({prefixCls:"".concat(y,"-notice"),iconPrefixCls:b,instance:n})})})}var T={success:s.Z,info:d.Z,error:c.Z,warning:f.Z};function P(e,t,n){var r=e.duration,i=e.icon,a=e.type,s=e.description,c=e.message,f=e.btn,d=e.onClose,p=e.onClick,m=e.key,y=e.style,b=e.className,w=e.closeIcon,x=e.props,C=void 0===r?E:r,Z=null;i?Z=v.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(Z=v.createElement(T[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var S=v.createElement("span",{className:"".concat(t,"-close-x")},(void 0===w?o:w)||v.createElement(u.Z,{className:"".concat(t,"-close-icon")})),k=!s&&Z?v.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:v.createElement(g.ZP,{iconPrefixCls:n},v.createElement("div",{className:Z?"".concat(t,"-with-icon"):"",role:"alert"},Z,v.createElement("div",{className:"".concat(t,"-message")},k,c),v.createElement("div",{className:"".concat(t,"-description")},s),f?v.createElement("span",{className:"".concat(t,"-btn")},f):null)),duration:C,closable:!0,closeIcon:S,onClose:d,onClick:p,key:m,style:y||{},className:h()(b,(0,l.Z)({},"".concat(t,"-").concat(a),!!a)),props:x}}var R={open:function(e){_(e,function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(P(e,n,r))})},close:function(e){Object.keys(x).forEach(function(t){return Promise.resolve(x[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,a=e.bottom,l=e.top,s=e.getContainer,c=e.closeIcon,u=e.prefixCls;void 0!==u&&(S=u),void 0!==t&&(E=t),void 0!==n?k=n:e.rtl&&(k="topLeft"),void 0!==a&&(Z=a),void 0!==l&&(C=l),void 0!==s&&(r=s),void 0!==c&&(o=c),void 0!==e.rtl&&(N=e.rtl),void 0!==e.maxCount&&(i=e.maxCount)},destroy:function(){Object.keys(x).forEach(function(e){Promise.resolve(x[e]).then(function(e){e.destroy()}),delete x[e]})}};["success","info","warning","error"].forEach(function(e){R[e]=function(t){return R.open((0,a.Z)((0,a.Z)({},t),{type:e}))}}),R.warn=R.warning,R.useNotification=function(){var e,t=null,n=(0,b.Z)({add:function(e,n){null==t||t.component.add(e,n)}}),r=(0,y.Z)(n,2),o=r[0],i=r[1],l=v.useRef({});return l.current.open=function(n){var r=e("notification",n.prefixCls);_((0,a.Z)((0,a.Z)({},n),{prefixCls:r}),function(e){var r=e.prefixCls;t=e.instance,o(P(n,r))})},["success","info","warning","error"].forEach(function(e){l.current[e]=function(t){return l.current.open((0,a.Z)((0,a.Z)({},t),{type:e}))}}),[l.current,v.createElement(w.C,{key:"holder"},function(t){return e=t.getPrefixCls,i})]};var O=R},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return d}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(50344),s=n(67294),c=n(53124),u=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=s.createContext(null),d=function(e,t){var n=s.useContext(f),r=s.useMemo(function(){if(!n)return"";var r,i=n.compactDirection,l=n.isFirstItem,s=n.isLastItem,c="vertical"===i?"-vertical-":"-";return a()((r={},(0,o.Z)(r,"".concat(e,"-compact").concat(c,"item"),!0),(0,o.Z)(r,"".concat(e,"-compact").concat(c,"first-item"),l),(0,o.Z)(r,"".concat(e,"-compact").concat(c,"last-item"),s),(0,o.Z)(r,"".concat(e,"-compact").concat(c,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=function(e){var t=e.children;return s.createElement(f.Provider,{value:null},t)},h=function(e){var t=e.children,n=u(e,["children"]);return s.createElement(f.Provider,{value:n},t)};t.ZP=function(e){var t,n=s.useContext(c.E_),i=n.getPrefixCls,d=n.direction,p=e.size,m=void 0===p?"middle":p,v=e.direction,g=e.block,y=e.prefixCls,b=e.className,w=e.children,x=u(e,["size","direction","block","prefixCls","className","children"]),E=i("space-compact",y),C=a()(E,(t={},(0,o.Z)(t,"".concat(E,"-rtl"),"rtl"===d),(0,o.Z)(t,"".concat(E,"-block"),g),(0,o.Z)(t,"".concat(E,"-vertical"),"vertical"===v),t),b),Z=s.useContext(f),S=(0,l.Z)(w),k=s.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(E,"-item-").concat(t);return s.createElement(h,{key:n,compactSize:m,compactDirection:v,isFirstItem:0===t&&(!Z||(null==Z?void 0:Z.isFirstItem)),isLastItem:t===S.length-1&&(!Z||(null==Z?void 0:Z.isLastItem))},e)})},[m,S,Z]);return 0===S.length?null:s.createElement("div",(0,r.Z)({className:C},x),k)}},26713:function(e,t,n){"use strict";n.d(t,{u:function(){return m},Z:function(){return y}});var r=n(87462),o=n(4942),i=n(97685),a=n(94184),l=n.n(a),s=n(50344),c=n(67294),u=n(53124),f=n(98082);function d(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,l=e.children,s=e.split,u=e.wrap,f=c.useContext(m),d=f.horizontalSize,p=f.verticalSize,h=f.latestIndex,v=f.supportFlexGap,g={};return(!v&&("vertical"===n?it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=c.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),v={small:8,middle:16,large:24},g=function(e){var t,n=c.useContext(u.E_),a=n.getPrefixCls,p=n.space,g=n.direction,y=e.size,b=void 0===y?(null==p?void 0:p.size)||"small":y,w=e.align,x=e.className,E=e.children,C=e.direction,Z=void 0===C?"horizontal":C,S=e.prefixCls,k=e.split,N=e.style,_=e.wrap,T=void 0!==_&&_,P=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),R=(0,f.Z)(),O=c.useMemo(function(){return(Array.isArray(b)?b:[b,b]).map(function(e){return"string"==typeof e?v[e]:e||0})},[b]),A=(0,i.Z)(O,2),M=A[0],L=A[1],F=(0,s.Z)(E,{keepEmpty:!0}),I=void 0===w&&"horizontal"===Z?"center":w,j=a("space",S),V=l()(j,"".concat(j,"-").concat(Z),(t={},(0,o.Z)(t,"".concat(j,"-rtl"),"rtl"===g),(0,o.Z)(t,"".concat(j,"-align-").concat(I),I),t),x),D="".concat(j,"-item"),z="rtl"===g?"marginLeft":"marginRight",U=0,B=F.map(function(e,t){null!=e&&(U=t);var n=e&&e.key||"".concat(D,"-").concat(t);return c.createElement(d,{className:D,key:n,direction:Z,index:t,marginDirection:z,split:k,wrap:T},e)}),H=c.useMemo(function(){return{horizontalSize:M,verticalSize:L,latestIndex:U,supportFlexGap:R}},[M,L,U,R]);if(0===F.length)return null;var W={};return T&&(W.flexWrap="wrap",R||(W.marginBottom=-L)),R&&(W.columnGap=M,W.rowGap=L),c.createElement("div",(0,r.Z)({className:V,style:(0,r.Z)((0,r.Z)({},W),N)},P),c.createElement(m.Provider,{value:H},B))};g.Compact=p.ZP;var y=g},42115:function(e,t){"use strict";t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},94199:function(e,t,n){"use strict";var r=n(4942),o=n(97685),i=n(87462),a=n(94184),l=n.n(a),s=n(43763),c=n(21770),u=n(67294),f=n(53124),d=n(98787),p=n(33603),h=n(80636),m=n(96159),v=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 o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g=function(e,t){var n={},r=(0,i.Z)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},y=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),b=u.forwardRef(function(e,t){var n,a,d,b=u.useContext(f.E_),w=b.getPopupContainer,x=b.getPrefixCls,E=b.direction,C=(0,c.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),Z=(0,o.Z)(C,2),S=Z[0],k=Z[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},_=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,h.Z)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},T=e.getPopupContainer,P=e.placement,R=e.mouseEnterDelay,O=e.mouseLeaveDelay,A=v(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),M=e.prefixCls,L=e.openClassName,F=e.getTooltipContainer,I=e.overlayClassName,j=e.color,V=e.overlayInnerStyle,D=e.children,z=x("tooltip",M),U=x(),B=S;!("open"in e)&&!("visible"in e)&&N()&&(B=!1);var H=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=g(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,s=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),c=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),f=(0,m.Tm)(e,{style:c,className:null});return u.createElement("span",{style:s,className:l()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},f)}return e}((0,m.l$)(D)&&!(0,m.M2)(D)?D:u.createElement("span",null,D),z),W=H.props,q=W.className&&"string"!=typeof W.className?W.className:l()(W.className,(0,r.Z)({},L||"".concat(z,"-open"),!0)),$=l()(I,(d={},(0,r.Z)(d,"".concat(z,"-rtl"),"rtl"===E),(0,r.Z)(d,"".concat(z,"-").concat(j),j&&y.test(j)),d)),K=V,G={};return j&&!y.test(j)&&(K=(0,i.Z)((0,i.Z)({},V),{background:j}),G={"--antd-arrow-background-color":j}),u.createElement(s.default,(0,i.Z)({},A,{placement:void 0===P?"top":P,mouseEnterDelay:void 0===R?.1:R,mouseLeaveDelay:void 0===O?.1:O,prefixCls:z,overlayClassName:$,getTooltipContainer:T||F||w,ref:t,builtinPlacements:_(),overlay:(n=e.title,a=e.overlay,0===n?n:a||n||""),visible:B,onVisibleChange:function(t){var n,r;k(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=_(),r=Object.keys(n).find(function(e){var r,o;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(o=t.points)||void 0===o?void 0:o[1])});if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};/top|Bottom/.test(r)?i.top="".concat(o.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(i.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?i.left="".concat(o.width-t.offset[0],"px"):/right|Left/.test(r)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:K,arrowContent:u.createElement("span",{className:"".concat(z,"-arrow-content"),style:G}),motion:{motionName:(0,p.mL)(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),B?(0,m.Tm)(H,{className:q}):H)});t.Z=b},94184:function(e,t){var n;/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59910),o=n(13882),i=n(93645);function a(e,t,n){(0,o.Z)(2,arguments);var a=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(a)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13882);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===o(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(56409)}])},73615:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o);let a=e=>{let{status:t}=e,{type:n,icon:o,message:a}=t||{},l=i()({"status-container":!0,["status-".concat(n)]:n,empty:!a});return(0,r.jsxs)("span",{className:l,children:[o?(0,r.jsx)("span",{className:"status-icon",children:o}):null,a?(0,r.jsx)("span",{className:"status-message",children:a}):null]})};t.Z=a},79139:function(e,t,n){"use strict";n.d(t,{A8:function(){return u},Kx:function(){return c},Sk:function(){return d},mG:function(){return f},nv:function(){return h},xA:function(){return p}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o),a=n(79531),l=n(79915),s=n(73615);let c="default",u="password",f="numeric",d="textarea",p="url",h=e=>{let{className:t,disabled:n,fieldName:o,label:c,maxLength:h,onBlur:m,onChange:v,onPressEnter:g,pattern:y,placeholder:b,required:w,status:x,tip:E,type:C,useTrim:Z,value:S}=e,k=e=>{if(v){let t=C===f?e:e.target.value;v({fieldName:o,value:Z?t.trim():t})}},N=e=>{let t=e.target.value;m&&m({value:t})},_=()=>{g&&g()},T=a.Z,P={};C===d?(T=a.Z.TextArea,P={autoSize:!0}):C===u?(T=a.Z.Password,P={visibilityToggle:!0}):C===f?(T=l.Z,P={type:"number",min:1,max:10**h-1}):C===p&&(P={type:"url",pattern:y});let R="field-".concat(o),{type:O}=x||{},A=i()({"formfield-container":!0,"textfield-container":!0,["type-".concat(C)]:!0,required:w,["status-".concat(O)]:x});return(0,r.jsxs)("div",{className:A,children:[c?(0,r.jsx)("div",{className:"label-side",children:(0,r.jsx)("label",{htmlFor:R,className:"formfield-label",children:c})}):null,(0,r.jsxs)("div",{className:"input-side",children:[(0,r.jsx)("div",{className:"input-group",children:(0,r.jsx)(T,{id:R,className:"field ".concat(t," ").concat(R),...P,...C!==f&&{allowClear:!0},placeholder:b,maxLength:h,onChange:k,onBlur:N,onPressEnter:_,disabled:n,value:S})}),(0,r.jsx)(s.E,{status:x}),(0,r.jsx)("p",{className:"field-tip",children:E})]})]})};h.defaultProps={className:"",disabled:!1,label:"",maxLength:255,placeholder:"",required:!1,status:null,tip:"",type:c,value:"",pattern:"",useTrim:!1,useTrimLead:!1,onSubmit:()=>{},onBlur:()=>{},onChange:()=>{},onPressEnter:()=>{}}},46551:function(e,t,n){"use strict";n.d(t,{$7:function(){return v},Kx:function(){return p},Sk:function(){return h},xA:function(){return m}});var r=n(85893),o=n(71577),i=n(94184),a=n.n(i),l=n(67294),s=n(90745),c=n(41983),u=n(99519),f=n(73615),d=n(79139);let p="default",h="textarea",m="url",v=e=>{let{apiPath:t,configPath:n="",initialValue:i,useTrim:p,useTrimLead:h,...m}=e,[v,g]=(0,l.useState)(null),[y,b]=(0,l.useState)(!1),w=(0,l.useContext)(u.aC),{setFieldInConfigState:x}=w||{},E=null,{fieldName:C,required:Z,tip:S,status:k,value:N,onChange:_,onSubmit:T}=m,P=()=>{g(null),b(!1),clearTimeout(E),E=null};(0,l.useEffect)(()=>{Z&&(""===N||null===N)||N===i?b(!1):(P(),b(!0))},[N]);let R=e=>{let{fieldName:t,value:n}=e;if(_){let r=n;p?r=n.trim():h&&(r=n.replace(/^\s+/g,"")),_({fieldName:t,value:r})}},O=e=>{let{value:t}=e;_&&Z&&""===t&&_({fieldName:C,value:i})},A=async()=>{(Z&&""!==N||N!==i)&&(g((0,c.kg)(c.Jk)),await (0,s.Si)({apiPath:t,data:{value:N},onSuccess:()=>{x({fieldName:C,value:N,path:n}),g((0,c.kg)(c.zv))},onError:e=>{g((0,c.kg)(c.Un,"There was an error: ".concat(e)))}}),E=setTimeout(P,s.sI),T&&T())},M=a()({"textfield-with-submit-container":!0,submittable:y});return(0,r.jsxs)("div",{className:M,children:[(0,r.jsx)("div",{className:"textfield-component",children:(0,r.jsx)(d.nv,{...m,onSubmit:null,onBlur:O,onChange:R})}),(0,r.jsxs)("div",{className:"formfield-container lower-container",children:[(0,r.jsx)("p",{className:"label-spacer"}),(0,r.jsxs)("div",{className:"lower-content",children:[(0,r.jsx)("div",{className:"field-tip",children:S}),(0,r.jsx)(f.E,{status:k||v}),(0,r.jsx)("div",{className:"update-button-container",children:(0,r.jsx)(o.Z,{type:"primary",size:"small",className:"submit-button",onClick:A,disabled:!y,children:"Update"})})]})]})]})};v.defaultProps={configPath:"",initialValue:""}},50738:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o),a=n(29403),l=n.n(a);let s=e=>{let{variant:t="simple"}=e,n=i()(l().root,{[l().simple]:"simple"===t,[l().contrast]:"contrast"===t});return(0,r.jsx)("div",{className:n,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,r.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,r.jsx)("g",{children:(0,r.jsxs)("g",{children:[(0,r.jsx)("g",{children:(0,r.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient120)",d:"M91.5 75.35Q93.05 71.15 91.65 67.7 90.35 64.5 86.65 62.3 83.2 60.3 78.3 59.4 73.85 58.6 68.6 58.7 63.55 58.85 58.8 59.8 54.25 60.75 50.8 62.2 47.4 63.65 45.5 65.35 43.6 67.15 43.5 69.05 43.35 71.3 45.8 73.9 48.05 76.3 52.1 78.6 56.15 80.9 61.05 82.55 66.3 84.3 71.4 84.8 74.7 85.1 77.55 84.9 80.65 84.6 83.3 83.6 86.15 82.5 88.15 80.55 90.4 78.4 91.5 75.35M70.6 67.5Q72.3 68.4 73.1 69.7 73.9 71.15 73.45 73 73.1 74.3 72.3 75.25 71.55 76.1 70.3 76.6 69.25 77.05 67.75 77.25 66.3 77.4 64.85 77.3 62.3 77.15 59.25 76.3 56.6 75.5 54.15 74.3 51.9 73.2 50.45 72 49.05 70.75 49.1 69.8 49.2 69 50.25 68.25 51.3 67.55 53.15 67 55 66.4 57.25 66.1 59.8 65.8 62.1 65.8 64.65 65.85 66.7 66.2 68.9 66.65 70.6 67.5Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient121)",d:"M66.6 15.05Q66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.75 18.45 32.7 23.4 31.7 28.05 31.35 32.85 31.05 37.2 31.3 41.2 31.6 45.15 32.4 48.35 34 54.9 37.3 56.4 37.6 56.55 37.9 56.65L39.2 56.85Q39.45 56.85 39.95 56.8 42.05 56.6 44.7 55.05 47.25 53.5 50.05 50.8 53.05 47.9 55.85 44.05 58.8 40.05 61.1 35.6 63.8 30.35 65.25 25.3 66.75 19.75 66.6 15.05M47.55 23.15Q48.05 23.25 48.4 23.4 52.45 24.8 52.55 29.85 52.6 34 50 39.4 47.85 43.9 44.85 47.3 42.05 50.5 40.15 50.7L39.9 50.75 39.45 50.7 39.2 50.6Q37.8 49.95 37.25 46.35 36.7 42.7 37.3 38 37.95 32.75 39.75 28.8 41.9 24.1 45.05 23.25 45.6 23.1 45.85 23.1 46.25 23.05 46.65 23.05 47.05 23.05 47.55 23.15Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient122)",d:"M2.7 33.6Q2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7 0 42.6 2.2 47.2 4 51 8 54.35 11.55 57.3 16 59.15 20.5 61 23.85 60.85 24.5 60.85 25.25 60.7 26 60.55 26.5 60.3 27 60.05 27.45 59.65 27.9 59.25 28.15 58.75 29.35 56.45 27.5 51.65 25.6 47 21.75 42.1 17.75 37 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6M10.1 43.55Q10.35 43.1 10.6 42.85 10.85 42.6 11.2 42.4 11.6 42.25 11.9 42.2 13.5 41.9 15.95 43.6 18.15 45.05 20.35 47.7 22.35 50.1 23.55 52.4 24.7 54.75 24.25 55.7 24.15 55.9 24 56 23.85 56.2 23.65 56.25 23.55 56.35 23.25 56.4L22.7 56.5Q21.1 56.6 18.55 55.6 16.05 54.6 13.85 52.95 11.5 51.2 10.35 49.15 9.05 46.8 9.75 44.45 9.9 43.95 10.1 43.55Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient123)",d:"M34.95 74.2L34.75 74.2Q33.2 74.15 31.9 75.25 30.7 76.3 29.85 78.25 29.1 80 28.8 82.2 28.5 84.4 28.7 86.65 29.1 91.4 31.5 94.7 34.3 98.5 39.3 99.7L39.4 99.7 39.7 99.8 39.85 99.8Q45.3 100.85 47.15 97.75 48 96.3 48 94.05 47.95 91.9 47.2 89.35 46.45 86.75 45.1 84.15 43.75 81.5 42.05 79.35 40.25 77.1 38.45 75.75 36.55 74.35 34.95 74.2M33.55 80.4Q34.35 78.2 35.6 78.3L35.65 78.3Q36.9 78.45 38.6 80.9 40.3 83.35 41.15 86.05 42.1 89 41.55 90.75 40.9 92.6 38.35 92.25L38.3 92.25 38.25 92.2 38.1 92.2Q35.6 91.7 34.25 89.6 33.1 87.7 32.95 85 32.8 82.35 33.55 80.4Z"})]}),(0,r.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,r.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient124)",d:"M22.7 69.65Q22.25 69.3 21.6 69.05 20.95 68.8 20.25 68.7 19.6 68.55 18.85 68.5 16.7 68.45 14.65 69.15 12.65 69.8 11.4 71.1 10.15 72.5 10.2 74.2 10.25 76.05 11.95 78.2 12.4 78.75 13.05 79.4 13.55 79.9 14.2 80.3 14.7 80.6 15.3 80.85 16 81.1 16.4 81.1 18.2 81.35 19.9 80.35 21.55 79.4 22.75 77.65 24 75.85 24.3 73.95 24.6 71.85 23.55 70.5 23.15 70 22.7 69.65M21.7 71.7Q22.15 72.3 21.9 73.3 21.7 74.25 21 75.25 20.3 76.2 19.4 76.75 18.45 77.35 17.55 77.25L17 77.15Q16.7 77.05 16.45 76.85 16.25 76.75 15.9 76.45 15.7 76.25 15.4 75.9 14.5 74.75 14.7 73.8 14.8 72.95 15.75 72.3 16.6 71.7 17.8 71.4 19 71.1 20.1 71.15L20.65 71.2 21.1 71.3Q21.3 71.4 21.45 71.5L21.7 71.7Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient125)",d:"M52.6 19.25Q59.6 19.25 66.2 20.95 66.7 17.8 66.6 15.05 66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.85 18.3 32.8 22.85 42.25 19.25 52.6 19.25Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient126)",d:"M1.05 37.7Q0 42.6 2.2 47.2 2.95 48.8 4.05 50.25 7.55 41.65 14.4 34.75 14 34.45 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6 2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7Z"})]})]})}),(0,r.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,r.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},10227:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(92648).Z,o=n(17273).Z,i=r(n(67294)),a=n(41003),l=n(67795),s=n(54465),c=n(72692),u=n(48245),f=n(69246),d=n(10227),p=n(33468);let h=new Set;function m(e,t,n,r){if(a.isLocalURL(t)){if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(h.has(i))return;h.add(i)}Promise.resolve(e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:l.formatUrl(e)}let g=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:h,children:g,prefetch:y,passHref:b,replace:w,shallow:x,scroll:E,locale:C,onClick:Z,onMouseEnter:S,onTouchStart:k,legacyBehavior:N=!1}=e,_=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,N&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let T=!1!==y,P=i.default.useContext(c.RouterContext),R=i.default.useContext(u.AppRouterContext),O=null!=P?P:R,A=!P,{href:M,as:L}=i.default.useMemo(()=>{if(!P){let e=v(l);return{href:e,as:h?v(h):e}}let[t,n]=a.resolveHref(P,l,!0);return{href:t,as:h?a.resolveHref(P,h):n||t}},[P,l,h]),F=i.default.useRef(M),I=i.default.useRef(L);N&&(r=i.default.Children.only(n));let j=N?r&&"object"==typeof r&&r.ref:t,[V,D,z]=f.useIntersection({rootMargin:"200px"}),U=i.default.useCallback(e=>{(I.current!==L||F.current!==M)&&(z(),I.current=L,F.current=M),V(e),j&&("function"==typeof j?j(e):"object"==typeof j&&(j.current=e))},[L,j,M,z,V]);i.default.useEffect(()=>{O&&D&&T&&m(O,M,L,{locale:C})},[L,M,D,C,T,null==P?void 0:P.locale,O]);let B={ref:U,onClick(e){N||"function"!=typeof Z||Z(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),O&&!e.defaultPrevented&&function(e,t,n,r,o,l,s,c,u,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!a.isLocalURL(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:c,scroll:s}):t[o?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};u?i.default.startTransition(h):h()}(e,O,M,L,w,x,E,C,A,T)},onMouseEnter(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),O&&(T||!A)&&m(O,M,L,{locale:C,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(e){N||"function"!=typeof k||k(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),O&&(T||!A)&&m(O,M,L,{locale:C,priority:!0,bypassPrefetchedCheck:!0})}};if(!N||b||"a"===r.type&&!("href"in r.props)){let H=void 0!==C?C:null==P?void 0:P.locale,W=(null==P?void 0:P.isLocaleDomain)&&d.getDomainLocale(L,H,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);B.href=W||p.addBasePath(s.addLocale(L,H,null==P?void 0:P.defaultLocale))}return N?i.default.cloneElement(r,B):i.default.createElement("a",Object.assign({},_,B),n)});t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:s}=e,c=s||!i,[u,f]=r.useState(!1),[d,p]=r.useState(null);r.useEffect(()=>{if(i){if(!c&&!u&&d&&d.tagName){let e=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let t=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);t>-1&&l.splice(t,1)}}}(d,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!u){let r=o.requestIdleCallback(()=>f(!0));return()=>o.cancelIdleCallback(r)}},[d,c,n,t,u]);let h=r.useCallback(()=>{f(!1)},[]);return[p,u,h]};var r=n(67294),o=n(44686);let i="function"==typeof IntersectionObserver,a=new Map,l=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{children:t}=e;return t},t.suspense=function(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e},(0,n(92648).Z)(n(67294));var r=n(92983)},37645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=a.default,o={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o=r({},o,e)),o=r({},o,t);let i=o.loader,l=()=>i().then(s);if(o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated,{loader:l})).loadableGenerated,"boolean"==typeof o.ssr){if(!o.ssr)return delete o.ssr,c(l,o);delete o.ssr}return n(o)},t.noSSR=c;var r=n(6495).Z,o=n(92648).Z,i=(0,n(91598).Z)(n(67294)),a=o(n(14588)),l=o(n(54564));function s(e){return{default:e.default||e}}function c(e,t){delete t.webpack,delete t.modules;let n=i.lazy(e),r=t.loading,o=i.default.createElement(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1});return e=>i.default.createElement(i.Suspense,{fallback:o},i.default.createElement(l.default,null,i.default.createElement(n,Object.assign({},e))))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294));let o=r.default.createContext(null);t.LoadableContext=o},14588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6495).Z,o=(0,n(92648).Z)(n(67294)),i=n(33644);let a=[],l=[],s=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t);n.lazy=o.default.lazy(n.loader);let r=null;function a(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!s){let c=n.webpack?n.webpack():n.modules;c&&l.push(e=>{for(let t of c)if(-1!==e.indexOf(t))return a()})}function f(e){!function(){a();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let t=o.default.createElement(n.loading,{isLoading:!0,pastDelay:!0,error:null});return o.default.createElement(o.default.Suspense,{fallback:t},o.default.createElement(n.lazy,e))}return f.preload=()=>a(),f.displayName="LoadableComponent",f}(c,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let n=()=>(s=!0,t());d(l,e).then(n,n)})},window.__NEXT_PRELOADREADY=f.preloadReady,t.default=f},56409:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return K}});var r=n(85893);n(63785),n(75575),n(58090),n(45354),n(34146);var o=n(4480),i=n(11163),a=n(99519),l=n(82661),s=n(67294),c=n(45697),u=n.n(c),f=n(41664),d=n.n(f),p=n(9008),h=n.n(p),m=n(11699),v=n(97183),g=n(14670),y=n(66516),b=n(26713),w=n(94199),x=n(71577),E=n(94184),C=n.n(E),Z=n(5152),S=n.n(Z),k=n(64777),N=n(70241),_=n(50738),T=n(46551),P=n(90745),R=n(79531),O=n(85402),A=n(41983);let{TextArea:M}=R.Z,L=e=>{let{open:t,handleClose:n}=e,[o,i]=(0,s.useState)(""),[a,l]=(0,s.useState)(!1),[c,u]=(0,s.useState)(null);function f(){l(!1),u(null),n()}async function d(){l(!0);try{await (0,k.rQ)(k.e_,{data:{value:o},method:"POST",auth:!0}),u(A.zv),setTimeout(f,1e3)}catch(e){console.error(e),u(A.Un)}l(!1)}return(0,r.jsxs)(O.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",open:t,onCancel:n,footer:[(0,r.jsx)(x.Z,{onClick:()=>n(),children:"Cancel"}),(0,r.jsx)(x.Z,{type:"primary",onClick:d,disabled:a||c,loading:a,children:(null==c?void 0:c.toUpperCase())||"Post"})],children:[(0,r.jsx)("h3",{children:"Tell the world about your future streaming plans or let your followers know to tune in."}),(0,r.jsx)(M,{placeholder:"I'm still live, come join me!",size:"large",showCount:!0,maxLength:500,style:{height:"150px",width:"100%"},onChange:function(e){i(e.target.value)}})]})},F=S()(()=>Promise.all([n.e(2074),n.e(1264)]).then(n.t.bind(n,63126,23)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1}),I=S()(()=>Promise.all([n.e(2074),n.e(863)]).then(n.t.bind(n,50863,23)),{loadableGenerated:{webpack:()=>[50863]},ssr:!1}),j=S()(()=>Promise.all([n.e(2074),n.e(9073)]).then(n.t.bind(n,99073,23)),{loadableGenerated:{webpack:()=>[99073]},ssr:!1}),V=S()(()=>Promise.all([n.e(2074),n.e(7090)]).then(n.t.bind(n,87090,23)),{loadableGenerated:{webpack:()=>[87090]},ssr:!1}),D=S()(()=>Promise.all([n.e(2074),n.e(4927)]).then(n.t.bind(n,64927,23)),{loadableGenerated:{webpack:()=>[64927]},ssr:!1}),z=S()(()=>Promise.all([n.e(2074),n.e(7434)]).then(n.t.bind(n,27434,23)),{loadableGenerated:{webpack:()=>[27434]},ssr:!1}),U=S()(()=>Promise.all([n.e(2074),n.e(3840)]).then(n.t.bind(n,3840,23)),{loadableGenerated:{webpack:()=>[3840]},ssr:!1}),B=S()(()=>Promise.all([n.e(2074),n.e(5672)]).then(n.t.bind(n,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),H=S()(()=>Promise.all([n.e(2074),n.e(5258)]).then(n.t.bind(n,85258,23)),{loadableGenerated:{webpack:()=>[85258]},ssr:!1}),W=S()(()=>Promise.all([n.e(2074),n.e(775)]).then(n.t.bind(n,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),q=e=>{let{children:t}=e,n=(0,s.useContext)(a.aC),{serverConfig:o,online:c,broadcaster:u,versionNumber:f}=n||{},{instanceDetails:p,chatDisabled:E,federation:Z}=o,{enabled:S}=Z,[R,O]=(0,s.useState)(""),[A,M]=(0,s.useState)(!1),q=(0,s.useContext)(l.k),$=(0,i.useRouter)(),{route:K}=$||{},{Header:G,Footer:Y,Content:X,Sider:Q}=v.Z,[J,ee]=(0,s.useState)(""),et=async()=>{try{let e=await (0,k.GR)(f);ee(e)}catch(t){console.log("==== error",t)}};(0,s.useEffect)(()=>{et()},[f]),(0,s.useEffect)(()=>{O(p.streamTitle)},[p]);let en=e=>{let{value:t}=e;O(t)},er=()=>{M(!0)},eo=C()({"app-container":!0,online:c}),ei=()=>{q.setMessage(null)},ea=q.message?(0,r.jsx)(g.Z,{message:q.message,afterClose:ei,banner:!0,closable:!0}):null,el=u?(0,N.wS)((0,m.Z)(new Date,new Date(u.time))):"",es=c?(0,r.jsx)(D,{}):(0,r.jsx)(z,{}),ec=(0,r.jsxs)("div",{className:"online-status-indicator",children:[(0,r.jsx)("span",{className:"status-label",children:c?"Online ".concat(el):"Offline"}),(0,r.jsx)("span",{className:"status-icon",children:es})]}),eu=[{label:(0,r.jsx)(d(),{href:"/admin/webhooks",children:"Webhooks"}),key:"webhooks"},{label:(0,r.jsx)(d(),{href:"/admin/access-tokens",children:"Access Tokens"}),key:"access-tokens"},{label:(0,r.jsx)(d(),{href:"/admin/actions",children:"External Actions"}),key:"actions"}],ef=[{label:(0,r.jsx)(d(),{href:"/admin/chat/messages",children:"Messages"}),key:"messages"},{label:(0,r.jsx)(d(),{href:"/admin/chat/users",children:"Users"}),key:"chat-users"},{label:(0,r.jsx)(d(),{href:"/admin/chat/emojis",children:"Emojis"}),key:"emojis"}],ed=[{label:(0,r.jsx)(d(),{href:"/admin/hardware-info",children:"Hardware"}),key:"hardware-info"},{label:(0,r.jsx)(d(),{href:"/admin/stream-health",children:"Stream Health"}),key:"stream-health"},{label:(0,r.jsx)(d(),{href:"/admin/logs",children:"Logs"}),key:"logs"},S&&{label:(0,r.jsx)(d(),{href:"/admin/federation/actions",children:"Social Actions"}),key:"federation-activities"}],ep=[{label:(0,r.jsx)(d(),{href:"/admin/config/general",children:"General"}),key:"config-public-details"},{label:(0,r.jsx)(d(),{href:"/admin/config/server",children:"Server Setup"}),key:"config-server"},{label:(0,r.jsx)(d(),{href:"/admin/config-video",children:"Video"}),key:"config-video"},{label:(0,r.jsx)(d(),{href:"/admin/config-chat",children:"Chat"}),key:"config-chat"},{label:(0,r.jsx)(d(),{href:"/admin/config-federation",children:"Social"}),key:"config-federation"},{label:(0,r.jsx)(d(),{href:"/admin/config-notify",children:"Notifications"}),key:"config-notify"}],eh=[{label:(0,r.jsx)(d(),{href:"/admin",children:"Home"}),icon:(0,r.jsx)(I,{}),key:"home"},{label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Viewers"}),icon:(0,r.jsx)(j,{}),key:"viewer-info"},!E&&{label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Chat & Users"}),icon:(0,r.jsx)(B,{}),children:ef,key:"chat-and-users"},S&&{key:"fediverse-followers",label:(0,r.jsx)(d(),{href:"/admin/federation/followers",children:"Followers"}),icon:(0,r.jsx)("img",{alt:"fediverse icon",src:"/img/fediverse-black.png",width:"17rem",style:{opacity:.6,position:"relative",top:"-1px"}})},{key:"configuration",label:"Configuration",icon:(0,r.jsx)(F,{}),children:ep},{key:"utilities",label:"Utilities",icon:(0,r.jsx)(V,{}),children:ed},{key:"integrations",label:"Integrations",icon:(0,r.jsx)(H,{}),children:eu},J&&{key:"upgrade",label:(0,r.jsx)(d(),{href:"/upgrade",children:"Upgrade to v".concat("".concat(J)||"")})},{key:"help",label:(0,r.jsx)(d(),{href:"/admin/help",children:"Help"}),icon:(0,r.jsx)(U,{})}];return(0,r.jsxs)(v.Z,{className:eo,children:[(0,r.jsxs)(h(),{children:[(0,r.jsx)("title",{children:"Owncast Admin"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"})]}),(0,r.jsxs)(Q,{width:240,className:"side-nav",children:[(0,r.jsxs)("h1",{className:"owncast-title",children:[(0,r.jsx)("span",{className:"logo-container",children:(0,r.jsx)(_.C,{variant:"simple"})}),(0,r.jsx)("span",{className:"title-label",children:"Owncast Admin"})]}),(0,r.jsx)(y.Z,{defaultSelectedKeys:[K.substring(1)||"home"],defaultOpenKeys:J?["utilities-menu"]:[],mode:"inline",className:"menu-container",items:eh})]}),(0,r.jsxs)(v.Z,{className:"layout-main",children:[(0,r.jsxs)(G,{className:"layout-header",children:[(0,r.jsx)(b.Z,{direction:"horizontal",children:(0,r.jsx)(w.Z,{title:"Compose post to your social followers",children:(0,r.jsx)(x.Z,{type:"link",icon:(0,r.jsx)(W,{}),size:"small",onClick:er,style:{display:S?"block":"none",margin:"10px"},children:"Compose Post"})})}),(0,r.jsx)("div",{className:"global-stream-title-container",children:(0,r.jsx)(T.$7,{fieldName:"streamTitle",...P.$t,placeholder:"What are you streaming now? (Stream title)",value:R,initialValue:p.streamTitle,onChange:en})}),(0,r.jsx)(b.Z,{direction:"horizontal",children:ec})]}),ea,(0,r.jsx)(X,{className:"main-content-container",children:t}),(0,r.jsx)(Y,{className:"footer-container",children:(0,r.jsxs)("a",{href:"https://owncast.online/?source=admin",target:"_blank",rel:"noopener noreferrer",children:["About Owncast v",f]})})]}),(0,r.jsx)(L,{open:A,handleClose:()=>M(!1)})]})};q.propTypes={children:u().element.isRequired};let $=e=>{let{Component:t,pageProps:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/main-layout.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/form-textfields.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-socialhandles.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-storage.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-edit-string-tags.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-video-variants.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-public-details.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/home.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/chat.css"}),(0,r.jsx)(a.ZP,{children:(0,r.jsx)(l.Z,{children:(0,r.jsx)(q,{children:(0,r.jsx)(t,{...n})})})})]})};function K(e){var t;let{Component:n,pageProps:a}=e,l=(0,i.useRouter)(),s=l.pathname.startsWith("/admin");if(s)return(0,r.jsx)($,{pageProps:a,Component:n,router:l});let c=null!==(t=n.getLayout)&&void 0!==t?t:e=>e;return c((0,r.jsx)(o.Wh,{children:(0,r.jsx)(n,{...a})}))}},82661:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i);let l=o.createContext({message:null,setMessage:e=>null}),s=e=>{let{children:t}=e,[n,i]=(0,o.useState)("");return(0,r.jsx)(l.Provider,{value:{message:n,setMessage:i},children:t})};s.propTypes={children:a().element.isRequired},t.Z=s},64777:function(e,t,n){"use strict";n.d(t,{$i:function(){return M},$l:function(){return W},Bu:function(){return g},E8:function(){return I},Ff:function(){return N},GC:function(){return w},GR:function(){return G},HP:function(){return F},IO:function(){return P},Kp:function(){return h},Kt:function(){return $},M_:function(){return O},N$:function(){return z},NE:function(){return s},NM:function(){return v},Q_:function(){return c},Qc:function(){return k},RB:function(){return y},UJ:function(){return B},WB:function(){return a},WE:function(){return Z},WQ:function(){return C},Wr:function(){return T},XA:function(){return R},Y9:function(){return j},a_:function(){return p},ao:function(){return f},bl:function(){return u},e_:function(){return L},hn:function(){return S},iG:function(){return A},iV:function(){return d},jr:function(){return b},kb:function(){return V},kg:function(){return q},ms:function(){return _},nx:function(){return x},op:function(){return D},qk:function(){return m},rQ:function(){return H},sG:function(){return E},um:function(){return U}});var r=n(34155);let o=r.env.NEXT_PUBLIC_ADMIN_USERNAME,i=r.env.NEXT_PUBLIC_ADMIN_STREAMKEY,a="/",l="".concat(a,"api/admin/"),s=15e3,c="".concat(l,"status"),u="".concat(l,"serverconfig"),f="".concat(l,"config"),d="".concat(l,"viewersOverTime"),p="".concat(l,"viewers"),h="".concat(l,"chat/clients"),m="".concat(l,"chat/users/disabled"),v="".concat(l,"chat/users/setenabled"),g="".concat(l,"chat/users/ipbans"),y="".concat(l,"chat/users/ipbans/remove"),b="".concat(l,"chat/users/setmoderator"),w="".concat(l,"chat/users/moderators"),x="".concat(l,"hardwarestats"),E="".concat(l,"logs"),C="".concat(l,"logs/warnings"),Z="".concat(l,"chat/messages"),S="/api/admin/chat/messagevisibility",k="".concat(l,"emoji/upload"),N="".concat(l,"emoji/delete"),_="".concat(l,"accesstokens"),T="".concat(l,"accesstokens/delete"),P="".concat(l,"accesstokens/create"),R="".concat(l,"webhooks"),O="".concat(l,"webhooks/delete"),A="".concat(l,"webhooks/create"),M="".concat(a,"api/socialplatforms"),L="".concat(l,"federation/send"),F="".concat(l,"followers"),I="".concat(l,"followers/pending"),j="".concat(l,"followers/blocked"),V="".concat(l,"followers/approve"),D="".concat(l,"federation/actions"),z="".concat(l,"metrics/video"),U="".concat(l,"config/streamkeys"),B="".concat(l,"yp/reset");async function H(e,t){let{data:n,method:r="GET",auth:a=!0}=t||{},l={method:r};if(n&&(l.body=JSON.stringify(n)),a&&o&&i){let s=btoa("".concat(o,":").concat(i));l.headers={Authorization:"Basic ".concat(s)},l.mode="cors",l.credentials="include"}try{let c=await fetch(e,l),u=await c.json();if(!c.ok){let f=u.message||"An error has occurred: ".concat(c.status);throw Error(f)}return u}catch(d){return console.error(d),d}}async function W(e,t){let n={method:"GET",auth:!1,...t};return H(e,n)}async function q(e){try{let t=await fetch(e,{referrerPolicy:"no-referrer",referrer:""});if(!t.ok){let n="An error has occured: ".concat(t.status);throw Error(n)}let r=await t.json();return r}catch(o){console.log(o)}return{}}async function $(){return q("https://api.github.com/repos/owncast/owncast/releases/latest")}let K=/^\d+(\.\d+){0,2}$/;async function G(e){let t=await $(),n=t.tag_name;return("v"===n.substr(0,1)&&(n=n.substr(1)),!function(e,t){if(!e||!t||0===e.length||0===t.length)return!1;if(e===t)return!0;if(K.test(e)&&K.test(t)){let n=e.split(".");for(;n.length<3;)n.push("0");let r=t.split(".");for(;r.length<3;)r.push("0");for(let o=0;o<3;o++){let i=parseInt(n[o],10),a=parseInt(r[o],10);if(i!==a)return i>a}return!0}return e>=t}(e,n))?n:null}},90745:function(e,t,n){"use strict";n.d(t,{$Z:function(){return eh},$t:function(){return Z},$w:function(){return d},AA:function(){return s},AN:function(){return H},AP:function(){return v},BF:function(){return K},B_:function(){return X},CJ:function(){return g},CQ:function(){return w},Dg:function(){return B},EY:function(){return F},FE:function(){return $},HM:function(){return ei},I$:function(){return el},IX:function(){return N},KB:function(){return P},Kl:function(){return W},LC:function(){return q},ME:function(){return M},P:function(){return I},RE:function(){return C},SS:function(){return eo},Si:function(){return E},Xc:function(){return G},Xq:function(){return et},ZQ:function(){return _},_X:function(){return j},c9:function(){return p},cf:function(){return y},cj:function(){return A},d$:function(){return c},dL:function(){return J},dR:function(){return Q},dj:function(){return U},gX:function(){return V},i3:function(){return es},kB:function(){return z},lT:function(){return O},mv:function(){return ep},nm:function(){return ee},os:function(){return b},oy:function(){return ed},pE:function(){return x},rE:function(){return R},rd:function(){return k},rs:function(){return S},sI:function(){return l},sv:function(){return h},t$:function(){return ea},tQ:function(){return T},vv:function(){return m},wC:function(){return ec},x8:function(){return en},yC:function(){return er},y_:function(){return L},yi:function(){return Y},yj:function(){return D},z_:function(){return eu},zm:function(){return ef}});var r=n(85893),o=n(64777),i=n(79139),a=n(37174);let l=3e3,s="/pagecontent",c="/customstyles",u="/serverurl",f="/nsfw",d="/s3",p="/socialhandles",h="/video/streamlatencylevel",m="/video/streamoutputvariants",v="/directoryenabled",g="/chat/forbiddenusernames",y="/chat/suggestedusernames",b="/externalactions",w="/video/codec",x="/federation/blockdomains";async function E(e){let{apiPath:t,data:n,onSuccess:r,onError:i}=e,a=await (0,o.rQ)("".concat(o.ao).concat(t),{data:n,method:"POST",auth:!0});a.success&&r?r(a.message):i&&i(a.message)}let C={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},Z={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},S={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},k={apiPath:"/offlinemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"An optional message you can leave people when your stream is not live.",label:"Offline Message",tip:"An optional message you can leave people when your stream is not live."},N={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},_={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one (max size 2 MB). We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},T={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Admin Password",tip:"Save this password somewhere safe, you will need it to login to the admin dashboard!",required:!0},P={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},R={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},O={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},A={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:i.xA,pattern:a.ax,useTrim:!0},M={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:i.xA,pattern:a.ax,useTrim:!0},L={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},F={apiPath:f,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},I={apiPath:v,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},j={apiPath:"/hideviewercount",configPath:"",label:"Hide viewer count",tip:"Turn this ON to hide the viewer count the web page."},V={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},D={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},z={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},U={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},B={apiPath:g,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},H={apiPath:y,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},W={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},q={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},$={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},K={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},G={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},Y={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:i.xA,pattern:a.ax,useTrim:!0},X={apiPath:f,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},Q={apiPath:x,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},J={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},ee={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},et={[ee.min]:"".concat(ee.min," ").concat(ee.unit),25:" ",30:" ",50:" ",60:" ",90:" ",[ee.max]:"".concat(ee.max," ").concat(ee.unit)},en={[ee.min]:"".concat(ee.min,"fps - Good for film, presentations, music, low power/bandwidth servers."),25:"25fps - Good for film, presentations, music, low power/bandwidth servers.",30:"30fps - Good for slow/casual games, chat, general purpose.",50:"50fps - Good for fast/action games, sports, HD video.",60:"60fps - Good for fast/action games, sports, HD video.",90:"90fps - Good for newer fast games and hardware.",[ee.max]:"".concat(ee.max,"fps - Experimental, use at your own risk!")},er={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},eo={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},ei={[er.min]:{style:{marginLeft:"24px"},label:"".concat(er.min," ").concat(er.unit)},3e3:3e3,4500:4500,[er.max]:{style:{marginLeft:"-10px"},label:"".concat(er.max," ").concat(er.unit)}},ea={1:{style:{marginLeft:"15px"},label:(0,r.jsx)("p",{children:"lowest"})},2:"",3:"",4:"",5:{style:{marginLeft:"-15px"},label:(0,r.jsx)("p",{children:"highest"})}},el={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},es={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},ec={url:"",platform:""},eu="OTHER_SOCIAL_HANDLE_OPTION",ef={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:i.xA,pattern:a.ax},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:i.xA,pattern:a.ax,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},ed={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:i.xA,pattern:a.ax,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},ep={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},eh={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},70241:function(e,t,n){"use strict";n.d(t,{AB:function(){return c},Qr:function(){return a},t5:function(){return i},wS:function(){return s}});var r=n(42238),o=n.n(r);function i(e){let t=e.split(":");t[t.length-1]="";let n=t.join(":");return"[::1]"===(n=n.slice(0,n.length-1))||"127.0.0.1"===n?"Localhost":n}function a(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function l(e,t,n){return String(t.repeat(n)+e).slice(-n)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,n=Math.floor(t/86400),r=n>0?"".concat(n," day").concat(n>1?"s":""," "):"",o=Math.floor(t/3600%24),i=o||n?l("".concat(o,":"),"0",3):"",a=l("".concat(Math.floor(t/60%60),":"),"0",3),s=l("".concat(Math.floor(t%60)),"0",2);return r+i+a+s}function c(e){let t=o()(e),{device:n,os:r,browser:i}=t,{major:a,name:l}=i,{version:s,name:c}=r,{model:u,type:f}=n;return"libmpv"===e?"mpv media player":l&&a&&c?"".concat(l," ").concat(a," on ").concat(c," ").concat(s,"\n ").concat(u||f?" (".concat(u||f,")"):""):e}},41983:function(e,t,n){"use strict";n.d(t,{Jk:function(){return d},Un:function(){return u},dG:function(){return h},kg:function(){return v},zv:function(){return p}});var r=n(85893),o=n(5152),i=n.n(o);let a=i()(()=>Promise.all([n.e(2074),n.e(7431)]).then(n.t.bind(n,37431,23)),{loadableGenerated:{webpack:()=>[37431]},ssr:!1}),l=i()(()=>Promise.all([n.e(2074),n.e(2461)]).then(n.t.bind(n,42461,23)),{loadableGenerated:{webpack:()=>[42461]},ssr:!1}),s=i()(()=>Promise.all([n.e(2074),n.e(628)]).then(n.t.bind(n,628,23)),{loadableGenerated:{webpack:()=>[628]},ssr:!1}),c=i()(()=>Promise.all([n.e(2074),n.e(7282)]).then(n.t.bind(n,97282,23)),{loadableGenerated:{webpack:()=>[97282]},ssr:!1}),u="error",f="invalid",d="proessing",p="success",h="warning",m={[p]:{type:p,icon:(0,r.jsx)(a,{style:{color:"green"}}),message:"Success!"},[u]:{type:u,icon:(0,r.jsx)(l,{style:{color:"red"}}),message:"An error occurred."},[f]:{type:f,icon:(0,r.jsx)(l,{style:{color:"red"}}),message:"An error occurred."},[d]:{type:d,icon:(0,r.jsx)(s,{}),message:""},[h]:{type:h,icon:(0,r.jsx)(c,{style:{color:"#fc0"}}),message:""}};function v(e,t){return e&&m[e]?t?{type:e,icon:m[e].icon,message:t}:m[e]:null}},99519:function(e,t,n){"use strict";n.d(t,{aC:function(){return f}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i),l=n(64777),s=n(90745);let c={streamKeys:[],adminPassword:"",instanceDetails:{customStyles:"",extraPageContent:"",logo:"",name:"",nsfw:!1,socialHandles:[],streamTitle:"",summary:"",tags:[],title:"",welcomeMessage:"",offlineMessage:"",appearanceVariables:{}},ffmpegPath:"",rtmpServerPort:"",webServerPort:"",socketHostOverride:null,s3:{accessKey:"",acl:"",bucket:"",enabled:!1,endpoint:"",region:"",secret:"",servingEndpoint:"",forcePathStyle:!1},yp:{enabled:!1,instanceUrl:""},videoSettings:{latencyLevel:4,cpuUsageLevel:3,videoQualityVariants:[s.gX]},federation:{enabled:!1,isPrivate:!1,username:"",goLiveMessage:"",showEngagement:!0,blockedDomains:[]},notifications:{browser:{enabled:!1,goLiveMessage:""},discord:{enabled:!1,webhook:"",goLiveMessage:""},twitter:{enabled:!1,goLiveMessage:"",apiKey:"",apiSecret:"",accessToken:"",accessTokenSecret:"",bearerToken:""}},externalActions:[],supportedCodecs:[],videoCodec:"",forbiddenUsernames:[],suggestedUsernames:[],chatDisabled:!1,chatJoinMessagesEnabled:!0,chatEstablishedUserMode:!1,hideViewerCount:!1},u={broadcastActive:!1,broadcaster:null,currentBroadcast:null,online:!1,viewerCount:0,sessionMaxViewerCount:0,sessionPeakViewerCount:0,overallPeakViewerCount:0,versionNumber:"0.0.0",streamTitle:"",chatDisabled:!1,health:{healthy:!0,healthPercentage:100,message:"",representation:0}},f=o.createContext({...u,serverConfig:c,setFieldInConfigState:e=>null}),d=e=>{let{children:t}=e,[n,i]=(0,o.useState)(u),[a,s]=(0,o.useState)(c),d=async()=>{try{let e=await (0,l.rQ)(l.Q_);i({...e})}catch(t){}},p=async()=>{try{let e=await (0,l.rQ)(l.bl);s(e)}catch(t){}},h=e=>{let{fieldName:t,value:n,path:r}=e,o=r?{...a,[r]:{...a[r],[t]:n}}:{...a,[t]:n};s(o)};(0,o.useEffect)(()=>{let e=null;return d(),e=setInterval(d,l.NE),p(),()=>{clearInterval(e)}},[]);let m={...n,serverConfig:a,setFieldInConfigState:h};return(0,r.jsx)(f.Provider,{value:m,children:t})};d.propTypes={children:a().element.isRequired},t.ZP=d},37174:function(e,t,n){"use strict";n.d(t,{Kf:function(){return i},ax:function(){return r},bu:function(){return a},jv:function(){return o}});let r="https?://.*";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["http:","https:"];try{let n=new URL(e);if(""===n.protocol||""===n.hostname||!t.includes(n.protocol))return!1}catch(r){return!1}return!0}function i(e,t){e.startsWith("@")&&(e=e.slice(1));let n=e.split(/:|@/),[r,o,i]=n;return console.log({account:e,protocol:t,service:r,user:o,host:i}),r===t&&3===n.length&&!!r&&!!o&&!!i}function a(e){if(!e.startsWith("matrix:"))return!1;(e=e.slice(7)).startsWith("@")&&(e=e.slice(1));let t=e.split(":"),[n,r]=t;return 2===t.length&&!!n&&!!r}},63785:function(){},34146:function(){},45354:function(){},58090:function(){},75575:function(){},29403:function(e){e.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}},5152:function(e,t,n){e.exports=n(37645)},9008:function(e,t,n){e.exports=n(83121)},41664:function(e,t,n){e.exports=n(31551)},11163:function(e,t,n){e.exports=n(80880)},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var s=[],c=!1,u=-1;function f(){c&&r&&(c=!1,r.length?s=r.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(r=s,s=[];++u1)for(var n=1;n1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}):e}function O(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function A(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},D={integer:function(e){return D.number(e)&&parseInt(e,10)===e},float:function(e){return D.number(e)&&!D.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return RegExp(e),!0}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(V.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(j())},hex:function(e){return"string"==typeof e&&!!e.match(V.hex)}},z="enum",U={required:I,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(R(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){I(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?D[i](t)||r.push(R(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(R(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=t,c=null,u="string"==typeof t,f=Array.isArray(t);if("number"==typeof t?c="number":u?c="string":f&&(c="array"),!c)return!1;f&&(s=t.length),u&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(R(o.messages[c].len,e.fullField,e.len)):a&&!l&&se.max?r.push(R(o.messages[c].max,e.fullField,e.max)):a&&l&&(se.max)&&r.push(R(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[z]=Array.isArray(e[z])?e[z]:[],-1===e[z].indexOf(t)&&r.push(R(o.messages[z],e.fullField,e[z].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||RegExp(e.pattern).test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},B=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t,i)&&!e.required)return n();U.required(e,t,r,a,o,i),O(t,i)||U.type(e,t,r,a,o)}n(a)},H={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t,"string")&&!e.required)return n();U.required(e,t,r,i,o,"string"),O(t,"string")||(U.type(e,t,r,i,o),U.range(e,t,r,i,o),U.pattern(e,t,r,i,o),!0===e.whitespace&&U.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),O(t)||U.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();U.required(e,t,r,i,o,"array"),null!=t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t,"string")&&!e.required)return n();U.required(e,t,r,i,o),O(t,"string")||U.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t,"date")&&!e.required)return n();U.required(e,t,r,a,o),!O(t,"date")&&(i=t instanceof Date?t:new Date(t),U.type(e,i,r,a,o),i&&U.range(e,i.getTime(),r,a,o))}n(a)},url:B,hex:B,email:B,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;U.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(O(t)&&!e.required)return n();U.required(e,t,r,i,o)}n(i)}};function W(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var q=W(),$=function(){function e(e){this.rules=null,this._messages=q,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=F(W(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===q&&(s=W()),F(s,a.messages),a.messages=s}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=o.rules[e],r=i[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))})});var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;A((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,e[t]||[])}),a),n,function(e){return r(e),e.length?i(new M(e,P(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++c===s)return r(u),u.length?i(new M(u,P(u))):t(o)};l.length||(r(u),t(o)),l.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?A(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(c,a,function(t,n){var r,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"==typeof o.fields||"object"==typeof o.defaultField);function s(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var f=c.map(L(o,i));if(a.first&&f.length)return u[o.field]=1,n(f);if(l){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(L(o,i)):a.error&&(f=[a.error(o,R(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map(function(e){d[e]=o.defaultField});var p={};Object.keys(d=Z({},d,t.rule.fields)).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))});var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(f)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(f){null==console.error||console.error(f),a.suppressValidatorError||setTimeout(function(){throw f},0),c(f.message)}!0===r?c():!1===r?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then(function(){return c()},function(e){return c(e)})},function(e){!function(e){for(var t=[],n={},r=0;r3&&void 0!==arguments[3]&&arguments[3];return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!X(e,t.slice(0,-1))?e:function e(t,n,r,o){if(!n.length)return r;var i,a=(0,Q.Z)(n),l=a[0],u=a.slice(1);return i=t||"number"!=typeof l?Array.isArray(t)?(0,c.Z)(t):(0,s.Z)({},t):[],o&&void 0===r&&1===u.length?delete i[l][u[0]]:i[l]=e(i[l],u,r,o),i}(e,t,n,r)}(e,t,n,r)}function en(e,t){var n={};return t.forEach(function(t){var r=X(e,t);n=et(n,t,r)}),n}function er(e,t){return e&&e.some(function(e){return ea(e,t)})}function eo(e){return"object"===(0,Y.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ei(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,c.Z)(e.slice(0,n)),[o],(0,c.Z)(e.slice(n,t)),(0,c.Z)(e.slice(t+1,r))):i<0?[].concat((0,c.Z)(e.slice(0,t)),(0,c.Z)(e.slice(t+1,n+1)),[o],(0,c.Z)(e.slice(n+1,r))):e}var ec="CODE_LOGIC_ERROR";function eu(e,t,n,r,o){return ef.apply(this,arguments)}function ef(){return(ef=(0,E.Z)((0,x.Z)().mark(function e(t,n,r,i,a){var u,f,d,p,h,m,v,g,y;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,s.Z)({},r)).ruleIndex,u.validator&&(f=u.validator,u.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(ec)}}),d=null,u&&"array"===u.type&&u.defaultField&&(d=u.defaultField,delete u.defaultField),p=new $((0,l.Z)({},t,[u])),h=ei({},G,i.validateMessages),p.messages(h),m=[],e.prev=9,e.next=12,Promise.resolve(p.validate((0,l.Z)({},t,n),(0,s.Z)({},i)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(m=e.t0.errors.map(function(e,t){var n=e.message,r=n===ec?h.default:n;return o.isValidElement(r)?o.cloneElement(r,{key:"error_".concat(t)}):r}));case 17:if(!(!m.length&&d)){e.next=22;break}return e.next=20,Promise.all(n.map(function(e,n){return eu("".concat(t,".").concat(n),e,d,i,a)}));case 20:return v=e.sent,e.abrupt("return",v.reduce(function(e,t){return[].concat((0,c.Z)(e),(0,c.Z)(t))},[]));case 22:return g=(0,s.Z)((0,s.Z)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),y=m.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\$\{\w+\}/g,function(e){return t[e.slice(2,-1)]})}(e,g):e}),e.abrupt("return",y);case 25:case"end":return e.stop()}},e,null,[[9,14]])}))).apply(this,arguments)}function ed(){return(ed=(0,E.Z)((0,x.Z)().mark(function e(t){return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,c.Z)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ep(){return(ep=(0,E.Z)((0,x.Z)().mark(function e(t){var n;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var eh=["name"],em=[];function ev(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eg=function(e){(0,p.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).state={resetCount:0},r.cancelRegisterFunc=null,r.mounted=!1,r.touched=!1,r.dirty=!1,r.validatePromise=null,r.prevValidating=void 0,r.errors=em,r.warnings=em,r.cancelRegister=function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ee(o)),r.cancelRegisterFunc=null},r.getNamePath=function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat((0,c.Z)(void 0===n?[]:n),(0,c.Z)(t)):[]},r.getRules=function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})},r.refresh=function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})},r.triggerMetaEvent=function(e){var t=r.props.onMetaChange;null==t||t((0,s.Z)((0,s.Z)({},r.getMeta()),{},{destroy:e}))},r.onStoreChange=function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,s=o.onReset,c=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(c),p=t&&er(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==d&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent(),null==s||s(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":if(p){var h=n.data;"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||em),"warnings"in h&&(r.warnings=h.warnings||em),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if(i&&!u.length&&ev(i,e,c,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(l.map(ee).some(function(e){return er(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!l.length||u.length||i)&&ev(i,e,c,f,d,n)){r.reRender();return}}!0===i&&r.reRender()},r.validateRules=function(e){var t=r.getNamePath(),n=r.getValue(),o=Promise.resolve().then(function(){if(!r.mounted)return[];var i=r.props,a=i.validateFirst,l=i.messageVariables,u=(e||{}).triggerName,f=r.getRules();u&&(f=f.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||w(t).includes(u)}));var d=function(e,t,n,r,o,i){var a,l,c=e.join("."),u=n.map(function(e,t){var n=e.validator,r=(0,s.Z)((0,s.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:em;if(r.validatePromise===o){r.validatePromise=null;var t,n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?em:r;t?i.push.apply(i,(0,c.Z)(o)):n.push.apply(n,(0,c.Z)(o))}),r.errors=n,r.warnings=i,r.triggerMetaEvent(),r.reRender()}}),d});return r.validatePromise=o,r.dirty=!0,r.errors=em,r.warnings=em,r.triggerMetaEvent(),r.reRender(),o},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(g).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath()}},r.getOnlyChild=function(e){if("function"==typeof e){var t=r.getMeta();return(0,s.Z)((0,s.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return X(e||t(!0),n)},r.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==o?o:f.validateTrigger,p=r.getNamePath(),h=f.getInternalHooks,m=f.getFieldsValue,v=h(g).dispatch,y=r.getValue(),b=e[n],x=(0,s.Z)((0,s.Z)({},e),(u||function(e){return(0,l.Z)({},c,e)})(y));return x[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(u.keys=[].concat((0,c.Z)(u.keys.slice(0,t)),[u.id],(0,c.Z)(u.keys.slice(t))),o([].concat((0,c.Z)(n.slice(0,t)),[e],(0,c.Z)(n.slice(t))))):(u.keys=[].concat((0,c.Z)(u.keys),[u.id]),o([].concat((0,c.Z)(n),[e]))),u.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(u.keys=es(u.keys,e,t),o(es(n,e,t)))}}},t)})))},ex=n(97685),eE="__@field_split__";function eC(e){return e.map(function(e){return"".concat((0,Y.Z)(e),":").concat(e)}).join(eE)}var eZ=function(){function e(){(0,u.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eC(e),t)}},{key:"get",value:function(e){return this.kvs.get(eC(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eC(e))}},{key:"map",value:function(e){return(0,c.Z)(this.kvs.entries()).map(function(t){var n=(0,ex.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eE).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ex.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),eS=["name","errors"],ek=(0,f.Z)(function e(t){var n=this;(0,u.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===g?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,v.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=ei({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=et(o,n,X(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new eZ;n.getFieldEntities(!0).forEach(function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=X(n.initialValues,e);return e.length?J(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach(function(n){n(t,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eZ;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ee(e);return t.get(n)||{INVALIDATE_NAME_PATH:ee(e)}})},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach(function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();!(!e&&(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))&&(t?t("getMeta"in n?n.getMeta():null)&&o.push(i):o.push(i))}),en(n.store,o.map(ee))},this.getFieldValue=function(e){n.warningUnhooked();var t=ee(e);return X(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ee(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new eZ,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,c.Z)((0,c.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,v.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,v.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);t.skipExist&&void 0!==a||n.updateStore(et(n.store,o,(0,c.Z)(i)[0].value))}}}})}(e)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore(ei({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ee);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore(et(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(e.errors,(0,a.Z)(e,eS)),l=ee(o);r.push(l),"value"in i&&n.updateStore(et(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,s.Z)((0,s.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===X(n.store,r)&&n.updateStore(et(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ea(e.getNamePath(),t)})){var l=n.store;n.updateStore(et(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,s.Z)((0,s.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,c.Z)(r))}),r},this.updateValue=function(e,t){var r=ee(e),o=n.store;n.updateStore(et(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(en(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,c.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=ei(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new eZ;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ee(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eZ;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}r(o.filter(function(t){return er(e,t.name)}),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r,o,i,a=!!e,l=a?e.map(ee):[],u=[];n.getFieldEntities(!0).forEach(function(r){if(a||l.push(r.getNamePath()),(null==t?void 0:t.recursive)&&a){var o=r.getNamePath();o.every(function(t,n){return e[n]===t||void 0===e[n]})&&l.push(o)}if(r.props.rules&&r.props.rules.length){var i=r.getNamePath();if(!a||er(l,i)){var f=r.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},G),n.validateMessages)},t));u.push(f.then(function(){return{name:i,errors:[],warnings:[]}}).catch(function(e){var t,n=[],r=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,(0,c.Z)(o)):n.push.apply(n,(0,c.Z)(o))}),n.length)?Promise.reject({name:i,errors:n,warnings:r}):{name:i,errors:n,warnings:r}}))}}});var f=(r=!1,o=u.length,i=[],u.length?new Promise(function(e,t){u.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=f,f.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var d=f.then(function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==f})});return d.catch(function(e){return e}),d},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eN=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ex.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new ek(function(){r({})});t.current=i.getForm()}}return[t.current]},e_=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eT=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(e_),c=o.useRef({});return o.createElement(e_.Provider,{value:(0,s.Z)((0,s.Z)({},a),{},{validateMessages:(0,s.Z)((0,s.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:c.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:c.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(c.current=(0,s.Z)((0,s.Z)({},c.current),{},(0,l.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.Z)({},c.current);delete t[e],c.current=t,a.unregisterForm(e)}})},i)},eP=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eR(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var eO=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o0;if(R||O){var t=f(j),n=(0,p.Z)(t).length,a="object"===(0,o.Z)(O)?O.formatter({value:t,count:n,maxLength:P}):"".concat(n).concat(e?" / ".concat(P):"");return i.createElement(i.Fragment,null,!!O&&i.createElement("span",{className:l()("".concat(k,"-show-count-suffix"),(0,r.Z)({},"".concat(k,"-show-count-has-suffix"),!!R))},a),R)}return null}(),disabled:N}))})},97868:function(e,t,n){"use strict";n.d(t,{iz:function(){return ej},ck:function(){return q},BW:function(){return eI},sN:function(){return q},GP:function(){return eI},Wd:function(){return ep},ZP:function(){return eD},Xl:function(){return L}});var r=n(87462),o=n(4942),i=n(1413),a=n(74902),l=n(97685),s=n(45987),c=n(67294),u=n(94184),f=n.n(u),d=n(96774),p=n.n(d),h=n(21770),m=n(80334),v=n(34243),g=n(15671),y=n(43144),b=n(60136),w=n(33643),x=n(15105),E=n(98423),C=n(56982),Z=["children","locked"],S=c.createContext(null);function k(e){var t=e.children,n=e.locked,r=(0,s.Z)(e,Z),o=c.useContext(S),a=(0,C.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!p()(e[1],t[1]))});return c.createElement(S.Provider,{value:a},t)}function N(e,t,n,r){var o=c.useContext(S),i=o.activeKey,a=o.onActive,l=o.onInactive,s={active:i===e};return t||(s.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},s.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),l(e)}),s}var _=["item"];function T(e){var t=e.item,n=(0,s.Z)(e,_);return Object.defineProperty(n,"item",{get:function(){return(0,m.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function P(e){var t=e.icon,n=e.props,r=e.children;return("function"==typeof t?c.createElement(t,(0,i.Z)({},n)):t)||r||null}function R(e){var t=c.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*o}:{paddingLeft:e*o}}var O=c.createContext(null);function A(){return c.useContext(O)}var M=c.createContext([]);function L(e){var t=c.useContext(M);return c.useMemo(function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t},[t,e])}var F=c.createContext(null),I=c.createContext(null);function j(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function V(e){return j(c.useContext(I),e)}var D=c.createContext({}),z=["title","attribute","elementRef"],U=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],B=["active"],H=function(e){(0,b.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,s.Z)(e,z),a=(0,E.Z)(i,["eventKey"]);return(0,m.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),c.createElement(v.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(c.Component),W=function(e){var t,n=e.style,l=e.className,u=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,m=e.role,v=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,s.Z)(e,U),C=V(u),Z=c.useContext(S),k=Z.prefixCls,_=Z.onItemClick,O=Z.disabled,A=Z.overflowDisabled,M=Z.itemIcon,F=Z.selectedKeys,I=Z.onActive,j=c.useContext(D)._internalRenderMenuItem,z="".concat(k,"-item"),W=c.useRef(),q=c.useRef(),$=O||d,K=L(u),G=function(e){return{key:u,keyPath:(0,a.Z)(K).reverse(),item:W.current,domEvent:e}},Y=N(u,$,v,g),X=Y.active,Q=(0,s.Z)(Y,B),J=F.includes(u),ee=R(K.length),et={};"option"===e.role&&(et["aria-selected"]=J);var en=c.createElement(H,(0,r.Z)({ref:W,elementRef:q,role:null===m?"none":m||"menuitem",tabIndex:d?null:-1,"data-menu-id":A&&C?null:C},E,Q,et,{component:"li","aria-disabled":d,style:(0,i.Z)((0,i.Z)({},ee),n),className:f()(z,(t={},(0,o.Z)(t,"".concat(z,"-active"),X),(0,o.Z)(t,"".concat(z,"-selected"),J),(0,o.Z)(t,"".concat(z,"-disabled"),$),t),l),onClick:function(e){if(!$){var t=G(e);null==y||y(T(t)),_(t)}},onKeyDown:function(e){if(null==b||b(e),e.which===x.Z.ENTER){var t=G(e);null==y||y(T(t)),_(t)}},onFocus:function(e){I(u),null==w||w(e)}}),h,c.createElement(P,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:J}),icon:p||M}));return j&&(en=j(en,e,{selected:J})),en},q=function(e){var t=e.eventKey,n=A(),r=L(t);return(c.useEffect(function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}},[r]),n)?null:c.createElement(W,e)},$=n(71002),K=n(50344),G=["label","children","key","type"];function Y(e,t){return(0,K.Z)(e).map(function(e,n){if(c.isValidElement(e)){var r,o,i=e.key,l=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==l&&(l="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var s={key:l,eventKey:l};return c.cloneElement(e,s)}return e})}function X(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return(E.onVisibleChanged=function(e){return v.current||e||w(!0),null==C?void 0:C(e)},b)?null:c.createElement(k,{mode:s,locked:!v.current},c.createElement(es.Z,(0,r.Z)({visible:x},E,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),function(e){var n=e.className,r=e.style;return c.createElement(J,{id:t,className:n,style:r},a)}))}var eu=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ef=["active"],ed=function(e){var t,n=e.style,a=e.className,u=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,g=e.itemIcon,y=e.expandIcon,b=e.popupClassName,w=e.popupOffset,x=e.onClick,E=e.onMouseEnter,C=e.onMouseLeave,Z=e.onTitleClick,_=e.onTitleMouseEnter,O=e.onTitleMouseLeave,A=(0,s.Z)(e,eu),M=V(d),I=c.useContext(S),j=I.prefixCls,z=I.mode,U=I.openKeys,B=I.disabled,H=I.overflowDisabled,W=I.activeKey,q=I.selectedKeys,$=I.itemIcon,K=I.expandIcon,G=I.onItemClick,Y=I.onOpenChange,Q=I.onActive,ee=c.useContext(D)._internalRenderSubMenuItem,et=c.useContext(F).isSubPathKey,en=L(),er="".concat(j,"-submenu"),eo=B||p,ei=c.useRef(),ea=c.useRef(),es=y||K,ed=U.includes(d),ep=!H&&ed,eh=et(q,d),em=N(d,eo,_,O),ev=em.active,eg=(0,s.Z)(em,ef),ey=c.useState(!1),eb=(0,l.Z)(ey,2),ew=eb[0],ex=eb[1],eE=function(e){eo||ex(e)},eC=c.useMemo(function(){return ev||"inline"!==z&&(ew||et([W],d))},[z,ev,W,ew,d,et]),eZ=R(en.length),eS=X(function(e){null==x||x(T(e)),G(e)}),ek=M&&"".concat(M,"-popup"),eN=c.createElement("div",(0,r.Z)({role:"menuitem",style:eZ,className:"".concat(er,"-title"),tabIndex:eo?null:-1,ref:ei,title:"string"==typeof u?u:null,"data-menu-id":H&&M?null:M,"aria-expanded":ep,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":eo,onClick:function(e){eo||(null==Z||Z({key:d,domEvent:e}),"inline"===z&&Y(d,!ed))},onFocus:function(){Q(d)}},eg),u,c.createElement(P,{icon:"horizontal"!==z?es:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:ep,isSubMenu:!0})},c.createElement("i",{className:"".concat(er,"-arrow")}))),e_=c.useRef(z);if("inline"!==z&&en.length>1?e_.current="vertical":e_.current=z,!H){var eT=e_.current;eN=c.createElement(el,{mode:eT,prefixCls:er,visible:!h&&ep&&"inline"!==z,popupClassName:b,popupOffset:w,popup:c.createElement(k,{mode:"horizontal"===eT?"vertical":eT},c.createElement(J,{id:ek,ref:ea},m)),disabled:eo,onVisibleChange:function(e){"inline"!==z&&Y(d,e)}},eN)}var eP=c.createElement(v.Z.Item,(0,r.Z)({role:"none"},A,{component:"li",style:n,className:f()(er,"".concat(er,"-").concat(z),a,(t={},(0,o.Z)(t,"".concat(er,"-open"),ep),(0,o.Z)(t,"".concat(er,"-active"),eC),(0,o.Z)(t,"".concat(er,"-selected"),eh),(0,o.Z)(t,"".concat(er,"-disabled"),eo),t)),onMouseEnter:function(e){eE(!0),null==E||E({key:d,domEvent:e})},onMouseLeave:function(e){eE(!1),null==C||C({key:d,domEvent:e})}}),eN,!H&&c.createElement(ec,{id:ek,open:ep,keyPath:en},m));return ee&&(eP=ee(eP,e,{selected:eh,active:eC,open:ep,disabled:eo})),c.createElement(k,{onItemClick:eS,mode:"horizontal"===z?"vertical":z,itemIcon:g||$,expandIcon:es},eP)};function ep(e){var t,n=e.eventKey,r=e.children,o=L(n),i=Y(r,o),a=A();return c.useEffect(function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}},[o]),t=a?i:c.createElement(ed,e,i),c.createElement(M.Provider,{value:o},t)}var eh=n(88603),em=x.Z.LEFT,ev=x.Z.RIGHT,eg=x.Z.UP,ey=x.Z.DOWN,eb=x.Z.ENTER,ew=x.Z.ESC,ex=x.Z.HOME,eE=x.Z.END,eC=[eg,ey,em,ev];function eZ(e,t){return(0,eh.tS)(e,!0).filter(function(e){return t.has(e)})}function eS(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=eZ(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var ek=Math.random().toFixed(5).toString().slice(2),eN=0,e_="__RC_UTIL_PATH_SPLIT__",eT=function(e){return e.join(e_)},eP="rc-menu-more",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"],eO=[],eA=c.forwardRef(function(e,t){var n,u,d,m,g,y,b,w,x,E,C,Z,S,N,_,P,R,A,M,L,V,z,U,B,H,W,K,Q=e.prefixCls,J=void 0===Q?"rc-menu":Q,ee=e.rootClassName,en=e.style,er=e.className,eo=e.tabIndex,ei=e.items,ea=e.children,el=e.direction,es=e.id,ec=e.mode,eu=void 0===ec?"vertical":ec,ef=e.inlineCollapsed,ed=e.disabled,eh=e.disabledOverflow,eA=e.subMenuOpenDelay,eM=e.subMenuCloseDelay,eL=e.forceSubMenuRender,eF=e.defaultOpenKeys,eV=e.openKeys,eD=e.activeKey,ez=e.defaultActiveFirst,eU=e.selectable,eB=void 0===eU||eU,eH=e.multiple,eW=void 0!==eH&&eH,eq=e.defaultSelectedKeys,e$=e.selectedKeys,eK=e.onSelect,eG=e.onDeselect,eY=e.inlineIndent,eX=e.motion,eQ=e.defaultMotions,eJ=e.triggerSubMenuAction,e0=e.builtinPlacements,e1=e.itemIcon,e2=e.expandIcon,e4=e.overflowedIndicator,e5=void 0===e4?"...":e4,e6=e.overflowedIndicatorPopupClassName,e3=e.getPopupContainer,e8=e.onClick,e7=e.onOpenChange,e9=e.onKeyDown,te=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tt=e._internalRenderSubMenuItem,tn=(0,s.Z)(e,eR),tr=c.useMemo(function(){var e;return e=ea,ei&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,$.Z)(t)){var o=t.label,i=t.children,a=t.key,l=t.type,u=(0,s.Z)(t,G),f=null!=a?a:"tmp-".concat(n);return i||"group"===l?"group"===l?c.createElement(eI,(0,r.Z)({key:f},u,{title:o}),e(i)):c.createElement(ep,(0,r.Z)({key:f},u,{title:o}),e(i)):"divider"===l?c.createElement(ej,(0,r.Z)({key:f},u)):c.createElement(q,(0,r.Z)({key:f},u),o)}return null}).filter(function(e){return e})}(ei)),Y(e,eO)},[ea,ei]),to=c.useState(!1),ti=(0,l.Z)(to,2),ta=ti[0],tl=ti[1],ts=c.useRef(),tc=(n=(0,h.Z)(es,{value:es}),d=(u=(0,l.Z)(n,2))[0],m=u[1],c.useEffect(function(){eN+=1;var e="".concat(ek,"-").concat(eN);m("rc-menu-uuid-".concat(e))},[]),d),tu="rtl"===el,tf=c.useMemo(function(){return("inline"===eu||"vertical"===eu)&&ef?["vertical",ef]:[eu,!1]},[eu,ef]),td=(0,l.Z)(tf,2),tp=td[0],th=td[1],tm=c.useState(0),tv=(0,l.Z)(tm,2),tg=tv[0],ty=tv[1],tb=tg>=tr.length-1||"horizontal"!==tp||eh,tw=(0,h.Z)(eF,{value:eV,postState:function(e){return e||eO}}),tx=(0,l.Z)(tw,2),tE=tx[0],tC=tx[1],tZ=function(e){tC(e),null==e7||e7(e)},tS=c.useState(tE),tk=(0,l.Z)(tS,2),tN=tk[0],t_=tk[1],tT="inline"===tp,tP=c.useRef(!1);c.useEffect(function(){tT&&t_(tE)},[tE]),c.useEffect(function(){tP.current&&(tT?tC(tN):tZ(eO))},[tT]),c.useEffect(function(){return tP.current=!0,function(){tP.current=!1}},[]);var tR=(g=c.useState({}),y=(0,l.Z)(g,2)[1],b=(0,c.useRef)(new Map),w=(0,c.useRef)(new Map),x=c.useState([]),C=(E=(0,l.Z)(x,2))[0],Z=E[1],S=(0,c.useRef)(0),N=(0,c.useRef)(!1),_=function(){N.current||y({})},P=(0,c.useCallback)(function(e,t){var n=eT(t);w.current.set(n,e),b.current.set(e,n),S.current+=1;var r=S.current;Promise.resolve().then(function(){r===S.current&&_()})},[]),R=(0,c.useCallback)(function(e,t){var n=eT(t);w.current.delete(n),b.current.delete(e)},[]),A=(0,c.useCallback)(function(e){Z(e)},[]),M=(0,c.useCallback)(function(e,t){var n=(b.current.get(e)||"").split(e_);return t&&C.includes(n[0])&&n.unshift(eP),n},[C]),L=(0,c.useCallback)(function(e,t){return e.some(function(e){return M(e,!0).includes(t)})},[M]),V=(0,c.useCallback)(function(e){var t="".concat(b.current.get(e)).concat(e_),n=new Set;return(0,a.Z)(w.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(w.current.get(e))}),n},[]),c.useEffect(function(){return function(){N.current=!0}},[]),{registerPath:P,unregisterPath:R,refreshOverflowKeys:A,isSubPathKey:L,getKeyPath:M,getKeys:function(){var e=(0,a.Z)(b.current.keys());return C.length&&e.push(eP),e},getSubPathKeys:V}),tO=tR.registerPath,tA=tR.unregisterPath,tM=tR.refreshOverflowKeys,tL=tR.isSubPathKey,tF=tR.getKeyPath,tI=tR.getKeys,tj=tR.getSubPathKeys,tV=c.useMemo(function(){return{registerPath:tO,unregisterPath:tA}},[tO,tA]),tD=c.useMemo(function(){return{isSubPathKey:tL}},[tL]);c.useEffect(function(){tM(tb?eO:tr.slice(tg+1).map(function(e){return e.key}))},[tg,tb]);var tz=(0,h.Z)(eD||ez&&(null===(W=tr[0])||void 0===W?void 0:W.key),{value:eD}),tU=(0,l.Z)(tz,2),tB=tU[0],tH=tU[1],tW=X(function(e){tH(e)}),tq=X(function(){tH(void 0)});(0,c.useImperativeHandle)(t,function(){return{list:ts.current,focus:function(e){var t,n,r,o,i=null!=tB?tB:null===(t=tr.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;i&&(null===(n=ts.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(j(tc,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var t$=(0,h.Z)(eq||[],{value:e$,postState:function(e){return Array.isArray(e)?e:null==e?eO:[e]}}),tK=(0,l.Z)(t$,2),tG=tK[0],tY=tK[1],tX=function(e){if(eB){var t,n=e.key,r=tG.includes(n);tY(t=eW?r?tG.filter(function(e){return e!==n}):[].concat((0,a.Z)(tG),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==eG||eG(o):null==eK||eK(o)}!eW&&tE.length&&"inline"!==tp&&tZ(eO)},tQ=X(function(e){null==e8||e8(T(e)),tX(e)}),tJ=X(function(e,t){var n=tE.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tp){var r=tj(e);n=n.filter(function(e){return!r.has(e)})}p()(tE,n)||tZ(n)}),t0=X(e3),t1=(z=function(e,t){var n=null!=t?t:!tE.includes(e);tJ(e,n)},U=c.useRef(),(B=c.useRef()).current=tB,H=function(){et.Z.cancel(U.current)},c.useEffect(function(){return function(){H()}},[]),function(e){var t=e.which;if([].concat(eC,[eb,ew,ex,eE]).includes(t)){var n=function(){return s=new Set,c=new Map,u=new Map,tI().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(j(tc,e),"']"));t&&(s.add(t),u.set(t,e),c.set(e,t))}),s};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(tB),s),i=u.get(r),a=function(e,t,n,r){var i,a,l,s,c="prev",u="next",f="children",d="parent";if("inline"===e&&r===eb)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,eg,c),(0,o.Z)(i,ey,u),i),h=(a={},(0,o.Z)(a,em,n?u:c),(0,o.Z)(a,ev,n?c:u),(0,o.Z)(a,ey,f),(0,o.Z)(a,eb,f),a),m=(l={},(0,o.Z)(l,eg,c),(0,o.Z)(l,ey,u),(0,o.Z)(l,eb,f),(0,o.Z)(l,ew,d),(0,o.Z)(l,em,n?f:d),(0,o.Z)(l,ev,n?d:f),l);switch(null===(s=({inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(tp,1===tF(i,!0).length,tu,t);if(!a&&t!==ex&&t!==eE)return;(eC.includes(t)||[ex,eE].includes(t))&&e.preventDefault();var l=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=u.get(e);tH(r),H(),U.current=(0,et.Z)(function(){B.current===r&&t.focus()})}};if([ex,eE].includes(t)||a.sibling||!r){var s,c,u,f,d=eZ(f=r&&"inline"!==tp?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):ts.current,s);l(t===ex?d[0]:t===eE?d[d.length-1]:eS(f,s,r,a.offset))}else if(a.inlineTrigger)z(i);else if(a.offset>0)z(i,!0),H(),U.current=(0,et.Z)(function(){n();var e=r.getAttribute("aria-controls");l(eS(document.getElementById(e),s))},5);else if(a.offset<0){var p=tF(i,!0),h=p[p.length-2],m=c.get(h);z(h,!1),l(m)}}null==e9||e9(e)});c.useEffect(function(){tl(!0)},[]);var t2=c.useMemo(function(){return{_internalRenderMenuItem:te,_internalRenderSubMenuItem:tt}},[te,tt]),t4="horizontal"!==tp||eh?tr:tr.map(function(e,t){return c.createElement(k,{key:e.key,overflowDisabled:t>tg},e)}),t5=c.createElement(v.Z,(0,r.Z)({id:es,ref:ts,prefixCls:"".concat(J,"-overflow"),component:"ul",itemComponent:q,className:f()(J,"".concat(J,"-root"),"".concat(J,"-").concat(tp),er,(K={},(0,o.Z)(K,"".concat(J,"-inline-collapsed"),th),(0,o.Z)(K,"".concat(J,"-rtl"),tu),K),ee),dir:el,style:en,role:"menu",tabIndex:void 0===eo?0:eo,data:t4,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tr.slice(-t):null;return c.createElement(ep,{eventKey:eP,title:e5,disabled:tb,internalPopupClose:0===t,popupClassName:e6},n)},maxCount:"horizontal"!==tp||eh?v.Z.INVALIDATE:v.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){ty(e)},onKeyDown:t1},tn));return c.createElement(D.Provider,{value:t2},c.createElement(I.Provider,{value:tc},c.createElement(k,{prefixCls:J,rootClassName:ee,mode:tp,openKeys:tE,rtl:tu,disabled:ed,motion:ta?eX:null,defaultMotions:ta?eQ:null,activeKey:tB,onActive:tW,onInactive:tq,selectedKeys:tG,inlineIndent:void 0===eY?24:eY,subMenuOpenDelay:void 0===eA?.1:eA,subMenuCloseDelay:void 0===eM?.1:eM,forceSubMenuRender:eL,builtinPlacements:e0,triggerSubMenuAction:void 0===eJ?"hover":eJ,getPopupContainer:t0,itemIcon:e1,expandIcon:e2,onItemClick:tQ,onOpenChange:tJ},c.createElement(F.Provider,{value:tD},t5),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(O.Provider,{value:tV},tr)))))}),eM=["className","title","eventKey","children"],eL=["children"],eF=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,s.Z)(e,eM),a=c.useContext(S).prefixCls,l="".concat(a,"-item-group");return c.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(l,t)}),c.createElement("div",{className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),c.createElement("ul",{className:"".concat(l,"-list")},o))};function eI(e){var t=e.children,n=(0,s.Z)(e,eL),r=Y(t,L(n.eventKey));return A()?r:c.createElement(eF,(0,E.Z)(n,["warnKey"]),r)}function ej(e){var t=e.className,n=e.style,r=c.useContext(S).prefixCls;return A()?null:c.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var eV=eA;eV.Item=q,eV.SubMenu=ep,eV.ItemGroup=eI,eV.Divider=ej;var eD=eV},62874:function(e,t,n){"use strict";n.d(t,{V:function(){return ei},Z:function(){return ea}});var r,o,i,a=n(4942),l=n(1413),s=n(97685),c=n(71002),u=n(67294),f=n(34203),d=n(42550),p=n(94184),h=n.n(p),m=n(98924);function v(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var g=(r=(0,m.Z)(),o="undefined"!=typeof window?window:{},i={animationend:v("Animation","AnimationEnd"),transitionend:v("Transition","TransitionEnd")},!r||("AnimationEvent"in o||delete i.animationend.animation,"TransitionEvent"in o||delete i.transitionend.transition),i),y={};(0,m.Z)()&&(y=document.createElement("div").style);var b={};function w(e){if(b[e])return b[e];var t=g[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,F.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},j=(0,m.Z)()?u.useLayoutEffect:u.useEffect,V=[O,A,M,"end"];function D(e){return e===M||"end"===e}var z=function(e,t){var n=(0,L.Z)(R),r=(0,s.Z)(n,2),o=r[0],i=r[1],a=I(),l=(0,s.Z)(a,2),c=l[0],f=l[1];return j(function(){if(o!==R&&"end"!==o){var e=V.indexOf(o),n=V[e+1],r=t(o);!1===r?i(n,!0):c(function(e){function t(){e.isCanceled()||i(n,!0)}!0===r?t():Promise.resolve(r).then(t)})}},[e,o]),u.useEffect(function(){return function(){f()}},[]),[function(){i(O,!0)},o]},U=function(e){var t=(0,u.useRef)(),n=(0,u.useRef)(e);n.current=e;var r=u.useCallback(function(e){n.current(e)},[]);function o(e){e&&(e.removeEventListener(S,r),e.removeEventListener(Z,r))}return u.useEffect(function(){return function(){o(t.current)}},[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(S,r),e.addEventListener(Z,r),t.current=e)},o]},B=n(15671),H=n(43144),W=n(60136),q=n(33643),$=function(e){(0,W.Z)(n,e);var t=(0,q.Z)(n);function n(){return(0,B.Z)(this,n),t.apply(this,arguments)}return(0,H.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component),K=function(e){var t=e;function n(e){return!!(e.motionName&&t)}"object"===(0,c.Z)(e)&&(t=e.transitionSupport);var r=u.forwardRef(function(e,t){var r,o,i,c=e.visible,p=void 0===c||c,m=e.removeOnLeave,v=e.forceRender,g=e.children,y=e.motionName,b=e.leavedClassName,w=e.eventProps,x=n(e),E=(0,u.useRef)(),C=(0,u.useRef)(),Z=function(e,t,n,r){var o=r.motionEnter,i=void 0===o||o,c=r.motionAppear,f=void 0===c||c,d=r.motionLeave,p=void 0===d||d,h=r.motionDeadline,m=r.motionLeaveImmediately,v=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,w=r.onEnterStart,x=r.onLeaveStart,E=r.onAppearActive,C=r.onEnterActive,Z=r.onLeaveActive,S=r.onAppearEnd,k=r.onEnterEnd,R=r.onLeaveEnd,F=r.onVisibleChanged,I=(0,L.Z)(),V=(0,s.Z)(I,2),B=V[0],H=V[1],W=(0,L.Z)(N),q=(0,s.Z)(W,2),$=q[0],K=q[1],G=(0,L.Z)(null),Y=(0,s.Z)(G,2),X=Y[0],Q=Y[1],J=(0,u.useRef)(!1),ee=(0,u.useRef)(null),et=(0,u.useRef)(!1);function en(e){var t,r=n();if(!e||e.deadline||e.target===r){var o=et.current;$===_&&o?t=null==S?void 0:S(r,e):$===T&&o?t=null==k?void 0:k(r,e):$===P&&o&&(t=null==R?void 0:R(r,e)),$!==N&&o&&!1!==t&&(K(N,!0),Q(null,!0))}}var er=U(en),eo=(0,s.Z)(er,1)[0],ei=u.useMemo(function(){var e,t,n;switch($){case _:return e={},(0,a.Z)(e,O,v),(0,a.Z)(e,A,b),(0,a.Z)(e,M,E),e;case T:return t={},(0,a.Z)(t,O,g),(0,a.Z)(t,A,w),(0,a.Z)(t,M,C),t;case P:return n={},(0,a.Z)(n,O,y),(0,a.Z)(n,A,x),(0,a.Z)(n,M,Z),n;default:return{}}},[$]),ea=z($,function(e){if(e===O){var t,r=ei[O];return!!r&&r(n())}return ec in ei&&Q((null===(t=ei[ec])||void 0===t?void 0:t.call(ei,n(),null))||null),ec===M&&(eo(n()),h>0&&(clearTimeout(ee.current),ee.current=setTimeout(function(){en({deadline:!0})},h))),!0}),el=(0,s.Z)(ea,2),es=el[0],ec=el[1],eu=D(ec);et.current=eu,j(function(){H(t);var n,r=J.current;J.current=!0,e&&(!r&&t&&f&&(n=_),r&&t&&i&&(n=T),(r&&!t&&p||!r&&m&&!t&&p)&&(n=P),n&&(K(n),es()))},[t]),(0,u.useEffect)(function(){($!==_||f)&&($!==T||i)&&($!==P||p)||K(N)},[f,i,p]),(0,u.useEffect)(function(){return function(){J.current=!1,clearTimeout(ee.current)}},[]);var ef=u.useRef(!1);(0,u.useEffect)(function(){B&&(ef.current=!0),void 0!==B&&$===N&&((ef.current||B)&&(null==F||F(B)),ef.current=!0)},[B,$]);var ed=X;return ei[O]&&ec===A&&(ed=(0,l.Z)({transition:"none"},ed)),[$,ec,ed,null!=B?B:t]}(x,p,function(){try{return E.current instanceof HTMLElement?E.current:(0,f.Z)(C.current)}catch(e){return null}},e),S=(0,s.Z)(Z,4),R=S[0],F=S[1],I=S[2],V=S[3],B=u.useRef(V);V&&(B.current=!0);var H=u.useCallback(function(e){E.current=e,(0,d.mH)(t,e)},[t]),W=(0,l.Z)((0,l.Z)({},w),{},{visible:p});return g?R!==N&&n(e)?(F===O?i="prepare":D(F)?i="active":F===A&&(i="start"),r=g((0,l.Z)((0,l.Z)({},W),{},{className:h()(k(y,R),(o={},(0,a.Z)(o,k(y,"".concat(R,"-").concat(i)),i),(0,a.Z)(o,y,"string"==typeof y),o)),style:I}),H)):r=V?g((0,l.Z)({},W),H):!(void 0===m||m)&&B.current?g((0,l.Z)((0,l.Z)({},W),{},{className:b}),H):v?g((0,l.Z)((0,l.Z)({},W),{},{style:{display:"none"}}),H):null:r=null,u.isValidElement(r)&&(0,d.Yr)(r)&&!r.ref&&(r=u.cloneElement(r,{ref:H})),u.createElement($,{ref:C},r)});return r.displayName="CSSMotion",r}(C),G=n(87462),Y=n(45987),X="keep",Q="remove",J="removed";function ee(e){var t;return t=e&&"object"===(0,c.Z)(e)&&"key"in e?e:{key:e},(0,l.Z)((0,l.Z)({},t),{},{key:String(t.key)})}function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ee)}var en=["component","children","onVisibleChanged","onAllRemoved"],er=["status"],eo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ei=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,n=function(e){(0,W.Z)(r,e);var n=(0,q.Z)(r);function r(){var e;(0,B.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=et(e),a=et(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==Q})).forEach(function(t){t.key===e&&(t.status=X)})}),n})(r,et(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==J||e.status!==Q})}}}]),r}(u.Component);return n.defaultProps={component:"div"},n}(C),ea=K},51784:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(4942),i=n(15671),a=n(43144),l=n(60136),s=n(33643),c=n(67294),u=n(73935),f=n(94184),d=n.n(f),p=function(e){(0,l.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=l&&(a.key=i[0].notice.key,a.updateMark=w(),a.userPassKey=o,i.shift()),i.push({notice:a,holderCallback:n})),{notices:i}})},e.remove=function(t){e.setState(function(e){return{notices:e.notices.filter(function(e){var n=e.notice,r=n.key,o=n.userPassKey;return(null!=o?o:r)!==t})}})},e.noticePropsMap={},e}return(0,l.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,l=n.closeIcon,s=n.style,c=[];return t.forEach(function(n,o){var a=n.notice,s=n.holderCallback,u=o===t.length-1?a.updateMark:void 0,f=a.key,d=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:l},a),a.props),{},{key:f,noticeKey:d||f,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});c.push(f),e.noticePropsMap[f]={props:p,holderCallback:s}}),u.createElement("div",{className:p()(r,a),style:s},u.createElement(h.V,{keys:c,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},function(t){var n=t.key,a=t.className,l=t.style,s=t.visible,c=e.noticePropsMap[n],f=c.props,d=c.holderCallback;return d?u.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},l),ref:function(t){void 0!==n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):u.createElement(m.Z,(0,o.Z)({},f,{className:p()(a,null==f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},l),null==f?void 0:f.style),visible:s}))}))}}]),n}(u.Component);x.newInstance=void 0,x.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},x.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,g),l=document.createElement("div");i?i().appendChild(l):document.body.appendChild(l);var s=!1;(0,f.s)(u.createElement(x,(0,o.Z)({},a,{ref:function(e){s||(s=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(l),l.parentNode&&l.parentNode.removeChild(l)},useNotification:function(){return(0,v.Z)(e)}}))}})),l)};var E=x},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),l=n(51784);function s(e){var t=a.useRef({}),n=a.useState([]),s=(0,i.Z)(n,2),c=s[0],u=s[1];return[function(n){var i=!0;e.add(n,function(e,n){var s=n.key;if(e&&(!t.current[s]||i)){var c=a.createElement(l.Z,(0,o.Z)({},n,{holder:e}));t.current[s]=c,u(function(e){var t=e.findIndex(function(e){return e.key===n.key});if(-1===t)return[].concat((0,r.Z)(e),[c]);var o=(0,r.Z)(e);return o[t]=c,o})}i=!1})},a.createElement(a.Fragment,null,c)]}},34243:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(87462),o=n(1413),i=n(97685),a=n(45987),l=n(67294),s=n(94184),c=n.n(s),u=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var n,i=e.prefixCls,s=e.invalidate,f=e.item,h=e.renderItem,m=e.responsive,v=e.responsiveDisabled,g=e.registerSize,y=e.itemKey,b=e.className,w=e.style,x=e.children,E=e.display,C=e.order,Z=e.component,S=(0,a.Z)(e,d),k=m&&!E;l.useEffect(function(){return function(){g(y,null)}},[]);var N=h&&f!==p?h(f):x;s||(n={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:m?C:p,pointerEvents:k?"none":p,position:k?"absolute":p});var _={};k&&(_["aria-hidden"]=!0);var T=l.createElement(void 0===Z?"div":Z,(0,r.Z)({className:c()(!s&&i,b),style:(0,o.Z)((0,o.Z)({},n),w)},_,S,{ref:t}),N);return m&&(T=l.createElement(u.default,{onResize:function(e){g(y,e.offsetWidth)},disabled:v},T)),T});h.displayName="Item";var m=n(75164),v=n(30470),g=["component"],y=["className"],b=["className"],w=l.forwardRef(function(e,t){var n=l.useContext(E);if(!n){var o=e.component,i=(0,a.Z)(e,g);return l.createElement(void 0===o?"div":o,(0,r.Z)({},i,{ref:t}))}var s=n.className,u=(0,a.Z)(n,y),f=e.className,d=(0,a.Z)(e,b);return l.createElement(E.Provider,{value:null},l.createElement(h,(0,r.Z)({ref:t,className:c()(s,f)},u,d)))});w.displayName="RawItem";var x=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],E=l.createContext(null),C="responsive",Z="invalidate";function S(e){return"+ ".concat(e.length," ...")}var k=l.forwardRef(function(e,t){var n,s,d,p,g,y,b=e.prefixCls,w=void 0===b?"rc-overflow":b,k=e.data,N=void 0===k?[]:k,_=e.renderItem,T=e.renderRawItem,P=e.itemKey,R=e.itemWidth,O=void 0===R?10:R,A=e.ssr,M=e.style,L=e.className,F=e.maxCount,I=e.renderRest,j=e.renderRawRest,V=e.suffix,D=e.component,z=e.itemComponent,U=e.onVisibleChange,B=(0,a.Z)(e,x),H=(n=(0,v.Z)({}),s=(0,i.Z)(n,2)[1],d=(0,l.useRef)([]),p=0,g=0,function(e){var t=p;return p+=1,d.current.lengthF,eO=(0,l.useMemo)(function(){var e=N;return eT?e=null===K&&W?N:N.slice(0,Math.min(N.length,Y/O)):"number"==typeof F&&(e=N.slice(0,F)),e},[N,O,K,F,eT]),eA=(0,l.useMemo)(function(){return eT?N.slice(ex+1):N.slice(eO.length)},[N,eO,eT,ex]),eM=(0,l.useCallback)(function(e,t){var n;return"function"==typeof P?P(e):null!==(n=P&&(null==e?void 0:e[P]))&&void 0!==n?n:t},[P]),eL=(0,l.useCallback)(_||function(e){return e},[_]);function eF(e,t,n){(eb!==e||void 0!==t&&t!==em)&&(ew(e),n||(eS(eY){eF(r-1,e-o-ef+el);break}}V&&ej(0)+ef>Y&&ev(null)}},[Y,J,el,ef,eM,eO]);var eV=eZ&&!!eA.length,eD={};null!==em&&eT&&(eD={position:"absolute",left:em,top:0});var ez={prefixCls:ek,responsive:eT,component:z,invalidate:eP},eU=T?function(e,t){var n=eM(e,t);return l.createElement(E.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},ez),{},{order:t,item:e,itemKey:n,registerSize:eI,display:t<=ex})},T(e,t))}:function(e,t){var n=eM(e,t);return l.createElement(h,(0,r.Z)({},ez,{order:t,key:n,item:e,renderItem:eL,itemKey:n,registerSize:eI,display:t<=ex}))},eB={order:eV?ex:Number.MAX_SAFE_INTEGER,className:"".concat(ek,"-rest"),registerSize:function(e,t){es(t),eo(el)},display:eV};if(j)j&&(y=l.createElement(E.Provider,{value:(0,o.Z)((0,o.Z)({},ez),eB)},j(eA)));else{var eH=I||S;y=l.createElement(h,(0,r.Z)({},ez,eB),"function"==typeof eH?eH(eA):eH)}var eW=l.createElement(void 0===D?"div":D,(0,r.Z)({className:c()(!eP&&w,L),style:M,ref:t},B),eO.map(eU),eR?y:null,V&&l.createElement(h,(0,r.Z)({},ez,{responsive:e_,responsiveDisabled:!eT,order:ex,className:"".concat(ek,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eD}),V));return e_&&(eW=l.createElement(u.default,{onResize:function(e,t){G(t.clientWidth)},disabled:!eT},eW)),eW});k.displayName="Overflow",k.Item=w,k.RESPONSIVE=C,k.INVALIDATE=Z;var N=k},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(87462),o=n(67294),i=n(50344);n(80334);var a=n(1413),l=n(42550),s=n(34203),c=n(91033),u=new Map,f=new c.Z(function(e){e.forEach(function(e){var t,n=e.target;null===(t=u.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),d=n(15671),p=n(43144),h=n(60136),m=n(33643),v=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),g=o.createContext(null);function y(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),c=o.useContext(g),d="function"==typeof t,p=d?t(r):t,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,l.Yr)(p),y=m?p.ref:null,b=o.useMemo(function(){return(0,l.sQ)(y,r)},[y,r]),w=o.useRef(e);w.current=e;var x=o.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,s=e.offsetWidth,u=e.offsetHeight,f=Math.floor(i),d=Math.floor(l);if(h.current.width!==f||h.current.height!==d||h.current.offsetWidth!==s||h.current.offsetHeight!==u){var p={width:f,height:d,offsetWidth:s,offsetHeight:u};h.current=p;var m=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:s===Math.round(i)?i:s,offsetHeight:u===Math.round(l)?l:u});null==c||c(m,e,r),n&&Promise.resolve().then(function(){n(m,e)})}},[]);return o.useEffect(function(){var e=(0,s.Z)(r.current)||(0,s.Z)(i.current);return e&&!n&&(u.has(e)||(u.set(e,new Set),f.observe(e)),u.get(e).add(x)),function(){u.has(e)&&(u.get(e).delete(x),u.get(e).size||(f.unobserve(e),u.delete(e)))}},[r.current,n]),o.createElement(v,{ref:i},m?o.cloneElement(p,{ref:b}):p)}function b(e){var t=e.children;return("function"==typeof t?[t]:(0,i.Z)(t)).map(function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(y,(0,r.Z)({},e,{key:i}),t)})}b.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(g),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(g.Provider,{value:l},t)};var w=b},57239:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return Z},default:function(){return S}});var r,o=n(87462),i=n(15671),a=n(43144),l=n(60136),s=n(33643),c=n(67294),u=n(4942),f=n(1413),d=n(71002),p=n(97685),h=n(45987),m=n(48555),v=n(8410),g=n(75164),y=n(21770),b=n(94184),w=n.n(b),x=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],E={},C=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=c.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-textarea":n,a=(e.onPressEnter,e.defaultValue),l=e.value,s=e.autoSize,b=e.onResize,Z=e.className,S=e.style,k=e.disabled,N=e.onChange,_=(e.onInternalAutoSize,(0,h.Z)(e,C)),T=(0,y.Z)(a,{value:l,postState:function(e){return null!=e?e:""}}),P=(0,p.Z)(T,2),R=P[0],O=P[1],A=c.useRef();c.useImperativeHandle(t,function(){return{textArea:A.current}});var M=c.useMemo(function(){return s&&"object"===(0,d.Z)(s)?[s.minRows,s.maxRows]:[]},[s]),L=(0,p.Z)(M,2),F=L[0],I=L[1],j=!!s,V=function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;A.current.setSelectionRange(t,n),A.current.scrollTop=r}}catch(o){}},D=c.useState(2),z=(0,p.Z)(D,2),U=z[0],B=z[1],H=c.useState(),W=(0,p.Z)(H,2),q=W[0],$=W[1],K=function(){B(0)};(0,v.Z)(function(){j&&K()},[l,F,I,j]),(0,v.Z)(function(){if(0===U)B(1);else if(1===U){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&E[n])return E[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:x.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(E[n]=l),l}(e,n),l=a.paddingSize,s=a.borderSize,c=a.boxSizing,u=a.sizingStyle;r.setAttribute("style","".concat(u,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===c?p+=s:"content-box"===c&&(p-=l),null!==o||null!==i){r.value=" ";var h=r.scrollHeight-l;null!==o&&(f=h*o,"border-box"===c&&(f=f+l+s),p=Math.max(f,p)),null!==i&&(d=h*i,"border-box"===c&&(d=d+l+s),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(A.current,!1,F,I);B(2),$(e)}else V()},[U]);var G=c.useRef(),Y=function(){g.Z.cancel(G.current)};c.useEffect(function(){return Y},[]);var X=(0,f.Z)((0,f.Z)({},S),j?q:null);return(0===U||1===U)&&(X.overflowY="hidden",X.overflowX="hidden"),c.createElement(m.default,{onResize:function(e){2===U&&(null==b||b(e),s&&(Y(),G.current=(0,g.Z)(function(){K()})))},disabled:!(s||b)},c.createElement("textarea",(0,o.Z)({},_,{ref:A,style:X,className:w()(i,Z,(0,u.Z)({},"".concat(i,"-disabled"),k)),disabled:k,value:R,onChange:function(e){O(e.target.value),null==N||N(e)}})))}),S=function(e){(0,l.Z)(n,e);var t=(0,s.Z)(n);function n(e){(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var r,o=void 0===e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c.createElement(Z,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c.Component)},43763:function(e,t,n){"use strict";n.r(t),n.d(t,{Popup:function(){return d},default:function(){return p}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),l=n(67294),s=n(53749),c=n(43159),u=n(94184),f=n.n(u);function d(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,s=e.className,c=e.style;return l.createElement("div",{className:f()("".concat(o,"-content"),s),style:c},!1!==t&&l.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),l.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"==typeof r?r():r))}var p=(0,l.forwardRef)(function(e,t){var n=e.overlayClassName,u=e.trigger,f=e.mouseEnterDelay,p=e.mouseLeaveDelay,h=e.overlayStyle,m=e.prefixCls,v=void 0===m?"rc-tooltip":m,g=e.children,y=e.onVisibleChange,b=e.afterVisibleChange,w=e.transitionName,x=e.animation,E=e.motion,C=e.placement,Z=e.align,S=e.destroyTooltipOnHide,k=void 0!==S&&S,N=e.defaultVisible,_=e.getTooltipContainer,T=e.overlayInnerStyle,P=e.arrowContent,R=e.overlay,O=e.id,A=e.showArrow,M=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),L=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,function(){return L.current});var F=(0,i.Z)({},M);"visible"in e&&(F.popupVisible=e.visible);var I=!1,j=!1;if("boolean"==typeof k)I=k;else if(k&&"object"===(0,o.Z)(k)){var V=k.keepParent;I=!0===V,j=!1===V}return l.createElement(s.Z,(0,r.Z)({popupClassName:n,prefixCls:v,popup:function(){return l.createElement(d,{showArrow:A,arrowContent:P,key:"content",prefixCls:v,id:O,overlayInnerStyle:T},R)},action:void 0===u?["hover"]:u,builtinPlacements:c.C,popupPlacement:void 0===C?"right":C,ref:L,popupAlign:void 0===Z?{}:Z,getPopupContainer:_,onPopupVisibleChange:y,afterPopupVisibleChange:b,popupTransitionName:w,popupAnimation:x,popupMotion:E,defaultPopupVisible:N,destroyPopupOnHide:I,autoDestroy:j,mouseLeaveDelay:void 0===p?.1:p,popupStyle:h,mouseEnterDelay:void 0===f?0:f},F),g)})},43159:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},53749:function(e,t,n){"use strict";n.d(t,{Z:function(){return eQ}});var r,o,i,a=n(1413),l=n(87462),s=n(15671),c=n(43144),u=n(97326),f=n(60136),d=n(33643),p=n(4942),h=n(67294),m=n(73935),v=n(75164),g=n(94999),y=n(34203),b=n(42550),w=n(64019),x=n(98924),E=(0,h.forwardRef)(function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,i=(0,h.useRef)(),a=(0,h.useRef)();(0,h.useImperativeHandle)(t,function(){return{}});var l=(0,h.useRef)(!1);return!l.current&&(0,x.Z)()&&(a.current=r(),i.current=a.current.parentNode,l.current=!0),(0,h.useEffect)(function(){null==n||n(e)}),(0,h.useEffect)(function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}},[]),a.current?m.createPortal(o,a.current):null}),C=n(94184),Z=n.n(C),S=n(97685),k=n(45987),N=n(31131),_=n(62874);function T(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function P(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,o=e.mask,i=e.maskMotion,s=e.maskAnimation,c=e.maskTransitionName;if(!o)return null;var u={};return(i||c||s)&&(u=(0,a.Z)({motionAppear:!0},T({motion:i,prefixCls:t,transitionName:c,animation:s}))),h.createElement(_.Z,(0,l.Z)({},u,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return h.createElement("div",{style:{zIndex:r},className:Z()("".concat(t,"-mask"),n)})})}var R=n(71002);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;tNumber(s))&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),void 0===r&&(r=l?1:-1);var c=void 0!==a||l,u=a||s;return -1===r?c?u-el(e,["border","padding"],o):s:c?1===r?u:u+(2===r?-el(e,["border"],o):el(e,["margin"],o)):s+el(e,ea.slice(r),o)}eo(["Width","Height"],function(e){es["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],es["viewport".concat(e)](n))},es["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var eu={position:"absolute",visibility:"hidden",display:"block"};function ef(){for(var e,t=arguments.length,n=Array(t),r=0;r=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ey(e){if(ep.isWindow(e)||9===e.nodeType){var t,n,r,o=ep.getWindow(e);t={left:ep.getWindowScrollLeft(o),top:ep.getWindowScrollTop(o)},n=ep.viewportWidth(o),r=ep.viewportHeight(o)}else t=ep.offset(e),n=ep.outerWidth(e),r=ep.outerHeight(e);return t.width=n,t.height=r,t}function eb(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,l=e.top;return"c"===n?l+=i/2:"b"===n&&(l+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:l}}function ew(e,t,n,r,o){var i=eb(t,n[1]),a=eb(e,n[0]),l=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-l[0]+r[0]-o[0]),top:Math.round(e.top-l[1]+r[1]-o[1])}}function ex(e,t,n){return e.leftn.right}function eE(e,t,n){return e.topn.bottom}function eC(e,t,n){var r=[];return ep.each(e,function(e){r.push(e.replace(t,function(e){return n[e]}))}),r}function eZ(e,t){return e[t]=-e[t],e}function eS(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function ek(e,t){e[0]=eS(e[0],t.width),e[1]=eS(e[1],t.height)}function eN(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],l=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,f=eg(s,!!(l=l||{}).alwaysByViewport),d=ey(s);ek(i,d),ek(a,t);var p=ew(d,t,o,i,a),h=ep.merge(d,p);if(f&&(l.adjustX||l.adjustY)&&r){if(l.adjustX&&ex(p,d,f)){var m,v,g,y,b=eC(o,/[lr]/gi,{l:"r",r:"l"}),w=eZ(i,0),x=eZ(a,0);(y=ew(d,t,b,w,x)).left>f.right||y.left+d.widthf.bottom||E.top+d.height=f.left&&v.left+g.width>f.right&&(g.width-=v.left+g.width-f.right),c.adjustX&&v.left+g.width>f.right&&(v.left=Math.max(f.right-g.width,f.left)),c.adjustY&&v.top=f.top&&v.top+g.height>f.bottom&&(g.height-=v.top+g.height-f.bottom),c.adjustY&&v.top+g.height>f.bottom&&(v.top=Math.max(f.bottom-g.height,f.top)),h=ep.mix(v,g))}return h.width!==d.width&&ep.css(s,"width",ep.width(s)+h.width-d.width),h.height!==d.height&&ep.css(s,"height",ep.height(s)+h.height-d.height),ep.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function e_(e,t,n){var r,o,i=n.target||t,a=ey(i),l=(r=eg(i,n.overflow&&n.overflow.alwaysByViewport),o=ey(i),!!r&&!(o.left+o.width<=r.left)&&!(o.top+o.height<=r.top)&&!(o.left>=r.right)&&!(o.top>=r.bottom));return eN(e,a,n,l)}e_.__getOffsetParent=em,e_.__getVisibleRectForElement=eg;var eT=n(80334),eP=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function e(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(t);if((0,eT.ZP)(!a,"Warning: There may be circular references"),a)return!1;if(t===o)return!0;if(n&&i>1)return!1;r.add(t);var l=i+1;if(Array.isArray(t)){if(!Array.isArray(o)||t.length!==o.length)return!1;for(var s=0;s=0&&a<=p+m&&l>=0&&l<=h+v)),C!==document.activeElement&&(0,g.Z)(i,C)&&"function"==typeof C.focus&&C.focus(),o&&w&&o(i,w),!0}return!1},void 0===s?0:s),m=(0,S.Z)(p,2),v=m[0],y=m[1],x=h.useState(),E=(0,S.Z)(x,2),C=E[0],Z=E[1],k=h.useState(),N=(0,S.Z)(k,2),_=N[0],T=N[1];return(0,eO.Z)(function(){Z(eF(o)),T(eI(o))}),h.useEffect(function(){var e;c.current.element===C&&((e=c.current.point)===_||e&&_&&("pageX"in _&&"pageY"in _?e.pageX===_.pageX&&e.pageY===_.pageY:"clientX"in _&&"clientY"in _&&e.clientX===_.clientX&&e.clientY===_.clientY))&&eP(c.current.align,i)||v()}),h.useEffect(function(){return eL(u.current,v)},[u.current]),h.useEffect(function(){return eL(C,v)},[C]),h.useEffect(function(){r?y():v()},[r]),h.useEffect(function(){if(l)return(0,w.Z)(window,"resize",v).remove},[l]),h.useEffect(function(){return function(){y()}},[]),h.useImperativeHandle(t,function(){return{forceAlign:function(){return v(!0)}}}),h.isValidElement(f)&&(f=h.cloneElement(f,{ref:(0,b.sQ)(f.ref,u)})),f});ej.displayName="Align";var eV=n(74165),eD=n(15861),ez=n(30470),eU=["measure","alignPre","align",null,"motion"],eB=function(e,t){var n=(0,ez.Z)(null),r=(0,S.Z)(n,2),o=r[0],i=r[1],a=(0,h.useRef)();function l(){v.Z.cancel(a.current)}return(0,h.useEffect)(function(){i("measure",!0)},[e]),(0,h.useEffect)(function(){"measure"===o&&t(),o&&(a.current=(0,v.Z)((0,eD.Z)((0,eV.Z)().mark(function e(){var t,n;return(0,eV.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=eU.indexOf(o),(n=eU[t+1])&&-1!==t&&i(n,!0);case 3:case"end":return e.stop()}},e)}))))},[o]),(0,h.useEffect)(function(){return function(){l()}},[]),[o,function(e){l(),a.current=(0,v.Z)(function(){i(function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},eH=function(e){var t=h.useState({width:0,height:0}),n=(0,S.Z)(t,2),r=n[0],o=n[1];return[h.useMemo(function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t},[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),i=r.width,a=r.height;1>Math.abs(t-i)&&1>Math.abs(n-a)&&(t=i,n=a),o({width:t,height:n})}]},eW=h.forwardRef(function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,i=e.style,s=e.children,c=e.zIndex,u=e.stretch,f=e.destroyPopupOnHide,d=e.forceRender,p=e.align,m=e.point,v=e.getRootDomNode,g=e.getClassNameFromAlign,y=e.onAlign,b=e.onMouseEnter,w=e.onMouseLeave,x=e.onMouseDown,E=e.onTouchStart,C=e.onClick,k=(0,h.useRef)(),N=(0,h.useRef)(),P=(0,h.useState)(),R=(0,S.Z)(P,2),O=R[0],A=R[1],M=eH(u),L=(0,S.Z)(M,2),F=L[0],I=L[1],j=eB(n,function(){u&&I(v())}),V=(0,S.Z)(j,2),D=V[0],z=V[1],U=(0,h.useState)(0),B=(0,S.Z)(U,2),H=B[0],W=B[1],q=(0,h.useRef)();function $(){var e;null===(e=k.current)||void 0===e||e.forceAlign()}function K(e,t){var n=g(t);O!==n&&A(n),W(function(e){return e+1}),"align"===D&&(null==y||y(e,t))}(0,eO.Z)(function(){"alignPre"===D&&W(0)},[D]),(0,eO.Z)(function(){"align"===D&&(H<3?$():z(function(){var e;null===(e=q.current)||void 0===e||e.call(q)}))},[H]);var G=(0,a.Z)({},T(e));function Y(){return new Promise(function(e){q.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=G[e];G[e]=function(e,n){return z(),null==t?void 0:t(e,n)}}),h.useEffect(function(){G.motionName||"motion"!==D||z()},[G.motionName,D]),h.useImperativeHandle(t,function(){return{forceAlign:$,getElement:function(){return N.current}}});var X=(0,a.Z)((0,a.Z)({},F),{},{zIndex:c,opacity:"motion"!==D&&"stable"!==D&&n?0:void 0,pointerEvents:n||"stable"===D?void 0:"none"},i),Q=!0;null!=p&&p.points&&("align"===D||"stable"===D)&&(Q=!1);var J=s;return h.Children.count(s)>1&&(J=h.createElement("div",{className:"".concat(r,"-content")},s)),h.createElement(_.Z,(0,l.Z)({visible:n,ref:N,leavedClassName:"".concat(r,"-hidden")},G,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:f,forceRender:d}),function(e,t){var n=e.className,i=e.style,l=Z()(r,o,O,n);return h.createElement(ej,{target:m||v,key:"popup",ref:k,monitorWindowResize:!0,disabled:Q,align:p,onAlign:K},h.createElement("div",{ref:t,className:l,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:x,onTouchStartCapture:E,onClick:C,style:(0,a.Z)((0,a.Z)({},i),X)},J))})});eW.displayName="PopupInner";var eq=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,i=e.children,s=e.mobile,c=(s=void 0===s?{}:s).popupClassName,u=s.popupStyle,f=s.popupMotion,d=s.popupRender,p=e.onClick,m=h.useRef();h.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var v=(0,a.Z)({zIndex:o},u),g=i;return h.Children.count(i)>1&&(g=h.createElement("div",{className:"".concat(n,"-content")},i)),d&&(g=d(g)),h.createElement(_.Z,(0,l.Z)({visible:r,ref:m,removeOnLeave:!0},void 0===f?{}:f),function(e,t){var r=e.className,o=e.style,i=Z()(n,c,r);return h.createElement("div",{ref:t,className:i,onClick:p,style:(0,a.Z)((0,a.Z)({},o),v)},g)})});eq.displayName="MobilePopupInner";var e$=["visible","mobile"],eK=h.forwardRef(function(e,t){var n=e.visible,r=e.mobile,o=(0,k.Z)(e,e$),i=(0,h.useState)(n),s=(0,S.Z)(i,2),c=s[0],u=s[1],f=(0,h.useState)(!1),d=(0,S.Z)(f,2),p=d[0],m=d[1],v=(0,a.Z)((0,a.Z)({},o),{},{visible:c});(0,h.useEffect)(function(){u(n),n&&r&&m((0,N.Z)())},[n,r]);var g=p?h.createElement(eq,(0,l.Z)({},v,{mobile:r,ref:t})):h.createElement(eW,(0,l.Z)({},v,{ref:t}));return h.createElement("div",null,h.createElement(P,v),g)});eK.displayName="Popup";var eG=h.createContext(null);function eY(){}var eX=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],eQ=(r=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(e){var r,o;return(0,s.Z)(this,n),r=t.call(this,e),(0,p.Z)((0,u.Z)(r),"popupRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"triggerRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"portalContainer",void 0),(0,p.Z)((0,u.Z)(r),"attachId",void 0),(0,p.Z)((0,u.Z)(r),"clickOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"touchOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler1",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler2",void 0),(0,p.Z)((0,u.Z)(r),"mouseDownTimeout",void 0),(0,p.Z)((0,u.Z)(r),"focusTime",void 0),(0,p.Z)((0,u.Z)(r),"preClickTime",void 0),(0,p.Z)((0,u.Z)(r),"preTouchTime",void 0),(0,p.Z)((0,u.Z)(r),"delayTimer",void 0),(0,p.Z)((0,u.Z)(r),"hasPopupMouseDown",void 0),(0,p.Z)((0,u.Z)(r),"onMouseEnter",function(e){var t=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",e),r.delaySetPopupVisible(!0,t,t?null:e)}),(0,p.Z)((0,u.Z)(r),"onMouseMove",function(e){r.fireEvents("onMouseMove",e),r.setPoint(e)}),(0,p.Z)((0,u.Z)(r),"onMouseLeave",function(e){r.fireEvents("onMouseLeave",e),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseEnter",function(){r.clearDelayTimer()}),(0,p.Z)((0,u.Z)(r),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,g.Z)(null===(t=r.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onFocus",function(e){r.fireEvents("onFocus",e),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))}),(0,p.Z)((0,u.Z)(r),"onMouseDown",function(e){r.fireEvents("onMouseDown",e),r.preClickTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onTouchStart",function(e){r.fireEvents("onTouchStart",e),r.preTouchTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onBlur",function(e){r.fireEvents("onBlur",e),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)}),(0,p.Z)((0,u.Z)(r),"onContextMenu",function(e){e.preventDefault(),r.fireEvents("onContextMenu",e),r.setPopupVisible(!0,e)}),(0,p.Z)((0,u.Z)(r),"onContextMenuClose",function(){r.isContextMenuToShow()&&r.close()}),(0,p.Z)((0,u.Z)(r),"onClick",function(e){if(r.fireEvents("onClick",e),r.focusTime){var t;if(r.preClickTime&&r.preTouchTime?t=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?t=r.preClickTime:r.preTouchTime&&(t=r.preTouchTime),20>Math.abs(t-r.focusTime))return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,e)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseDown",function(){if(r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout(function(){r.hasPopupMouseDown=!1},0),r.context){var e;(e=r.context).onPopupMouseDown.apply(e,arguments)}}),(0,p.Z)((0,u.Z)(r),"onDocumentClick",function(e){if(!r.props.mask||r.props.maskClosable){var t=e.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(!(0,g.Z)(n,t)||r.isContextMenuOnly())&&!(0,g.Z)(o,t)&&!r.hasPopupMouseDown&&r.close()}}),(0,p.Z)((0,u.Z)(r),"getRootDomNode",function(){var e=r.props.getTriggerDOMNode;if(e)return e(r.triggerRef.current);try{var t=(0,y.Z)(r.triggerRef.current);if(t)return t}catch(n){}return m.findDOMNode((0,u.Z)(r))}),(0,p.Z)((0,u.Z)(r),"getPopupClassNameFromAlign",function(e){var t=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,l=n.alignPoint,s=n.getPopupClassNameFromAlign;return o&&i&&t.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(67294),o=n(11805)},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){e.removeEventListener&&e.removeEventListener(t,i,o)}}}},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return p},jL:function(){return d}});var r=n(98924),o=n(94999),i="data-rc-order",a=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function c(e){return Array.from((a.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),(null==n?void 0:n.nonce)&&(a.nonce=null==n?void 0:n.nonce),a.innerHTML=e;var l=s(t),u=l.firstChild;if(o){if("queue"===o){var f=c(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(s(t)).find(function(n){return n.getAttribute(l(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(e,t);n&&s(t).removeChild(n)}function p(e,t){var n,r,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=a.get(e);if(!n||!(0,o.Z)(document,n)){var r=u("",t),i=r.parentNode;a.set(e,i),e.removeChild(r)}}(s(c),c);var d=f(t,c);if(d)return(null===(n=c.csp)||void 0===n?void 0:n.nonce)&&d.nonce!==(null===(r=c.csp)||void 0===r?void 0:r.nonce)&&(d.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),d.innerHTML!==e&&(d.innerHTML=e),d;var p=u(e,c);return p.setAttribute(l(c),t),p}},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e instanceof HTMLElement?e:r.findDOMNode(e)}},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),l=null;return i&&!Number.isNaN(a)?l=a:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||t&&l<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter(function(e){return i(e,t)});return i(e,t)&&n.unshift(e),n}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof HTMLElement&&e.offsetParent)return!0;if(e instanceof SVGGraphicsElement&&e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e instanceof HTMLElement&&e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}return!1}},15105:function(e,t){"use strict";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},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return g},v:function(){return b}});var r,o,i=n(74165),a=n(15861),l=n(71002),s=n(1413),c=n(73935),u=(0,s.Z)({},r||(r=n.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(h){}function m(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function g(e,t){if(o){var n,r;n=t,m(!0),r=n[v]||o(n),m(!1),r.render(e),n[v]=r;return}d(e,t)}function y(){return(y=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function b(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return y.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor');\n }\n }\n }\n const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useIntersection).useIntersection({\n rootMargin: '200px'\n });\n const setRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n if (childRef) {\n if (typeof childRef === 'function') childRef(el);\n else if (typeof childRef === 'object') {\n childRef.current = el;\n }\n }\n }, [\n as,\n childRef,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n // Prefetch the URL if we haven't already and it's visible.\n _react.default.useEffect(()=>{\n // in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.\n if (process.env.NODE_ENV !== 'production') {\n return;\n }\n if (!router) {\n return;\n }\n // If we don't need to prefetch the URL, don't do prefetch.\n if (!isVisible || !prefetchEnabled) {\n return;\n }\n // Prefetch the URL.\n prefetch(router, href, as, {\n locale\n });\n }, [\n as,\n href,\n isVisible,\n locale,\n prefetchEnabled,\n pagesRouter == null ? void 0 : pagesRouter.locale,\n router, \n ]);\n const childProps = {\n ref: setRef,\n onClick (e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(`Component rendered inside next/link has to pass click event to \"onClick\" prop.`);\n }\n }\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n if (!router) {\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n linkClicked(e, router, href, as, replace, shallow, scroll, locale, isAppRouter, prefetchEnabled);\n },\n onMouseEnter (e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {\n child.props.onMouseEnter(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n },\n onTouchStart (e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onTouchStart === 'function') {\n child.props.onTouchStart(e);\n }\n if (!router) {\n return;\n }\n if (!prefetchEnabled && isAppRouter) {\n return;\n }\n prefetch(router, href, as, {\n locale,\n priority: true,\n // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}\n bypassPrefetchedCheck: true\n });\n }\n };\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {\n const curLocale = typeof locale !== 'undefined' ? locale : pagesRouter == null ? void 0 : pagesRouter.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = (pagesRouter == null ? void 0 : pagesRouter.isLocaleDomain) && (0, _getDomainLocale).getDomainLocale(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.locales, pagesRouter == null ? void 0 : pagesRouter.domainLocales);\n childProps.href = localeDomain || (0, _addBasePath).addBasePath((0, _addLocale).addLocale(as, curLocale, pagesRouter == null ? void 0 : pagesRouter.defaultLocale));\n }\n return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ _react.default.createElement(\"a\", Object.assign({}, restProps, childProps), children);\n});\nvar _default = Link;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useIntersection = useIntersection;\nvar _react = require(\"react\");\nvar _requestIdleCallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver === 'function';\nconst observers = new Map();\nconst idList = [];\nfunction createObserver(options) {\n const id = {\n root: options.root || null,\n margin: options.rootMargin || ''\n };\n const existing = idList.find((obj)=>obj.root === id.root && obj.margin === id.margin);\n let instance;\n if (existing) {\n instance = observers.get(existing);\n if (instance) {\n return instance;\n }\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n instance = {\n id,\n observer,\n elements\n };\n idList.push(id);\n observers.set(id, instance);\n return instance;\n}\nfunction observe(element, callback, options) {\n const { id , observer , elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n const index = idList.findIndex((obj)=>obj.root === id.root && obj.margin === id.margin);\n if (index > -1) {\n idList.splice(index, 1);\n }\n }\n };\n}\nfunction useIntersection({ rootRef , rootMargin , disabled }) {\n const isDisabled = disabled || !hasIntersectionObserver;\n const [visible, setVisible] = (0, _react).useState(false);\n const [element, setElement] = (0, _react).useState(null);\n (0, _react).useEffect(()=>{\n if (hasIntersectionObserver) {\n if (isDisabled || visible) return;\n if (element && element.tagName) {\n const unobserve = observe(element, (isVisible)=>isVisible && setVisible(isVisible), {\n root: rootRef == null ? void 0 : rootRef.current,\n rootMargin\n });\n return unobserve;\n }\n } else {\n if (!visible) {\n const idleCallback = (0, _requestIdleCallback).requestIdleCallback(()=>setVisible(true));\n return ()=>(0, _requestIdleCallback).cancelIdleCallback(idleCallback);\n }\n }\n }, [\n element,\n isDisabled,\n rootMargin,\n rootRef,\n visible\n ]);\n const resetVisible = (0, _react).useCallback(()=>{\n setVisible(false);\n }, []);\n return [\n setElement,\n visible,\n resetVisible\n ];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-intersection.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = NoSSR;\nexports.suspense = suspense;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _noSsrError = require(\"./no-ssr-error\");\nfunction NoSSR({ children }) {\n if (typeof window === 'undefined') {\n suspense();\n }\n return children;\n}\n\nfunction suspense() {\n const error = new Error(_noSsrError.NEXT_DYNAMIC_NO_SSR_CODE);\n error.digest = _noSsrError.NEXT_DYNAMIC_NO_SSR_CODE;\n throw error;\n}\n\n//# sourceMappingURL=dynamic-no-ssr.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = dynamic;\nexports.noSSR = noSSR;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _loadable = _interop_require_default(require(\"./loadable\"));\nvar _dynamicNoSsr = _interop_require_default(require(\"./dynamic-no-ssr\"));\nfunction dynamic(dynamicOptions, options) {\n let loadableFn = _loadable.default;\n let loadableOptions = {\n // A loading component is not required, so we default it\n loading: ({ error , isLoading , pastDelay })=>{\n if (!pastDelay) return null;\n if (process.env.NODE_ENV !== 'production') {\n if (isLoading) {\n return null;\n }\n if (error) {\n return /*#__PURE__*/ _react.default.createElement(\"p\", null, error.message, /*#__PURE__*/ _react.default.createElement(\"br\", null), error.stack);\n }\n }\n return null;\n }\n };\n // Support for direct import(), eg: dynamic(import('../hello-world'))\n // Note that this is only kept for the edge case where someone is passing in a promise as first argument\n // The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))\n // To make sure we don't execute the import without rendering first\n if (dynamicOptions instanceof Promise) {\n loadableOptions.loader = ()=>dynamicOptions;\n // Support for having import as a function, eg: dynamic(() => import('../hello-world'))\n } else if (typeof dynamicOptions === 'function') {\n loadableOptions.loader = dynamicOptions;\n // Support for having first argument being options, eg: dynamic({loader: import('../hello-world')})\n } else if (typeof dynamicOptions === 'object') {\n loadableOptions = _extends({}, loadableOptions, dynamicOptions);\n }\n // Support for passing options, eg: dynamic(import('../hello-world'), {loading: () =>

Loading something

})\n loadableOptions = _extends({}, loadableOptions, options);\n const loaderFn = loadableOptions.loader;\n const loader = ()=>loaderFn().then(convertModule);\n // coming from build/babel/plugins/react-loadable-plugin.js\n if (loadableOptions.loadableGenerated) {\n loadableOptions = _extends({}, loadableOptions, loadableOptions.loadableGenerated, {\n loader\n });\n delete loadableOptions.loadableGenerated;\n }\n // support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).\n if (typeof loadableOptions.ssr === 'boolean') {\n if (!loadableOptions.ssr) {\n delete loadableOptions.ssr;\n return noSSR(loader, loadableOptions);\n }\n delete loadableOptions.ssr;\n }\n return loadableFn(loadableOptions);\n}\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule(mod) {\n return {\n default: mod.default || mod\n };\n}\nfunction noSSR(LoadableInitializer, loadableOptions) {\n // Removing webpack and modules means react-loadable won't try preloading\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n const NoSSRComponent = /*#__PURE__*/ (0, _react).lazy(LoadableInitializer);\n const Loading = loadableOptions.loading;\n const fallback = /*#__PURE__*/ _react.default.createElement(Loading, {\n error: null,\n isLoading: true,\n pastDelay: false,\n timedOut: false\n });\n return (props)=>/*#__PURE__*/ _react.default.createElement(_react.Suspense, {\n fallback: fallback\n }, /*#__PURE__*/ _react.default.createElement(_dynamicNoSsr.default, null, /*#__PURE__*/ _react.default.createElement(NoSSRComponent, Object.assign({}, props))));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=dynamic.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LoadableContext = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\n\nconst LoadableContext = _react.default.createContext(null);\nexports.LoadableContext = LoadableContext;\nif (process.env.NODE_ENV !== 'production') {\n LoadableContext.displayName = 'LoadableContext';\n}\n\n//# sourceMappingURL=loadable-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _loadableContext = require(\"./loadable-context\");\nconst ALL_INITIALIZERS = [];\nconst READY_INITIALIZERS = [];\nlet initialized = false;\nfunction load(loader) {\n let promise = loader();\n let state = {\n loading: true,\n loaded: null,\n error: null\n };\n state.promise = promise.then((loaded)=>{\n state.loading = false;\n state.loaded = loaded;\n return loaded;\n }).catch((err)=>{\n state.loading = false;\n state.error = err;\n throw err;\n });\n return state;\n}\nfunction createLoadableComponent(loadFn, options) {\n let opts = Object.assign({\n loader: null,\n loading: null,\n delay: 200,\n timeout: null,\n webpack: null,\n modules: null\n }, options);\n opts.lazy = _react.default.lazy(opts.loader);\n /** @type LoadableSubscription */ let subscription = null;\n function init() {\n if (!subscription) {\n const sub = new LoadableSubscription(loadFn, opts);\n subscription = {\n getCurrentValue: sub.getCurrentValue.bind(sub),\n subscribe: sub.subscribe.bind(sub),\n retry: sub.retry.bind(sub),\n promise: sub.promise.bind(sub)\n };\n }\n return subscription.promise();\n }\n // Server only\n if (typeof window === 'undefined') {\n ALL_INITIALIZERS.push(init);\n }\n // Client only\n if (!initialized && typeof window !== 'undefined') {\n // require.resolveWeak check is needed for environments that don't have it available like Jest\n const moduleIds = opts.webpack && typeof require.resolveWeak === 'function' ? opts.webpack() : opts.modules;\n if (moduleIds) {\n READY_INITIALIZERS.push((ids)=>{\n for (const moduleId of moduleIds){\n if (ids.indexOf(moduleId) !== -1) {\n return init();\n }\n }\n });\n }\n }\n function useLoadableModule() {\n init();\n const context = _react.default.useContext(_loadableContext.LoadableContext);\n if (context && Array.isArray(opts.modules)) {\n opts.modules.forEach((moduleName)=>{\n context(moduleName);\n });\n }\n }\n function LoadableComponent(props) {\n useLoadableModule();\n const fallbackElement = _react.default.createElement(opts.loading, {\n isLoading: true,\n pastDelay: true,\n error: null\n });\n return _react.default.createElement(_react.default.Suspense, {\n fallback: fallbackElement\n }, _react.default.createElement(opts.lazy, props));\n }\n LoadableComponent.preload = ()=>init();\n LoadableComponent.displayName = 'LoadableComponent';\n return LoadableComponent;\n}\nclass LoadableSubscription {\n promise() {\n return this._res.promise;\n }\n retry() {\n this._clearTimeouts();\n this._res = this._loadFn(this._opts.loader);\n this._state = {\n pastDelay: false,\n timedOut: false\n };\n const { _res: res , _opts: opts } = this;\n if (res.loading) {\n if (typeof opts.delay === 'number') {\n if (opts.delay === 0) {\n this._state.pastDelay = true;\n } else {\n this._delay = setTimeout(()=>{\n this._update({\n pastDelay: true\n });\n }, opts.delay);\n }\n }\n if (typeof opts.timeout === 'number') {\n this._timeout = setTimeout(()=>{\n this._update({\n timedOut: true\n });\n }, opts.timeout);\n }\n }\n this._res.promise.then(()=>{\n this._update({});\n this._clearTimeouts();\n }).catch((_err)=>{\n this._update({});\n this._clearTimeouts();\n });\n this._update({});\n }\n _update(partial) {\n this._state = _extends({}, this._state, {\n error: this._res.error,\n loaded: this._res.loaded,\n loading: this._res.loading\n }, partial);\n this._callbacks.forEach((callback)=>callback());\n }\n _clearTimeouts() {\n clearTimeout(this._delay);\n clearTimeout(this._timeout);\n }\n getCurrentValue() {\n return this._state;\n }\n subscribe(callback) {\n this._callbacks.add(callback);\n return ()=>{\n this._callbacks.delete(callback);\n };\n }\n constructor(loadFn, opts){\n this._loadFn = loadFn;\n this._opts = opts;\n this._callbacks = new Set();\n this._delay = null;\n this._timeout = null;\n this.retry();\n }\n}\nfunction Loadable(opts) {\n return createLoadableComponent(load, opts);\n}\nfunction flushInitializers(initializers, ids) {\n let promises = [];\n while(initializers.length){\n let init = initializers.pop();\n promises.push(init(ids));\n }\n return Promise.all(promises).then(()=>{\n if (initializers.length) {\n return flushInitializers(initializers, ids);\n }\n });\n}\nLoadable.preloadAll = ()=>{\n return new Promise((resolveInitializers, reject)=>{\n flushInitializers(ALL_INITIALIZERS).then(resolveInitializers, reject);\n });\n};\nLoadable.preloadReady = (ids = [])=>{\n return new Promise((resolvePreload)=>{\n const res = ()=>{\n initialized = true;\n return resolvePreload();\n };\n // We always will resolve, errors should be handled within loading UIs.\n flushInitializers(READY_INITIALIZERS, ids).then(res, res);\n });\n};\nif (typeof window !== 'undefined') {\n window.__NEXT_PRELOADREADY = Loadable.preloadReady;\n}\nvar _default = Loadable;\nexports.default = _default;\n\n//# sourceMappingURL=loadable.js.map","import React, { FC, useState } from 'react';\n\nimport { Button, Input, Modal } from 'antd';\nimport { STATUS_ERROR, STATUS_SUCCESS } from '../../utils/input-statuses';\nimport { fetchData, FEDERATION_MESSAGE_SEND } from '../../utils/apis';\n\nconst { TextArea } = Input;\n\nexport type ComposeFederatedPostProps = {\n open: boolean;\n handleClose: () => void;\n};\n\nexport const ComposeFederatedPost: FC = ({ open, handleClose }) => {\n const [content, setContent] = useState('');\n const [postPending, setPostPending] = useState(false);\n const [postSuccessState, setPostSuccessState] = useState(null);\n\n function handleEditorChange(e) {\n setContent(e.target.value);\n }\n\n function close() {\n setPostPending(false);\n setPostSuccessState(null);\n handleClose();\n }\n\n async function sendButtonClicked() {\n setPostPending(true);\n\n const data = {\n value: content,\n };\n try {\n await fetchData(FEDERATION_MESSAGE_SEND, {\n data,\n method: 'POST',\n auth: true,\n });\n setPostSuccessState(STATUS_SUCCESS);\n setTimeout(close, 1000);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(e);\n setPostSuccessState(STATUS_ERROR);\n }\n setPostPending(false);\n }\n\n return (\n handleClose()}>Cancel,\n \n {postSuccessState?.toUpperCase() || 'Post'}\n ,\n ]}\n >\n

\n Tell the world about your future streaming plans or let your followers know to tune in.\n

\n \n \n );\n};\n","import React, { FC, ReactNode, useContext, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport Link from 'next/link';\nimport Head from 'next/head';\nimport { differenceInSeconds } from 'date-fns';\nimport { useRouter } from 'next/router';\nimport { Layout, Menu, Alert, Button, Space, Tooltip } from 'antd';\n\nimport classNames from 'classnames';\nimport dynamic from 'next/dynamic';\nimport { upgradeVersionAvailable } from '../../utils/apis';\nimport { parseSecondsToDurationString } from '../../utils/format';\n\nimport { OwncastLogo } from '../common/OwncastLogo/OwncastLogo';\nimport { ServerStatusContext } from '../../utils/server-status-context';\nimport { AlertMessageContext } from '../../utils/alert-message-context';\n\nimport { TextFieldWithSubmit } from './TextFieldWithSubmit';\nimport { TEXTFIELD_PROPS_STREAM_TITLE } from '../../utils/config-constants';\nimport { ComposeFederatedPost } from './ComposeFederatedPost';\nimport { UpdateArgs } from '../../types/config-section';\n\n// Lazy loaded components\n\nconst SettingOutlined = dynamic(() => import('@ant-design/icons/SettingOutlined'), {\n ssr: false,\n}); // Lazy loaded components\n\nconst HomeOutlined = dynamic(() => import('@ant-design/icons/HomeOutlined'), {\n ssr: false,\n});\n\nconst LineChartOutlined = dynamic(() => import('@ant-design/icons/LineChartOutlined'), {\n ssr: false,\n});\n\nconst ToolOutlined = dynamic(() => import('@ant-design/icons/ToolOutlined'), {\n ssr: false,\n});\n\nconst PlayCircleFilled = dynamic(() => import('@ant-design/icons/PlayCircleFilled'), {\n ssr: false,\n});\n\nconst MinusSquareFilled = dynamic(() => import('@ant-design/icons/MinusSquareFilled'), {\n ssr: false,\n});\n\nconst QuestionCircleOutlined = dynamic(() => import('@ant-design/icons/QuestionCircleOutlined'), {\n ssr: false,\n});\n\nconst MessageOutlined = dynamic(() => import('@ant-design/icons/MessageOutlined'), {\n ssr: false,\n});\n\nconst ExperimentOutlined = dynamic(() => import('@ant-design/icons/ExperimentOutlined'), {\n ssr: false,\n});\n\nconst EditOutlined = dynamic(() => import('@ant-design/icons/EditOutlined'), {\n ssr: false,\n});\n\nexport type MainLayoutProps = {\n children: ReactNode;\n};\n\nexport const MainLayout: FC = ({ children }) => {\n const context = useContext(ServerStatusContext);\n const { serverConfig, online, broadcaster, versionNumber } = context || {};\n const { instanceDetails, chatDisabled, federation } = serverConfig;\n const { enabled: federationEnabled } = federation;\n\n const [currentStreamTitle, setCurrentStreamTitle] = useState('');\n const [postModalDisplayed, setPostModalDisplayed] = useState(false);\n\n const alertMessage = useContext(AlertMessageContext);\n\n const router = useRouter();\n const { route } = router || {};\n\n const { Header, Footer, Content, Sider } = Layout;\n\n const [upgradeVersion, setUpgradeVersion] = useState('');\n const checkForUpgrade = async () => {\n try {\n const result = await upgradeVersionAvailable(versionNumber);\n setUpgradeVersion(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n checkForUpgrade();\n }, [versionNumber]);\n\n useEffect(() => {\n setCurrentStreamTitle(instanceDetails.streamTitle);\n }, [instanceDetails]);\n\n const handleStreamTitleChanged = ({ value }: UpdateArgs) => {\n setCurrentStreamTitle(value);\n };\n\n const handleCreatePostButtonPressed = () => {\n setPostModalDisplayed(true);\n };\n\n const appClass = classNames({\n 'app-container': true,\n online,\n });\n\n const upgradeVersionString = `${upgradeVersion}` || '';\n const upgradeMessage = `Upgrade to v${upgradeVersionString}`;\n const openMenuItems = upgradeVersion ? ['utilities-menu'] : [];\n\n const clearAlertMessage = () => {\n alertMessage.setMessage(null);\n };\n\n const headerAlertMessage = alertMessage.message ? (\n \n ) : null;\n\n // status indicator items\n const streamDurationString = broadcaster\n ? parseSecondsToDurationString(differenceInSeconds(new Date(), new Date(broadcaster.time)))\n : '';\n\n const statusIcon = online ? : ;\n const statusMessage = online ? `Online ${streamDurationString}` : 'Offline';\n\n const statusIndicator = (\n
\n {statusMessage}\n {statusIcon}\n
\n );\n\n const integrationsMenu = [\n {\n label: Webhooks,\n key: 'webhooks',\n },\n {\n label: Access Tokens,\n key: 'access-tokens',\n },\n {\n label: External Actions,\n key: 'actions',\n },\n ];\n\n const chatMenu = [\n {\n label: Messages,\n key: 'messages',\n },\n {\n label: Users,\n key: 'chat-users',\n },\n {\n label: Emojis,\n key: 'emojis',\n },\n ];\n\n const utilitiesMenu = [\n {\n label: Hardware,\n key: 'hardware-info',\n },\n {\n label: Stream Health,\n key: 'stream-health',\n },\n {\n label: Logs,\n key: 'logs',\n },\n federationEnabled && {\n label: Social Actions,\n key: 'federation-activities',\n },\n ];\n\n const configurationMenu = [\n {\n label: General,\n key: 'config-public-details',\n },\n {\n label: Server Setup,\n key: 'config-server',\n },\n {\n label: Video,\n key: 'config-video',\n },\n {\n label: Chat,\n key: 'config-chat',\n },\n {\n label: Social,\n key: 'config-federation',\n },\n {\n label: Notifications,\n key: 'config-notify',\n },\n ];\n\n const menuItems = [\n { label: Home, icon: , key: 'home' },\n {\n label: Viewers,\n icon: ,\n key: 'viewer-info',\n },\n !chatDisabled && {\n label: Chat & Users,\n icon: ,\n children: chatMenu,\n key: 'chat-and-users',\n },\n federationEnabled && {\n key: 'fediverse-followers',\n label: Followers,\n icon: (\n \n ),\n },\n {\n key: 'configuration',\n label: 'Configuration',\n icon: ,\n children: configurationMenu,\n },\n {\n key: 'utilities',\n label: 'Utilities',\n icon: ,\n children: utilitiesMenu,\n },\n {\n key: 'integrations',\n label: 'Integrations',\n icon: ,\n children: integrationsMenu,\n },\n upgradeVersion && {\n key: 'upgrade',\n label: {upgradeMessage},\n },\n {\n key: 'help',\n label: Help,\n icon: ,\n },\n ];\n return (\n \n \n Owncast Admin\n \n \n\n \n

\n \n \n \n Owncast Admin\n

\n \n
\n\n \n
\n \n \n }\n size=\"small\"\n onClick={handleCreatePostButtonPressed}\n style={{ display: federationEnabled ? 'block' : 'none', margin: '10px' }}\n >\n Compose Post\n \n \n \n
\n \n
\n {statusIndicator}\n
\n\n {headerAlertMessage}\n\n {children}\n\n
\n \n\n setPostModalDisplayed(false)}\n />\n \n );\n};\n\nMainLayout.propTypes = {\n children: PropTypes.element.isRequired,\n};\n","/* eslint-disable @next/next/no-css-tags */\nimport { AppProps } from 'next/app';\nimport { FC } from 'react';\nimport ServerStatusProvider from '../../utils/server-status-context';\nimport AlertMessageProvider from '../../utils/alert-message-context';\nimport { MainLayout } from '../admin/MainLayout';\n\n/*\nNOTE: A bunch of compiled css is loaded here for the Admin UI.\nThese are old stylesheets that were converted from sass and should not be\nedited or maintained. Instead we are using css modules everywhere. So if you\nneed to change a style rewrite the css file as a css module and import it\ninto the component that needs it, removing it from this global list.\n*/\nexport const AdminLayout: FC = ({ Component, pageProps }) => (\n <>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n);\n","// All these imports are almost exclusively for the Admin.\n// We should not be loading them for the main frontend UI.\n\n// order matters!\nimport '../styles/variables.css';\nimport '../styles/global.less';\nimport '../styles/globals.scss';\nimport '../styles/ant-overrides.scss';\n\n// TODO: Move this videojs sass to the player component.\nimport '../components/video/VideoJS/VideoJS.scss';\n\nimport { AppProps } from 'next/app';\nimport { ReactElement, ReactNode } from 'react';\nimport { NextPage } from 'next';\nimport { RecoilRoot } from 'recoil';\nimport { Router, useRouter } from 'next/router';\n\nimport { AdminLayout } from '../components/layouts/AdminLayout';\n\nexport type NextPageWithLayout

= NextPage & {\n getLayout?: (page: ReactElement) => ReactNode;\n};\n\ntype AppPropsWithLayout = AppProps & {\n Component: NextPageWithLayout;\n};\n\nexport default function App({ Component, pageProps }: AppPropsWithLayout) {\n const router = useRouter() as Router;\n const isAdminPage = router.pathname.startsWith('/admin');\n if (isAdminPage) {\n return ;\n }\n\n const layout = Component.getLayout ?? (page => page);\n\n return layout(\n \n \n ,\n );\n}\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const AlertMessageContext = React.createContext({\n message: null,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setMessage: (text?: string) => null,\n});\n\nconst AlertMessageProvider = ({ children }) => {\n const [message, setMessage] = useState('');\n\n const providerValue = {\n message,\n setMessage,\n };\n return (\n {children}\n );\n};\n\nAlertMessageProvider.propTypes = {\n children: PropTypes.element.isRequired,\n};\n\nexport default AlertMessageProvider;\n","/* eslint-disable prefer-destructuring */\nconst ADMIN_USERNAME = process.env.NEXT_PUBLIC_ADMIN_USERNAME;\nconst ADMIN_STREAMKEY = process.env.NEXT_PUBLIC_ADMIN_STREAMKEY;\nexport const NEXT_PUBLIC_API_HOST = process.env.NEXT_PUBLIC_API_HOST;\n\nconst API_LOCATION = `${NEXT_PUBLIC_API_HOST}api/admin/`;\n\nexport const FETCH_INTERVAL = 15000;\n\n// Current inbound broadcaster info\nexport const STATUS = `${API_LOCATION}status`;\n\n// Disconnect inbound stream\nexport const DISCONNECT = `${API_LOCATION}disconnect`;\n\n// Change the current streaming key in memory\nexport const STREAMKEY_CHANGE = `${API_LOCATION}changekey`;\n\n// Current server config\nexport const SERVER_CONFIG = `${API_LOCATION}serverconfig`;\n\n// Base url to update config settings\nexport const SERVER_CONFIG_UPDATE_URL = `${API_LOCATION}config`;\n\n// Get viewer count over time\nexport const VIEWERS_OVER_TIME = `${API_LOCATION}viewersOverTime`;\n\n// Get active viewer details\nexport const ACTIVE_VIEWER_DETAILS = `${API_LOCATION}viewers`;\n\n// Get currently connected chat clients\nexport const CONNECTED_CLIENTS = `${API_LOCATION}chat/clients`;\n\n// Get list of disabled/blocked chat users\nexport const DISABLED_USERS = `${API_LOCATION}chat/users/disabled`;\n\n// Disable/enable a single user\nexport const USER_ENABLED_TOGGLE = `${API_LOCATION}chat/users/setenabled`;\n\n// Get banned IP addresses\nexport const BANNED_IPS = `${API_LOCATION}chat/users/ipbans`;\n\n// Remove IP ban\nexport const BANNED_IP_REMOVE = `${API_LOCATION}chat/users/ipbans/remove`;\n\n// Disable/enable a single user\nexport const USER_SET_MODERATOR = `${API_LOCATION}chat/users/setmoderator`;\n\n// Get list of moderators\nexport const MODERATORS = `${API_LOCATION}chat/users/moderators`;\n\n// Get hardware stats\nexport const HARDWARE_STATS = `${API_LOCATION}hardwarestats`;\n\n// Get all logs\nexport const LOGS_ALL = `${API_LOCATION}logs`;\n\n// Get warnings + errors\nexport const LOGS_WARN = `${API_LOCATION}logs/warnings`;\n\n// Get chat history\nexport const CHAT_HISTORY = `${API_LOCATION}chat/messages`;\n\n// Get chat history\nexport const UPDATE_CHAT_MESSGAE_VIZ = `/api/admin/chat/messagevisibility`;\n\n// Upload a new custom emoji\nexport const UPLOAD_EMOJI = `${API_LOCATION}emoji/upload`;\n\n// Delete a custom emoji\nexport const DELETE_EMOJI = `${API_LOCATION}emoji/delete`;\n\n// Get all access tokens\nexport const ACCESS_TOKENS = `${API_LOCATION}accesstokens`;\n\n// Delete a single access token\nexport const DELETE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/delete`;\n\n// Create a new access token\nexport const CREATE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/create`;\n\n// Get webhooks\nexport const WEBHOOKS = `${API_LOCATION}webhooks`;\n\n// Delete a single webhook\nexport const DELETE_WEBHOOK = `${API_LOCATION}webhooks/delete`;\n\n// Create a single webhook\nexport const CREATE_WEBHOOK = `${API_LOCATION}webhooks/create`;\n\n// hard coded social icons list\nexport const SOCIAL_PLATFORMS_LIST = `${NEXT_PUBLIC_API_HOST}api/socialplatforms`;\n\n// set external action links\nexport const EXTERNAL_ACTIONS = `${API_LOCATION}api/externalactions`;\n\n// send a message to the fediverse\nexport const FEDERATION_MESSAGE_SEND = `${API_LOCATION}federation/send`;\n\n// Get followers\nexport const FOLLOWERS = `${API_LOCATION}followers`;\n\n// Get followers pending approval\nexport const FOLLOWERS_PENDING = `${API_LOCATION}followers/pending`;\n\n// Get followers who were blocked or rejected\nexport const FOLLOWERS_BLOCKED = `${API_LOCATION}followers/blocked`;\n\n// Approve, reject a follow request\nexport const SET_FOLLOWER_APPROVAL = `${API_LOCATION}followers/approve`;\n\n// List of inbound federated actions that took place.\nexport const FEDERATION_ACTIONS = `${API_LOCATION}federation/actions`;\n\nexport const API_STREAM_HEALTH_METRICS = `${API_LOCATION}metrics/video`;\n\n// Save an array of stream keys\nexport const UPDATE_STREAM_KEYS = `${API_LOCATION}config/streamkeys`;\n\nexport const API_YP_RESET = `${API_LOCATION}yp/reset`;\n\nexport const TEMP_UPDATER_API = LOGS_ALL;\n\nconst GITHUB_RELEASE_URL = 'https://api.github.com/repos/owncast/owncast/releases/latest';\n\ninterface FetchOptions {\n data?: any;\n method?: string;\n auth?: boolean;\n}\n\nexport async function fetchData(url: string, options?: FetchOptions) {\n const { data, method = 'GET', auth = true } = options || {};\n\n // eslint-disable-next-line no-undef\n const requestOptions: RequestInit = {\n method,\n };\n\n if (data) {\n requestOptions.body = JSON.stringify(data);\n }\n\n if (auth && ADMIN_USERNAME && ADMIN_STREAMKEY) {\n const encoded = btoa(`${ADMIN_USERNAME}:${ADMIN_STREAMKEY}`);\n requestOptions.headers = {\n Authorization: `Basic ${encoded}`,\n };\n requestOptions.mode = 'cors';\n requestOptions.credentials = 'include';\n }\n\n try {\n const response = await fetch(url, requestOptions);\n const json = await response.json();\n\n if (!response.ok) {\n const message = json.message || `An error has occurred: ${response.status}`;\n throw new Error(message);\n }\n return json;\n } catch (error) {\n console.error(error);\n return error;\n // console.log(error)\n // throw new Error(error)\n }\n}\n\nexport async function getUnauthedData(url: string, options?: FetchOptions) {\n const opts = {\n method: 'GET',\n auth: false,\n ...options,\n };\n return fetchData(url, opts);\n}\n\nexport async function fetchExternalData(url: string) {\n try {\n const response = await fetch(url, {\n referrerPolicy: 'no-referrer', // Send no referrer header for privacy reasons.\n referrer: '',\n });\n if (!response.ok) {\n const message = `An error has occured: ${response.status}`;\n throw new Error(message);\n }\n const json = await response.json();\n return json;\n } catch (error) {\n console.log(error);\n }\n return {};\n}\n\nexport async function getGithubRelease() {\n return fetchExternalData(GITHUB_RELEASE_URL);\n}\n\n// Stolen from https://gist.github.com/prenagha/98bbb03e27163bc2f5e4\nconst VPAT = /^\\d+(\\.\\d+){0,2}$/;\nfunction upToDate(local, remote) {\n if (!local || !remote || local.length === 0 || remote.length === 0) return false;\n if (local === remote) return true;\n if (VPAT.test(local) && VPAT.test(remote)) {\n const lparts = local.split('.');\n while (lparts.length < 3) lparts.push('0');\n const rparts = remote.split('.');\n while (rparts.length < 3) rparts.push('0');\n // eslint-disable-next-line no-plusplus\n for (let i = 0; i < 3; i++) {\n const l = parseInt(lparts[i], 10);\n const r = parseInt(rparts[i], 10);\n if (l === r)\n // eslint-disable-next-line no-continue\n continue;\n return l > r;\n }\n return true;\n }\n return local >= remote;\n}\n\n// Make a request to the server status API and the Github releases API\n// and return a release if it's newer than the server version.\nexport async function upgradeVersionAvailable(currentVersion) {\n const recentRelease = await getGithubRelease();\n let recentReleaseVersion = recentRelease.tag_name;\n\n if (recentReleaseVersion.substr(0, 1) === 'v') {\n recentReleaseVersion = recentReleaseVersion.substr(1);\n }\n\n if (!upToDate(currentVersion, recentReleaseVersion)) {\n return recentReleaseVersion;\n }\n\n return null;\n}\n","// DEFAULT VALUES\nimport { fetchData, SERVER_CONFIG_UPDATE_URL } from './apis';\nimport { ApiPostArgs, VideoVariant, SocialHandle } from '../types/config-section';\nimport { TEXTFIELD_TYPE_URL } from '../components/admin/TextField';\nimport { DEFAULT_TEXTFIELD_URL_PATTERN } from './urls';\n\nexport const TEXT_MAXLENGTH = 255;\n\nexport const RESET_TIMEOUT = 3000;\n\n// CONFIG API ENDPOINTS\nexport const API_CUSTOM_CONTENT = '/pagecontent';\nexport const API_CUSTOM_CSS_STYLES = '/customstyles';\nexport const API_FFMPEG = '/ffmpegpath';\nexport const API_INSTANCE_URL = '/serverurl';\nexport const API_LOGO = '/logo';\nexport const API_NSFW_SWITCH = '/nsfw';\nexport const API_RTMP_PORT = '/rtmpserverport';\nexport const API_S3_INFO = '/s3';\nexport const API_SERVER_SUMMARY = '/serversummary';\nexport const API_SERVER_WELCOME_MESSAGE = '/welcomemessage';\nexport const API_SERVER_OFFLINE_MESSAGE = '/offlinemessage';\nexport const API_SERVER_NAME = '/name';\nexport const API_SOCIAL_HANDLES = '/socialhandles';\nexport const API_STREAM_KEY = '/key';\nexport const API_STREAM_TITLE = '/streamtitle';\nexport const API_TAGS = '/tags';\nexport const API_USERNAME = '/name';\nexport const API_VIDEO_SEGMENTS = '/video/streamlatencylevel';\nexport const API_VIDEO_VARIANTS = '/video/streamoutputvariants';\nexport const API_WEB_PORT = '/webserverport';\nexport const API_YP_SWITCH = '/directoryenabled';\nexport const API_HIDE_VIEWER_COUNT = '/hideviewercount';\nexport const API_CHAT_DISABLE = '/chat/disable';\nexport const API_CHAT_JOIN_MESSAGES_ENABLED = '/chat/joinmessagesenabled';\nexport const API_CHAT_ESTABLISHED_MODE = '/chat/establishedusermode';\nexport const API_CHAT_FORBIDDEN_USERNAMES = '/chat/forbiddenusernames';\nexport const API_CHAT_SUGGESTED_USERNAMES = '/chat/suggestedusernames';\nexport const API_EXTERNAL_ACTIONS = '/externalactions';\nexport const API_VIDEO_CODEC = '/video/codec';\nexport const API_SOCKET_HOST_OVERRIDE = '/sockethostoverride';\n\n// Federation\nexport const API_FEDERATION_ENABLED = '/federation/enable';\nexport const API_FEDERATION_PRIVATE = '/federation/private';\nexport const API_FEDERATION_USERNAME = '/federation/username';\nexport const API_FEDERATION_GOLIVE_MESSAGE = '/federation/livemessage';\nexport const API_FEDERATION_SHOW_ENGAGEMENT = '/federation/showengagement';\nexport const API_FEDERATION_BLOCKED_DOMAINS = '/federation/blockdomains';\n\nexport async function postConfigUpdateToAPI(args: ApiPostArgs) {\n const { apiPath, data, onSuccess, onError } = args;\n const result = await fetchData(`${SERVER_CONFIG_UPDATE_URL}${apiPath}`, {\n data,\n method: 'POST',\n auth: true,\n });\n if (result.success && onSuccess) {\n onSuccess(result.message);\n } else if (onError) {\n onError(result.message);\n }\n}\n\n// Some default props to help build out a TextField\nexport const TEXTFIELD_PROPS_SERVER_NAME = {\n apiPath: API_SERVER_NAME,\n configPath: 'instanceDetails',\n maxLength: TEXT_MAXLENGTH,\n placeholder: 'Owncast site name', // like \"gothland\"\n label: 'Name',\n tip: 'The name of your Owncast server',\n required: true,\n useTrimLead: true,\n};\nexport const TEXTFIELD_PROPS_STREAM_TITLE = {\n apiPath: API_STREAM_TITLE,\n configPath: 'instanceDetails',\n maxLength: 100,\n placeholder: 'Doing cool things...',\n label: 'Stream Title',\n tip: 'What is your stream about today?',\n};\nexport const TEXTFIELD_PROPS_SERVER_SUMMARY = {\n apiPath: API_SERVER_SUMMARY,\n configPath: 'instanceDetails',\n maxLength: 500,\n placeholder: '',\n label: 'About',\n tip: 'A brief blurb about you, your server, or what your stream is about.',\n};\nexport const TEXTFIELD_PROPS_SERVER_OFFLINE_MESSAGE = {\n apiPath: API_SERVER_OFFLINE_MESSAGE,\n configPath: 'instanceDetails',\n maxLength: 2500,\n placeholder: 'An optional message you can leave people when your stream is not live.',\n label: 'Offline Message',\n tip: 'An optional message you can leave people when your stream is not live.',\n};\nexport const TEXTFIELD_PROPS_SERVER_WELCOME_MESSAGE = {\n apiPath: API_SERVER_WELCOME_MESSAGE,\n configPath: 'instanceDetails',\n maxLength: 2500,\n placeholder: '',\n label: 'Welcome Message',\n tip: 'A system chat message sent to viewers when they first connect to chat. Leave blank to disable.',\n};\nexport const TEXTFIELD_PROPS_LOGO = {\n apiPath: API_LOGO,\n configPath: 'instanceDetails',\n maxLength: 255,\n placeholder: '/img/mylogo.png',\n label: 'Logo',\n tip: 'Upload your logo if you have one (max size 2 MB). We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms.',\n};\nexport const TEXTFIELD_PROPS_ADMIN_PASSWORD = {\n apiPath: API_STREAM_KEY,\n configPath: '',\n maxLength: TEXT_MAXLENGTH,\n placeholder: 'abc123',\n label: 'Admin Password',\n tip: 'Save this password somewhere safe, you will need it to login to the admin dashboard!',\n required: true,\n};\nexport const TEXTFIELD_PROPS_FFMPEG = {\n apiPath: API_FFMPEG,\n configPath: '',\n maxLength: TEXT_MAXLENGTH,\n placeholder: '/usr/local/bin/ffmpeg',\n label: 'FFmpeg Path',\n tip: 'Absolute file path of the FFMPEG application on your server',\n required: true,\n};\nexport const TEXTFIELD_PROPS_WEB_PORT = {\n apiPath: API_WEB_PORT,\n configPath: '',\n maxLength: 6,\n placeholder: '8080',\n label: 'Owncast port',\n tip: 'What port is your Owncast web server listening? Default is 8080',\n required: true,\n};\nexport const TEXTFIELD_PROPS_RTMP_PORT = {\n apiPath: API_RTMP_PORT,\n configPath: '',\n maxLength: 6,\n placeholder: '1935',\n label: 'RTMP port',\n tip: 'What port should accept inbound broadcasts? Default is 1935',\n required: true,\n};\nexport const TEXTFIELD_PROPS_INSTANCE_URL = {\n apiPath: API_INSTANCE_URL,\n configPath: 'yp',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Server URL',\n tip: 'The full url to your Owncast server.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\nexport const TEXTFIELD_PROPS_SOCKET_HOST_OVERRIDE = {\n apiPath: API_SOCKET_HOST_OVERRIDE,\n configPath: '',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Websocket host override',\n tip: 'The direct URL of your Owncast server.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\n// MISC FIELDS\nexport const FIELD_PROPS_TAGS = {\n apiPath: API_TAGS,\n configPath: 'instanceDetails',\n maxLength: 24,\n placeholder: 'Add a new tag',\n required: true,\n label: '',\n tip: '',\n};\n\nexport const FIELD_PROPS_NSFW = {\n apiPath: API_NSFW_SWITCH,\n configPath: 'instanceDetails',\n label: 'NSFW?',\n tip: \"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory.\",\n};\n\nexport const FIELD_PROPS_YP = {\n apiPath: API_YP_SWITCH,\n configPath: 'yp',\n label: 'Enable directory',\n tip: 'Turn this ON to request to show up in the directory.',\n};\n\nexport const FIELD_PROPS_HIDE_VIEWER_COUNT = {\n apiPath: API_HIDE_VIEWER_COUNT,\n configPath: '',\n label: 'Hide viewer count',\n tip: 'Turn this ON to hide the viewer count the web page.',\n};\n\nexport const DEFAULT_VARIANT_STATE: VideoVariant = {\n framerate: 24,\n videoPassthrough: false,\n videoBitrate: 800,\n audioPassthrough: true, // if false, then CAN set audiobitrate\n audioBitrate: 0,\n cpuUsageLevel: 3,\n scaledHeight: null,\n scaledWidth: null,\n name: '',\n};\n\nexport const FIELD_PROPS_DISABLE_CHAT = {\n apiPath: API_CHAT_DISABLE,\n configPath: '',\n label: 'Chat',\n tip: 'Turn the chat functionality on/off on your Owncast server.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_CHAT_JOIN_MESSAGES_ENABLED = {\n apiPath: API_CHAT_JOIN_MESSAGES_ENABLED,\n configPath: '',\n label: 'Join Messages',\n tip: 'Show when a viewer joins the chat.',\n useSubmit: true,\n};\n\nexport const CHAT_ESTABLISHED_USER_MODE = {\n apiPath: API_CHAT_ESTABLISHED_MODE,\n configPath: '',\n label: 'Established users only',\n tip: 'Only users who have previously been established for some time may chat.',\n useSubmit: true,\n};\n\nexport const TEXTFIELD_PROPS_CHAT_FORBIDDEN_USERNAMES = {\n apiPath: API_CHAT_FORBIDDEN_USERNAMES,\n placeholder: 'username',\n label: 'Forbidden usernames',\n tip: 'A list of words in chat usernames you disallow.',\n};\n\nexport const TEXTFIELD_PROPS_CHAT_SUGGESTED_USERNAMES = {\n apiPath: API_CHAT_SUGGESTED_USERNAMES,\n placeholder: 'username',\n label: 'Default usernames',\n tip: 'An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.',\n min_not_reached: 'At least 10 items are required for this feature.',\n no_entries: 'The default name generator is used.',\n};\n\nexport const FIELD_PROPS_ENABLE_FEDERATION = {\n apiPath: API_FEDERATION_ENABLED,\n configPath: 'federation',\n label: 'Enable Social Features',\n tip: 'Send and receive activities on the Fediverse.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_FEDERATION_IS_PRIVATE = {\n apiPath: API_FEDERATION_PRIVATE,\n configPath: 'federation',\n label: 'Private',\n tip: 'Follow requests will require approval and only followers will see your activity.',\n useSubmit: true,\n};\n\nexport const FIELD_PROPS_SHOW_FEDERATION_ENGAGEMENT = {\n apiPath: API_FEDERATION_SHOW_ENGAGEMENT,\n configPath: 'showEngagement',\n label: 'Show engagement',\n tip: 'Following, liking and sharing will appear in the chat feed.',\n useSubmit: true,\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_LIVE_MESSAGE = {\n apiPath: API_FEDERATION_GOLIVE_MESSAGE,\n configPath: 'federation',\n maxLength: 500,\n placeholder: 'My stream has started, tune in!',\n label: 'Now Live message',\n tip: 'The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable.',\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_DEFAULT_USER = {\n apiPath: API_FEDERATION_USERNAME,\n configPath: 'federation',\n maxLength: 10,\n placeholder: 'owncast',\n default: 'owncast',\n label: 'Username',\n tip: 'The username used for sending and receiving activities from the Fediverse. For example, if you use \"bob\" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.',\n};\n\nexport const TEXTFIELD_PROPS_FEDERATION_INSTANCE_URL = {\n apiPath: API_INSTANCE_URL,\n configPath: 'yp',\n maxLength: 255,\n placeholder: 'https://owncast.mysite.com',\n label: 'Server URL',\n tip: 'The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n};\n\nexport const FIELD_PROPS_FEDERATION_NSFW = {\n apiPath: API_NSFW_SWITCH,\n configPath: 'instanceDetails',\n label: 'Potentially NSFW',\n tip: 'Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive.',\n};\n\nexport const FIELD_PROPS_FEDERATION_BLOCKED_DOMAINS = {\n apiPath: API_FEDERATION_BLOCKED_DOMAINS,\n configPath: 'federation',\n label: 'Blocked domains',\n placeholder: 'bad.domain.biz',\n tip: 'You can block specific domains from interacting with you.',\n};\n\nexport const VIDEO_VARIANT_SETTING_DEFAULTS = {\n // this one is currently unused\n audioBitrate: {\n min: 600,\n max: 1200,\n defaultValue: 800,\n unit: 'kbps',\n incrementBy: 100,\n tip: 'nothing to see here',\n },\n videoPassthrough: {\n tip: 'If enabled, all other settings will be disabled. Otherwise configure as desired.',\n },\n audioPassthrough: {\n tip: 'If No is selected, then you should set your desired Audio Bitrate.',\n },\n scaledWidth: {\n fieldName: 'scaledWidth',\n label: 'Resized Width',\n maxLength: 4,\n placeholder: '1080',\n tip: \"Optionally resize this content's width.\",\n },\n scaledHeight: {\n fieldName: 'scaledHeight',\n label: 'Resized Height',\n maxLength: 4,\n placeholder: '720',\n tip: \"Optionally resize this content's height.\",\n },\n};\n\n// VIDEO VARIANT FORM - framerate\nexport const FRAMERATE_DEFAULTS = {\n min: 24,\n max: 120,\n defaultValue: 24,\n unit: 'fps',\n incrementBy: null,\n tip: 'Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content.',\n};\nexport const FRAMERATE_SLIDER_MARKS = {\n [FRAMERATE_DEFAULTS.min]: `${FRAMERATE_DEFAULTS.min} ${FRAMERATE_DEFAULTS.unit}`,\n 25: ' ',\n 30: ' ',\n 50: ' ',\n 60: ' ',\n 90: ' ',\n [FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max} ${FRAMERATE_DEFAULTS.unit}`,\n};\nexport const FRAMERATE_TOOLTIPS = {\n [FRAMERATE_DEFAULTS.min]: `${FRAMERATE_DEFAULTS.min}fps - Good for film, presentations, music, low power/bandwidth servers.`,\n 25: '25fps - Good for film, presentations, music, low power/bandwidth servers.',\n 30: '30fps - Good for slow/casual games, chat, general purpose.',\n 50: '50fps - Good for fast/action games, sports, HD video.',\n 60: '60fps - Good for fast/action games, sports, HD video.',\n 90: '90fps - Good for newer fast games and hardware.',\n [FRAMERATE_DEFAULTS.max]: `${FRAMERATE_DEFAULTS.max}fps - Experimental, use at your own risk!`,\n};\n// VIDEO VARIANT FORM - bitrate\nexport const VIDEO_BITRATE_DEFAULTS = {\n min: 400,\n max: 6000,\n defaultValue: 1200,\n unit: 'kbps',\n incrementBy: 100,\n tip: 'The overall quality of your stream is generally impacted most by bitrate.',\n};\n\nexport const VIDEO_NAME_DEFAULTS = {\n fieldName: 'name',\n label: 'Name',\n maxLength: 15,\n placeholder: 'HD or Low',\n tip: 'Human-readable name for for displaying in the player.',\n};\n\nexport const VIDEO_BITRATE_SLIDER_MARKS = {\n [VIDEO_BITRATE_DEFAULTS.min]: {\n style: {\n marginLeft: '24px',\n },\n label: `${VIDEO_BITRATE_DEFAULTS.min} ${VIDEO_BITRATE_DEFAULTS.unit}`,\n },\n 3000: 3000,\n 4500: 4500,\n [VIDEO_BITRATE_DEFAULTS.max]: {\n style: {\n marginLeft: '-10px',\n },\n label: `${VIDEO_BITRATE_DEFAULTS.max} ${VIDEO_BITRATE_DEFAULTS.unit}`,\n },\n};\n// VIDEO VARIANT FORM - encoder preset\n// CPU\nexport const ENCODER_PRESET_SLIDER_MARKS = {\n 1: {\n style: {\n marginLeft: '15px',\n },\n label:

lowest

,\n },\n 2: '',\n 3: '',\n 4: '',\n 5: {\n style: {\n marginLeft: '-15px',\n },\n label:

highest

,\n },\n};\nexport const ENCODER_PRESET_TOOLTIPS = {\n 1: 'Lowest hardware usage - lowest quality video',\n 2: 'Low hardware usage - low quality video',\n 3: 'Medium hardware usage - average quality video',\n 4: 'High hardware usage - high quality video',\n 5: 'Highest hardware usage - higher quality video',\n};\n\nexport const ENCODER_RECOMMENDATION_THRESHOLD = {\n VIDEO_HEIGHT: 1080,\n VIDEO_BITRATE: 3000,\n HELP_TEXT:\n 'You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!',\n};\n\nexport const DEFAULT_SOCIAL_HANDLE: SocialHandle = {\n url: '',\n platform: '',\n};\n\nexport const OTHER_SOCIAL_HANDLE_OPTION = 'OTHER_SOCIAL_HANDLE_OPTION';\n\nexport const TEXTFIELD_PROPS_S3_COMMON = {\n maxLength: 255,\n};\n\nexport const S3_TEXT_FIELDS_INFO = {\n accessKey: {\n fieldName: 'accessKey',\n label: 'Access Key',\n maxLength: 255,\n placeholder: 'access key 123',\n tip: '',\n },\n acl: {\n fieldName: 'acl',\n label: 'ACL',\n maxLength: 255,\n placeholder: '',\n tip: 'Optional specific access control value to add to your content. Generally not required.',\n },\n bucket: {\n fieldName: 'bucket',\n label: 'Bucket',\n maxLength: 255,\n placeholder: 'bucket 123',\n tip: 'Create a new bucket for each Owncast instance you may be running.',\n },\n endpoint: {\n fieldName: 'endpoint',\n label: 'Endpoint',\n maxLength: 255,\n placeholder: 'https://your.s3.provider.endpoint.com',\n tip: 'The full URL (with \"https://\") endpoint from your storage provider.',\n useTrim: true,\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n },\n region: {\n fieldName: 'region',\n label: 'Region',\n maxLength: 255,\n placeholder: 'region 123',\n tip: '',\n },\n secret: {\n fieldName: 'secret',\n label: 'Secret key',\n maxLength: 255,\n placeholder: 'your secret key',\n tip: '',\n },\n servingEndpoint: {\n fieldName: 'servingEndpoint',\n label: 'Serving Endpoint',\n maxLength: 255,\n placeholder: 'http://cdn.ss3.provider.endpoint.com',\n tip: 'Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n },\n forcePathStyle: {\n fieldName: 'forcePathStyle',\n label: 'Force path-style',\n tip: \"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)\",\n },\n};\n\nexport const DISCORD_CONFIG_FIELDS = {\n webhookUrl: {\n fieldName: 'webhook',\n label: 'Webhook URL',\n maxLength: 255,\n placeholder: 'https://discord.com/api/webhooks/837/jf38-6iNEv',\n tip: 'The webhook assigned to your channel.',\n type: TEXTFIELD_TYPE_URL,\n pattern: DEFAULT_TEXTFIELD_URL_PATTERN,\n useTrim: true,\n },\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 300,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n\nexport const BROWSER_PUSH_CONFIG_FIELDS = {\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 200,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n\nexport const TWITTER_CONFIG_FIELDS = {\n apiKey: {\n fieldName: 'apiKey',\n label: 'API Key',\n maxLength: 200,\n tip: '',\n placeholder: `gaUQhRC2lqfrEFfElBXJgOctU`,\n },\n apiSecret: {\n fieldName: 'apiSecret',\n label: 'API Secret',\n maxLength: 200,\n tip: '',\n placeholder: `IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS`,\n },\n accessToken: {\n fieldName: 'accessToken',\n label: 'Access Token',\n maxLength: 200,\n tip: '',\n placeholder: `952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka`,\n },\n accessTokenSecret: {\n fieldName: 'accessTokenSecret',\n label: 'Access Token Secret',\n maxLength: 200,\n tip: '',\n placeholder: `xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg`,\n },\n bearerToken: {\n fieldName: 'bearerToken',\n label: 'Bearer Token',\n maxLength: 200,\n tip: '',\n placeholder: `AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK`,\n },\n goLiveMessage: {\n fieldName: 'goLiveMessage',\n label: 'Go Live Text',\n maxLength: 200,\n tip: 'The text to send when you go live.',\n placeholder: `I've gone live! Come watch!`,\n },\n};\n","import UAParser from 'ua-parser-js';\n\nexport function formatIPAddress(ipAddress: string): string {\n const ipAddressComponents = ipAddress.split(':');\n\n // Wipe out the port component\n ipAddressComponents[ipAddressComponents.length - 1] = '';\n\n let ip = ipAddressComponents.join(':');\n ip = ip.slice(0, ip.length - 1);\n if (ip === '[::1]' || ip === '127.0.0.1') {\n return 'Localhost';\n }\n\n return ip;\n}\n\n// check if obj is {}\nexport function isEmptyObject(obj) {\n return !obj || (Object.keys(obj).length === 0 && obj.constructor === Object);\n}\n\nexport function padLeft(text, pad, size) {\n return String(pad.repeat(size) + text).slice(-size);\n}\n\nexport function parseSecondsToDurationString(seconds = 0) {\n const finiteSeconds = Number.isFinite(+seconds) ? Math.abs(seconds) : 0;\n\n const days = Math.floor(finiteSeconds / 86400);\n const daysString = days > 0 ? `${days} day${days > 1 ? 's' : ''} ` : '';\n\n const hours = Math.floor((finiteSeconds / 3600) % 24);\n const hoursString = hours || days ? padLeft(`${hours}:`, '0', 3) : '';\n\n const mins = Math.floor((finiteSeconds / 60) % 60);\n const minString = padLeft(`${mins}:`, '0', 3);\n\n const secs = Math.floor(finiteSeconds % 60);\n const secsString = padLeft(`${secs}`, '0', 2);\n\n return daysString + hoursString + minString + secsString;\n}\n\nexport function makeAndStringFromArray(arr: string[]): string {\n if (arr.length === 1) return arr[0];\n const firsts = arr.slice(0, arr.length - 1);\n const last = arr[arr.length - 1];\n return `${firsts.join(', ')} and ${last}`;\n}\n\nexport function formatUAstring(uaString: string) {\n const parser = UAParser(uaString);\n const { device, os, browser } = parser;\n const { major: browserVersion, name } = browser;\n const { version: osVersion, name: osName } = os;\n const { model, type } = device;\n\n if (uaString === 'libmpv') {\n return 'mpv media player';\n }\n // Fallback to just displaying the raw agent string.\n if (!name || !browserVersion || !osName) {\n return uaString;\n }\n\n const deviceString = model || type ? ` (${model || type})` : '';\n return `${name} ${browserVersion} on ${osName} ${osVersion}\n ${deviceString}`;\n}\n","import dynamic from 'next/dynamic';\n\n// Lazy loaded components\n\nconst CheckCircleFilled = dynamic(() => import('@ant-design/icons/CheckCircleFilled'), {\n ssr: false,\n});\n\nconst ExclamationCircleFilled = dynamic(() => import('@ant-design/icons/ExclamationCircleFilled'), {\n ssr: false,\n});\n\nconst LoadingOutlined = dynamic(() => import('@ant-design/icons/LoadingOutlined'), {\n ssr: false,\n});\n\nconst WarningOutlined = dynamic(() => import('@ant-design/icons/WarningOutlined'), {\n ssr: false,\n});\n\nexport const STATUS_RESET_TIMEOUT = 3000;\n\nexport const STATUS_ERROR = 'error';\nexport const STATUS_INVALID = 'invalid';\nexport const STATUS_PROCESSING = 'proessing';\nexport const STATUS_SUCCESS = 'success';\nexport const STATUS_WARNING = 'warning';\n\nexport type InputStatusTypes = 'error' | 'invalid' | 'proessing' | 'success' | 'warning';\n\nexport interface StatusState {\n type: InputStatusTypes;\n icon: any; // Element type of sorts?\n message: string;\n}\ninterface InputStates {\n [key: string]: StatusState;\n}\n\nexport const INPUT_STATES: InputStates = {\n [STATUS_SUCCESS]: {\n type: STATUS_SUCCESS,\n icon: ,\n message: 'Success!',\n },\n [STATUS_ERROR]: {\n type: STATUS_ERROR,\n icon: ,\n message: 'An error occurred.',\n },\n [STATUS_INVALID]: {\n type: STATUS_INVALID,\n icon: ,\n message: 'An error occurred.',\n },\n [STATUS_PROCESSING]: {\n type: STATUS_PROCESSING,\n icon: ,\n message: '',\n },\n [STATUS_WARNING]: {\n type: STATUS_WARNING,\n icon: ,\n message: '',\n },\n};\n\n// Don't like any of the default messages in INPUT_STATES? Create a state with custom message by providing an icon style with your message.\nexport function createInputStatus(type: InputStatusTypes, message?: string): StatusState {\n if (!type || !INPUT_STATES[type]) {\n return null;\n }\n if (!message) {\n return INPUT_STATES[type];\n }\n return {\n type,\n icon: INPUT_STATES[type].icon,\n message,\n };\n}\n","// TODO: add a notication after updating info that changes will take place either on a new stream or server restart. may be different for each field.\n\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';\nimport { ConfigDetails, UpdateArgs } from '../types/config-section';\nimport { DEFAULT_VARIANT_STATE } from './config-constants';\n\nexport const initialServerConfigState: ConfigDetails = {\n streamKeys: [],\n adminPassword: '',\n instanceDetails: {\n customStyles: '',\n extraPageContent: '',\n logo: '',\n name: '',\n nsfw: false,\n socialHandles: [],\n streamTitle: '',\n summary: '',\n tags: [],\n title: '',\n welcomeMessage: '',\n offlineMessage: '',\n appearanceVariables: {},\n },\n ffmpegPath: '',\n rtmpServerPort: '',\n webServerPort: '',\n socketHostOverride: null,\n s3: {\n accessKey: '',\n acl: '',\n bucket: '',\n enabled: false,\n endpoint: '',\n region: '',\n secret: '',\n servingEndpoint: '',\n forcePathStyle: false,\n },\n yp: {\n enabled: false,\n instanceUrl: '',\n },\n videoSettings: {\n latencyLevel: 4,\n cpuUsageLevel: 3,\n videoQualityVariants: [DEFAULT_VARIANT_STATE],\n },\n federation: {\n enabled: false,\n isPrivate: false,\n username: '',\n goLiveMessage: '',\n showEngagement: true,\n blockedDomains: [],\n },\n notifications: {\n browser: { enabled: false, goLiveMessage: '' },\n discord: { enabled: false, webhook: '', goLiveMessage: '' },\n twitter: {\n enabled: false,\n goLiveMessage: '',\n apiKey: '',\n apiSecret: '',\n accessToken: '',\n accessTokenSecret: '',\n bearerToken: '',\n },\n },\n externalActions: [],\n supportedCodecs: [],\n videoCodec: '',\n forbiddenUsernames: [],\n suggestedUsernames: [],\n chatDisabled: false,\n chatJoinMessagesEnabled: true,\n chatEstablishedUserMode: false,\n hideViewerCount: false,\n};\n\nconst initialServerStatusState = {\n broadcastActive: false,\n broadcaster: null,\n currentBroadcast: null,\n online: false,\n viewerCount: 0,\n sessionMaxViewerCount: 0,\n sessionPeakViewerCount: 0,\n overallPeakViewerCount: 0,\n versionNumber: '0.0.0',\n streamTitle: '',\n chatDisabled: false,\n health: {\n healthy: true,\n healthPercentage: 100,\n message: '',\n representation: 0,\n },\n};\n\nexport const ServerStatusContext = React.createContext({\n ...initialServerStatusState,\n serverConfig: initialServerConfigState,\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setFieldInConfigState: (args: UpdateArgs) => null,\n});\n\nconst ServerStatusProvider = ({ children }) => {\n const [status, setStatus] = useState(initialServerStatusState);\n const [config, setConfig] = useState(initialServerConfigState);\n\n const getStatus = async () => {\n try {\n const result = await fetchData(STATUS);\n setStatus({ ...result });\n } catch (error) {\n // todo\n }\n };\n const getConfig = async () => {\n try {\n const result = await fetchData(SERVER_CONFIG);\n setConfig(result);\n } catch (error) {\n // todo\n }\n };\n\n const setFieldInConfigState = ({ fieldName, value, path }: UpdateArgs) => {\n const updatedConfig = path\n ? {\n ...config,\n [path]: {\n ...config[path],\n [fieldName]: value,\n },\n }\n : {\n ...config,\n [fieldName]: value,\n };\n setConfig(updatedConfig);\n };\n\n useEffect(() => {\n let getStatusIntervalId = null;\n\n getStatus();\n getStatusIntervalId = setInterval(getStatus, FETCH_INTERVAL);\n\n getConfig();\n\n // returned function will be called on component unmount\n return () => {\n clearInterval(getStatusIntervalId);\n };\n }, []);\n\n // eslint-disable-next-line react/jsx-no-constructed-context-values\n const providerValue = {\n ...status,\n serverConfig: config,\n\n setFieldInConfigState,\n };\n return (\n {children}\n );\n};\n\nServerStatusProvider.propTypes = {\n children: PropTypes.element.isRequired,\n};\n\nexport default ServerStatusProvider;\n","// to use with fields, as the default pattern only checks for `:`,\nexport const DEFAULT_TEXTFIELD_URL_PATTERN = 'https?://.*';\n\n/**\n * Determines if a URL is valid\n * @param {string} url - A URL to validate.\n * @param {string[]} validProtocols - An array of valid protocols. Defaults to web.\n * @returns {boolean} - True if the URI is valid, false otherwise.\n */\nexport function isValidUrl(url: string, validProtocols: string[] = ['http:', 'https:']): boolean {\n try {\n const validationObject = new URL(url);\n\n if (\n validationObject.protocol === '' ||\n validationObject.hostname === '' ||\n !validProtocols.includes(validationObject.protocol)\n ) {\n return false;\n }\n } catch (e) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @param {string} protocol - The protocol we expect the account to be using.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidAccount(account: string, protocol: string): boolean {\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(/:|@/);\n const [service, user, host] = components;\n\n console.log({ account, protocol, service, user, host });\n if (service !== protocol) {\n return false;\n }\n\n if (components.length !== 3 || !service || !user || !host) {\n return false;\n }\n\n return true;\n}\n\n/**\n * Determines if an account is valid by simply checking for a protocol, username\n * and server, delimited by a colon. For example: @username:example.com\n * @param {string} account - An account to validate.\n * @returns {boolean} - True if the account is valid, false otherwise.\n */\nexport function isValidMatrixAccount(account: string): boolean {\n if (account.startsWith('matrix:')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(7);\n } else {\n return false;\n }\n\n if (account.startsWith('@')) {\n // eslint-disable-next-line no-param-reassign\n account = account.slice(1);\n }\n\n const components = account.split(':');\n const [user, host] = components;\n\n if (components.length !== 2 || !user || !host) {\n return false;\n }\n\n return true;\n}\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"OwncastLogo_root__uDVJf\",\"contrast\":\"OwncastLogo_contrast__rDMJY\",\"simple\":\"OwncastLogo_simple___hC9r\"};","module.exports = require('./dist/shared/lib/dynamic')\n","module.exports = require('./dist/shared/lib/head')\n","module.exports = require('./dist/client/link')\n","module.exports = require('./dist/client/router')\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nfunction getUseId() {\n // We need fully clone React function here to avoid webpack warning React 17 do not export `useId`\n var fullClone = _objectSpread({}, React);\n return fullClone.useId;\n}\nvar uuid = 0;\n/** @private Note only worked in develop env. Not work in production. */\nexport function resetUuid() {\n if (process.env.NODE_ENV !== 'production') {\n uuid = 0;\n }\n}\nexport default function useId(id) {\n // Inner id for accessibility usage. Only work in client side\n var _React$useState = React.useState('ssr-id'),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerId = _React$useState2[0],\n setInnerId = _React$useState2[1];\n var useOriginId = getUseId();\n var reactNativeId = useOriginId === null || useOriginId === void 0 ? void 0 : useOriginId();\n React.useEffect(function () {\n if (!useOriginId) {\n var nextId = uuid;\n uuid += 1;\n setInnerId(\"rc_unique_\".concat(nextId));\n }\n }, []);\n // Developer passed id is single source of truth\n if (id) {\n return id;\n }\n // Test env always return mock id\n if (process.env.NODE_ENV === 'test') {\n return 'test-id';\n }\n // Return react native id or inner id\n return reactNativeId || innerId;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nexport default function Mask(props) {\n var prefixCls = props.prefixCls,\n style = props.style,\n visible = props.visible,\n maskProps = props.maskProps,\n motionName = props.motionName;\n return /*#__PURE__*/React.createElement(CSSMotion, {\n key: \"mask\",\n visible: visible,\n motionName: motionName,\n leavedClassName: \"\".concat(prefixCls, \"-mask-hidden\")\n }, function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n style: _objectSpread(_objectSpread({}, motionStyle), style),\n className: classNames(\"\".concat(prefixCls, \"-mask\"), motionClassName)\n }, maskProps));\n });\n}","// =============================== Motion ===============================\nexport function getMotionName(prefixCls, transitionName, animationName) {\n var motionName = transitionName;\n if (!motionName && animationName) {\n motionName = \"\".concat(prefixCls, \"-\").concat(animationName);\n }\n return motionName;\n}\n// =============================== Offset ===============================\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n ret = d.body[method];\n }\n }\n return ret;\n}\nexport function offset(el) {\n var rect = el.getBoundingClientRect();\n var pos = {\n left: rect.left,\n top: rect.top\n };\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n pos.top += getScroll(w, true);\n return pos;\n}","import * as React from 'react';\nexport default /*#__PURE__*/React.memo(function (_ref) {\n var children = _ref.children;\n return children;\n}, function (_, _ref2) {\n var shouldUpdate = _ref2.shouldUpdate;\n return !shouldUpdate;\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React, { useRef } from 'react';\nimport classNames from 'classnames';\nimport MemoChildren from './MemoChildren';\nvar sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none'\n};\nvar Panel = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n title = props.title,\n ariaId = props.ariaId,\n footer = props.footer,\n closable = props.closable,\n closeIcon = props.closeIcon,\n onClose = props.onClose,\n children = props.children,\n bodyStyle = props.bodyStyle,\n bodyProps = props.bodyProps,\n modalRender = props.modalRender,\n onMouseDown = props.onMouseDown,\n onMouseUp = props.onMouseUp,\n holderRef = props.holderRef,\n visible = props.visible,\n forceRender = props.forceRender,\n width = props.width,\n height = props.height;\n // ================================= Refs =================================\n var sentinelStartRef = useRef();\n var sentinelEndRef = useRef();\n React.useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n var _sentinelStartRef$cur;\n (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus();\n },\n changeActive: function changeActive(next) {\n var _document = document,\n activeElement = _document.activeElement;\n if (next && activeElement === sentinelEndRef.current) {\n sentinelStartRef.current.focus();\n } else if (!next && activeElement === sentinelStartRef.current) {\n sentinelEndRef.current.focus();\n }\n }\n };\n });\n // ================================ Style =================================\n var contentStyle = {};\n if (width !== undefined) {\n contentStyle.width = width;\n }\n if (height !== undefined) {\n contentStyle.height = height;\n }\n // ================================ Render ================================\n var footerNode;\n if (footer) {\n footerNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer);\n }\n var headerNode;\n if (title) {\n headerNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-title\"),\n id: ariaId\n }, title));\n }\n var closer;\n if (closable) {\n closer = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\",\n className: \"\".concat(prefixCls, \"-close\")\n }, closeIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-x\")\n }));\n }\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, closer, headerNode, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: \"\".concat(prefixCls, \"-body\"),\n style: bodyStyle\n }, bodyProps), children), footerNode);\n return /*#__PURE__*/React.createElement(\"div\", {\n key: \"dialog-element\",\n role: \"dialog\",\n \"aria-labelledby\": title ? ariaId : null,\n \"aria-modal\": \"true\",\n ref: holderRef,\n style: _objectSpread(_objectSpread({}, style), contentStyle),\n className: classNames(prefixCls, className),\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp\n }, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStartRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\"\n }), /*#__PURE__*/React.createElement(MemoChildren, {\n shouldUpdate: visible || forceRender\n }, modalRender ? modalRender(content) : content), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle,\n \"aria-hidden\": \"true\"\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Panel.displayName = 'Panel';\n}\nexport default Panel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport { offset } from '../../util';\nimport Panel from './Panel';\nvar Content = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n title = props.title,\n style = props.style,\n className = props.className,\n visible = props.visible,\n forceRender = props.forceRender,\n destroyOnClose = props.destroyOnClose,\n motionName = props.motionName,\n ariaId = props.ariaId,\n onVisibleChanged = props.onVisibleChanged,\n mousePosition = props.mousePosition;\n var dialogRef = useRef();\n // ============================= Style ==============================\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n transformOrigin = _React$useState2[0],\n setTransformOrigin = _React$useState2[1];\n var contentStyle = {};\n if (transformOrigin) {\n contentStyle.transformOrigin = transformOrigin;\n }\n function onPrepare() {\n var elementOffset = offset(dialogRef.current);\n setTransformOrigin(mousePosition ? \"\".concat(mousePosition.x - elementOffset.left, \"px \").concat(mousePosition.y - elementOffset.top, \"px\") : '');\n }\n // ============================= Render =============================\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n onVisibleChanged: onVisibleChanged,\n onAppearPrepare: onPrepare,\n onEnterPrepare: onPrepare,\n forceRender: forceRender,\n motionName: motionName,\n removeOnLeave: destroyOnClose,\n ref: dialogRef\n }, function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(Panel, _extends({}, props, {\n ref: ref,\n title: title,\n ariaId: ariaId,\n prefixCls: prefixCls,\n holderRef: motionRef,\n style: _objectSpread(_objectSpread(_objectSpread({}, motionStyle), style), contentStyle),\n className: classNames(className, motionClassName)\n }));\n });\n});\nContent.displayName = 'Content';\nexport default Content;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect } from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport useId from \"rc-util/es/hooks/useId\";\nimport contains from \"rc-util/es/Dom/contains\";\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport Mask from './Mask';\nimport { getMotionName } from '../util';\nimport Content from './Content';\nexport default function Dialog(props) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-dialog' : _props$prefixCls,\n zIndex = props.zIndex,\n _props$visible = props.visible,\n visible = _props$visible === void 0 ? false : _props$visible,\n _props$keyboard = props.keyboard,\n keyboard = _props$keyboard === void 0 ? true : _props$keyboard,\n _props$focusTriggerAf = props.focusTriggerAfterClose,\n focusTriggerAfterClose = _props$focusTriggerAf === void 0 ? true : _props$focusTriggerAf,\n wrapStyle = props.wrapStyle,\n wrapClassName = props.wrapClassName,\n wrapProps = props.wrapProps,\n onClose = props.onClose,\n afterClose = props.afterClose,\n transitionName = props.transitionName,\n animation = props.animation,\n _props$closable = props.closable,\n closable = _props$closable === void 0 ? true : _props$closable,\n _props$mask = props.mask,\n mask = _props$mask === void 0 ? true : _props$mask,\n maskTransitionName = props.maskTransitionName,\n maskAnimation = props.maskAnimation,\n _props$maskClosable = props.maskClosable,\n maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable,\n maskStyle = props.maskStyle,\n maskProps = props.maskProps,\n rootClassName = props.rootClassName;\n var lastOutSideActiveElementRef = useRef();\n var wrapperRef = useRef();\n var contentRef = useRef();\n var _React$useState = React.useState(visible),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n // ========================== Init ==========================\n var ariaId = useId();\n function saveLastOutSideActiveElementRef() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n lastOutSideActiveElementRef.current = document.activeElement;\n }\n }\n function focusDialogContent() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n var _contentRef$current;\n (_contentRef$current = contentRef.current) === null || _contentRef$current === void 0 ? void 0 : _contentRef$current.focus();\n }\n }\n // ========================= Events =========================\n function onDialogVisibleChanged(newVisible) {\n // Try to focus\n if (newVisible) {\n focusDialogContent();\n } else {\n // Clean up scroll bar & focus back\n setAnimatedVisible(false);\n if (mask && lastOutSideActiveElementRef.current && focusTriggerAfterClose) {\n try {\n lastOutSideActiveElementRef.current.focus({\n preventScroll: true\n });\n } catch (e) {\n // Do nothing\n }\n lastOutSideActiveElementRef.current = null;\n }\n // Trigger afterClose only when change visible from true to false\n if (animatedVisible) {\n afterClose === null || afterClose === void 0 ? void 0 : afterClose();\n }\n }\n }\n function onInternalClose(e) {\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n }\n // >>> Content\n var contentClickRef = useRef(false);\n var contentTimeoutRef = useRef();\n // We need record content click incase content popup out of dialog\n var onContentMouseDown = function onContentMouseDown() {\n clearTimeout(contentTimeoutRef.current);\n contentClickRef.current = true;\n };\n var onContentMouseUp = function onContentMouseUp() {\n contentTimeoutRef.current = setTimeout(function () {\n contentClickRef.current = false;\n });\n };\n // >>> Wrapper\n // Close only when element not on dialog\n var onWrapperClick = null;\n if (maskClosable) {\n onWrapperClick = function onWrapperClick(e) {\n if (contentClickRef.current) {\n contentClickRef.current = false;\n } else if (wrapperRef.current === e.target) {\n onInternalClose(e);\n }\n };\n }\n function onWrapperKeyDown(e) {\n if (keyboard && e.keyCode === KeyCode.ESC) {\n e.stopPropagation();\n onInternalClose(e);\n return;\n }\n // keep focus inside dialog\n if (visible) {\n if (e.keyCode === KeyCode.TAB) {\n contentRef.current.changeActive(!e.shiftKey);\n }\n }\n }\n // ========================= Effect =========================\n useEffect(function () {\n if (visible) {\n setAnimatedVisible(true);\n saveLastOutSideActiveElementRef();\n }\n }, [visible]);\n // Remove direct should also check the scroll bar update\n useEffect(function () {\n return function () {\n clearTimeout(contentTimeoutRef.current);\n };\n }, []);\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classNames(\"\".concat(prefixCls, \"-root\"), rootClassName)\n }, pickAttrs(props, {\n data: true\n })), /*#__PURE__*/React.createElement(Mask, {\n prefixCls: prefixCls,\n visible: mask && visible,\n motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),\n style: _objectSpread({\n zIndex: zIndex\n }, maskStyle),\n maskProps: maskProps\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n tabIndex: -1,\n onKeyDown: onWrapperKeyDown,\n className: classNames(\"\".concat(prefixCls, \"-wrap\"), wrapClassName),\n ref: wrapperRef,\n onClick: onWrapperClick,\n style: _objectSpread(_objectSpread({\n zIndex: zIndex\n }, wrapStyle), {}, {\n display: !animatedVisible ? 'none' : null\n })\n }, wrapProps), /*#__PURE__*/React.createElement(Content, _extends({}, props, {\n onMouseDown: onContentMouseDown,\n onMouseUp: onContentMouseUp,\n ref: contentRef,\n closable: closable,\n ariaId: ariaId,\n prefixCls: prefixCls,\n visible: visible && animatedVisible,\n onClose: onInternalClose,\n onVisibleChanged: onDialogVisibleChanged,\n motionName: getMotionName(prefixCls, transitionName, animation)\n }))));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport Dialog from './Dialog';\n// fix issue #10656\n/*\n * getContainer remarks\n * Custom container should not be return, because in the Portal component, it will remove the\n * return container element here, if the custom container is the only child of it's component,\n * like issue #10656, It will has a conflict with removeChild method in react-dom.\n * So here should add a child (div element) to custom container.\n * */\nvar DialogWrap = function DialogWrap(props) {\n var visible = props.visible,\n getContainer = props.getContainer,\n forceRender = props.forceRender,\n _props$destroyOnClose = props.destroyOnClose,\n destroyOnClose = _props$destroyOnClose === void 0 ? false : _props$destroyOnClose,\n _afterClose = props.afterClose;\n var _React$useState = React.useState(visible),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n animatedVisible = _React$useState2[0],\n setAnimatedVisible = _React$useState2[1];\n React.useEffect(function () {\n if (visible) {\n setAnimatedVisible(true);\n }\n }, [visible]);\n // // 渲染在当前 dom 里;\n // if (getContainer === false) {\n // return (\n // 2} // 不对 body 做任何操作。。\n // />\n // );\n // }\n // Destroy on close will remove wrapped div\n if (!forceRender && destroyOnClose && !animatedVisible) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Portal, {\n open: visible || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: visible || animatedVisible\n }, /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {\n destroyOnClose: destroyOnClose,\n afterClose: function afterClose() {\n _afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();\n setAnimatedVisible(false);\n }\n })));\n};\nDialogWrap.displayName = 'Dialog';\nexport default DialogWrap;","import DialogWrap from './DialogWrap';\nimport Panel from './Dialog/Content/Panel';\nexport { Panel };\nexport default DialogWrap;","import warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nexport var HOOK_MARK = 'RC_FORM_INTERNAL_HOOKS';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nvar warningFunc = function warningFunc() {\n warning(false, 'Can not find FormContext. Please make sure you wrap Field under Form.');\n};\nvar Context = /*#__PURE__*/React.createContext({\n getFieldValue: warningFunc,\n getFieldsValue: warningFunc,\n getFieldError: warningFunc,\n getFieldWarning: warningFunc,\n getFieldsError: warningFunc,\n isFieldsTouched: warningFunc,\n isFieldTouched: warningFunc,\n isFieldValidating: warningFunc,\n isFieldsValidating: warningFunc,\n resetFields: warningFunc,\n setFields: warningFunc,\n setFieldValue: warningFunc,\n setFieldsValue: warningFunc,\n validateFields: warningFunc,\n submit: warningFunc,\n getInternalHooks: function getInternalHooks() {\n warningFunc();\n return {\n dispatch: warningFunc,\n initEntityValue: warningFunc,\n registerField: warningFunc,\n useSubscribe: warningFunc,\n setInitialValues: warningFunc,\n destroyForm: warningFunc,\n setCallbacks: warningFunc,\n registerWatch: warningFunc,\n getFields: warningFunc,\n setValidateMessages: warningFunc,\n setPreserve: warningFunc,\n getInitialValue: warningFunc\n };\n }\n});\nexport default Context;","export function toArray(value) {\n if (value === undefined || value === null) {\n return [];\n }\n return Array.isArray(value) ? value : [value];\n}","function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n\n _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\n/* eslint no-console:0 */\nvar formatRegExp = /%[sdj%]/g;\nvar warning = function warning() {}; // don't print warning message when in production env or node runtime\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {\n warning = function warning(type, errors) {\n if (typeof console !== 'undefined' && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === 'undefined') {\n if (errors.every(function (e) {\n return typeof e === 'string';\n })) {\n console.warn(type, errors);\n }\n }\n };\n}\n\nfunction convertFieldsError(errors) {\n if (!errors || !errors.length) return null;\n var fields = {};\n errors.forEach(function (error) {\n var field = error.field;\n fields[field] = fields[field] || [];\n fields[field].push(error);\n });\n return fields;\n}\nfunction format(template) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var i = 0;\n var len = args.length;\n\n if (typeof template === 'function') {\n return template.apply(null, args);\n }\n\n if (typeof template === 'string') {\n var str = template.replace(formatRegExp, function (x) {\n if (x === '%%') {\n return '%';\n }\n\n if (i >= len) {\n return x;\n }\n\n switch (x) {\n case '%s':\n return String(args[i++]);\n\n case '%d':\n return Number(args[i++]);\n\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n\n break;\n\n default:\n return x;\n }\n });\n return str;\n }\n\n return template;\n}\n\nfunction isNativeStringType(type) {\n return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'date' || type === 'pattern';\n}\n\nfunction isEmptyValue(value, type) {\n if (value === undefined || value === null) {\n return true;\n }\n\n if (type === 'array' && Array.isArray(value) && !value.length) {\n return true;\n }\n\n if (isNativeStringType(type) && typeof value === 'string' && !value) {\n return true;\n }\n\n return false;\n}\n\nfunction asyncParallelArray(arr, func, callback) {\n var results = [];\n var total = 0;\n var arrLength = arr.length;\n\n function count(errors) {\n results.push.apply(results, errors || []);\n total++;\n\n if (total === arrLength) {\n callback(results);\n }\n }\n\n arr.forEach(function (a) {\n func(a, count);\n });\n}\n\nfunction asyncSerialArray(arr, func, callback) {\n var index = 0;\n var arrLength = arr.length;\n\n function next(errors) {\n if (errors && errors.length) {\n callback(errors);\n return;\n }\n\n var original = index;\n index = index + 1;\n\n if (original < arrLength) {\n func(arr[original], next);\n } else {\n callback([]);\n }\n }\n\n next([]);\n}\n\nfunction flattenObjArr(objArr) {\n var ret = [];\n Object.keys(objArr).forEach(function (k) {\n ret.push.apply(ret, objArr[k] || []);\n });\n return ret;\n}\n\nvar AsyncValidationError = /*#__PURE__*/function (_Error) {\n _inheritsLoose(AsyncValidationError, _Error);\n\n function AsyncValidationError(errors, fields) {\n var _this;\n\n _this = _Error.call(this, 'Async Validation Error') || this;\n _this.errors = errors;\n _this.fields = fields;\n return _this;\n }\n\n return AsyncValidationError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\nfunction asyncMap(objArr, option, func, callback, source) {\n if (option.first) {\n var _pending = new Promise(function (resolve, reject) {\n var next = function next(errors) {\n callback(errors);\n return errors.length ? reject(new AsyncValidationError(errors, convertFieldsError(errors))) : resolve(source);\n };\n\n var flattenArr = flattenObjArr(objArr);\n asyncSerialArray(flattenArr, func, next);\n });\n\n _pending[\"catch\"](function (e) {\n return e;\n });\n\n return _pending;\n }\n\n var firstFields = option.firstFields === true ? Object.keys(objArr) : option.firstFields || [];\n var objArrKeys = Object.keys(objArr);\n var objArrLength = objArrKeys.length;\n var total = 0;\n var results = [];\n var pending = new Promise(function (resolve, reject) {\n var next = function next(errors) {\n results.push.apply(results, errors);\n total++;\n\n if (total === objArrLength) {\n callback(results);\n return results.length ? reject(new AsyncValidationError(results, convertFieldsError(results))) : resolve(source);\n }\n };\n\n if (!objArrKeys.length) {\n callback(results);\n resolve(source);\n }\n\n objArrKeys.forEach(function (key) {\n var arr = objArr[key];\n\n if (firstFields.indexOf(key) !== -1) {\n asyncSerialArray(arr, func, next);\n } else {\n asyncParallelArray(arr, func, next);\n }\n });\n });\n pending[\"catch\"](function (e) {\n return e;\n });\n return pending;\n}\n\nfunction isErrorObj(obj) {\n return !!(obj && obj.message !== undefined);\n}\n\nfunction getValue(value, path) {\n var v = value;\n\n for (var i = 0; i < path.length; i++) {\n if (v == undefined) {\n return v;\n }\n\n v = v[path[i]];\n }\n\n return v;\n}\n\nfunction complementError(rule, source) {\n return function (oe) {\n var fieldValue;\n\n if (rule.fullFields) {\n fieldValue = getValue(source, rule.fullFields);\n } else {\n fieldValue = source[oe.field || rule.fullField];\n }\n\n if (isErrorObj(oe)) {\n oe.field = oe.field || rule.fullField;\n oe.fieldValue = fieldValue;\n return oe;\n }\n\n return {\n message: typeof oe === 'function' ? oe() : oe,\n fieldValue: fieldValue,\n field: oe.field || rule.fullField\n };\n };\n}\nfunction deepMerge(target, source) {\n if (source) {\n for (var s in source) {\n if (source.hasOwnProperty(s)) {\n var value = source[s];\n\n if (typeof value === 'object' && typeof target[s] === 'object') {\n target[s] = _extends({}, target[s], value);\n } else {\n target[s] = value;\n }\n }\n }\n }\n\n return target;\n}\n\nvar required$1 = function required(rule, value, source, errors, options, type) {\n if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {\n errors.push(format(options.messages.required, rule.fullField));\n }\n};\n\n/**\n * Rule for validating whitespace.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nvar whitespace = function whitespace(rule, value, source, errors, options) {\n if (/^\\s+$/.test(value) || value === '') {\n errors.push(format(options.messages.whitespace, rule.fullField));\n }\n};\n\n// https://github.com/kevva/url-regex/blob/master/index.js\nvar urlReg;\nvar getUrlRegex = (function () {\n if (urlReg) {\n return urlReg;\n }\n\n var word = '[a-fA-F\\\\d:]';\n\n var b = function b(options) {\n return options && options.includeBoundaries ? \"(?:(?<=\\\\s|^)(?=\" + word + \")|(?<=\" + word + \")(?=\\\\s|$))\" : '';\n };\n\n var v4 = '(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}';\n var v6seg = '[a-fA-F\\\\d]{1,4}';\n var v6 = (\"\\n(?:\\n(?:\" + v6seg + \":){7}(?:\" + v6seg + \"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\\n(?:\" + v6seg + \":){6}(?:\" + v4 + \"|:\" + v6seg + \"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\\n(?:\" + v6seg + \":){5}(?::\" + v4 + \"|(?::\" + v6seg + \"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\\n(?:\" + v6seg + \":){4}(?:(?::\" + v6seg + \"){0,1}:\" + v4 + \"|(?::\" + v6seg + \"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\\n(?:\" + v6seg + \":){3}(?:(?::\" + v6seg + \"){0,2}:\" + v4 + \"|(?::\" + v6seg + \"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){2}(?:(?::\" + v6seg + \"){0,3}:\" + v4 + \"|(?::\" + v6seg + \"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){1}(?:(?::\" + v6seg + \"){0,4}:\" + v4 + \"|(?::\" + v6seg + \"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\\n(?::(?:(?::\" + v6seg + \"){0,5}:\" + v4 + \"|(?::\" + v6seg + \"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\\n\").replace(/\\s*\\/\\/.*$/gm, '').replace(/\\n/g, '').trim(); // Pre-compile only the exact regexes because adding a global flag make regexes stateful\n\n var v46Exact = new RegExp(\"(?:^\" + v4 + \"$)|(?:^\" + v6 + \"$)\");\n var v4exact = new RegExp(\"^\" + v4 + \"$\");\n var v6exact = new RegExp(\"^\" + v6 + \"$\");\n\n var ip = function ip(options) {\n return options && options.exact ? v46Exact : new RegExp(\"(?:\" + b(options) + v4 + b(options) + \")|(?:\" + b(options) + v6 + b(options) + \")\", 'g');\n };\n\n ip.v4 = function (options) {\n return options && options.exact ? v4exact : new RegExp(\"\" + b(options) + v4 + b(options), 'g');\n };\n\n ip.v6 = function (options) {\n return options && options.exact ? v6exact : new RegExp(\"\" + b(options) + v6 + b(options), 'g');\n };\n\n var protocol = \"(?:(?:[a-z]+:)?//)\";\n var auth = '(?:\\\\S+(?::\\\\S*)?@)?';\n var ipv4 = ip.v4().source;\n var ipv6 = ip.v6().source;\n var host = \"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\";\n var domain = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\";\n var tld = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\";\n var port = '(?::\\\\d{2,5})?';\n var path = '(?:[/?#][^\\\\s\"]*)?';\n var regex = \"(?:\" + protocol + \"|www\\\\.)\" + auth + \"(?:localhost|\" + ipv4 + \"|\" + ipv6 + \"|\" + host + domain + tld + \")\" + port + path;\n urlReg = new RegExp(\"(?:^\" + regex + \"$)\", 'i');\n return urlReg;\n});\n\n/* eslint max-len:0 */\n\nvar pattern$2 = {\n // http://emailregex.com/\n email: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+\\.)+[a-zA-Z\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}))$/,\n // url: new RegExp(\n // '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\\\S+(?::\\\\S*)?@)?(?:(?:(?:[1-9]\\\\d?|1\\\\d\\\\d|2[01]\\\\d|22[0-3])(?:\\\\.(?:1?\\\\d{1,2}|2[0-4]\\\\d|25[0-5])){2}(?:\\\\.(?:[0-9]\\\\d?|1\\\\d\\\\d|2[0-4]\\\\d|25[0-4]))|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,})))|localhost)(?::\\\\d{2,5})?(?:(/|\\\\?|#)[^\\\\s]*)?$',\n // 'i',\n // ),\n hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i\n};\nvar types = {\n integer: function integer(value) {\n return types.number(value) && parseInt(value, 10) === value;\n },\n \"float\": function float(value) {\n return types.number(value) && !types.integer(value);\n },\n array: function array(value) {\n return Array.isArray(value);\n },\n regexp: function regexp(value) {\n if (value instanceof RegExp) {\n return true;\n }\n\n try {\n return !!new RegExp(value);\n } catch (e) {\n return false;\n }\n },\n date: function date(value) {\n return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function' && !isNaN(value.getTime());\n },\n number: function number(value) {\n if (isNaN(value)) {\n return false;\n }\n\n return typeof value === 'number';\n },\n object: function object(value) {\n return typeof value === 'object' && !types.array(value);\n },\n method: function method(value) {\n return typeof value === 'function';\n },\n email: function email(value) {\n return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email);\n },\n url: function url(value) {\n return typeof value === 'string' && value.length <= 2048 && !!value.match(getUrlRegex());\n },\n hex: function hex(value) {\n return typeof value === 'string' && !!value.match(pattern$2.hex);\n }\n};\n\nvar type$1 = function type(rule, value, source, errors, options) {\n if (rule.required && value === undefined) {\n required$1(rule, value, source, errors, options);\n return;\n }\n\n var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];\n var ruleType = rule.type;\n\n if (custom.indexOf(ruleType) > -1) {\n if (!types[ruleType](value)) {\n errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n } // straight typeof check\n\n } else if (ruleType && typeof value !== rule.type) {\n errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n }\n};\n\nvar range = function range(rule, value, source, errors, options) {\n var len = typeof rule.len === 'number';\n var min = typeof rule.min === 'number';\n var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)\n\n var spRegexp = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n var val = value;\n var key = null;\n var num = typeof value === 'number';\n var str = typeof value === 'string';\n var arr = Array.isArray(value);\n\n if (num) {\n key = 'number';\n } else if (str) {\n key = 'string';\n } else if (arr) {\n key = 'array';\n } // if the value is not of a supported type for range validation\n // the validation rule rule should use the\n // type property to also test for a particular type\n\n\n if (!key) {\n return false;\n }\n\n if (arr) {\n val = value.length;\n }\n\n if (str) {\n // 处理码点大于U+010000的文字length属性不准确的bug,如\"𠮷𠮷𠮷\".lenght !== 3\n val = value.replace(spRegexp, '_').length;\n }\n\n if (len) {\n if (val !== rule.len) {\n errors.push(format(options.messages[key].len, rule.fullField, rule.len));\n }\n } else if (min && !max && val < rule.min) {\n errors.push(format(options.messages[key].min, rule.fullField, rule.min));\n } else if (max && !min && val > rule.max) {\n errors.push(format(options.messages[key].max, rule.fullField, rule.max));\n } else if (min && max && (val < rule.min || val > rule.max)) {\n errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));\n }\n};\n\nvar ENUM$1 = 'enum';\n\nvar enumerable$1 = function enumerable(rule, value, source, errors, options) {\n rule[ENUM$1] = Array.isArray(rule[ENUM$1]) ? rule[ENUM$1] : [];\n\n if (rule[ENUM$1].indexOf(value) === -1) {\n errors.push(format(options.messages[ENUM$1], rule.fullField, rule[ENUM$1].join(', ')));\n }\n};\n\nvar pattern$1 = function pattern(rule, value, source, errors, options) {\n if (rule.pattern) {\n if (rule.pattern instanceof RegExp) {\n // if a RegExp instance is passed, reset `lastIndex` in case its `global`\n // flag is accidentally set to `true`, which in a validation scenario\n // is not necessary and the result might be misleading\n rule.pattern.lastIndex = 0;\n\n if (!rule.pattern.test(value)) {\n errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n } else if (typeof rule.pattern === 'string') {\n var _pattern = new RegExp(rule.pattern);\n\n if (!_pattern.test(value)) {\n errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n }\n }\n};\n\nvar rules = {\n required: required$1,\n whitespace: whitespace,\n type: type$1,\n range: range,\n \"enum\": enumerable$1,\n pattern: pattern$1\n};\n\nvar string = function string(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'string');\n\n if (!isEmptyValue(value, 'string')) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n rules.pattern(rule, value, source, errors, options);\n\n if (rule.whitespace === true) {\n rules.whitespace(rule, value, source, errors, options);\n }\n }\n }\n\n callback(errors);\n};\n\nvar method = function method(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar number = function number(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (value === '') {\n value = undefined;\n }\n\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar _boolean = function _boolean(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar regexp = function regexp(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar integer = function integer(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar floatFn = function floatFn(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar array = function array(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if ((value === undefined || value === null) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'array');\n\n if (value !== undefined && value !== null) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar object = function object(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar ENUM = 'enum';\n\nvar enumerable = function enumerable(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules[ENUM](rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar pattern = function pattern(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value, 'string')) {\n rules.pattern(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar date = function date(rule, value, callback, source, options) {\n // console.log('integer rule called %j', rule);\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value);\n\n if (validate) {\n if (isEmptyValue(value, 'date') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value, 'date')) {\n var dateObject;\n\n if (value instanceof Date) {\n dateObject = value;\n } else {\n dateObject = new Date(value);\n }\n\n rules.type(rule, dateObject, source, errors, options);\n\n if (dateObject) {\n rules.range(rule, dateObject.getTime(), source, errors, options);\n }\n }\n }\n\n callback(errors);\n};\n\nvar required = function required(rule, value, callback, source, options) {\n var errors = [];\n var type = Array.isArray(value) ? 'array' : typeof value;\n rules.required(rule, value, source, errors, options, type);\n callback(errors);\n};\n\nvar type = function type(rule, value, callback, source, options) {\n var ruleType = rule.type;\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, ruleType) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, ruleType);\n\n if (!isEmptyValue(value, ruleType)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n};\n\nvar any = function any(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n }\n\n callback(errors);\n};\n\nvar validators = {\n string: string,\n method: method,\n number: number,\n \"boolean\": _boolean,\n regexp: regexp,\n integer: integer,\n \"float\": floatFn,\n array: array,\n object: object,\n \"enum\": enumerable,\n pattern: pattern,\n date: date,\n url: type,\n hex: type,\n email: type,\n required: required,\n any: any\n};\n\nfunction newMessages() {\n return {\n \"default\": 'Validation error on field %s',\n required: '%s is required',\n \"enum\": '%s must be one of %s',\n whitespace: '%s cannot be empty',\n date: {\n format: '%s date %s is invalid for format %s',\n parse: '%s date could not be parsed, %s is invalid ',\n invalid: '%s date %s is invalid'\n },\n types: {\n string: '%s is not a %s',\n method: '%s is not a %s (function)',\n array: '%s is not an %s',\n object: '%s is not an %s',\n number: '%s is not a %s',\n date: '%s is not a %s',\n \"boolean\": '%s is not a %s',\n integer: '%s is not an %s',\n \"float\": '%s is not a %s',\n regexp: '%s is not a valid %s',\n email: '%s is not a valid %s',\n url: '%s is not a valid %s',\n hex: '%s is not a valid %s'\n },\n string: {\n len: '%s must be exactly %s characters',\n min: '%s must be at least %s characters',\n max: '%s cannot be longer than %s characters',\n range: '%s must be between %s and %s characters'\n },\n number: {\n len: '%s must equal %s',\n min: '%s cannot be less than %s',\n max: '%s cannot be greater than %s',\n range: '%s must be between %s and %s'\n },\n array: {\n len: '%s must be exactly %s in length',\n min: '%s cannot be less than %s in length',\n max: '%s cannot be greater than %s in length',\n range: '%s must be between %s and %s in length'\n },\n pattern: {\n mismatch: '%s value %s does not match pattern %s'\n },\n clone: function clone() {\n var cloned = JSON.parse(JSON.stringify(this));\n cloned.clone = this.clone;\n return cloned;\n }\n };\n}\nvar messages = newMessages();\n\n/**\n * Encapsulates a validation schema.\n *\n * @param descriptor An object declaring validation rules\n * for this schema.\n */\n\nvar Schema = /*#__PURE__*/function () {\n // ========================= Static =========================\n // ======================== Instance ========================\n function Schema(descriptor) {\n this.rules = null;\n this._messages = messages;\n this.define(descriptor);\n }\n\n var _proto = Schema.prototype;\n\n _proto.define = function define(rules) {\n var _this = this;\n\n if (!rules) {\n throw new Error('Cannot configure a schema with no rules');\n }\n\n if (typeof rules !== 'object' || Array.isArray(rules)) {\n throw new Error('Rules must be an object');\n }\n\n this.rules = {};\n Object.keys(rules).forEach(function (name) {\n var item = rules[name];\n _this.rules[name] = Array.isArray(item) ? item : [item];\n });\n };\n\n _proto.messages = function messages(_messages) {\n if (_messages) {\n this._messages = deepMerge(newMessages(), _messages);\n }\n\n return this._messages;\n };\n\n _proto.validate = function validate(source_, o, oc) {\n var _this2 = this;\n\n if (o === void 0) {\n o = {};\n }\n\n if (oc === void 0) {\n oc = function oc() {};\n }\n\n var source = source_;\n var options = o;\n var callback = oc;\n\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n if (!this.rules || Object.keys(this.rules).length === 0) {\n if (callback) {\n callback(null, source);\n }\n\n return Promise.resolve(source);\n }\n\n function complete(results) {\n var errors = [];\n var fields = {};\n\n function add(e) {\n if (Array.isArray(e)) {\n var _errors;\n\n errors = (_errors = errors).concat.apply(_errors, e);\n } else {\n errors.push(e);\n }\n }\n\n for (var i = 0; i < results.length; i++) {\n add(results[i]);\n }\n\n if (!errors.length) {\n callback(null, source);\n } else {\n fields = convertFieldsError(errors);\n callback(errors, fields);\n }\n }\n\n if (options.messages) {\n var messages$1 = this.messages();\n\n if (messages$1 === messages) {\n messages$1 = newMessages();\n }\n\n deepMerge(messages$1, options.messages);\n options.messages = messages$1;\n } else {\n options.messages = this.messages();\n }\n\n var series = {};\n var keys = options.keys || Object.keys(this.rules);\n keys.forEach(function (z) {\n var arr = _this2.rules[z];\n var value = source[z];\n arr.forEach(function (r) {\n var rule = r;\n\n if (typeof rule.transform === 'function') {\n if (source === source_) {\n source = _extends({}, source);\n }\n\n value = source[z] = rule.transform(value);\n }\n\n if (typeof rule === 'function') {\n rule = {\n validator: rule\n };\n } else {\n rule = _extends({}, rule);\n } // Fill validator. Skip if nothing need to validate\n\n\n rule.validator = _this2.getValidationMethod(rule);\n\n if (!rule.validator) {\n return;\n }\n\n rule.field = z;\n rule.fullField = rule.fullField || z;\n rule.type = _this2.getType(rule);\n series[z] = series[z] || [];\n series[z].push({\n rule: rule,\n value: value,\n source: source,\n field: z\n });\n });\n });\n var errorFields = {};\n return asyncMap(series, options, function (data, doIt) {\n var rule = data.rule;\n var deep = (rule.type === 'object' || rule.type === 'array') && (typeof rule.fields === 'object' || typeof rule.defaultField === 'object');\n deep = deep && (rule.required || !rule.required && data.value);\n rule.field = data.field;\n\n function addFullField(key, schema) {\n return _extends({}, schema, {\n fullField: rule.fullField + \".\" + key,\n fullFields: rule.fullFields ? [].concat(rule.fullFields, [key]) : [key]\n });\n }\n\n function cb(e) {\n if (e === void 0) {\n e = [];\n }\n\n var errorList = Array.isArray(e) ? e : [e];\n\n if (!options.suppressWarning && errorList.length) {\n Schema.warning('async-validator:', errorList);\n }\n\n if (errorList.length && rule.message !== undefined) {\n errorList = [].concat(rule.message);\n } // Fill error info\n\n\n var filledErrors = errorList.map(complementError(rule, source));\n\n if (options.first && filledErrors.length) {\n errorFields[rule.field] = 1;\n return doIt(filledErrors);\n }\n\n if (!deep) {\n doIt(filledErrors);\n } else {\n // if rule is required but the target object\n // does not exist fail at the rule level and don't\n // go deeper\n if (rule.required && !data.value) {\n if (rule.message !== undefined) {\n filledErrors = [].concat(rule.message).map(complementError(rule, source));\n } else if (options.error) {\n filledErrors = [options.error(rule, format(options.messages.required, rule.field))];\n }\n\n return doIt(filledErrors);\n }\n\n var fieldsSchema = {};\n\n if (rule.defaultField) {\n Object.keys(data.value).map(function (key) {\n fieldsSchema[key] = rule.defaultField;\n });\n }\n\n fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);\n var paredFieldsSchema = {};\n Object.keys(fieldsSchema).forEach(function (field) {\n var fieldSchema = fieldsSchema[field];\n var fieldSchemaList = Array.isArray(fieldSchema) ? fieldSchema : [fieldSchema];\n paredFieldsSchema[field] = fieldSchemaList.map(addFullField.bind(null, field));\n });\n var schema = new Schema(paredFieldsSchema);\n schema.messages(options.messages);\n\n if (data.rule.options) {\n data.rule.options.messages = options.messages;\n data.rule.options.error = options.error;\n }\n\n schema.validate(data.value, data.rule.options || options, function (errs) {\n var finalErrors = [];\n\n if (filledErrors && filledErrors.length) {\n finalErrors.push.apply(finalErrors, filledErrors);\n }\n\n if (errs && errs.length) {\n finalErrors.push.apply(finalErrors, errs);\n }\n\n doIt(finalErrors.length ? finalErrors : null);\n });\n }\n }\n\n var res;\n\n if (rule.asyncValidator) {\n res = rule.asyncValidator(rule, data.value, cb, data.source, options);\n } else if (rule.validator) {\n try {\n res = rule.validator(rule, data.value, cb, data.source, options);\n } catch (error) {\n console.error == null ? void 0 : console.error(error); // rethrow to report error\n\n if (!options.suppressValidatorError) {\n setTimeout(function () {\n throw error;\n }, 0);\n }\n\n cb(error.message);\n }\n\n if (res === true) {\n cb();\n } else if (res === false) {\n cb(typeof rule.message === 'function' ? rule.message(rule.fullField || rule.field) : rule.message || (rule.fullField || rule.field) + \" fails\");\n } else if (res instanceof Array) {\n cb(res);\n } else if (res instanceof Error) {\n cb(res.message);\n }\n }\n\n if (res && res.then) {\n res.then(function () {\n return cb();\n }, function (e) {\n return cb(e);\n });\n }\n }, function (results) {\n complete(results);\n }, source);\n };\n\n _proto.getType = function getType(rule) {\n if (rule.type === undefined && rule.pattern instanceof RegExp) {\n rule.type = 'pattern';\n }\n\n if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {\n throw new Error(format('Unknown rule type %s', rule.type));\n }\n\n return rule.type || 'string';\n };\n\n _proto.getValidationMethod = function getValidationMethod(rule) {\n if (typeof rule.validator === 'function') {\n return rule.validator;\n }\n\n var keys = Object.keys(rule);\n var messageIndex = keys.indexOf('message');\n\n if (messageIndex !== -1) {\n keys.splice(messageIndex, 1);\n }\n\n if (keys.length === 1 && keys[0] === 'required') {\n return validators.required;\n }\n\n return validators[this.getType(rule)] || undefined;\n };\n\n return Schema;\n}();\n\nSchema.register = function register(type, validator) {\n if (typeof validator !== 'function') {\n throw new Error('Cannot register a validator by type, validator is not a function');\n }\n\n validators[type] = validator;\n};\n\nSchema.warning = warning;\nSchema.messages = messages;\nSchema.validators = validators;\n\nexport { Schema as default };\n//# sourceMappingURL=index.js.map\n","var typeTemplate = \"'${name}' is not a valid ${type}\";\nexport var defaultValidateMessages = {\n default: \"Validation error on field '${name}'\",\n required: \"'${name}' is required\",\n enum: \"'${name}' must be one of [${enum}]\",\n whitespace: \"'${name}' cannot be empty\",\n date: {\n format: \"'${name}' is invalid for format date\",\n parse: \"'${name}' could not be parsed as date\",\n invalid: \"'${name}' is invalid date\"\n },\n types: {\n string: typeTemplate,\n method: typeTemplate,\n array: typeTemplate,\n object: typeTemplate,\n number: typeTemplate,\n date: typeTemplate,\n boolean: typeTemplate,\n integer: typeTemplate,\n float: typeTemplate,\n regexp: typeTemplate,\n email: typeTemplate,\n url: typeTemplate,\n hex: typeTemplate\n },\n string: {\n len: \"'${name}' must be exactly ${len} characters\",\n min: \"'${name}' must be at least ${min} characters\",\n max: \"'${name}' cannot be longer than ${max} characters\",\n range: \"'${name}' must be between ${min} and ${max} characters\"\n },\n number: {\n len: \"'${name}' must equal ${len}\",\n min: \"'${name}' cannot be less than ${min}\",\n max: \"'${name}' cannot be greater than ${max}\",\n range: \"'${name}' must be between ${min} and ${max}\"\n },\n array: {\n len: \"'${name}' must be exactly ${len} in length\",\n min: \"'${name}' cannot be less than ${min} in length\",\n max: \"'${name}' cannot be greater than ${max} in length\",\n range: \"'${name}' must be between ${min} and ${max} in length\"\n },\n pattern: {\n mismatch: \"'${name}' does not match pattern ${pattern}\"\n }\n};","export default function get(entity, path) {\n var current = entity;\n for (var i = 0; i < path.length; i += 1) {\n if (current === null || current === undefined) {\n return undefined;\n }\n current = current[path[i]];\n }\n return current;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport get from './get';\nfunction internalSet(entity, paths, value, removeIfUndefined) {\n if (!paths.length) {\n return value;\n }\n var _paths = _toArray(paths),\n path = _paths[0],\n restPath = _paths.slice(1);\n var clone;\n if (!entity && typeof path === 'number') {\n clone = [];\n } else if (Array.isArray(entity)) {\n clone = _toConsumableArray(entity);\n } else {\n clone = _objectSpread({}, entity);\n }\n // Delete prop if `removeIfUndefined` and value is undefined\n if (removeIfUndefined && value === undefined && restPath.length === 1) {\n delete clone[path][restPath[0]];\n } else {\n clone[path] = internalSet(clone[path], restPath, value, removeIfUndefined);\n }\n return clone;\n}\nexport default function set(entity, paths, value) {\n var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n // Do nothing if `removeIfUndefined` and parent object not exist\n if (paths.length && removeIfUndefined && value === undefined && !get(entity, paths.slice(0, -1))) {\n return entity;\n }\n return internalSet(entity, paths, value, removeIfUndefined);\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nfunction cloneDeep(val) {\n if (Array.isArray(val)) {\n return cloneArrayDeep(val);\n } else if (_typeof(val) === 'object' && val !== null) {\n return cloneObjectDeep(val);\n }\n return val;\n}\nfunction cloneObjectDeep(val) {\n if (Object.getPrototypeOf(val) === Object.prototype) {\n var res = {};\n for (var key in val) {\n res[key] = cloneDeep(val[key]);\n }\n return res;\n }\n return val;\n}\nfunction cloneArrayDeep(val) {\n return val.map(function (item) {\n return cloneDeep(item);\n });\n}\nexport default cloneDeep;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport get from \"rc-util/es/utils/get\";\nimport set from \"rc-util/es/utils/set\";\nimport { toArray } from './typeUtil';\nimport cloneDeep from '../utils/cloneDeep';\n/**\n * Convert name to internal supported format.\n * This function should keep since we still thinking if need support like `a.b.c` format.\n * 'a' => ['a']\n * 123 => [123]\n * ['a', 123] => ['a', 123]\n */\nexport function getNamePath(path) {\n return toArray(path);\n}\nexport function getValue(store, namePath) {\n var value = get(store, namePath);\n return value;\n}\nexport function setValue(store, namePath, value) {\n var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var newStore = set(store, namePath, value, removeIfUndefined);\n return newStore;\n}\nexport function cloneByNamePathList(store, namePathList) {\n var newStore = {};\n namePathList.forEach(function (namePath) {\n var value = getValue(store, namePath);\n newStore = setValue(newStore, namePath, value);\n });\n return newStore;\n}\nexport function containsNamePath(namePathList, namePath) {\n return namePathList && namePathList.some(function (path) {\n return matchNamePath(path, namePath);\n });\n}\nfunction isObject(obj) {\n return _typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;\n}\n/**\n * Copy values into store and return a new values object\n * ({ a: 1, b: { c: 2 } }, { a: 4, b: { d: 5 } }) => { a: 4, b: { c: 2, d: 5 } }\n */\nfunction internalSetValues(store, values) {\n var newStore = Array.isArray(store) ? _toConsumableArray(store) : _objectSpread({}, store);\n if (!values) {\n return newStore;\n }\n Object.keys(values).forEach(function (key) {\n var prevValue = newStore[key];\n var value = values[key];\n // If both are object (but target is not array), we use recursion to set deep value\n var recursive = isObject(prevValue) && isObject(value);\n newStore[key] = recursive ? internalSetValues(prevValue, value || {}) : cloneDeep(value); // Clone deep for arrays\n });\n\n return newStore;\n}\nexport function setValues(store) {\n for (var _len = arguments.length, restValues = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n restValues[_key - 1] = arguments[_key];\n }\n return restValues.reduce(function (current, newStore) {\n return internalSetValues(current, newStore);\n }, store);\n}\nexport function matchNamePath(namePath, changedNamePath) {\n if (!namePath || !changedNamePath || namePath.length !== changedNamePath.length) {\n return false;\n }\n return namePath.every(function (nameUnit, i) {\n return changedNamePath[i] === nameUnit;\n });\n}\nexport function isSimilar(source, target) {\n if (source === target) {\n return true;\n }\n if (!source && target || source && !target) {\n return false;\n }\n if (!source || !target || _typeof(source) !== 'object' || _typeof(target) !== 'object') {\n return false;\n }\n var sourceKeys = Object.keys(source);\n var targetKeys = Object.keys(target);\n var keys = new Set([].concat(sourceKeys, targetKeys));\n return _toConsumableArray(keys).every(function (key) {\n var sourceValue = source[key];\n var targetValue = target[key];\n if (typeof sourceValue === 'function' && typeof targetValue === 'function') {\n return true;\n }\n return sourceValue === targetValue;\n });\n}\nexport function defaultGetValueFromEvent(valuePropName) {\n var event = arguments.length <= 1 ? undefined : arguments[1];\n if (event && event.target && _typeof(event.target) === 'object' && valuePropName in event.target) {\n return event.target[valuePropName];\n }\n return event;\n}\n/**\n * Moves an array item from one position in an array to another.\n *\n * Note: This is a pure function so a new array will be returned, instead\n * of altering the array argument.\n *\n * @param array Array in which to move an item. (required)\n * @param moveIndex The index of the item to move. (required)\n * @param toIndex The index to move item at moveIndex to. (required)\n */\nexport function move(array, moveIndex, toIndex) {\n var length = array.length;\n if (moveIndex < 0 || moveIndex >= length || toIndex < 0 || toIndex >= length) {\n return array;\n }\n var item = array[moveIndex];\n var diff = moveIndex - toIndex;\n if (diff > 0) {\n // move left\n return [].concat(_toConsumableArray(array.slice(0, toIndex)), [item], _toConsumableArray(array.slice(toIndex, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, length)));\n }\n if (diff < 0) {\n // move right\n return [].concat(_toConsumableArray(array.slice(0, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], _toConsumableArray(array.slice(toIndex + 1, length)));\n }\n return array;\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport RawAsyncValidator from 'async-validator';\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\";\nimport { defaultValidateMessages } from './messages';\nimport { setValues } from './valueUtil';\n// Remove incorrect original ts define\nvar AsyncValidator = RawAsyncValidator;\n/**\n * Replace with template.\n * `I'm ${name}` + { name: 'bamboo' } = I'm bamboo\n */\nfunction replaceMessage(template, kv) {\n return template.replace(/\\$\\{\\w+\\}/g, function (str) {\n var key = str.slice(2, -1);\n return kv[key];\n });\n}\nvar CODE_LOGIC_ERROR = 'CODE_LOGIC_ERROR';\nfunction validateRule(_x, _x2, _x3, _x4, _x5) {\n return _validateRule.apply(this, arguments);\n}\n/**\n * We use `async-validator` to validate the value.\n * But only check one value in a time to avoid namePath validate issue.\n */\nfunction _validateRule() {\n _validateRule = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(name, value, rule, options, messageVariables) {\n var cloneRule, originValidator, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n cloneRule = _objectSpread({}, rule); // Bug of `async-validator`\n // https://github.com/react-component/field-form/issues/316\n // https://github.com/react-component/field-form/issues/313\n delete cloneRule.ruleIndex;\n if (cloneRule.validator) {\n originValidator = cloneRule.validator;\n cloneRule.validator = function () {\n try {\n return originValidator.apply(void 0, arguments);\n } catch (error) {\n console.error(error);\n return Promise.reject(CODE_LOGIC_ERROR);\n }\n };\n }\n // We should special handle array validate\n subRuleField = null;\n if (cloneRule && cloneRule.type === 'array' && cloneRule.defaultField) {\n subRuleField = cloneRule.defaultField;\n delete cloneRule.defaultField;\n }\n validator = new AsyncValidator(_defineProperty({}, name, [cloneRule]));\n messages = setValues({}, defaultValidateMessages, options.validateMessages);\n validator.messages(messages);\n result = [];\n _context2.prev = 9;\n _context2.next = 12;\n return Promise.resolve(validator.validate(_defineProperty({}, name, value), _objectSpread({}, options)));\n case 12:\n _context2.next = 17;\n break;\n case 14:\n _context2.prev = 14;\n _context2.t0 = _context2[\"catch\"](9);\n if (_context2.t0.errors) {\n result = _context2.t0.errors.map(function (_ref4, index) {\n var message = _ref4.message;\n var mergedMessage = message === CODE_LOGIC_ERROR ? messages.default : message;\n return /*#__PURE__*/React.isValidElement(mergedMessage) ?\n /*#__PURE__*/\n // Wrap ReactNode with `key`\n React.cloneElement(mergedMessage, {\n key: \"error_\".concat(index)\n }) : mergedMessage;\n });\n }\n case 17:\n if (!(!result.length && subRuleField)) {\n _context2.next = 22;\n break;\n }\n _context2.next = 20;\n return Promise.all(value.map(function (subValue, i) {\n return validateRule(\"\".concat(name, \".\").concat(i), subValue, subRuleField, options, messageVariables);\n }));\n case 20:\n subResults = _context2.sent;\n return _context2.abrupt(\"return\", subResults.reduce(function (prev, errors) {\n return [].concat(_toConsumableArray(prev), _toConsumableArray(errors));\n }, []));\n case 22:\n // Replace message with variables\n kv = _objectSpread(_objectSpread({}, rule), {}, {\n name: name,\n enum: (rule.enum || []).join(', ')\n }, messageVariables);\n fillVariableResult = result.map(function (error) {\n if (typeof error === 'string') {\n return replaceMessage(error, kv);\n }\n return error;\n });\n return _context2.abrupt(\"return\", fillVariableResult);\n case 25:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[9, 14]]);\n }));\n return _validateRule.apply(this, arguments);\n}\nexport function validateRules(namePath, value, rules, options, validateFirst, messageVariables) {\n var name = namePath.join('.');\n // Fill rule with context\n var filledRules = rules.map(function (currentRule, ruleIndex) {\n var originValidatorFunc = currentRule.validator;\n var cloneRule = _objectSpread(_objectSpread({}, currentRule), {}, {\n ruleIndex: ruleIndex\n });\n // Replace validator if needed\n if (originValidatorFunc) {\n cloneRule.validator = function (rule, val, callback) {\n var hasPromise = false;\n // Wrap callback only accept when promise not provided\n var wrappedCallback = function wrappedCallback() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n // Wait a tick to make sure return type is a promise\n Promise.resolve().then(function () {\n warning(!hasPromise, 'Your validator function has already return a promise. `callback` will be ignored.');\n if (!hasPromise) {\n callback.apply(void 0, args);\n }\n });\n };\n // Get promise\n var promise = originValidatorFunc(rule, val, wrappedCallback);\n hasPromise = promise && typeof promise.then === 'function' && typeof promise.catch === 'function';\n /**\n * 1. Use promise as the first priority.\n * 2. If promise not exist, use callback with warning instead\n */\n warning(hasPromise, '`callback` is deprecated. Please return a promise instead.');\n if (hasPromise) {\n promise.then(function () {\n callback();\n }).catch(function (err) {\n callback(err || ' ');\n });\n }\n };\n }\n return cloneRule;\n }).sort(function (_ref, _ref2) {\n var w1 = _ref.warningOnly,\n i1 = _ref.ruleIndex;\n var w2 = _ref2.warningOnly,\n i2 = _ref2.ruleIndex;\n if (!!w1 === !!w2) {\n // Let keep origin order\n return i1 - i2;\n }\n if (w1) {\n return 1;\n }\n return -1;\n });\n // Do validate rules\n var summaryPromise;\n if (validateFirst === true) {\n // >>>>> Validate by serialization\n summaryPromise = new Promise( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {\n var i, rule, errors;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n i = 0;\n case 1:\n if (!(i < filledRules.length)) {\n _context.next = 12;\n break;\n }\n rule = filledRules[i];\n _context.next = 5;\n return validateRule(name, value, rule, options, messageVariables);\n case 5:\n errors = _context.sent;\n if (!errors.length) {\n _context.next = 9;\n break;\n }\n reject([{\n errors: errors,\n rule: rule\n }]);\n return _context.abrupt(\"return\");\n case 9:\n i += 1;\n _context.next = 1;\n break;\n case 12:\n /* eslint-enable */\n resolve([]);\n case 13:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return function (_x6, _x7) {\n return _ref3.apply(this, arguments);\n };\n }());\n } else {\n // >>>>> Validate by parallel\n var rulePromises = filledRules.map(function (rule) {\n return validateRule(name, value, rule, options, messageVariables).then(function (errors) {\n return {\n errors: errors,\n rule: rule\n };\n });\n });\n summaryPromise = (validateFirst ? finishOnFirstFailed(rulePromises) : finishOnAllFailed(rulePromises)).then(function (errors) {\n // Always change to rejection for Field to catch\n return Promise.reject(errors);\n });\n }\n // Internal catch error to avoid console error log.\n summaryPromise.catch(function (e) {\n return e;\n });\n return summaryPromise;\n}\nfunction finishOnAllFailed(_x8) {\n return _finishOnAllFailed.apply(this, arguments);\n}\nfunction _finishOnAllFailed() {\n _finishOnAllFailed = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(rulePromises) {\n return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n return _context3.abrupt(\"return\", Promise.all(rulePromises).then(function (errorsList) {\n var _ref5;\n var errors = (_ref5 = []).concat.apply(_ref5, _toConsumableArray(errorsList));\n return errors;\n }));\n case 1:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n return _finishOnAllFailed.apply(this, arguments);\n}\nfunction finishOnFirstFailed(_x9) {\n return _finishOnFirstFailed.apply(this, arguments);\n}\nfunction _finishOnFirstFailed() {\n _finishOnFirstFailed = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(rulePromises) {\n var count;\n return _regeneratorRuntime().wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n count = 0;\n return _context4.abrupt(\"return\", new Promise(function (resolve) {\n rulePromises.forEach(function (promise) {\n promise.then(function (ruleError) {\n if (ruleError.errors.length) {\n resolve([ruleError]);\n }\n count += 1;\n if (count === rulePromises.length) {\n resolve([]);\n }\n });\n });\n }));\n case 2:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }));\n return _finishOnFirstFailed.apply(this, arguments);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"name\"];\nimport toChildrenArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport FieldContext, { HOOK_MARK } from './FieldContext';\nimport { toArray } from './utils/typeUtil';\nimport { validateRules } from './utils/validateUtil';\nimport { containsNamePath, defaultGetValueFromEvent, getNamePath, getValue } from './utils/valueUtil';\nvar EMPTY_ERRORS = [];\nfunction requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {\n if (typeof shouldUpdate === 'function') {\n return shouldUpdate(prev, next, 'source' in info ? {\n source: info.source\n } : {});\n }\n return prevValue !== nextValue;\n}\n// We use Class instead of Hooks here since it will cost much code by using Hooks.\nvar Field = /*#__PURE__*/function (_React$Component) {\n _inherits(Field, _React$Component);\n var _super = _createSuper(Field);\n /**\n * Follow state should not management in State since it will async update by React.\n * This makes first render of form can not get correct state value.\n */\n\n /**\n * Mark when touched & validated. Currently only used for `dependencies`.\n * Note that we do not think field with `initialValue` is dirty\n * but this will be by `isFieldDirty` func.\n */\n\n // ============================== Subscriptions ==============================\n function Field(props) {\n var _this;\n _classCallCheck(this, Field);\n _this = _super.call(this, props);\n // Register on init\n _this.state = {\n resetCount: 0\n };\n _this.cancelRegisterFunc = null;\n _this.mounted = false;\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.prevValidating = void 0;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.cancelRegister = function () {\n var _this$props = _this.props,\n preserve = _this$props.preserve,\n isListField = _this$props.isListField,\n name = _this$props.name;\n if (_this.cancelRegisterFunc) {\n _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));\n }\n _this.cancelRegisterFunc = null;\n };\n _this.getNamePath = function () {\n var _this$props2 = _this.props,\n name = _this$props2.name,\n fieldContext = _this$props2.fieldContext;\n var _fieldContext$prefixN = fieldContext.prefixName,\n prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;\n return name !== undefined ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];\n };\n _this.getRules = function () {\n var _this$props3 = _this.props,\n _this$props3$rules = _this$props3.rules,\n rules = _this$props3$rules === void 0 ? [] : _this$props3$rules,\n fieldContext = _this$props3.fieldContext;\n return rules.map(function (rule) {\n if (typeof rule === 'function') {\n return rule(fieldContext);\n }\n return rule;\n });\n };\n _this.refresh = function () {\n if (!_this.mounted) return;\n /**\n * Clean up current node.\n */\n _this.setState(function (_ref) {\n var resetCount = _ref.resetCount;\n return {\n resetCount: resetCount + 1\n };\n });\n };\n _this.triggerMetaEvent = function (destroy) {\n var onMetaChange = _this.props.onMetaChange;\n onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(_objectSpread(_objectSpread({}, _this.getMeta()), {}, {\n destroy: destroy\n }));\n };\n _this.onStoreChange = function (prevStore, namePathList, info) {\n var _this$props4 = _this.props,\n shouldUpdate = _this$props4.shouldUpdate,\n _this$props4$dependen = _this$props4.dependencies,\n dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen,\n onReset = _this$props4.onReset;\n var store = info.store;\n var namePath = _this.getNamePath();\n var prevValue = _this.getValue(prevStore);\n var curValue = _this.getValue(store);\n var namePathMatch = namePathList && containsNamePath(namePathList, namePath);\n // `setFieldsValue` is a quick access to update related status\n if (info.type === 'valueUpdate' && info.source === 'external' && prevValue !== curValue) {\n _this.touched = true;\n _this.dirty = true;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n }\n switch (info.type) {\n case 'reset':\n if (!namePathList || namePathMatch) {\n // Clean up state\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n onReset === null || onReset === void 0 ? void 0 : onReset();\n _this.refresh();\n return;\n }\n break;\n /**\n * In case field with `preserve = false` nest deps like:\n * - A = 1 => show B\n * - B = 1 => show C\n * - Reset A, need clean B, C\n */\n case 'remove':\n {\n if (shouldUpdate) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'setField':\n {\n if (namePathMatch) {\n var data = info.data;\n if ('touched' in data) {\n _this.touched = data.touched;\n }\n if ('validating' in data && !('originRCField' in data)) {\n _this.validatePromise = data.validating ? Promise.resolve([]) : null;\n }\n if ('errors' in data) {\n _this.errors = data.errors || EMPTY_ERRORS;\n }\n if ('warnings' in data) {\n _this.warnings = data.warnings || EMPTY_ERRORS;\n }\n _this.dirty = true;\n _this.triggerMetaEvent();\n _this.reRender();\n return;\n }\n // Handle update by `setField` with `shouldUpdate`\n if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'dependenciesUpdate':\n {\n /**\n * Trigger when marked `dependencies` updated. Related fields will all update\n */\n var dependencyList = dependencies.map(getNamePath);\n // No need for `namePathMath` check and `shouldUpdate` check, since `valueUpdate` will be\n // emitted earlier and they will work there\n // If set it may cause unnecessary twice rerendering\n if (dependencyList.some(function (dependency) {\n return containsNamePath(info.relatedFields, dependency);\n })) {\n _this.reRender();\n return;\n }\n break;\n }\n default:\n // 1. If `namePath` exists in `namePathList`, means it's related value and should update\n // For example \n // If `namePathList` is [['list']] (List value update), Field should be updated\n // If `namePathList` is [['list', 0]] (Field value update), List shouldn't be updated\n // 2.\n // 2.1 If `dependencies` is set, `name` is not set and `shouldUpdate` is not set,\n // don't use `shouldUpdate`. `dependencies` is view as a shortcut if `shouldUpdate`\n // is not provided\n // 2.2 If `shouldUpdate` provided, use customize logic to update the field\n // else to check if value changed\n if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n if (shouldUpdate === true) {\n _this.reRender();\n }\n };\n _this.validateRules = function (options) {\n // We should fixed namePath & value to avoid developer change then by form function\n var namePath = _this.getNamePath();\n var currentValue = _this.getValue();\n // Force change to async to avoid rule OOD under renderProps field\n var rootPromise = Promise.resolve().then(function () {\n if (!_this.mounted) {\n return [];\n }\n var _this$props5 = _this.props,\n _this$props5$validate = _this$props5.validateFirst,\n validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate,\n messageVariables = _this$props5.messageVariables;\n var _ref2 = options || {},\n triggerName = _ref2.triggerName;\n var filteredRules = _this.getRules();\n if (triggerName) {\n filteredRules = filteredRules.filter(function (rule) {\n return rule;\n }).filter(function (rule) {\n var validateTrigger = rule.validateTrigger;\n if (!validateTrigger) {\n return true;\n }\n var triggerList = toArray(validateTrigger);\n return triggerList.includes(triggerName);\n });\n }\n var promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);\n promise.catch(function (e) {\n return e;\n }).then(function () {\n var ruleErrors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EMPTY_ERRORS;\n if (_this.validatePromise === rootPromise) {\n var _ruleErrors$forEach;\n _this.validatePromise = null;\n // Get errors & warnings\n var nextErrors = [];\n var nextWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref3) {\n var warningOnly = _ref3.rule.warningOnly,\n _ref3$errors = _ref3.errors,\n errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;\n if (warningOnly) {\n nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));\n } else {\n nextErrors.push.apply(nextErrors, _toConsumableArray(errors));\n }\n });\n _this.errors = nextErrors;\n _this.warnings = nextWarnings;\n _this.triggerMetaEvent();\n _this.reRender();\n }\n });\n return promise;\n });\n _this.validatePromise = rootPromise;\n _this.dirty = true;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n // Force trigger re-render since we need sync renderProps with new meta\n _this.reRender();\n return rootPromise;\n };\n _this.isFieldValidating = function () {\n return !!_this.validatePromise;\n };\n _this.isFieldTouched = function () {\n return _this.touched;\n };\n _this.isFieldDirty = function () {\n // Touched or validate or has initialValue\n if (_this.dirty || _this.props.initialValue !== undefined) {\n return true;\n }\n // Form set initialValue\n var fieldContext = _this.props.fieldContext;\n var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK),\n getInitialValue = _fieldContext$getInte.getInitialValue;\n if (getInitialValue(_this.getNamePath()) !== undefined) {\n return true;\n }\n return false;\n };\n _this.getErrors = function () {\n return _this.errors;\n };\n _this.getWarnings = function () {\n return _this.warnings;\n };\n _this.isListField = function () {\n return _this.props.isListField;\n };\n _this.isList = function () {\n return _this.props.isList;\n };\n _this.isPreserve = function () {\n return _this.props.preserve;\n };\n _this.getMeta = function () {\n // Make error & validating in cache to save perf\n _this.prevValidating = _this.isFieldValidating();\n var meta = {\n touched: _this.isFieldTouched(),\n validating: _this.prevValidating,\n errors: _this.errors,\n warnings: _this.warnings,\n name: _this.getNamePath()\n };\n return meta;\n };\n _this.getOnlyChild = function (children) {\n // Support render props\n if (typeof children === 'function') {\n var meta = _this.getMeta();\n return _objectSpread(_objectSpread({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {\n isFunction: true\n });\n }\n // Filed element only\n var childList = toChildrenArray(children);\n if (childList.length !== 1 || ! /*#__PURE__*/React.isValidElement(childList[0])) {\n return {\n child: childList,\n isFunction: false\n };\n }\n return {\n child: childList[0],\n isFunction: false\n };\n };\n _this.getValue = function (store) {\n var getFieldsValue = _this.props.fieldContext.getFieldsValue;\n var namePath = _this.getNamePath();\n return getValue(store || getFieldsValue(true), namePath);\n };\n _this.getControlled = function () {\n var childProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _this$props6 = _this.props,\n trigger = _this$props6.trigger,\n validateTrigger = _this$props6.validateTrigger,\n getValueFromEvent = _this$props6.getValueFromEvent,\n normalize = _this$props6.normalize,\n valuePropName = _this$props6.valuePropName,\n getValueProps = _this$props6.getValueProps,\n fieldContext = _this$props6.fieldContext;\n var mergedValidateTrigger = validateTrigger !== undefined ? validateTrigger : fieldContext.validateTrigger;\n var namePath = _this.getNamePath();\n var getInternalHooks = fieldContext.getInternalHooks,\n getFieldsValue = fieldContext.getFieldsValue;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n dispatch = _getInternalHooks.dispatch;\n var value = _this.getValue();\n var mergedGetValueProps = getValueProps || function (val) {\n return _defineProperty({}, valuePropName, val);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var originTriggerFunc = childProps[trigger];\n var control = _objectSpread(_objectSpread({}, childProps), mergedGetValueProps(value));\n // Add trigger\n control[trigger] = function () {\n // Mark as touched\n _this.touched = true;\n _this.dirty = true;\n _this.triggerMetaEvent();\n var newValue;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (getValueFromEvent) {\n newValue = getValueFromEvent.apply(void 0, args);\n } else {\n newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));\n }\n if (normalize) {\n newValue = normalize(newValue, value, getFieldsValue(true));\n }\n dispatch({\n type: 'updateValue',\n namePath: namePath,\n value: newValue\n });\n if (originTriggerFunc) {\n originTriggerFunc.apply(void 0, args);\n }\n };\n // Add validateTrigger\n var validateTriggerList = toArray(mergedValidateTrigger || []);\n validateTriggerList.forEach(function (triggerName) {\n // Wrap additional function of component, so that we can get latest value from store\n var originTrigger = control[triggerName];\n control[triggerName] = function () {\n if (originTrigger) {\n originTrigger.apply(void 0, arguments);\n }\n // Always use latest rules\n var rules = _this.props.rules;\n if (rules && rules.length) {\n // We dispatch validate to root,\n // since it will update related data with other field with same name\n dispatch({\n type: 'validateField',\n namePath: namePath,\n triggerName: triggerName\n });\n }\n };\n });\n return control;\n };\n if (props.fieldContext) {\n var getInternalHooks = props.fieldContext.getInternalHooks;\n var _getInternalHooks2 = getInternalHooks(HOOK_MARK),\n initEntityValue = _getInternalHooks2.initEntityValue;\n initEntityValue(_assertThisInitialized(_this));\n }\n return _this;\n }\n _createClass(Field, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props7 = this.props,\n shouldUpdate = _this$props7.shouldUpdate,\n fieldContext = _this$props7.fieldContext;\n this.mounted = true;\n // Register on init\n if (fieldContext) {\n var getInternalHooks = fieldContext.getInternalHooks;\n var _getInternalHooks3 = getInternalHooks(HOOK_MARK),\n registerField = _getInternalHooks3.registerField;\n this.cancelRegisterFunc = registerField(this);\n }\n // One more render for component in case fields not ready\n if (shouldUpdate === true) {\n this.reRender();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cancelRegister();\n this.triggerMetaEvent(true);\n this.mounted = false;\n }\n }, {\n key: \"reRender\",\n value: function reRender() {\n if (!this.mounted) return;\n this.forceUpdate();\n }\n }, {\n key: \"render\",\n value: function render() {\n var resetCount = this.state.resetCount;\n var children = this.props.children;\n var _this$getOnlyChild = this.getOnlyChild(children),\n child = _this$getOnlyChild.child,\n isFunction = _this$getOnlyChild.isFunction;\n // Not need to `cloneElement` since user can handle this in render function self\n var returnChildNode;\n if (isFunction) {\n returnChildNode = child;\n } else if ( /*#__PURE__*/React.isValidElement(child)) {\n returnChildNode = /*#__PURE__*/React.cloneElement(child, this.getControlled(child.props));\n } else {\n warning(!child, '`children` of Field is not validate ReactElement.');\n returnChildNode = child;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: resetCount\n }, returnChildNode);\n }\n }]);\n return Field;\n}(React.Component);\nField.contextType = FieldContext;\nField.defaultProps = {\n trigger: 'onChange',\n valuePropName: 'value'\n};\nfunction WrapperField(_ref5) {\n var name = _ref5.name,\n restProps = _objectWithoutProperties(_ref5, _excluded);\n var fieldContext = React.useContext(FieldContext);\n var namePath = name !== undefined ? getNamePath(name) : undefined;\n var key = 'keep';\n if (!restProps.isListField) {\n key = \"_\".concat((namePath || []).join('_'));\n }\n // Warning if it's a directly list field.\n // We can still support multiple level field preserve.\n if (process.env.NODE_ENV !== 'production' && restProps.preserve === false && restProps.isListField && namePath.length <= 1) {\n warning(false, '`preserve` should not apply on Form.List fields.');\n }\n return /*#__PURE__*/React.createElement(Field, _extends({\n key: key,\n name: namePath\n }, restProps, {\n fieldContext: fieldContext\n }));\n}\nexport default WrapperField;","import * as React from 'react';\nvar ListContext = /*#__PURE__*/React.createContext(null);\nexport default ListContext;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport warning from \"rc-util/es/warning\";\nimport FieldContext from './FieldContext';\nimport Field from './Field';\nimport { move as _move, getNamePath } from './utils/valueUtil';\nimport ListContext from './ListContext';\nvar List = function List(_ref) {\n var name = _ref.name,\n initialValue = _ref.initialValue,\n children = _ref.children,\n rules = _ref.rules,\n validateTrigger = _ref.validateTrigger;\n var context = React.useContext(FieldContext);\n var keyRef = React.useRef({\n keys: [],\n id: 0\n });\n var keyManager = keyRef.current;\n var prefixName = React.useMemo(function () {\n var parentPrefixName = getNamePath(context.prefixName) || [];\n return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));\n }, [context.prefixName, name]);\n var fieldContext = React.useMemo(function () {\n return _objectSpread(_objectSpread({}, context), {}, {\n prefixName: prefixName\n });\n }, [context, prefixName]);\n // List context\n var listContext = React.useMemo(function () {\n return {\n getKey: function getKey(namePath) {\n var len = prefixName.length;\n var pathName = namePath[len];\n return [keyManager.keys[pathName], namePath.slice(len + 1)];\n }\n };\n }, [prefixName]);\n // User should not pass `children` as other type.\n if (typeof children !== 'function') {\n warning(false, 'Form.List only accepts function as children.');\n return null;\n }\n var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {\n var source = _ref2.source;\n if (source === 'internal') {\n return false;\n }\n return prevValue !== nextValue;\n };\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: listContext\n }, /*#__PURE__*/React.createElement(FieldContext.Provider, {\n value: fieldContext\n }, /*#__PURE__*/React.createElement(Field, {\n name: [],\n shouldUpdate: shouldUpdate,\n rules: rules,\n validateTrigger: validateTrigger,\n initialValue: initialValue,\n isList: true\n }, function (_ref3, meta) {\n var _ref3$value = _ref3.value,\n value = _ref3$value === void 0 ? [] : _ref3$value,\n onChange = _ref3.onChange;\n var getFieldValue = context.getFieldValue;\n var getNewValue = function getNewValue() {\n var values = getFieldValue(prefixName || []);\n return values || [];\n };\n /**\n * Always get latest value in case user update fields by `form` api.\n */\n var operations = {\n add: function add(defaultValue, index) {\n // Mapping keys\n var newValue = getNewValue();\n if (index >= 0 && index <= newValue.length) {\n keyManager.keys = [].concat(_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], _toConsumableArray(keyManager.keys.slice(index)));\n onChange([].concat(_toConsumableArray(newValue.slice(0, index)), [defaultValue], _toConsumableArray(newValue.slice(index))));\n } else {\n if (process.env.NODE_ENV !== 'production' && (index < 0 || index > newValue.length)) {\n warning(false, 'The second parameter of the add function should be a valid positive number.');\n }\n keyManager.keys = [].concat(_toConsumableArray(keyManager.keys), [keyManager.id]);\n onChange([].concat(_toConsumableArray(newValue), [defaultValue]));\n }\n keyManager.id += 1;\n },\n remove: function remove(index) {\n var newValue = getNewValue();\n var indexSet = new Set(Array.isArray(index) ? index : [index]);\n if (indexSet.size <= 0) {\n return;\n }\n keyManager.keys = keyManager.keys.filter(function (_, keysIndex) {\n return !indexSet.has(keysIndex);\n });\n // Trigger store change\n onChange(newValue.filter(function (_, valueIndex) {\n return !indexSet.has(valueIndex);\n }));\n },\n move: function move(from, to) {\n if (from === to) {\n return;\n }\n var newValue = getNewValue();\n // Do not handle out of range\n if (from < 0 || from >= newValue.length || to < 0 || to >= newValue.length) {\n return;\n }\n keyManager.keys = _move(keyManager.keys, from, to);\n // Trigger store change\n onChange(_move(newValue, from, to));\n }\n };\n var listValue = value || [];\n if (!Array.isArray(listValue)) {\n listValue = [];\n if (process.env.NODE_ENV !== 'production') {\n warning(false, \"Current value of '\".concat(prefixName.join(' > '), \"' is not an array type.\"));\n }\n }\n return children(listValue.map(function (__, index) {\n var key = keyManager.keys[index];\n if (key === undefined) {\n keyManager.keys[index] = keyManager.id;\n key = keyManager.keys[index];\n keyManager.id += 1;\n }\n return {\n name: index,\n key: key,\n isListField: true\n };\n }), operations, meta);\n })));\n};\nexport default List;","export function allPromiseFinish(promiseList) {\n var hasError = false;\n var count = promiseList.length;\n var results = [];\n if (!promiseList.length) {\n return Promise.resolve([]);\n }\n return new Promise(function (resolve, reject) {\n promiseList.forEach(function (promise, index) {\n promise.catch(function (e) {\n hasError = true;\n return e;\n }).then(function (result) {\n count -= 1;\n results[index] = result;\n if (count > 0) {\n return;\n }\n if (hasError) {\n reject(results);\n }\n resolve(results);\n });\n });\n });\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar SPLIT = '__@field_split__';\n/**\n * Convert name path into string to fast the fetch speed of Map.\n */\nfunction normalize(namePath) {\n return namePath.map(function (cell) {\n return \"\".concat(_typeof(cell), \":\").concat(cell);\n })\n // Magic split\n .join(SPLIT);\n}\n/**\n * NameMap like a `Map` but accepts `string[]` as key.\n */\nvar NameMap = /*#__PURE__*/function () {\n function NameMap() {\n _classCallCheck(this, NameMap);\n this.kvs = new Map();\n }\n _createClass(NameMap, [{\n key: \"set\",\n value: function set(key, value) {\n this.kvs.set(normalize(key), value);\n }\n }, {\n key: \"get\",\n value: function get(key) {\n return this.kvs.get(normalize(key));\n }\n }, {\n key: \"update\",\n value: function update(key, updater) {\n var origin = this.get(key);\n var next = updater(origin);\n if (!next) {\n this.delete(key);\n } else {\n this.set(key, next);\n }\n }\n }, {\n key: \"delete\",\n value: function _delete(key) {\n this.kvs.delete(normalize(key));\n }\n // Since we only use this in test, let simply realize this\n }, {\n key: \"map\",\n value: function map(callback) {\n return _toConsumableArray(this.kvs.entries()).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n var cells = key.split(SPLIT);\n return callback({\n key: cells.map(function (cell) {\n var _cell$match = cell.match(/^([^:]*):(.*)$/),\n _cell$match2 = _slicedToArray(_cell$match, 3),\n type = _cell$match2[1],\n unit = _cell$match2[2];\n return type === 'number' ? Number(unit) : unit;\n }),\n value: value\n });\n });\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var json = {};\n this.map(function (_ref3) {\n var key = _ref3.key,\n value = _ref3.value;\n json[key.join('.')] = value;\n return null;\n });\n return json;\n }\n }]);\n return NameMap;\n}();\nexport default NameMap;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nvar _excluded = [\"name\", \"errors\"];\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport { HOOK_MARK } from './FieldContext';\nimport { allPromiseFinish } from './utils/asyncUtil';\nimport cloneDeep from './utils/cloneDeep';\nimport { defaultValidateMessages } from './utils/messages';\nimport NameMap from './utils/NameMap';\nimport { cloneByNamePathList, containsNamePath, getNamePath, getValue, matchNamePath, setValue, setValues } from './utils/valueUtil';\nexport var FormStore = /*#__PURE__*/_createClass(function FormStore(forceRootUpdate) {\n var _this = this;\n _classCallCheck(this, FormStore);\n this.formHooked = false;\n this.forceRootUpdate = void 0;\n this.subscribable = true;\n this.store = {};\n this.fieldEntities = [];\n this.initialValues = {};\n this.callbacks = {};\n this.validateMessages = null;\n this.preserve = null;\n this.lastValidatePromise = null;\n this.getForm = function () {\n return {\n getFieldValue: _this.getFieldValue,\n getFieldsValue: _this.getFieldsValue,\n getFieldError: _this.getFieldError,\n getFieldWarning: _this.getFieldWarning,\n getFieldsError: _this.getFieldsError,\n isFieldsTouched: _this.isFieldsTouched,\n isFieldTouched: _this.isFieldTouched,\n isFieldValidating: _this.isFieldValidating,\n isFieldsValidating: _this.isFieldsValidating,\n resetFields: _this.resetFields,\n setFields: _this.setFields,\n setFieldValue: _this.setFieldValue,\n setFieldsValue: _this.setFieldsValue,\n validateFields: _this.validateFields,\n submit: _this.submit,\n _init: true,\n getInternalHooks: _this.getInternalHooks\n };\n };\n this.getInternalHooks = function (key) {\n if (key === HOOK_MARK) {\n _this.formHooked = true;\n return {\n dispatch: _this.dispatch,\n initEntityValue: _this.initEntityValue,\n registerField: _this.registerField,\n useSubscribe: _this.useSubscribe,\n setInitialValues: _this.setInitialValues,\n destroyForm: _this.destroyForm,\n setCallbacks: _this.setCallbacks,\n setValidateMessages: _this.setValidateMessages,\n getFields: _this.getFields,\n setPreserve: _this.setPreserve,\n getInitialValue: _this.getInitialValue,\n registerWatch: _this.registerWatch\n };\n }\n warning(false, '`getInternalHooks` is internal usage. Should not call directly.');\n return null;\n };\n this.useSubscribe = function (subscribable) {\n _this.subscribable = subscribable;\n };\n this.prevWithoutPreserves = null;\n this.setInitialValues = function (initialValues, init) {\n _this.initialValues = initialValues || {};\n if (init) {\n var _this$prevWithoutPres;\n var nextStore = setValues({}, initialValues, _this.store);\n // We will take consider prev form unmount fields.\n // When the field is not `preserve`, we need fill this with initialValues instead of store.\n // eslint-disable-next-line array-callback-return\n (_this$prevWithoutPres = _this.prevWithoutPreserves) === null || _this$prevWithoutPres === void 0 ? void 0 : _this$prevWithoutPres.map(function (_ref) {\n var namePath = _ref.key;\n nextStore = setValue(nextStore, namePath, getValue(initialValues, namePath));\n });\n _this.prevWithoutPreserves = null;\n _this.updateStore(nextStore);\n }\n };\n this.destroyForm = function () {\n var prevWithoutPreserves = new NameMap();\n _this.getFieldEntities(true).forEach(function (entity) {\n if (!_this.isMergedPreserve(entity.isPreserve())) {\n prevWithoutPreserves.set(entity.getNamePath(), true);\n }\n });\n _this.prevWithoutPreserves = prevWithoutPreserves;\n };\n this.getInitialValue = function (namePath) {\n var initValue = getValue(_this.initialValues, namePath);\n // Not cloneDeep when without `namePath`\n return namePath.length ? cloneDeep(initValue) : initValue;\n };\n this.setCallbacks = function (callbacks) {\n _this.callbacks = callbacks;\n };\n this.setValidateMessages = function (validateMessages) {\n _this.validateMessages = validateMessages;\n };\n this.setPreserve = function (preserve) {\n _this.preserve = preserve;\n };\n this.watchList = [];\n this.registerWatch = function (callback) {\n _this.watchList.push(callback);\n return function () {\n _this.watchList = _this.watchList.filter(function (fn) {\n return fn !== callback;\n });\n };\n };\n this.notifyWatch = function () {\n var namePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n // No need to cost perf when nothing need to watch\n if (_this.watchList.length) {\n var values = _this.getFieldsValue();\n _this.watchList.forEach(function (callback) {\n callback(values, namePath);\n });\n }\n };\n this.timeoutId = null;\n this.warningUnhooked = function () {\n if (process.env.NODE_ENV !== 'production' && !_this.timeoutId && typeof window !== 'undefined') {\n _this.timeoutId = setTimeout(function () {\n _this.timeoutId = null;\n if (!_this.formHooked) {\n warning(false, 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?');\n }\n });\n }\n };\n this.updateStore = function (nextStore) {\n _this.store = nextStore;\n };\n this.getFieldEntities = function () {\n var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n if (!pure) {\n return _this.fieldEntities;\n }\n return _this.fieldEntities.filter(function (field) {\n return field.getNamePath().length;\n });\n };\n this.getFieldsMap = function () {\n var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var cache = new NameMap();\n _this.getFieldEntities(pure).forEach(function (field) {\n var namePath = field.getNamePath();\n cache.set(namePath, field);\n });\n return cache;\n };\n this.getFieldEntitiesForNamePathList = function (nameList) {\n if (!nameList) {\n return _this.getFieldEntities(true);\n }\n var cache = _this.getFieldsMap(true);\n return nameList.map(function (name) {\n var namePath = getNamePath(name);\n return cache.get(namePath) || {\n INVALIDATE_NAME_PATH: getNamePath(name)\n };\n });\n };\n this.getFieldsValue = function (nameList, filterFunc) {\n _this.warningUnhooked();\n if (nameList === true && !filterFunc) {\n return _this.store;\n }\n var fieldEntities = _this.getFieldEntitiesForNamePathList(Array.isArray(nameList) ? nameList : null);\n var filteredNameList = [];\n fieldEntities.forEach(function (entity) {\n var _entity$isListField;\n var namePath = 'INVALIDATE_NAME_PATH' in entity ? entity.INVALIDATE_NAME_PATH : entity.getNamePath();\n // Ignore when it's a list item and not specific the namePath,\n // since parent field is already take in count\n if (!nameList && ((_entity$isListField = entity.isListField) === null || _entity$isListField === void 0 ? void 0 : _entity$isListField.call(entity))) {\n return;\n }\n if (!filterFunc) {\n filteredNameList.push(namePath);\n } else {\n var meta = 'getMeta' in entity ? entity.getMeta() : null;\n if (filterFunc(meta)) {\n filteredNameList.push(namePath);\n }\n }\n });\n return cloneByNamePathList(_this.store, filteredNameList.map(getNamePath));\n };\n this.getFieldValue = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n return getValue(_this.store, namePath);\n };\n this.getFieldsError = function (nameList) {\n _this.warningUnhooked();\n var fieldEntities = _this.getFieldEntitiesForNamePathList(nameList);\n return fieldEntities.map(function (entity, index) {\n if (entity && !('INVALIDATE_NAME_PATH' in entity)) {\n return {\n name: entity.getNamePath(),\n errors: entity.getErrors(),\n warnings: entity.getWarnings()\n };\n }\n return {\n name: getNamePath(nameList[index]),\n errors: [],\n warnings: []\n };\n });\n };\n this.getFieldError = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n var fieldError = _this.getFieldsError([namePath])[0];\n return fieldError.errors;\n };\n this.getFieldWarning = function (name) {\n _this.warningUnhooked();\n var namePath = getNamePath(name);\n var fieldError = _this.getFieldsError([namePath])[0];\n return fieldError.warnings;\n };\n this.isFieldsTouched = function () {\n _this.warningUnhooked();\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var arg0 = args[0],\n arg1 = args[1];\n var namePathList;\n var isAllFieldsTouched = false;\n if (args.length === 0) {\n namePathList = null;\n } else if (args.length === 1) {\n if (Array.isArray(arg0)) {\n namePathList = arg0.map(getNamePath);\n isAllFieldsTouched = false;\n } else {\n namePathList = null;\n isAllFieldsTouched = arg0;\n }\n } else {\n namePathList = arg0.map(getNamePath);\n isAllFieldsTouched = arg1;\n }\n var fieldEntities = _this.getFieldEntities(true);\n var isFieldTouched = function isFieldTouched(field) {\n return field.isFieldTouched();\n };\n // ===== Will get fully compare when not config namePathList =====\n if (!namePathList) {\n return isAllFieldsTouched ? fieldEntities.every(isFieldTouched) : fieldEntities.some(isFieldTouched);\n }\n // Generate a nest tree for validate\n var map = new NameMap();\n namePathList.forEach(function (shortNamePath) {\n map.set(shortNamePath, []);\n });\n fieldEntities.forEach(function (field) {\n var fieldNamePath = field.getNamePath();\n // Find matched entity and put into list\n namePathList.forEach(function (shortNamePath) {\n if (shortNamePath.every(function (nameUnit, i) {\n return fieldNamePath[i] === nameUnit;\n })) {\n map.update(shortNamePath, function (list) {\n return [].concat(_toConsumableArray(list), [field]);\n });\n }\n });\n });\n // Check if NameMap value is touched\n var isNamePathListTouched = function isNamePathListTouched(entities) {\n return entities.some(isFieldTouched);\n };\n var namePathListEntities = map.map(function (_ref2) {\n var value = _ref2.value;\n return value;\n });\n return isAllFieldsTouched ? namePathListEntities.every(isNamePathListTouched) : namePathListEntities.some(isNamePathListTouched);\n };\n this.isFieldTouched = function (name) {\n _this.warningUnhooked();\n return _this.isFieldsTouched([name]);\n };\n this.isFieldsValidating = function (nameList) {\n _this.warningUnhooked();\n var fieldEntities = _this.getFieldEntities();\n if (!nameList) {\n return fieldEntities.some(function (testField) {\n return testField.isFieldValidating();\n });\n }\n var namePathList = nameList.map(getNamePath);\n return fieldEntities.some(function (testField) {\n var fieldNamePath = testField.getNamePath();\n return containsNamePath(namePathList, fieldNamePath) && testField.isFieldValidating();\n });\n };\n this.isFieldValidating = function (name) {\n _this.warningUnhooked();\n return _this.isFieldsValidating([name]);\n };\n this.resetWithFieldInitialValue = function () {\n var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Create cache\n var cache = new NameMap();\n var fieldEntities = _this.getFieldEntities(true);\n fieldEntities.forEach(function (field) {\n var initialValue = field.props.initialValue;\n var namePath = field.getNamePath();\n // Record only if has `initialValue`\n if (initialValue !== undefined) {\n var records = cache.get(namePath) || new Set();\n records.add({\n entity: field,\n value: initialValue\n });\n cache.set(namePath, records);\n }\n });\n // Reset\n var resetWithFields = function resetWithFields(entities) {\n entities.forEach(function (field) {\n var initialValue = field.props.initialValue;\n if (initialValue !== undefined) {\n var namePath = field.getNamePath();\n var formInitialValue = _this.getInitialValue(namePath);\n if (formInitialValue !== undefined) {\n // Warning if conflict with form initialValues and do not modify value\n warning(false, \"Form already set 'initialValues' with path '\".concat(namePath.join('.'), \"'. Field can not overwrite it.\"));\n } else {\n var records = cache.get(namePath);\n if (records && records.size > 1) {\n // Warning if multiple field set `initialValue`and do not modify value\n warning(false, \"Multiple Field with path '\".concat(namePath.join('.'), \"' set 'initialValue'. Can not decide which one to pick.\"));\n } else if (records) {\n var originValue = _this.getFieldValue(namePath);\n // Set `initialValue`\n if (!info.skipExist || originValue === undefined) {\n _this.updateStore(setValue(_this.store, namePath, _toConsumableArray(records)[0].value));\n }\n }\n }\n }\n });\n };\n var requiredFieldEntities;\n if (info.entities) {\n requiredFieldEntities = info.entities;\n } else if (info.namePathList) {\n requiredFieldEntities = [];\n info.namePathList.forEach(function (namePath) {\n var records = cache.get(namePath);\n if (records) {\n var _requiredFieldEntitie;\n (_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, _toConsumableArray(_toConsumableArray(records).map(function (r) {\n return r.entity;\n })));\n }\n });\n } else {\n requiredFieldEntities = fieldEntities;\n }\n resetWithFields(requiredFieldEntities);\n };\n this.resetFields = function (nameList) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n if (!nameList) {\n _this.updateStore(setValues({}, _this.initialValues));\n _this.resetWithFieldInitialValue();\n _this.notifyObservers(prevStore, null, {\n type: 'reset'\n });\n _this.notifyWatch();\n return;\n }\n // Reset by `nameList`\n var namePathList = nameList.map(getNamePath);\n namePathList.forEach(function (namePath) {\n var initialValue = _this.getInitialValue(namePath);\n _this.updateStore(setValue(_this.store, namePath, initialValue));\n });\n _this.resetWithFieldInitialValue({\n namePathList: namePathList\n });\n _this.notifyObservers(prevStore, namePathList, {\n type: 'reset'\n });\n _this.notifyWatch(namePathList);\n };\n this.setFields = function (fields) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n var namePathList = [];\n fields.forEach(function (fieldData) {\n var name = fieldData.name,\n errors = fieldData.errors,\n data = _objectWithoutProperties(fieldData, _excluded);\n var namePath = getNamePath(name);\n namePathList.push(namePath);\n // Value\n if ('value' in data) {\n _this.updateStore(setValue(_this.store, namePath, data.value));\n }\n _this.notifyObservers(prevStore, [namePath], {\n type: 'setField',\n data: fieldData\n });\n });\n _this.notifyWatch(namePathList);\n };\n this.getFields = function () {\n var entities = _this.getFieldEntities(true);\n var fields = entities.map(function (field) {\n var namePath = field.getNamePath();\n var meta = field.getMeta();\n var fieldData = _objectSpread(_objectSpread({}, meta), {}, {\n name: namePath,\n value: _this.getFieldValue(namePath)\n });\n Object.defineProperty(fieldData, 'originRCField', {\n value: true\n });\n return fieldData;\n });\n return fields;\n };\n this.initEntityValue = function (entity) {\n var initialValue = entity.props.initialValue;\n if (initialValue !== undefined) {\n var namePath = entity.getNamePath();\n var prevValue = getValue(_this.store, namePath);\n if (prevValue === undefined) {\n _this.updateStore(setValue(_this.store, namePath, initialValue));\n }\n }\n };\n this.isMergedPreserve = function (fieldPreserve) {\n var mergedPreserve = fieldPreserve !== undefined ? fieldPreserve : _this.preserve;\n return mergedPreserve !== null && mergedPreserve !== void 0 ? mergedPreserve : true;\n };\n this.registerField = function (entity) {\n _this.fieldEntities.push(entity);\n var namePath = entity.getNamePath();\n _this.notifyWatch([namePath]);\n // Set initial values\n if (entity.props.initialValue !== undefined) {\n var prevStore = _this.store;\n _this.resetWithFieldInitialValue({\n entities: [entity],\n skipExist: true\n });\n _this.notifyObservers(prevStore, [entity.getNamePath()], {\n type: 'valueUpdate',\n source: 'internal'\n });\n }\n // un-register field callback\n return function (isListField, preserve) {\n var subNamePath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n _this.fieldEntities = _this.fieldEntities.filter(function (item) {\n return item !== entity;\n });\n // Clean up store value if not preserve\n if (!_this.isMergedPreserve(preserve) && (!isListField || subNamePath.length > 1)) {\n var defaultValue = isListField ? undefined : _this.getInitialValue(namePath);\n if (namePath.length && _this.getFieldValue(namePath) !== defaultValue && _this.fieldEntities.every(function (field) {\n return (\n // Only reset when no namePath exist\n !matchNamePath(field.getNamePath(), namePath)\n );\n })) {\n var _prevStore = _this.store;\n _this.updateStore(setValue(_prevStore, namePath, defaultValue, true));\n // Notify that field is unmount\n _this.notifyObservers(_prevStore, [namePath], {\n type: 'remove'\n });\n // Dependencies update\n _this.triggerDependenciesUpdate(_prevStore, namePath);\n }\n }\n _this.notifyWatch([namePath]);\n };\n };\n this.dispatch = function (action) {\n switch (action.type) {\n case 'updateValue':\n {\n var namePath = action.namePath,\n value = action.value;\n _this.updateValue(namePath, value);\n break;\n }\n case 'validateField':\n {\n var _namePath = action.namePath,\n triggerName = action.triggerName;\n _this.validateFields([_namePath], {\n triggerName: triggerName\n });\n break;\n }\n default:\n // Currently we don't have other action. Do nothing.\n }\n };\n this.notifyObservers = function (prevStore, namePathList, info) {\n if (_this.subscribable) {\n var mergedInfo = _objectSpread(_objectSpread({}, info), {}, {\n store: _this.getFieldsValue(true)\n });\n _this.getFieldEntities().forEach(function (_ref3) {\n var onStoreChange = _ref3.onStoreChange;\n onStoreChange(prevStore, namePathList, mergedInfo);\n });\n } else {\n _this.forceRootUpdate();\n }\n };\n this.triggerDependenciesUpdate = function (prevStore, namePath) {\n var childrenFields = _this.getDependencyChildrenFields(namePath);\n if (childrenFields.length) {\n _this.validateFields(childrenFields);\n }\n _this.notifyObservers(prevStore, childrenFields, {\n type: 'dependenciesUpdate',\n relatedFields: [namePath].concat(_toConsumableArray(childrenFields))\n });\n return childrenFields;\n };\n this.updateValue = function (name, value) {\n var namePath = getNamePath(name);\n var prevStore = _this.store;\n _this.updateStore(setValue(_this.store, namePath, value));\n _this.notifyObservers(prevStore, [namePath], {\n type: 'valueUpdate',\n source: 'internal'\n });\n _this.notifyWatch([namePath]);\n // Dependencies update\n var childrenFields = _this.triggerDependenciesUpdate(prevStore, namePath);\n // trigger callback function\n var onValuesChange = _this.callbacks.onValuesChange;\n if (onValuesChange) {\n var changedValues = cloneByNamePathList(_this.store, [namePath]);\n onValuesChange(changedValues, _this.getFieldsValue());\n }\n _this.triggerOnFieldsChange([namePath].concat(_toConsumableArray(childrenFields)));\n };\n this.setFieldsValue = function (store) {\n _this.warningUnhooked();\n var prevStore = _this.store;\n if (store) {\n var nextStore = setValues(_this.store, store);\n _this.updateStore(nextStore);\n }\n _this.notifyObservers(prevStore, null, {\n type: 'valueUpdate',\n source: 'external'\n });\n _this.notifyWatch();\n };\n this.setFieldValue = function (name, value) {\n _this.setFields([{\n name: name,\n value: value\n }]);\n };\n this.getDependencyChildrenFields = function (rootNamePath) {\n var children = new Set();\n var childrenFields = [];\n var dependencies2fields = new NameMap();\n /**\n * Generate maps\n * Can use cache to save perf if user report performance issue with this\n */\n _this.getFieldEntities().forEach(function (field) {\n var dependencies = field.props.dependencies;\n (dependencies || []).forEach(function (dependency) {\n var dependencyNamePath = getNamePath(dependency);\n dependencies2fields.update(dependencyNamePath, function () {\n var fields = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Set();\n fields.add(field);\n return fields;\n });\n });\n });\n var fillChildren = function fillChildren(namePath) {\n var fields = dependencies2fields.get(namePath) || new Set();\n fields.forEach(function (field) {\n if (!children.has(field)) {\n children.add(field);\n var fieldNamePath = field.getNamePath();\n if (field.isFieldDirty() && fieldNamePath.length) {\n childrenFields.push(fieldNamePath);\n fillChildren(fieldNamePath);\n }\n }\n });\n };\n fillChildren(rootNamePath);\n return childrenFields;\n };\n this.triggerOnFieldsChange = function (namePathList, filedErrors) {\n var onFieldsChange = _this.callbacks.onFieldsChange;\n if (onFieldsChange) {\n var fields = _this.getFields();\n /**\n * Fill errors since `fields` may be replaced by controlled fields\n */\n if (filedErrors) {\n var cache = new NameMap();\n filedErrors.forEach(function (_ref4) {\n var name = _ref4.name,\n errors = _ref4.errors;\n cache.set(name, errors);\n });\n fields.forEach(function (field) {\n // eslint-disable-next-line no-param-reassign\n field.errors = cache.get(field.name) || field.errors;\n });\n }\n var changedFields = fields.filter(function (_ref5) {\n var fieldName = _ref5.name;\n return containsNamePath(namePathList, fieldName);\n });\n onFieldsChange(changedFields, fields);\n }\n };\n this.validateFields = function (nameList, options) {\n _this.warningUnhooked();\n var provideNameList = !!nameList;\n var namePathList = provideNameList ? nameList.map(getNamePath) : [];\n // Collect result in promise list\n var promiseList = [];\n _this.getFieldEntities(true).forEach(function (field) {\n // Add field if not provide `nameList`\n if (!provideNameList) {\n namePathList.push(field.getNamePath());\n }\n /**\n * Recursive validate if configured.\n * TODO: perf improvement @zombieJ\n */\n if ((options === null || options === void 0 ? void 0 : options.recursive) && provideNameList) {\n var namePath = field.getNamePath();\n if (\n // nameList[i] === undefined 说明是以 nameList 开头的\n // ['name'] -> ['name','list']\n namePath.every(function (nameUnit, i) {\n return nameList[i] === nameUnit || nameList[i] === undefined;\n })) {\n namePathList.push(namePath);\n }\n }\n // Skip if without rule\n if (!field.props.rules || !field.props.rules.length) {\n return;\n }\n var fieldNamePath = field.getNamePath();\n // Add field validate rule in to promise list\n if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {\n var promise = field.validateRules(_objectSpread({\n validateMessages: _objectSpread(_objectSpread({}, defaultValidateMessages), _this.validateMessages)\n }, options));\n // Wrap promise with field\n promiseList.push(promise.then(function () {\n return {\n name: fieldNamePath,\n errors: [],\n warnings: []\n };\n }).catch(function (ruleErrors) {\n var _ruleErrors$forEach;\n var mergedErrors = [];\n var mergedWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 ? void 0 : _ruleErrors$forEach.call(ruleErrors, function (_ref6) {\n var warningOnly = _ref6.rule.warningOnly,\n errors = _ref6.errors;\n if (warningOnly) {\n mergedWarnings.push.apply(mergedWarnings, _toConsumableArray(errors));\n } else {\n mergedErrors.push.apply(mergedErrors, _toConsumableArray(errors));\n }\n });\n if (mergedErrors.length) {\n return Promise.reject({\n name: fieldNamePath,\n errors: mergedErrors,\n warnings: mergedWarnings\n });\n }\n return {\n name: fieldNamePath,\n errors: mergedErrors,\n warnings: mergedWarnings\n };\n }));\n }\n });\n var summaryPromise = allPromiseFinish(promiseList);\n _this.lastValidatePromise = summaryPromise;\n // Notify fields with rule that validate has finished and need update\n summaryPromise.catch(function (results) {\n return results;\n }).then(function (results) {\n var resultNamePathList = results.map(function (_ref7) {\n var name = _ref7.name;\n return name;\n });\n _this.notifyObservers(_this.store, resultNamePathList, {\n type: 'validateFinish'\n });\n _this.triggerOnFieldsChange(resultNamePathList, results);\n });\n var returnPromise = summaryPromise.then(function () {\n if (_this.lastValidatePromise === summaryPromise) {\n return Promise.resolve(_this.getFieldsValue(namePathList));\n }\n return Promise.reject([]);\n }).catch(function (results) {\n var errorList = results.filter(function (result) {\n return result && result.errors.length;\n });\n return Promise.reject({\n values: _this.getFieldsValue(namePathList),\n errorFields: errorList,\n outOfDate: _this.lastValidatePromise !== summaryPromise\n });\n });\n // Do not throw in console\n returnPromise.catch(function (e) {\n return e;\n });\n return returnPromise;\n };\n this.submit = function () {\n _this.warningUnhooked();\n _this.validateFields().then(function (values) {\n var onFinish = _this.callbacks.onFinish;\n if (onFinish) {\n try {\n onFinish(values);\n } catch (err) {\n // Should print error if user `onFinish` callback failed\n console.error(err);\n }\n }\n }).catch(function (e) {\n var onFinishFailed = _this.callbacks.onFinishFailed;\n if (onFinishFailed) {\n onFinishFailed(e);\n }\n });\n };\n this.forceRootUpdate = forceRootUpdate;\n});\nfunction useForm(form) {\n var formRef = React.useRef();\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n forceUpdate = _React$useState2[1];\n if (!formRef.current) {\n if (form) {\n formRef.current = form;\n } else {\n // Create a new FormStore if not provided\n var forceReRender = function forceReRender() {\n forceUpdate({});\n };\n var formStore = new FormStore(forceReRender);\n formRef.current = formStore.getForm();\n }\n }\n return [formRef.current];\n}\nexport default useForm;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nvar FormContext = /*#__PURE__*/React.createContext({\n triggerFormChange: function triggerFormChange() {},\n triggerFormFinish: function triggerFormFinish() {},\n registerForm: function registerForm() {},\n unregisterForm: function unregisterForm() {}\n});\nvar FormProvider = function FormProvider(_ref) {\n var validateMessages = _ref.validateMessages,\n onFormChange = _ref.onFormChange,\n onFormFinish = _ref.onFormFinish,\n children = _ref.children;\n var formContext = React.useContext(FormContext);\n var formsRef = React.useRef({});\n return /*#__PURE__*/React.createElement(FormContext.Provider, {\n value: _objectSpread(_objectSpread({}, formContext), {}, {\n validateMessages: _objectSpread(_objectSpread({}, formContext.validateMessages), validateMessages),\n // =========================================================\n // = Global Form Control =\n // =========================================================\n triggerFormChange: function triggerFormChange(name, changedFields) {\n if (onFormChange) {\n onFormChange(name, {\n changedFields: changedFields,\n forms: formsRef.current\n });\n }\n formContext.triggerFormChange(name, changedFields);\n },\n triggerFormFinish: function triggerFormFinish(name, values) {\n if (onFormFinish) {\n onFormFinish(name, {\n values: values,\n forms: formsRef.current\n });\n }\n formContext.triggerFormFinish(name, values);\n },\n registerForm: function registerForm(name, form) {\n if (name) {\n formsRef.current = _objectSpread(_objectSpread({}, formsRef.current), {}, _defineProperty({}, name, form));\n }\n formContext.registerForm(name, form);\n },\n unregisterForm: function unregisterForm(name) {\n var newForms = _objectSpread({}, formsRef.current);\n delete newForms[name];\n formsRef.current = newForms;\n formContext.unregisterForm(name);\n }\n })\n }, children);\n};\nexport { FormProvider };\nexport default FormContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"name\", \"initialValues\", \"fields\", \"form\", \"preserve\", \"children\", \"component\", \"validateMessages\", \"validateTrigger\", \"onValuesChange\", \"onFieldsChange\", \"onFinish\", \"onFinishFailed\"];\nimport * as React from 'react';\nimport useForm from './useForm';\nimport FieldContext, { HOOK_MARK } from './FieldContext';\nimport FormContext from './FormContext';\nimport { isSimilar } from './utils/valueUtil';\nvar Form = function Form(_ref, ref) {\n var name = _ref.name,\n initialValues = _ref.initialValues,\n fields = _ref.fields,\n form = _ref.form,\n preserve = _ref.preserve,\n children = _ref.children,\n _ref$component = _ref.component,\n Component = _ref$component === void 0 ? 'form' : _ref$component,\n validateMessages = _ref.validateMessages,\n _ref$validateTrigger = _ref.validateTrigger,\n validateTrigger = _ref$validateTrigger === void 0 ? 'onChange' : _ref$validateTrigger,\n onValuesChange = _ref.onValuesChange,\n _onFieldsChange = _ref.onFieldsChange,\n _onFinish = _ref.onFinish,\n onFinishFailed = _ref.onFinishFailed,\n restProps = _objectWithoutProperties(_ref, _excluded);\n var formContext = React.useContext(FormContext);\n // We customize handle event since Context will makes all the consumer re-render:\n // https://reactjs.org/docs/context.html#contextprovider\n var _useForm = useForm(form),\n _useForm2 = _slicedToArray(_useForm, 1),\n formInstance = _useForm2[0];\n var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK),\n useSubscribe = _formInstance$getInte.useSubscribe,\n setInitialValues = _formInstance$getInte.setInitialValues,\n setCallbacks = _formInstance$getInte.setCallbacks,\n setValidateMessages = _formInstance$getInte.setValidateMessages,\n setPreserve = _formInstance$getInte.setPreserve,\n destroyForm = _formInstance$getInte.destroyForm;\n // Pass ref with form instance\n React.useImperativeHandle(ref, function () {\n return formInstance;\n });\n // Register form into Context\n React.useEffect(function () {\n formContext.registerForm(name, formInstance);\n return function () {\n formContext.unregisterForm(name);\n };\n }, [formContext, formInstance, name]);\n // Pass props to store\n setValidateMessages(_objectSpread(_objectSpread({}, formContext.validateMessages), validateMessages));\n setCallbacks({\n onValuesChange: onValuesChange,\n onFieldsChange: function onFieldsChange(changedFields) {\n formContext.triggerFormChange(name, changedFields);\n if (_onFieldsChange) {\n for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rest[_key - 1] = arguments[_key];\n }\n _onFieldsChange.apply(void 0, [changedFields].concat(rest));\n }\n },\n onFinish: function onFinish(values) {\n formContext.triggerFormFinish(name, values);\n if (_onFinish) {\n _onFinish(values);\n }\n },\n onFinishFailed: onFinishFailed\n });\n setPreserve(preserve);\n // Set initial value, init store value when first mount\n var mountRef = React.useRef(null);\n setInitialValues(initialValues, !mountRef.current);\n if (!mountRef.current) {\n mountRef.current = true;\n }\n React.useEffect(function () {\n return destroyForm;\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n []);\n // Prepare children by `children` type\n var childrenNode;\n var childrenRenderProps = typeof children === 'function';\n if (childrenRenderProps) {\n var values = formInstance.getFieldsValue(true);\n childrenNode = children(values, formInstance);\n } else {\n childrenNode = children;\n }\n // Not use subscribe when using render props\n useSubscribe(!childrenRenderProps);\n // Listen if fields provided. We use ref to save prev data here to avoid additional render\n var prevFieldsRef = React.useRef();\n React.useEffect(function () {\n if (!isSimilar(prevFieldsRef.current || [], fields || [])) {\n formInstance.setFields(fields || []);\n }\n prevFieldsRef.current = fields;\n }, [fields, formInstance]);\n var formContextValue = React.useMemo(function () {\n return _objectSpread(_objectSpread({}, formInstance), {}, {\n validateTrigger: validateTrigger\n });\n }, [formInstance, validateTrigger]);\n var wrapperNode = /*#__PURE__*/React.createElement(FieldContext.Provider, {\n value: formContextValue\n }, childrenNode);\n if (Component === false) {\n return wrapperNode;\n }\n return /*#__PURE__*/React.createElement(Component, _extends({}, restProps, {\n onSubmit: function onSubmit(event) {\n event.preventDefault();\n event.stopPropagation();\n formInstance.submit();\n },\n onReset: function onReset(event) {\n var _restProps$onReset;\n event.preventDefault();\n formInstance.resetFields();\n (_restProps$onReset = restProps.onReset) === null || _restProps$onReset === void 0 ? void 0 : _restProps$onReset.call(restProps, event);\n }\n }), wrapperNode);\n};\nexport default Form;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { FieldContext } from '.';\nimport warning from \"rc-util/es/warning\";\nimport { HOOK_MARK } from './FieldContext';\nimport { useState, useContext, useEffect, useRef, useMemo } from 'react';\nimport { getNamePath, getValue } from './utils/valueUtil';\nexport function stringify(value) {\n try {\n return JSON.stringify(value);\n } catch (err) {\n return Math.random();\n }\n}\nfunction useWatch() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var _args$ = args[0],\n dependencies = _args$ === void 0 ? [] : _args$,\n form = args[1];\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n value = _useState2[0],\n setValue = _useState2[1];\n var valueStr = useMemo(function () {\n return stringify(value);\n }, [value]);\n var valueStrRef = useRef(valueStr);\n valueStrRef.current = valueStr;\n var fieldContext = useContext(FieldContext);\n var formInstance = form || fieldContext;\n var isValidForm = formInstance && formInstance._init;\n // Warning if not exist form instance\n if (process.env.NODE_ENV !== 'production') {\n warning(args.length === 2 ? form ? isValidForm : true : isValidForm, 'useWatch requires a form instance since it can not auto detect from context.');\n }\n var namePath = getNamePath(dependencies);\n var namePathRef = useRef(namePath);\n namePathRef.current = namePath;\n useEffect(function () {\n // Skip if not exist form instance\n if (!isValidForm) {\n return;\n }\n var getFieldsValue = formInstance.getFieldsValue,\n getInternalHooks = formInstance.getInternalHooks;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n registerWatch = _getInternalHooks.registerWatch;\n var cancelRegister = registerWatch(function (store) {\n var newValue = getValue(store, namePathRef.current);\n var nextValueStr = stringify(newValue);\n // Compare stringify in case it's nest object\n if (valueStrRef.current !== nextValueStr) {\n valueStrRef.current = nextValueStr;\n setValue(newValue);\n }\n });\n // TODO: We can improve this perf in future\n var initialValue = getValue(getFieldsValue(), namePathRef.current);\n setValue(initialValue);\n return cancelRegister;\n },\n // We do not need re-register since namePath content is the same\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [isValidForm]);\n return value;\n}\nexport default useWatch;","import * as React from 'react';\nimport Field from './Field';\nimport List from './List';\nimport useForm from './useForm';\nimport FieldForm from './Form';\nimport { FormProvider } from './FormContext';\nimport FieldContext from './FieldContext';\nimport ListContext from './ListContext';\nimport useWatch from './useWatch';\nvar InternalForm = /*#__PURE__*/React.forwardRef(FieldForm);\nvar RefForm = InternalForm;\nRefForm.FormProvider = FormProvider;\nRefForm.Field = Field;\nRefForm.List = List;\nRefForm.useForm = useForm;\nRefForm.useWatch = useWatch;\nexport { Field, List, useForm, FormProvider, FieldContext, ListContext, useWatch };\nexport default RefForm;","export function hasAddon(props) {\n return !!(props.addonBefore || props.addonAfter);\n}\nexport function hasPrefixSuffix(props) {\n return !!(props.prefix || props.suffix || props.allowClear);\n}\nexport function resolveOnChange(target, e, onChange, targetValue) {\n if (!onChange) {\n return;\n }\n\n var event = e;\n\n if (e.type === 'click') {\n // Clone a new target for event.\n // Avoid the following usage, the setQuery method gets the original value.\n //\n // const [query, setQuery] = React.useState('');\n // {\n // setQuery((prevStatus) => e.target.value);\n // }}\n // />\n var currentTarget = target.cloneNode(true); // click clear icon\n\n event = Object.create(e, {\n target: {\n value: currentTarget\n },\n currentTarget: {\n value: currentTarget\n }\n });\n currentTarget.value = '';\n onChange(event);\n return;\n } // Trigger by composition event, this means we need force change the input value\n\n\n if (targetValue !== undefined) {\n event = Object.create(e, {\n target: {\n value: target\n },\n currentTarget: {\n value: target\n }\n });\n target.value = targetValue;\n onChange(event);\n return;\n }\n\n onChange(event);\n}\nexport function triggerFocus(element, option) {\n if (!element) return;\n element.focus(option); // Selection content\n\n var _ref = option || {},\n cursor = _ref.cursor;\n\n if (cursor) {\n var len = element.value.length;\n\n switch (cursor) {\n case 'start':\n element.setSelectionRange(0, 0);\n break;\n\n case 'end':\n element.setSelectionRange(len, len);\n break;\n\n default:\n element.setSelectionRange(0, len);\n }\n }\n}\nexport function fixControlledValue(value) {\n if (typeof value === 'undefined' || value === null) {\n return '';\n }\n\n return String(value);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport React, { cloneElement, useRef } from 'react';\nimport classNames from 'classnames';\nimport { hasAddon, hasPrefixSuffix } from \"./utils/commonUtils\";\n\nvar BaseInput = function BaseInput(props) {\n var inputElement = props.inputElement,\n prefixCls = props.prefixCls,\n prefix = props.prefix,\n suffix = props.suffix,\n addonBefore = props.addonBefore,\n addonAfter = props.addonAfter,\n className = props.className,\n style = props.style,\n affixWrapperClassName = props.affixWrapperClassName,\n groupClassName = props.groupClassName,\n wrapperClassName = props.wrapperClassName,\n disabled = props.disabled,\n readOnly = props.readOnly,\n focused = props.focused,\n triggerFocus = props.triggerFocus,\n allowClear = props.allowClear,\n value = props.value,\n handleReset = props.handleReset,\n hidden = props.hidden;\n var containerRef = useRef(null);\n\n var onInputClick = function onInputClick(e) {\n var _containerRef$current;\n\n if ((_containerRef$current = containerRef.current) !== null && _containerRef$current !== void 0 && _containerRef$current.contains(e.target)) {\n triggerFocus === null || triggerFocus === void 0 ? void 0 : triggerFocus();\n }\n }; // ================== Clear Icon ================== //\n\n\n var getClearIcon = function getClearIcon() {\n var _classNames;\n\n if (!allowClear) {\n return null;\n }\n\n var needClear = !disabled && !readOnly && value;\n var clearIconCls = \"\".concat(prefixCls, \"-clear-icon\");\n var iconNode = _typeof(allowClear) === 'object' && allowClear !== null && allowClear !== void 0 && allowClear.clearIcon ? allowClear.clearIcon : '✖';\n return /*#__PURE__*/React.createElement(\"span\", {\n onClick: handleReset // Do not trigger onBlur when clear input\n // https://github.com/ant-design/ant-design/issues/31200\n ,\n onMouseDown: function onMouseDown(e) {\n return e.preventDefault();\n },\n className: classNames(clearIconCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(clearIconCls, \"-hidden\"), !needClear), _defineProperty(_classNames, \"\".concat(clearIconCls, \"-has-suffix\"), !!suffix), _classNames)),\n role: \"button\",\n tabIndex: -1\n }, iconNode);\n };\n\n var element = /*#__PURE__*/cloneElement(inputElement, {\n value: value,\n hidden: hidden\n }); // ================== Prefix & Suffix ================== //\n\n if (hasPrefixSuffix(props)) {\n var _classNames2;\n\n var affixWrapperPrefixCls = \"\".concat(prefixCls, \"-affix-wrapper\");\n var affixWrapperCls = classNames(affixWrapperPrefixCls, (_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-disabled\"), disabled), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-focused\"), focused), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-readonly\"), readOnly), _defineProperty(_classNames2, \"\".concat(affixWrapperPrefixCls, \"-input-with-clear-btn\"), suffix && allowClear && value), _classNames2), !hasAddon(props) && className, affixWrapperClassName);\n var suffixNode = (suffix || allowClear) && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-suffix\")\n }, getClearIcon(), suffix);\n element = /*#__PURE__*/React.createElement(\"span\", {\n className: affixWrapperCls,\n style: style,\n hidden: !hasAddon(props) && hidden,\n onClick: onInputClick,\n ref: containerRef\n }, prefix && /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-prefix\")\n }, prefix), /*#__PURE__*/cloneElement(inputElement, {\n style: null,\n value: value,\n hidden: null\n }), suffixNode);\n } // ================== Addon ================== //\n\n\n if (hasAddon(props)) {\n var wrapperCls = \"\".concat(prefixCls, \"-group\");\n var addonCls = \"\".concat(wrapperCls, \"-addon\");\n var mergedWrapperClassName = classNames(\"\".concat(prefixCls, \"-wrapper\"), wrapperCls, wrapperClassName);\n var mergedGroupClassName = classNames(\"\".concat(prefixCls, \"-group-wrapper\"), className, groupClassName); // Need another wrapper for changing display:table to display:inline-block\n // and put style prop in wrapper\n\n return /*#__PURE__*/React.createElement(\"span\", {\n className: mergedGroupClassName,\n style: style,\n hidden: hidden\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: mergedWrapperClassName\n }, addonBefore && /*#__PURE__*/React.createElement(\"span\", {\n className: addonCls\n }, addonBefore), /*#__PURE__*/cloneElement(element, {\n style: null,\n hidden: null\n }), addonAfter && /*#__PURE__*/React.createElement(\"span\", {\n className: addonCls\n }, addonAfter)));\n }\n\n return element;\n};\n\nexport default BaseInput;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"autoComplete\", \"onChange\", \"onFocus\", \"onBlur\", \"onPressEnter\", \"onKeyDown\", \"prefixCls\", \"disabled\", \"htmlSize\", \"className\", \"maxLength\", \"suffix\", \"showCount\", \"type\", \"inputClassName\"];\nimport React, { useRef, useState, forwardRef, useImperativeHandle, useEffect } from 'react';\nimport BaseInput from \"./BaseInput\";\nimport omit from \"rc-util/es/omit\";\nimport { fixControlledValue, hasAddon, hasPrefixSuffix, resolveOnChange, triggerFocus } from \"./utils/commonUtils\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nvar Input = /*#__PURE__*/forwardRef(function (props, ref) {\n var autoComplete = props.autoComplete,\n onChange = props.onChange,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPressEnter = props.onPressEnter,\n onKeyDown = props.onKeyDown,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-input' : _props$prefixCls,\n disabled = props.disabled,\n htmlSize = props.htmlSize,\n className = props.className,\n maxLength = props.maxLength,\n suffix = props.suffix,\n showCount = props.showCount,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n inputClassName = props.inputClassName,\n rest = _objectWithoutProperties(props, _excluded);\n\n var _useMergedState = useMergedState(props.defaultValue, {\n value: props.value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n value = _useMergedState2[0],\n setValue = _useMergedState2[1];\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n focused = _useState2[0],\n setFocused = _useState2[1];\n\n var inputRef = useRef(null);\n\n var focus = function focus(option) {\n if (inputRef.current) {\n triggerFocus(inputRef.current, option);\n }\n };\n\n useImperativeHandle(ref, function () {\n return {\n focus: focus,\n blur: function blur() {\n var _inputRef$current;\n\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.blur();\n },\n setSelectionRange: function setSelectionRange(start, end, direction) {\n var _inputRef$current2;\n\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.setSelectionRange(start, end, direction);\n },\n select: function select() {\n var _inputRef$current3;\n\n (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.select();\n },\n input: inputRef.current\n };\n });\n useEffect(function () {\n setFocused(function (prev) {\n return prev && disabled ? false : prev;\n });\n }, [disabled]);\n\n var handleChange = function handleChange(e) {\n if (props.value === undefined) {\n setValue(e.target.value);\n }\n\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange);\n }\n };\n\n var handleKeyDown = function handleKeyDown(e) {\n if (onPressEnter && e.key === 'Enter') {\n onPressEnter(e);\n }\n\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);\n };\n\n var handleFocus = function handleFocus(e) {\n setFocused(true);\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);\n };\n\n var handleBlur = function handleBlur(e) {\n setFocused(false);\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);\n };\n\n var handleReset = function handleReset(e) {\n setValue('');\n focus();\n\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange);\n }\n };\n\n var getInputElement = function getInputElement() {\n // Fix https://fb.me/react-unknown-prop\n var otherProps = omit(props, ['prefixCls', 'onPressEnter', 'addonBefore', 'addonAfter', 'prefix', 'suffix', 'allowClear', // Input elements must be either controlled or uncontrolled,\n // specify either the value prop, or the defaultValue prop, but not both.\n 'defaultValue', 'showCount', 'affixWrapperClassName', 'groupClassName', 'inputClassName', 'wrapperClassName', 'htmlSize']);\n return /*#__PURE__*/React.createElement(\"input\", _extends({\n autoComplete: autoComplete\n }, otherProps, {\n onChange: handleChange,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onKeyDown: handleKeyDown,\n className: classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled), inputClassName, !hasAddon(props) && !hasPrefixSuffix(props) && className),\n ref: inputRef,\n size: htmlSize,\n type: type\n }));\n };\n\n var getSuffix = function getSuffix() {\n // Max length value\n var hasMaxLength = Number(maxLength) > 0;\n\n if (suffix || showCount) {\n var val = fixControlledValue(value);\n\n var valueLength = _toConsumableArray(val).length;\n\n var dataCount = _typeof(showCount) === 'object' ? showCount.formatter({\n value: val,\n count: valueLength,\n maxLength: maxLength\n }) : \"\".concat(valueLength).concat(hasMaxLength ? \" / \".concat(maxLength) : '');\n return /*#__PURE__*/React.createElement(React.Fragment, null, !!showCount && /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-show-count-suffix\"), _defineProperty({}, \"\".concat(prefixCls, \"-show-count-has-suffix\"), !!suffix))\n }, dataCount), suffix);\n }\n\n return null;\n };\n\n return /*#__PURE__*/React.createElement(BaseInput, _extends({}, rest, {\n prefixCls: prefixCls,\n className: className,\n inputElement: getInputElement(),\n handleReset: handleReset,\n value: fixControlledValue(value),\n focused: focused,\n triggerFocus: focus,\n suffix: getSuffix(),\n disabled: disabled\n }));\n});\nexport default Input;","import BaseInput from \"./BaseInput\";\nimport Input from \"./Input\";\nexport { BaseInput };\nexport default Input;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar _excluded = [\"children\", \"locked\"];\nimport * as React from 'react';\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport shallowEqual from 'shallowequal';\nexport var MenuContext = /*#__PURE__*/React.createContext(null);\n\nfunction mergeProps(origin, target) {\n var clone = _objectSpread({}, origin);\n\n Object.keys(target).forEach(function (key) {\n var value = target[key];\n\n if (value !== undefined) {\n clone[key] = value;\n }\n });\n return clone;\n}\n\nexport default function InheritableContextProvider(_ref) {\n var children = _ref.children,\n locked = _ref.locked,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var context = React.useContext(MenuContext);\n var inheritableContext = useMemo(function () {\n return mergeProps(context, restProps);\n }, [context, restProps], function (prev, next) {\n return !locked && (prev[0] !== next[0] || !shallowEqual(prev[1], next[1]));\n });\n return /*#__PURE__*/React.createElement(MenuContext.Provider, {\n value: inheritableContext\n }, children);\n}","import * as React from 'react';\nimport { MenuContext } from \"../context/MenuContext\";\nexport default function useActive(eventKey, disabled, onMouseEnter, onMouseLeave) {\n var _React$useContext = React.useContext(MenuContext),\n activeKey = _React$useContext.activeKey,\n onActive = _React$useContext.onActive,\n onInactive = _React$useContext.onInactive;\n\n var ret = {\n active: activeKey === eventKey\n }; // Skip when disabled\n\n if (!disabled) {\n ret.onMouseEnter = function (domEvent) {\n onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter({\n key: eventKey,\n domEvent: domEvent\n });\n onActive(eventKey);\n };\n\n ret.onMouseLeave = function (domEvent) {\n onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave({\n key: eventKey,\n domEvent: domEvent\n });\n onInactive(eventKey);\n };\n }\n\n return ret;\n}","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"item\"];\nimport warning from \"rc-util/es/warning\";\n/**\n * `onClick` event return `info.item` which point to react node directly.\n * We should warning this since it will not work on FC.\n */\n\nexport function warnItemProp(_ref) {\n var item = _ref.item,\n restInfo = _objectWithoutProperties(_ref, _excluded);\n\n Object.defineProperty(restInfo, 'item', {\n get: function get() {\n warning(false, '`info.item` is deprecated since we will move to function component that not provides React Node instance in future.');\n return item;\n }\n });\n return restInfo;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nexport default function Icon(_ref) {\n var icon = _ref.icon,\n props = _ref.props,\n children = _ref.children;\n var iconNode;\n\n if (typeof icon === 'function') {\n iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread({}, props));\n } else {\n // Compatible for origin definition\n iconNode = icon;\n }\n\n return iconNode || children || null;\n}","import * as React from 'react';\nimport { MenuContext } from \"../context/MenuContext\";\nexport default function useDirectionStyle(level) {\n var _React$useContext = React.useContext(MenuContext),\n mode = _React$useContext.mode,\n rtl = _React$useContext.rtl,\n inlineIndent = _React$useContext.inlineIndent;\n\n if (mode !== 'inline') {\n return null;\n }\n\n var len = level;\n return rtl ? {\n paddingRight: len * inlineIndent\n } : {\n paddingLeft: len * inlineIndent\n };\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nvar EmptyList = []; // ========================= Path Register =========================\n\nexport var PathRegisterContext = /*#__PURE__*/React.createContext(null);\nexport function useMeasure() {\n return React.useContext(PathRegisterContext);\n} // ========================= Path Tracker ==========================\n\nexport var PathTrackerContext = /*#__PURE__*/React.createContext(EmptyList);\nexport function useFullPath(eventKey) {\n var parentKeyPath = React.useContext(PathTrackerContext);\n return React.useMemo(function () {\n return eventKey !== undefined ? [].concat(_toConsumableArray(parentKeyPath), [eventKey]) : parentKeyPath;\n }, [parentKeyPath, eventKey]);\n} // =========================== Path User ===========================\n\nexport var PathUserContext = /*#__PURE__*/React.createContext(null);","import * as React from 'react';\nexport var IdContext = /*#__PURE__*/React.createContext(null);\nexport function getMenuId(uuid, eventKey) {\n if (uuid === undefined) {\n return null;\n }\n\n return \"\".concat(uuid, \"-\").concat(eventKey);\n}\n/**\n * Get `data-menu-id`\n */\n\nexport function useMenuId(eventKey) {\n var id = React.useContext(IdContext);\n return getMenuId(id, eventKey);\n}","import * as React from 'react';\nvar PrivateContext = /*#__PURE__*/React.createContext({});\nexport default PrivateContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"title\", \"attribute\", \"elementRef\"],\n _excluded2 = [\"style\", \"className\", \"eventKey\", \"warnKey\", \"disabled\", \"itemIcon\", \"children\", \"role\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"onKeyDown\", \"onFocus\"],\n _excluded3 = [\"active\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Overflow from 'rc-overflow';\nimport warning from \"rc-util/es/warning\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport omit from \"rc-util/es/omit\";\nimport { MenuContext } from \"./context/MenuContext\";\nimport useActive from \"./hooks/useActive\";\nimport { warnItemProp } from \"./utils/warnUtil\";\nimport Icon from \"./Icon\";\nimport useDirectionStyle from \"./hooks/useDirectionStyle\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\nimport { useMenuId } from \"./context/IdContext\";\nimport PrivateContext from \"./context/PrivateContext\";\n\n// Since Menu event provide the `info.item` which point to the MenuItem node instance.\n// We have to use class component here.\n// This should be removed from doc & api in future.\nvar LegacyMenuItem = /*#__PURE__*/function (_React$Component) {\n _inherits(LegacyMenuItem, _React$Component);\n\n var _super = _createSuper(LegacyMenuItem);\n\n function LegacyMenuItem() {\n _classCallCheck(this, LegacyMenuItem);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(LegacyMenuItem, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n title = _this$props.title,\n attribute = _this$props.attribute,\n elementRef = _this$props.elementRef,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n\n var passedProps = omit(restProps, ['eventKey']);\n warning(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');\n return /*#__PURE__*/React.createElement(Overflow.Item, _extends({}, attribute, {\n title: typeof title === 'string' ? title : undefined\n }, passedProps, {\n ref: elementRef\n }));\n }\n }]);\n\n return LegacyMenuItem;\n}(React.Component);\n/**\n * Real Menu Item component\n */\n\n\nvar InternalMenuItem = function InternalMenuItem(props) {\n var _classNames;\n\n var style = props.style,\n className = props.className,\n eventKey = props.eventKey,\n warnKey = props.warnKey,\n disabled = props.disabled,\n itemIcon = props.itemIcon,\n children = props.children,\n role = props.role,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onClick = props.onClick,\n onKeyDown = props.onKeyDown,\n onFocus = props.onFocus,\n restProps = _objectWithoutProperties(props, _excluded2);\n\n var domDataId = useMenuId(eventKey);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n onItemClick = _React$useContext.onItemClick,\n contextDisabled = _React$useContext.disabled,\n overflowDisabled = _React$useContext.overflowDisabled,\n contextItemIcon = _React$useContext.itemIcon,\n selectedKeys = _React$useContext.selectedKeys,\n onActive = _React$useContext.onActive;\n\n var _React$useContext2 = React.useContext(PrivateContext),\n _internalRenderMenuItem = _React$useContext2._internalRenderMenuItem;\n\n var itemCls = \"\".concat(prefixCls, \"-item\");\n var legacyMenuItemRef = React.useRef();\n var elementRef = React.useRef();\n var mergedDisabled = contextDisabled || disabled;\n var connectedKeys = useFullPath(eventKey); // ================================ Warn ================================\n\n if (process.env.NODE_ENV !== 'production' && warnKey) {\n warning(false, 'MenuItem should not leave undefined `key`.');\n } // ============================= Info =============================\n\n\n var getEventInfo = function getEventInfo(e) {\n return {\n key: eventKey,\n // Note: For legacy code is reversed which not like other antd component\n keyPath: _toConsumableArray(connectedKeys).reverse(),\n item: legacyMenuItemRef.current,\n domEvent: e\n };\n }; // ============================= Icon =============================\n\n\n var mergedItemIcon = itemIcon || contextItemIcon; // ============================ Active ============================\n\n var _useActive = useActive(eventKey, mergedDisabled, onMouseEnter, onMouseLeave),\n active = _useActive.active,\n activeProps = _objectWithoutProperties(_useActive, _excluded3); // ============================ Select ============================\n\n\n var selected = selectedKeys.includes(eventKey); // ======================== DirectionStyle ========================\n\n var directionStyle = useDirectionStyle(connectedKeys.length); // ============================ Events ============================\n\n var onInternalClick = function onInternalClick(e) {\n if (mergedDisabled) {\n return;\n }\n\n var info = getEventInfo(e);\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n };\n\n var onInternalKeyDown = function onInternalKeyDown(e) {\n onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);\n\n if (e.which === KeyCode.ENTER) {\n var info = getEventInfo(e); // Legacy. Key will also trigger click event\n\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n }\n };\n /**\n * Used for accessibility. Helper will focus element without key board.\n * We should manually trigger an active\n */\n\n\n var onInternalFocus = function onInternalFocus(e) {\n onActive(eventKey);\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);\n }; // ============================ Render ============================\n\n\n var optionRoleProps = {};\n\n if (props.role === 'option') {\n optionRoleProps['aria-selected'] = selected;\n }\n\n var renderNode = /*#__PURE__*/React.createElement(LegacyMenuItem, _extends({\n ref: legacyMenuItemRef,\n elementRef: elementRef,\n role: role === null ? 'none' : role || 'menuitem',\n tabIndex: disabled ? null : -1,\n \"data-menu-id\": overflowDisabled && domDataId ? null : domDataId\n }, restProps, activeProps, optionRoleProps, {\n component: \"li\",\n \"aria-disabled\": disabled,\n style: _objectSpread(_objectSpread({}, directionStyle), style),\n className: classNames(itemCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(itemCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(itemCls, \"-selected\"), selected), _defineProperty(_classNames, \"\".concat(itemCls, \"-disabled\"), mergedDisabled), _classNames), className),\n onClick: onInternalClick,\n onKeyDown: onInternalKeyDown,\n onFocus: onInternalFocus\n }), children, /*#__PURE__*/React.createElement(Icon, {\n props: _objectSpread(_objectSpread({}, props), {}, {\n isSelected: selected\n }),\n icon: mergedItemIcon\n }));\n\n if (_internalRenderMenuItem) {\n renderNode = _internalRenderMenuItem(renderNode, props, {\n selected: selected\n });\n }\n\n return renderNode;\n};\n\nfunction MenuItem(props) {\n var eventKey = props.eventKey; // ==================== Record KeyPath ====================\n\n var measure = useMeasure();\n var connectedKeyPath = useFullPath(eventKey); // eslint-disable-next-line consistent-return\n\n React.useEffect(function () {\n if (measure) {\n measure.registerPath(eventKey, connectedKeyPath);\n return function () {\n measure.unregisterPath(eventKey, connectedKeyPath);\n };\n }\n }, [connectedKeyPath]);\n\n if (measure) {\n return null;\n } // ======================== Render ========================\n\n\n return /*#__PURE__*/React.createElement(InternalMenuItem, props);\n}\n\nexport default MenuItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar _excluded = [\"label\", \"children\", \"key\", \"type\"];\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { Divider, MenuItem, MenuItemGroup, SubMenu } from '..';\nexport function parseChildren(children, keyPath) {\n return toArray(children).map(function (child, index) {\n if ( /*#__PURE__*/React.isValidElement(child)) {\n var _eventKey, _child$props;\n\n var key = child.key;\n var eventKey = (_eventKey = (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.eventKey) !== null && _eventKey !== void 0 ? _eventKey : key;\n var emptyKey = eventKey === null || eventKey === undefined;\n\n if (emptyKey) {\n eventKey = \"tmp_key-\".concat([].concat(_toConsumableArray(keyPath), [index]).join('-'));\n }\n\n var cloneProps = {\n key: eventKey,\n eventKey: eventKey\n };\n\n if (process.env.NODE_ENV !== 'production' && emptyKey) {\n cloneProps.warnKey = true;\n }\n\n return /*#__PURE__*/React.cloneElement(child, cloneProps);\n }\n\n return child;\n });\n}\n\nfunction convertItemsToNodes(list) {\n return (list || []).map(function (opt, index) {\n if (opt && _typeof(opt) === 'object') {\n var _ref = opt,\n label = _ref.label,\n children = _ref.children,\n key = _ref.key,\n type = _ref.type,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var mergedKey = key !== null && key !== void 0 ? key : \"tmp-\".concat(index); // MenuItemGroup & SubMenuItem\n\n if (children || type === 'group') {\n if (type === 'group') {\n // Group\n return /*#__PURE__*/React.createElement(MenuItemGroup, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n } // Sub Menu\n\n\n return /*#__PURE__*/React.createElement(SubMenu, _extends({\n key: mergedKey\n }, restProps, {\n title: label\n }), convertItemsToNodes(children));\n } // MenuItem & Divider\n\n\n if (type === 'divider') {\n return /*#__PURE__*/React.createElement(Divider, _extends({\n key: mergedKey\n }, restProps));\n }\n\n return /*#__PURE__*/React.createElement(MenuItem, _extends({\n key: mergedKey\n }, restProps), label);\n }\n\n return null;\n }).filter(function (opt) {\n return opt;\n });\n}\n\nexport function parseItems(children, items, keyPath) {\n var childNodes = children;\n\n if (items) {\n childNodes = convertItemsToNodes(items);\n }\n\n return parseChildren(childNodes, keyPath);\n}","import * as React from 'react';\n/**\n * Cache callback function that always return same ref instead.\n * This is used for context optimization.\n */\n\nexport default function useMemoCallback(func) {\n var funRef = React.useRef(func);\n funRef.current = func;\n var callback = React.useCallback(function () {\n var _funRef$current;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_funRef$current = funRef.current) === null || _funRef$current === void 0 ? void 0 : _funRef$current.call.apply(_funRef$current, [funRef].concat(args));\n }, []);\n return func ? callback : undefined;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"children\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"../context/MenuContext\";\n\nvar InternalSubMenuList = function InternalSubMenuList(_ref, ref) {\n var className = _ref.className,\n children = _ref.children,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n mode = _React$useContext.mode,\n rtl = _React$useContext.rtl;\n\n return /*#__PURE__*/React.createElement(\"ul\", _extends({\n className: classNames(prefixCls, rtl && \"\".concat(prefixCls, \"-rtl\"), \"\".concat(prefixCls, \"-sub\"), \"\".concat(prefixCls, \"-\").concat(mode === 'inline' ? 'inline' : 'vertical'), className)\n }, restProps, {\n \"data-menu-list\": true,\n ref: ref\n }), children);\n};\n\nvar SubMenuList = /*#__PURE__*/React.forwardRef(InternalSubMenuList);\nSubMenuList.displayName = 'SubMenuList';\nexport default SubMenuList;","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nexport var placements = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -7]\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 7]\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0]\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0]\n }\n};\nexport var placementsRtl = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -7]\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 7]\n },\n rightTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0]\n },\n leftTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0]\n }\n};\nexport default placements;","export function getMotion(mode, motion, defaultMotions) {\n if (motion) {\n return motion;\n }\n\n if (defaultMotions) {\n return defaultMotions[mode] || defaultMotions.other;\n }\n\n return undefined;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Trigger from 'rc-trigger';\nimport classNames from 'classnames';\nimport raf from \"rc-util/es/raf\";\nimport { MenuContext } from \"../context/MenuContext\";\nimport { placements, placementsRtl } from \"../placements\";\nimport { getMotion } from \"../utils/motionUtil\";\nvar popupPlacementMap = {\n horizontal: 'bottomLeft',\n vertical: 'rightTop',\n 'vertical-left': 'rightTop',\n 'vertical-right': 'leftTop'\n};\nexport default function PopupTrigger(_ref) {\n var prefixCls = _ref.prefixCls,\n visible = _ref.visible,\n children = _ref.children,\n popup = _ref.popup,\n popupClassName = _ref.popupClassName,\n popupOffset = _ref.popupOffset,\n disabled = _ref.disabled,\n mode = _ref.mode,\n onVisibleChange = _ref.onVisibleChange;\n\n var _React$useContext = React.useContext(MenuContext),\n getPopupContainer = _React$useContext.getPopupContainer,\n rtl = _React$useContext.rtl,\n subMenuOpenDelay = _React$useContext.subMenuOpenDelay,\n subMenuCloseDelay = _React$useContext.subMenuCloseDelay,\n builtinPlacements = _React$useContext.builtinPlacements,\n triggerSubMenuAction = _React$useContext.triggerSubMenuAction,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n rootClassName = _React$useContext.rootClassName,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions;\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerVisible = _React$useState2[0],\n setInnerVisible = _React$useState2[1];\n\n var placement = rtl ? _objectSpread(_objectSpread({}, placementsRtl), builtinPlacements) : _objectSpread(_objectSpread({}, placements), builtinPlacements);\n var popupPlacement = popupPlacementMap[mode];\n var targetMotion = getMotion(mode, motion, defaultMotions);\n\n var mergedMotion = _objectSpread(_objectSpread({}, targetMotion), {}, {\n leavedClassName: \"\".concat(prefixCls, \"-hidden\"),\n removeOnLeave: false,\n motionAppear: true\n }); // Delay to change visible\n\n\n var visibleRef = React.useRef();\n React.useEffect(function () {\n visibleRef.current = raf(function () {\n setInnerVisible(visible);\n });\n return function () {\n raf.cancel(visibleRef.current);\n };\n }, [visible]);\n return /*#__PURE__*/React.createElement(Trigger, {\n prefixCls: prefixCls,\n popupClassName: classNames(\"\".concat(prefixCls, \"-popup\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), rtl), popupClassName, rootClassName),\n stretch: mode === 'horizontal' ? 'minWidth' : null,\n getPopupContainer: getPopupContainer,\n builtinPlacements: placement,\n popupPlacement: popupPlacement,\n popupVisible: innerVisible,\n popup: popup,\n popupAlign: popupOffset && {\n offset: popupOffset\n },\n action: disabled ? [] : [triggerSubMenuAction],\n mouseEnterDelay: subMenuOpenDelay,\n mouseLeaveDelay: subMenuCloseDelay,\n onPopupVisibleChange: onVisibleChange,\n forceRender: forceSubMenuRender,\n popupMotion: mergedMotion\n }, children);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport { getMotion } from \"../utils/motionUtil\";\nimport MenuContextProvider, { MenuContext } from \"../context/MenuContext\";\nimport SubMenuList from \"./SubMenuList\";\nexport default function InlineSubMenuList(_ref) {\n var id = _ref.id,\n open = _ref.open,\n keyPath = _ref.keyPath,\n children = _ref.children;\n var fixedMode = 'inline';\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions,\n mode = _React$useContext.mode; // Always use latest mode check\n\n\n var sameModeRef = React.useRef(false);\n sameModeRef.current = mode === fixedMode; // We record `destroy` mark here since when mode change from `inline` to others.\n // The inline list should remove when motion end.\n\n var _React$useState = React.useState(!sameModeRef.current),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n destroy = _React$useState2[0],\n setDestroy = _React$useState2[1];\n\n var mergedOpen = sameModeRef.current ? open : false; // ================================= Effect =================================\n // Reset destroy state when mode change back\n\n React.useEffect(function () {\n if (sameModeRef.current) {\n setDestroy(false);\n }\n }, [mode]); // ================================= Render =================================\n\n var mergedMotion = _objectSpread({}, getMotion(fixedMode, motion, defaultMotions)); // No need appear since nest inlineCollapse changed\n\n\n if (keyPath.length > 1) {\n mergedMotion.motionAppear = false;\n } // Hide inline list when mode changed and motion end\n\n\n var originOnVisibleChanged = mergedMotion.onVisibleChanged;\n\n mergedMotion.onVisibleChanged = function (newVisible) {\n if (!sameModeRef.current && !newVisible) {\n setDestroy(true);\n }\n\n return originOnVisibleChanged === null || originOnVisibleChanged === void 0 ? void 0 : originOnVisibleChanged(newVisible);\n };\n\n if (destroy) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(MenuContextProvider, {\n mode: fixedMode,\n locked: !sameModeRef.current\n }, /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: mergedOpen\n }, mergedMotion, {\n forceRender: forceSubMenuRender,\n removeOnLeave: false,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }), function (_ref2) {\n var motionClassName = _ref2.className,\n motionStyle = _ref2.style;\n return /*#__PURE__*/React.createElement(SubMenuList, {\n id: id,\n className: motionClassName,\n style: motionStyle\n }, children);\n }));\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"style\", \"className\", \"title\", \"eventKey\", \"warnKey\", \"disabled\", \"internalPopupClose\", \"children\", \"itemIcon\", \"expandIcon\", \"popupClassName\", \"popupOffset\", \"onClick\", \"onMouseEnter\", \"onMouseLeave\", \"onTitleClick\", \"onTitleMouseEnter\", \"onTitleMouseLeave\"],\n _excluded2 = [\"active\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Overflow from 'rc-overflow';\nimport warning from \"rc-util/es/warning\";\nimport SubMenuList from \"./SubMenuList\";\nimport { parseChildren } from \"../utils/nodeUtil\";\nimport MenuContextProvider, { MenuContext } from \"../context/MenuContext\";\nimport useMemoCallback from \"../hooks/useMemoCallback\";\nimport PopupTrigger from \"./PopupTrigger\";\nimport Icon from \"../Icon\";\nimport useActive from \"../hooks/useActive\";\nimport { warnItemProp } from \"../utils/warnUtil\";\nimport useDirectionStyle from \"../hooks/useDirectionStyle\";\nimport InlineSubMenuList from \"./InlineSubMenuList\";\nimport { PathTrackerContext, PathUserContext, useFullPath, useMeasure } from \"../context/PathContext\";\nimport { useMenuId } from \"../context/IdContext\";\nimport PrivateContext from \"../context/PrivateContext\";\n\nvar InternalSubMenu = function InternalSubMenu(props) {\n var _classNames;\n\n var style = props.style,\n className = props.className,\n title = props.title,\n eventKey = props.eventKey,\n warnKey = props.warnKey,\n disabled = props.disabled,\n internalPopupClose = props.internalPopupClose,\n children = props.children,\n itemIcon = props.itemIcon,\n expandIcon = props.expandIcon,\n popupClassName = props.popupClassName,\n popupOffset = props.popupOffset,\n onClick = props.onClick,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onTitleClick = props.onTitleClick,\n onTitleMouseEnter = props.onTitleMouseEnter,\n onTitleMouseLeave = props.onTitleMouseLeave,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var domDataId = useMenuId(eventKey);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n mode = _React$useContext.mode,\n openKeys = _React$useContext.openKeys,\n contextDisabled = _React$useContext.disabled,\n overflowDisabled = _React$useContext.overflowDisabled,\n activeKey = _React$useContext.activeKey,\n selectedKeys = _React$useContext.selectedKeys,\n contextItemIcon = _React$useContext.itemIcon,\n contextExpandIcon = _React$useContext.expandIcon,\n onItemClick = _React$useContext.onItemClick,\n onOpenChange = _React$useContext.onOpenChange,\n onActive = _React$useContext.onActive;\n\n var _React$useContext2 = React.useContext(PrivateContext),\n _internalRenderSubMenuItem = _React$useContext2._internalRenderSubMenuItem;\n\n var _React$useContext3 = React.useContext(PathUserContext),\n isSubPathKey = _React$useContext3.isSubPathKey;\n\n var connectedPath = useFullPath();\n var subMenuPrefixCls = \"\".concat(prefixCls, \"-submenu\");\n var mergedDisabled = contextDisabled || disabled;\n var elementRef = React.useRef();\n var popupRef = React.useRef(); // ================================ Warn ================================\n\n if (process.env.NODE_ENV !== 'production' && warnKey) {\n warning(false, 'SubMenu should not leave undefined `key`.');\n } // ================================ Icon ================================\n\n\n var mergedItemIcon = itemIcon || contextItemIcon;\n var mergedExpandIcon = expandIcon || contextExpandIcon; // ================================ Open ================================\n\n var originOpen = openKeys.includes(eventKey);\n var open = !overflowDisabled && originOpen; // =============================== Select ===============================\n\n var childrenSelected = isSubPathKey(selectedKeys, eventKey); // =============================== Active ===============================\n\n var _useActive = useActive(eventKey, mergedDisabled, onTitleMouseEnter, onTitleMouseLeave),\n active = _useActive.active,\n activeProps = _objectWithoutProperties(_useActive, _excluded2); // Fallback of active check to avoid hover on menu title or disabled item\n\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n childrenActive = _React$useState2[0],\n setChildrenActive = _React$useState2[1];\n\n var triggerChildrenActive = function triggerChildrenActive(newActive) {\n if (!mergedDisabled) {\n setChildrenActive(newActive);\n }\n };\n\n var onInternalMouseEnter = function onInternalMouseEnter(domEvent) {\n triggerChildrenActive(true);\n onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter({\n key: eventKey,\n domEvent: domEvent\n });\n };\n\n var onInternalMouseLeave = function onInternalMouseLeave(domEvent) {\n triggerChildrenActive(false);\n onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave({\n key: eventKey,\n domEvent: domEvent\n });\n };\n\n var mergedActive = React.useMemo(function () {\n if (active) {\n return active;\n }\n\n if (mode !== 'inline') {\n return childrenActive || isSubPathKey([activeKey], eventKey);\n }\n\n return false;\n }, [mode, active, activeKey, childrenActive, eventKey, isSubPathKey]); // ========================== DirectionStyle ==========================\n\n var directionStyle = useDirectionStyle(connectedPath.length); // =============================== Events ===============================\n // >>>> Title click\n\n var onInternalTitleClick = function onInternalTitleClick(e) {\n // Skip if disabled\n if (mergedDisabled) {\n return;\n }\n\n onTitleClick === null || onTitleClick === void 0 ? void 0 : onTitleClick({\n key: eventKey,\n domEvent: e\n }); // Trigger open by click when mode is `inline`\n\n if (mode === 'inline') {\n onOpenChange(eventKey, !originOpen);\n }\n }; // >>>> Context for children click\n\n\n var onMergedItemClick = useMemoCallback(function (info) {\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n onItemClick(info);\n }); // >>>>> Visible change\n\n var onPopupVisibleChange = function onPopupVisibleChange(newVisible) {\n if (mode !== 'inline') {\n onOpenChange(eventKey, newVisible);\n }\n };\n /**\n * Used for accessibility. Helper will focus element without key board.\n * We should manually trigger an active\n */\n\n\n var onInternalFocus = function onInternalFocus() {\n onActive(eventKey);\n }; // =============================== Render ===============================\n\n\n var popupId = domDataId && \"\".concat(domDataId, \"-popup\"); // >>>>> Title\n\n var titleNode = /*#__PURE__*/React.createElement(\"div\", _extends({\n role: \"menuitem\",\n style: directionStyle,\n className: \"\".concat(subMenuPrefixCls, \"-title\"),\n tabIndex: mergedDisabled ? null : -1,\n ref: elementRef,\n title: typeof title === 'string' ? title : null,\n \"data-menu-id\": overflowDisabled && domDataId ? null : domDataId,\n \"aria-expanded\": open,\n \"aria-haspopup\": true,\n \"aria-controls\": popupId,\n \"aria-disabled\": mergedDisabled,\n onClick: onInternalTitleClick,\n onFocus: onInternalFocus\n }, activeProps), title, /*#__PURE__*/React.createElement(Icon, {\n icon: mode !== 'horizontal' ? mergedExpandIcon : null,\n props: _objectSpread(_objectSpread({}, props), {}, {\n isOpen: open,\n // [Legacy] Not sure why need this mark\n isSubMenu: true\n })\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(subMenuPrefixCls, \"-arrow\")\n }))); // Cache mode if it change to `inline` which do not have popup motion\n\n var triggerModeRef = React.useRef(mode);\n\n if (mode !== 'inline' && connectedPath.length > 1) {\n triggerModeRef.current = 'vertical';\n } else {\n triggerModeRef.current = mode;\n }\n\n if (!overflowDisabled) {\n var triggerMode = triggerModeRef.current; // Still wrap with Trigger here since we need avoid react re-mount dom node\n // Which makes motion failed\n\n titleNode = /*#__PURE__*/React.createElement(PopupTrigger, {\n mode: triggerMode,\n prefixCls: subMenuPrefixCls,\n visible: !internalPopupClose && open && mode !== 'inline',\n popupClassName: popupClassName,\n popupOffset: popupOffset,\n popup: /*#__PURE__*/React.createElement(MenuContextProvider // Special handle of horizontal mode\n , {\n mode: triggerMode === 'horizontal' ? 'vertical' : triggerMode\n }, /*#__PURE__*/React.createElement(SubMenuList, {\n id: popupId,\n ref: popupRef\n }, children)),\n disabled: mergedDisabled,\n onVisibleChange: onPopupVisibleChange\n }, titleNode);\n } // >>>>> List node\n\n\n var listNode = /*#__PURE__*/React.createElement(Overflow.Item, _extends({\n role: \"none\"\n }, restProps, {\n component: \"li\",\n style: style,\n className: classNames(subMenuPrefixCls, \"\".concat(subMenuPrefixCls, \"-\").concat(mode), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-open\"), open), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-active\"), mergedActive), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-selected\"), childrenSelected), _defineProperty(_classNames, \"\".concat(subMenuPrefixCls, \"-disabled\"), mergedDisabled), _classNames)),\n onMouseEnter: onInternalMouseEnter,\n onMouseLeave: onInternalMouseLeave\n }), titleNode, !overflowDisabled && /*#__PURE__*/React.createElement(InlineSubMenuList, {\n id: popupId,\n open: open,\n keyPath: connectedPath\n }, children));\n\n if (_internalRenderSubMenuItem) {\n listNode = _internalRenderSubMenuItem(listNode, props, {\n selected: childrenSelected,\n active: mergedActive,\n open: open,\n disabled: mergedDisabled\n });\n } // >>>>> Render\n\n\n return /*#__PURE__*/React.createElement(MenuContextProvider, {\n onItemClick: onMergedItemClick,\n mode: mode === 'horizontal' ? 'vertical' : mode,\n itemIcon: mergedItemIcon,\n expandIcon: mergedExpandIcon\n }, listNode);\n};\n\nexport default function SubMenu(props) {\n var eventKey = props.eventKey,\n children = props.children;\n var connectedKeyPath = useFullPath(eventKey);\n var childList = parseChildren(children, connectedKeyPath); // ==================== Record KeyPath ====================\n\n var measure = useMeasure(); // eslint-disable-next-line consistent-return\n\n React.useEffect(function () {\n if (measure) {\n measure.registerPath(eventKey, connectedKeyPath);\n return function () {\n measure.unregisterPath(eventKey, connectedKeyPath);\n };\n }\n }, [connectedKeyPath]);\n var renderNode; // ======================== Render ========================\n\n if (measure) {\n renderNode = childList;\n } else {\n renderNode = /*#__PURE__*/React.createElement(InternalSubMenu, props, childList);\n }\n\n return /*#__PURE__*/React.createElement(PathTrackerContext.Provider, {\n value: connectedKeyPath\n }, renderNode);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport { getFocusNodeList } from \"rc-util/es/Dom/focus\";\nimport { getMenuId } from \"../context/IdContext\"; // destruct to reduce minify size\n\nvar LEFT = KeyCode.LEFT,\n RIGHT = KeyCode.RIGHT,\n UP = KeyCode.UP,\n DOWN = KeyCode.DOWN,\n ENTER = KeyCode.ENTER,\n ESC = KeyCode.ESC,\n HOME = KeyCode.HOME,\n END = KeyCode.END;\nvar ArrowKeys = [UP, DOWN, LEFT, RIGHT];\n\nfunction getOffset(mode, isRootLevel, isRtl, which) {\n var _inline, _horizontal, _vertical, _offsets;\n\n var prev = 'prev';\n var next = 'next';\n var children = 'children';\n var parent = 'parent'; // Inline enter is special that we use unique operation\n\n if (mode === 'inline' && which === ENTER) {\n return {\n inlineTrigger: true\n };\n }\n\n var inline = (_inline = {}, _defineProperty(_inline, UP, prev), _defineProperty(_inline, DOWN, next), _inline);\n var horizontal = (_horizontal = {}, _defineProperty(_horizontal, LEFT, isRtl ? next : prev), _defineProperty(_horizontal, RIGHT, isRtl ? prev : next), _defineProperty(_horizontal, DOWN, children), _defineProperty(_horizontal, ENTER, children), _horizontal);\n var vertical = (_vertical = {}, _defineProperty(_vertical, UP, prev), _defineProperty(_vertical, DOWN, next), _defineProperty(_vertical, ENTER, children), _defineProperty(_vertical, ESC, parent), _defineProperty(_vertical, LEFT, isRtl ? children : parent), _defineProperty(_vertical, RIGHT, isRtl ? parent : children), _vertical);\n var offsets = {\n inline: inline,\n horizontal: horizontal,\n vertical: vertical,\n inlineSub: inline,\n horizontalSub: vertical,\n verticalSub: vertical\n };\n var type = (_offsets = offsets[\"\".concat(mode).concat(isRootLevel ? '' : 'Sub')]) === null || _offsets === void 0 ? void 0 : _offsets[which];\n\n switch (type) {\n case prev:\n return {\n offset: -1,\n sibling: true\n };\n\n case next:\n return {\n offset: 1,\n sibling: true\n };\n\n case parent:\n return {\n offset: -1,\n sibling: false\n };\n\n case children:\n return {\n offset: 1,\n sibling: false\n };\n\n default:\n return null;\n }\n}\n\nfunction findContainerUL(element) {\n var current = element;\n\n while (current) {\n if (current.getAttribute('data-menu-list')) {\n return current;\n }\n\n current = current.parentElement;\n } // Normally should not reach this line\n\n /* istanbul ignore next */\n\n\n return null;\n}\n/**\n * Find focused element within element set provided\n */\n\n\nfunction getFocusElement(activeElement, elements) {\n var current = activeElement || document.activeElement;\n\n while (current) {\n if (elements.has(current)) {\n return current;\n }\n\n current = current.parentElement;\n }\n\n return null;\n}\n/**\n * Get focusable elements from the element set under provided container\n */\n\n\nfunction getFocusableElements(container, elements) {\n var list = getFocusNodeList(container, true);\n return list.filter(function (ele) {\n return elements.has(ele);\n });\n}\n\nfunction getNextFocusElement(parentQueryContainer, elements, focusMenuElement) {\n var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n\n // Key on the menu item will not get validate parent container\n if (!parentQueryContainer) {\n return null;\n } // List current level menu item elements\n\n\n var sameLevelFocusableMenuElementList = getFocusableElements(parentQueryContainer, elements); // Find next focus index\n\n var count = sameLevelFocusableMenuElementList.length;\n var focusIndex = sameLevelFocusableMenuElementList.findIndex(function (ele) {\n return focusMenuElement === ele;\n });\n\n if (offset < 0) {\n if (focusIndex === -1) {\n focusIndex = count - 1;\n } else {\n focusIndex -= 1;\n }\n } else if (offset > 0) {\n focusIndex += 1;\n }\n\n focusIndex = (focusIndex + count) % count; // Focus menu item\n\n return sameLevelFocusableMenuElementList[focusIndex];\n}\n\nexport default function useAccessibility(mode, activeKey, isRtl, id, containerRef, getKeys, getKeyPath, triggerActiveKey, triggerAccessibilityOpen, originOnKeyDown) {\n var rafRef = React.useRef();\n var activeRef = React.useRef();\n activeRef.current = activeKey;\n\n var cleanRaf = function cleanRaf() {\n raf.cancel(rafRef.current);\n };\n\n React.useEffect(function () {\n return function () {\n cleanRaf();\n };\n }, []);\n return function (e) {\n var which = e.which;\n\n if ([].concat(ArrowKeys, [ENTER, ESC, HOME, END]).includes(which)) {\n // Convert key to elements\n var elements;\n var key2element;\n var element2key; // >>> Wrap as function since we use raf for some case\n\n var refreshElements = function refreshElements() {\n elements = new Set();\n key2element = new Map();\n element2key = new Map();\n var keys = getKeys();\n keys.forEach(function (key) {\n var element = document.querySelector(\"[data-menu-id='\".concat(getMenuId(id, key), \"']\"));\n\n if (element) {\n elements.add(element);\n element2key.set(element, key);\n key2element.set(key, element);\n }\n });\n return elements;\n };\n\n refreshElements(); // First we should find current focused MenuItem/SubMenu element\n\n var activeElement = key2element.get(activeKey);\n var focusMenuElement = getFocusElement(activeElement, elements);\n var focusMenuKey = element2key.get(focusMenuElement);\n var offsetObj = getOffset(mode, getKeyPath(focusMenuKey, true).length === 1, isRtl, which); // Some mode do not have fully arrow operation like inline\n\n if (!offsetObj && which !== HOME && which !== END) {\n return;\n } // Arrow prevent default to avoid page scroll\n\n\n if (ArrowKeys.includes(which) || [HOME, END].includes(which)) {\n e.preventDefault();\n }\n\n var tryFocus = function tryFocus(menuElement) {\n if (menuElement) {\n var focusTargetElement = menuElement; // Focus to link instead of menu item if possible\n\n var link = menuElement.querySelector('a');\n\n if (link !== null && link !== void 0 && link.getAttribute('href')) {\n focusTargetElement = link;\n }\n\n var targetKey = element2key.get(menuElement);\n triggerActiveKey(targetKey);\n /**\n * Do not `useEffect` here since `tryFocus` may trigger async\n * which makes React sync update the `activeKey`\n * that force render before `useRef` set the next activeKey\n */\n\n cleanRaf();\n rafRef.current = raf(function () {\n if (activeRef.current === targetKey) {\n focusTargetElement.focus();\n }\n });\n }\n };\n\n if ([HOME, END].includes(which) || offsetObj.sibling || !focusMenuElement) {\n // ========================== Sibling ==========================\n // Find walkable focus menu element container\n var parentQueryContainer;\n\n if (!focusMenuElement || mode === 'inline') {\n parentQueryContainer = containerRef.current;\n } else {\n parentQueryContainer = findContainerUL(focusMenuElement);\n } // Get next focus element\n\n\n var targetElement;\n var focusableElements = getFocusableElements(parentQueryContainer, elements);\n\n if (which === HOME) {\n targetElement = focusableElements[0];\n } else if (which === END) {\n targetElement = focusableElements[focusableElements.length - 1];\n } else {\n targetElement = getNextFocusElement(parentQueryContainer, elements, focusMenuElement, offsetObj.offset);\n } // Focus menu item\n\n\n tryFocus(targetElement); // ======================= InlineTrigger =======================\n } else if (offsetObj.inlineTrigger) {\n // Inline trigger no need switch to sub menu item\n triggerAccessibilityOpen(focusMenuKey); // =========================== Level ===========================\n } else if (offsetObj.offset > 0) {\n triggerAccessibilityOpen(focusMenuKey, true);\n cleanRaf();\n rafRef.current = raf(function () {\n // Async should resync elements\n refreshElements();\n var controlId = focusMenuElement.getAttribute('aria-controls');\n var subQueryContainer = document.getElementById(controlId); // Get sub focusable menu item\n\n var targetElement = getNextFocusElement(subQueryContainer, elements); // Focus menu item\n\n tryFocus(targetElement);\n }, 5);\n } else if (offsetObj.offset < 0) {\n var keyPath = getKeyPath(focusMenuKey, true);\n var parentKey = keyPath[keyPath.length - 2];\n var parentMenuElement = key2element.get(parentKey); // Focus menu item\n\n triggerAccessibilityOpen(parentKey, false);\n tryFocus(parentMenuElement);\n }\n } // Pass origin key down event\n\n\n originOnKeyDown === null || originOnKeyDown === void 0 ? void 0 : originOnKeyDown(e);\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nvar uniquePrefix = Math.random().toFixed(5).toString().slice(2);\nvar internalId = 0;\nexport default function useUUID(id) {\n var _useMergedState = useMergedState(id, {\n value: id\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n uuid = _useMergedState2[0],\n setUUID = _useMergedState2[1];\n\n React.useEffect(function () {\n internalId += 1;\n var newId = process.env.NODE_ENV === 'test' ? 'test' : \"\".concat(uniquePrefix, \"-\").concat(internalId);\n setUUID(\"rc-menu-uuid-\".concat(newId));\n }, []);\n return uuid;\n}","export function nextSlice(callback) {\n /* istanbul ignore next */\n Promise.resolve().then(callback);\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useCallback } from 'react';\nimport warning from \"rc-util/es/warning\";\nimport { nextSlice } from \"../utils/timeUtil\";\nvar PATH_SPLIT = '__RC_UTIL_PATH_SPLIT__';\n\nvar getPathStr = function getPathStr(keyPath) {\n return keyPath.join(PATH_SPLIT);\n};\n\nvar getPathKeys = function getPathKeys(keyPathStr) {\n return keyPathStr.split(PATH_SPLIT);\n};\n\nexport var OVERFLOW_KEY = 'rc-menu-more';\nexport default function useKeyRecords() {\n var _React$useState = React.useState({}),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n internalForceUpdate = _React$useState2[1];\n\n var key2pathRef = useRef(new Map());\n var path2keyRef = useRef(new Map());\n\n var _React$useState3 = React.useState([]),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n overflowKeys = _React$useState4[0],\n setOverflowKeys = _React$useState4[1];\n\n var updateRef = useRef(0);\n var destroyRef = useRef(false);\n\n var forceUpdate = function forceUpdate() {\n if (!destroyRef.current) {\n internalForceUpdate({});\n }\n };\n\n var registerPath = useCallback(function (key, keyPath) {\n // Warning for invalidate or duplicated `key`\n if (process.env.NODE_ENV !== 'production') {\n warning(!key2pathRef.current.has(key), \"Duplicated key '\".concat(key, \"' used in Menu by path [\").concat(keyPath.join(' > '), \"]\"));\n } // Fill map\n\n\n var connectedPath = getPathStr(keyPath);\n path2keyRef.current.set(connectedPath, key);\n key2pathRef.current.set(key, connectedPath);\n updateRef.current += 1;\n var id = updateRef.current;\n nextSlice(function () {\n if (id === updateRef.current) {\n forceUpdate();\n }\n });\n }, []);\n var unregisterPath = useCallback(function (key, keyPath) {\n var connectedPath = getPathStr(keyPath);\n path2keyRef.current.delete(connectedPath);\n key2pathRef.current.delete(key);\n }, []);\n var refreshOverflowKeys = useCallback(function (keys) {\n setOverflowKeys(keys);\n }, []);\n var getKeyPath = useCallback(function (eventKey, includeOverflow) {\n var fullPath = key2pathRef.current.get(eventKey) || '';\n var keys = getPathKeys(fullPath);\n\n if (includeOverflow && overflowKeys.includes(keys[0])) {\n keys.unshift(OVERFLOW_KEY);\n }\n\n return keys;\n }, [overflowKeys]);\n var isSubPathKey = useCallback(function (pathKeys, eventKey) {\n return pathKeys.some(function (pathKey) {\n var pathKeyList = getKeyPath(pathKey, true);\n return pathKeyList.includes(eventKey);\n });\n }, [getKeyPath]);\n\n var getKeys = function getKeys() {\n var keys = _toConsumableArray(key2pathRef.current.keys());\n\n if (overflowKeys.length) {\n keys.push(OVERFLOW_KEY);\n }\n\n return keys;\n };\n /**\n * Find current key related child path keys\n */\n\n\n var getSubPathKeys = useCallback(function (key) {\n var connectedPath = \"\".concat(key2pathRef.current.get(key)).concat(PATH_SPLIT);\n var pathKeys = new Set();\n\n _toConsumableArray(path2keyRef.current.keys()).forEach(function (pathKey) {\n if (pathKey.startsWith(connectedPath)) {\n pathKeys.add(path2keyRef.current.get(pathKey));\n }\n });\n\n return pathKeys;\n }, []);\n React.useEffect(function () {\n return function () {\n destroyRef.current = true;\n };\n }, []);\n return {\n // Register\n registerPath: registerPath,\n unregisterPath: unregisterPath,\n refreshOverflowKeys: refreshOverflowKeys,\n // Util\n isSubPathKey: isSubPathKey,\n getKeyPath: getKeyPath,\n getKeys: getKeys,\n getSubPathKeys: getSubPathKeys\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"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\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport shallowEqual from 'shallowequal';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport warning from \"rc-util/es/warning\";\nimport Overflow from 'rc-overflow';\nimport MenuItem from \"./MenuItem\";\nimport { parseItems } from \"./utils/nodeUtil\";\nimport MenuContextProvider from \"./context/MenuContext\";\nimport useMemoCallback from \"./hooks/useMemoCallback\";\nimport { warnItemProp } from \"./utils/warnUtil\";\nimport SubMenu from \"./SubMenu\";\nimport useAccessibility from \"./hooks/useAccessibility\";\nimport useUUID from \"./hooks/useUUID\";\nimport { PathRegisterContext, PathUserContext } from \"./context/PathContext\";\nimport useKeyRecords, { OVERFLOW_KEY } from \"./hooks/useKeyRecords\";\nimport { getMenuId, IdContext } from \"./context/IdContext\";\nimport PrivateContext from \"./context/PrivateContext\";\nimport { useImperativeHandle } from 'react';\n/**\n * Menu modify after refactor:\n * ## Add\n * - disabled\n *\n * ## Remove\n * - openTransitionName\n * - openAnimation\n * - onDestroy\n * - siderCollapsed: Seems antd do not use this prop (Need test in antd)\n * - collapsedWidth: Seems this logic should be handle by antd Layout.Sider\n */\n// optimize for render\n\nvar EMPTY_LIST = [];\nvar Menu = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _childList$, _classNames;\n\n var _ref = props,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-menu' : _ref$prefixCls,\n rootClassName = _ref.rootClassName,\n style = _ref.style,\n className = _ref.className,\n _ref$tabIndex = _ref.tabIndex,\n tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,\n items = _ref.items,\n children = _ref.children,\n direction = _ref.direction,\n id = _ref.id,\n _ref$mode = _ref.mode,\n mode = _ref$mode === void 0 ? 'vertical' : _ref$mode,\n inlineCollapsed = _ref.inlineCollapsed,\n disabled = _ref.disabled,\n disabledOverflow = _ref.disabledOverflow,\n _ref$subMenuOpenDelay = _ref.subMenuOpenDelay,\n subMenuOpenDelay = _ref$subMenuOpenDelay === void 0 ? 0.1 : _ref$subMenuOpenDelay,\n _ref$subMenuCloseDela = _ref.subMenuCloseDelay,\n subMenuCloseDelay = _ref$subMenuCloseDela === void 0 ? 0.1 : _ref$subMenuCloseDela,\n forceSubMenuRender = _ref.forceSubMenuRender,\n defaultOpenKeys = _ref.defaultOpenKeys,\n openKeys = _ref.openKeys,\n activeKey = _ref.activeKey,\n defaultActiveFirst = _ref.defaultActiveFirst,\n _ref$selectable = _ref.selectable,\n selectable = _ref$selectable === void 0 ? true : _ref$selectable,\n _ref$multiple = _ref.multiple,\n multiple = _ref$multiple === void 0 ? false : _ref$multiple,\n defaultSelectedKeys = _ref.defaultSelectedKeys,\n selectedKeys = _ref.selectedKeys,\n onSelect = _ref.onSelect,\n onDeselect = _ref.onDeselect,\n _ref$inlineIndent = _ref.inlineIndent,\n inlineIndent = _ref$inlineIndent === void 0 ? 24 : _ref$inlineIndent,\n motion = _ref.motion,\n defaultMotions = _ref.defaultMotions,\n _ref$triggerSubMenuAc = _ref.triggerSubMenuAction,\n triggerSubMenuAction = _ref$triggerSubMenuAc === void 0 ? 'hover' : _ref$triggerSubMenuAc,\n builtinPlacements = _ref.builtinPlacements,\n itemIcon = _ref.itemIcon,\n expandIcon = _ref.expandIcon,\n _ref$overflowedIndica = _ref.overflowedIndicator,\n overflowedIndicator = _ref$overflowedIndica === void 0 ? '...' : _ref$overflowedIndica,\n overflowedIndicatorPopupClassName = _ref.overflowedIndicatorPopupClassName,\n getPopupContainer = _ref.getPopupContainer,\n onClick = _ref.onClick,\n onOpenChange = _ref.onOpenChange,\n onKeyDown = _ref.onKeyDown,\n openAnimation = _ref.openAnimation,\n openTransitionName = _ref.openTransitionName,\n _internalRenderMenuItem = _ref._internalRenderMenuItem,\n _internalRenderSubMenuItem = _ref._internalRenderSubMenuItem,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var childList = React.useMemo(function () {\n return parseItems(children, items, EMPTY_LIST);\n }, [children, items]);\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n mounted = _React$useState2[0],\n setMounted = _React$useState2[1];\n\n var containerRef = React.useRef();\n var uuid = useUUID(id);\n var isRtl = direction === 'rtl'; // ========================= Warn =========================\n\n if (process.env.NODE_ENV !== 'production') {\n warning(!openAnimation && !openTransitionName, '`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.');\n } // ========================= Mode =========================\n\n\n var _React$useMemo = React.useMemo(function () {\n if ((mode === 'inline' || mode === 'vertical') && inlineCollapsed) {\n return ['vertical', inlineCollapsed];\n }\n\n return [mode, false];\n }, [mode, inlineCollapsed]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n mergedMode = _React$useMemo2[0],\n mergedInlineCollapsed = _React$useMemo2[1]; // ====================== Responsive ======================\n\n\n var _React$useState3 = React.useState(0),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n lastVisibleIndex = _React$useState4[0],\n setLastVisibleIndex = _React$useState4[1];\n\n var allVisible = lastVisibleIndex >= childList.length - 1 || mergedMode !== 'horizontal' || disabledOverflow; // ========================= Open =========================\n\n var _useMergedState = useMergedState(defaultOpenKeys, {\n value: openKeys,\n postState: function postState(keys) {\n return keys || EMPTY_LIST;\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedOpenKeys = _useMergedState2[0],\n setMergedOpenKeys = _useMergedState2[1];\n\n var triggerOpenKeys = function triggerOpenKeys(keys) {\n setMergedOpenKeys(keys);\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(keys);\n }; // >>>>> Cache & Reset open keys when inlineCollapsed changed\n\n\n var _React$useState5 = React.useState(mergedOpenKeys),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n inlineCacheOpenKeys = _React$useState6[0],\n setInlineCacheOpenKeys = _React$useState6[1];\n\n var isInlineMode = mergedMode === 'inline';\n var mountRef = React.useRef(false); // Cache\n\n React.useEffect(function () {\n if (isInlineMode) {\n setInlineCacheOpenKeys(mergedOpenKeys);\n }\n }, [mergedOpenKeys]); // Restore\n\n React.useEffect(function () {\n if (!mountRef.current) {\n return;\n }\n\n if (isInlineMode) {\n setMergedOpenKeys(inlineCacheOpenKeys);\n } else {\n // Trigger open event in case its in control\n triggerOpenKeys(EMPTY_LIST);\n }\n }, [isInlineMode]);\n React.useEffect(function () {\n mountRef.current = true;\n return function () {\n mountRef.current = false;\n };\n }, []); // ========================= Path =========================\n\n var _useKeyRecords = useKeyRecords(),\n registerPath = _useKeyRecords.registerPath,\n unregisterPath = _useKeyRecords.unregisterPath,\n refreshOverflowKeys = _useKeyRecords.refreshOverflowKeys,\n isSubPathKey = _useKeyRecords.isSubPathKey,\n getKeyPath = _useKeyRecords.getKeyPath,\n getKeys = _useKeyRecords.getKeys,\n getSubPathKeys = _useKeyRecords.getSubPathKeys;\n\n var registerPathContext = React.useMemo(function () {\n return {\n registerPath: registerPath,\n unregisterPath: unregisterPath\n };\n }, [registerPath, unregisterPath]);\n var pathUserContext = React.useMemo(function () {\n return {\n isSubPathKey: isSubPathKey\n };\n }, [isSubPathKey]);\n React.useEffect(function () {\n refreshOverflowKeys(allVisible ? EMPTY_LIST : childList.slice(lastVisibleIndex + 1).map(function (child) {\n return child.key;\n }));\n }, [lastVisibleIndex, allVisible]); // ======================== Active ========================\n\n var _useMergedState3 = useMergedState(activeKey || defaultActiveFirst && ((_childList$ = childList[0]) === null || _childList$ === void 0 ? void 0 : _childList$.key), {\n value: activeKey\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedActiveKey = _useMergedState4[0],\n setMergedActiveKey = _useMergedState4[1];\n\n var onActive = useMemoCallback(function (key) {\n setMergedActiveKey(key);\n });\n var onInactive = useMemoCallback(function () {\n setMergedActiveKey(undefined);\n });\n useImperativeHandle(ref, function () {\n return {\n list: containerRef.current,\n focus: function focus(options) {\n var _childList$find;\n\n var shouldFocusKey = mergedActiveKey !== null && mergedActiveKey !== void 0 ? mergedActiveKey : (_childList$find = childList.find(function (node) {\n return !node.props.disabled;\n })) === null || _childList$find === void 0 ? void 0 : _childList$find.key;\n\n if (shouldFocusKey) {\n var _containerRef$current, _containerRef$current2, _containerRef$current3;\n\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : (_containerRef$current2 = _containerRef$current.querySelector(\"li[data-menu-id='\".concat(getMenuId(uuid, shouldFocusKey), \"']\"))) === null || _containerRef$current2 === void 0 ? void 0 : (_containerRef$current3 = _containerRef$current2.focus) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.call(_containerRef$current2, options);\n }\n }\n };\n }); // ======================== Select ========================\n // >>>>> Select keys\n\n var _useMergedState5 = useMergedState(defaultSelectedKeys || [], {\n value: selectedKeys,\n // Legacy convert key to array\n postState: function postState(keys) {\n if (Array.isArray(keys)) {\n return keys;\n }\n\n if (keys === null || keys === undefined) {\n return EMPTY_LIST;\n }\n\n return [keys];\n }\n }),\n _useMergedState6 = _slicedToArray(_useMergedState5, 2),\n mergedSelectKeys = _useMergedState6[0],\n setMergedSelectKeys = _useMergedState6[1]; // >>>>> Trigger select\n\n\n var triggerSelection = function triggerSelection(info) {\n if (selectable) {\n // Insert or Remove\n var targetKey = info.key;\n var exist = mergedSelectKeys.includes(targetKey);\n var newSelectKeys;\n\n if (multiple) {\n if (exist) {\n newSelectKeys = mergedSelectKeys.filter(function (key) {\n return key !== targetKey;\n });\n } else {\n newSelectKeys = [].concat(_toConsumableArray(mergedSelectKeys), [targetKey]);\n }\n } else {\n newSelectKeys = [targetKey];\n }\n\n setMergedSelectKeys(newSelectKeys); // Trigger event\n\n var selectInfo = _objectSpread(_objectSpread({}, info), {}, {\n selectedKeys: newSelectKeys\n });\n\n if (exist) {\n onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect(selectInfo);\n } else {\n onSelect === null || onSelect === void 0 ? void 0 : onSelect(selectInfo);\n }\n } // Whatever selectable, always close it\n\n\n if (!multiple && mergedOpenKeys.length && mergedMode !== 'inline') {\n triggerOpenKeys(EMPTY_LIST);\n }\n }; // ========================= Open =========================\n\n /**\n * Click for item. SubMenu do not have selection status\n */\n\n\n var onInternalClick = useMemoCallback(function (info) {\n onClick === null || onClick === void 0 ? void 0 : onClick(warnItemProp(info));\n triggerSelection(info);\n });\n var onInternalOpenChange = useMemoCallback(function (key, open) {\n var newOpenKeys = mergedOpenKeys.filter(function (k) {\n return k !== key;\n });\n\n if (open) {\n newOpenKeys.push(key);\n } else if (mergedMode !== 'inline') {\n // We need find all related popup to close\n var subPathKeys = getSubPathKeys(key);\n newOpenKeys = newOpenKeys.filter(function (k) {\n return !subPathKeys.has(k);\n });\n }\n\n if (!shallowEqual(mergedOpenKeys, newOpenKeys)) {\n triggerOpenKeys(newOpenKeys);\n }\n });\n var getInternalPopupContainer = useMemoCallback(getPopupContainer); // ==================== Accessibility =====================\n\n var triggerAccessibilityOpen = function triggerAccessibilityOpen(key, open) {\n var nextOpen = open !== null && open !== void 0 ? open : !mergedOpenKeys.includes(key);\n onInternalOpenChange(key, nextOpen);\n };\n\n var onInternalKeyDown = useAccessibility(mergedMode, mergedActiveKey, isRtl, uuid, containerRef, getKeys, getKeyPath, setMergedActiveKey, triggerAccessibilityOpen, onKeyDown); // ======================== Effect ========================\n\n React.useEffect(function () {\n setMounted(true);\n }, []); // ======================= Context ========================\n\n var privateContext = React.useMemo(function () {\n return {\n _internalRenderMenuItem: _internalRenderMenuItem,\n _internalRenderSubMenuItem: _internalRenderSubMenuItem\n };\n }, [_internalRenderMenuItem, _internalRenderSubMenuItem]); // ======================== Render ========================\n // >>>>> Children\n\n var wrappedChildList = mergedMode !== 'horizontal' || disabledOverflow ? childList : // Need wrap for overflow dropdown that do not response for open\n childList.map(function (child, index) {\n return (\n /*#__PURE__*/\n // Always wrap provider to avoid sub node re-mount\n React.createElement(MenuContextProvider, {\n key: child.key,\n overflowDisabled: index > lastVisibleIndex\n }, child)\n );\n }); // >>>>> Container\n\n var container = /*#__PURE__*/React.createElement(Overflow, _extends({\n id: id,\n ref: containerRef,\n prefixCls: \"\".concat(prefixCls, \"-overflow\"),\n component: \"ul\",\n itemComponent: MenuItem,\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-root\"), \"\".concat(prefixCls, \"-\").concat(mergedMode), className, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-inline-collapsed\"), mergedInlineCollapsed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), isRtl), _classNames), rootClassName),\n dir: direction,\n style: style,\n role: \"menu\",\n tabIndex: tabIndex,\n data: wrappedChildList,\n renderRawItem: function renderRawItem(node) {\n return node;\n },\n renderRawRest: function renderRawRest(omitItems) {\n // We use origin list since wrapped list use context to prevent open\n var len = omitItems.length;\n var originOmitItems = len ? childList.slice(-len) : null;\n return /*#__PURE__*/React.createElement(SubMenu, {\n eventKey: OVERFLOW_KEY,\n title: overflowedIndicator,\n disabled: allVisible,\n internalPopupClose: len === 0,\n popupClassName: overflowedIndicatorPopupClassName\n }, originOmitItems);\n },\n maxCount: mergedMode !== 'horizontal' || disabledOverflow ? Overflow.INVALIDATE : Overflow.RESPONSIVE,\n ssr: \"full\",\n \"data-menu-list\": true,\n onVisibleChange: function onVisibleChange(newLastIndex) {\n setLastVisibleIndex(newLastIndex);\n },\n onKeyDown: onInternalKeyDown\n }, restProps)); // >>>>> Render\n\n return /*#__PURE__*/React.createElement(PrivateContext.Provider, {\n value: privateContext\n }, /*#__PURE__*/React.createElement(IdContext.Provider, {\n value: uuid\n }, /*#__PURE__*/React.createElement(MenuContextProvider, {\n prefixCls: prefixCls,\n rootClassName: rootClassName,\n mode: mergedMode,\n openKeys: mergedOpenKeys,\n rtl: isRtl // Disabled\n ,\n disabled: disabled // Motion\n ,\n motion: mounted ? motion : null,\n defaultMotions: mounted ? defaultMotions : null // Active\n ,\n activeKey: mergedActiveKey,\n onActive: onActive,\n onInactive: onInactive // Selection\n ,\n selectedKeys: mergedSelectKeys // Level\n ,\n inlineIndent: inlineIndent // Popup\n ,\n subMenuOpenDelay: subMenuOpenDelay,\n subMenuCloseDelay: subMenuCloseDelay,\n forceSubMenuRender: forceSubMenuRender,\n builtinPlacements: builtinPlacements,\n triggerSubMenuAction: triggerSubMenuAction,\n getPopupContainer: getInternalPopupContainer // Icon\n ,\n itemIcon: itemIcon,\n expandIcon: expandIcon // Events\n ,\n onItemClick: onInternalClick,\n onOpenChange: onInternalOpenChange\n }, /*#__PURE__*/React.createElement(PathUserContext.Provider, {\n value: pathUserContext\n }, container), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n display: 'none'\n },\n \"aria-hidden\": true\n }, /*#__PURE__*/React.createElement(PathRegisterContext.Provider, {\n value: registerPathContext\n }, childList)))));\n});\nexport default Menu;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"title\", \"eventKey\", \"children\"],\n _excluded2 = [\"children\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { parseChildren } from \"./utils/nodeUtil\";\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\n\nvar InternalMenuItemGroup = function InternalMenuItemGroup(_ref) {\n var className = _ref.className,\n title = _ref.title,\n eventKey = _ref.eventKey,\n children = _ref.children,\n restProps = _objectWithoutProperties(_ref, _excluded);\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n\n var groupPrefixCls = \"\".concat(prefixCls, \"-item-group\");\n return /*#__PURE__*/React.createElement(\"li\", _extends({}, restProps, {\n onClick: function onClick(e) {\n return e.stopPropagation();\n },\n className: classNames(groupPrefixCls, className)\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(groupPrefixCls, \"-title\"),\n title: typeof title === 'string' ? title : undefined\n }, title), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(groupPrefixCls, \"-list\")\n }, children));\n};\n\nexport default function MenuItemGroup(_ref2) {\n var children = _ref2.children,\n props = _objectWithoutProperties(_ref2, _excluded2);\n\n var connectedKeyPath = useFullPath(props.eventKey);\n var childList = parseChildren(children, connectedKeyPath);\n var measure = useMeasure();\n\n if (measure) {\n return childList;\n }\n\n return /*#__PURE__*/React.createElement(InternalMenuItemGroup, omit(props, ['warnKey']), childList);\n}","import * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useMeasure } from \"./context/PathContext\";\nexport default function Divider(_ref) {\n var className = _ref.className,\n style = _ref.style;\n\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n\n var measure = useMeasure();\n\n if (measure) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classNames(\"\".concat(prefixCls, \"-item-divider\"), className),\n style: style\n });\n}","import Menu from \"./Menu\";\nimport MenuItem from \"./MenuItem\";\nimport SubMenu from \"./SubMenu\";\nimport MenuItemGroup from \"./MenuItemGroup\";\nimport { useFullPath } from \"./context/PathContext\";\nimport Divider from \"./Divider\";\nexport { SubMenu, MenuItem as Item, MenuItem, MenuItemGroup, MenuItemGroup as ItemGroup, Divider,\n/** @private Only used for antd internal. Do not use in your production. */\nuseFullPath };\nvar ExportMenu = Menu;\nExportMenu.Item = MenuItem;\nExportMenu.SubMenu = SubMenu;\nExportMenu.ItemGroup = MenuItemGroup;\nExportMenu.Divider = Divider;\nexport default ExportMenu;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport canUseDOM from \"rc-util/es/Dom/canUseDom\"; // ================= Transition =================\n// Event wrapper. Copy from react source code\n\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\".concat(styleProp)] = \"webkit\".concat(eventName);\n prefixes[\"Moz\".concat(styleProp)] = \"moz\".concat(eventName);\n prefixes[\"ms\".concat(styleProp)] = \"MS\".concat(eventName);\n prefixes[\"O\".concat(styleProp)] = \"o\".concat(eventName.toLowerCase());\n return prefixes;\n}\n\nexport function getVendorPrefixes(domSupport, win) {\n var prefixes = {\n animationend: makePrefixMap('Animation', 'AnimationEnd'),\n transitionend: makePrefixMap('Transition', 'TransitionEnd')\n };\n\n if (domSupport) {\n if (!('AnimationEvent' in win)) {\n delete prefixes.animationend.animation;\n }\n\n if (!('TransitionEvent' in win)) {\n delete prefixes.transitionend.transition;\n }\n }\n\n return prefixes;\n}\nvar vendorPrefixes = getVendorPrefixes(canUseDOM(), typeof window !== 'undefined' ? window : {});\nvar style = {};\n\nif (canUseDOM()) {\n var _document$createEleme = document.createElement('div');\n\n style = _document$createEleme.style;\n}\n\nvar prefixedEventNames = {};\nexport function getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n }\n\n var prefixMap = vendorPrefixes[eventName];\n\n if (prefixMap) {\n var stylePropList = Object.keys(prefixMap);\n var len = stylePropList.length;\n\n for (var i = 0; i < len; i += 1) {\n var styleProp = stylePropList[i];\n\n if (Object.prototype.hasOwnProperty.call(prefixMap, styleProp) && styleProp in style) {\n prefixedEventNames[eventName] = prefixMap[styleProp];\n return prefixedEventNames[eventName];\n }\n }\n }\n\n return '';\n}\nvar internalAnimationEndName = getVendorPrefixedEventName('animationend');\nvar internalTransitionEndName = getVendorPrefixedEventName('transitionend');\nexport var supportTransition = !!(internalAnimationEndName && internalTransitionEndName);\nexport var animationEndName = internalAnimationEndName || 'animationend';\nexport var transitionEndName = internalTransitionEndName || 'transitionend';\nexport function getTransitionName(transitionName, transitionType) {\n if (!transitionName) return null;\n\n if (_typeof(transitionName) === 'object') {\n var type = transitionType.replace(/-\\w/g, function (match) {\n return match[1].toUpperCase();\n });\n return transitionName[type];\n }\n\n return \"\".concat(transitionName, \"-\").concat(transitionType);\n}","export var STATUS_NONE = 'none';\nexport var STATUS_APPEAR = 'appear';\nexport var STATUS_ENTER = 'enter';\nexport var STATUS_LEAVE = 'leave';\nexport var STEP_NONE = 'none';\nexport var STEP_PREPARE = 'prepare';\nexport var STEP_START = 'start';\nexport var STEP_ACTIVE = 'active';\nexport var STEP_ACTIVATED = 'end';","import * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default (function () {\n var nextFrameRef = React.useRef(null);\n\n function cancelNextFrame() {\n raf.cancel(nextFrameRef.current);\n }\n\n function nextFrame(callback) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n cancelNextFrame();\n var nextFrameId = raf(function () {\n if (delay <= 1) {\n callback({\n isCanceled: function isCanceled() {\n return nextFrameId !== nextFrameRef.current;\n }\n });\n } else {\n nextFrame(callback, delay - 1);\n }\n });\n nextFrameRef.current = nextFrameId;\n }\n\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [nextFrame, cancelNextFrame];\n});","import { useEffect, useLayoutEffect } from 'react';\nimport canUseDom from \"rc-util/es/Dom/canUseDom\"; // It's safe to use `useLayoutEffect` but the warning is annoying\n\nvar useIsomorphicLayoutEffect = canUseDom() ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useState from \"rc-util/es/hooks/useState\";\nimport { STEP_PREPARE, STEP_ACTIVE, STEP_START, STEP_ACTIVATED, STEP_NONE } from '../interface';\nimport useNextFrame from './useNextFrame';\nimport useIsomorphicLayoutEffect from './useIsomorphicLayoutEffect';\nvar STEP_QUEUE = [STEP_PREPARE, STEP_START, STEP_ACTIVE, STEP_ACTIVATED];\n/** Skip current step */\n\nexport var SkipStep = false;\n/** Current step should be update in */\n\nexport var DoStep = true;\nexport function isActive(step) {\n return step === STEP_ACTIVE || step === STEP_ACTIVATED;\n}\nexport default (function (status, callback) {\n var _useState = useState(STEP_NONE),\n _useState2 = _slicedToArray(_useState, 2),\n step = _useState2[0],\n setStep = _useState2[1];\n\n var _useNextFrame = useNextFrame(),\n _useNextFrame2 = _slicedToArray(_useNextFrame, 2),\n nextFrame = _useNextFrame2[0],\n cancelNextFrame = _useNextFrame2[1];\n\n function startQueue() {\n setStep(STEP_PREPARE, true);\n }\n\n useIsomorphicLayoutEffect(function () {\n if (step !== STEP_NONE && step !== STEP_ACTIVATED) {\n var index = STEP_QUEUE.indexOf(step);\n var nextStep = STEP_QUEUE[index + 1];\n var result = callback(step);\n\n if (result === SkipStep) {\n // Skip when no needed\n setStep(nextStep, true);\n } else {\n // Do as frame for step update\n nextFrame(function (info) {\n function doNext() {\n // Skip since current queue is ood\n if (info.isCanceled()) return;\n setStep(nextStep, true);\n }\n\n if (result === true) {\n doNext();\n } else {\n // Only promise should be async\n Promise.resolve(result).then(doNext);\n }\n });\n }\n }\n }, [status, step]);\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [startQueue, step];\n});","import * as React from 'react';\nimport { useRef } from 'react';\nimport { animationEndName, transitionEndName } from '../util/motion';\nexport default (function (callback) {\n var cacheElementRef = useRef(); // Cache callback\n\n var callbackRef = useRef(callback);\n callbackRef.current = callback; // Internal motion event handler\n\n var onInternalMotionEnd = React.useCallback(function (event) {\n callbackRef.current(event);\n }, []); // Remove events\n\n function removeMotionEvents(element) {\n if (element) {\n element.removeEventListener(transitionEndName, onInternalMotionEnd);\n element.removeEventListener(animationEndName, onInternalMotionEnd);\n }\n } // Patch events\n\n\n function patchMotionEvents(element) {\n if (cacheElementRef.current && cacheElementRef.current !== element) {\n removeMotionEvents(cacheElementRef.current);\n }\n\n if (element && element !== cacheElementRef.current) {\n element.addEventListener(transitionEndName, onInternalMotionEnd);\n element.addEventListener(animationEndName, onInternalMotionEnd); // Save as cache in case dom removed trigger by `motionDeadline`\n\n cacheElementRef.current = element;\n }\n } // Clean up when removed\n\n\n React.useEffect(function () {\n return function () {\n removeMotionEvents(cacheElementRef.current);\n };\n }, []);\n return [patchMotionEvents, removeMotionEvents];\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useEffect } from 'react';\nimport useState from \"rc-util/es/hooks/useState\";\nimport { STATUS_APPEAR, STATUS_NONE, STATUS_LEAVE, STATUS_ENTER, STEP_PREPARE, STEP_START, STEP_ACTIVE } from '../interface';\nimport useStepQueue, { DoStep, SkipStep, isActive } from './useStepQueue';\nimport useDomMotionEvents from './useDomMotionEvents';\nimport useIsomorphicLayoutEffect from './useIsomorphicLayoutEffect';\nexport default function useStatus(supportMotion, visible, getElement, _ref) {\n var _ref$motionEnter = _ref.motionEnter,\n motionEnter = _ref$motionEnter === void 0 ? true : _ref$motionEnter,\n _ref$motionAppear = _ref.motionAppear,\n motionAppear = _ref$motionAppear === void 0 ? true : _ref$motionAppear,\n _ref$motionLeave = _ref.motionLeave,\n motionLeave = _ref$motionLeave === void 0 ? true : _ref$motionLeave,\n motionDeadline = _ref.motionDeadline,\n motionLeaveImmediately = _ref.motionLeaveImmediately,\n onAppearPrepare = _ref.onAppearPrepare,\n onEnterPrepare = _ref.onEnterPrepare,\n onLeavePrepare = _ref.onLeavePrepare,\n onAppearStart = _ref.onAppearStart,\n onEnterStart = _ref.onEnterStart,\n onLeaveStart = _ref.onLeaveStart,\n onAppearActive = _ref.onAppearActive,\n onEnterActive = _ref.onEnterActive,\n onLeaveActive = _ref.onLeaveActive,\n onAppearEnd = _ref.onAppearEnd,\n onEnterEnd = _ref.onEnterEnd,\n onLeaveEnd = _ref.onLeaveEnd,\n onVisibleChanged = _ref.onVisibleChanged;\n\n // Used for outer render usage to avoid `visible: false & status: none` to render nothing\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n asyncVisible = _useState2[0],\n setAsyncVisible = _useState2[1];\n\n var _useState3 = useState(STATUS_NONE),\n _useState4 = _slicedToArray(_useState3, 2),\n status = _useState4[0],\n setStatus = _useState4[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n style = _useState6[0],\n setStyle = _useState6[1];\n\n var mountedRef = useRef(false);\n var deadlineRef = useRef(null); // =========================== Dom Node ===========================\n\n function getDomElement() {\n return getElement();\n } // ========================== Motion End ==========================\n\n\n var activeRef = useRef(false);\n\n function onInternalMotionEnd(event) {\n var element = getDomElement();\n\n if (event && !event.deadline && event.target !== element) {\n // event exists\n // not initiated by deadline\n // transitionEnd not fired by inner elements\n return;\n }\n\n var currentActive = activeRef.current;\n var canEnd;\n\n if (status === STATUS_APPEAR && currentActive) {\n canEnd = onAppearEnd === null || onAppearEnd === void 0 ? void 0 : onAppearEnd(element, event);\n } else if (status === STATUS_ENTER && currentActive) {\n canEnd = onEnterEnd === null || onEnterEnd === void 0 ? void 0 : onEnterEnd(element, event);\n } else if (status === STATUS_LEAVE && currentActive) {\n canEnd = onLeaveEnd === null || onLeaveEnd === void 0 ? void 0 : onLeaveEnd(element, event);\n } // Only update status when `canEnd` and not destroyed\n\n\n if (status !== STATUS_NONE && currentActive && canEnd !== false) {\n setStatus(STATUS_NONE, true);\n setStyle(null, true);\n }\n }\n\n var _useDomMotionEvents = useDomMotionEvents(onInternalMotionEnd),\n _useDomMotionEvents2 = _slicedToArray(_useDomMotionEvents, 1),\n patchMotionEvents = _useDomMotionEvents2[0]; // ============================= Step =============================\n\n\n var eventHandlers = React.useMemo(function () {\n var _ref2, _ref3, _ref4;\n\n switch (status) {\n case STATUS_APPEAR:\n return _ref2 = {}, _defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), _defineProperty(_ref2, STEP_START, onAppearStart), _defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;\n\n case STATUS_ENTER:\n return _ref3 = {}, _defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), _defineProperty(_ref3, STEP_START, onEnterStart), _defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;\n\n case STATUS_LEAVE:\n return _ref4 = {}, _defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty(_ref4, STEP_START, onLeaveStart), _defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;\n\n default:\n return {};\n }\n }, [status]);\n\n var _useStepQueue = useStepQueue(status, function (newStep) {\n // Only prepare step can be skip\n if (newStep === STEP_PREPARE) {\n var onPrepare = eventHandlers[STEP_PREPARE];\n\n if (!onPrepare) {\n return SkipStep;\n }\n\n return onPrepare(getDomElement());\n } // Rest step is sync update\n\n\n // Rest step is sync update\n if (step in eventHandlers) {\n var _eventHandlers$step;\n\n setStyle(((_eventHandlers$step = eventHandlers[step]) === null || _eventHandlers$step === void 0 ? void 0 : _eventHandlers$step.call(eventHandlers, getDomElement(), null)) || null);\n }\n\n if (step === STEP_ACTIVE) {\n // Patch events when motion needed\n patchMotionEvents(getDomElement());\n\n if (motionDeadline > 0) {\n clearTimeout(deadlineRef.current);\n deadlineRef.current = setTimeout(function () {\n onInternalMotionEnd({\n deadline: true\n });\n }, motionDeadline);\n }\n }\n\n return DoStep;\n }),\n _useStepQueue2 = _slicedToArray(_useStepQueue, 2),\n startStep = _useStepQueue2[0],\n step = _useStepQueue2[1];\n\n var active = isActive(step);\n activeRef.current = active; // ============================ Status ============================\n // Update with new status\n\n useIsomorphicLayoutEffect(function () {\n setAsyncVisible(visible);\n var isMounted = mountedRef.current;\n mountedRef.current = true;\n\n if (!supportMotion) {\n return;\n }\n\n var nextStatus; // Appear\n\n if (!isMounted && visible && motionAppear) {\n nextStatus = STATUS_APPEAR;\n } // Enter\n\n\n if (isMounted && visible && motionEnter) {\n nextStatus = STATUS_ENTER;\n } // Leave\n\n\n if (isMounted && !visible && motionLeave || !isMounted && motionLeaveImmediately && !visible && motionLeave) {\n nextStatus = STATUS_LEAVE;\n } // Update to next status\n\n\n if (nextStatus) {\n setStatus(nextStatus);\n startStep();\n }\n }, [visible]); // ============================ Effect ============================\n // Reset when motion changed\n\n useEffect(function () {\n if ( // Cancel appear\n status === STATUS_APPEAR && !motionAppear || // Cancel enter\n status === STATUS_ENTER && !motionEnter || // Cancel leave\n status === STATUS_LEAVE && !motionLeave) {\n setStatus(STATUS_NONE);\n }\n }, [motionAppear, motionEnter, motionLeave]);\n useEffect(function () {\n return function () {\n mountedRef.current = false;\n clearTimeout(deadlineRef.current);\n };\n }, []); // Trigger `onVisibleChanged`\n\n var firstMountChangeRef = React.useRef(false);\n useEffect(function () {\n // [visible & motion not end] => [!visible & motion end] still need trigger onVisibleChanged\n if (asyncVisible) {\n firstMountChangeRef.current = true;\n }\n\n if (asyncVisible !== undefined && status === STATUS_NONE) {\n // Skip first render is invisible since it's nothing changed\n if (firstMountChangeRef.current || asyncVisible) {\n onVisibleChanged === null || onVisibleChanged === void 0 ? void 0 : onVisibleChanged(asyncVisible);\n }\n\n firstMountChangeRef.current = true;\n }\n }, [asyncVisible, status]); // ============================ Styles ============================\n\n var mergedStyle = style;\n\n if (eventHandlers[STEP_PREPARE] && step === STEP_START) {\n mergedStyle = _objectSpread({\n transition: 'none'\n }, mergedStyle);\n }\n\n return [status, step, mergedStyle, asyncVisible !== null && asyncVisible !== void 0 ? asyncVisible : visible];\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n\n var _super = _createSuper(DomWrapper);\n\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n\n return DomWrapper;\n}(React.Component);\n\nexport default DomWrapper;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/default-props-match-prop-types, react/no-multi-comp, react/prop-types */\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { fillRef, supportRef } from \"rc-util/es/ref\";\nimport classNames from 'classnames';\nimport { getTransitionName, supportTransition } from './util/motion';\nimport { STATUS_NONE, STEP_PREPARE, STEP_START } from './interface';\nimport useStatus from './hooks/useStatus';\nimport DomWrapper from './DomWrapper';\nimport { isActive } from './hooks/useStepQueue';\n/**\n * `transitionSupport` is used for none transition test case.\n * Default we use browser transition event support check.\n */\n\nexport function genCSSMotion(config) {\n var transitionSupport = config;\n\n if (_typeof(config) === 'object') {\n transitionSupport = config.transitionSupport;\n }\n\n function isSupportTransition(props) {\n return !!(props.motionName && transitionSupport);\n }\n\n var CSSMotion = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$visible = props.visible,\n visible = _props$visible === void 0 ? true : _props$visible,\n _props$removeOnLeave = props.removeOnLeave,\n removeOnLeave = _props$removeOnLeave === void 0 ? true : _props$removeOnLeave,\n forceRender = props.forceRender,\n children = props.children,\n motionName = props.motionName,\n leavedClassName = props.leavedClassName,\n eventProps = props.eventProps;\n var supportMotion = isSupportTransition(props); // Ref to the react node, it may be a HTMLElement\n\n var nodeRef = useRef(); // Ref to the dom wrapper in case ref can not pass to HTMLElement\n\n var wrapperNodeRef = useRef();\n\n function getDomElement() {\n try {\n // Here we're avoiding call for findDOMNode since it's deprecated\n // in strict mode. We're calling it only when node ref is not\n // an instance of DOM HTMLElement. Otherwise use\n // findDOMNode as a final resort\n return nodeRef.current instanceof HTMLElement ? nodeRef.current : findDOMNode(wrapperNodeRef.current);\n } catch (e) {\n // Only happen when `motionDeadline` trigger but element removed.\n return null;\n }\n }\n\n var _useStatus = useStatus(supportMotion, visible, getDomElement, props),\n _useStatus2 = _slicedToArray(_useStatus, 4),\n status = _useStatus2[0],\n statusStep = _useStatus2[1],\n statusStyle = _useStatus2[2],\n mergedVisible = _useStatus2[3]; // Record whether content has rendered\n // Will return null for un-rendered even when `removeOnLeave={false}`\n\n\n var renderedRef = React.useRef(mergedVisible);\n\n if (mergedVisible) {\n renderedRef.current = true;\n } // ====================== Refs ======================\n\n\n var setNodeRef = React.useCallback(function (node) {\n nodeRef.current = node;\n fillRef(ref, node);\n }, [ref]); // ===================== Render =====================\n\n var motionChildren;\n\n var mergedProps = _objectSpread(_objectSpread({}, eventProps), {}, {\n visible: visible\n });\n\n if (!children) {\n // No children\n motionChildren = null;\n } else if (status === STATUS_NONE || !isSupportTransition(props)) {\n // Stable children\n if (mergedVisible) {\n motionChildren = children(_objectSpread({}, mergedProps), setNodeRef);\n } else if (!removeOnLeave && renderedRef.current) {\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n className: leavedClassName\n }), setNodeRef);\n } else if (forceRender) {\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n style: {\n display: 'none'\n }\n }), setNodeRef);\n } else {\n motionChildren = null;\n }\n } else {\n var _classNames;\n\n // In motion\n var statusSuffix;\n\n if (statusStep === STEP_PREPARE) {\n statusSuffix = 'prepare';\n } else if (isActive(statusStep)) {\n statusSuffix = 'active';\n } else if (statusStep === STEP_START) {\n statusSuffix = 'start';\n }\n\n motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, {\n className: classNames(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, getTransitionName(motionName, \"\".concat(status, \"-\").concat(statusSuffix)), statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)),\n style: statusStyle\n }), setNodeRef);\n } // Auto inject ref if child node not have `ref` props\n\n\n if ( /*#__PURE__*/React.isValidElement(motionChildren) && supportRef(motionChildren)) {\n var _motionChildren = motionChildren,\n originNodeRef = _motionChildren.ref;\n\n if (!originNodeRef) {\n motionChildren = /*#__PURE__*/React.cloneElement(motionChildren, {\n ref: setNodeRef\n });\n }\n }\n\n return /*#__PURE__*/React.createElement(DomWrapper, {\n ref: wrapperNodeRef\n }, motionChildren);\n });\n CSSMotion.displayName = 'CSSMotion';\n return CSSMotion;\n}\nexport default genCSSMotion(supportTransition);","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport var STATUS_ADD = 'add';\nexport var STATUS_KEEP = 'keep';\nexport var STATUS_REMOVE = 'remove';\nexport var STATUS_REMOVED = 'removed';\nexport function wrapKeyToObject(key) {\n var keyObj;\n\n if (key && _typeof(key) === 'object' && 'key' in key) {\n keyObj = key;\n } else {\n keyObj = {\n key: key\n };\n }\n\n return _objectSpread(_objectSpread({}, keyObj), {}, {\n key: String(keyObj.key)\n });\n}\nexport function parseKeys() {\n var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return keys.map(wrapKeyToObject);\n}\nexport function diffKeys() {\n var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var currentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var list = [];\n var currentIndex = 0;\n var currentLen = currentKeys.length;\n var prevKeyObjects = parseKeys(prevKeys);\n var currentKeyObjects = parseKeys(currentKeys); // Check prev keys to insert or keep\n\n prevKeyObjects.forEach(function (keyObj) {\n var hit = false;\n\n for (var i = currentIndex; i < currentLen; i += 1) {\n var currentKeyObj = currentKeyObjects[i];\n\n if (currentKeyObj.key === keyObj.key) {\n // New added keys should add before current key\n if (currentIndex < i) {\n list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n currentIndex = i;\n }\n\n list.push(_objectSpread(_objectSpread({}, currentKeyObj), {}, {\n status: STATUS_KEEP\n }));\n currentIndex += 1;\n hit = true;\n break;\n }\n } // If not hit, it means key is removed\n\n\n if (!hit) {\n list.push(_objectSpread(_objectSpread({}, keyObj), {}, {\n status: STATUS_REMOVE\n }));\n }\n }); // Add rest to the list\n\n if (currentIndex < currentLen) {\n list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {\n return _objectSpread(_objectSpread({}, obj), {}, {\n status: STATUS_ADD\n });\n }));\n }\n /**\n * Merge same key when it remove and add again:\n * [1 - add, 2 - keep, 1 - remove] -> [1 - keep, 2 - keep]\n */\n\n\n var keys = {};\n list.forEach(function (_ref) {\n var key = _ref.key;\n keys[key] = (keys[key] || 0) + 1;\n });\n var duplicatedKeys = Object.keys(keys).filter(function (key) {\n return keys[key] > 1;\n });\n duplicatedKeys.forEach(function (matchKey) {\n // Remove `STATUS_REMOVE` node.\n list = list.filter(function (_ref2) {\n var key = _ref2.key,\n status = _ref2.status;\n return key !== matchKey || status !== STATUS_REMOVE;\n }); // Update `STATUS_ADD` to `STATUS_KEEP`\n\n list.forEach(function (node) {\n if (node.key === matchKey) {\n // eslint-disable-next-line no-param-reassign\n node.status = STATUS_KEEP;\n }\n });\n });\n return list;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"component\", \"children\", \"onVisibleChanged\", \"onAllRemoved\"],\n _excluded2 = [\"status\"];\n\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport OriginCSSMotion from './CSSMotion';\nimport { supportTransition } from './util/motion';\nimport { STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED, diffKeys, parseKeys } from './util/diff';\nvar MOTION_PROP_NAMES = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];\n/**\n * Generate a CSSMotionList component with config\n * @param transitionSupport No need since CSSMotionList no longer depends on transition support\n * @param CSSMotion CSSMotion component\n */\n\nexport function genCSSMotionList(transitionSupport) {\n var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion;\n\n var CSSMotionList = /*#__PURE__*/function (_React$Component) {\n _inherits(CSSMotionList, _React$Component);\n\n var _super = _createSuper(CSSMotionList);\n\n function CSSMotionList() {\n var _this;\n\n _classCallCheck(this, CSSMotionList);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n keyEntities: []\n };\n\n _this.removeKey = function (removeKey) {\n var keyEntities = _this.state.keyEntities;\n var nextKeyEntities = keyEntities.map(function (entity) {\n if (entity.key !== removeKey) return entity;\n return _objectSpread(_objectSpread({}, entity), {}, {\n status: STATUS_REMOVED\n });\n });\n\n _this.setState({\n keyEntities: nextKeyEntities\n });\n\n return nextKeyEntities.filter(function (_ref) {\n var status = _ref.status;\n return status !== STATUS_REMOVED;\n }).length;\n };\n\n return _this;\n }\n\n _createClass(CSSMotionList, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var keyEntities = this.state.keyEntities;\n\n var _this$props = this.props,\n component = _this$props.component,\n children = _this$props.children,\n _onVisibleChanged = _this$props.onVisibleChanged,\n onAllRemoved = _this$props.onAllRemoved,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n\n var Component = component || React.Fragment;\n var motionProps = {};\n MOTION_PROP_NAMES.forEach(function (prop) {\n motionProps[prop] = restProps[prop];\n delete restProps[prop];\n });\n delete restProps.keys;\n return /*#__PURE__*/React.createElement(Component, restProps, keyEntities.map(function (_ref2) {\n var status = _ref2.status,\n eventProps = _objectWithoutProperties(_ref2, _excluded2);\n\n var visible = status === STATUS_ADD || status === STATUS_KEEP;\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motionProps, {\n key: eventProps.key,\n visible: visible,\n eventProps: eventProps,\n onVisibleChanged: function onVisibleChanged(changedVisible) {\n _onVisibleChanged === null || _onVisibleChanged === void 0 ? void 0 : _onVisibleChanged(changedVisible, {\n key: eventProps.key\n });\n\n if (!changedVisible) {\n var restKeysCount = _this2.removeKey(eventProps.key);\n\n if (restKeysCount === 0 && onAllRemoved) {\n onAllRemoved();\n }\n }\n }\n }), children);\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref3, _ref4) {\n var keys = _ref3.keys;\n var keyEntities = _ref4.keyEntities;\n var parsedKeyObjects = parseKeys(keys);\n var mixedKeyEntities = diffKeys(keyEntities, parsedKeyObjects);\n return {\n keyEntities: mixedKeyEntities.filter(function (entity) {\n var prevEntity = keyEntities.find(function (_ref5) {\n var key = _ref5.key;\n return entity.key === key;\n }); // Remove if already mark as removed\n\n if (prevEntity && prevEntity.status === STATUS_REMOVED && entity.status === STATUS_REMOVE) {\n return false;\n }\n\n return true;\n })\n };\n } // ZombieJ: Return the count of rest keys. It's safe to refactor if need more info.\n\n }]);\n\n return CSSMotionList;\n }(React.Component);\n\n CSSMotionList.defaultProps = {\n component: 'div'\n };\n return CSSMotionList;\n}\nexport default genCSSMotionList(supportTransition);","import CSSMotion from './CSSMotion';\nimport CSSMotionList from './CSSMotionList';\nexport { CSSMotionList };\nexport default CSSMotion;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\nimport { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport classNames from 'classnames';\nvar Notice = /*#__PURE__*/function (_Component) {\n _inherits(Notice, _Component);\n var _super = _createSuper(Notice);\n function Notice() {\n var _this;\n _classCallCheck(this, Notice);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.closeTimer = null;\n _this.close = function (e) {\n if (e) {\n e.stopPropagation();\n }\n _this.clearCloseTimer();\n var _this$props = _this.props,\n onClose = _this$props.onClose,\n noticeKey = _this$props.noticeKey;\n if (onClose) {\n onClose(noticeKey);\n }\n };\n _this.startCloseTimer = function () {\n if (_this.props.duration) {\n _this.closeTimer = window.setTimeout(function () {\n _this.close();\n }, _this.props.duration * 1000);\n }\n };\n _this.clearCloseTimer = function () {\n if (_this.closeTimer) {\n clearTimeout(_this.closeTimer);\n _this.closeTimer = null;\n }\n };\n return _this;\n }\n _createClass(Notice, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.startCloseTimer();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if (this.props.duration !== prevProps.duration || this.props.updateMark !== prevProps.updateMark ||\n // Visible again need reset timer\n this.props.visible !== prevProps.visible && this.props.visible) {\n this.restartCloseTimer();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.clearCloseTimer();\n }\n }, {\n key: \"restartCloseTimer\",\n value: function restartCloseTimer() {\n this.clearCloseTimer();\n this.startCloseTimer();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n closable = _this$props2.closable,\n closeIcon = _this$props2.closeIcon,\n style = _this$props2.style,\n onClick = _this$props2.onClick,\n children = _this$props2.children,\n holder = _this$props2.holder;\n var componentClass = \"\".concat(prefixCls, \"-notice\");\n var dataOrAriaAttributeProps = Object.keys(this.props).reduce(function (acc, key) {\n if (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role') {\n acc[key] = _this2.props[key];\n }\n return acc;\n }, {});\n var node = /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classNames(componentClass, className, _defineProperty({}, \"\".concat(componentClass, \"-closable\"), closable)),\n style: style,\n onMouseEnter: this.clearCloseTimer,\n onMouseLeave: this.startCloseTimer,\n onClick: onClick\n }, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(componentClass, \"-content\")\n }, children), closable ? /*#__PURE__*/React.createElement(\"a\", {\n tabIndex: 0,\n onClick: this.close,\n className: \"\".concat(componentClass, \"-close\")\n }, closeIcon || /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(componentClass, \"-close-x\")\n })) : null);\n if (holder) {\n return /*#__PURE__*/ReactDOM.createPortal(node, holder);\n }\n return node;\n }\n }]);\n return Notice;\n}(Component);\nNotice.defaultProps = {\n onClose: function onClose() {},\n duration: 1.5\n};\nexport { Notice as default };","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"getContainer\"];\nimport * as React from 'react';\nimport { Component } from 'react';\nimport { render, unmount } from \"rc-util/es/React/render\";\nimport classNames from 'classnames';\nimport { CSSMotionList } from 'rc-motion';\nimport Notice from './Notice';\nimport _useNotification from './useNotification';\nvar seed = 0;\nvar now = Date.now();\nfunction getUuid() {\n var id = seed;\n seed += 1;\n return \"rcNotification_\".concat(now, \"_\").concat(id);\n}\nvar Notification = /*#__PURE__*/function (_Component) {\n _inherits(Notification, _Component);\n var _super = _createSuper(Notification);\n function Notification() {\n var _this;\n _classCallCheck(this, Notification);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n notices: []\n };\n _this.hookRefs = new Map();\n _this.add = function (originNotice, holderCallback) {\n var _originNotice$key;\n var key = (_originNotice$key = originNotice.key) !== null && _originNotice$key !== void 0 ? _originNotice$key : getUuid();\n var notice = _objectSpread(_objectSpread({}, originNotice), {}, {\n key: key\n });\n var maxCount = _this.props.maxCount;\n _this.setState(function (previousState) {\n var notices = previousState.notices;\n var noticeIndex = notices.map(function (v) {\n return v.notice.key;\n }).indexOf(key);\n var updatedNotices = notices.concat();\n if (noticeIndex !== -1) {\n updatedNotices.splice(noticeIndex, 1, {\n notice: notice,\n holderCallback: holderCallback\n });\n } else {\n if (maxCount && notices.length >= maxCount) {\n // XXX, use key of first item to update new added (let React to move exsiting\n // instead of remove and mount). Same key was used before for both a) external\n // manual control and b) internal react 'key' prop , which is not that good.\n // eslint-disable-next-line no-param-reassign\n // zombieJ: Not know why use `updateKey`. This makes Notice infinite loop in jest.\n // Change to `updateMark` for compare instead.\n // https://github.com/react-component/notification/commit/32299e6be396f94040bfa82517eea940db947ece\n notice.key = updatedNotices[0].notice.key;\n notice.updateMark = getUuid();\n // zombieJ: That's why. User may close by key directly.\n // We need record this but not re-render to avoid upper issue\n // https://github.com/react-component/notification/issues/129\n notice.userPassKey = key;\n updatedNotices.shift();\n }\n updatedNotices.push({\n notice: notice,\n holderCallback: holderCallback\n });\n }\n return {\n notices: updatedNotices\n };\n });\n };\n _this.remove = function (removeKey) {\n _this.setState(function (_ref) {\n var notices = _ref.notices;\n return {\n notices: notices.filter(function (_ref2) {\n var _ref2$notice = _ref2.notice,\n key = _ref2$notice.key,\n userPassKey = _ref2$notice.userPassKey;\n var mergedKey = userPassKey !== null && userPassKey !== void 0 ? userPassKey : key;\n return mergedKey !== removeKey;\n })\n };\n });\n };\n _this.noticePropsMap = {};\n return _this;\n }\n _createClass(Notification, [{\n key: \"getTransitionName\",\n value: function getTransitionName() {\n var _this$props = this.props,\n prefixCls = _this$props.prefixCls,\n animation = _this$props.animation;\n var transitionName = this.props.transitionName;\n if (!transitionName && animation) {\n transitionName = \"\".concat(prefixCls, \"-\").concat(animation);\n }\n return transitionName;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var notices = this.state.notices;\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n closeIcon = _this$props2.closeIcon,\n style = _this$props2.style;\n var noticeKeys = [];\n notices.forEach(function (_ref3, index) {\n var notice = _ref3.notice,\n holderCallback = _ref3.holderCallback;\n var updateMark = index === notices.length - 1 ? notice.updateMark : undefined;\n var key = notice.key,\n userPassKey = notice.userPassKey;\n var noticeProps = _objectSpread(_objectSpread(_objectSpread({\n prefixCls: prefixCls,\n closeIcon: closeIcon\n }, notice), notice.props), {}, {\n key: key,\n noticeKey: userPassKey || key,\n updateMark: updateMark,\n onClose: function onClose(noticeKey) {\n var _notice$onClose;\n _this2.remove(noticeKey);\n (_notice$onClose = notice.onClose) === null || _notice$onClose === void 0 ? void 0 : _notice$onClose.call(notice);\n },\n onClick: notice.onClick,\n children: notice.content\n });\n // Give to motion\n noticeKeys.push(key);\n _this2.noticePropsMap[key] = {\n props: noticeProps,\n holderCallback: holderCallback\n };\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(prefixCls, className),\n style: style\n }, /*#__PURE__*/React.createElement(CSSMotionList, {\n keys: noticeKeys,\n motionName: this.getTransitionName(),\n onVisibleChanged: function onVisibleChanged(changedVisible, _ref4) {\n var key = _ref4.key;\n if (!changedVisible) {\n delete _this2.noticePropsMap[key];\n }\n }\n }, function (_ref5) {\n var key = _ref5.key,\n motionClassName = _ref5.className,\n motionStyle = _ref5.style,\n visible = _ref5.visible;\n var _this2$noticePropsMap = _this2.noticePropsMap[key],\n noticeProps = _this2$noticePropsMap.props,\n holderCallback = _this2$noticePropsMap.holderCallback;\n if (holderCallback) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: key,\n className: classNames(motionClassName, \"\".concat(prefixCls, \"-hook-holder\")),\n style: _objectSpread({}, motionStyle),\n ref: function ref(div) {\n if (typeof key === 'undefined') {\n return;\n }\n if (div) {\n _this2.hookRefs.set(key, div);\n holderCallback(div, noticeProps);\n } else {\n _this2.hookRefs.delete(key);\n }\n }\n });\n }\n return /*#__PURE__*/React.createElement(Notice, _extends({}, noticeProps, {\n className: classNames(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),\n style: _objectSpread(_objectSpread({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),\n visible: visible\n }));\n }));\n }\n }]);\n return Notification;\n}(Component);\nNotification.newInstance = void 0;\nNotification.defaultProps = {\n prefixCls: 'rc-notification',\n animation: 'fade',\n style: {\n top: 65,\n left: '50%'\n }\n};\nNotification.newInstance = function newNotificationInstance(properties, callback) {\n var _ref6 = properties || {},\n getContainer = _ref6.getContainer,\n props = _objectWithoutProperties(_ref6, _excluded);\n var div = document.createElement('div');\n if (getContainer) {\n var root = getContainer();\n root.appendChild(div);\n } else {\n document.body.appendChild(div);\n }\n var called = false;\n function ref(notification) {\n if (called) {\n return;\n }\n called = true;\n callback({\n notice: function notice(noticeProps) {\n notification.add(noticeProps);\n },\n removeNotice: function removeNotice(key) {\n notification.remove(key);\n },\n component: notification,\n destroy: function destroy() {\n unmount(div);\n if (div.parentNode) {\n div.parentNode.removeChild(div);\n }\n },\n // Hooks\n useNotification: function useNotification() {\n return _useNotification(notification);\n }\n });\n }\n // Only used for test case usage\n if (process.env.NODE_ENV === 'test' && properties.TEST_RENDER) {\n properties.TEST_RENDER( /*#__PURE__*/React.createElement(Notification, _extends({}, props, {\n ref: ref\n })));\n return;\n }\n render( /*#__PURE__*/React.createElement(Notification, _extends({}, props, {\n ref: ref\n })), div);\n};\nexport default Notification;","import Notification from './Notification';\nexport default Notification;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Notice from './Notice';\nexport default function useNotification(notificationInstance) {\n var createdRef = React.useRef({});\n var _React$useState = React.useState([]),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n elements = _React$useState2[0],\n setElements = _React$useState2[1];\n function notify(noticeProps) {\n var firstMount = true;\n notificationInstance.add(noticeProps, function (div, props) {\n var key = props.key;\n if (div && (!createdRef.current[key] || firstMount)) {\n var noticeEle = /*#__PURE__*/React.createElement(Notice, _extends({}, props, {\n holder: div\n }));\n createdRef.current[key] = noticeEle;\n setElements(function (originElements) {\n var index = originElements.findIndex(function (ele) {\n return ele.key === props.key;\n });\n if (index === -1) {\n return [].concat(_toConsumableArray(originElements), [noticeEle]);\n }\n var cloneList = _toConsumableArray(originElements);\n cloneList[index] = noticeEle;\n return cloneList;\n });\n }\n firstMount = false;\n });\n }\n return [notify, /*#__PURE__*/React.createElement(React.Fragment, null, elements)];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"invalidate\", \"item\", \"renderItem\", \"responsive\", \"responsiveDisabled\", \"registerSize\", \"itemKey\", \"className\", \"style\", \"children\", \"display\", \"order\", \"component\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer'; // Use shared variable to save bundle size\n\nvar UNDEFINED = undefined;\n\nfunction InternalItem(props, ref) {\n var prefixCls = props.prefixCls,\n invalidate = props.invalidate,\n item = props.item,\n renderItem = props.renderItem,\n responsive = props.responsive,\n responsiveDisabled = props.responsiveDisabled,\n registerSize = props.registerSize,\n itemKey = props.itemKey,\n className = props.className,\n style = props.style,\n children = props.children,\n display = props.display,\n order = props.order,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var mergedHidden = responsive && !display; // ================================ Effect ================================\n\n function internalRegisterSize(width) {\n registerSize(itemKey, width);\n }\n\n React.useEffect(function () {\n return function () {\n internalRegisterSize(null);\n };\n }, []); // ================================ Render ================================\n\n var childNode = renderItem && item !== UNDEFINED ? renderItem(item) : children;\n var overflowStyle;\n\n if (!invalidate) {\n overflowStyle = {\n opacity: mergedHidden ? 0 : 1,\n height: mergedHidden ? 0 : UNDEFINED,\n overflowY: mergedHidden ? 'hidden' : UNDEFINED,\n order: responsive ? order : UNDEFINED,\n pointerEvents: mergedHidden ? 'none' : UNDEFINED,\n position: mergedHidden ? 'absolute' : UNDEFINED\n };\n }\n\n var overflowProps = {};\n\n if (mergedHidden) {\n overflowProps['aria-hidden'] = true;\n }\n\n var itemNode = /*#__PURE__*/React.createElement(Component, _extends({\n className: classNames(!invalidate && prefixCls, className),\n style: _objectSpread(_objectSpread({}, overflowStyle), style)\n }, overflowProps, restProps, {\n ref: ref\n }), childNode);\n\n if (responsive) {\n itemNode = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: function onResize(_ref) {\n var offsetWidth = _ref.offsetWidth;\n internalRegisterSize(offsetWidth);\n },\n disabled: responsiveDisabled\n }, itemNode);\n }\n\n return itemNode;\n}\n\nvar Item = /*#__PURE__*/React.forwardRef(InternalItem);\nItem.displayName = 'Item';\nexport default Item;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useRef } from 'react';\nimport raf from \"rc-util/es/raf\";\nimport useState from \"rc-util/es/hooks/useState\";\n/**\n * State generate. Return a `setState` but it will flush all state with one render to save perf.\n * This is not a realization of `unstable_batchedUpdates`.\n */\n\nexport function useBatchFrameState() {\n var _useState = useState({}),\n _useState2 = _slicedToArray(_useState, 2),\n forceUpdate = _useState2[1];\n\n var statesRef = useRef([]);\n var walkingIndex = 0;\n var beforeFrameId = 0;\n\n function createState(defaultValue) {\n var myIndex = walkingIndex;\n walkingIndex += 1; // Fill value if not exist yet\n\n if (statesRef.current.length < myIndex + 1) {\n statesRef.current[myIndex] = defaultValue;\n } // Return filled as `setState`\n\n\n var value = statesRef.current[myIndex];\n\n function setValue(val) {\n statesRef.current[myIndex] = typeof val === 'function' ? val(statesRef.current[myIndex]) : val;\n raf.cancel(beforeFrameId); // Flush with batch\n\n beforeFrameId = raf(function () {\n forceUpdate({}, true);\n });\n }\n\n return [value, setValue];\n }\n\n return createState;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"component\"],\n _excluded2 = [\"className\"],\n _excluded3 = [\"className\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Item from './Item';\nimport { OverflowContext } from './Overflow';\n\nvar InternalRawItem = function InternalRawItem(props, ref) {\n var context = React.useContext(OverflowContext); // Render directly when context not provided\n\n if (!context) {\n var _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _restProps = _objectWithoutProperties(props, _excluded);\n\n return /*#__PURE__*/React.createElement(Component, _extends({}, _restProps, {\n ref: ref\n }));\n }\n\n var contextClassName = context.className,\n restContext = _objectWithoutProperties(context, _excluded2);\n\n var className = props.className,\n restProps = _objectWithoutProperties(props, _excluded3); // Do not pass context to sub item to avoid multiple measure\n\n\n return /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(Item, _extends({\n ref: ref,\n className: classNames(contextClassName, className)\n }, restContext, restProps)));\n};\n\nvar RawItem = /*#__PURE__*/React.forwardRef(InternalRawItem);\nRawItem.displayName = 'RawItem';\nexport default RawItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"data\", \"renderItem\", \"renderRawItem\", \"itemKey\", \"itemWidth\", \"ssr\", \"style\", \"className\", \"maxCount\", \"renderRest\", \"renderRawRest\", \"suffix\", \"component\", \"itemComponent\", \"onVisibleChange\"];\nimport * as React from 'react';\nimport { useState, useMemo, useCallback } from 'react';\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport Item from './Item';\nimport { useBatchFrameState } from './hooks/useBatchFrameState';\nimport RawItem from './RawItem';\nexport var OverflowContext = /*#__PURE__*/React.createContext(null);\nvar RESPONSIVE = 'responsive';\nvar INVALIDATE = 'invalidate';\n\nfunction defaultRenderRest(omittedItems) {\n return \"+ \".concat(omittedItems.length, \" ...\");\n}\n\nfunction Overflow(props, ref) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-overflow' : _props$prefixCls,\n _props$data = props.data,\n data = _props$data === void 0 ? [] : _props$data,\n renderItem = props.renderItem,\n renderRawItem = props.renderRawItem,\n itemKey = props.itemKey,\n _props$itemWidth = props.itemWidth,\n itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth,\n ssr = props.ssr,\n style = props.style,\n className = props.className,\n maxCount = props.maxCount,\n renderRest = props.renderRest,\n renderRawRest = props.renderRawRest,\n suffix = props.suffix,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n itemComponent = props.itemComponent,\n onVisibleChange = props.onVisibleChange,\n restProps = _objectWithoutProperties(props, _excluded);\n\n var createUseState = useBatchFrameState();\n var fullySSR = ssr === 'full';\n\n var _createUseState = createUseState(null),\n _createUseState2 = _slicedToArray(_createUseState, 2),\n containerWidth = _createUseState2[0],\n setContainerWidth = _createUseState2[1];\n\n var mergedContainerWidth = containerWidth || 0;\n\n var _createUseState3 = createUseState(new Map()),\n _createUseState4 = _slicedToArray(_createUseState3, 2),\n itemWidths = _createUseState4[0],\n setItemWidths = _createUseState4[1];\n\n var _createUseState5 = createUseState(0),\n _createUseState6 = _slicedToArray(_createUseState5, 2),\n prevRestWidth = _createUseState6[0],\n setPrevRestWidth = _createUseState6[1];\n\n var _createUseState7 = createUseState(0),\n _createUseState8 = _slicedToArray(_createUseState7, 2),\n restWidth = _createUseState8[0],\n setRestWidth = _createUseState8[1];\n\n var _createUseState9 = createUseState(0),\n _createUseState10 = _slicedToArray(_createUseState9, 2),\n suffixWidth = _createUseState10[0],\n setSuffixWidth = _createUseState10[1];\n\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n suffixFixedStart = _useState2[0],\n setSuffixFixedStart = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n displayCount = _useState4[0],\n setDisplayCount = _useState4[1];\n\n var mergedDisplayCount = React.useMemo(function () {\n if (displayCount === null && fullySSR) {\n return Number.MAX_SAFE_INTEGER;\n }\n\n return displayCount || 0;\n }, [displayCount, containerWidth]);\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n restReady = _useState6[0],\n setRestReady = _useState6[1];\n\n var itemPrefixCls = \"\".concat(prefixCls, \"-item\"); // Always use the max width to avoid blink\n\n var mergedRestWidth = Math.max(prevRestWidth, restWidth); // ================================= Data =================================\n\n var isResponsive = maxCount === RESPONSIVE;\n var shouldResponsive = data.length && isResponsive;\n var invalidate = maxCount === INVALIDATE;\n /**\n * When is `responsive`, we will always render rest node to get the real width of it for calculation\n */\n\n var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount;\n var mergedData = useMemo(function () {\n var items = data;\n\n if (shouldResponsive) {\n if (containerWidth === null && fullySSR) {\n items = data;\n } else {\n items = data.slice(0, Math.min(data.length, mergedContainerWidth / itemWidth));\n }\n } else if (typeof maxCount === 'number') {\n items = data.slice(0, maxCount);\n }\n\n return items;\n }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]);\n var omittedItems = useMemo(function () {\n if (shouldResponsive) {\n return data.slice(mergedDisplayCount + 1);\n }\n\n return data.slice(mergedData.length);\n }, [data, mergedData, shouldResponsive, mergedDisplayCount]); // ================================= Item =================================\n\n var getKey = useCallback(function (item, index) {\n var _ref;\n\n if (typeof itemKey === 'function') {\n return itemKey(item);\n }\n\n return (_ref = itemKey && (item === null || item === void 0 ? void 0 : item[itemKey])) !== null && _ref !== void 0 ? _ref : index;\n }, [itemKey]);\n var mergedRenderItem = useCallback(renderItem || function (item) {\n return item;\n }, [renderItem]);\n\n function updateDisplayCount(count, suffixFixedStartVal, notReady) {\n // React 18 will sync render even when the value is same in some case.\n // We take `mergedData` as deps which may cause dead loop if it's dynamic generate.\n // ref: https://github.com/ant-design/ant-design/issues/36559\n if (displayCount === count && (suffixFixedStartVal === undefined || suffixFixedStartVal === suffixFixedStart)) {\n return;\n }\n\n setDisplayCount(count);\n\n if (!notReady) {\n setRestReady(count < data.length - 1);\n onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(count);\n }\n\n if (suffixFixedStartVal !== undefined) {\n setSuffixFixedStart(suffixFixedStartVal);\n }\n } // ================================= Size =================================\n\n\n function onOverflowResize(_, element) {\n setContainerWidth(element.clientWidth);\n }\n\n function registerSize(key, width) {\n setItemWidths(function (origin) {\n var clone = new Map(origin);\n\n if (width === null) {\n clone.delete(key);\n } else {\n clone.set(key, width);\n }\n\n return clone;\n });\n }\n\n function registerOverflowSize(_, width) {\n setRestWidth(width);\n setPrevRestWidth(restWidth);\n }\n\n function registerSuffixSize(_, width) {\n setSuffixWidth(width);\n } // ================================ Effect ================================\n\n\n function getItemWidth(index) {\n return itemWidths.get(getKey(mergedData[index], index));\n }\n\n useLayoutEffect(function () {\n if (mergedContainerWidth && mergedRestWidth && mergedData) {\n var totalWidth = suffixWidth;\n var len = mergedData.length;\n var lastIndex = len - 1; // When data count change to 0, reset this since not loop will reach\n\n if (!len) {\n updateDisplayCount(0, null);\n return;\n }\n\n for (var i = 0; i < len; i += 1) {\n var currentItemWidth = getItemWidth(i); // Fully will always render\n\n if (fullySSR) {\n currentItemWidth = currentItemWidth || 0;\n } // Break since data not ready\n\n\n if (currentItemWidth === undefined) {\n updateDisplayCount(i - 1, undefined, true);\n break;\n } // Find best match\n\n\n totalWidth += currentItemWidth;\n\n if ( // Only one means `totalWidth` is the final width\n lastIndex === 0 && totalWidth <= mergedContainerWidth || // Last two width will be the final width\n i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth) {\n // Additional check if match the end\n updateDisplayCount(lastIndex, null);\n break;\n } else if (totalWidth + mergedRestWidth > mergedContainerWidth) {\n // Can not hold all the content to show rest\n updateDisplayCount(i - 1, totalWidth - currentItemWidth - suffixWidth + restWidth);\n break;\n }\n }\n\n if (suffix && getItemWidth(0) + suffixWidth > mergedContainerWidth) {\n setSuffixFixedStart(null);\n }\n }\n }, [mergedContainerWidth, itemWidths, restWidth, suffixWidth, getKey, mergedData]); // ================================ Render ================================\n\n var displayRest = restReady && !!omittedItems.length;\n var suffixStyle = {};\n\n if (suffixFixedStart !== null && shouldResponsive) {\n suffixStyle = {\n position: 'absolute',\n left: suffixFixedStart,\n top: 0\n };\n }\n\n var itemSharedProps = {\n prefixCls: itemPrefixCls,\n responsive: shouldResponsive,\n component: itemComponent,\n invalidate: invalidate\n }; // >>>>> Choice render fun by `renderRawItem`\n\n var internalRenderItemNode = renderRawItem ? function (item, index) {\n var key = getKey(item, index);\n return /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n key: key,\n value: _objectSpread(_objectSpread({}, itemSharedProps), {}, {\n order: index,\n item: item,\n itemKey: key,\n registerSize: registerSize,\n display: index <= mergedDisplayCount\n })\n }, renderRawItem(item, index));\n } : function (item, index) {\n var key = getKey(item, index);\n return /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, {\n order: index,\n key: key,\n item: item,\n renderItem: mergedRenderItem,\n itemKey: key,\n registerSize: registerSize,\n display: index <= mergedDisplayCount\n }));\n }; // >>>>> Rest node\n\n var restNode;\n var restContextProps = {\n order: displayRest ? mergedDisplayCount : Number.MAX_SAFE_INTEGER,\n className: \"\".concat(itemPrefixCls, \"-rest\"),\n registerSize: registerOverflowSize,\n display: displayRest\n };\n\n if (!renderRawRest) {\n var mergedRenderRest = renderRest || defaultRenderRest;\n restNode = /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);\n } else if (renderRawRest) {\n restNode = /*#__PURE__*/React.createElement(OverflowContext.Provider, {\n value: _objectSpread(_objectSpread({}, itemSharedProps), restContextProps)\n }, renderRawRest(omittedItems));\n }\n\n var overflowNode = /*#__PURE__*/React.createElement(Component, _extends({\n className: classNames(!invalidate && prefixCls, className),\n style: style,\n ref: ref\n }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/React.createElement(Item, _extends({}, itemSharedProps, {\n responsive: isResponsive,\n responsiveDisabled: !shouldResponsive,\n order: mergedDisplayCount,\n className: \"\".concat(itemPrefixCls, \"-suffix\"),\n registerSize: registerSuffixSize,\n display: true,\n style: suffixStyle\n }), suffix));\n\n if (isResponsive) {\n overflowNode = /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onOverflowResize,\n disabled: !shouldResponsive\n }, overflowNode);\n }\n\n return overflowNode;\n}\n\nvar ForwardOverflow = /*#__PURE__*/React.forwardRef(Overflow);\nForwardOverflow.displayName = 'Overflow';\nForwardOverflow.Item = RawItem;\nForwardOverflow.RESPONSIVE = RESPONSIVE;\nForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type\n\nexport default ForwardOverflow;","import Overflow from './Overflow';\nexport default Overflow;","export default {\n // Options.jsx\n items_per_page: '/ page',\n jump_to: 'Go to',\n jump_to_confirm: 'confirm',\n page: 'Page',\n // Pagination.jsx\n prev_page: 'Previous Page',\n next_page: 'Next Page',\n prev_5: 'Previous 5 Pages',\n next_5: 'Next 5 Pages',\n prev_3: 'Previous 3 Pages',\n next_3: 'Next 3 Pages',\n page_size: 'Page Size'\n};","import ResizeObserver from 'resize-observer-polyfill';\n// =============================== Const ===============================\nvar elementListeners = new Map();\nfunction onResize(entities) {\n entities.forEach(function (entity) {\n var _elementListeners$get;\n var target = entity.target;\n (_elementListeners$get = elementListeners.get(target)) === null || _elementListeners$get === void 0 ? void 0 : _elementListeners$get.forEach(function (listener) {\n return listener(target);\n });\n });\n}\n// Note: ResizeObserver polyfill not support option to measure border-box resize\nvar resizeObserver = new ResizeObserver(onResize);\n// Dev env only\nexport var _el = process.env.NODE_ENV !== 'production' ? elementListeners : null; // eslint-disable-line\nexport var _rs = process.env.NODE_ENV !== 'production' ? onResize : null; // eslint-disable-line\n// ============================== Observe ==============================\nexport function observe(element, callback) {\n if (!elementListeners.has(element)) {\n elementListeners.set(element, new Set());\n resizeObserver.observe(element);\n }\n elementListeners.get(element).add(callback);\n}\nexport function unobserve(element, callback) {\n if (elementListeners.has(element)) {\n elementListeners.get(element).delete(callback);\n if (!elementListeners.get(element).size) {\n resizeObserver.unobserve(element);\n elementListeners.delete(element);\n }\n }\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n/**\n * Fallback to findDOMNode if origin ref do not provide any dom element\n */\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n var _super = _createSuper(DomWrapper);\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n return _super.apply(this, arguments);\n }\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n return DomWrapper;\n}(React.Component);\nexport { DomWrapper as default };","import * as React from 'react';\nexport var CollectionContext = /*#__PURE__*/React.createContext(null);\n/**\n * Collect all the resize event from children ResizeObserver\n */\nexport function Collection(_ref) {\n var children = _ref.children,\n onBatchResize = _ref.onBatchResize;\n var resizeIdRef = React.useRef(0);\n var resizeInfosRef = React.useRef([]);\n var onCollectionResize = React.useContext(CollectionContext);\n var onResize = React.useCallback(function (size, element, data) {\n resizeIdRef.current += 1;\n var currentId = resizeIdRef.current;\n resizeInfosRef.current.push({\n size: size,\n element: element,\n data: data\n });\n Promise.resolve().then(function () {\n if (currentId === resizeIdRef.current) {\n onBatchResize === null || onBatchResize === void 0 ? void 0 : onBatchResize(resizeInfosRef.current);\n resizeInfosRef.current = [];\n }\n });\n // Continue bubbling if parent exist\n onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(size, element, data);\n }, [onBatchResize, onCollectionResize]);\n return /*#__PURE__*/React.createElement(CollectionContext.Provider, {\n value: onResize\n }, children);\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { observe, unobserve } from '../utils/observerUtil';\nimport DomWrapper from './DomWrapper';\nimport { CollectionContext } from '../Collection';\nexport default function SingleObserver(props) {\n var children = props.children,\n disabled = props.disabled;\n var elementRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n var onCollectionResize = React.useContext(CollectionContext);\n // =========================== Children ===========================\n var isRenderProps = typeof children === 'function';\n var mergedChildren = isRenderProps ? children(elementRef) : children;\n // ============================= Size =============================\n var sizeRef = React.useRef({\n width: -1,\n height: -1,\n offsetWidth: -1,\n offsetHeight: -1\n });\n // ============================= Ref ==============================\n var canRef = !isRenderProps && /*#__PURE__*/React.isValidElement(mergedChildren) && supportRef(mergedChildren);\n var originRef = canRef ? mergedChildren.ref : null;\n var mergedRef = React.useMemo(function () {\n return composeRef(originRef, elementRef);\n }, [originRef, elementRef]);\n // =========================== Observe ============================\n var propsRef = React.useRef(props);\n propsRef.current = props;\n // Handler\n var onInternalResize = React.useCallback(function (target) {\n var _propsRef$current = propsRef.current,\n onResize = _propsRef$current.onResize,\n data = _propsRef$current.data;\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n var offsetWidth = target.offsetWidth,\n offsetHeight = target.offsetHeight;\n /**\n * Resize observer trigger when content size changed.\n * In most case we just care about element size,\n * let's use `boundary` instead of `contentRect` here to avoid shaking.\n */\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n if (sizeRef.current.width !== fixedWidth || sizeRef.current.height !== fixedHeight || sizeRef.current.offsetWidth !== offsetWidth || sizeRef.current.offsetHeight !== offsetHeight) {\n var size = {\n width: fixedWidth,\n height: fixedHeight,\n offsetWidth: offsetWidth,\n offsetHeight: offsetHeight\n };\n sizeRef.current = size;\n // IE is strange, right?\n var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;\n var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;\n var sizeInfo = _objectSpread(_objectSpread({}, size), {}, {\n offsetWidth: mergedOffsetWidth,\n offsetHeight: mergedOffsetHeight\n });\n // Let collection know what happened\n onCollectionResize === null || onCollectionResize === void 0 ? void 0 : onCollectionResize(sizeInfo, target, data);\n if (onResize) {\n // defer the callback but not defer to next frame\n Promise.resolve().then(function () {\n onResize(sizeInfo, target);\n });\n }\n }\n }, []);\n // Dynamic observe\n React.useEffect(function () {\n var currentElement = findDOMNode(elementRef.current) || findDOMNode(wrapperRef.current);\n if (currentElement && !disabled) {\n observe(currentElement, onInternalResize);\n }\n return function () {\n return unobserve(currentElement, onInternalResize);\n };\n }, [elementRef.current, disabled]);\n // ============================ Render ============================\n return /*#__PURE__*/React.createElement(DomWrapper, {\n ref: wrapperRef\n }, canRef ? /*#__PURE__*/React.cloneElement(mergedChildren, {\n ref: mergedRef\n }) : mergedChildren);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport { warning } from \"rc-util/es/warning\";\nimport SingleObserver from './SingleObserver';\nimport { Collection } from './Collection';\nvar INTERNAL_PREFIX_KEY = 'rc-observer-key';\nfunction ResizeObserver(props) {\n var children = props.children;\n var childNodes = typeof children === 'function' ? [children] : toArray(children);\n if (process.env.NODE_ENV !== 'production') {\n if (childNodes.length > 1) {\n warning(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');\n } else if (childNodes.length === 0) {\n warning(false, '`children` of ResizeObserver is empty. Nothing is in observe.');\n }\n }\n return childNodes.map(function (child, index) {\n var key = (child === null || child === void 0 ? void 0 : child.key) || \"\".concat(INTERNAL_PREFIX_KEY, \"-\").concat(index);\n return /*#__PURE__*/React.createElement(SingleObserver, _extends({}, props, {\n key: key\n }), child);\n });\n}\nResizeObserver.Collection = Collection;\nexport default ResizeObserver;","// Thanks to https://github.com/andreypopp/react-textarea-autosize/\n/**\n * calculateNodeHeight(uiTextNode, useCache = false)\n */\nvar HIDDEN_TEXTAREA_STYLE = \"\\n min-height:0 !important;\\n max-height:none !important;\\n height:0 !important;\\n visibility:hidden !important;\\n overflow:hidden !important;\\n position:absolute !important;\\n z-index:-1000 !important;\\n top:0 !important;\\n right:0 !important;\\n pointer-events: none !important;\\n\";\nvar SIZING_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'font-variant', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing', 'word-break'];\nvar computedStyleCache = {};\nvar hiddenTextarea;\nexport function calculateNodeStyling(node) {\n var useCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var nodeRef = node.getAttribute('id') || node.getAttribute('data-reactid') || node.getAttribute('name');\n if (useCache && computedStyleCache[nodeRef]) {\n return computedStyleCache[nodeRef];\n }\n var style = window.getComputedStyle(node);\n var boxSizing = style.getPropertyValue('box-sizing') || style.getPropertyValue('-moz-box-sizing') || style.getPropertyValue('-webkit-box-sizing');\n var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));\n var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));\n var sizingStyle = SIZING_STYLE.map(function (name) {\n return \"\".concat(name, \":\").concat(style.getPropertyValue(name));\n }).join(';');\n var nodeInfo = {\n sizingStyle: sizingStyle,\n paddingSize: paddingSize,\n borderSize: borderSize,\n boxSizing: boxSizing\n };\n if (useCache && nodeRef) {\n computedStyleCache[nodeRef] = nodeInfo;\n }\n return nodeInfo;\n}\nexport default function calculateAutoSizeStyle(uiTextNode) {\n var useCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var minRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var maxRows = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement('textarea');\n hiddenTextarea.setAttribute('tab-index', '-1');\n hiddenTextarea.setAttribute('aria-hidden', 'true');\n document.body.appendChild(hiddenTextarea);\n }\n // Fix wrap=\"off\" issue\n // https://github.com/ant-design/ant-design/issues/6577\n if (uiTextNode.getAttribute('wrap')) {\n hiddenTextarea.setAttribute('wrap', uiTextNode.getAttribute('wrap'));\n } else {\n hiddenTextarea.removeAttribute('wrap');\n }\n // Copy all CSS properties that have an impact on the height of the content in\n // the textbox\n var _calculateNodeStyling = calculateNodeStyling(uiTextNode, useCache),\n paddingSize = _calculateNodeStyling.paddingSize,\n borderSize = _calculateNodeStyling.borderSize,\n boxSizing = _calculateNodeStyling.boxSizing,\n sizingStyle = _calculateNodeStyling.sizingStyle;\n // Need to have the overflow attribute to hide the scrollbar otherwise\n // text-lines will not calculated properly as the shadow will technically be\n // narrower for content\n hiddenTextarea.setAttribute('style', \"\".concat(sizingStyle, \";\").concat(HIDDEN_TEXTAREA_STYLE));\n hiddenTextarea.value = uiTextNode.value || uiTextNode.placeholder || '';\n var minHeight = undefined;\n var maxHeight = undefined;\n var overflowY;\n var height = hiddenTextarea.scrollHeight;\n if (boxSizing === 'border-box') {\n // border-box: add border, since height = content + padding + border\n height += borderSize;\n } else if (boxSizing === 'content-box') {\n // remove padding, since height = content\n height -= paddingSize;\n }\n if (minRows !== null || maxRows !== null) {\n // measure height of a textarea with a single row\n hiddenTextarea.value = ' ';\n var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n if (minRows !== null) {\n minHeight = singleRowHeight * minRows;\n if (boxSizing === 'border-box') {\n minHeight = minHeight + paddingSize + borderSize;\n }\n height = Math.max(minHeight, height);\n }\n if (maxRows !== null) {\n maxHeight = singleRowHeight * maxRows;\n if (boxSizing === 'border-box') {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n overflowY = height > maxHeight ? '' : 'hidden';\n height = Math.min(maxHeight, height);\n }\n }\n var style = {\n height: height,\n overflowY: overflowY,\n resize: 'none'\n };\n if (minHeight) {\n style.minHeight = minHeight;\n }\n if (maxHeight) {\n style.maxHeight = maxHeight;\n }\n return style;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"onPressEnter\", \"defaultValue\", \"value\", \"autoSize\", \"onResize\", \"className\", \"style\", \"disabled\", \"onChange\", \"onInternalAutoSize\"];\nimport * as React from 'react';\nimport ResizeObserver from 'rc-resize-observer';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport raf from \"rc-util/es/raf\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport classNames from 'classnames';\nimport calculateAutoSizeStyle from './calculateNodeHeight';\nvar RESIZE_START = 0;\nvar RESIZE_MEASURING = 1;\nvar RESIZE_STABLE = 2;\nvar ResizableTextArea = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-textarea' : _props$prefixCls,\n onPressEnter = props.onPressEnter,\n defaultValue = props.defaultValue,\n value = props.value,\n autoSize = props.autoSize,\n onResize = props.onResize,\n className = props.className,\n style = props.style,\n disabled = props.disabled,\n onChange = props.onChange,\n onInternalAutoSize = props.onInternalAutoSize,\n restProps = _objectWithoutProperties(props, _excluded);\n // =============================== Value ================================\n var _useMergedState = useMergedState(defaultValue, {\n value: value,\n postState: function postState(val) {\n return val !== null && val !== void 0 ? val : '';\n }\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedValue = _useMergedState2[0],\n setMergedValue = _useMergedState2[1];\n var onInternalChange = function onInternalChange(event) {\n setMergedValue(event.target.value);\n onChange === null || onChange === void 0 ? void 0 : onChange(event);\n };\n // ================================ Ref =================================\n var textareaRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n textArea: textareaRef.current\n };\n });\n // ============================== AutoSize ==============================\n var _React$useMemo = React.useMemo(function () {\n if (autoSize && _typeof(autoSize) === 'object') {\n return [autoSize.minRows, autoSize.maxRows];\n }\n return [];\n }, [autoSize]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n minRows = _React$useMemo2[0],\n maxRows = _React$useMemo2[1];\n var needAutoSize = !!autoSize;\n // =============================== Scroll ===============================\n // https://github.com/ant-design/ant-design/issues/21870\n var fixFirefoxAutoScroll = function fixFirefoxAutoScroll() {\n try {\n // FF has bug with jump of scroll to top. We force back here.\n if (document.activeElement === textareaRef.current) {\n var _textareaRef$current = textareaRef.current,\n selectionStart = _textareaRef$current.selectionStart,\n selectionEnd = _textareaRef$current.selectionEnd,\n scrollTop = _textareaRef$current.scrollTop;\n // Fix Safari bug which not rollback when break line\n // This makes Chinese IME can't input. Do not fix this\n // const { value: tmpValue } = textareaRef.current;\n // textareaRef.current.value = '';\n // textareaRef.current.value = tmpValue;\n textareaRef.current.setSelectionRange(selectionStart, selectionEnd);\n textareaRef.current.scrollTop = scrollTop;\n }\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n // =============================== Resize ===============================\n var _React$useState = React.useState(RESIZE_STABLE),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n resizeState = _React$useState2[0],\n setResizeState = _React$useState2[1];\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n autoSizeStyle = _React$useState4[0],\n setAutoSizeStyle = _React$useState4[1];\n var startResize = function startResize() {\n setResizeState(RESIZE_START);\n if (process.env.NODE_ENV === 'test') {\n onInternalAutoSize === null || onInternalAutoSize === void 0 ? void 0 : onInternalAutoSize();\n }\n };\n // Change to trigger resize measure\n useLayoutEffect(function () {\n if (needAutoSize) {\n startResize();\n }\n }, [value, minRows, maxRows, needAutoSize]);\n useLayoutEffect(function () {\n if (resizeState === RESIZE_START) {\n setResizeState(RESIZE_MEASURING);\n } else if (resizeState === RESIZE_MEASURING) {\n var textareaStyles = calculateAutoSizeStyle(textareaRef.current, false, minRows, maxRows);\n // Safari has bug that text will keep break line on text cut when it's prev is break line.\n // ZombieJ: This not often happen. So we just skip it.\n // const { selectionStart, selectionEnd, scrollTop } = textareaRef.current;\n // const { value: tmpValue } = textareaRef.current;\n // textareaRef.current.value = '';\n // textareaRef.current.value = tmpValue;\n // if (document.activeElement === textareaRef.current) {\n // textareaRef.current.scrollTop = scrollTop;\n // textareaRef.current.setSelectionRange(selectionStart, selectionEnd);\n // }\n setResizeState(RESIZE_STABLE);\n setAutoSizeStyle(textareaStyles);\n } else {\n fixFirefoxAutoScroll();\n }\n }, [resizeState]);\n // We lock resize trigger by raf to avoid Safari warning\n var resizeRafRef = React.useRef();\n var cleanRaf = function cleanRaf() {\n raf.cancel(resizeRafRef.current);\n };\n var onInternalResize = function onInternalResize(size) {\n if (resizeState === RESIZE_STABLE) {\n onResize === null || onResize === void 0 ? void 0 : onResize(size);\n if (autoSize) {\n cleanRaf();\n resizeRafRef.current = raf(function () {\n startResize();\n });\n }\n }\n };\n React.useEffect(function () {\n return cleanRaf;\n }, []);\n // =============================== Render ===============================\n var mergedAutoSizeStyle = needAutoSize ? autoSizeStyle : null;\n var mergedStyle = _objectSpread(_objectSpread({}, style), mergedAutoSizeStyle);\n if (resizeState === RESIZE_START || resizeState === RESIZE_MEASURING) {\n mergedStyle.overflowY = 'hidden';\n mergedStyle.overflowX = 'hidden';\n }\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onInternalResize,\n disabled: !(autoSize || onResize)\n }, /*#__PURE__*/React.createElement(\"textarea\", _extends({}, restProps, {\n ref: textareaRef,\n style: mergedStyle,\n className: classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled)),\n disabled: disabled,\n value: mergedValue,\n onChange: onInternalChange\n })));\n});\nexport default ResizableTextArea;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\nimport ResizableTextArea from './ResizableTextArea';\nvar TextArea = /*#__PURE__*/function (_React$Component) {\n _inherits(TextArea, _React$Component);\n var _super = _createSuper(TextArea);\n function TextArea(props) {\n var _this;\n _classCallCheck(this, TextArea);\n _this = _super.call(this, props);\n _this.resizableTextArea = void 0;\n _this.focus = function () {\n _this.resizableTextArea.textArea.focus();\n };\n _this.saveTextArea = function (resizableTextArea) {\n _this.resizableTextArea = resizableTextArea;\n };\n _this.handleChange = function (e) {\n var onChange = _this.props.onChange;\n _this.setValue(e.target.value);\n if (onChange) {\n onChange(e);\n }\n };\n _this.handleKeyDown = function (e) {\n var _this$props = _this.props,\n onPressEnter = _this$props.onPressEnter,\n onKeyDown = _this$props.onKeyDown;\n if (e.keyCode === 13 && onPressEnter) {\n onPressEnter(e);\n }\n if (onKeyDown) {\n onKeyDown(e);\n }\n };\n var value = typeof props.value === 'undefined' || props.value === null ? props.defaultValue : props.value;\n _this.state = {\n value: value\n };\n return _this;\n }\n _createClass(TextArea, [{\n key: \"setValue\",\n value: function setValue(value, callback) {\n if (!('value' in this.props)) {\n this.setState({\n value: value\n }, callback);\n }\n }\n }, {\n key: \"blur\",\n value: function blur() {\n this.resizableTextArea.textArea.blur();\n }\n }, {\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(ResizableTextArea, _extends({}, this.props, {\n value: this.state.value,\n onKeyDown: this.handleKeyDown,\n onChange: this.handleChange,\n ref: this.saveTextArea\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n if ('value' in nextProps) {\n return {\n value: nextProps.value\n };\n }\n return null;\n }\n }]);\n return TextArea;\n}(React.Component);\nexport { ResizableTextArea };\nexport default TextArea;","import * as React from 'react';\nimport classNames from 'classnames';\nexport default function Popup(props) {\n var showArrow = props.showArrow,\n arrowContent = props.arrowContent,\n children = props.children,\n prefixCls = props.prefixCls,\n id = props.id,\n overlayInnerStyle = props.overlayInnerStyle,\n className = props.className,\n style = props.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: style\n }, showArrow !== false && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-arrow\"),\n key: \"arrow\"\n }, arrowContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\"),\n id: id,\n role: \"tooltip\",\n style: overlayInnerStyle\n }, typeof children === 'function' ? children() : children));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useRef, useImperativeHandle, forwardRef } from 'react';\nimport Trigger from 'rc-trigger';\nimport { placements } from './placements';\nimport Popup from './Popup';\n\nvar Tooltip = function Tooltip(props, ref) {\n var overlayClassName = props.overlayClassName,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n overlayStyle = props.overlayStyle,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls,\n children = props.children,\n onVisibleChange = props.onVisibleChange,\n afterVisibleChange = props.afterVisibleChange,\n transitionName = props.transitionName,\n animation = props.animation,\n motion = props.motion,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'right' : _props$placement,\n _props$align = props.align,\n align = _props$align === void 0 ? {} : _props$align,\n _props$destroyTooltip = props.destroyTooltipOnHide,\n destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip,\n defaultVisible = props.defaultVisible,\n getTooltipContainer = props.getTooltipContainer,\n overlayInnerStyle = props.overlayInnerStyle,\n arrowContent = props.arrowContent,\n overlay = props.overlay,\n id = props.id,\n showArrow = props.showArrow,\n restProps = _objectWithoutProperties(props, [\"overlayClassName\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\", \"prefixCls\", \"children\", \"onVisibleChange\", \"afterVisibleChange\", \"transitionName\", \"animation\", \"motion\", \"placement\", \"align\", \"destroyTooltipOnHide\", \"defaultVisible\", \"getTooltipContainer\", \"overlayInnerStyle\", \"arrowContent\", \"overlay\", \"id\", \"showArrow\"]);\n\n var domRef = useRef(null);\n useImperativeHandle(ref, function () {\n return domRef.current;\n });\n\n var extraProps = _objectSpread({}, restProps);\n\n if ('visible' in props) {\n extraProps.popupVisible = props.visible;\n }\n\n var getPopupElement = function getPopupElement() {\n return /*#__PURE__*/React.createElement(Popup, {\n showArrow: showArrow,\n arrowContent: arrowContent,\n key: \"content\",\n prefixCls: prefixCls,\n id: id,\n overlayInnerStyle: overlayInnerStyle\n }, overlay);\n };\n\n var destroyTooltip = false;\n var autoDestroy = false;\n\n if (typeof destroyTooltipOnHide === 'boolean') {\n destroyTooltip = destroyTooltipOnHide;\n } else if (destroyTooltipOnHide && _typeof(destroyTooltipOnHide) === 'object') {\n var keepParent = destroyTooltipOnHide.keepParent;\n destroyTooltip = keepParent === true;\n autoDestroy = keepParent === false;\n }\n\n return /*#__PURE__*/React.createElement(Trigger, _extends({\n popupClassName: overlayClassName,\n prefixCls: prefixCls,\n popup: getPopupElement,\n action: trigger,\n builtinPlacements: placements,\n popupPlacement: placement,\n ref: domRef,\n popupAlign: align,\n getPopupContainer: getTooltipContainer,\n onPopupVisibleChange: onVisibleChange,\n afterPopupVisibleChange: afterVisibleChange,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupMotion: motion,\n defaultPopupVisible: defaultVisible,\n destroyPopupOnHide: destroyTooltip,\n autoDestroy: autoDestroy,\n mouseLeaveDelay: mouseLeaveDelay,\n popupStyle: overlayStyle,\n mouseEnterDelay: mouseEnterDelay\n }, extraProps), children);\n};\n\nexport default /*#__PURE__*/forwardRef(Tooltip);","import Tooltip from './Tooltip';\nimport Popup from './Popup';\nexport { Popup };\nexport default Tooltip;","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nvar targetOffset = [0, 0];\nexport var placements = {\n left: {\n points: ['cr', 'cl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n right: {\n points: ['cl', 'cr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n top: {\n points: ['bc', 'tc'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n bottom: {\n points: ['tc', 'bc'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n rightBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflow,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n leftBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflow,\n offset: [-4, 0],\n targetOffset: targetOffset\n }\n};\nexport default placements;","import { useRef, useEffect, forwardRef, useImperativeHandle } from 'react';\nimport ReactDOM from 'react-dom';\nimport canUseDom from './Dom/canUseDom';\nvar Portal = /*#__PURE__*/forwardRef(function (props, ref) {\n var didUpdate = props.didUpdate,\n getContainer = props.getContainer,\n children = props.children;\n var parentRef = useRef();\n var containerRef = useRef();\n // Ref return nothing, only for wrapper check exist\n useImperativeHandle(ref, function () {\n return {};\n });\n // Create container in client side with sync to avoid useEffect not get ref\n var initRef = useRef(false);\n if (!initRef.current && canUseDom()) {\n containerRef.current = getContainer();\n parentRef.current = containerRef.current.parentNode;\n initRef.current = true;\n }\n // [Legacy] Used by `rc-trigger`\n useEffect(function () {\n didUpdate === null || didUpdate === void 0 ? void 0 : didUpdate(props);\n });\n useEffect(function () {\n // Restore container to original place\n // React 18 StrictMode will unmount first and mount back for effect test:\n // https://reactjs.org/blog/2022/03/29/react-v18.html#new-strict-mode-behaviors\n if (containerRef.current.parentNode === null && parentRef.current !== null) {\n parentRef.current.appendChild(containerRef.current);\n }\n return function () {\n var _containerRef$current, _containerRef$current2;\n // [Legacy] This should not be handle by Portal but parent PortalWrapper instead.\n // Since some component use `Portal` directly, we have to keep the logic here.\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : (_containerRef$current2 = _containerRef$current.parentNode) === null || _containerRef$current2 === void 0 ? void 0 : _containerRef$current2.removeChild(containerRef.current);\n };\n }, []);\n return containerRef.current ? /*#__PURE__*/ReactDOM.createPortal(children, containerRef.current) : null;\n});\nexport default Portal;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n\nfunction isPointsEq(a1, a2, isAlignPoint) {\n if (isAlignPoint) {\n return a1[0] === a2[0];\n }\n\n return a1[0] === a2[0] && a1[1] === a2[1];\n}\n\nexport function getAlignFromPlacement(builtinPlacements, placementStr, align) {\n var baseAlign = builtinPlacements[placementStr] || {};\n return _objectSpread(_objectSpread({}, baseAlign), align);\n}\nexport function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {\n var points = align.points;\n var placements = Object.keys(builtinPlacements);\n\n for (var i = 0; i < placements.length; i += 1) {\n var placement = placements[i];\n\n if (isPointsEq(builtinPlacements[placement].points, points, isAlignPoint)) {\n return \"\".concat(prefixCls, \"-placement-\").concat(placement);\n }\n }\n\n return '';\n}","export function getMotion(_ref) {\n var prefixCls = _ref.prefixCls,\n motion = _ref.motion,\n animation = _ref.animation,\n transitionName = _ref.transitionName;\n\n if (motion) {\n return motion;\n }\n\n if (animation) {\n return {\n motionName: \"\".concat(prefixCls, \"-\").concat(animation)\n };\n }\n\n if (transitionName) {\n return {\n motionName: transitionName\n };\n }\n\n return null;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport { getMotion } from \"../utils/legacyUtil\";\nexport default function Mask(props) {\n var prefixCls = props.prefixCls,\n visible = props.visible,\n zIndex = props.zIndex,\n mask = props.mask,\n maskMotion = props.maskMotion,\n maskAnimation = props.maskAnimation,\n maskTransitionName = props.maskTransitionName;\n\n if (!mask) {\n return null;\n }\n\n var motion = {};\n\n if (maskMotion || maskTransitionName || maskAnimation) {\n motion = _objectSpread({\n motionAppear: true\n }, getMotion({\n motion: maskMotion,\n prefixCls: prefixCls,\n transitionName: maskTransitionName,\n animation: maskAnimation\n }));\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motion, {\n visible: visible,\n removeOnLeave: true\n }), function (_ref) {\n var className = _ref.className;\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n zIndex: zIndex\n },\n className: classNames(\"\".concat(prefixCls, \"-mask\"), className)\n });\n });\n}","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nvar vendorPrefix;\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\nfunction getTransitionName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"TransitionProperty\") : 'transitionProperty';\n}\nfunction getTransformName() {\n return getVendorPrefix() ? \"\".concat(getVendorPrefix(), \"Transform\") : 'transform';\n}\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return {\n x: parseFloat(matrix[12] || matrix[4], 0),\n y: parseFloat(matrix[13] || matrix[5], 0)\n };\n }\n return {\n x: 0,\n y: 0\n };\n}\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, \"matrix(\".concat(arr.join(','), \")\"));\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, \"matrix3d(\".concat(arr.join(','), \")\"));\n }\n } else {\n setTransform(node, \"translateX(\".concat(xy.x, \"px) translateY(\").concat(xy.y, \"px) translateZ(0)\"));\n }\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\nvar getComputedStyleX;\n\n// https://stackoverflow.com/a/3485654/3040605\nfunction forceRelayout(elem) {\n var originalStyle = elem.style.display;\n elem.style.display = 'none';\n elem.offsetHeight; // eslint-disable-line\n elem.style.display = originalStyle;\n}\nfunction css(el, name, v) {\n var value = v;\n if (_typeof(name) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = \"\".concat(value, \"px\");\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\nfunction getClientPosition(elem) {\n var box;\n var x;\n var y;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = Math.floor(box.left);\n y = Math.floor(box.top);\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n return {\n left: x,\n top: y\n };\n}\nfunction getScroll(w, top) {\n var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n var method = \"scroll\".concat(top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\nfunction getDocument(node) {\n if (isWindow(node)) {\n return node.document;\n }\n if (node.nodeType === 9) {\n return node;\n }\n return node.ownerDocument;\n}\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = getDocument(elem);\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n return val;\n}\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = getTransitionProperty(elem) || '';\n setTransitionProperty(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = \"\".concat(presetH, \"px\");\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = \"\".concat(presetV, \"px\");\n }\n // force relayout\n forceRelayout(elem);\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n forceRelayout(elem);\n if ('left' in offset || 'top' in offset) {\n setTransitionProperty(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\nfunction setTransform$1(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = getTransformXY(elem);\n var resultXY = {\n x: originalXY.x,\n y: originalXY.y\n };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n setTransformXY(elem, resultXY);\n}\nfunction setOffset(elem, offset, option) {\n if (option.ignoreShake) {\n var oriOffset = getOffset(elem);\n var oLeft = oriOffset.left.toFixed(0);\n var oTop = oriOffset.top.toFixed(0);\n var tLeft = offset.left.toFixed(0);\n var tTop = offset.top.toFixed(0);\n if (oLeft === tLeft && oTop === tTop) {\n return;\n }\n }\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && getTransformName() in document.body.style) {\n setTransform$1(elem, offset);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop;\n var j;\n var i;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = \"\".concat(prop).concat(which[i], \"Width\");\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\nvar domUtils = {\n getParent: function getParent(element) {\n var parent = element;\n do {\n if (parent.nodeType === 11 && parent.host) {\n parent = parent.host;\n } else {\n parent = parent.parentNode;\n }\n } while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);\n return parent;\n }\n};\neach(['Width', 'Height'], function (name) {\n domUtils[\"doc\".concat(name)] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement[\"scroll\".concat(name)],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n };\n domUtils[\"viewport\".concat(name)] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = \"client\".concat(name);\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);\n var isBorderBox = isBorderBoxFn(elem);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var val;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n getDocument: getDocument,\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n for (var i = 0; i < arguments.length; i++) {\n utils.mix(ret, i < 0 || arguments.length <= i ? undefined : arguments[i]);\n }\n return ret;\n },\n viewportWidth: 0,\n viewportHeight: 0\n};\nmix(utils, domUtils);\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\nvar getParent = utils.getParent;\nfunction getOffsetParent(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return null;\n }\n // ie 这个也不是完全可行\n /*\n
\n
\n 元素 6 高 100px 宽 50px
\n
\n
\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent;\n var positionStyle = utils.css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : getParent(element);\n }\n for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {\n positionStyle = utils.css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nvar getParent$1 = utils.getParent;\nfunction isAncestorFixed(element) {\n if (utils.isWindow(element) || element.nodeType === 9) {\n return false;\n }\n var doc = utils.getDocument(element);\n var body = doc.body;\n var parent = null;\n for (parent = getParent$1(element);\n // 修复元素位于 document.documentElement 下导致崩溃问题\n parent && parent !== body && parent !== doc; parent = getParent$1(parent)) {\n var positionStyle = utils.css(parent, 'position');\n if (positionStyle === 'fixed') {\n return true;\n }\n }\n return false;\n}\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element, alwaysByViewport) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = getOffsetParent(element);\n var doc = utils.getDocument(element);\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && utils.css(el, 'overflow') !== 'visible') {\n var pos = utils.offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = getOffsetParent(el);\n }\n\n // Set element position to fixed\n // make sure absolute element itself don't affect it's visible area\n // https://github.com/ant-design/ant-design/issues/7601\n var originalPosition = null;\n if (!utils.isWindow(element) && element.nodeType !== 9) {\n originalPosition = element.style.position;\n var position = utils.css(element, 'position');\n if (position === 'absolute') {\n element.style.position = 'fixed';\n }\n }\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n var documentWidth = documentElement.scrollWidth;\n var documentHeight = documentElement.scrollHeight;\n\n // scrollXXX on html is sync with body which means overflow: hidden on body gets wrong scrollXXX.\n // We should cut this ourself.\n var bodyStyle = window.getComputedStyle(body);\n if (bodyStyle.overflowX === 'hidden') {\n documentWidth = win.innerWidth;\n }\n if (bodyStyle.overflowY === 'hidden') {\n documentHeight = win.innerHeight;\n }\n\n // Reset element position after calculate the visible area\n if (element.style) {\n element.style.position = originalPosition;\n }\n if (alwaysByViewport || isAncestorFixed(element)) {\n // Clip by viewport's size.\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);\n } else {\n // Clip by document's size.\n var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);\n visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);\n var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);\n visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);\n }\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nfunction adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {\n var pos = utils.clone(elFuturePos);\n var size = {\n width: elRegion.width,\n height: elRegion.height\n };\n if (overflow.adjustX && pos.left < visibleRect.left) {\n pos.left = visibleRect.left;\n }\n\n // Left edge inside and right edge outside viewport, try to resize it.\n if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n return utils.mix(pos, size);\n}\n\nfunction getRegion(node) {\n var offset;\n var w;\n var h;\n if (!utils.isWindow(node) && node.nodeType !== 9) {\n offset = utils.offset(node);\n w = utils.outerWidth(node);\n h = utils.outerHeight(node);\n } else {\n var win = utils.getWindow(node);\n offset = {\n left: utils.getWindowScrollLeft(win),\n top: utils.getWindowScrollTop(win)\n };\n w = utils.viewportWidth(win);\n h = utils.viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = region.left;\n var y = region.top;\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n return {\n left: x,\n top: y\n };\n}\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var p1 = getAlignOffset(refNodeRegion, points[1]);\n var p2 = getAlignOffset(elRegion, points[0]);\n var diff = [p2.left - p1.left, p2.top - p1.top];\n return {\n left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),\n top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])\n };\n}\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\n// http://yiminghe.iteye.com/blog/1124720\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\nfunction flip(points, reg, map) {\n var ret = [];\n utils.each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\nfunction convertOffset(str, offsetLen) {\n var n;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\n/**\n * @param el\n * @param tgtRegion 参照节点所占的区域: { left, top, width, height }\n * @param align\n */\nfunction doAlign(el, tgtRegion, align, isTgtRegionVisible) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n var fail = 0;\n var alwaysByViewport = !!(overflow && overflow.alwaysByViewport);\n // 当前节点可以被放置的显示区域\n var visibleRect = getVisibleRectForElement(source, alwaysByViewport);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = getRegion(source);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, tgtRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = utils.merge(elRegion, elFuturePos);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset);\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset);\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);\n utils.mix(newElRegion, elFuturePos);\n }\n var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);\n var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);\n // 检查反下后的位置是否可以放下了,如果仍然放不下:\n // 1. 复原修改过的定位参数\n if (isStillFailX || isStillFailY) {\n var _newPoints2 = points;\n\n // 重置对应部分的翻转逻辑\n if (isStillFailX) {\n _newPoints2 = flip(points, /[lr]/gi, {\n l: 'r',\n r: 'l'\n });\n }\n if (isStillFailY) {\n _newPoints2 = flip(points, /[tb]/gi, {\n t: 'b',\n b: 't'\n });\n }\n points = _newPoints2;\n offset = align.offset || [0, 0];\n targetOffset = align.targetOffset || [0, 0];\n }\n // 2. 只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;\n newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n utils.css(source, 'width', utils.width(source) + newElRegion.width - elRegion.width);\n }\n if (newElRegion.height !== elRegion.height) {\n utils.css(source, 'height', utils.height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如
\n utils.offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform,\n ignoreShake: align.ignoreShake\n });\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nfunction isOutOfVisibleRect(target, alwaysByViewport) {\n var visibleRect = getVisibleRectForElement(target, alwaysByViewport);\n var targetRegion = getRegion(target);\n return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;\n}\nfunction alignElement(el, refNode, align) {\n var target = align.target || refNode;\n var refNodeRegion = getRegion(target);\n var isTargetNotOutOfVisible = !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport);\n return doAlign(el, refNodeRegion, align, isTargetNotOutOfVisible);\n}\nalignElement.__getOffsetParent = getOffsetParent;\nalignElement.__getVisibleRectForElement = getVisibleRectForElement;\n\n/**\n * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.\n * If client position provided, will internal convert to page position.\n */\n\nfunction alignPoint(el, tgtPoint, align) {\n var pageX;\n var pageY;\n var doc = utils.getDocument(el);\n var win = doc.defaultView || doc.parentWindow;\n var scrollX = utils.getWindowScrollLeft(win);\n var scrollY = utils.getWindowScrollTop(win);\n var viewportWidth = utils.viewportWidth(win);\n var viewportHeight = utils.viewportHeight(win);\n if ('pageX' in tgtPoint) {\n pageX = tgtPoint.pageX;\n } else {\n pageX = scrollX + tgtPoint.clientX;\n }\n if ('pageY' in tgtPoint) {\n pageY = tgtPoint.pageY;\n } else {\n pageY = scrollY + tgtPoint.clientY;\n }\n var tgtRegion = {\n left: pageX,\n top: pageY,\n width: 0,\n height: 0\n };\n var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;\n\n // Provide default target point\n var points = [align.points[0], 'cc'];\n return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, {\n points: points\n }), pointInView);\n}\n\nexport default alignElement;\nexport { alignElement, alignPoint };\n//# sourceMappingURL=index.js.map\n","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport warning from './warning';\n/**\n * Deeply compares two object literals.\n * @param obj1 object 1\n * @param obj2 object 2\n * @param shallow shallow compare\n * @returns\n */\nfunction isEqual(obj1, obj2) {\n var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n // https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f\n var refSet = new Set();\n function deepEqual(a, b) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var circular = refSet.has(a);\n warning(!circular, 'Warning: There may be circular references');\n if (circular) {\n return false;\n }\n if (a === b) {\n return true;\n }\n if (shallow && level > 1) {\n return false;\n }\n refSet.add(a);\n var newLevel = level + 1;\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (var i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i], newLevel)) {\n return false;\n }\n }\n return true;\n }\n if (a && b && _typeof(a) === 'object' && _typeof(b) === 'object') {\n var keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) {\n return false;\n }\n return keys.every(function (key) {\n return deepEqual(a[key], b[key], newLevel);\n });\n }\n // other\n return false;\n }\n return deepEqual(obj1, obj2);\n}\nexport default isEqual;","import React from 'react';\nexport default (function (callback, buffer) {\n var calledRef = React.useRef(false);\n var timeoutRef = React.useRef(null);\n\n function cancelTrigger() {\n window.clearTimeout(timeoutRef.current);\n }\n\n function trigger(force) {\n cancelTrigger();\n\n if (!calledRef.current || force === true) {\n if (callback(force) === false) {\n // Not delay since callback cancelled self\n return;\n }\n\n calledRef.current = true;\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n }, buffer);\n } else {\n timeoutRef.current = window.setTimeout(function () {\n calledRef.current = false;\n trigger();\n }, buffer);\n }\n }\n\n return [trigger, function () {\n calledRef.current = false;\n cancelTrigger();\n }];\n});","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport ResizeObserver from 'resize-observer-polyfill';\nimport contains from \"rc-util/es/Dom/contains\";\nexport function isSamePoint(prev, next) {\n if (prev === next) return true;\n if (!prev || !next) return false;\n\n if ('pageX' in next && 'pageY' in next) {\n return prev.pageX === next.pageX && prev.pageY === next.pageY;\n }\n\n if ('clientX' in next && 'clientY' in next) {\n return prev.clientX === next.clientX && prev.clientY === next.clientY;\n }\n\n return false;\n}\nexport function restoreFocus(activeElement, container) {\n // Focus back if is in the container\n if (activeElement !== document.activeElement && contains(container, activeElement) && typeof activeElement.focus === 'function') {\n activeElement.focus();\n }\n}\nexport function monitorResize(element, callback) {\n var prevWidth = null;\n var prevHeight = null;\n\n function onResize(_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n target = _ref2[0].target;\n\n if (!document.documentElement.contains(target)) return;\n\n var _target$getBoundingCl = target.getBoundingClientRect(),\n width = _target$getBoundingCl.width,\n height = _target$getBoundingCl.height;\n\n var fixedWidth = Math.floor(width);\n var fixedHeight = Math.floor(height);\n\n if (prevWidth !== fixedWidth || prevHeight !== fixedHeight) {\n // https://webkit.org/blog/9997/resizeobserver-in-webkit/\n Promise.resolve().then(function () {\n callback({\n width: fixedWidth,\n height: fixedHeight\n });\n });\n }\n\n prevWidth = fixedWidth;\n prevHeight = fixedHeight;\n }\n\n var resizeObserver = new ResizeObserver(onResize);\n\n if (element) {\n resizeObserver.observe(element);\n }\n\n return function () {\n resizeObserver.disconnect();\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/**\n * Removed props:\n * - childrenProps\n */\nimport { alignElement, alignPoint } from 'dom-align';\nimport isEqual from \"rc-util/es/isEqual\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport isVisible from \"rc-util/es/Dom/isVisible\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport React from 'react';\nimport useBuffer from \"./hooks/useBuffer\";\nimport { isSamePoint, monitorResize, restoreFocus } from \"./util\";\n\nfunction getElement(func) {\n if (typeof func !== 'function') return null;\n return func();\n}\n\nfunction getPoint(point) {\n if (_typeof(point) !== 'object' || !point) return null;\n return point;\n}\n\nvar Align = function Align(_ref, ref) {\n var children = _ref.children,\n disabled = _ref.disabled,\n target = _ref.target,\n align = _ref.align,\n onAlign = _ref.onAlign,\n monitorWindowResize = _ref.monitorWindowResize,\n _ref$monitorBufferTim = _ref.monitorBufferTime,\n monitorBufferTime = _ref$monitorBufferTim === void 0 ? 0 : _ref$monitorBufferTim;\n var cacheRef = React.useRef({});\n /** Popup node ref */\n\n var nodeRef = React.useRef();\n var childNode = React.Children.only(children); // ===================== Align ======================\n // We save the props here to avoid closure makes props ood\n\n var forceAlignPropsRef = React.useRef({});\n forceAlignPropsRef.current.disabled = disabled;\n forceAlignPropsRef.current.target = target;\n forceAlignPropsRef.current.align = align;\n forceAlignPropsRef.current.onAlign = onAlign;\n\n var _useBuffer = useBuffer(function () {\n var _forceAlignPropsRef$c = forceAlignPropsRef.current,\n latestDisabled = _forceAlignPropsRef$c.disabled,\n latestTarget = _forceAlignPropsRef$c.target,\n latestAlign = _forceAlignPropsRef$c.align,\n latestOnAlign = _forceAlignPropsRef$c.onAlign;\n var source = nodeRef.current;\n\n if (!latestDisabled && latestTarget && source) {\n var _result;\n\n var _element = getElement(latestTarget);\n\n var _point = getPoint(latestTarget);\n\n cacheRef.current.element = _element;\n cacheRef.current.point = _point;\n cacheRef.current.align = latestAlign; // IE lose focus after element realign\n // We should record activeElement and restore later\n\n var _document = document,\n activeElement = _document.activeElement; // We only align when element is visible\n\n if (_element && isVisible(_element)) {\n _result = alignElement(source, _element, latestAlign);\n } else if (_point) {\n _result = alignPoint(source, _point, latestAlign);\n }\n\n restoreFocus(activeElement, source);\n\n if (latestOnAlign && _result) {\n latestOnAlign(source, _result);\n }\n\n return true;\n }\n\n return false;\n }, monitorBufferTime),\n _useBuffer2 = _slicedToArray(_useBuffer, 2),\n _forceAlign = _useBuffer2[0],\n cancelForceAlign = _useBuffer2[1]; // ===================== Effect =====================\n // Handle props change\n\n\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n element = _React$useState2[0],\n setElement = _React$useState2[1];\n\n var _React$useState3 = React.useState(),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n point = _React$useState4[0],\n setPoint = _React$useState4[1];\n\n useLayoutEffect(function () {\n setElement(getElement(target));\n setPoint(getPoint(target));\n });\n React.useEffect(function () {\n if (cacheRef.current.element !== element || !isSamePoint(cacheRef.current.point, point) || !isEqual(cacheRef.current.align, align)) {\n _forceAlign();\n }\n }); // Watch popup element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(nodeRef.current, _forceAlign);\n return cancelFn;\n }, [nodeRef.current]); // Watch target element resize\n\n React.useEffect(function () {\n var cancelFn = monitorResize(element, _forceAlign);\n return cancelFn;\n }, [element]); // Listen for disabled change\n\n React.useEffect(function () {\n if (!disabled) {\n _forceAlign();\n } else {\n cancelForceAlign();\n }\n }, [disabled]); // Listen for window resize\n\n React.useEffect(function () {\n if (monitorWindowResize) {\n var cancelFn = addEventListener(window, 'resize', _forceAlign);\n return cancelFn.remove;\n }\n }, [monitorWindowResize]); // Clear all if unmount\n\n React.useEffect(function () {\n return function () {\n cancelForceAlign();\n };\n }, []); // ====================== Ref =======================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {\n return _forceAlign(true);\n }\n };\n }); // ===================== Render =====================\n\n if ( /*#__PURE__*/React.isValidElement(childNode)) {\n childNode = /*#__PURE__*/React.cloneElement(childNode, {\n ref: composeRef(childNode.ref, nodeRef)\n });\n }\n\n return childNode;\n};\n\nvar RcAlign = /*#__PURE__*/React.forwardRef(Align);\nRcAlign.displayName = 'Align';\nexport default RcAlign;","// export this package's api\nimport Align from \"./Align\";\nexport default Align;","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useEffect, useRef } from 'react';\nimport raf from \"rc-util/es/raf\";\nimport useState from \"rc-util/es/hooks/useState\";\n/**\n * Popup should follow the steps for each component work correctly:\n * measure - check for the current stretch size\n * align - let component align the position\n * aligned - re-align again in case additional className changed the size\n * afterAlign - choice next step is trigger motion or finished\n * beforeMotion - should reset motion to invisible so that CSSMotion can do normal motion\n * motion - play the motion\n * stable - everything is done\n */\n\nvar StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];\nexport default (function (visible, doMeasure) {\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setInternalStatus = _useState2[1];\n\n var rafRef = useRef();\n\n function setStatus(nextStatus) {\n setInternalStatus(nextStatus, true);\n }\n\n function cancelRaf() {\n raf.cancel(rafRef.current);\n }\n\n function goNextStatus(callback) {\n cancelRaf();\n rafRef.current = raf(function () {\n // Only align should be manually trigger\n setStatus(function (prev) {\n switch (status) {\n case 'align':\n return 'motion';\n\n case 'motion':\n return 'stable';\n\n default:\n }\n\n return prev;\n });\n callback === null || callback === void 0 ? void 0 : callback();\n });\n } // Init status\n\n\n useEffect(function () {\n setStatus('measure');\n }, [visible]); // Go next status\n\n useEffect(function () {\n switch (status) {\n case 'measure':\n doMeasure();\n break;\n\n default:\n }\n\n if (status) {\n rafRef.current = raf( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n var index, nextStatus;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n index = StatusQueue.indexOf(status);\n nextStatus = StatusQueue[index + 1];\n\n if (nextStatus && index !== -1) {\n setStatus(nextStatus);\n }\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n })));\n }\n }, [status]);\n useEffect(function () {\n return function () {\n cancelRaf();\n };\n }, []);\n return [status, goNextStatus];\n});","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nexport default (function (stretch) {\n var _React$useState = React.useState({\n width: 0,\n height: 0\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n targetSize = _React$useState2[0],\n setTargetSize = _React$useState2[1];\n\n function measureStretch(element) {\n var tgtWidth = element.offsetWidth,\n tgtHeight = element.offsetHeight;\n\n var _element$getBoundingC = element.getBoundingClientRect(),\n width = _element$getBoundingC.width,\n height = _element$getBoundingC.height; // Rect is more accurate than offset, use if near\n\n\n if (Math.abs(tgtWidth - width) < 1 && Math.abs(tgtHeight - height) < 1) {\n tgtWidth = width;\n tgtHeight = height;\n }\n\n setTargetSize({\n width: tgtWidth,\n height: tgtHeight\n });\n } // Merge stretch style\n\n\n var style = React.useMemo(function () {\n var sizeStyle = {};\n\n if (stretch) {\n var width = targetSize.width,\n height = targetSize.height; // Stretch with target\n\n if (stretch.indexOf('height') !== -1 && height) {\n sizeStyle.height = height;\n } else if (stretch.indexOf('minHeight') !== -1 && height) {\n sizeStyle.minHeight = height;\n }\n\n if (stretch.indexOf('width') !== -1 && width) {\n sizeStyle.width = width;\n } else if (stretch.indexOf('minWidth') !== -1 && width) {\n sizeStyle.minWidth = width;\n }\n }\n\n return sizeStyle;\n }, [stretch, targetSize]);\n return [style, measureStretch];\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { useRef, useState } from 'react';\nimport Align from 'rc-align';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nimport useVisibleStatus from \"./useVisibleStatus\";\nimport { getMotion } from \"../utils/legacyUtil\";\nimport useStretchStyle from \"./useStretchStyle\";\nvar PopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var visible = props.visible,\n prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n children = props.children,\n zIndex = props.zIndex,\n stretch = props.stretch,\n destroyPopupOnHide = props.destroyPopupOnHide,\n forceRender = props.forceRender,\n align = props.align,\n point = props.point,\n getRootDomNode = props.getRootDomNode,\n getClassNameFromAlign = props.getClassNameFromAlign,\n onAlign = props.onAlign,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onMouseDown = props.onMouseDown,\n onTouchStart = props.onTouchStart,\n onClick = props.onClick;\n var alignRef = useRef();\n var elementRef = useRef();\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n alignedClassName = _useState2[0],\n setAlignedClassName = _useState2[1]; // ======================= Measure ========================\n\n\n var _useStretchStyle = useStretchStyle(stretch),\n _useStretchStyle2 = _slicedToArray(_useStretchStyle, 2),\n stretchStyle = _useStretchStyle2[0],\n measureStretchStyle = _useStretchStyle2[1];\n\n function doMeasure() {\n if (stretch) {\n measureStretchStyle(getRootDomNode());\n }\n } // ======================== Status ========================\n\n\n var _useVisibleStatus = useVisibleStatus(visible, doMeasure),\n _useVisibleStatus2 = _slicedToArray(_useVisibleStatus, 2),\n status = _useVisibleStatus2[0],\n goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================\n\n /**\n * `alignedClassName` may modify `source` size,\n * which means one time align may not move to the correct position at once.\n *\n * We will reset `alignTimes` for each status switch to `alignPre`\n * and let `rc-align` to align for multiple times to ensure get final stable place.\n * Currently we mark `alignTimes < 2` repeat align, it will increase if user report for align issue.\n * \n * Update:\n * In React 18. `rc-align` effect of align may faster than ref called trigger `forceAlign`.\n * We adjust this to `alignTimes < 2`.\n * We need refactor `rc-align` to support mark of `forceAlign` call if this still happen.\n */\n\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n alignTimes = _useState4[0],\n setAlignTimes = _useState4[1];\n\n var prepareResolveRef = useRef();\n useLayoutEffect(function () {\n if (status === 'alignPre') {\n setAlignTimes(0);\n }\n }, [status]); // `target` on `rc-align` can accept as a function to get the bind element or a point.\n // ref: https://www.npmjs.com/package/rc-align\n\n function getAlignTarget() {\n if (point) {\n return point;\n }\n\n return getRootDomNode;\n }\n\n function forceAlign() {\n var _alignRef$current;\n\n (_alignRef$current = alignRef.current) === null || _alignRef$current === void 0 ? void 0 : _alignRef$current.forceAlign();\n }\n\n function onInternalAlign(popupDomNode, matchAlign) {\n var nextAlignedClassName = getClassNameFromAlign(matchAlign);\n\n if (alignedClassName !== nextAlignedClassName) {\n setAlignedClassName(nextAlignedClassName);\n } // We will retry multi times to make sure that the element has been align in the right position.\n\n\n setAlignTimes(function (val) {\n return val + 1;\n });\n\n if (status === 'align') {\n onAlign === null || onAlign === void 0 ? void 0 : onAlign(popupDomNode, matchAlign);\n }\n } // Delay to go to next status\n\n\n useLayoutEffect(function () {\n if (status === 'align') {\n // Repeat until not more align needed\n if (alignTimes < 3) {\n forceAlign();\n } else {\n goNextStatus(function () {\n var _prepareResolveRef$cu;\n\n (_prepareResolveRef$cu = prepareResolveRef.current) === null || _prepareResolveRef$cu === void 0 ? void 0 : _prepareResolveRef$cu.call(prepareResolveRef);\n });\n }\n }\n }, [alignTimes]); // ======================== Motion ========================\n\n var motion = _objectSpread({}, getMotion(props));\n\n ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {\n var originHandler = motion[eventName];\n\n motion[eventName] = function (element, event) {\n goNextStatus();\n return originHandler === null || originHandler === void 0 ? void 0 : originHandler(element, event);\n };\n });\n\n function onShowPrepare() {\n return new Promise(function (resolve) {\n prepareResolveRef.current = resolve;\n });\n } // Go to stable directly when motion not provided\n\n\n React.useEffect(function () {\n if (!motion.motionName && status === 'motion') {\n goNextStatus();\n }\n }, [motion.motionName, status]); // ========================= Refs =========================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: forceAlign,\n getElement: function getElement() {\n return elementRef.current;\n }\n };\n }); // ======================== Render ========================\n\n var mergedStyle = _objectSpread(_objectSpread({}, stretchStyle), {}, {\n zIndex: zIndex,\n opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,\n // Cannot interact with disappearing elements\n // https://github.com/ant-design/ant-design/issues/35051#issuecomment-1101340714\n pointerEvents: !visible && status !== 'stable' ? 'none' : undefined\n }, style); // Align status\n\n\n var alignDisabled = true;\n\n if (align !== null && align !== void 0 && align.points && (status === 'align' || status === 'stable')) {\n alignDisabled = false;\n }\n\n var childNode = children; // Wrapper when multiple children\n\n if (React.Children.count(children) > 1) {\n childNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: visible,\n ref: elementRef,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }, motion, {\n onAppearPrepare: onShowPrepare,\n onEnterPrepare: onShowPrepare,\n removeOnLeave: destroyPopupOnHide,\n forceRender: forceRender\n }), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n var mergedClassName = classNames(prefixCls, className, alignedClassName, motionClassName);\n return /*#__PURE__*/React.createElement(Align, {\n target: getAlignTarget(),\n key: \"popup\",\n ref: alignRef,\n monitorWindowResize: true,\n disabled: alignDisabled,\n align: align,\n onAlign: onInternalAlign\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: motionRef,\n className: mergedClassName,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onMouseDownCapture: onMouseDown,\n onTouchStartCapture: onTouchStart,\n onClick: onClick,\n style: _objectSpread(_objectSpread({}, motionStyle), mergedStyle)\n }, childNode));\n });\n});\nPopupInner.displayName = 'PopupInner';\nexport default PopupInner;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport classNames from 'classnames';\nvar MobilePopupInner = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n visible = props.visible,\n zIndex = props.zIndex,\n children = props.children,\n _props$mobile = props.mobile;\n _props$mobile = _props$mobile === void 0 ? {} : _props$mobile;\n var popupClassName = _props$mobile.popupClassName,\n popupStyle = _props$mobile.popupStyle,\n _props$mobile$popupMo = _props$mobile.popupMotion,\n popupMotion = _props$mobile$popupMo === void 0 ? {} : _props$mobile$popupMo,\n popupRender = _props$mobile.popupRender,\n onClick = props.onClick;\n var elementRef = React.useRef(); // ========================= Refs =========================\n\n React.useImperativeHandle(ref, function () {\n return {\n forceAlign: function forceAlign() {},\n getElement: function getElement() {\n return elementRef.current;\n }\n };\n }); // ======================== Render ========================\n\n var mergedStyle = _objectSpread({\n zIndex: zIndex\n }, popupStyle);\n\n var childNode = children; // Wrapper when multiple children\n\n if (React.Children.count(children) > 1) {\n childNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, children);\n } // Mobile support additional render\n\n\n if (popupRender) {\n childNode = popupRender(childNode);\n }\n\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: visible,\n ref: elementRef,\n removeOnLeave: true\n }, popupMotion), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n var mergedClassName = classNames(prefixCls, popupClassName, motionClassName);\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: motionRef,\n className: mergedClassName,\n onClick: onClick,\n style: _objectSpread(_objectSpread({}, motionStyle), mergedStyle)\n }, childNode);\n });\n});\nMobilePopupInner.displayName = 'MobilePopupInner';\nexport default MobilePopupInner;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"visible\", \"mobile\"];\nimport * as React from 'react';\nimport { useState, useEffect } from 'react';\nimport isMobile from \"rc-util/es/isMobile\";\nimport Mask from \"./Mask\";\nimport PopupInner from \"./PopupInner\";\nimport MobilePopupInner from \"./MobilePopupInner\";\nvar Popup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {\n var visible = _ref.visible,\n mobile = _ref.mobile,\n props = _objectWithoutProperties(_ref, _excluded);\n\n var _useState = useState(visible),\n _useState2 = _slicedToArray(_useState, 2),\n innerVisible = _useState2[0],\n serInnerVisible = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n inMobile = _useState4[0],\n setInMobile = _useState4[1];\n\n var cloneProps = _objectSpread(_objectSpread({}, props), {}, {\n visible: innerVisible\n }); // We check mobile in visible changed here.\n // And this also delay set `innerVisible` to avoid popup component render flash\n\n\n useEffect(function () {\n serInnerVisible(visible);\n\n if (visible && mobile) {\n setInMobile(isMobile());\n }\n }, [visible, mobile]);\n var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner, _extends({}, cloneProps, {\n mobile: mobile,\n ref: ref\n })) : /*#__PURE__*/React.createElement(PopupInner, _extends({}, cloneProps, {\n ref: ref\n })); // We can use fragment directly but this may failed some selector usage. Keep as origin logic\n\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(Mask, cloneProps), popupNode);\n});\nPopup.displayName = 'Popup';\nexport default Popup;","import * as React from 'react';\nvar TriggerContext = /*#__PURE__*/React.createContext(null);\nexport default TriggerContext;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport raf from \"rc-util/es/raf\";\nimport contains from \"rc-util/es/Dom/contains\";\nimport findDOMNode from \"rc-util/es/Dom/findDOMNode\";\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport Portal from \"rc-util/es/Portal\";\nimport classNames from 'classnames';\nimport { getAlignFromPlacement, getAlignPopupClassName } from \"./utils/alignUtil\";\nimport Popup from \"./Popup\";\nimport TriggerContext from \"./context\";\n\nfunction noop() {}\n\nfunction returnEmptyString() {\n return '';\n}\n\nfunction returnDocument(element) {\n if (element) {\n return element.ownerDocument;\n }\n\n return window.document;\n}\n\nvar ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur', 'onContextMenu'];\n\n/**\n * Internal usage. Do not use in your code since this will be removed.\n */\nexport function generateTrigger(PortalComponent) {\n var Trigger = /*#__PURE__*/function (_React$Component) {\n _inherits(Trigger, _React$Component);\n\n var _super = _createSuper(Trigger);\n\n // ensure `getContainer` will be called only once\n function Trigger(props) {\n var _this;\n\n _classCallCheck(this, Trigger);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"popupRef\", /*#__PURE__*/React.createRef());\n\n _defineProperty(_assertThisInitialized(_this), \"triggerRef\", /*#__PURE__*/React.createRef());\n\n _defineProperty(_assertThisInitialized(_this), \"portalContainer\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"attachId\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"clickOutsideHandler\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"touchOutsideHandler\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"contextMenuOutsideHandler1\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"contextMenuOutsideHandler2\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"mouseDownTimeout\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"focusTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"preClickTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"preTouchTime\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"delayTimer\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"hasPopupMouseDown\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseEnter\", function (e) {\n var mouseEnterDelay = _this.props.mouseEnterDelay;\n\n _this.fireEvents('onMouseEnter', e);\n\n _this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseMove\", function (e) {\n _this.fireEvents('onMouseMove', e);\n\n _this.setPoint(e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseLeave\", function (e) {\n _this.fireEvents('onMouseLeave', e);\n\n _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseEnter\", function () {\n _this.clearDelayTimer();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseLeave\", function (e) {\n var _this$popupRef$curren;\n\n // https://github.com/react-component/trigger/pull/13\n // react bug?\n if (e.relatedTarget && !e.relatedTarget.setTimeout && contains((_this$popupRef$curren = _this.popupRef.current) === null || _this$popupRef$curren === void 0 ? void 0 : _this$popupRef$curren.getElement(), e.relatedTarget)) {\n return;\n }\n\n _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onFocus\", function (e) {\n _this.fireEvents('onFocus', e); // incase focusin and focusout\n\n\n _this.clearDelayTimer();\n\n if (_this.isFocusToShow()) {\n _this.focusTime = Date.now();\n\n _this.delaySetPopupVisible(true, _this.props.focusDelay);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onMouseDown\", function (e) {\n _this.fireEvents('onMouseDown', e);\n\n _this.preClickTime = Date.now();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTouchStart\", function (e) {\n _this.fireEvents('onTouchStart', e);\n\n _this.preTouchTime = Date.now();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onBlur\", function (e) {\n _this.fireEvents('onBlur', e);\n\n _this.clearDelayTimer();\n\n if (_this.isBlurToHide()) {\n _this.delaySetPopupVisible(false, _this.props.blurDelay);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onContextMenu\", function (e) {\n e.preventDefault();\n\n _this.fireEvents('onContextMenu', e);\n\n _this.setPopupVisible(true, e);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onContextMenuClose\", function () {\n if (_this.isContextMenuToShow()) {\n _this.close();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n _this.fireEvents('onClick', event); // focus will trigger click\n\n\n if (_this.focusTime) {\n var preTime;\n\n if (_this.preClickTime && _this.preTouchTime) {\n preTime = Math.min(_this.preClickTime, _this.preTouchTime);\n } else if (_this.preClickTime) {\n preTime = _this.preClickTime;\n } else if (_this.preTouchTime) {\n preTime = _this.preTouchTime;\n }\n\n if (Math.abs(preTime - _this.focusTime) < 20) {\n return;\n }\n\n _this.focusTime = 0;\n }\n\n _this.preClickTime = 0;\n _this.preTouchTime = 0; // Only prevent default when all the action is click.\n // https://github.com/ant-design/ant-design/issues/17043\n // https://github.com/ant-design/ant-design/issues/17291\n\n if (_this.isClickToShow() && (_this.isClickToHide() || _this.isBlurToHide()) && event && event.preventDefault) {\n event.preventDefault();\n }\n\n var nextVisible = !_this.state.popupVisible;\n\n if (_this.isClickToHide() && !nextVisible || nextVisible && _this.isClickToShow()) {\n _this.setPopupVisible(!_this.state.popupVisible, event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onPopupMouseDown\", function () {\n _this.hasPopupMouseDown = true;\n clearTimeout(_this.mouseDownTimeout);\n _this.mouseDownTimeout = window.setTimeout(function () {\n _this.hasPopupMouseDown = false;\n }, 0);\n\n if (_this.context) {\n var _this$context;\n\n (_this$context = _this.context).onPopupMouseDown.apply(_this$context, arguments);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onDocumentClick\", function (event) {\n if (_this.props.mask && !_this.props.maskClosable) {\n return;\n }\n\n var target = event.target;\n\n var root = _this.getRootDomNode();\n\n var popupNode = _this.getPopupDomNode();\n\n if ( // mousedown on the target should also close popup when action is contextMenu.\n // https://github.com/ant-design/ant-design/issues/29853\n (!contains(root, target) || _this.isContextMenuOnly()) && !contains(popupNode, target) && !_this.hasPopupMouseDown) {\n _this.close();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getRootDomNode\", function () {\n var getTriggerDOMNode = _this.props.getTriggerDOMNode;\n\n if (getTriggerDOMNode) {\n return getTriggerDOMNode(_this.triggerRef.current);\n }\n\n try {\n var domNode = findDOMNode(_this.triggerRef.current);\n\n if (domNode) {\n return domNode;\n }\n } catch (err) {// Do nothing\n }\n\n return ReactDOM.findDOMNode(_assertThisInitialized(_this));\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getPopupClassNameFromAlign\", function (align) {\n var className = [];\n var _this$props = _this.props,\n popupPlacement = _this$props.popupPlacement,\n builtinPlacements = _this$props.builtinPlacements,\n prefixCls = _this$props.prefixCls,\n alignPoint = _this$props.alignPoint,\n getPopupClassNameFromAlign = _this$props.getPopupClassNameFromAlign;\n\n if (popupPlacement && builtinPlacements) {\n className.push(getAlignPopupClassName(builtinPlacements, prefixCls, align, alignPoint));\n }\n\n if (getPopupClassNameFromAlign) {\n className.push(getPopupClassNameFromAlign(align));\n }\n\n return className.join(' ');\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getComponent\", function () {\n var _this$props2 = _this.props,\n prefixCls = _this$props2.prefixCls,\n destroyPopupOnHide = _this$props2.destroyPopupOnHide,\n popupClassName = _this$props2.popupClassName,\n onPopupAlign = _this$props2.onPopupAlign,\n popupMotion = _this$props2.popupMotion,\n popupAnimation = _this$props2.popupAnimation,\n popupTransitionName = _this$props2.popupTransitionName,\n popupStyle = _this$props2.popupStyle,\n mask = _this$props2.mask,\n maskAnimation = _this$props2.maskAnimation,\n maskTransitionName = _this$props2.maskTransitionName,\n maskMotion = _this$props2.maskMotion,\n zIndex = _this$props2.zIndex,\n popup = _this$props2.popup,\n stretch = _this$props2.stretch,\n alignPoint = _this$props2.alignPoint,\n mobile = _this$props2.mobile,\n forceRender = _this$props2.forceRender,\n onPopupClick = _this$props2.onPopupClick;\n var _this$state = _this.state,\n popupVisible = _this$state.popupVisible,\n point = _this$state.point;\n\n var align = _this.getPopupAlign();\n\n var mouseProps = {};\n\n if (_this.isMouseEnterToShow()) {\n mouseProps.onMouseEnter = _this.onPopupMouseEnter;\n }\n\n if (_this.isMouseLeaveToHide()) {\n mouseProps.onMouseLeave = _this.onPopupMouseLeave;\n }\n\n mouseProps.onMouseDown = _this.onPopupMouseDown;\n mouseProps.onTouchStart = _this.onPopupMouseDown;\n return /*#__PURE__*/React.createElement(Popup, _extends({\n prefixCls: prefixCls,\n destroyPopupOnHide: destroyPopupOnHide,\n visible: popupVisible,\n point: alignPoint && point,\n className: popupClassName,\n align: align,\n onAlign: onPopupAlign,\n animation: popupAnimation,\n getClassNameFromAlign: _this.getPopupClassNameFromAlign\n }, mouseProps, {\n stretch: stretch,\n getRootDomNode: _this.getRootDomNode,\n style: popupStyle,\n mask: mask,\n zIndex: zIndex,\n transitionName: popupTransitionName,\n maskAnimation: maskAnimation,\n maskTransitionName: maskTransitionName,\n maskMotion: maskMotion,\n ref: _this.popupRef,\n motion: popupMotion,\n mobile: mobile,\n forceRender: forceRender,\n onClick: onPopupClick\n }), typeof popup === 'function' ? popup() : popup);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"attachParent\", function (popupContainer) {\n raf.cancel(_this.attachId);\n var _this$props3 = _this.props,\n getPopupContainer = _this$props3.getPopupContainer,\n getDocument = _this$props3.getDocument;\n\n var domNode = _this.getRootDomNode();\n\n var mountNode;\n\n if (!getPopupContainer) {\n mountNode = getDocument(_this.getRootDomNode()).body;\n } else if (domNode || getPopupContainer.length === 0) {\n // Compatible for legacy getPopupContainer with domNode argument.\n // If no need `domNode` argument, will call directly.\n // https://codesandbox.io/s/eloquent-mclean-ss93m?file=/src/App.js\n mountNode = getPopupContainer(domNode);\n }\n\n if (mountNode) {\n mountNode.appendChild(popupContainer);\n } else {\n // Retry after frame render in case parent not ready\n _this.attachId = raf(function () {\n _this.attachParent(popupContainer);\n });\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"getContainer\", function () {\n if (!_this.portalContainer) {\n // In React.StrictMode component will call render multiple time in first mount.\n // When you want to refactor with FC, useRef will also init multiple time and\n // point to different useRef instance which will create multiple element\n // (This multiple render will not trigger effect so you can not clean up this\n // in effect). But this is safe with class component since it always point to same class instance.\n var getDocument = _this.props.getDocument;\n var popupContainer = getDocument(_this.getRootDomNode()).createElement('div'); // Make sure default popup container will never cause scrollbar appearing\n // https://github.com/react-component/trigger/issues/41\n\n popupContainer.style.position = 'absolute';\n popupContainer.style.top = '0';\n popupContainer.style.left = '0';\n popupContainer.style.width = '100%';\n _this.portalContainer = popupContainer;\n }\n\n _this.attachParent(_this.portalContainer);\n\n return _this.portalContainer;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"setPoint\", function (point) {\n var alignPoint = _this.props.alignPoint;\n if (!alignPoint || !point) return;\n\n _this.setState({\n point: {\n pageX: point.pageX,\n pageY: point.pageY\n }\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handlePortalUpdate\", function () {\n if (_this.state.prevPopupVisible !== _this.state.popupVisible) {\n _this.props.afterPopupVisibleChange(_this.state.popupVisible);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"triggerContextValue\", {\n onPopupMouseDown: _this.onPopupMouseDown\n });\n\n var _popupVisible;\n\n if ('popupVisible' in props) {\n _popupVisible = !!props.popupVisible;\n } else {\n _popupVisible = !!props.defaultPopupVisible;\n }\n\n _this.state = {\n prevPopupVisible: _popupVisible,\n popupVisible: _popupVisible\n };\n ALL_HANDLERS.forEach(function (h) {\n _this[\"fire\".concat(h)] = function (e) {\n _this.fireEvents(h, e);\n };\n });\n return _this;\n }\n\n _createClass(Trigger, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.componentDidUpdate();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n var props = this.props;\n var state = this.state; // We must listen to `mousedown` or `touchstart`, edge case:\n // https://github.com/ant-design/ant-design/issues/5804\n // https://github.com/react-component/calendar/issues/250\n // https://github.com/react-component/trigger/issues/50\n\n if (state.popupVisible) {\n var currentDocument;\n\n if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextMenuToShow())) {\n currentDocument = props.getDocument(this.getRootDomNode());\n this.clickOutsideHandler = addEventListener(currentDocument, 'mousedown', this.onDocumentClick);\n } // always hide on mobile\n\n\n if (!this.touchOutsideHandler) {\n currentDocument = currentDocument || props.getDocument(this.getRootDomNode());\n this.touchOutsideHandler = addEventListener(currentDocument, 'touchstart', this.onDocumentClick);\n } // close popup when trigger type contains 'onContextMenu' and document is scrolling.\n\n\n if (!this.contextMenuOutsideHandler1 && this.isContextMenuToShow()) {\n currentDocument = currentDocument || props.getDocument(this.getRootDomNode());\n this.contextMenuOutsideHandler1 = addEventListener(currentDocument, 'scroll', this.onContextMenuClose);\n } // close popup when trigger type contains 'onContextMenu' and window is blur.\n\n\n if (!this.contextMenuOutsideHandler2 && this.isContextMenuToShow()) {\n this.contextMenuOutsideHandler2 = addEventListener(window, 'blur', this.onContextMenuClose);\n }\n\n return;\n }\n\n this.clearOutsideHandler();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.clearDelayTimer();\n this.clearOutsideHandler();\n clearTimeout(this.mouseDownTimeout);\n raf.cancel(this.attachId);\n }\n }, {\n key: \"getPopupDomNode\",\n value: function getPopupDomNode() {\n var _this$popupRef$curren2;\n\n // for test\n return ((_this$popupRef$curren2 = this.popupRef.current) === null || _this$popupRef$curren2 === void 0 ? void 0 : _this$popupRef$curren2.getElement()) || null;\n }\n }, {\n key: \"getPopupAlign\",\n value: function getPopupAlign() {\n var props = this.props;\n var popupPlacement = props.popupPlacement,\n popupAlign = props.popupAlign,\n builtinPlacements = props.builtinPlacements;\n\n if (popupPlacement && builtinPlacements) {\n return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);\n }\n\n return popupAlign;\n }\n }, {\n key: \"setPopupVisible\",\n value:\n /**\n * @param popupVisible Show or not the popup element\n * @param event SyntheticEvent, used for `pointAlign`\n */\n function setPopupVisible(popupVisible, event) {\n var alignPoint = this.props.alignPoint;\n var prevPopupVisible = this.state.popupVisible;\n this.clearDelayTimer();\n\n if (prevPopupVisible !== popupVisible) {\n if (!('popupVisible' in this.props)) {\n this.setState({\n popupVisible: popupVisible,\n prevPopupVisible: prevPopupVisible\n });\n }\n\n this.props.onPopupVisibleChange(popupVisible);\n } // Always record the point position since mouseEnterDelay will delay the show\n\n\n if (alignPoint && event && popupVisible) {\n this.setPoint(event);\n }\n }\n }, {\n key: \"delaySetPopupVisible\",\n value: function delaySetPopupVisible(visible, delayS, event) {\n var _this2 = this;\n\n var delay = delayS * 1000;\n this.clearDelayTimer();\n\n if (delay) {\n var point = event ? {\n pageX: event.pageX,\n pageY: event.pageY\n } : null;\n this.delayTimer = window.setTimeout(function () {\n _this2.setPopupVisible(visible, point);\n\n _this2.clearDelayTimer();\n }, delay);\n } else {\n this.setPopupVisible(visible, event);\n }\n }\n }, {\n key: \"clearDelayTimer\",\n value: function clearDelayTimer() {\n if (this.delayTimer) {\n clearTimeout(this.delayTimer);\n this.delayTimer = null;\n }\n }\n }, {\n key: \"clearOutsideHandler\",\n value: function clearOutsideHandler() {\n if (this.clickOutsideHandler) {\n this.clickOutsideHandler.remove();\n this.clickOutsideHandler = null;\n }\n\n if (this.contextMenuOutsideHandler1) {\n this.contextMenuOutsideHandler1.remove();\n this.contextMenuOutsideHandler1 = null;\n }\n\n if (this.contextMenuOutsideHandler2) {\n this.contextMenuOutsideHandler2.remove();\n this.contextMenuOutsideHandler2 = null;\n }\n\n if (this.touchOutsideHandler) {\n this.touchOutsideHandler.remove();\n this.touchOutsideHandler = null;\n }\n }\n }, {\n key: \"createTwoChains\",\n value: function createTwoChains(event) {\n var childPros = this.props.children.props;\n var props = this.props;\n\n if (childPros[event] && props[event]) {\n return this[\"fire\".concat(event)];\n }\n\n return childPros[event] || props[event];\n }\n }, {\n key: \"isClickToShow\",\n value: function isClickToShow() {\n var _this$props4 = this.props,\n action = _this$props4.action,\n showAction = _this$props4.showAction;\n return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1;\n }\n }, {\n key: \"isContextMenuOnly\",\n value: function isContextMenuOnly() {\n var action = this.props.action;\n return action === 'contextMenu' || action.length === 1 && action[0] === 'contextMenu';\n }\n }, {\n key: \"isContextMenuToShow\",\n value: function isContextMenuToShow() {\n var _this$props5 = this.props,\n action = _this$props5.action,\n showAction = _this$props5.showAction;\n return action.indexOf('contextMenu') !== -1 || showAction.indexOf('contextMenu') !== -1;\n }\n }, {\n key: \"isClickToHide\",\n value: function isClickToHide() {\n var _this$props6 = this.props,\n action = _this$props6.action,\n hideAction = _this$props6.hideAction;\n return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1;\n }\n }, {\n key: \"isMouseEnterToShow\",\n value: function isMouseEnterToShow() {\n var _this$props7 = this.props,\n action = _this$props7.action,\n showAction = _this$props7.showAction;\n return action.indexOf('hover') !== -1 || showAction.indexOf('mouseEnter') !== -1;\n }\n }, {\n key: \"isMouseLeaveToHide\",\n value: function isMouseLeaveToHide() {\n var _this$props8 = this.props,\n action = _this$props8.action,\n hideAction = _this$props8.hideAction;\n return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseLeave') !== -1;\n }\n }, {\n key: \"isFocusToShow\",\n value: function isFocusToShow() {\n var _this$props9 = this.props,\n action = _this$props9.action,\n showAction = _this$props9.showAction;\n return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1;\n }\n }, {\n key: \"isBlurToHide\",\n value: function isBlurToHide() {\n var _this$props10 = this.props,\n action = _this$props10.action,\n hideAction = _this$props10.hideAction;\n return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1;\n }\n }, {\n key: \"forcePopupAlign\",\n value: function forcePopupAlign() {\n if (this.state.popupVisible) {\n var _this$popupRef$curren3;\n\n (_this$popupRef$curren3 = this.popupRef.current) === null || _this$popupRef$curren3 === void 0 ? void 0 : _this$popupRef$curren3.forceAlign();\n }\n }\n }, {\n key: \"fireEvents\",\n value: function fireEvents(type, e) {\n var childCallback = this.props.children.props[type];\n\n if (childCallback) {\n childCallback(e);\n }\n\n var callback = this.props[type];\n\n if (callback) {\n callback(e);\n }\n }\n }, {\n key: \"close\",\n value: function close() {\n this.setPopupVisible(false);\n }\n }, {\n key: \"render\",\n value: function render() {\n var popupVisible = this.state.popupVisible;\n var _this$props11 = this.props,\n children = _this$props11.children,\n forceRender = _this$props11.forceRender,\n alignPoint = _this$props11.alignPoint,\n className = _this$props11.className,\n autoDestroy = _this$props11.autoDestroy;\n var child = React.Children.only(children);\n var newChildProps = {\n key: 'trigger'\n }; // ============================== Visible Handlers ==============================\n // >>> ContextMenu\n\n if (this.isContextMenuToShow()) {\n newChildProps.onContextMenu = this.onContextMenu;\n } else {\n newChildProps.onContextMenu = this.createTwoChains('onContextMenu');\n } // >>> Click\n\n\n if (this.isClickToHide() || this.isClickToShow()) {\n newChildProps.onClick = this.onClick;\n newChildProps.onMouseDown = this.onMouseDown;\n newChildProps.onTouchStart = this.onTouchStart;\n } else {\n newChildProps.onClick = this.createTwoChains('onClick');\n newChildProps.onMouseDown = this.createTwoChains('onMouseDown');\n newChildProps.onTouchStart = this.createTwoChains('onTouchStart');\n } // >>> Hover(enter)\n\n\n if (this.isMouseEnterToShow()) {\n newChildProps.onMouseEnter = this.onMouseEnter; // Point align\n\n if (alignPoint) {\n newChildProps.onMouseMove = this.onMouseMove;\n }\n } else {\n newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');\n } // >>> Hover(leave)\n\n\n if (this.isMouseLeaveToHide()) {\n newChildProps.onMouseLeave = this.onMouseLeave;\n } else {\n newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');\n } // >>> Focus\n\n\n if (this.isFocusToShow() || this.isBlurToHide()) {\n newChildProps.onFocus = this.onFocus;\n newChildProps.onBlur = this.onBlur;\n } else {\n newChildProps.onFocus = this.createTwoChains('onFocus');\n newChildProps.onBlur = this.createTwoChains('onBlur');\n } // =================================== Render ===================================\n\n\n var childrenClassName = classNames(child && child.props && child.props.className, className);\n\n if (childrenClassName) {\n newChildProps.className = childrenClassName;\n }\n\n var cloneProps = _objectSpread({}, newChildProps);\n\n if (supportRef(child)) {\n cloneProps.ref = composeRef(this.triggerRef, child.ref);\n }\n\n var trigger = /*#__PURE__*/React.cloneElement(child, cloneProps);\n var portal; // prevent unmounting after it's rendered\n\n if (popupVisible || this.popupRef.current || forceRender) {\n portal = /*#__PURE__*/React.createElement(PortalComponent, {\n key: \"portal\",\n getContainer: this.getContainer,\n didUpdate: this.handlePortalUpdate\n }, this.getComponent());\n }\n\n if (!popupVisible && autoDestroy) {\n portal = null;\n }\n\n return /*#__PURE__*/React.createElement(TriggerContext.Provider, {\n value: this.triggerContextValue\n }, trigger, portal);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref, prevState) {\n var popupVisible = _ref.popupVisible;\n var newState = {};\n\n if (popupVisible !== undefined && prevState.popupVisible !== popupVisible) {\n newState.popupVisible = popupVisible;\n newState.prevPopupVisible = prevState.popupVisible;\n }\n\n return newState;\n }\n }]);\n\n return Trigger;\n }(React.Component);\n\n _defineProperty(Trigger, \"contextType\", TriggerContext);\n\n _defineProperty(Trigger, \"defaultProps\", {\n prefixCls: 'rc-trigger-popup',\n getPopupClassNameFromAlign: returnEmptyString,\n getDocument: returnDocument,\n onPopupVisibleChange: noop,\n afterPopupVisibleChange: noop,\n onPopupAlign: noop,\n popupClassName: '',\n mouseEnterDelay: 0,\n mouseLeaveDelay: 0.1,\n focusDelay: 0,\n blurDelay: 0.15,\n popupStyle: {},\n destroyPopupOnHide: false,\n popupAlign: {},\n defaultPopupVisible: false,\n mask: false,\n maskClosable: true,\n action: [],\n showAction: [],\n hideAction: [],\n autoDestroy: false\n });\n\n return Trigger;\n}\nexport default generateTrigger(Portal);","import React from 'react';\nimport { isFragment } from 'react-is';\nexport default function toArray(children) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var ret = [];\n React.Children.forEach(children, function (child) {\n if ((child === undefined || child === null) && !option.keepEmpty) {\n return;\n }\n if (Array.isArray(child)) {\n ret = ret.concat(toArray(child));\n } else if (isFragment(child) && child.props) {\n ret = ret.concat(toArray(child.props.children, option));\n } else {\n ret.push(child);\n }\n });\n return ret;\n}","import ReactDOM from 'react-dom';\nexport default function addEventListenerWrap(target, eventType, cb, option) {\n /* eslint camelcase: 2 */\n var callback = ReactDOM.unstable_batchedUpdates ? function run(e) {\n ReactDOM.unstable_batchedUpdates(cb, e);\n } : cb;\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, option);\n }\n return {\n remove: function remove() {\n if (target.removeEventListener) {\n target.removeEventListener(eventType, callback, option);\n }\n }\n };\n}","export default function canUseDom() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}","export default function contains(root, n) {\n if (!root) {\n return false;\n }\n // Use native if support\n if (root.contains) {\n return root.contains(n);\n }\n // `document.contains` not support with IE11\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}","import canUseDom from './canUseDom';\nimport contains from './contains';\nvar APPEND_ORDER = 'data-rc-order';\nvar MARK_KEY = \"rc-util-key\";\nvar containerCache = new Map();\nfunction getMark() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n mark = _ref.mark;\n if (mark) {\n return mark.startsWith('data-') ? mark : \"data-\".concat(mark);\n }\n return MARK_KEY;\n}\nfunction getContainer(option) {\n if (option.attachTo) {\n return option.attachTo;\n }\n var head = document.querySelector('head');\n return head || document.body;\n}\nfunction getOrder(prepend) {\n if (prepend === 'queue') {\n return 'prependQueue';\n }\n return prepend ? 'prepend' : 'append';\n}\n/**\n * Find style which inject by rc-util\n */\nfunction findStyles(container) {\n return Array.from((containerCache.get(container) || container).children).filter(function (node) {\n return node.tagName === 'STYLE';\n });\n}\nexport function injectCSS(css) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!canUseDom()) {\n return null;\n }\n var csp = option.csp,\n prepend = option.prepend;\n var styleNode = document.createElement('style');\n styleNode.setAttribute(APPEND_ORDER, getOrder(prepend));\n if (csp === null || csp === void 0 ? void 0 : csp.nonce) {\n styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;\n }\n styleNode.innerHTML = css;\n var container = getContainer(option);\n var firstChild = container.firstChild;\n if (prepend) {\n // If is queue `prepend`, it will prepend first style and then append rest style\n if (prepend === 'queue') {\n var existStyle = findStyles(container).filter(function (node) {\n return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER));\n });\n if (existStyle.length) {\n container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);\n return styleNode;\n }\n }\n // Use `insertBefore` as `prepend`\n container.insertBefore(styleNode, firstChild);\n } else {\n container.appendChild(styleNode);\n }\n return styleNode;\n}\nfunction findExistNode(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var container = getContainer(option);\n return findStyles(container).find(function (node) {\n return node.getAttribute(getMark(option)) === key;\n });\n}\nexport function removeCSS(key) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var existNode = findExistNode(key, option);\n if (existNode) {\n var container = getContainer(option);\n container.removeChild(existNode);\n }\n}\n/**\n * qiankun will inject `appendChild` to insert into other\n */\nfunction syncRealContainer(container, option) {\n var cachedRealContainer = containerCache.get(container);\n // Find real container when not cached or cached container removed\n if (!cachedRealContainer || !contains(document, cachedRealContainer)) {\n var placeholderStyle = injectCSS('', option);\n var parentNode = placeholderStyle.parentNode;\n containerCache.set(container, parentNode);\n container.removeChild(placeholderStyle);\n }\n}\n/**\n * manually clear container cache to avoid global cache in unit testes\n */\nexport function clearContainerCache() {\n containerCache.clear();\n}\nexport function updateCSS(css, key) {\n var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var container = getContainer(option);\n // Sync real parent\n syncRealContainer(container, option);\n var existNode = findExistNode(key, option);\n if (existNode) {\n var _option$csp, _option$csp2;\n if (((_option$csp = option.csp) === null || _option$csp === void 0 ? void 0 : _option$csp.nonce) && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {\n var _option$csp3;\n existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce;\n }\n if (existNode.innerHTML !== css) {\n existNode.innerHTML = css;\n }\n return existNode;\n }\n var newNode = injectCSS(css, option);\n newNode.setAttribute(getMark(option), key);\n return newNode;\n}","import ReactDOM from 'react-dom';\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\nexport default function findDOMNode(node) {\n if (node instanceof HTMLElement) {\n return node;\n }\n return ReactDOM.findDOMNode(node);\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport isVisible from './isVisible';\nfunction focusable(node) {\n var includePositive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (isVisible(node)) {\n var nodeName = node.nodeName.toLowerCase();\n var isFocusableElement =\n // Focusable element\n ['input', 'select', 'textarea', 'button'].includes(nodeName) ||\n // Editable element\n node.isContentEditable ||\n // Anchor with href element\n nodeName === 'a' && !!node.getAttribute('href');\n // Get tabIndex\n var tabIndexAttr = node.getAttribute('tabindex');\n var tabIndexNum = Number(tabIndexAttr);\n // Parse as number if validate\n var tabIndex = null;\n if (tabIndexAttr && !Number.isNaN(tabIndexNum)) {\n tabIndex = tabIndexNum;\n } else if (isFocusableElement && tabIndex === null) {\n tabIndex = 0;\n }\n // Block focusable if disabled\n if (isFocusableElement && node.disabled) {\n tabIndex = null;\n }\n return tabIndex !== null && (tabIndex >= 0 || includePositive && tabIndex < 0);\n }\n return false;\n}\nexport function getFocusNodeList(node) {\n var includePositive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var res = _toConsumableArray(node.querySelectorAll('*')).filter(function (child) {\n return focusable(child, includePositive);\n });\n if (focusable(node, includePositive)) {\n res.unshift(node);\n }\n return res;\n}\nvar lastFocusElement = null;\n/** @deprecated Do not use since this may failed when used in async */\nexport function saveLastFocusNode() {\n lastFocusElement = document.activeElement;\n}\n/** @deprecated Do not use since this may failed when used in async */\nexport function clearLastFocusNode() {\n lastFocusElement = null;\n}\n/** @deprecated Do not use since this may failed when used in async */\nexport function backLastFocusNode() {\n if (lastFocusElement) {\n try {\n // 元素可能已经被移动了\n lastFocusElement.focus();\n /* eslint-disable no-empty */\n } catch (e) {\n // empty\n }\n /* eslint-enable no-empty */\n }\n}\n\nexport function limitTabRange(node, e) {\n if (e.keyCode === 9) {\n var tabNodeList = getFocusNodeList(node);\n var lastTabNode = tabNodeList[e.shiftKey ? 0 : tabNodeList.length - 1];\n var leavingTab = lastTabNode === document.activeElement || node === document.activeElement;\n if (leavingTab) {\n var target = tabNodeList[e.shiftKey ? tabNodeList.length - 1 : 0];\n target.focus();\n e.preventDefault();\n }\n }\n}","export default (function (element) {\n if (!element) {\n return false;\n }\n if (element instanceof HTMLElement && element.offsetParent) {\n return true;\n }\n if (element instanceof SVGGraphicsElement && element.getBBox) {\n var _element$getBBox = element.getBBox(),\n width = _element$getBBox.width,\n height = _element$getBBox.height;\n if (width || height) {\n return true;\n }\n }\n if (element instanceof HTMLElement && element.getBoundingClientRect) {\n var _element$getBoundingC = element.getBoundingClientRect(),\n _width = _element$getBoundingC.width,\n _height = _element$getBoundingC.height;\n if (_width || _height) {\n return true;\n }\n }\n return false;\n});","/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n /**\n * TAB\n */\n TAB: 9,\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12,\n /**\n * ENTER\n */\n ENTER: 13,\n /**\n * SHIFT\n */\n SHIFT: 16,\n /**\n * CTRL\n */\n CTRL: 17,\n /**\n * ALT\n */\n ALT: 18,\n /**\n * PAUSE\n */\n PAUSE: 19,\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n /**\n * ESC\n */\n ESC: 27,\n /**\n * SPACE\n */\n SPACE: 32,\n /**\n * PAGE_UP\n */\n PAGE_UP: 33,\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34,\n /**\n * END\n */\n END: 35,\n /**\n * HOME\n */\n HOME: 36,\n /**\n * LEFT\n */\n LEFT: 37,\n /**\n * UP\n */\n UP: 38,\n /**\n * RIGHT\n */\n RIGHT: 39,\n /**\n * DOWN\n */\n DOWN: 40,\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n /**\n * INSERT\n */\n INSERT: 45,\n /**\n * DELETE\n */\n DELETE: 46,\n /**\n * ZERO\n */\n ZERO: 48,\n /**\n * ONE\n */\n ONE: 49,\n /**\n * TWO\n */\n TWO: 50,\n /**\n * THREE\n */\n THREE: 51,\n /**\n * FOUR\n */\n FOUR: 52,\n /**\n * FIVE\n */\n FIVE: 53,\n /**\n * SIX\n */\n SIX: 54,\n /**\n * SEVEN\n */\n SEVEN: 55,\n /**\n * EIGHT\n */\n EIGHT: 56,\n /**\n * NINE\n */\n NINE: 57,\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63,\n /**\n * A\n */\n A: 65,\n /**\n * B\n */\n B: 66,\n /**\n * C\n */\n C: 67,\n /**\n * D\n */\n D: 68,\n /**\n * E\n */\n E: 69,\n /**\n * F\n */\n F: 70,\n /**\n * G\n */\n G: 71,\n /**\n * H\n */\n H: 72,\n /**\n * I\n */\n I: 73,\n /**\n * J\n */\n J: 74,\n /**\n * K\n */\n K: 75,\n /**\n * L\n */\n L: 76,\n /**\n * M\n */\n M: 77,\n /**\n * N\n */\n N: 78,\n /**\n * O\n */\n O: 79,\n /**\n * P\n */\n P: 80,\n /**\n * Q\n */\n Q: 81,\n /**\n * R\n */\n R: 82,\n /**\n * S\n */\n S: 83,\n /**\n * T\n */\n T: 84,\n /**\n * U\n */\n U: 85,\n /**\n * V\n */\n V: 86,\n /**\n * W\n */\n W: 87,\n /**\n * X\n */\n X: 88,\n /**\n * Y\n */\n Y: 89,\n /**\n * Z\n */\n Z: 90,\n /**\n * META\n */\n META: 91,\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n /**\n * F1\n */\n F1: 112,\n /**\n * F2\n */\n F2: 113,\n /**\n * F3\n */\n F3: 114,\n /**\n * F4\n */\n F4: 115,\n /**\n * F5\n */\n F5: 116,\n /**\n * F6\n */\n F6: 117,\n /**\n * F7\n */\n F7: 118,\n /**\n * F8\n */\n F8: 119,\n /**\n * F9\n */\n F9: 120,\n /**\n * F10\n */\n F10: 121,\n /**\n * F11\n */\n F11: 122,\n /**\n * F12\n */\n F12: 123,\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n /**\n * SEMICOLON\n */\n SEMICOLON: 186,\n /**\n * DASH\n */\n DASH: 189,\n /**\n * EQUALS\n */\n EQUALS: 187,\n /**\n * COMMA\n */\n COMMA: 188,\n /**\n * PERIOD\n */\n PERIOD: 190,\n /**\n * SLASH\n */\n SLASH: 191,\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192,\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222,\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219,\n /**\n * BACKSLASH\n */\n BACKSLASH: 220,\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221,\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224,\n /**\n * WIN_IME\n */\n WIN_IME: 229,\n // ======================== Function ========================\n /**\n * whether text and modified key is entered at the same time.\n */\n isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n if (e.altKey && !e.ctrlKey || e.metaKey ||\n // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n }\n // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n default:\n return true;\n }\n },\n /**\n * whether character is entered.\n */\n isCharacterKey: function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n }\n // Safari sends zero key code for non-latin characters.\n if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n default:\n return false;\n }\n }\n};\nexport default KeyCode;","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as ReactDOM from 'react-dom';\n// Let compiler not to search module usage\nvar fullClone = _objectSpread({}, ReactDOM);\nvar version = fullClone.version,\n reactRender = fullClone.render,\n unmountComponentAtNode = fullClone.unmountComponentAtNode;\nvar createRoot;\ntry {\n var mainVersion = Number((version || '').split('.')[0]);\n if (mainVersion >= 18) {\n createRoot = fullClone.createRoot;\n }\n} catch (e) {\n // Do nothing;\n}\nfunction toggleWarning(skip) {\n var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n if (__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED && _typeof(__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === 'object') {\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint = skip;\n }\n}\nvar MARK = '__rc_react_root__';\nfunction modernRender(node, container) {\n toggleWarning(true);\n var root = container[MARK] || createRoot(container);\n toggleWarning(false);\n root.render(node);\n container[MARK] = root;\n}\nfunction legacyRender(node, container) {\n reactRender(node, container);\n}\n/** @private Test usage. Not work in prod */\nexport function _r(node, container) {\n if (process.env.NODE_ENV !== 'production') {\n return legacyRender(node, container);\n }\n}\nexport function render(node, container) {\n if (createRoot) {\n modernRender(node, container);\n return;\n }\n legacyRender(node, container);\n}\n// ========================= Unmount ==========================\nfunction modernUnmount(_x) {\n return _modernUnmount.apply(this, arguments);\n}\nfunction _modernUnmount() {\n _modernUnmount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(container) {\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", Promise.resolve().then(function () {\n var _container$MARK;\n (_container$MARK = container[MARK]) === null || _container$MARK === void 0 ? void 0 : _container$MARK.unmount();\n delete container[MARK];\n }));\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _modernUnmount.apply(this, arguments);\n}\nfunction legacyUnmount(container) {\n unmountComponentAtNode(container);\n}\n/** @private Test usage. Not work in prod */\nexport function _u(container) {\n if (process.env.NODE_ENV !== 'production') {\n return legacyUnmount(container);\n }\n}\nexport function unmount(_x2) {\n return _unmount.apply(this, arguments);\n}\nfunction _unmount() {\n _unmount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(container) {\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n if (!(createRoot !== undefined)) {\n _context2.next = 2;\n break;\n }\n return _context2.abrupt(\"return\", modernUnmount(container));\n case 2:\n legacyUnmount(container);\n case 3:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _unmount.apply(this, arguments);\n}","/* eslint-disable no-param-reassign */\nvar cached;\nexport default function getScrollBarSize(fresh) {\n if (typeof document === 'undefined') {\n return 0;\n }\n if (fresh || cached === undefined) {\n var inner = document.createElement('div');\n inner.style.width = '100%';\n inner.style.height = '200px';\n var outer = document.createElement('div');\n var outerStyle = outer.style;\n outerStyle.position = 'absolute';\n outerStyle.top = '0';\n outerStyle.left = '0';\n outerStyle.pointerEvents = 'none';\n outerStyle.visibility = 'hidden';\n outerStyle.width = '200px';\n outerStyle.height = '150px';\n outerStyle.overflow = 'hidden';\n outer.appendChild(inner);\n document.body.appendChild(outer);\n var widthContained = inner.offsetWidth;\n outer.style.overflow = 'scroll';\n var widthScroll = inner.offsetWidth;\n if (widthContained === widthScroll) {\n widthScroll = outer.clientWidth;\n }\n document.body.removeChild(outer);\n cached = widthContained - widthScroll;\n }\n return cached;\n}\nfunction ensureSize(str) {\n var match = str.match(/^(.*)px$/);\n var value = Number(match === null || match === void 0 ? void 0 : match[1]);\n return Number.isNaN(value) ? getScrollBarSize() : value;\n}\nexport function getTargetScrollBarSize(target) {\n if (typeof document === 'undefined' || !target || !(target instanceof Element)) {\n return {\n width: 0,\n height: 0\n };\n }\n var _getComputedStyle = getComputedStyle(target, '::-webkit-scrollbar'),\n width = _getComputedStyle.width,\n height = _getComputedStyle.height;\n return {\n width: ensureSize(width),\n height: ensureSize(height)\n };\n}","import * as React from 'react';\nexport default function useEvent(callback) {\n var fnRef = React.useRef();\n fnRef.current = callback;\n var memoFn = React.useCallback(function () {\n var _fnRef$current;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args));\n }, []);\n return memoFn;\n}","import * as React from 'react';\nimport canUseDom from '../Dom/canUseDom';\n/**\n * Wrap `React.useLayoutEffect` which will not throw warning message in test env\n */\nvar useLayoutEffect = process.env.NODE_ENV !== 'test' && canUseDom() ? React.useLayoutEffect : React.useEffect;\nexport default useLayoutEffect;\nexport var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {\n var firstMountRef = React.useRef(true);\n useLayoutEffect(function () {\n if (!firstMountRef.current) {\n return callback();\n }\n }, deps);\n // We tell react that first mount has passed\n useLayoutEffect(function () {\n firstMountRef.current = false;\n return function () {\n firstMountRef.current = true;\n };\n }, []);\n};","import * as React from 'react';\nexport default function useMemo(getValue, condition, shouldUpdate) {\n var cacheRef = React.useRef({});\n if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {\n cacheRef.current.value = getValue();\n cacheRef.current.condition = condition;\n }\n return cacheRef.current.value;\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport useEvent from './useEvent';\nimport { useLayoutUpdateEffect } from './useLayoutEffect';\nimport useState from './useState';\n/** We only think `undefined` is empty */\nfunction hasValue(value) {\n return value !== undefined;\n}\n/**\n * Similar to `useState` but will use props value if provided.\n * Note that internal use rc-util `useState` hook.\n */\nexport default function useMergedState(defaultStateValue, option) {\n var _ref = option || {},\n defaultValue = _ref.defaultValue,\n value = _ref.value,\n onChange = _ref.onChange,\n postState = _ref.postState;\n // ======================= Init =======================\n var _useState = useState(function () {\n if (hasValue(value)) {\n return value;\n } else if (hasValue(defaultValue)) {\n return typeof defaultValue === 'function' ? defaultValue() : defaultValue;\n } else {\n return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;\n }\n }),\n _useState2 = _slicedToArray(_useState, 2),\n innerValue = _useState2[0],\n setInnerValue = _useState2[1];\n var mergedValue = value !== undefined ? value : innerValue;\n var postMergedValue = postState ? postState(mergedValue) : mergedValue;\n // ====================== Change ======================\n var onChangeFn = useEvent(onChange);\n var _useState3 = useState([mergedValue]),\n _useState4 = _slicedToArray(_useState3, 2),\n prevValue = _useState4[0],\n setPrevValue = _useState4[1];\n useLayoutUpdateEffect(function () {\n var prev = prevValue[0];\n if (innerValue !== prev) {\n onChangeFn(innerValue, prev);\n }\n }, [prevValue]);\n // Sync value back to `undefined` when it from control to un-control\n useLayoutUpdateEffect(function () {\n if (!hasValue(value)) {\n setInnerValue(value);\n }\n }, [value]);\n // ====================== Update ======================\n var triggerChange = useEvent(function (updater, ignoreDestroy) {\n setInnerValue(updater, ignoreDestroy);\n setPrevValue([mergedValue], ignoreDestroy);\n });\n return [postMergedValue, triggerChange];\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\n/**\n * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.\n * We do not make this auto is to avoid real memory leak.\n * Developer should confirm it's safe to ignore themselves.\n */\nexport default function useSafeState(defaultValue) {\n var destroyRef = React.useRef(false);\n var _React$useState = React.useState(defaultValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n value = _React$useState2[0],\n setValue = _React$useState2[1];\n React.useEffect(function () {\n destroyRef.current = false;\n return function () {\n destroyRef.current = true;\n };\n }, []);\n function safeSetState(updater, ignoreDestroy) {\n if (ignoreDestroy && destroyRef.current) {\n return;\n }\n setValue(updater);\n }\n return [value, safeSetState];\n}","export default (function () {\n if (typeof navigator === 'undefined' || typeof window === 'undefined') {\n return false;\n }\n var agent = navigator.userAgent || navigator.vendor || window.opera;\n return /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(agent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(agent === null || agent === void 0 ? void 0 : agent.substr(0, 4));\n});","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nexport default function omit(obj, fields) {\n var clone = _objectSpread({}, obj);\n if (Array.isArray(fields)) {\n fields.forEach(function (key) {\n delete clone[key];\n });\n }\n return clone;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar attributes = \"accept acceptCharset accessKey action allowFullScreen allowTransparency\\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\\n charSet checked classID className colSpan cols content contentEditable contextMenu\\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\\n mediaGroup method min minLength multiple muted name noValidate nonce open\\n optimum pattern placeholder poster preload radioGroup readOnly rel required\\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\\n summary tabIndex target title type useMap value width wmode wrap\";\nvar eventsName = \"onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError\";\nvar propList = \"\".concat(attributes, \" \").concat(eventsName).split(/[\\s\\n]+/);\n/* eslint-enable max-len */\nvar ariaPrefix = 'aria-';\nvar dataPrefix = 'data-';\nfunction match(key, prefix) {\n return key.indexOf(prefix) === 0;\n}\n/**\n * Picker props from exist props with filter\n * @param props Passed props\n * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config\n */\nexport default function pickAttrs(props) {\n var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var mergedConfig;\n if (ariaOnly === false) {\n mergedConfig = {\n aria: true,\n data: true,\n attr: true\n };\n } else if (ariaOnly === true) {\n mergedConfig = {\n aria: true\n };\n } else {\n mergedConfig = _objectSpread({}, ariaOnly);\n }\n var attrs = {};\n Object.keys(props).forEach(function (key) {\n if (\n // Aria\n mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) ||\n // Data\n mergedConfig.data && match(key, dataPrefix) ||\n // Attr\n mergedConfig.attr && propList.includes(key)) {\n attrs[key] = props[key];\n }\n });\n return attrs;\n}","var raf = function raf(callback) {\n return +setTimeout(callback, 16);\n};\nvar caf = function caf(num) {\n return clearTimeout(num);\n};\nif (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {\n raf = function raf(callback) {\n return window.requestAnimationFrame(callback);\n };\n caf = function caf(handle) {\n return window.cancelAnimationFrame(handle);\n };\n}\nvar rafUUID = 0;\nvar rafIds = new Map();\nfunction cleanup(id) {\n rafIds.delete(id);\n}\nvar wrapperRaf = function wrapperRaf(callback) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n rafUUID += 1;\n var id = rafUUID;\n function callRef(leftTimes) {\n if (leftTimes === 0) {\n // Clean up\n cleanup(id);\n // Trigger\n callback();\n } else {\n // Next raf\n var realId = raf(function () {\n callRef(leftTimes - 1);\n });\n // Bind real raf id\n rafIds.set(id, realId);\n }\n }\n callRef(times);\n return id;\n};\nwrapperRaf.cancel = function (id) {\n var realId = rafIds.get(id);\n cleanup(realId);\n return caf(realId);\n};\nexport default wrapperRaf;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { isMemo } from 'react-is';\nimport useMemo from './hooks/useMemo';\nexport function fillRef(ref, node) {\n if (typeof ref === 'function') {\n ref(node);\n } else if (_typeof(ref) === 'object' && ref && 'current' in ref) {\n ref.current = node;\n }\n}\n/**\n * Merge refs into one ref function to support ref passing.\n */\nexport function composeRef() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n var refList = refs.filter(function (ref) {\n return ref;\n });\n if (refList.length <= 1) {\n return refList[0];\n }\n return function (node) {\n refs.forEach(function (ref) {\n fillRef(ref, node);\n });\n };\n}\nexport function useComposeRef() {\n for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n refs[_key2] = arguments[_key2];\n }\n return useMemo(function () {\n return composeRef.apply(void 0, refs);\n }, refs, function (prev, next) {\n return prev.length === next.length && prev.every(function (ref, i) {\n return ref === next[i];\n });\n });\n}\nexport function supportRef(nodeOrComponent) {\n var _type$prototype, _nodeOrComponent$prot;\n var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;\n // Function component node\n if (typeof type === 'function' && !((_type$prototype = type.prototype) === null || _type$prototype === void 0 ? void 0 : _type$prototype.render)) {\n return false;\n }\n // Class component\n if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) === null || _nodeOrComponent$prot === void 0 ? void 0 : _nodeOrComponent$prot.render)) {\n return false;\n }\n return true;\n}\n/* eslint-enable */","/* eslint-disable no-console */\nvar warned = {};\nexport function warning(valid, message) {\n // Support uglify\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n console.error(\"Warning: \".concat(message));\n }\n}\nexport function note(valid, message) {\n // Support uglify\n if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {\n console.warn(\"Note: \".concat(message));\n }\n}\nexport function resetWarned() {\n warned = {};\n}\nexport function call(method, valid, message) {\n if (!valid && !warned[message]) {\n method(false, message);\n warned[message] = true;\n }\n}\nexport function warningOnce(valid, message) {\n call(warning, valid, message);\n}\nexport function noteOnce(valid, message) {\n call(note, valid, message);\n}\nexport default warningOnce;\n/* eslint-enable */","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","import react from 'react';\nimport reactDom from 'react-dom';\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction err(message) {\n const error = new Error(message); // In V8, Error objects keep the closure scope chain alive until the\n // err.stack property is accessed.\n\n if (error.stack === undefined) {\n // IE sets the stack only if error is thrown\n try {\n throw error;\n } catch (_) {} // eslint-disable-line fb-www/no-unused-catch-bindings, no-empty\n\n }\n\n return error;\n}\n\nvar err_1 = err;\n\n// @oss-only\n\n\nvar Recoil_err = err_1;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\n// Split declaration and implementation to allow this function to pretend to\n// check for actual instance of Promise instead of something with a `then`\n// method.\n// eslint-disable-next-line no-redeclare\nfunction isPromise(p) {\n return !!p && typeof p.then === 'function';\n}\n\nvar Recoil_isPromise = isPromise;\n\nfunction nullthrows(x, message) {\n if (x != null) {\n return x;\n }\n\n throw Recoil_err(message !== null && message !== void 0 ? message : 'Got unexpected null or undefined');\n}\n\nvar Recoil_nullthrows = nullthrows;\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nclass BaseLoadable {\n getValue() {\n throw Recoil_err('BaseLoadable');\n }\n\n toPromise() {\n throw Recoil_err('BaseLoadable');\n }\n\n valueMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n valueOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected value, but in \"${this.state}\" state`);\n }\n\n promiseMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n promiseOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected promise, but in \"${this.state}\" state`);\n }\n\n errorMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n errorOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected error, but in \"${this.state}\" state`);\n }\n\n is(other) {\n // $FlowFixMe[prop-missing]\n return other.state === this.state && other.contents === this.contents;\n }\n\n map(_map) {\n throw Recoil_err('BaseLoadable');\n }\n\n}\n\nclass ValueLoadable extends BaseLoadable {\n constructor(value) {\n super();\n\n _defineProperty(this, \"state\", 'hasValue');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = value;\n }\n\n getValue() {\n return this.contents;\n }\n\n toPromise() {\n return Promise.resolve(this.contents);\n }\n\n valueMaybe() {\n return this.contents;\n }\n\n valueOrThrow() {\n return this.contents;\n }\n\n promiseMaybe() {\n return undefined;\n }\n\n errorMaybe() {\n return undefined;\n }\n\n map(map) {\n try {\n const next = map(this.contents);\n return Recoil_isPromise(next) ? loadableWithPromise(next) : isLoadable(next) ? next : loadableWithValue(next);\n } catch (e) {\n return Recoil_isPromise(e) ? // If we \"suspended\", then try again.\n // errors and subsequent retries will be handled in 'loading' case\n // $FlowFixMe[prop-missing]\n loadableWithPromise(e.next(() => this.map(map))) : loadableWithError(e);\n }\n }\n\n}\n\nclass ErrorLoadable extends BaseLoadable {\n constructor(error) {\n super();\n\n _defineProperty(this, \"state\", 'hasError');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = error;\n }\n\n getValue() {\n throw this.contents;\n }\n\n toPromise() {\n return Promise.reject(this.contents);\n }\n\n valueMaybe() {\n return undefined;\n }\n\n promiseMaybe() {\n return undefined;\n }\n\n errorMaybe() {\n return this.contents;\n }\n\n errorOrThrow() {\n return this.contents;\n }\n\n map(_map) {\n // $FlowIssue[incompatible-return]\n return this;\n }\n\n}\n\nclass LoadingLoadable extends BaseLoadable {\n constructor(promise) {\n super();\n\n _defineProperty(this, \"state\", 'loading');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = promise;\n }\n\n getValue() {\n throw this.contents;\n }\n\n toPromise() {\n return this.contents;\n }\n\n valueMaybe() {\n return undefined;\n }\n\n promiseMaybe() {\n return this.contents;\n }\n\n promiseOrThrow() {\n return this.contents;\n }\n\n errorMaybe() {\n return undefined;\n }\n\n map(map) {\n return loadableWithPromise(this.contents.then(value => {\n const next = map(value);\n\n if (isLoadable(next)) {\n const nextLoadable = next;\n\n switch (nextLoadable.state) {\n case 'hasValue':\n return nextLoadable.contents;\n\n case 'hasError':\n throw nextLoadable.contents;\n\n case 'loading':\n return nextLoadable.contents;\n }\n } // $FlowIssue[incompatible-return]\n\n\n return next;\n }).catch(e => {\n if (Recoil_isPromise(e)) {\n // we were \"suspended,\" try again\n return e.then(() => this.map(map).contents);\n }\n\n throw e;\n }));\n }\n\n}\n\nfunction loadableWithValue(value) {\n return Object.freeze(new ValueLoadable(value));\n}\n\nfunction loadableWithError(error) {\n return Object.freeze(new ErrorLoadable(error));\n}\n\nfunction loadableWithPromise(promise) {\n return Object.freeze(new LoadingLoadable(promise));\n}\n\nfunction loadableLoading() {\n return Object.freeze(new LoadingLoadable(new Promise(() => {})));\n}\n\nfunction loadableAllArray(inputs) {\n return inputs.every(i => i.state === 'hasValue') ? loadableWithValue(inputs.map(i => i.contents)) : inputs.some(i => i.state === 'hasError') ? loadableWithError(Recoil_nullthrows(inputs.find(i => i.state === 'hasError'), 'Invalid loadable passed to loadableAll').contents) : loadableWithPromise(Promise.all(inputs.map(i => i.contents)));\n}\n\nfunction loadableAll(inputs) {\n const unwrapedInputs = Array.isArray(inputs) ? inputs : Object.getOwnPropertyNames(inputs).map(key => inputs[key]);\n const normalizedInputs = unwrapedInputs.map(x => isLoadable(x) ? x : Recoil_isPromise(x) ? loadableWithPromise(x) : loadableWithValue(x));\n const output = loadableAllArray(normalizedInputs);\n return Array.isArray(inputs) ? // $FlowIssue[incompatible-return]\n output : // Object.getOwnPropertyNames() has consistent key ordering with ES6\n // $FlowIssue[incompatible-call]\n output.map(outputs => Object.getOwnPropertyNames(inputs).reduce((out, key, idx) => ({ ...out,\n [key]: outputs[idx]\n }), {}));\n}\n\nfunction isLoadable(x) {\n return x instanceof BaseLoadable;\n}\n\nconst LoadableStaticInterface = {\n of: value => Recoil_isPromise(value) ? loadableWithPromise(value) : isLoadable(value) ? value : loadableWithValue(value),\n error: error => loadableWithError(error),\n // $FlowIssue[incompatible-return]\n loading: () => loadableLoading(),\n // $FlowIssue[unclear-type]\n all: loadableAll,\n isLoadable\n};\nvar Recoil_Loadable = {\n loadableWithValue,\n loadableWithError,\n loadableWithPromise,\n loadableLoading,\n loadableAll,\n isLoadable,\n RecoilLoadable: LoadableStaticInterface\n};\n\nvar Recoil_Loadable_1 = Recoil_Loadable.loadableWithValue;\nvar Recoil_Loadable_2 = Recoil_Loadable.loadableWithError;\nvar Recoil_Loadable_3 = Recoil_Loadable.loadableWithPromise;\nvar Recoil_Loadable_4 = Recoil_Loadable.loadableLoading;\nvar Recoil_Loadable_5 = Recoil_Loadable.loadableAll;\nvar Recoil_Loadable_6 = Recoil_Loadable.isLoadable;\nvar Recoil_Loadable_7 = Recoil_Loadable.RecoilLoadable;\n\nvar Recoil_Loadable$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n loadableWithValue: Recoil_Loadable_1,\n loadableWithError: Recoil_Loadable_2,\n loadableWithPromise: Recoil_Loadable_3,\n loadableLoading: Recoil_Loadable_4,\n loadableAll: Recoil_Loadable_5,\n isLoadable: Recoil_Loadable_6,\n RecoilLoadable: Recoil_Loadable_7\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nconst gks = new Map().set('recoil_hamt_2020', true).set('recoil_sync_external_store', true).set('recoil_suppress_rerender_in_callback', true).set('recoil_memory_managament_2020', true);\n\nfunction Recoil_gkx_OSS(gk) {\n var _gks$get;\n\n return (_gks$get = gks.get(gk)) !== null && _gks$get !== void 0 ? _gks$get : false;\n}\n\nRecoil_gkx_OSS.setPass = gk => {\n gks.set(gk, true);\n};\n\nRecoil_gkx_OSS.setFail = gk => {\n gks.set(gk, false);\n};\n\nRecoil_gkx_OSS.clear = () => {\n gks.clear();\n};\n\nvar Recoil_gkx = Recoil_gkx_OSS; // @oss-only\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction recoverableViolation(message, _projectName, {\n error\n} = {}) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(message, error);\n }\n\n return null;\n}\n\nvar recoverableViolation_1 = recoverableViolation;\n\n// @oss-only\n\n\nvar Recoil_recoverableViolation = recoverableViolation_1;\n\nvar _createMutableSource, _useMutableSource, _useSyncExternalStore;\n\n\n\n\n\n\n\nconst createMutableSource = // flowlint-next-line unclear-type:off\n(_createMutableSource = react.createMutableSource) !== null && _createMutableSource !== void 0 ? _createMutableSource : react.unstable_createMutableSource;\nconst useMutableSource = // flowlint-next-line unclear-type:off\n(_useMutableSource = react.useMutableSource) !== null && _useMutableSource !== void 0 ? _useMutableSource : react.unstable_useMutableSource; // https://github.com/reactwg/react-18/discussions/86\n\nconst useSyncExternalStore = // flowlint-next-line unclear-type:off\n(_useSyncExternalStore = react.useSyncExternalStore) !== null && _useSyncExternalStore !== void 0 ? _useSyncExternalStore : // flowlint-next-line unclear-type:off\nreact.unstable_useSyncExternalStore;\nlet ReactRendererVersionMismatchWarnOnce = false; // Check if the current renderer supports `useSyncExternalStore()`.\n// Since React goes through a proxy dispatcher and the current renderer can\n// change we can't simply check if `React.useSyncExternalStore()` is defined.\n\nfunction currentRendererSupportsUseSyncExternalStore() {\n var _ReactCurrentDispatch;\n\n // $FlowFixMe[incompatible-use]\n const {\n ReactCurrentDispatcher,\n ReactCurrentOwner\n } =\n /* $FlowFixMe[prop-missing] This workaround was approved as a safer mechanism\n * to detect if the current renderer supports useSyncExternalStore()\n * https://fb.workplace.com/groups/reactjs/posts/9558682330846963/ */\n react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n const dispatcher = (_ReactCurrentDispatch = ReactCurrentDispatcher === null || ReactCurrentDispatcher === void 0 ? void 0 : ReactCurrentDispatcher.current) !== null && _ReactCurrentDispatch !== void 0 ? _ReactCurrentDispatch : ReactCurrentOwner.currentDispatcher;\n const isUseSyncExternalStoreSupported = dispatcher.useSyncExternalStore != null;\n\n if (useSyncExternalStore && !isUseSyncExternalStoreSupported && !ReactRendererVersionMismatchWarnOnce) {\n ReactRendererVersionMismatchWarnOnce = true;\n Recoil_recoverableViolation('A React renderer without React 18+ API support is being used with React 18+.');\n }\n\n return isUseSyncExternalStoreSupported;\n}\n\n/**\n * mode: The React API and approach to use for syncing state with React\n * early: Re-renders from Recoil updates occur:\n * 1) earlier\n * 2) in sync with React updates in the same batch\n * 3) before transaction observers instead of after.\n * concurrent: Is the current mode compatible with Concurrent Mode and useTransition()\n */\nfunction reactMode() {\n // NOTE: This mode is currently broken with some Suspense cases\n // see Recoil_selector-test.js\n if (Recoil_gkx('recoil_transition_support')) {\n return {\n mode: 'TRANSITION_SUPPORT',\n early: true,\n concurrent: true\n };\n }\n\n if (Recoil_gkx('recoil_sync_external_store') && useSyncExternalStore != null) {\n return {\n mode: 'SYNC_EXTERNAL_STORE',\n early: true,\n concurrent: false\n };\n }\n\n if (Recoil_gkx('recoil_mutable_source') && useMutableSource != null && typeof window !== 'undefined' && !window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE) {\n return Recoil_gkx('recoil_suppress_rerender_in_callback') ? {\n mode: 'MUTABLE_SOURCE',\n early: true,\n concurrent: true\n } : {\n mode: 'MUTABLE_SOURCE',\n early: false,\n concurrent: false\n };\n }\n\n return Recoil_gkx('recoil_suppress_rerender_in_callback') ? {\n mode: 'LEGACY',\n early: true,\n concurrent: false\n } : {\n mode: 'LEGACY',\n early: false,\n concurrent: false\n };\n} // TODO Need to figure out if there is a standard/open-source equivalent to see if hot module replacement is happening:\n\n\nfunction isFastRefreshEnabled() {\n // @fb-only: const {isAcceptingUpdate} = require('__debug');\n // @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate();\n return false; // @oss-only\n}\n\nvar Recoil_ReactMode = {\n createMutableSource,\n useMutableSource,\n useSyncExternalStore,\n currentRendererSupportsUseSyncExternalStore,\n reactMode,\n isFastRefreshEnabled\n};\n\nconst env = {\n RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED: true\n};\n/**\n * Allow NodeJS/NextJS/etc to set the initial state through process.env variable\n * Note: we don't assume 'process' is available in all runtime environments\n *\n * @see https://github.com/facebookexperimental/Recoil/issues/733\n */\n\nfunction applyProcessEnvFlagOverrides() {\n var _process, _process$env$RECOIL_D, _process$env$RECOIL_D2;\n\n // note: this check is needed in addition to the check below, runtime error will occur without it!\n // eslint-disable-next-line fb-www/typeof-undefined\n if (typeof process === 'undefined') {\n return;\n }\n\n if (((_process = process) === null || _process === void 0 ? void 0 : _process.env) == null) {\n return;\n }\n\n const sanitizedValue = (_process$env$RECOIL_D = process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED) === null || _process$env$RECOIL_D === void 0 ? void 0 : (_process$env$RECOIL_D2 = _process$env$RECOIL_D.toLowerCase()) === null || _process$env$RECOIL_D2 === void 0 ? void 0 : _process$env$RECOIL_D2.trim();\n\n if (sanitizedValue == null || sanitizedValue === '') {\n return;\n }\n\n const allowedValues = ['true', 'false'];\n\n if (!allowedValues.includes(sanitizedValue)) {\n throw Recoil_err(`process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${sanitizedValue}`);\n }\n\n env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = sanitizedValue === 'true';\n}\n\napplyProcessEnvFlagOverrides();\nvar Recoil_RecoilEnv = env;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\n// eslint-disable-next-line no-unused-vars\nclass AbstractRecoilValue {\n constructor(newKey) {\n _defineProperty(this, \"key\", void 0);\n\n this.key = newKey;\n }\n\n toJSON() {\n return {\n key: this.key\n };\n }\n\n}\n\nclass RecoilState extends AbstractRecoilValue {}\n\nclass RecoilValueReadOnly extends AbstractRecoilValue {}\n\nfunction isRecoilValue(x) {\n return x instanceof RecoilState || x instanceof RecoilValueReadOnly;\n}\n\nvar Recoil_RecoilValue = {\n AbstractRecoilValue,\n RecoilState,\n RecoilValueReadOnly,\n isRecoilValue\n};\n\nvar Recoil_RecoilValue_1 = Recoil_RecoilValue.AbstractRecoilValue;\nvar Recoil_RecoilValue_2 = Recoil_RecoilValue.RecoilState;\nvar Recoil_RecoilValue_3 = Recoil_RecoilValue.RecoilValueReadOnly;\nvar Recoil_RecoilValue_4 = Recoil_RecoilValue.isRecoilValue;\n\nvar Recoil_RecoilValue$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n AbstractRecoilValue: Recoil_RecoilValue_1,\n RecoilState: Recoil_RecoilValue_2,\n RecoilValueReadOnly: Recoil_RecoilValue_3,\n isRecoilValue: Recoil_RecoilValue_4\n});\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction sprintf(format, ...args) {\n let index = 0;\n return format.replace(/%s/g, () => String(args[index++]));\n}\n\nvar sprintf_1 = sprintf;\n\nfunction expectationViolation(format, ...args) {\n if (process.env.NODE_ENV !== \"production\") {\n const message = sprintf_1.call(null, format, ...args);\n const error = new Error(message);\n error.name = 'Expectation Violation';\n console.error(error);\n }\n}\n\nvar expectationViolation_1 = expectationViolation;\n\n// @oss-only\n\n\nvar Recoil_expectationViolation = expectationViolation_1;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Creates a new iterable whose output is generated by passing the input\n * iterable's values through the mapper function.\n */\n\nfunction mapIterable(iterable, callback) {\n // Use generator to create iterable/iterator\n return function* () {\n let index = 0;\n\n for (const value of iterable) {\n yield callback(value, index++);\n }\n }();\n}\n\nvar Recoil_mapIterable = mapIterable;\n\nconst {\n isFastRefreshEnabled: isFastRefreshEnabled$1\n} = Recoil_ReactMode;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass DefaultValue {}\n\nconst DEFAULT_VALUE = new DefaultValue();\n// flowlint-next-line unclear-type:off\nconst nodes = new Map(); // flowlint-next-line unclear-type:off\n\nconst recoilValues = new Map();\n/* eslint-disable no-redeclare */\n\nfunction recoilValuesForKeys(keys) {\n return Recoil_mapIterable(keys, key => Recoil_nullthrows(recoilValues.get(key)));\n}\n\nfunction checkForDuplicateAtomKey(key) {\n if (nodes.has(key)) {\n const message = `Duplicate atom key \"${key}\". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;\n\n if (process.env.NODE_ENV !== \"production\") {\n // TODO Figure this out for open-source\n if (!isFastRefreshEnabled$1()) {\n Recoil_expectationViolation(message, 'recoil');\n }\n } else {\n // @fb-only: recoverableViolation(message, 'recoil');\n console.warn(message); // @oss-only\n }\n }\n}\n\nfunction registerNode(node) {\n if (Recoil_RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED) {\n checkForDuplicateAtomKey(node.key);\n }\n\n nodes.set(node.key, node);\n const recoilValue = node.set == null ? new Recoil_RecoilValue$1.RecoilValueReadOnly(node.key) : new Recoil_RecoilValue$1.RecoilState(node.key);\n recoilValues.set(node.key, recoilValue);\n return recoilValue;\n}\n/* eslint-enable no-redeclare */\n\n\nclass NodeMissingError extends Error {} // flowlint-next-line unclear-type:off\n\n\nfunction getNode(key) {\n const node = nodes.get(key);\n\n if (node == null) {\n throw new NodeMissingError(`Missing definition for RecoilValue: \"${key}\"\"`);\n }\n\n return node;\n} // flowlint-next-line unclear-type:off\n\n\nfunction getNodeMaybe(key) {\n return nodes.get(key);\n}\n\nconst configDeletionHandlers = new Map();\n\nfunction deleteNodeConfigIfPossible(key) {\n var _node$shouldDeleteCon;\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const node = nodes.get(key);\n\n if (node !== null && node !== void 0 && (_node$shouldDeleteCon = node.shouldDeleteConfigOnRelease) !== null && _node$shouldDeleteCon !== void 0 && _node$shouldDeleteCon.call(node)) {\n var _getConfigDeletionHan;\n\n nodes.delete(key);\n (_getConfigDeletionHan = getConfigDeletionHandler(key)) === null || _getConfigDeletionHan === void 0 ? void 0 : _getConfigDeletionHan();\n configDeletionHandlers.delete(key);\n }\n}\n\nfunction setConfigDeletionHandler(key, fn) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n if (fn === undefined) {\n configDeletionHandlers.delete(key);\n } else {\n configDeletionHandlers.set(key, fn);\n }\n}\n\nfunction getConfigDeletionHandler(key) {\n return configDeletionHandlers.get(key);\n}\n\nvar Recoil_Node = {\n nodes,\n recoilValues,\n registerNode,\n getNode,\n getNodeMaybe,\n deleteNodeConfigIfPossible,\n setConfigDeletionHandler,\n getConfigDeletionHandler,\n recoilValuesForKeys,\n NodeMissingError,\n DefaultValue,\n DEFAULT_VALUE\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction enqueueExecution(s, f) {\n f();\n}\n\nvar Recoil_Queue = {\n enqueueExecution\n};\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nvar hamt_1 = createCommonjsModule(function (module) {\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n/**\n @fileOverview Hash Array Mapped Trie.\n\n Code based on: https://github.com/exclipy/pdata\n*/\n\n\nvar hamt = {}; // export\n\n/* Configuration\n ******************************************************************************/\n\nvar SIZE = 5;\nvar BUCKET_SIZE = Math.pow(2, SIZE);\nvar MASK = BUCKET_SIZE - 1;\nvar MAX_INDEX_NODE = BUCKET_SIZE / 2;\nvar MIN_ARRAY_NODE = BUCKET_SIZE / 4;\n/*\n ******************************************************************************/\n\nvar nothing = {};\n\nvar constant = function constant(x) {\n return function () {\n return x;\n };\n};\n/**\n Get 32 bit hash of string.\n\n Based on:\n http://stackoverflow.com/questions/7616461/generate-a-hash-from-string-in-javascript-jquery\n*/\n\n\nvar hash = hamt.hash = function (str) {\n var type = typeof str === 'undefined' ? 'undefined' : _typeof(str);\n if (type === 'number') return str;\n if (type !== 'string') str += '';\n var hash = 0;\n\n for (var i = 0, len = str.length; i < len; ++i) {\n var c = str.charCodeAt(i);\n hash = (hash << 5) - hash + c | 0;\n }\n\n return hash;\n};\n/* Bit Ops\n ******************************************************************************/\n\n/**\n Hamming weight.\n\n Taken from: http://jsperf.com/hamming-weight\n*/\n\n\nvar popcount = function popcount(x) {\n x -= x >> 1 & 0x55555555;\n x = (x & 0x33333333) + (x >> 2 & 0x33333333);\n x = x + (x >> 4) & 0x0f0f0f0f;\n x += x >> 8;\n x += x >> 16;\n return x & 0x7f;\n};\n\nvar hashFragment = function hashFragment(shift, h) {\n return h >>> shift & MASK;\n};\n\nvar toBitmap = function toBitmap(x) {\n return 1 << x;\n};\n\nvar fromBitmap = function fromBitmap(bitmap, bit) {\n return popcount(bitmap & bit - 1);\n};\n/* Array Ops\n ******************************************************************************/\n\n/**\n Set a value in an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to change.\n @param v New value\n @param arr Array.\n*/\n\n\nvar arrayUpdate = function arrayUpdate(mutate, at, v, arr) {\n var out = arr;\n\n if (!mutate) {\n var len = arr.length;\n out = new Array(len);\n\n for (var i = 0; i < len; ++i) {\n out[i] = arr[i];\n }\n }\n\n out[at] = v;\n return out;\n};\n/**\n Remove a value from an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to remove.\n @param arr Array.\n*/\n\n\nvar arraySpliceOut = function arraySpliceOut(mutate, at, arr) {\n var newLen = arr.length - 1;\n var i = 0;\n var g = 0;\n var out = arr;\n\n if (mutate) {\n i = g = at;\n } else {\n out = new Array(newLen);\n\n while (i < at) {\n out[g++] = arr[i++];\n }\n }\n\n ++i;\n\n while (i <= newLen) {\n out[g++] = arr[i++];\n }\n\n if (mutate) {\n out.length = newLen;\n }\n\n return out;\n};\n/**\n Insert a value into an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to insert at.\n @param v Value to insert,\n @param arr Array.\n*/\n\n\nvar arraySpliceIn = function arraySpliceIn(mutate, at, v, arr) {\n var len = arr.length;\n\n if (mutate) {\n var _i = len;\n\n while (_i >= at) {\n arr[_i--] = arr[_i];\n }\n\n arr[at] = v;\n return arr;\n }\n\n var i = 0,\n g = 0;\n var out = new Array(len + 1);\n\n while (i < at) {\n out[g++] = arr[i++];\n }\n\n out[at] = v;\n\n while (i < len) {\n out[++g] = arr[i++];\n }\n\n return out;\n};\n/* Node Structures\n ******************************************************************************/\n\n\nvar LEAF = 1;\nvar COLLISION = 2;\nvar INDEX = 3;\nvar ARRAY = 4;\n/**\n Empty node.\n*/\n\nvar empty = {\n __hamt_isEmpty: true\n};\n\nvar isEmptyNode = function isEmptyNode(x) {\n return x === empty || x && x.__hamt_isEmpty;\n};\n/**\n Leaf holding a value.\n\n @member edit Edit of the node.\n @member hash Hash of key.\n @member key Key.\n @member value Value stored.\n*/\n\n\nvar Leaf = function Leaf(edit, hash, key, value) {\n return {\n type: LEAF,\n edit: edit,\n hash: hash,\n key: key,\n value: value,\n _modify: Leaf__modify\n };\n};\n/**\n Leaf holding multiple values with the same hash but different keys.\n\n @member edit Edit of the node.\n @member hash Hash of key.\n @member children Array of collision children node.\n*/\n\n\nvar Collision = function Collision(edit, hash, children) {\n return {\n type: COLLISION,\n edit: edit,\n hash: hash,\n children: children,\n _modify: Collision__modify\n };\n};\n/**\n Internal node with a sparse set of children.\n\n Uses a bitmap and array to pack children.\n\n @member edit Edit of the node.\n @member mask Bitmap that encode the positions of children in the array.\n @member children Array of child nodes.\n*/\n\n\nvar IndexedNode = function IndexedNode(edit, mask, children) {\n return {\n type: INDEX,\n edit: edit,\n mask: mask,\n children: children,\n _modify: IndexedNode__modify\n };\n};\n/**\n Internal node with many children.\n\n @member edit Edit of the node.\n @member size Number of children.\n @member children Array of child nodes.\n*/\n\n\nvar ArrayNode = function ArrayNode(edit, size, children) {\n return {\n type: ARRAY,\n edit: edit,\n size: size,\n children: children,\n _modify: ArrayNode__modify\n };\n};\n/**\n Is `node` a leaf node?\n*/\n\n\nvar isLeaf = function isLeaf(node) {\n return node === empty || node.type === LEAF || node.type === COLLISION;\n};\n/* Internal node operations.\n ******************************************************************************/\n\n/**\n Expand an indexed node into an array node.\n\n @param edit Current edit.\n @param frag Index of added child.\n @param child Added child.\n @param mask Index node mask before child added.\n @param subNodes Index node children before child added.\n*/\n\n\nvar expand = function expand(edit, frag, child, bitmap, subNodes) {\n var arr = [];\n var bit = bitmap;\n var count = 0;\n\n for (var i = 0; bit; ++i) {\n if (bit & 1) arr[i] = subNodes[count++];\n bit >>>= 1;\n }\n\n arr[frag] = child;\n return ArrayNode(edit, count + 1, arr);\n};\n/**\n Collapse an array node into a indexed node.\n\n @param edit Current edit.\n @param count Number of elements in new array.\n @param removed Index of removed element.\n @param elements Array node children before remove.\n*/\n\n\nvar pack = function pack(edit, count, removed, elements) {\n var children = new Array(count - 1);\n var g = 0;\n var bitmap = 0;\n\n for (var i = 0, len = elements.length; i < len; ++i) {\n if (i !== removed) {\n var elem = elements[i];\n\n if (elem && !isEmptyNode(elem)) {\n children[g++] = elem;\n bitmap |= 1 << i;\n }\n }\n }\n\n return IndexedNode(edit, bitmap, children);\n};\n/**\n Merge two leaf nodes.\n\n @param shift Current shift.\n @param h1 Node 1 hash.\n @param n1 Node 1.\n @param h2 Node 2 hash.\n @param n2 Node 2.\n*/\n\n\nvar mergeLeaves = function mergeLeaves(edit, shift, h1, n1, h2, n2) {\n if (h1 === h2) return Collision(edit, h1, [n2, n1]);\n var subH1 = hashFragment(shift, h1);\n var subH2 = hashFragment(shift, h2);\n return IndexedNode(edit, toBitmap(subH1) | toBitmap(subH2), subH1 === subH2 ? [mergeLeaves(edit, shift + SIZE, h1, n1, h2, n2)] : subH1 < subH2 ? [n1, n2] : [n2, n1]);\n};\n/**\n Update an entry in a collision list.\n\n @param mutate Should mutation be used?\n @param edit Current edit.\n @param keyEq Key compare function.\n @param hash Hash of collision.\n @param list Collision list.\n @param f Update function.\n @param k Key to update.\n @param size Size ref.\n*/\n\n\nvar updateCollisionList = function updateCollisionList(mutate, edit, keyEq, h, list, f, k, size) {\n var len = list.length;\n\n for (var i = 0; i < len; ++i) {\n var child = list[i];\n\n if (keyEq(k, child.key)) {\n var value = child.value;\n\n var _newValue = f(value);\n\n if (_newValue === value) return list;\n\n if (_newValue === nothing) {\n --size.value;\n return arraySpliceOut(mutate, i, list);\n }\n\n return arrayUpdate(mutate, i, Leaf(edit, h, k, _newValue), list);\n }\n }\n\n var newValue = f();\n if (newValue === nothing) return list;\n ++size.value;\n return arrayUpdate(mutate, len, Leaf(edit, h, k, newValue), list);\n};\n\nvar canEditNode = function canEditNode(edit, node) {\n return edit === node.edit;\n};\n/* Editing\n ******************************************************************************/\n\n\nvar Leaf__modify = function Leaf__modify(edit, keyEq, shift, f, h, k, size) {\n if (keyEq(k, this.key)) {\n var _v = f(this.value);\n\n if (_v === this.value) return this;else if (_v === nothing) {\n --size.value;\n return empty;\n }\n\n if (canEditNode(edit, this)) {\n this.value = _v;\n return this;\n }\n\n return Leaf(edit, h, k, _v);\n }\n\n var v = f();\n if (v === nothing) return this;\n ++size.value;\n return mergeLeaves(edit, shift, this.hash, this, h, Leaf(edit, h, k, v));\n};\n\nvar Collision__modify = function Collision__modify(edit, keyEq, shift, f, h, k, size) {\n if (h === this.hash) {\n var canEdit = canEditNode(edit, this);\n var list = updateCollisionList(canEdit, edit, keyEq, this.hash, this.children, f, k, size);\n if (list === this.children) return this;\n return list.length > 1 ? Collision(edit, this.hash, list) : list[0]; // collapse single element collision list\n }\n\n var v = f();\n if (v === nothing) return this;\n ++size.value;\n return mergeLeaves(edit, shift, this.hash, this, h, Leaf(edit, h, k, v));\n};\n\nvar IndexedNode__modify = function IndexedNode__modify(edit, keyEq, shift, f, h, k, size) {\n var mask = this.mask;\n var children = this.children;\n var frag = hashFragment(shift, h);\n var bit = toBitmap(frag);\n var indx = fromBitmap(mask, bit);\n var exists = mask & bit;\n var current = exists ? children[indx] : empty;\n\n var child = current._modify(edit, keyEq, shift + SIZE, f, h, k, size);\n\n if (current === child) return this;\n var canEdit = canEditNode(edit, this);\n var bitmap = mask;\n var newChildren = void 0;\n\n if (exists && isEmptyNode(child)) {\n // remove\n bitmap &= ~bit;\n if (!bitmap) return empty;\n if (children.length <= 2 && isLeaf(children[indx ^ 1])) return children[indx ^ 1]; // collapse\n\n newChildren = arraySpliceOut(canEdit, indx, children);\n } else if (!exists && !isEmptyNode(child)) {\n // add\n if (children.length >= MAX_INDEX_NODE) return expand(edit, frag, child, mask, children);\n bitmap |= bit;\n newChildren = arraySpliceIn(canEdit, indx, child, children);\n } else {\n // modify\n newChildren = arrayUpdate(canEdit, indx, child, children);\n }\n\n if (canEdit) {\n this.mask = bitmap;\n this.children = newChildren;\n return this;\n }\n\n return IndexedNode(edit, bitmap, newChildren);\n};\n\nvar ArrayNode__modify = function ArrayNode__modify(edit, keyEq, shift, f, h, k, size) {\n var count = this.size;\n var children = this.children;\n var frag = hashFragment(shift, h);\n var child = children[frag];\n\n var newChild = (child || empty)._modify(edit, keyEq, shift + SIZE, f, h, k, size);\n\n if (child === newChild) return this;\n var canEdit = canEditNode(edit, this);\n var newChildren = void 0;\n\n if (isEmptyNode(child) && !isEmptyNode(newChild)) {\n // add\n ++count;\n newChildren = arrayUpdate(canEdit, frag, newChild, children);\n } else if (!isEmptyNode(child) && isEmptyNode(newChild)) {\n // remove\n --count;\n if (count <= MIN_ARRAY_NODE) return pack(edit, count, frag, children);\n newChildren = arrayUpdate(canEdit, frag, empty, children);\n } else {\n // modify\n newChildren = arrayUpdate(canEdit, frag, newChild, children);\n }\n\n if (canEdit) {\n this.size = count;\n this.children = newChildren;\n return this;\n }\n\n return ArrayNode(edit, count, newChildren);\n};\n\nempty._modify = function (edit, keyEq, shift, f, h, k, size) {\n var v = f();\n if (v === nothing) return empty;\n ++size.value;\n return Leaf(edit, h, k, v);\n};\n/*\n ******************************************************************************/\n\n\nfunction Map(editable, edit, config, root, size) {\n this._editable = editable;\n this._edit = edit;\n this._config = config;\n this._root = root;\n this._size = size;\n}\n\nMap.prototype.setTree = function (newRoot, newSize) {\n if (this._editable) {\n this._root = newRoot;\n this._size = newSize;\n return this;\n }\n\n return newRoot === this._root ? this : new Map(this._editable, this._edit, this._config, newRoot, newSize);\n};\n/* Queries\n ******************************************************************************/\n\n/**\n Lookup the value for `key` in `map` using a custom `hash`.\n\n Returns the value or `alt` if none.\n*/\n\n\nvar tryGetHash = hamt.tryGetHash = function (alt, hash, key, map) {\n var node = map._root;\n var shift = 0;\n var keyEq = map._config.keyEq;\n\n while (true) {\n switch (node.type) {\n case LEAF:\n {\n return keyEq(key, node.key) ? node.value : alt;\n }\n\n case COLLISION:\n {\n if (hash === node.hash) {\n var children = node.children;\n\n for (var i = 0, len = children.length; i < len; ++i) {\n var child = children[i];\n if (keyEq(key, child.key)) return child.value;\n }\n }\n\n return alt;\n }\n\n case INDEX:\n {\n var frag = hashFragment(shift, hash);\n var bit = toBitmap(frag);\n\n if (node.mask & bit) {\n node = node.children[fromBitmap(node.mask, bit)];\n shift += SIZE;\n break;\n }\n\n return alt;\n }\n\n case ARRAY:\n {\n node = node.children[hashFragment(shift, hash)];\n\n if (node) {\n shift += SIZE;\n break;\n }\n\n return alt;\n }\n\n default:\n return alt;\n }\n }\n};\n\nMap.prototype.tryGetHash = function (alt, hash, key) {\n return tryGetHash(alt, hash, key, this);\n};\n/**\n Lookup the value for `key` in `map` using internal hash function.\n\n @see `tryGetHash`\n*/\n\n\nvar tryGet = hamt.tryGet = function (alt, key, map) {\n return tryGetHash(alt, map._config.hash(key), key, map);\n};\n\nMap.prototype.tryGet = function (alt, key) {\n return tryGet(alt, key, this);\n};\n/**\n Lookup the value for `key` in `map` using a custom `hash`.\n\n Returns the value or `undefined` if none.\n*/\n\n\nvar getHash = hamt.getHash = function (hash, key, map) {\n return tryGetHash(undefined, hash, key, map);\n};\n\nMap.prototype.getHash = function (hash, key) {\n return getHash(hash, key, this);\n};\n/**\n Lookup the value for `key` in `map` using internal hash function.\n\n @see `get`\n*/\n\n\nvar get = hamt.get = function (key, map) {\n return tryGetHash(undefined, map._config.hash(key), key, map);\n};\n\nMap.prototype.get = function (key, alt) {\n return tryGet(alt, key, this);\n};\n/**\n Does an entry exist for `key` in `map`? Uses custom `hash`.\n*/\n\n\nvar hasHash = hamt.has = function (hash, key, map) {\n return tryGetHash(nothing, hash, key, map) !== nothing;\n};\n\nMap.prototype.hasHash = function (hash, key) {\n return hasHash(hash, key, this);\n};\n/**\n Does an entry exist for `key` in `map`? Uses internal hash function.\n*/\n\n\nvar has = hamt.has = function (key, map) {\n return hasHash(map._config.hash(key), key, map);\n};\n\nMap.prototype.has = function (key) {\n return has(key, this);\n};\n\nvar defKeyCompare = function defKeyCompare(x, y) {\n return x === y;\n};\n/**\n Create an empty map.\n\n @param config Configuration.\n*/\n\n\nhamt.make = function (config) {\n return new Map(0, 0, {\n keyEq: config && config.keyEq || defKeyCompare,\n hash: config && config.hash || hash\n }, empty, 0);\n};\n/**\n Empty map.\n*/\n\n\nhamt.empty = hamt.make();\n/**\n Does `map` contain any elements?\n*/\n\nvar isEmpty = hamt.isEmpty = function (map) {\n return map && !!isEmptyNode(map._root);\n};\n\nMap.prototype.isEmpty = function () {\n return isEmpty(this);\n};\n/* Updates\n ******************************************************************************/\n\n/**\n Alter the value stored for `key` in `map` using function `f` using\n custom hash.\n\n `f` is invoked with the current value for `k` if it exists,\n or no arguments if no such value exists. `modify` will always either\n update or insert a value into the map.\n\n Returns a map with the modified value. Does not alter `map`.\n*/\n\n\nvar modifyHash = hamt.modifyHash = function (f, hash, key, map) {\n var size = {\n value: map._size\n };\n\n var newRoot = map._root._modify(map._editable ? map._edit : NaN, map._config.keyEq, 0, f, hash, key, size);\n\n return map.setTree(newRoot, size.value);\n};\n\nMap.prototype.modifyHash = function (hash, key, f) {\n return modifyHash(f, hash, key, this);\n};\n/**\n Alter the value stored for `key` in `map` using function `f` using\n internal hash function.\n\n @see `modifyHash`\n*/\n\n\nvar modify = hamt.modify = function (f, key, map) {\n return modifyHash(f, map._config.hash(key), key, map);\n};\n\nMap.prototype.modify = function (key, f) {\n return modify(f, key, this);\n};\n/**\n Store `value` for `key` in `map` using custom `hash`.\n\n Returns a map with the modified value. Does not alter `map`.\n*/\n\n\nvar setHash = hamt.setHash = function (hash, key, value, map) {\n return modifyHash(constant(value), hash, key, map);\n};\n\nMap.prototype.setHash = function (hash, key, value) {\n return setHash(hash, key, value, this);\n};\n/**\n Store `value` for `key` in `map` using internal hash function.\n\n @see `setHash`\n*/\n\n\nvar set = hamt.set = function (key, value, map) {\n return setHash(map._config.hash(key), key, value, map);\n};\n\nMap.prototype.set = function (key, value) {\n return set(key, value, this);\n};\n/**\n Remove the entry for `key` in `map`.\n\n Returns a map with the value removed. Does not alter `map`.\n*/\n\n\nvar del = constant(nothing);\n\nvar removeHash = hamt.removeHash = function (hash, key, map) {\n return modifyHash(del, hash, key, map);\n};\n\nMap.prototype.removeHash = Map.prototype.deleteHash = function (hash, key) {\n return removeHash(hash, key, this);\n};\n/**\n Remove the entry for `key` in `map` using internal hash function.\n\n @see `removeHash`\n*/\n\n\nvar remove = hamt.remove = function (key, map) {\n return removeHash(map._config.hash(key), key, map);\n};\n\nMap.prototype.remove = Map.prototype.delete = function (key) {\n return remove(key, this);\n};\n/* Mutation\n ******************************************************************************/\n\n/**\n Mark `map` as mutable.\n */\n\n\nvar beginMutation = hamt.beginMutation = function (map) {\n return new Map(map._editable + 1, map._edit + 1, map._config, map._root, map._size);\n};\n\nMap.prototype.beginMutation = function () {\n return beginMutation(this);\n};\n/**\n Mark `map` as immutable.\n */\n\n\nvar endMutation = hamt.endMutation = function (map) {\n map._editable = map._editable && map._editable - 1;\n return map;\n};\n\nMap.prototype.endMutation = function () {\n return endMutation(this);\n};\n/**\n Mutate `map` within the context of `f`.\n @param f\n @param map HAMT\n*/\n\n\nvar mutate = hamt.mutate = function (f, map) {\n var transient = beginMutation(map);\n f(transient);\n return endMutation(transient);\n};\n\nMap.prototype.mutate = function (f) {\n return mutate(f, this);\n};\n/* Traversal\n ******************************************************************************/\n\n/**\n Apply a continuation.\n*/\n\n\nvar appk = function appk(k) {\n return k && lazyVisitChildren(k[0], k[1], k[2], k[3], k[4]);\n};\n/**\n Recursively visit all values stored in an array of nodes lazily.\n*/\n\n\nvar lazyVisitChildren = function lazyVisitChildren(len, children, i, f, k) {\n while (i < len) {\n var child = children[i++];\n if (child && !isEmptyNode(child)) return lazyVisit(child, f, [len, children, i, f, k]);\n }\n\n return appk(k);\n};\n/**\n Recursively visit all values stored in `node` lazily.\n*/\n\n\nvar lazyVisit = function lazyVisit(node, f, k) {\n switch (node.type) {\n case LEAF:\n return {\n value: f(node),\n rest: k\n };\n\n case COLLISION:\n case ARRAY:\n case INDEX:\n var children = node.children;\n return lazyVisitChildren(children.length, children, 0, f, k);\n\n default:\n return appk(k);\n }\n};\n\nvar DONE = {\n done: true\n};\n/**\n Javascript iterator over a map.\n*/\n\nfunction MapIterator(v) {\n this.v = v;\n}\n\nMapIterator.prototype.next = function () {\n if (!this.v) return DONE;\n var v0 = this.v;\n this.v = appk(v0.rest);\n return v0;\n};\n\nMapIterator.prototype[Symbol.iterator] = function () {\n return this;\n};\n/**\n Lazily visit each value in map with function `f`.\n*/\n\n\nvar visit = function visit(map, f) {\n return new MapIterator(lazyVisit(map._root, f));\n};\n/**\n Get a Javascsript iterator of `map`.\n\n Iterates over `[key, value]` arrays.\n*/\n\n\nvar buildPairs = function buildPairs(x) {\n return [x.key, x.value];\n};\n\nvar entries = hamt.entries = function (map) {\n return visit(map, buildPairs);\n};\n\nMap.prototype.entries = Map.prototype[Symbol.iterator] = function () {\n return entries(this);\n};\n/**\n Get array of all keys in `map`.\n\n Order is not guaranteed.\n*/\n\n\nvar buildKeys = function buildKeys(x) {\n return x.key;\n};\n\nvar keys = hamt.keys = function (map) {\n return visit(map, buildKeys);\n};\n\nMap.prototype.keys = function () {\n return keys(this);\n};\n/**\n Get array of all values in `map`.\n\n Order is not guaranteed, duplicates are preserved.\n*/\n\n\nvar buildValues = function buildValues(x) {\n return x.value;\n};\n\nvar values = hamt.values = Map.prototype.values = function (map) {\n return visit(map, buildValues);\n};\n\nMap.prototype.values = function () {\n return values(this);\n};\n/* Fold\n ******************************************************************************/\n\n/**\n Visit every entry in the map, aggregating data.\n\n Order of nodes is not guaranteed.\n\n @param f Function mapping accumulated value, value, and key to new value.\n @param z Starting value.\n @param m HAMT\n*/\n\n\nvar fold = hamt.fold = function (f, z, m) {\n var root = m._root;\n if (root.type === LEAF) return f(z, root.value, root.key);\n var toVisit = [root.children];\n var children = void 0;\n\n while (children = toVisit.pop()) {\n for (var i = 0, len = children.length; i < len;) {\n var child = children[i++];\n\n if (child && child.type) {\n if (child.type === LEAF) z = f(z, child.value, child.key);else toVisit.push(child.children);\n }\n }\n }\n\n return z;\n};\n\nMap.prototype.fold = function (f, z) {\n return fold(f, z, this);\n};\n/**\n Visit every entry in the map, aggregating data.\n\n Order of nodes is not guaranteed.\n\n @param f Function invoked with value and key\n @param map HAMT\n*/\n\n\nvar forEach = hamt.forEach = function (f, map) {\n return fold(function (_, value, key) {\n return f(value, key, map);\n }, null, map);\n};\n\nMap.prototype.forEach = function (f) {\n return forEach(f, this);\n};\n/* Aggregate\n ******************************************************************************/\n\n/**\n Get the number of entries in `map`.\n*/\n\n\nvar count = hamt.count = function (map) {\n return map._size;\n};\n\nMap.prototype.count = function () {\n return count(this);\n};\n\nObject.defineProperty(Map.prototype, 'size', {\n get: Map.prototype.count\n});\n/* Export\n ******************************************************************************/\n\nif ( module.exports) {\n module.exports = hamt;\n} else {\n undefined.hamt = hamt;\n}\n});\n\nclass BuiltInMap {\n constructor(existing) {\n _defineProperty(this, \"_map\", void 0);\n\n this._map = new Map(existing === null || existing === void 0 ? void 0 : existing.entries());\n }\n\n keys() {\n return this._map.keys();\n }\n\n entries() {\n return this._map.entries();\n }\n\n get(k) {\n return this._map.get(k);\n }\n\n has(k) {\n return this._map.has(k);\n }\n\n set(k, v) {\n this._map.set(k, v);\n\n return this;\n }\n\n delete(k) {\n this._map.delete(k);\n\n return this;\n }\n\n clone() {\n return persistentMap(this);\n }\n\n toMap() {\n return new Map(this._map);\n }\n\n}\n\nclass HashArrayMappedTrieMap {\n // Because hamt.empty is not a function there is no way to introduce type\n // parameters on it, so empty is typed as HAMTPlusMap.\n // $FlowIssue\n constructor(existing) {\n _defineProperty(this, \"_hamt\", hamt_1.empty.beginMutation());\n\n if (existing instanceof HashArrayMappedTrieMap) {\n const h = existing._hamt.endMutation();\n\n existing._hamt = h.beginMutation();\n this._hamt = h.beginMutation();\n } else if (existing) {\n for (const [k, v] of existing.entries()) {\n this._hamt.set(k, v);\n }\n }\n }\n\n keys() {\n return this._hamt.keys();\n }\n\n entries() {\n return this._hamt.entries();\n }\n\n get(k) {\n return this._hamt.get(k);\n }\n\n has(k) {\n return this._hamt.has(k);\n }\n\n set(k, v) {\n this._hamt.set(k, v);\n\n return this;\n }\n\n delete(k) {\n this._hamt.delete(k);\n\n return this;\n }\n\n clone() {\n return persistentMap(this);\n }\n\n toMap() {\n return new Map(this._hamt);\n }\n\n}\n\nfunction persistentMap(existing) {\n if (Recoil_gkx('recoil_hamt_2020')) {\n return new HashArrayMappedTrieMap(existing);\n } else {\n return new BuiltInMap(existing);\n }\n}\n\nvar Recoil_PersistentMap = {\n persistentMap\n};\n\nvar Recoil_PersistentMap_1 = Recoil_PersistentMap.persistentMap;\n\nvar Recoil_PersistentMap$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n persistentMap: Recoil_PersistentMap_1\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a set containing all of the values from the first set that are not\n * present in any of the subsequent sets.\n *\n * Note: this is written procedurally (i.e., without filterSet) for performant\n * use in tight loops.\n */\n\nfunction differenceSets(set, ...setsWithValuesToRemove) {\n const ret = new Set();\n\n FIRST: for (const value of set) {\n for (const otherSet of setsWithValuesToRemove) {\n if (otherSet.has(value)) {\n continue FIRST;\n }\n }\n\n ret.add(value);\n }\n\n return ret;\n}\n\nvar Recoil_differenceSets = differenceSets;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a new Map object with the same keys as the original, but with the\n * values replaced with the output of the given callback function.\n */\n\nfunction mapMap(map, callback) {\n const result = new Map();\n map.forEach((value, key) => {\n result.set(key, callback(value, key));\n });\n return result;\n}\n\nvar Recoil_mapMap = mapMap;\n\nfunction makeGraph() {\n return {\n nodeDeps: new Map(),\n nodeToNodeSubscriptions: new Map()\n };\n}\n\nfunction cloneGraph(graph) {\n return {\n nodeDeps: Recoil_mapMap(graph.nodeDeps, s => new Set(s)),\n nodeToNodeSubscriptions: Recoil_mapMap(graph.nodeToNodeSubscriptions, s => new Set(s))\n };\n} // Note that this overwrites the deps of existing nodes, rather than unioning\n// the new deps with the old deps.\n\n\nfunction mergeDepsIntoGraph(key, newDeps, graph, // If olderGraph is given then we will not overwrite changes made to the given\n// graph compared with olderGraph:\nolderGraph) {\n const {\n nodeDeps,\n nodeToNodeSubscriptions\n } = graph;\n const oldDeps = nodeDeps.get(key);\n\n if (oldDeps && olderGraph && oldDeps !== olderGraph.nodeDeps.get(key)) {\n return;\n } // Update nodeDeps:\n\n\n nodeDeps.set(key, newDeps); // Add new deps to nodeToNodeSubscriptions:\n\n const addedDeps = oldDeps == null ? newDeps : Recoil_differenceSets(newDeps, oldDeps);\n\n for (const dep of addedDeps) {\n if (!nodeToNodeSubscriptions.has(dep)) {\n nodeToNodeSubscriptions.set(dep, new Set());\n }\n\n const existing = Recoil_nullthrows(nodeToNodeSubscriptions.get(dep));\n existing.add(key);\n } // Remove removed deps from nodeToNodeSubscriptions:\n\n\n if (oldDeps) {\n const removedDeps = Recoil_differenceSets(oldDeps, newDeps);\n\n for (const dep of removedDeps) {\n if (!nodeToNodeSubscriptions.has(dep)) {\n return;\n }\n\n const existing = Recoil_nullthrows(nodeToNodeSubscriptions.get(dep));\n existing.delete(key);\n\n if (existing.size === 0) {\n nodeToNodeSubscriptions.delete(dep);\n }\n }\n }\n}\n\nfunction saveDepsToStore(key, deps, store, version) {\n var _storeState$nextTree, _storeState$previousT, _storeState$previousT2, _storeState$previousT3;\n\n const storeState = store.getState();\n\n if (!(version === storeState.currentTree.version || version === ((_storeState$nextTree = storeState.nextTree) === null || _storeState$nextTree === void 0 ? void 0 : _storeState$nextTree.version) || version === ((_storeState$previousT = storeState.previousTree) === null || _storeState$previousT === void 0 ? void 0 : _storeState$previousT.version))) {\n Recoil_recoverableViolation('Tried to save dependencies to a discarded tree');\n } // Merge the dependencies discovered into the store's dependency map\n // for the version that was read:\n\n\n const graph = store.getGraph(version);\n mergeDepsIntoGraph(key, deps, graph); // If this version is not the latest version, also write these dependencies\n // into later versions if they don't already have their own:\n\n if (version === ((_storeState$previousT2 = storeState.previousTree) === null || _storeState$previousT2 === void 0 ? void 0 : _storeState$previousT2.version)) {\n const currentGraph = store.getGraph(storeState.currentTree.version);\n mergeDepsIntoGraph(key, deps, currentGraph, graph);\n }\n\n if (version === ((_storeState$previousT3 = storeState.previousTree) === null || _storeState$previousT3 === void 0 ? void 0 : _storeState$previousT3.version) || version === storeState.currentTree.version) {\n var _storeState$nextTree2;\n\n const nextVersion = (_storeState$nextTree2 = storeState.nextTree) === null || _storeState$nextTree2 === void 0 ? void 0 : _storeState$nextTree2.version;\n\n if (nextVersion !== undefined) {\n const nextGraph = store.getGraph(nextVersion);\n mergeDepsIntoGraph(key, deps, nextGraph, graph);\n }\n }\n}\n\nvar Recoil_Graph = {\n cloneGraph,\n graph: makeGraph,\n saveDepsToStore\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nlet nextTreeStateVersion = 0;\n\nconst getNextTreeStateVersion = () => nextTreeStateVersion++;\n\nlet nextStoreID = 0;\n\nconst getNextStoreID = () => nextStoreID++;\n\nlet nextComponentID = 0;\n\nconst getNextComponentID = () => nextComponentID++;\n\nvar Recoil_Keys = {\n getNextTreeStateVersion,\n getNextStoreID,\n getNextComponentID\n};\n\nconst {\n persistentMap: persistentMap$1\n} = Recoil_PersistentMap$1;\n\nconst {\n graph\n} = Recoil_Graph;\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$1\n} = Recoil_Keys;\n\nfunction makeEmptyTreeState() {\n const version = getNextTreeStateVersion$1();\n return {\n version,\n stateID: version,\n transactionMetadata: {},\n dirtyAtoms: new Set(),\n atomValues: persistentMap$1(),\n nonvalidatedAtoms: persistentMap$1()\n };\n}\n\nfunction makeEmptyStoreState() {\n const currentTree = makeEmptyTreeState();\n return {\n currentTree,\n nextTree: null,\n previousTree: null,\n commitDepth: 0,\n knownAtoms: new Set(),\n knownSelectors: new Set(),\n transactionSubscriptions: new Map(),\n nodeTransactionSubscriptions: new Map(),\n nodeToComponentSubscriptions: new Map(),\n queuedComponentCallbacks_DEPRECATED: [],\n suspendedComponentResolvers: new Set(),\n graphsByVersion: new Map().set(currentTree.version, graph()),\n retention: {\n referenceCounts: new Map(),\n nodesRetainedByZone: new Map(),\n retainablesToCheckForRelease: new Set()\n },\n nodeCleanupFunctions: new Map()\n };\n}\n\nvar Recoil_State = {\n makeEmptyTreeState,\n makeEmptyStoreState,\n getNextTreeStateVersion: getNextTreeStateVersion$1\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass RetentionZone {}\n\nfunction retentionZone() {\n return new RetentionZone();\n}\n\nvar Recoil_RetentionZone = {\n RetentionZone,\n retentionZone\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Utilities for working with built-in Maps and Sets without mutating them.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction setByAddingToSet(set, v) {\n const next = new Set(set);\n next.add(v);\n return next;\n}\n\nfunction setByDeletingFromSet(set, v) {\n const next = new Set(set);\n next.delete(v);\n return next;\n}\n\nfunction mapBySettingInMap(map, k, v) {\n const next = new Map(map);\n next.set(k, v);\n return next;\n}\n\nfunction mapByUpdatingInMap(map, k, updater) {\n const next = new Map(map);\n next.set(k, updater(next.get(k)));\n return next;\n}\n\nfunction mapByDeletingFromMap(map, k) {\n const next = new Map(map);\n next.delete(k);\n return next;\n}\n\nfunction mapByDeletingMultipleFromMap(map, ks) {\n const next = new Map(map);\n ks.forEach(k => next.delete(k));\n return next;\n}\n\nvar Recoil_CopyOnWrite = {\n setByAddingToSet,\n setByDeletingFromSet,\n mapBySettingInMap,\n mapByUpdatingInMap,\n mapByDeletingFromMap,\n mapByDeletingMultipleFromMap\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Creates a new iterable whose output is generated by passing the input\n * iterable's values through the filter function.\n */\n\nfunction* filterIterable(iterable, predicate) {\n // Use generator to create iterable/iterator\n let index = 0;\n\n for (const value of iterable) {\n if (predicate(value, index++)) {\n yield value;\n }\n }\n}\n\nvar Recoil_filterIterable = filterIterable;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Return a proxy object based on the provided base and factories objects.\n * The proxy will include all properties of the base object as-is.\n * The factories object contains callbacks to obtain the values of the properies\n * for its keys.\n *\n * This is useful for providing users an object where some properties may be\n * lazily computed only on first access.\n */\n// $FlowIssue[unclear-type]\n\nfunction lazyProxy(base, factories) {\n const proxy = new Proxy(base, {\n // Compute and cache lazy property if not already done.\n get: (target, prop) => {\n if (!(prop in target) && prop in factories) {\n target[prop] = factories[prop]();\n }\n\n return target[prop];\n },\n // This method allows user to iterate keys as normal\n ownKeys: target => {\n\n return Object.keys(target);\n }\n }); // $FlowIssue[incompatible-return]\n\n return proxy;\n}\n\nvar Recoil_lazyProxy = lazyProxy;\n\nconst {\n getNode: getNode$1,\n getNodeMaybe: getNodeMaybe$1,\n recoilValuesForKeys: recoilValuesForKeys$1\n} = Recoil_Node;\n\nconst {\n RetentionZone: RetentionZone$1\n} = Recoil_RetentionZone;\n\nconst {\n setByAddingToSet: setByAddingToSet$1\n} = Recoil_CopyOnWrite;\n\n\n\n\n\n\n\n // flowlint-next-line unclear-type:off\n\n\nconst emptySet = Object.freeze(new Set());\n\nclass ReadOnlyRecoilValueError extends Error {}\n\nfunction initializeRetentionForNode(store, nodeKey, retainedBy) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return () => undefined;\n }\n\n const {\n nodesRetainedByZone\n } = store.getState().retention;\n\n function addToZone(zone) {\n let set = nodesRetainedByZone.get(zone);\n\n if (!set) {\n nodesRetainedByZone.set(zone, set = new Set());\n }\n\n set.add(nodeKey);\n }\n\n if (retainedBy instanceof RetentionZone$1) {\n addToZone(retainedBy);\n } else if (Array.isArray(retainedBy)) {\n for (const zone of retainedBy) {\n addToZone(zone);\n }\n }\n\n return () => {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const {\n retention\n } = store.getState();\n\n function deleteFromZone(zone) {\n const set = retention.nodesRetainedByZone.get(zone);\n set === null || set === void 0 ? void 0 : set.delete(nodeKey);\n\n if (set && set.size === 0) {\n retention.nodesRetainedByZone.delete(zone);\n }\n }\n\n if (retainedBy instanceof RetentionZone$1) {\n deleteFromZone(retainedBy);\n } else if (Array.isArray(retainedBy)) {\n for (const zone of retainedBy) {\n deleteFromZone(zone);\n }\n }\n };\n}\n\nfunction initializeNodeIfNewToStore(store, treeState, key, trigger) {\n const storeState = store.getState();\n\n if (storeState.nodeCleanupFunctions.has(key)) {\n return;\n }\n\n const node = getNode$1(key);\n const retentionCleanup = initializeRetentionForNode(store, key, node.retainedBy);\n const nodeCleanup = node.init(store, treeState, trigger);\n storeState.nodeCleanupFunctions.set(key, () => {\n nodeCleanup();\n retentionCleanup();\n });\n}\n\nfunction initializeNode(store, key, trigger) {\n initializeNodeIfNewToStore(store, store.getState().currentTree, key, trigger);\n}\n\nfunction cleanUpNode(store, key) {\n var _state$nodeCleanupFun;\n\n const state = store.getState();\n (_state$nodeCleanupFun = state.nodeCleanupFunctions.get(key)) === null || _state$nodeCleanupFun === void 0 ? void 0 : _state$nodeCleanupFun();\n state.nodeCleanupFunctions.delete(key);\n} // Get the current value loadable of a node and update the state.\n// Update dependencies and subscriptions for selectors.\n// Update saved value validation for atoms.\n\n\nfunction getNodeLoadable(store, state, key) {\n initializeNodeIfNewToStore(store, state, key, 'get');\n return getNode$1(key).get(store, state);\n} // Peek at the current value loadable for a node without any evaluation or state change\n\n\nfunction peekNodeLoadable(store, state, key) {\n return getNode$1(key).peek(store, state);\n} // Write value directly to state bypassing the Node interface as the node\n// definitions may not have been loaded yet when processing the initial snapshot.\n\n\nfunction setUnvalidatedAtomValue_DEPRECATED(state, key, newValue) {\n var _node$invalidate;\n\n const node = getNodeMaybe$1(key);\n node === null || node === void 0 ? void 0 : (_node$invalidate = node.invalidate) === null || _node$invalidate === void 0 ? void 0 : _node$invalidate.call(node, state);\n return { ...state,\n atomValues: state.atomValues.clone().delete(key),\n nonvalidatedAtoms: state.nonvalidatedAtoms.clone().set(key, newValue),\n dirtyAtoms: setByAddingToSet$1(state.dirtyAtoms, key)\n };\n} // Return the discovered dependencies and values to be written by setting\n// a node value. (Multiple values may be written due to selectors getting to\n// set upstreams; deps may be discovered because of reads in updater functions.)\n\n\nfunction setNodeValue(store, state, key, newValue) {\n const node = getNode$1(key);\n\n if (node.set == null) {\n throw new ReadOnlyRecoilValueError(`Attempt to set read-only RecoilValue: ${key}`);\n }\n\n const set = node.set; // so flow doesn't lose the above refinement.\n\n initializeNodeIfNewToStore(store, state, key, 'set');\n return set(store, state, newValue);\n}\n\nfunction peekNodeInfo(store, state, key) {\n const storeState = store.getState();\n const graph = store.getGraph(state.version);\n const type = getNode$1(key).nodeType;\n return Recoil_lazyProxy({\n type\n }, {\n loadable: () => peekNodeLoadable(store, state, key),\n isActive: () => storeState.knownAtoms.has(key) || storeState.knownSelectors.has(key),\n isSet: () => type === 'selector' ? false : state.atomValues.has(key),\n isModified: () => state.dirtyAtoms.has(key),\n // Report current dependencies. If the node hasn't been evaluated, then\n // dependencies may be missing based on the current state.\n deps: () => {\n var _graph$nodeDeps$get;\n\n return recoilValuesForKeys$1((_graph$nodeDeps$get = graph.nodeDeps.get(key)) !== null && _graph$nodeDeps$get !== void 0 ? _graph$nodeDeps$get : []);\n },\n // Reports all \"current\" subscribers. Evaluating other nodes or\n // previous in-progress async evaluations may introduce new subscribers.\n subscribers: () => {\n var _storeState$nodeToCom, _storeState$nodeToCom2;\n\n return {\n nodes: recoilValuesForKeys$1(Recoil_filterIterable(getDownstreamNodes(store, state, new Set([key])), nodeKey => nodeKey !== key)),\n components: Recoil_mapIterable((_storeState$nodeToCom = (_storeState$nodeToCom2 = storeState.nodeToComponentSubscriptions.get(key)) === null || _storeState$nodeToCom2 === void 0 ? void 0 : _storeState$nodeToCom2.values()) !== null && _storeState$nodeToCom !== void 0 ? _storeState$nodeToCom : [], ([name]) => ({\n name\n }))\n };\n }\n });\n} // Find all of the recursively dependent nodes\n\n\nfunction getDownstreamNodes(store, state, keys) {\n const visitedNodes = new Set();\n const visitingNodes = Array.from(keys);\n const graph = store.getGraph(state.version);\n\n for (let key = visitingNodes.pop(); key; key = visitingNodes.pop()) {\n var _graph$nodeToNodeSubs;\n\n visitedNodes.add(key);\n const subscribedNodes = (_graph$nodeToNodeSubs = graph.nodeToNodeSubscriptions.get(key)) !== null && _graph$nodeToNodeSubs !== void 0 ? _graph$nodeToNodeSubs : emptySet;\n\n for (const downstreamNode of subscribedNodes) {\n if (!visitedNodes.has(downstreamNode)) {\n visitingNodes.push(downstreamNode);\n }\n }\n }\n\n return visitedNodes;\n}\n\nvar Recoil_FunctionalCore = {\n getNodeLoadable,\n peekNodeLoadable,\n setNodeValue,\n initializeNode,\n cleanUpNode,\n setUnvalidatedAtomValue_DEPRECATED,\n peekNodeInfo,\n getDownstreamNodes\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nlet _invalidateMemoizedSnapshot = null;\n\nfunction setInvalidateMemoizedSnapshot(invalidate) {\n _invalidateMemoizedSnapshot = invalidate;\n}\n\nfunction invalidateMemoizedSnapshot() {\n var _invalidateMemoizedSn;\n\n (_invalidateMemoizedSn = _invalidateMemoizedSnapshot) === null || _invalidateMemoizedSn === void 0 ? void 0 : _invalidateMemoizedSn();\n}\n\nvar Recoil_SnapshotCache = {\n setInvalidateMemoizedSnapshot,\n invalidateMemoizedSnapshot\n};\n\nconst {\n getDownstreamNodes: getDownstreamNodes$1,\n getNodeLoadable: getNodeLoadable$1,\n setNodeValue: setNodeValue$1\n} = Recoil_FunctionalCore;\n\nconst {\n getNextComponentID: getNextComponentID$1\n} = Recoil_Keys;\n\nconst {\n getNode: getNode$2,\n getNodeMaybe: getNodeMaybe$2\n} = Recoil_Node;\n\nconst {\n DefaultValue: DefaultValue$1\n} = Recoil_Node;\n\nconst {\n reactMode: reactMode$1\n} = Recoil_ReactMode;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$1,\n RecoilState: RecoilState$1,\n RecoilValueReadOnly: RecoilValueReadOnly$1,\n isRecoilValue: isRecoilValue$1\n} = Recoil_RecoilValue$1;\n\nconst {\n invalidateMemoizedSnapshot: invalidateMemoizedSnapshot$1\n} = Recoil_SnapshotCache;\n\n\n\n\n\n\n\nfunction getRecoilValueAsLoadable(store, {\n key\n}, treeState = store.getState().currentTree) {\n var _storeState$nextTree, _storeState$previousT;\n\n // Reading from an older tree can cause bugs because the dependencies that we\n // discover during the read are lost.\n const storeState = store.getState();\n\n if (!(treeState.version === storeState.currentTree.version || treeState.version === ((_storeState$nextTree = storeState.nextTree) === null || _storeState$nextTree === void 0 ? void 0 : _storeState$nextTree.version) || treeState.version === ((_storeState$previousT = storeState.previousTree) === null || _storeState$previousT === void 0 ? void 0 : _storeState$previousT.version))) {\n Recoil_recoverableViolation('Tried to read from a discarded tree');\n }\n\n const loadable = getNodeLoadable$1(store, treeState, key);\n\n if (loadable.state === 'loading') {\n loadable.contents.catch(() => {\n /**\n * HACK: intercept thrown error here to prevent an uncaught promise exception. Ideally this would happen closer to selector\n * execution (perhaps introducing a new ERROR class to be resolved by async selectors that are in an error state)\n */\n return;\n });\n }\n\n return loadable;\n}\n\nfunction applyAtomValueWrites(atomValues, writes) {\n const result = atomValues.clone();\n writes.forEach((v, k) => {\n if (v.state === 'hasValue' && v.contents instanceof DefaultValue$1) {\n result.delete(k);\n } else {\n result.set(k, v);\n }\n });\n return result;\n}\n\nfunction valueFromValueOrUpdater(store, state, {\n key\n}, valueOrUpdater) {\n if (typeof valueOrUpdater === 'function') {\n // Updater form: pass in the current value. Throw if the current value\n // is unavailable (namely when updating an async selector that's\n // pending or errored):\n const current = getNodeLoadable$1(store, state, key);\n\n if (current.state === 'loading') {\n const msg = `Tried to set atom or selector \"${key}\" using an updater function while the current state is pending, this is not currently supported.`;\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n } else if (current.state === 'hasError') {\n throw current.contents;\n } // T itself may be a function, so our refinement is not sufficient:\n\n\n return valueOrUpdater(current.contents); // flowlint-line unclear-type:off\n } else {\n return valueOrUpdater;\n }\n}\n\nfunction applyAction(store, state, action) {\n if (action.type === 'set') {\n const {\n recoilValue,\n valueOrUpdater\n } = action;\n const newValue = valueFromValueOrUpdater(store, state, recoilValue, valueOrUpdater);\n const writes = setNodeValue$1(store, state, recoilValue.key, newValue);\n\n for (const [key, loadable] of writes.entries()) {\n writeLoadableToTreeState(state, key, loadable);\n }\n } else if (action.type === 'setLoadable') {\n const {\n recoilValue: {\n key\n },\n loadable\n } = action;\n writeLoadableToTreeState(state, key, loadable);\n } else if (action.type === 'markModified') {\n const {\n recoilValue: {\n key\n }\n } = action;\n state.dirtyAtoms.add(key);\n } else if (action.type === 'setUnvalidated') {\n var _node$invalidate;\n\n // Write value directly to state bypassing the Node interface as the node\n // definitions may not have been loaded yet when processing the initial snapshot.\n const {\n recoilValue: {\n key\n },\n unvalidatedValue\n } = action;\n const node = getNodeMaybe$2(key);\n node === null || node === void 0 ? void 0 : (_node$invalidate = node.invalidate) === null || _node$invalidate === void 0 ? void 0 : _node$invalidate.call(node, state);\n state.atomValues.delete(key);\n state.nonvalidatedAtoms.set(key, unvalidatedValue);\n state.dirtyAtoms.add(key);\n } else {\n Recoil_recoverableViolation(`Unknown action ${action.type}`);\n }\n}\n\nfunction writeLoadableToTreeState(state, key, loadable) {\n if (loadable.state === 'hasValue' && loadable.contents instanceof DefaultValue$1) {\n state.atomValues.delete(key);\n } else {\n state.atomValues.set(key, loadable);\n }\n\n state.dirtyAtoms.add(key);\n state.nonvalidatedAtoms.delete(key);\n}\n\nfunction applyActionsToStore(store, actions) {\n store.replaceState(state => {\n const newState = copyTreeState(state);\n\n for (const action of actions) {\n applyAction(store, newState, action);\n }\n\n invalidateDownstreams(store, newState);\n invalidateMemoizedSnapshot$1();\n return newState;\n });\n}\n\nfunction queueOrPerformStateUpdate(store, action) {\n if (batchStack.length) {\n const actionsByStore = batchStack[batchStack.length - 1];\n let actions = actionsByStore.get(store);\n\n if (!actions) {\n actionsByStore.set(store, actions = []);\n }\n\n actions.push(action);\n } else {\n applyActionsToStore(store, [action]);\n }\n}\n\nconst batchStack = [];\n\nfunction batchStart() {\n const actionsByStore = new Map();\n batchStack.push(actionsByStore);\n return () => {\n for (const [store, actions] of actionsByStore) {\n applyActionsToStore(store, actions);\n }\n\n const popped = batchStack.pop();\n\n if (popped !== actionsByStore) {\n Recoil_recoverableViolation('Incorrect order of batch popping');\n }\n };\n}\n\nfunction copyTreeState(state) {\n return { ...state,\n atomValues: state.atomValues.clone(),\n nonvalidatedAtoms: state.nonvalidatedAtoms.clone(),\n dirtyAtoms: new Set(state.dirtyAtoms)\n };\n}\n\nfunction invalidateDownstreams(store, state) {\n // Inform any nodes that were changed or downstream of changes so that they\n // can clear out any caches as needed due to the update:\n const downstreams = getDownstreamNodes$1(store, state, state.dirtyAtoms);\n\n for (const key of downstreams) {\n var _getNodeMaybe, _getNodeMaybe$invalid;\n\n (_getNodeMaybe = getNodeMaybe$2(key)) === null || _getNodeMaybe === void 0 ? void 0 : (_getNodeMaybe$invalid = _getNodeMaybe.invalidate) === null || _getNodeMaybe$invalid === void 0 ? void 0 : _getNodeMaybe$invalid.call(_getNodeMaybe, state);\n }\n}\n\nfunction setRecoilValue(store, recoilValue, valueOrUpdater) {\n queueOrPerformStateUpdate(store, {\n type: 'set',\n recoilValue,\n valueOrUpdater\n });\n}\n\nfunction setRecoilValueLoadable(store, recoilValue, loadable) {\n if (loadable instanceof DefaultValue$1) {\n return setRecoilValue(store, recoilValue, loadable);\n }\n\n queueOrPerformStateUpdate(store, {\n type: 'setLoadable',\n recoilValue,\n loadable: loadable\n });\n}\n\nfunction markRecoilValueModified(store, recoilValue) {\n queueOrPerformStateUpdate(store, {\n type: 'markModified',\n recoilValue\n });\n}\n\nfunction setUnvalidatedRecoilValue(store, recoilValue, unvalidatedValue) {\n queueOrPerformStateUpdate(store, {\n type: 'setUnvalidated',\n recoilValue,\n unvalidatedValue\n });\n}\n\nfunction subscribeToRecoilValue(store, {\n key\n}, callback, componentDebugName = null) {\n const subID = getNextComponentID$1();\n const storeState = store.getState();\n\n if (!storeState.nodeToComponentSubscriptions.has(key)) {\n storeState.nodeToComponentSubscriptions.set(key, new Map());\n }\n\n Recoil_nullthrows(storeState.nodeToComponentSubscriptions.get(key)).set(subID, [componentDebugName !== null && componentDebugName !== void 0 ? componentDebugName : '', callback]); // Handle the case that, during the same tick that we are subscribing, an atom\n // has been updated by some effect handler. Otherwise we will miss the update.\n\n const mode = reactMode$1();\n\n if (mode.early && (mode.mode === 'LEGACY' || mode.mode === 'MUTABLE_SOURCE')) {\n const nextTree = store.getState().nextTree;\n\n if (nextTree && nextTree.dirtyAtoms.has(key)) {\n callback(nextTree);\n }\n }\n\n return {\n release: () => {\n const releaseStoreState = store.getState();\n const subs = releaseStoreState.nodeToComponentSubscriptions.get(key);\n\n if (subs === undefined || !subs.has(subID)) {\n Recoil_recoverableViolation(`Subscription missing at release time for atom ${key}. This is a bug in Recoil.`);\n return;\n }\n\n subs.delete(subID);\n\n if (subs.size === 0) {\n releaseStoreState.nodeToComponentSubscriptions.delete(key);\n }\n }\n };\n}\n\nfunction refreshRecoilValue(store, recoilValue) {\n var _node$clearCache;\n\n const {\n currentTree\n } = store.getState();\n const node = getNode$2(recoilValue.key);\n (_node$clearCache = node.clearCache) === null || _node$clearCache === void 0 ? void 0 : _node$clearCache.call(node, store, currentTree);\n}\n\nvar Recoil_RecoilValueInterface = {\n RecoilValueReadOnly: RecoilValueReadOnly$1,\n AbstractRecoilValue: AbstractRecoilValue$1,\n RecoilState: RecoilState$1,\n getRecoilValueAsLoadable,\n setRecoilValue,\n setRecoilValueLoadable,\n markRecoilValueModified,\n setUnvalidatedRecoilValue,\n subscribeToRecoilValue,\n isRecoilValue: isRecoilValue$1,\n applyAtomValueWrites,\n // TODO Remove export when deprecating initialStoreState_DEPRECATED in RecoilRoot\n batchStart,\n writeLoadableToTreeState,\n invalidateDownstreams,\n copyTreeState,\n refreshRecoilValue\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * The someSet() method tests whether some elements in the given Set pass the\n * test implemented by the provided function.\n */\n\nfunction someSet(set, callback, context) {\n const iterator = set.entries();\n let current = iterator.next();\n\n while (!current.done) {\n const entry = current.value;\n\n if (callback.call(context, entry[1], entry[0], set)) {\n return true;\n }\n\n current = iterator.next();\n }\n\n return false;\n}\n\nvar Recoil_someSet = someSet;\n\nconst {\n cleanUpNode: cleanUpNode$1\n} = Recoil_FunctionalCore;\n\nconst {\n deleteNodeConfigIfPossible: deleteNodeConfigIfPossible$1,\n getNode: getNode$3\n} = Recoil_Node;\n\nconst {\n RetentionZone: RetentionZone$2\n} = Recoil_RetentionZone;\n\n\n\n\n\n\n\n // Components that aren't mounted after suspending for this long will be assumed\n// to be discarded and their resources released.\n\n\nconst SUSPENSE_TIMEOUT_MS = 120000;\nconst emptySet$1 = new Set();\n\nfunction releaseRetainablesNowOnCurrentTree(store, retainables) {\n const storeState = store.getState();\n const treeState = storeState.currentTree;\n\n if (storeState.nextTree) {\n Recoil_recoverableViolation('releaseNodesNowOnCurrentTree should only be called at the end of a batch');\n return; // leak memory rather than erase something that's about to be used.\n }\n\n const nodes = new Set();\n\n for (const r of retainables) {\n if (r instanceof RetentionZone$2) {\n for (const n of nodesRetainedByZone(storeState, r)) {\n nodes.add(n);\n }\n } else {\n nodes.add(r);\n }\n }\n\n const releasableNodes = findReleasableNodes(store, nodes);\n\n for (const node of releasableNodes) {\n releaseNode(store, treeState, node);\n }\n}\n\nfunction findReleasableNodes(store, searchFromNodes) {\n const storeState = store.getState();\n const treeState = storeState.currentTree;\n const graph = store.getGraph(treeState.version);\n const releasableNodes = new Set(); // mutated to collect answer\n\n const nonReleasableNodes = new Set();\n findReleasableNodesInner(searchFromNodes);\n return releasableNodes;\n\n function findReleasableNodesInner(searchFromNodes) {\n const releasableNodesFoundThisIteration = new Set();\n const downstreams = getDownstreamNodesInTopologicalOrder(store, treeState, searchFromNodes, releasableNodes, // don't descend into these\n nonReleasableNodes // don't descend into these\n ); // Find which of the downstream nodes are releasable and which are not:\n\n for (const node of downstreams) {\n var _storeState$retention;\n\n // Not releasable if configured to be retained forever:\n if (getNode$3(node).retainedBy === 'recoilRoot') {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if retained directly by a component:\n\n\n if (((_storeState$retention = storeState.retention.referenceCounts.get(node)) !== null && _storeState$retention !== void 0 ? _storeState$retention : 0) > 0) {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if retained by a zone:\n\n\n if (zonesThatCouldRetainNode(node).some(z => storeState.retention.referenceCounts.get(z))) {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if it has a non-releasable child (which will already be in\n // nonReleasableNodes because we are going in topological order):\n\n\n const nodeChildren = graph.nodeToNodeSubscriptions.get(node);\n\n if (nodeChildren && Recoil_someSet(nodeChildren, child => nonReleasableNodes.has(child))) {\n nonReleasableNodes.add(node);\n continue;\n }\n\n releasableNodes.add(node);\n releasableNodesFoundThisIteration.add(node);\n } // If we found any releasable nodes, we need to walk UP from those nodes to\n // find whether their parents can now be released as well:\n\n\n const parents = new Set();\n\n for (const node of releasableNodesFoundThisIteration) {\n for (const parent of (_graph$nodeDeps$get = graph.nodeDeps.get(node)) !== null && _graph$nodeDeps$get !== void 0 ? _graph$nodeDeps$get : emptySet$1) {\n var _graph$nodeDeps$get;\n\n if (!releasableNodes.has(parent)) {\n parents.add(parent);\n }\n }\n }\n\n if (parents.size) {\n findReleasableNodesInner(parents);\n }\n }\n} // Children before parents\n\n\nfunction getDownstreamNodesInTopologicalOrder(store, treeState, nodes, // Mutable set is destroyed in place\ndoNotDescendInto1, doNotDescendInto2) {\n const graph = store.getGraph(treeState.version);\n const answer = [];\n const visited = new Set();\n\n while (nodes.size > 0) {\n visit(Recoil_nullthrows(nodes.values().next().value));\n }\n\n return answer;\n\n function visit(node) {\n if (doNotDescendInto1.has(node) || doNotDescendInto2.has(node)) {\n nodes.delete(node);\n return;\n }\n\n if (visited.has(node)) {\n return;\n }\n\n const children = graph.nodeToNodeSubscriptions.get(node);\n\n if (children) {\n for (const child of children) {\n visit(child);\n }\n }\n\n visited.add(node);\n nodes.delete(node);\n answer.push(node);\n }\n}\n\nfunction releaseNode(store, treeState, node) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // Atom effects, in-closure caches, etc.:\n\n\n cleanUpNode$1(store, node); // Delete from store state:\n\n const storeState = store.getState();\n storeState.knownAtoms.delete(node);\n storeState.knownSelectors.delete(node);\n storeState.nodeTransactionSubscriptions.delete(node);\n storeState.retention.referenceCounts.delete(node);\n const zones = zonesThatCouldRetainNode(node);\n\n for (const zone of zones) {\n var _storeState$retention2;\n\n (_storeState$retention2 = storeState.retention.nodesRetainedByZone.get(zone)) === null || _storeState$retention2 === void 0 ? void 0 : _storeState$retention2.delete(node);\n } // Note that we DO NOT delete from nodeToComponentSubscriptions because this\n // already happens when the last component that was retaining the node unmounts,\n // and this could happen either before or after that.\n // Delete from TreeState and dep graph:\n\n\n treeState.atomValues.delete(node);\n treeState.dirtyAtoms.delete(node);\n treeState.nonvalidatedAtoms.delete(node);\n const graph = storeState.graphsByVersion.get(treeState.version);\n\n if (graph) {\n const deps = graph.nodeDeps.get(node);\n\n if (deps !== undefined) {\n graph.nodeDeps.delete(node);\n\n for (const dep of deps) {\n var _graph$nodeToNodeSubs;\n\n (_graph$nodeToNodeSubs = graph.nodeToNodeSubscriptions.get(dep)) === null || _graph$nodeToNodeSubs === void 0 ? void 0 : _graph$nodeToNodeSubs.delete(node);\n }\n } // No need to delete sub's deps as there should be no subs at this point.\n // But an invariant would require deleting nodes in topological order.\n\n\n graph.nodeToNodeSubscriptions.delete(node);\n } // Node config (for family members only as their configs can be recreated, and\n // only if they are not retained within any other Stores):\n\n\n deleteNodeConfigIfPossible$1(node);\n}\n\nfunction nodesRetainedByZone(storeState, zone) {\n var _storeState$retention3;\n\n return (_storeState$retention3 = storeState.retention.nodesRetainedByZone.get(zone)) !== null && _storeState$retention3 !== void 0 ? _storeState$retention3 : emptySet$1;\n}\n\nfunction zonesThatCouldRetainNode(node) {\n const retainedBy = getNode$3(node).retainedBy;\n\n if (retainedBy === undefined || retainedBy === 'components' || retainedBy === 'recoilRoot') {\n return [];\n } else if (retainedBy instanceof RetentionZone$2) {\n return [retainedBy];\n } else {\n return retainedBy; // it's an array of zones\n }\n}\n\nfunction scheduleOrPerformPossibleReleaseOfRetainable(store, retainable) {\n const state = store.getState();\n\n if (state.nextTree) {\n state.retention.retainablesToCheckForRelease.add(retainable);\n } else {\n releaseRetainablesNowOnCurrentTree(store, new Set([retainable]));\n }\n}\n\nfunction updateRetainCount(store, retainable, delta) {\n var _map$get;\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const map = store.getState().retention.referenceCounts;\n const newCount = ((_map$get = map.get(retainable)) !== null && _map$get !== void 0 ? _map$get : 0) + delta;\n\n if (newCount === 0) {\n updateRetainCountToZero(store, retainable);\n } else {\n map.set(retainable, newCount);\n }\n}\n\nfunction updateRetainCountToZero(store, retainable) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const map = store.getState().retention.referenceCounts;\n map.delete(retainable);\n scheduleOrPerformPossibleReleaseOfRetainable(store, retainable);\n}\n\nfunction releaseScheduledRetainablesNow(store) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const state = store.getState();\n releaseRetainablesNowOnCurrentTree(store, state.retention.retainablesToCheckForRelease);\n state.retention.retainablesToCheckForRelease.clear();\n}\n\nfunction retainedByOptionWithDefault(r) {\n // The default will change from 'recoilRoot' to 'components' in the future.\n return r === undefined ? 'recoilRoot' : r;\n}\n\nvar Recoil_Retention = {\n SUSPENSE_TIMEOUT_MS,\n updateRetainCount,\n updateRetainCountToZero,\n releaseScheduledRetainablesNow,\n retainedByOptionWithDefault\n};\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is to export esstiential functions from react-dom\n * for our web build\n *\n * \n * @format\n * @oncall recoil\n */\nconst {\n unstable_batchedUpdates\n} = reactDom;\n\nvar ReactBatchedUpdates = {\n unstable_batchedUpdates\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is to export esstiential functions from react-dom\n * for our web build\n *\n * \n * @format\n * @oncall recoil\n */\n// @fb-only: const {unstable_batchedUpdates} = require('ReactDOMComet');\n// prettier-ignore\nconst {\n unstable_batchedUpdates: unstable_batchedUpdates$1\n} = ReactBatchedUpdates; // @oss-only\n\n\nvar Recoil_ReactBatchedUpdates = {\n unstable_batchedUpdates: unstable_batchedUpdates$1\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\nconst {\n batchStart: batchStart$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n unstable_batchedUpdates: unstable_batchedUpdates$2\n} = Recoil_ReactBatchedUpdates;\n\nlet batcher = unstable_batchedUpdates$2; // flowlint-next-line unclear-type:off\n\n/**\n * Sets the provided batcher function as the batcher function used by Recoil.\n *\n * Set the batcher to a custom batcher for your renderer,\n * if you use a renderer other than React DOM or React Native.\n */\nconst setBatcher = newBatcher => {\n batcher = newBatcher;\n};\n/**\n * Returns the current batcher function.\n */\n\n\nconst getBatcher = () => batcher;\n/**\n * Calls the current batcher function and passes the\n * provided callback function.\n */\n\n\nconst batchUpdates = callback => {\n batcher(() => {\n let batchEnd = () => undefined;\n\n try {\n batchEnd = batchStart$1();\n callback();\n } finally {\n batchEnd();\n }\n });\n};\n\nvar Recoil_Batching = {\n getBatcher,\n setBatcher,\n batchUpdates\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Combines multiple Iterables into a single Iterable.\n * Traverses the input Iterables in the order provided and maintains the order\n * of their elements.\n *\n * Example:\n * ```\n * const r = Array.from(concatIterables(['a', 'b'], ['c'], ['d', 'e', 'f']));\n * r == ['a', 'b', 'c', 'd', 'e', 'f'];\n * ```\n */\n\nfunction* concatIterables(iters) {\n for (const iter of iters) {\n for (const val of iter) {\n yield val;\n }\n }\n}\n\nvar Recoil_concatIterables = concatIterables;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/* eslint-disable fb-www/typeof-undefined */\n\nconst isSSR = // $FlowFixMe(site=recoil) Window does not have a FlowType definition https://github.com/facebook/flow/issues/6709\ntypeof Window === 'undefined' || typeof window === 'undefined';\n/* eslint-enable fb-www/typeof-undefined */\n\nconst isWindow = value => !isSSR && ( // $FlowFixMe(site=recoil) Window does not have a FlowType definition https://github.com/facebook/flow/issues/6709\nvalue === window || value instanceof Window);\n\nconst isReactNative = typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; // eslint-disable-line fb-www/typeof-undefined\n\nvar Recoil_Environment = {\n isSSR,\n isReactNative,\n isWindow\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Caches a function's results based on the key returned by the passed\n * hashFunction.\n */\n\nfunction memoizeWithArgsHash(fn, hashFunction) {\n let cache;\n\n const memoizedFn = (...args) => {\n if (!cache) {\n cache = {};\n }\n\n const key = hashFunction(...args);\n\n if (!Object.hasOwnProperty.call(cache, key)) {\n cache[key] = fn(...args);\n }\n\n return cache[key];\n };\n\n return memoizedFn;\n}\n/**\n * Caches a function's results based on a comparison of the arguments.\n * Only caches the last return of the function.\n * Defaults to reference equality\n */\n\n\nfunction memoizeOneWithArgsHash(fn, hashFunction) {\n let lastKey;\n let lastResult; // breaking cache when arguments change\n\n const memoizedFn = (...args) => {\n const key = hashFunction(...args);\n\n if (lastKey === key) {\n return lastResult;\n }\n\n lastKey = key;\n lastResult = fn(...args);\n return lastResult;\n };\n\n return memoizedFn;\n}\n/**\n * Caches a function's results based on a comparison of the arguments.\n * Only caches the last return of the function.\n * Defaults to reference equality\n */\n\n\nfunction memoizeOneWithArgsHashAndInvalidation(fn, hashFunction) {\n let lastKey;\n let lastResult; // breaking cache when arguments change\n\n const memoizedFn = (...args) => {\n const key = hashFunction(...args);\n\n if (lastKey === key) {\n return lastResult;\n }\n\n lastKey = key;\n lastResult = fn(...args);\n return lastResult;\n };\n\n const invalidate = () => {\n lastKey = null;\n };\n\n return [memoizedFn, invalidate];\n}\n\nvar Recoil_Memoize = {\n memoizeWithArgsHash,\n memoizeOneWithArgsHash,\n memoizeOneWithArgsHashAndInvalidation\n};\n\nconst {\n batchUpdates: batchUpdates$1\n} = Recoil_Batching;\n\nconst {\n initializeNode: initializeNode$1,\n peekNodeInfo: peekNodeInfo$1\n} = Recoil_FunctionalCore;\n\nconst {\n graph: graph$1\n} = Recoil_Graph;\n\nconst {\n getNextStoreID: getNextStoreID$1\n} = Recoil_Keys;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$1,\n recoilValues: recoilValues$1,\n recoilValuesForKeys: recoilValuesForKeys$2\n} = Recoil_Node;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$2,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$1,\n setRecoilValue: setRecoilValue$1,\n setUnvalidatedRecoilValue: setUnvalidatedRecoilValue$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n updateRetainCount: updateRetainCount$1\n} = Recoil_Retention;\n\nconst {\n setInvalidateMemoizedSnapshot: setInvalidateMemoizedSnapshot$1\n} = Recoil_SnapshotCache;\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$2,\n makeEmptyStoreState: makeEmptyStoreState$1\n} = Recoil_State;\n\n\n\nconst {\n isSSR: isSSR$1\n} = Recoil_Environment;\n\n\n\n\n\n\n\n\n\nconst {\n memoizeOneWithArgsHashAndInvalidation: memoizeOneWithArgsHashAndInvalidation$1\n} = Recoil_Memoize;\n\n\n\n // Opaque at this surface because it's part of the public API from here.\n\n\nconst retainWarning = `\nRecoil Snapshots only last for the duration of the callback they are provided to. To keep a Snapshot longer, do this:\n\n const release = snapshot.retain();\n try {\n await doSomethingWithSnapshot(snapshot);\n } finally {\n release();\n }\n\nThis is currently a DEV-only warning but will become a thrown exception in the next release of Recoil.\n`; // A \"Snapshot\" is \"read-only\" and captures a specific set of values of atoms.\n// However, the data-flow-graph and selector values may evolve as selector\n// evaluation functions are executed and async selectors resolve.\n\nclass Snapshot {\n // eslint-disable-next-line fb-www/no-uninitialized-properties\n constructor(storeState, parentStoreID) {\n _defineProperty(this, \"_store\", void 0);\n\n _defineProperty(this, \"_refCount\", 1);\n\n _defineProperty(this, \"getLoadable\", recoilValue => {\n this.checkRefCount_INTERNAL();\n return getRecoilValueAsLoadable$1(this._store, recoilValue);\n });\n\n _defineProperty(this, \"getPromise\", recoilValue => {\n this.checkRefCount_INTERNAL();\n return this.getLoadable(recoilValue).toPromise();\n });\n\n _defineProperty(this, \"getNodes_UNSTABLE\", opt => {\n this.checkRefCount_INTERNAL(); // TODO Deal with modified selectors\n\n if ((opt === null || opt === void 0 ? void 0 : opt.isModified) === true) {\n if ((opt === null || opt === void 0 ? void 0 : opt.isInitialized) === false) {\n return [];\n }\n\n const state = this._store.getState().currentTree;\n\n return recoilValuesForKeys$2(state.dirtyAtoms);\n }\n\n const knownAtoms = this._store.getState().knownAtoms;\n\n const knownSelectors = this._store.getState().knownSelectors;\n\n return (opt === null || opt === void 0 ? void 0 : opt.isInitialized) == null ? recoilValues$1.values() : opt.isInitialized === true ? recoilValuesForKeys$2(Recoil_concatIterables([knownAtoms, knownSelectors])) : Recoil_filterIterable(recoilValues$1.values(), ({\n key\n }) => !knownAtoms.has(key) && !knownSelectors.has(key));\n });\n\n _defineProperty(this, \"getInfo_UNSTABLE\", ({\n key\n }) => {\n this.checkRefCount_INTERNAL();\n return peekNodeInfo$1(this._store, this._store.getState().currentTree, key);\n });\n\n _defineProperty(this, \"map\", mapper => {\n this.checkRefCount_INTERNAL();\n const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);\n mapper(mutableSnapshot); // if removing batchUpdates from `set` add it here\n\n return mutableSnapshot;\n });\n\n _defineProperty(this, \"asyncMap\", async mapper => {\n this.checkRefCount_INTERNAL();\n const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);\n mutableSnapshot.retain(); // Retain new snapshot during async mapper\n\n await mapper(mutableSnapshot); // Continue to retain the new snapshot for the user, but auto-release it\n // after the next tick, the same as a new synchronous snapshot.\n\n mutableSnapshot.autoRelease_INTERNAL();\n return mutableSnapshot;\n });\n\n this._store = {\n storeID: getNextStoreID$1(),\n parentStoreID,\n getState: () => storeState,\n replaceState: replacer => {\n // no batching, so nextTree is never active\n storeState.currentTree = replacer(storeState.currentTree);\n },\n getGraph: version => {\n const graphs = storeState.graphsByVersion;\n\n if (graphs.has(version)) {\n return Recoil_nullthrows(graphs.get(version));\n }\n\n const newGraph = graph$1();\n graphs.set(version, newGraph);\n return newGraph;\n },\n subscribeToTransactions: () => ({\n release: () => {}\n }),\n addTransactionMetadata: () => {\n throw Recoil_err('Cannot subscribe to Snapshots');\n }\n }; // Initialize any nodes that are live in the parent store (primarily so that\n // this snapshot gets counted towards the node's live stores count).\n // TODO Optimize this when cloning snapshots for callbacks\n\n for (const nodeKey of this._store.getState().knownAtoms) {\n initializeNode$1(this._store, nodeKey, 'get');\n updateRetainCount$1(this._store, nodeKey, 1);\n }\n\n this.autoRelease_INTERNAL();\n }\n\n retain() {\n if (this._refCount <= 0) {\n if (process.env.NODE_ENV !== \"production\") {\n throw Recoil_err('Snapshot has already been released.');\n } else {\n Recoil_recoverableViolation('Attempt to retain() Snapshot that was already released.');\n }\n }\n\n this._refCount++;\n let released = false;\n return () => {\n if (!released) {\n released = true;\n\n this._release();\n }\n };\n }\n /**\n * Release the snapshot on the next tick. This means the snapshot is retained\n * during the execution of the current function using it.\n */\n\n\n autoRelease_INTERNAL() {\n if (!isSSR$1) {\n // Use timeout of 10 to workaround Firefox issue: https://github.com/facebookexperimental/Recoil/issues/1936\n window.setTimeout(() => this._release(), 10);\n }\n }\n\n _release() {\n this._refCount--;\n\n if (this._refCount === 0) {\n this._store.getState().nodeCleanupFunctions.forEach(cleanup => cleanup());\n\n this._store.getState().nodeCleanupFunctions.clear();\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // Temporarily nerfing this to allow us to find broken call sites without\n // actually breaking anybody yet.\n // for (const k of this._store.getState().knownAtoms) {\n // updateRetainCountToZero(this._store, k);\n // }\n\n } else if (this._refCount < 0) {\n if (process.env.NODE_ENV !== \"production\") {\n Recoil_recoverableViolation('Snapshot released an extra time.');\n }\n }\n }\n\n isRetained() {\n return this._refCount > 0;\n }\n\n checkRefCount_INTERNAL() {\n if (Recoil_gkx('recoil_memory_managament_2020') && this._refCount <= 0) {\n if (process.env.NODE_ENV !== \"production\") {\n Recoil_recoverableViolation(retainWarning);\n } // What we will ship later:\n // throw err(retainWarning);\n\n }\n }\n\n getStore_INTERNAL() {\n this.checkRefCount_INTERNAL();\n return this._store;\n }\n\n getID() {\n this.checkRefCount_INTERNAL();\n return this._store.getState().currentTree.stateID;\n }\n\n getStoreID() {\n this.checkRefCount_INTERNAL();\n return this._store.storeID;\n } // We want to allow the methods to be destructured and used as accessors\n\n /* eslint-disable fb-www/extra-arrow-initializer */\n\n /* eslint-enable fb-www/extra-arrow-initializer */\n\n\n}\n\nfunction cloneStoreState(store, treeState, bumpVersion = false) {\n const storeState = store.getState();\n const version = bumpVersion ? getNextTreeStateVersion$2() : treeState.version;\n return {\n // Always clone the TreeState to isolate stores from accidental mutations.\n // For example, reading a selector from a cloned snapshot shouldn't cache\n // in the original treestate which may cause the original to skip\n // initialization of upstream atoms.\n currentTree: {\n // TODO snapshots shouldn't really have versions because a new version number\n // is always assigned when the snapshot is gone to.\n version: bumpVersion ? version : treeState.version,\n stateID: bumpVersion ? version : treeState.stateID,\n transactionMetadata: { ...treeState.transactionMetadata\n },\n dirtyAtoms: new Set(treeState.dirtyAtoms),\n atomValues: treeState.atomValues.clone(),\n nonvalidatedAtoms: treeState.nonvalidatedAtoms.clone()\n },\n commitDepth: 0,\n nextTree: null,\n previousTree: null,\n knownAtoms: new Set(storeState.knownAtoms),\n // FIXME here's a copy\n knownSelectors: new Set(storeState.knownSelectors),\n // FIXME here's a copy\n transactionSubscriptions: new Map(),\n nodeTransactionSubscriptions: new Map(),\n nodeToComponentSubscriptions: new Map(),\n queuedComponentCallbacks_DEPRECATED: [],\n suspendedComponentResolvers: new Set(),\n graphsByVersion: new Map().set(version, store.getGraph(treeState.version)),\n retention: {\n referenceCounts: new Map(),\n nodesRetainedByZone: new Map(),\n retainablesToCheckForRelease: new Set()\n },\n // FIXME here's a copy\n // Create blank cleanup handlers for atoms so snapshots don't re-run\n // atom effects.\n nodeCleanupFunctions: new Map(Recoil_mapIterable(storeState.nodeCleanupFunctions.entries(), ([key]) => [key, () => {}]))\n };\n} // Factory to build a fresh snapshot\n\n\nfunction freshSnapshot(initializeState) {\n const snapshot = new Snapshot(makeEmptyStoreState$1());\n return initializeState != null ? snapshot.map(initializeState) : snapshot;\n} // Factory to clone a snapshot state\n\n\nconst [memoizedCloneSnapshot, invalidateMemoizedSnapshot$2] = memoizeOneWithArgsHashAndInvalidation$1((store, version) => {\n var _storeState$nextTree;\n\n const storeState = store.getState();\n const treeState = version === 'latest' ? (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree : Recoil_nullthrows(storeState.previousTree);\n return new Snapshot(cloneStoreState(store, treeState), store.storeID);\n}, (store, version) => {\n var _store$getState$nextT, _store$getState$previ;\n\n return String(version) + String(store.storeID) + String((_store$getState$nextT = store.getState().nextTree) === null || _store$getState$nextT === void 0 ? void 0 : _store$getState$nextT.version) + String(store.getState().currentTree.version) + String((_store$getState$previ = store.getState().previousTree) === null || _store$getState$previ === void 0 ? void 0 : _store$getState$previ.version);\n}); // Avoid circular dependencies\n\nsetInvalidateMemoizedSnapshot$1(invalidateMemoizedSnapshot$2);\n\nfunction cloneSnapshot(store, version = 'latest') {\n const snapshot = memoizedCloneSnapshot(store, version);\n\n if (!snapshot.isRetained()) {\n invalidateMemoizedSnapshot$2();\n return memoizedCloneSnapshot(store, version);\n }\n\n return snapshot;\n}\n\nclass MutableSnapshot extends Snapshot {\n constructor(snapshot, batch) {\n super(cloneStoreState(snapshot.getStore_INTERNAL(), snapshot.getStore_INTERNAL().getState().currentTree, true), snapshot.getStoreID());\n\n _defineProperty(this, \"_batch\", void 0);\n\n _defineProperty(this, \"set\", (recoilState, newValueOrUpdater) => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // This batchUpdates ensures this `set` is applied immediately and you can\n // read the written value after calling `set`. I would like to remove this\n // behavior and only batch in `Snapshot.map`, but this would be a breaking\n // change potentially.\n\n this._batch(() => {\n updateRetainCount$1(store, recoilState.key, 1);\n setRecoilValue$1(this.getStore_INTERNAL(), recoilState, newValueOrUpdater);\n });\n });\n\n _defineProperty(this, \"reset\", recoilState => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // See note at `set` about batched updates.\n\n this._batch(() => {\n updateRetainCount$1(store, recoilState.key, 1);\n setRecoilValue$1(this.getStore_INTERNAL(), recoilState, DEFAULT_VALUE$1);\n });\n });\n\n _defineProperty(this, \"setUnvalidatedAtomValues_DEPRECATED\", values => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // See note at `set` about batched updates.\n\n batchUpdates$1(() => {\n for (const [k, v] of values.entries()) {\n updateRetainCount$1(store, k, 1);\n setUnvalidatedRecoilValue$1(store, new AbstractRecoilValue$2(k), v);\n }\n });\n });\n\n this._batch = batch;\n }\n\n}\n\nvar Recoil_Snapshot = {\n Snapshot,\n MutableSnapshot,\n freshSnapshot,\n cloneSnapshot\n};\n\nvar Recoil_Snapshot_1 = Recoil_Snapshot.Snapshot;\nvar Recoil_Snapshot_2 = Recoil_Snapshot.MutableSnapshot;\nvar Recoil_Snapshot_3 = Recoil_Snapshot.freshSnapshot;\nvar Recoil_Snapshot_4 = Recoil_Snapshot.cloneSnapshot;\n\nvar Recoil_Snapshot$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n Snapshot: Recoil_Snapshot_1,\n MutableSnapshot: Recoil_Snapshot_2,\n freshSnapshot: Recoil_Snapshot_3,\n cloneSnapshot: Recoil_Snapshot_4\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction unionSets(...sets) {\n const result = new Set();\n\n for (const set of sets) {\n for (const value of set) {\n result.add(value);\n }\n }\n\n return result;\n}\n\nvar Recoil_unionSets = unionSets;\n\nconst {\n useRef\n} = react;\n/**\n * The same as `useRef()` except that if a function is specified then it will\n * call that function to get the value to initialize the reference with.\n * This is similar to how `useState()` behaves when given a function. It allows\n * the user to avoid generating the initial value for subsequent renders.\n * The tradeoff is that to set the reference to a function itself you need to\n * nest it: useRefInitOnce(() => () => {...});\n */\n\n\nfunction useRefInitOnce(initialValue) {\n // $FlowExpectedError[incompatible-call]\n const ref = useRef(initialValue);\n\n if (ref.current === initialValue && typeof initialValue === 'function') {\n // $FlowExpectedError[incompatible-use]\n ref.current = initialValue();\n }\n\n return ref;\n}\n\nvar Recoil_useRefInitOnce = useRefInitOnce;\n\n// @fb-only: const RecoilusagelogEvent = require('RecoilusagelogEvent');\n// @fb-only: const RecoilUsageLogFalcoEvent = require('RecoilUsageLogFalcoEvent');\n// @fb-only: const URI = require('URI');\n\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$3,\n makeEmptyStoreState: makeEmptyStoreState$2\n} = Recoil_State;\n\nconst {\n cleanUpNode: cleanUpNode$2,\n getDownstreamNodes: getDownstreamNodes$2,\n initializeNode: initializeNode$2,\n setNodeValue: setNodeValue$2,\n setUnvalidatedAtomValue_DEPRECATED: setUnvalidatedAtomValue_DEPRECATED$1\n} = Recoil_FunctionalCore;\n\nconst {\n graph: graph$2\n} = Recoil_Graph;\n\nconst {\n cloneGraph: cloneGraph$1\n} = Recoil_Graph;\n\nconst {\n getNextStoreID: getNextStoreID$2\n} = Recoil_Keys;\n\nconst {\n createMutableSource: createMutableSource$1,\n reactMode: reactMode$2\n} = Recoil_ReactMode;\n\nconst {\n applyAtomValueWrites: applyAtomValueWrites$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n releaseScheduledRetainablesNow: releaseScheduledRetainablesNow$1\n} = Recoil_Retention;\n\nconst {\n freshSnapshot: freshSnapshot$1\n} = Recoil_Snapshot$1;\n\n\n\nconst {\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef: useRef$1,\n useState\n} = react;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction notInAContext() {\n throw Recoil_err('This component must be used inside a component.');\n}\n\nconst defaultStore = Object.freeze({\n storeID: getNextStoreID$2(),\n getState: notInAContext,\n replaceState: notInAContext,\n getGraph: notInAContext,\n subscribeToTransactions: notInAContext,\n addTransactionMetadata: notInAContext\n});\nlet stateReplacerIsBeingExecuted = false;\n\nfunction startNextTreeIfNeeded(store) {\n if (stateReplacerIsBeingExecuted) {\n throw Recoil_err('An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.');\n }\n\n const storeState = store.getState();\n\n if (storeState.nextTree === null) {\n if (Recoil_gkx('recoil_memory_managament_2020') && Recoil_gkx('recoil_release_on_cascading_update_killswitch_2021')) {\n // If this is a cascading update (that is, rendering due to one state change\n // invokes a second state change), we won't have cleaned up retainables yet\n // because this normally happens after notifying components. Do it before\n // proceeding with the cascading update so that it remains predictable:\n if (storeState.commitDepth > 0) {\n releaseScheduledRetainablesNow$1(store);\n }\n }\n\n const version = storeState.currentTree.version;\n const nextVersion = getNextTreeStateVersion$3();\n storeState.nextTree = { ...storeState.currentTree,\n version: nextVersion,\n stateID: nextVersion,\n dirtyAtoms: new Set(),\n transactionMetadata: {}\n };\n storeState.graphsByVersion.set(nextVersion, cloneGraph$1(Recoil_nullthrows(storeState.graphsByVersion.get(version))));\n }\n}\n\nconst AppContext = react.createContext({\n current: defaultStore\n});\n\nconst useStoreRef = () => useContext(AppContext); // $FlowExpectedError[incompatible-call]\n\n\nconst MutableSourceContext = react.createContext(null);\n\nfunction useRecoilMutableSource() {\n const mutableSource = useContext(MutableSourceContext);\n\n if (mutableSource == null) {\n Recoil_expectationViolation('Attempted to use a Recoil hook outside of a . ' + ' must be an ancestor of any component that uses ' + 'Recoil hooks.');\n }\n\n return mutableSource;\n}\n\nfunction notifyComponents(store, storeState, treeState) {\n const dependentNodes = getDownstreamNodes$2(store, treeState, treeState.dirtyAtoms);\n\n for (const key of dependentNodes) {\n const comps = storeState.nodeToComponentSubscriptions.get(key);\n\n if (comps) {\n for (const [_subID, [_debugName, callback]] of comps) {\n callback(treeState);\n }\n }\n }\n}\n\nfunction sendEndOfBatchNotifications(store) {\n const storeState = store.getState();\n const treeState = storeState.currentTree; // Inform transaction subscribers of the transaction:\n\n const dirtyAtoms = treeState.dirtyAtoms;\n\n if (dirtyAtoms.size) {\n // Execute Node-specific subscribers before global subscribers\n for (const [key, subscriptions] of storeState.nodeTransactionSubscriptions) {\n if (dirtyAtoms.has(key)) {\n for (const [_, subscription] of subscriptions) {\n subscription(store);\n }\n }\n }\n\n for (const [_, subscription] of storeState.transactionSubscriptions) {\n subscription(store);\n }\n\n if (!reactMode$2().early || storeState.suspendedComponentResolvers.size > 0) {\n // Notifying components is needed to wake from suspense, even when using\n // early rendering.\n notifyComponents(store, storeState, treeState); // Wake all suspended components so the right one(s) can try to re-render.\n // We need to wake up components not just when some asynchronous selector\n // resolved, but also when changing synchronous values because this may cause\n // a selector to change from asynchronous to synchronous, in which case there\n // would be no follow-up asynchronous resolution to wake us up.\n // TODO OPTIMIZATION Only wake up related downstream components\n\n storeState.suspendedComponentResolvers.forEach(cb => cb());\n storeState.suspendedComponentResolvers.clear();\n }\n } // Special behavior ONLY invoked by useInterface.\n // FIXME delete queuedComponentCallbacks_DEPRECATED when deleting useInterface.\n\n\n storeState.queuedComponentCallbacks_DEPRECATED.forEach(cb => cb(treeState));\n storeState.queuedComponentCallbacks_DEPRECATED.splice(0, storeState.queuedComponentCallbacks_DEPRECATED.length);\n}\n\nfunction endBatch(store) {\n const storeState = store.getState();\n storeState.commitDepth++;\n\n try {\n const {\n nextTree\n } = storeState; // Ignore commits that are not because of Recoil transactions -- namely,\n // because something above RecoilRoot re-rendered:\n\n if (nextTree == null) {\n return;\n } // nextTree is now committed -- note that copying and reset occurs when\n // a transaction begins, in startNextTreeIfNeeded:\n\n\n storeState.previousTree = storeState.currentTree;\n storeState.currentTree = nextTree;\n storeState.nextTree = null;\n sendEndOfBatchNotifications(store);\n\n if (storeState.previousTree != null) {\n storeState.graphsByVersion.delete(storeState.previousTree.version);\n } else {\n Recoil_recoverableViolation('Ended batch with no previous state, which is unexpected', 'recoil');\n }\n\n storeState.previousTree = null;\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // Only release retainables if there were no writes during the end of the\n // batch. This avoids releasing something we might be about to use.\n if (nextTree == null) {\n releaseScheduledRetainablesNow$1(store);\n }\n }\n } finally {\n storeState.commitDepth--;\n }\n}\n/*\n * The purpose of the Batcher is to observe when React batches end so that\n * Recoil state changes can be batched. Whenever Recoil state changes, we call\n * setState on the batcher. Then we wait for that change to be committed, which\n * signifies the end of the batch. That's when we respond to the Recoil change.\n */\n\n\nfunction Batcher({\n setNotifyBatcherOfChange\n}) {\n const storeRef = useStoreRef();\n const [, setState] = useState([]);\n setNotifyBatcherOfChange(() => setState({}));\n useEffect(() => {\n setNotifyBatcherOfChange(() => setState({})); // If an asynchronous selector resolves after the Batcher is unmounted,\n // notifyBatcherOfChange will still be called. An error gets thrown whenever\n // setState is called after a component is already unmounted, so this sets\n // notifyBatcherOfChange to be a no-op.\n\n return () => {\n setNotifyBatcherOfChange(() => {});\n };\n }, [setNotifyBatcherOfChange]);\n useEffect(() => {\n // enqueueExecution runs this function immediately; it is only used to\n // manipulate the order of useEffects during tests, since React seems to\n // call useEffect in an unpredictable order sometimes.\n Recoil_Queue.enqueueExecution('Batcher', () => {\n endBatch(storeRef.current);\n });\n });\n return null;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined' && !window.$recoilDebugStates) {\n window.$recoilDebugStates = [];\n }\n} // When removing this deprecated function, remove stateBySettingRecoilValue\n// which will no longer be needed.\n\n\nfunction initialStoreState_DEPRECATED(store, initializeState) {\n const initial = makeEmptyStoreState$2();\n initializeState({\n set: (atom, value) => {\n const state = initial.currentTree;\n const writes = setNodeValue$2(store, state, atom.key, value);\n const writtenNodes = new Set(writes.keys());\n const nonvalidatedAtoms = state.nonvalidatedAtoms.clone();\n\n for (const n of writtenNodes) {\n nonvalidatedAtoms.delete(n);\n }\n\n initial.currentTree = { ...state,\n dirtyAtoms: Recoil_unionSets(state.dirtyAtoms, writtenNodes),\n atomValues: applyAtomValueWrites$1(state.atomValues, writes),\n // NB: PLEASE un-export applyAtomValueWrites when deleting this code\n nonvalidatedAtoms\n };\n },\n setUnvalidatedAtomValues: atomValues => {\n // FIXME replace this with a mutative loop\n atomValues.forEach((v, k) => {\n initial.currentTree = setUnvalidatedAtomValue_DEPRECATED$1(initial.currentTree, k, v);\n });\n }\n });\n return initial;\n} // Initialize state snapshot for for the initializeState prop.\n// Atom effect initialization takes precedence over this prop.\n// Any atom effects will be run before initialization, but then cleaned up,\n// they are then re-run when used as part of rendering. These semantics are\n// compatible with React StrictMode where effects may be re-run multiple times\n// but state initialization only happens once the first time.\n\n\nfunction initialStoreState(initializeState) {\n // Initialize a snapshot and get its store\n const snapshot = freshSnapshot$1(initializeState);\n const storeState = snapshot.getStore_INTERNAL().getState(); // Counteract the snapshot auto-release\n\n snapshot.retain(); // Cleanup any effects run during initialization and clear the handlers so\n // they will re-initialize if used during rendering. This allows atom effect\n // initialization to take precedence over initializeState and be compatible\n // with StrictMode semantics.\n\n storeState.nodeCleanupFunctions.forEach(cleanup => cleanup());\n storeState.nodeCleanupFunctions.clear();\n return storeState;\n}\n\nlet nextID = 0;\n\nfunction RecoilRoot_INTERNAL({\n initializeState_DEPRECATED,\n initializeState,\n store_INTERNAL: storeProp,\n // For use with React \"context bridging\"\n children\n}) {\n // prettier-ignore\n // @fb-only: useEffect(() => {\n // @fb-only: if (gkx('recoil_usage_logging')) {\n // @fb-only: try {\n // @fb-only: RecoilUsageLogFalcoEvent.log(() => ({\n // @fb-only: type: RecoilusagelogEvent.RECOIL_ROOT_MOUNTED,\n // @fb-only: path: URI.getRequestURI().getPath(),\n // @fb-only: }));\n // @fb-only: } catch {\n // @fb-only: recoverableViolation(\n // @fb-only: 'Error when logging Recoil Usage event',\n // @fb-only: 'recoil',\n // @fb-only: );\n // @fb-only: }\n // @fb-only: }\n // @fb-only: }, []);\n let storeStateRef; // eslint-disable-line prefer-const\n\n const getGraph = version => {\n const graphs = storeStateRef.current.graphsByVersion;\n\n if (graphs.has(version)) {\n return Recoil_nullthrows(graphs.get(version));\n }\n\n const newGraph = graph$2();\n graphs.set(version, newGraph);\n return newGraph;\n };\n\n const subscribeToTransactions = (callback, key) => {\n if (key == null) {\n // Global transaction subscriptions\n const {\n transactionSubscriptions\n } = storeRef.current.getState();\n const id = nextID++;\n transactionSubscriptions.set(id, callback);\n return {\n release: () => {\n transactionSubscriptions.delete(id);\n }\n };\n } else {\n // Node-specific transaction subscriptions:\n const {\n nodeTransactionSubscriptions\n } = storeRef.current.getState();\n\n if (!nodeTransactionSubscriptions.has(key)) {\n nodeTransactionSubscriptions.set(key, new Map());\n }\n\n const id = nextID++;\n Recoil_nullthrows(nodeTransactionSubscriptions.get(key)).set(id, callback);\n return {\n release: () => {\n const subs = nodeTransactionSubscriptions.get(key);\n\n if (subs) {\n subs.delete(id);\n\n if (subs.size === 0) {\n nodeTransactionSubscriptions.delete(key);\n }\n }\n }\n };\n }\n };\n\n const addTransactionMetadata = metadata => {\n startNextTreeIfNeeded(storeRef.current);\n\n for (const k of Object.keys(metadata)) {\n Recoil_nullthrows(storeRef.current.getState().nextTree).transactionMetadata[k] = metadata[k];\n }\n };\n\n const replaceState = replacer => {\n startNextTreeIfNeeded(storeRef.current); // Use replacer to get the next state:\n\n const nextTree = Recoil_nullthrows(storeStateRef.current.nextTree);\n let replaced;\n\n try {\n stateReplacerIsBeingExecuted = true;\n replaced = replacer(nextTree);\n } finally {\n stateReplacerIsBeingExecuted = false;\n }\n\n if (replaced === nextTree) {\n return;\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined') {\n window.$recoilDebugStates.push(replaced); // TODO this shouldn't happen here because it's not batched\n }\n } // Save changes to nextTree and schedule a React update:\n\n\n storeStateRef.current.nextTree = replaced;\n\n if (reactMode$2().early) {\n notifyComponents(storeRef.current, storeStateRef.current, replaced);\n }\n\n Recoil_nullthrows(notifyBatcherOfChange.current)();\n };\n\n const notifyBatcherOfChange = useRef$1(null);\n const setNotifyBatcherOfChange = useCallback(x => {\n notifyBatcherOfChange.current = x;\n }, [notifyBatcherOfChange]);\n const storeRef = Recoil_useRefInitOnce(() => storeProp !== null && storeProp !== void 0 ? storeProp : {\n storeID: getNextStoreID$2(),\n getState: () => storeStateRef.current,\n replaceState,\n getGraph,\n subscribeToTransactions,\n addTransactionMetadata\n });\n\n if (storeProp != null) {\n storeRef.current = storeProp;\n }\n\n storeStateRef = Recoil_useRefInitOnce(() => initializeState_DEPRECATED != null ? initialStoreState_DEPRECATED(storeRef.current, initializeState_DEPRECATED) : initializeState != null ? initialStoreState(initializeState) : makeEmptyStoreState$2());\n const mutableSource = useMemo(() => createMutableSource$1 === null || createMutableSource$1 === void 0 ? void 0 : createMutableSource$1(storeStateRef, () => storeStateRef.current.currentTree.version), [storeStateRef]); // Cleanup when the is unmounted\n\n useEffect(() => {\n // React is free to call effect cleanup handlers and effects at will, the\n // deps array is only an optimization. For example, React strict mode\n // will execute each effect twice for testing. Therefore, we need symmetry\n // to re-initialize all known atoms after they were cleaned up.\n const store = storeRef.current;\n\n for (const atomKey of new Set(store.getState().knownAtoms)) {\n initializeNode$2(store, atomKey, 'get');\n }\n\n return () => {\n for (const atomKey of store.getState().knownAtoms) {\n cleanUpNode$2(store, atomKey);\n }\n };\n }, [storeRef]);\n return /*#__PURE__*/react.createElement(AppContext.Provider, {\n value: storeRef\n }, /*#__PURE__*/react.createElement(MutableSourceContext.Provider, {\n value: mutableSource\n }, /*#__PURE__*/react.createElement(Batcher, {\n setNotifyBatcherOfChange: setNotifyBatcherOfChange\n }), children));\n}\n\nfunction RecoilRoot(props) {\n const {\n override,\n ...propsExceptOverride\n } = props;\n const ancestorStoreRef = useStoreRef();\n\n if (override === false && ancestorStoreRef.current !== defaultStore) {\n // If ancestorStoreRef.current !== defaultStore, it means that this\n // RecoilRoot is not nested within another.\n return props.children;\n }\n\n return /*#__PURE__*/react.createElement(RecoilRoot_INTERNAL, propsExceptOverride);\n}\n\nfunction useRecoilStoreID() {\n return useStoreRef().current.storeID;\n}\n\nvar Recoil_RecoilRoot = {\n RecoilRoot,\n useStoreRef,\n useRecoilMutableSource,\n useRecoilStoreID,\n notifyComponents_FOR_TESTING: notifyComponents,\n sendEndOfBatchNotifications_FOR_TESTING: sendEndOfBatchNotifications\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction shallowArrayEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n if (a.length !== b.length) {\n return false;\n }\n\n for (let i = 0, l = a.length; i < l; i++) {\n if (a[i] !== b[i]) {\n return false;\n }\n }\n\n return true;\n}\n\nvar Recoil_shallowArrayEqual = shallowArrayEqual;\n\nconst {\n useEffect: useEffect$1,\n useRef: useRef$2\n} = react;\n\nfunction usePrevious(value) {\n const ref = useRef$2();\n useEffect$1(() => {\n ref.current = value;\n });\n return ref.current;\n}\n\nvar Recoil_usePrevious = usePrevious;\n\nconst {\n useStoreRef: useStoreRef$1\n} = Recoil_RecoilRoot;\n\nconst {\n SUSPENSE_TIMEOUT_MS: SUSPENSE_TIMEOUT_MS$1\n} = Recoil_Retention;\n\nconst {\n updateRetainCount: updateRetainCount$2\n} = Recoil_Retention;\n\nconst {\n RetentionZone: RetentionZone$3\n} = Recoil_RetentionZone;\n\nconst {\n useEffect: useEffect$2,\n useRef: useRef$3\n} = react;\n\nconst {\n isSSR: isSSR$2\n} = Recoil_Environment;\n\n\n\n\n\n // I don't see a way to avoid the any type here because we want to accept readable\n// and writable values with any type parameter, but normally with writable ones\n// RecoilState is not a subtype of RecoilState.\n\n\n// flowlint-line unclear-type:off\nfunction useRetain(toRetain) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // eslint-disable-next-line fb-www/react-hooks\n\n\n return useRetain_ACTUAL(toRetain);\n}\n\nfunction useRetain_ACTUAL(toRetain) {\n const array = Array.isArray(toRetain) ? toRetain : [toRetain];\n const retainables = array.map(a => a instanceof RetentionZone$3 ? a : a.key);\n const storeRef = useStoreRef$1();\n useEffect$2(() => {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const store = storeRef.current;\n\n if (timeoutID.current && !isSSR$2) {\n // Already performed a temporary retain on render, simply cancel the release\n // of that temporary retain.\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n } else {\n for (const r of retainables) {\n updateRetainCount$2(store, r, 1);\n }\n }\n\n return () => {\n for (const r of retainables) {\n updateRetainCount$2(store, r, -1);\n }\n }; // eslint-disable-next-line fb-www/react-hooks-deps\n }, [storeRef, ...retainables]); // We want to retain if the component suspends. This is terrible but the Suspense\n // API affords us no better option. If we suspend and never commit after some\n // seconds, then release. The 'actual' retain/release in the effect above\n // cancels this.\n\n const timeoutID = useRef$3();\n const previousRetainables = Recoil_usePrevious(retainables);\n\n if (!isSSR$2 && (previousRetainables === undefined || !Recoil_shallowArrayEqual(previousRetainables, retainables))) {\n const store = storeRef.current;\n\n for (const r of retainables) {\n updateRetainCount$2(store, r, 1);\n }\n\n if (previousRetainables) {\n for (const r of previousRetainables) {\n updateRetainCount$2(store, r, -1);\n }\n }\n\n if (timeoutID.current) {\n window.clearTimeout(timeoutID.current);\n }\n\n timeoutID.current = window.setTimeout(() => {\n timeoutID.current = null;\n\n for (const r of retainables) {\n updateRetainCount$2(store, r, -1);\n }\n }, SUSPENSE_TIMEOUT_MS$1);\n }\n}\n\nvar Recoil_useRetain = useRetain;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * THIS CODE HAS BEEN COMMENTED OUT INTENTIONALLY\n *\n * This technique of getting the component name is imperfect, since it both only\n * works in a non-minified code base, and more importantly introduces performance\n * problems since it relies in throwing errors which is an expensive operation.\n *\n * At some point we may want to reevaluate this technique hence why we have commented\n * this code out, rather than delete it all together.\n */\n// const {useRef} = require('react');\n// const gkx = require('recoil-shared/util/Recoil_gkx');\n// const stackTraceParser = require('recoil-shared/util/Recoil_stackTraceParser');\n\nfunction useComponentName() {\n // const nameRef = useRef();\n // if (__DEV__) {\n // if (gkx('recoil_infer_component_names')) {\n // if (nameRef.current === undefined) {\n // // There is no blessed way to determine the calling React component from\n // // within a hook. This hack uses the fact that hooks must start with 'use'\n // // and that hooks are either called by React Components or other hooks. It\n // // follows therefore, that to find the calling component, you simply need\n // // to look down the stack and find the first function which doesn't start\n // // with 'use'. We are only enabling this in dev for now, since once the\n // // codebase is minified, the naming assumptions no longer hold true.\n // // eslint-disable-next-line fb-www/no-new-error\n // const frames = stackTraceParser(new Error().stack);\n // for (const {methodName} of frames) {\n // // I observed cases where the frame was of the form 'Object.useXXX'\n // // hence why I'm searching for hooks following a word boundary\n // if (!methodName.match(/\\buse[^\\b]+$/)) {\n // return (nameRef.current = methodName);\n // }\n // }\n // nameRef.current = null;\n // }\n // return nameRef.current ?? '';\n // }\n // }\n // @fb-only: return \"\";\n return ''; // @oss-only\n}\n\nvar Recoil_useComponentName = useComponentName;\n\nconst {\n batchUpdates: batchUpdates$2\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$2\n} = Recoil_Node;\n\nconst {\n currentRendererSupportsUseSyncExternalStore: currentRendererSupportsUseSyncExternalStore$1,\n reactMode: reactMode$3,\n useMutableSource: useMutableSource$1,\n useSyncExternalStore: useSyncExternalStore$1\n} = Recoil_ReactMode;\n\nconst {\n useRecoilMutableSource: useRecoilMutableSource$1,\n useStoreRef: useStoreRef$2\n} = Recoil_RecoilRoot;\n\nconst {\n isRecoilValue: isRecoilValue$2\n} = Recoil_RecoilValue$1;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$3,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$2,\n setRecoilValue: setRecoilValue$2,\n setUnvalidatedRecoilValue: setUnvalidatedRecoilValue$2,\n subscribeToRecoilValue: subscribeToRecoilValue$1\n} = Recoil_RecoilValueInterface;\n\n\n\nconst {\n useCallback: useCallback$1,\n useEffect: useEffect$3,\n useMemo: useMemo$1,\n useRef: useRef$4,\n useState: useState$1\n} = react;\n\nconst {\n setByAddingToSet: setByAddingToSet$2\n} = Recoil_CopyOnWrite;\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction handleLoadable(loadable, recoilValue, storeRef) {\n // We can't just throw the promise we are waiting on to Suspense. If the\n // upstream dependencies change it may produce a state in which the component\n // can render, but it would still be suspended on a Promise that may never resolve.\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'loading') {\n const promise = new Promise(resolve => {\n storeRef.current.getState().suspendedComponentResolvers.add(resolve);\n }); // $FlowExpectedError Flow(prop-missing) for integrating with tools that inspect thrown promises @fb-only\n // @fb-only: promise.displayName = `Recoil State: ${recoilValue.key}`;\n\n throw promise;\n } else if (loadable.state === 'hasError') {\n throw loadable.contents;\n } else {\n throw Recoil_err(`Invalid value of loadable atom \"${recoilValue.key}\"`);\n }\n}\n\nfunction validateRecoilValue(recoilValue, hookName) {\n if (!isRecoilValue$2(recoilValue)) {\n throw Recoil_err(`Invalid argument to ${hookName}: expected an atom or selector but got ${String(recoilValue)}`);\n }\n}\n\n/**\n * Various things are broken with useRecoilInterface, particularly concurrent\n * mode, React strict mode, and memory management. They will not be fixed.\n * */\nfunction useRecoilInterface_DEPRECATED() {\n const componentName = Recoil_useComponentName();\n const storeRef = useStoreRef$2(); // eslint-disable-next-line fb-www/react-no-unused-state-hook\n\n const [, forceUpdate] = useState$1([]);\n const recoilValuesUsed = useRef$4(new Set());\n recoilValuesUsed.current = new Set(); // Track the RecoilValues used just during this render\n\n const previousSubscriptions = useRef$4(new Set());\n const subscriptions = useRef$4(new Map());\n const unsubscribeFrom = useCallback$1(key => {\n const sub = subscriptions.current.get(key);\n\n if (sub) {\n sub.release();\n subscriptions.current.delete(key);\n }\n }, [subscriptions]);\n const updateState = useCallback$1((_state, key) => {\n if (subscriptions.current.has(key)) {\n forceUpdate([]);\n }\n }, []); // Effect to add/remove subscriptions as nodes are used\n\n useEffect$3(() => {\n const store = storeRef.current;\n Recoil_differenceSets(recoilValuesUsed.current, previousSubscriptions.current).forEach(key => {\n if (subscriptions.current.has(key)) {\n Recoil_expectationViolation(`Double subscription to RecoilValue \"${key}\"`);\n return;\n }\n\n const sub = subscribeToRecoilValue$1(store, new AbstractRecoilValue$3(key), state => updateState(state, key), componentName);\n subscriptions.current.set(key, sub);\n /**\n * Since we're subscribing in an effect we need to update to the latest\n * value of the atom since it may have changed since we rendered. We can\n * go ahead and do that now, unless we're in the middle of a batch --\n * in which case we should do it at the end of the batch, due to the\n * following edge case: Suppose an atom is updated in another useEffect\n * of this same component. Then the following sequence of events occur:\n * 1. Atom is updated and subs fired (but we may not be subscribed\n * yet depending on order of effects, so we miss this) Updated value\n * is now in nextTree, but not currentTree.\n * 2. This effect happens. We subscribe and update.\n * 3. From the update we re-render and read currentTree, with old value.\n * 4. Batcher's effect sets currentTree to nextTree.\n * In this sequence we miss the update. To avoid that, add the update\n * to queuedComponentCallback if a batch is in progress.\n */\n // FIXME delete queuedComponentCallbacks_DEPRECATED when deleting useInterface.\n\n const state = store.getState();\n\n if (state.nextTree) {\n store.getState().queuedComponentCallbacks_DEPRECATED.push(() => {\n updateState(store.getState(), key);\n });\n } else {\n updateState(store.getState(), key);\n }\n });\n Recoil_differenceSets(previousSubscriptions.current, recoilValuesUsed.current).forEach(key => {\n unsubscribeFrom(key);\n });\n previousSubscriptions.current = recoilValuesUsed.current;\n }); // Effect to unsubscribe from all when unmounting\n\n useEffect$3(() => {\n const currentSubscriptions = subscriptions.current; // Restore subscriptions that were cleared due to StrictMode running this effect twice\n\n Recoil_differenceSets(recoilValuesUsed.current, new Set(currentSubscriptions.keys())).forEach(key => {\n const sub = subscribeToRecoilValue$1(storeRef.current, new AbstractRecoilValue$3(key), state => updateState(state, key), componentName);\n currentSubscriptions.set(key, sub);\n });\n return () => currentSubscriptions.forEach((_, key) => unsubscribeFrom(key));\n }, [componentName, storeRef, unsubscribeFrom, updateState]);\n return useMemo$1(() => {\n // eslint-disable-next-line no-shadow\n function useSetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useSetRecoilState');\n }\n\n return newValueOrUpdater => {\n setRecoilValue$2(storeRef.current, recoilState, newValueOrUpdater);\n };\n } // eslint-disable-next-line no-shadow\n\n\n function useResetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useResetRecoilState');\n }\n\n return () => setRecoilValue$2(storeRef.current, recoilState, DEFAULT_VALUE$2);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilValueLoadable(recoilValue) {\n var _storeState$nextTree;\n\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable');\n }\n\n if (!recoilValuesUsed.current.has(recoilValue.key)) {\n recoilValuesUsed.current = setByAddingToSet$2(recoilValuesUsed.current, recoilValue.key);\n } // TODO Restore optimization to memoize lookup\n\n\n const storeState = storeRef.current.getState();\n return getRecoilValueAsLoadable$2(storeRef.current, recoilValue, reactMode$3().early ? (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree : storeState.currentTree);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilValue(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue');\n }\n\n const loadable = useRecoilValueLoadable(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState');\n }\n\n return [useRecoilValue(recoilState), useSetRecoilState(recoilState)];\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilStateLoadable(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilStateLoadable');\n }\n\n return [useRecoilValueLoadable(recoilState), useSetRecoilState(recoilState)];\n }\n\n return {\n getRecoilValue: useRecoilValue,\n getRecoilValueLoadable: useRecoilValueLoadable,\n getRecoilState: useRecoilState,\n getRecoilStateLoadable: useRecoilStateLoadable,\n getSetRecoilState: useSetRecoilState,\n getResetRecoilState: useResetRecoilState\n };\n }, [recoilValuesUsed, storeRef]);\n}\n\nconst recoilComponentGetRecoilValueCount_FOR_TESTING = {\n current: 0\n};\n\nfunction useRecoilValueLoadable_SYNC_EXTERNAL_STORE(recoilValue) {\n const storeRef = useStoreRef$2();\n const componentName = Recoil_useComponentName();\n const getSnapshot = useCallback$1(() => {\n var _storeState$nextTree2;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree2 = storeState.nextTree) !== null && _storeState$nextTree2 !== void 0 ? _storeState$nextTree2 : storeState.currentTree : storeState.currentTree;\n const loadable = getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n return {\n loadable,\n key: recoilValue.key\n };\n }, [storeRef, recoilValue]); // Memoize the state to avoid unnecessary rerenders\n\n const memoizePreviousSnapshot = useCallback$1(getState => {\n let prevState;\n return () => {\n var _prevState, _prevState2;\n\n const nextState = getState();\n\n if ((_prevState = prevState) !== null && _prevState !== void 0 && _prevState.loadable.is(nextState.loadable) && ((_prevState2 = prevState) === null || _prevState2 === void 0 ? void 0 : _prevState2.key) === nextState.key) {\n return prevState;\n }\n\n prevState = nextState;\n return nextState;\n };\n }, []);\n const getMemoizedSnapshot = useMemo$1(() => memoizePreviousSnapshot(getSnapshot), [getSnapshot, memoizePreviousSnapshot]);\n const subscribe = useCallback$1(notify => {\n const store = storeRef.current;\n const subscription = subscribeToRecoilValue$1(store, recoilValue, notify, componentName);\n return subscription.release;\n }, [storeRef, recoilValue, componentName]);\n return useSyncExternalStore$1(subscribe, getMemoizedSnapshot, // getSnapshot()\n getMemoizedSnapshot // getServerSnapshot() for SSR support\n ).loadable;\n}\n\nfunction useRecoilValueLoadable_MUTABLE_SOURCE(recoilValue) {\n const storeRef = useStoreRef$2();\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree3;\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree3 = storeState.nextTree) !== null && _storeState$nextTree3 !== void 0 ? _storeState$nextTree3 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const getLoadableWithTesting = useCallback$1(() => {\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n return getLoadable();\n }, [getLoadable]);\n const componentName = Recoil_useComponentName();\n const subscribe = useCallback$1((_storeState, notify) => {\n const store = storeRef.current;\n const subscription = subscribeToRecoilValue$1(store, recoilValue, () => {\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return notify();\n } // Only re-render if the value has changed.\n // This will evaluate the atom/selector now as well as when the\n // component renders, but that may help with prefetching.\n\n\n const newLoadable = getLoadable();\n\n if (!prevLoadableRef.current.is(newLoadable)) {\n notify();\n } // If the component is suspended then the effect setting prevLoadableRef\n // will not run. So, set the previous value here when its subscription\n // is fired to wake it up. We can't just rely on this, though, because\n // this only executes when an atom/selector is dirty and the atom/selector\n // passed to the hook can dynamically change.\n\n\n prevLoadableRef.current = newLoadable;\n }, componentName);\n return subscription.release;\n }, [storeRef, recoilValue, componentName, getLoadable]);\n const source = useRecoilMutableSource$1();\n\n if (source == null) {\n throw Recoil_err('Recoil hooks must be used in components contained within a component.');\n }\n\n const loadable = useMutableSource$1(source, getLoadableWithTesting, subscribe);\n const prevLoadableRef = useRef$4(loadable);\n useEffect$3(() => {\n prevLoadableRef.current = loadable;\n });\n return loadable;\n}\n\nfunction useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue) {\n const storeRef = useStoreRef$2();\n const componentName = Recoil_useComponentName(); // Accessors to get the current state\n\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree4;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree4 = storeState.nextTree) !== null && _storeState$nextTree4 !== void 0 ? _storeState$nextTree4 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const getState = useCallback$1(() => ({\n loadable: getLoadable(),\n key: recoilValue.key\n }), [getLoadable, recoilValue.key]); // Memoize state snapshots\n\n const updateState = useCallback$1(prevState => {\n const nextState = getState();\n return prevState.loadable.is(nextState.loadable) && prevState.key === nextState.key ? prevState : nextState;\n }, [getState]); // Subscribe to Recoil state changes\n\n useEffect$3(() => {\n const subscription = subscribeToRecoilValue$1(storeRef.current, recoilValue, _state => {\n setState(updateState);\n }, componentName); // Update state in case we are using a different key\n\n setState(updateState);\n return subscription.release;\n }, [componentName, recoilValue, storeRef, updateState]); // Get the current state\n\n const [state, setState] = useState$1(getState); // If we changed keys, then return the state for the new key.\n // This is important in case the old key would cause the component to suspend.\n // We don't have to set the new state here since the subscribing effect above\n // will do that.\n\n return state.key !== recoilValue.key ? getState().loadable : state.loadable;\n}\n\nfunction useRecoilValueLoadable_LEGACY(recoilValue) {\n const storeRef = useStoreRef$2(); // eslint-disable-next-line fb-www/react-no-unused-state-hook\n\n const [, forceUpdate] = useState$1([]);\n const componentName = Recoil_useComponentName();\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree5;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree5 = storeState.nextTree) !== null && _storeState$nextTree5 !== void 0 ? _storeState$nextTree5 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const loadable = getLoadable();\n const prevLoadableRef = useRef$4(loadable);\n useEffect$3(() => {\n prevLoadableRef.current = loadable;\n });\n useEffect$3(() => {\n const store = storeRef.current;\n const storeState = store.getState();\n const subscription = subscribeToRecoilValue$1(store, recoilValue, _state => {\n var _prevLoadableRef$curr;\n\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return forceUpdate([]);\n }\n\n const newLoadable = getLoadable();\n\n if (!((_prevLoadableRef$curr = prevLoadableRef.current) !== null && _prevLoadableRef$curr !== void 0 && _prevLoadableRef$curr.is(newLoadable))) {\n forceUpdate(newLoadable);\n }\n\n prevLoadableRef.current = newLoadable;\n }, componentName);\n /**\n * Since we're subscribing in an effect we need to update to the latest\n * value of the atom since it may have changed since we rendered. We can\n * go ahead and do that now, unless we're in the middle of a batch --\n * in which case we should do it at the end of the batch, due to the\n * following edge case: Suppose an atom is updated in another useEffect\n * of this same component. Then the following sequence of events occur:\n * 1. Atom is updated and subs fired (but we may not be subscribed\n * yet depending on order of effects, so we miss this) Updated value\n * is now in nextTree, but not currentTree.\n * 2. This effect happens. We subscribe and update.\n * 3. From the update we re-render and read currentTree, with old value.\n * 4. Batcher's effect sets currentTree to nextTree.\n * In this sequence we miss the update. To avoid that, add the update\n * to queuedComponentCallback if a batch is in progress.\n */\n\n if (storeState.nextTree) {\n store.getState().queuedComponentCallbacks_DEPRECATED.push(() => {\n prevLoadableRef.current = null;\n forceUpdate([]);\n });\n } else {\n var _prevLoadableRef$curr2;\n\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return forceUpdate([]);\n }\n\n const newLoadable = getLoadable();\n\n if (!((_prevLoadableRef$curr2 = prevLoadableRef.current) !== null && _prevLoadableRef$curr2 !== void 0 && _prevLoadableRef$curr2.is(newLoadable))) {\n forceUpdate(newLoadable);\n }\n\n prevLoadableRef.current = newLoadable;\n }\n\n return subscription.release;\n }, [componentName, getLoadable, recoilValue, storeRef]);\n return loadable;\n}\n/**\n Like useRecoilValue(), but either returns the value if available or\n just undefined if not available for any reason, such as pending or error.\n*/\n\n\nfunction useRecoilValueLoadable(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable');\n }\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // eslint-disable-next-line fb-www/react-hooks\n Recoil_useRetain(recoilValue);\n }\n\n return {\n TRANSITION_SUPPORT: useRecoilValueLoadable_TRANSITION_SUPPORT,\n // Recoil will attemp to detect if `useSyncExternalStore()` is supported with\n // `reactMode()` before calling it. However, sometimes the host React\n // environment supports it but uses additional React renderers (such as with\n // `react-three-fiber`) which do not. While this is technically a user issue\n // by using a renderer with React 18+ that doesn't fully support React 18 we\n // don't want to break users if it can be avoided. As the current renderer can\n // change at runtime, we need to dynamically check and fallback if necessary.\n SYNC_EXTERNAL_STORE: currentRendererSupportsUseSyncExternalStore$1() ? useRecoilValueLoadable_SYNC_EXTERNAL_STORE : useRecoilValueLoadable_TRANSITION_SUPPORT,\n MUTABLE_SOURCE: useRecoilValueLoadable_MUTABLE_SOURCE,\n LEGACY: useRecoilValueLoadable_LEGACY\n }[reactMode$3().mode](recoilValue);\n}\n/**\n Returns the value represented by the RecoilValue.\n If the value is pending, it will throw a Promise to suspend the component,\n if the value is an error it will throw it for the nearest React error boundary.\n This will also subscribe the component for any updates in the value.\n */\n\n\nfunction useRecoilValue(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue');\n }\n\n const storeRef = useStoreRef$2();\n const loadable = useRecoilValueLoadable(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n}\n/**\n Returns a function that allows the value of a RecoilState to be updated, but does\n not subscribe the component to changes to that RecoilState.\n*/\n\n\nfunction useSetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useSetRecoilState');\n }\n\n const storeRef = useStoreRef$2();\n return useCallback$1(newValueOrUpdater => {\n setRecoilValue$2(storeRef.current, recoilState, newValueOrUpdater);\n }, [storeRef, recoilState]);\n}\n/**\n Returns a function that will reset the value of a RecoilState to its default\n*/\n\n\nfunction useResetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useResetRecoilState');\n }\n\n const storeRef = useStoreRef$2();\n return useCallback$1(() => {\n setRecoilValue$2(storeRef.current, recoilState, DEFAULT_VALUE$2);\n }, [storeRef, recoilState]);\n}\n/**\n Equivalent to useState(). Allows the value of the RecoilState to be read and written.\n Subsequent updates to the RecoilState will cause the component to re-render. If the\n RecoilState is pending, this will suspend the component and initiate the\n retrieval of the value. If evaluating the RecoilState resulted in an error, this will\n throw the error so that the nearest React error boundary can catch it.\n*/\n\n\nfunction useRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState');\n }\n\n return [useRecoilValue(recoilState), useSetRecoilState(recoilState)];\n}\n/**\n Like useRecoilState(), but does not cause Suspense or React error handling. Returns\n an object that indicates whether the RecoilState is available, pending, or\n unavailable due to an error.\n*/\n\n\nfunction useRecoilStateLoadable(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilStateLoadable');\n }\n\n return [useRecoilValueLoadable(recoilState), useSetRecoilState(recoilState)];\n}\n\nfunction useSetUnvalidatedAtomValues() {\n const storeRef = useStoreRef$2();\n return (values, transactionMetadata = {}) => {\n batchUpdates$2(() => {\n storeRef.current.addTransactionMetadata(transactionMetadata);\n values.forEach((value, key) => setUnvalidatedRecoilValue$2(storeRef.current, new AbstractRecoilValue$3(key), value));\n });\n };\n}\n/**\n * Experimental variants of hooks with support for useTransition()\n */\n\n\nfunction useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE');\n\n if (!reactMode$3().early) {\n Recoil_recoverableViolation('Attepmt to use a hook with UNSTABLE_TRANSITION_SUPPORT in a rendering mode incompatible with concurrent rendering. Try enabling the recoil_sync_external_store or recoil_transition_support GKs.');\n }\n }\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // eslint-disable-next-line fb-www/react-hooks\n Recoil_useRetain(recoilValue);\n }\n\n return useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue);\n}\n\nfunction useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue_TRANSITION_SUPPORT_UNSTABLE');\n }\n\n const storeRef = useStoreRef$2();\n const loadable = useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n}\n\nfunction useRecoilState_TRANSITION_SUPPORT_UNSTABLE(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState_TRANSITION_SUPPORT_UNSTABLE');\n }\n\n return [useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilState), useSetRecoilState(recoilState)];\n}\n\nvar Recoil_Hooks = {\n recoilComponentGetRecoilValueCount_FOR_TESTING,\n useRecoilInterface: useRecoilInterface_DEPRECATED,\n useRecoilState,\n useRecoilStateLoadable,\n useRecoilValue,\n useRecoilValueLoadable,\n useResetRecoilState,\n useSetRecoilState,\n useSetUnvalidatedAtomValues,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a map containing all of the keys + values from the original map where\n * the given callback returned true.\n */\n\nfunction filterMap(map, callback) {\n const result = new Map();\n\n for (const [key, value] of map) {\n if (callback(value, key)) {\n result.set(key, value);\n }\n }\n\n return result;\n}\n\nvar Recoil_filterMap = filterMap;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a set containing all of the values from the original set where\n * the given callback returned true.\n */\n\nfunction filterSet(set, callback) {\n const result = new Set();\n\n for (const value of set) {\n if (callback(value)) {\n result.add(value);\n }\n }\n\n return result;\n}\n\nvar Recoil_filterSet = filterSet;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction mergeMaps(...maps) {\n const result = new Map();\n\n for (let i = 0; i < maps.length; i++) {\n const iterator = maps[i].keys();\n let nextKey;\n\n while (!(nextKey = iterator.next()).done) {\n // $FlowIssue[incompatible-call] - map/iterator knows nothing about flow types\n result.set(nextKey.value, maps[i].get(nextKey.value));\n }\n }\n\n return result;\n}\n\nvar Recoil_mergeMaps = mergeMaps;\n\nconst {\n batchUpdates: batchUpdates$3\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$3,\n getNode: getNode$4,\n nodes: nodes$1\n} = Recoil_Node;\n\nconst {\n useStoreRef: useStoreRef$3\n} = Recoil_RecoilRoot;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$4,\n setRecoilValueLoadable: setRecoilValueLoadable$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n SUSPENSE_TIMEOUT_MS: SUSPENSE_TIMEOUT_MS$2\n} = Recoil_Retention;\n\nconst {\n cloneSnapshot: cloneSnapshot$1\n} = Recoil_Snapshot$1;\n\nconst {\n useCallback: useCallback$2,\n useEffect: useEffect$4,\n useRef: useRef$5,\n useState: useState$2\n} = react;\n\nconst {\n isSSR: isSSR$3\n} = Recoil_Environment;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction useTransactionSubscription(callback) {\n const storeRef = useStoreRef$3();\n useEffect$4(() => {\n const sub = storeRef.current.subscribeToTransactions(callback);\n return sub.release;\n }, [callback, storeRef]);\n}\n\nfunction externallyVisibleAtomValuesInState(state) {\n const atomValues = state.atomValues.toMap();\n const persistedAtomContentsValues = Recoil_mapMap(Recoil_filterMap(atomValues, (v, k) => {\n const node = getNode$4(k);\n const persistence = node.persistence_UNSTABLE;\n return persistence != null && persistence.type !== 'none' && v.state === 'hasValue';\n }), v => v.contents); // Merge in nonvalidated atoms; we may not have defs for them but they will\n // all have persistence on or they wouldn't be there in the first place.\n\n return Recoil_mergeMaps(state.nonvalidatedAtoms.toMap(), persistedAtomContentsValues);\n}\n\n/**\n Calls the given callback after any atoms have been modified and the consequent\n component re-renders have been committed. This is intended for persisting\n the values of the atoms to storage. The stored values can then be restored\n using the useSetUnvalidatedAtomValues hook.\n\n The callback receives the following info:\n\n atomValues: The current value of every atom that is both persistable (persistence\n type not set to 'none') and whose value is available (not in an\n error or loading state).\n\n previousAtomValues: The value of every persistable and available atom before\n the transaction began.\n\n atomInfo: A map containing the persistence settings for each atom. Every key\n that exists in atomValues will also exist in atomInfo.\n\n modifiedAtoms: The set of atoms that were written to during the transaction.\n\n transactionMetadata: Arbitrary information that was added via the\n useSetUnvalidatedAtomValues hook. Useful for ignoring the useSetUnvalidatedAtomValues\n transaction, to avoid loops.\n*/\nfunction useTransactionObservation_DEPRECATED(callback) {\n useTransactionSubscription(useCallback$2(store => {\n let previousTree = store.getState().previousTree;\n const currentTree = store.getState().currentTree;\n\n if (!previousTree) {\n Recoil_recoverableViolation('Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil');\n previousTree = store.getState().currentTree; // attempt to trundle on\n }\n\n const atomValues = externallyVisibleAtomValuesInState(currentTree);\n const previousAtomValues = externallyVisibleAtomValuesInState(previousTree);\n const atomInfo = Recoil_mapMap(nodes$1, node => {\n var _node$persistence_UNS, _node$persistence_UNS2, _node$persistence_UNS3, _node$persistence_UNS4;\n\n return {\n persistence_UNSTABLE: {\n type: (_node$persistence_UNS = (_node$persistence_UNS2 = node.persistence_UNSTABLE) === null || _node$persistence_UNS2 === void 0 ? void 0 : _node$persistence_UNS2.type) !== null && _node$persistence_UNS !== void 0 ? _node$persistence_UNS : 'none',\n backButton: (_node$persistence_UNS3 = (_node$persistence_UNS4 = node.persistence_UNSTABLE) === null || _node$persistence_UNS4 === void 0 ? void 0 : _node$persistence_UNS4.backButton) !== null && _node$persistence_UNS3 !== void 0 ? _node$persistence_UNS3 : false\n }\n };\n }); // Filter on existance in atomValues so that externally-visible rules\n // are also applied to modified atoms (specifically exclude selectors):\n\n const modifiedAtoms = Recoil_filterSet(currentTree.dirtyAtoms, k => atomValues.has(k) || previousAtomValues.has(k));\n callback({\n atomValues,\n previousAtomValues,\n atomInfo,\n modifiedAtoms,\n transactionMetadata: { ...currentTree.transactionMetadata\n }\n });\n }, [callback]));\n}\n\nfunction useRecoilTransactionObserver(callback) {\n useTransactionSubscription(useCallback$2(store => {\n const snapshot = cloneSnapshot$1(store, 'latest');\n const previousSnapshot = cloneSnapshot$1(store, 'previous');\n callback({\n snapshot,\n previousSnapshot\n });\n }, [callback]));\n} // Return a snapshot of the current state and subscribe to all state changes\n\n\nfunction useRecoilSnapshot() {\n const storeRef = useStoreRef$3();\n const [snapshot, setSnapshot] = useState$2(() => cloneSnapshot$1(storeRef.current));\n const previousSnapshot = Recoil_usePrevious(snapshot);\n const timeoutID = useRef$5();\n const releaseRef = useRef$5();\n useTransactionSubscription(useCallback$2(store => setSnapshot(cloneSnapshot$1(store)), [])); // Retain snapshot for duration component is mounted\n\n useEffect$4(() => {\n const release = snapshot.retain(); // Release the retain from the rendering call\n\n if (timeoutID.current && !isSSR$3) {\n var _releaseRef$current;\n\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n (_releaseRef$current = releaseRef.current) === null || _releaseRef$current === void 0 ? void 0 : _releaseRef$current.call(releaseRef);\n releaseRef.current = null;\n }\n\n return () => {\n // Defer the release. If \"Fast Refresh\"\" is used then the component may\n // re-render with the same state. The previous cleanup will then run and\n // then the new effect will run. We don't want the snapshot to be released\n // by that cleanup before the new effect has a chance to retain it again.\n // Use timeout of 10 to workaround Firefox issue: https://github.com/facebookexperimental/Recoil/issues/1936\n window.setTimeout(release, 10);\n };\n }, [snapshot]); // Retain snapshot until above effect is run.\n // Release after a threshold in case component is suspended.\n\n if (previousSnapshot !== snapshot && !isSSR$3) {\n // Release the previous snapshot\n if (timeoutID.current) {\n var _releaseRef$current2;\n\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n (_releaseRef$current2 = releaseRef.current) === null || _releaseRef$current2 === void 0 ? void 0 : _releaseRef$current2.call(releaseRef);\n releaseRef.current = null;\n }\n\n releaseRef.current = snapshot.retain();\n timeoutID.current = window.setTimeout(() => {\n var _releaseRef$current3;\n\n timeoutID.current = null;\n (_releaseRef$current3 = releaseRef.current) === null || _releaseRef$current3 === void 0 ? void 0 : _releaseRef$current3.call(releaseRef);\n releaseRef.current = null;\n }, SUSPENSE_TIMEOUT_MS$2);\n }\n\n return snapshot;\n}\n\nfunction gotoSnapshot(store, snapshot) {\n var _storeState$nextTree;\n\n const storeState = store.getState();\n const prev = (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree;\n const next = snapshot.getStore_INTERNAL().getState().currentTree;\n batchUpdates$3(() => {\n const keysToUpdate = new Set();\n\n for (const keys of [prev.atomValues.keys(), next.atomValues.keys()]) {\n for (const key of keys) {\n var _prev$atomValues$get, _next$atomValues$get;\n\n if (((_prev$atomValues$get = prev.atomValues.get(key)) === null || _prev$atomValues$get === void 0 ? void 0 : _prev$atomValues$get.contents) !== ((_next$atomValues$get = next.atomValues.get(key)) === null || _next$atomValues$get === void 0 ? void 0 : _next$atomValues$get.contents) && getNode$4(key).shouldRestoreFromSnapshots) {\n keysToUpdate.add(key);\n }\n }\n }\n\n keysToUpdate.forEach(key => {\n setRecoilValueLoadable$1(store, new AbstractRecoilValue$4(key), next.atomValues.has(key) ? Recoil_nullthrows(next.atomValues.get(key)) : DEFAULT_VALUE$3);\n });\n store.replaceState(state => ({ ...state,\n stateID: snapshot.getID()\n }));\n });\n}\n\nfunction useGotoRecoilSnapshot() {\n const storeRef = useStoreRef$3();\n return useCallback$2(snapshot => gotoSnapshot(storeRef.current, snapshot), [storeRef]);\n}\n\nvar Recoil_SnapshotHooks = {\n useRecoilSnapshot,\n gotoSnapshot,\n useGotoRecoilSnapshot,\n useRecoilTransactionObserver,\n useTransactionObservation_DEPRECATED,\n useTransactionSubscription_DEPRECATED: useTransactionSubscription\n};\n\nconst {\n peekNodeInfo: peekNodeInfo$2\n} = Recoil_FunctionalCore;\n\nconst {\n useStoreRef: useStoreRef$4\n} = Recoil_RecoilRoot;\n\nfunction useGetRecoilValueInfo() {\n const storeRef = useStoreRef$4();\n return ({\n key\n }) => peekNodeInfo$2(storeRef.current, storeRef.current.getState().currentTree, key);\n}\n\nvar Recoil_useGetRecoilValueInfo = useGetRecoilValueInfo;\n\nconst {\n reactMode: reactMode$4\n} = Recoil_ReactMode;\n\nconst {\n RecoilRoot: RecoilRoot$1,\n useStoreRef: useStoreRef$5\n} = Recoil_RecoilRoot;\n\n\n\nconst {\n useMemo: useMemo$2\n} = react;\n\nfunction useRecoilBridgeAcrossReactRoots() {\n // The test fails when using useMutableSource(), but only if act() is used\n // for the nested root. So, this may only be a testing environment issue.\n if (reactMode$4().mode === 'MUTABLE_SOURCE') {\n // eslint-disable-next-line fb-www/no-console\n console.warn('Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.');\n }\n\n const store = useStoreRef$5().current;\n return useMemo$2(() => {\n // eslint-disable-next-line no-shadow\n function RecoilBridge({\n children\n }) {\n return /*#__PURE__*/react.createElement(RecoilRoot$1, {\n store_INTERNAL: store\n }, children);\n }\n\n return RecoilBridge;\n }, [store]);\n}\n\nvar Recoil_useRecoilBridgeAcrossReactRoots = useRecoilBridgeAcrossReactRoots;\n\nconst {\n loadableWithValue: loadableWithValue$1\n} = Recoil_Loadable$1;\n\nconst {\n initializeNode: initializeNode$3\n} = Recoil_FunctionalCore;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$4,\n getNode: getNode$5\n} = Recoil_Node;\n\nconst {\n copyTreeState: copyTreeState$1,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$3,\n invalidateDownstreams: invalidateDownstreams$1,\n writeLoadableToTreeState: writeLoadableToTreeState$1\n} = Recoil_RecoilValueInterface;\n\n\n\nfunction isAtom(recoilValue) {\n return getNode$5(recoilValue.key).nodeType === 'atom';\n}\n\nclass TransactionInterfaceImpl {\n constructor(store, treeState) {\n _defineProperty(this, \"_store\", void 0);\n\n _defineProperty(this, \"_treeState\", void 0);\n\n _defineProperty(this, \"_changes\", void 0);\n\n _defineProperty(this, \"get\", recoilValue => {\n if (this._changes.has(recoilValue.key)) {\n // $FlowIssue[incompatible-return]\n return this._changes.get(recoilValue.key);\n }\n\n if (!isAtom(recoilValue)) {\n throw Recoil_err('Reading selectors within atomicUpdate is not supported');\n }\n\n const loadable = getRecoilValueAsLoadable$3(this._store, recoilValue, this._treeState);\n\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'hasError') {\n throw loadable.contents;\n } else {\n throw Recoil_err(`Expected Recoil atom ${recoilValue.key} to have a value, but it is in a loading state.`);\n }\n });\n\n _defineProperty(this, \"set\", (recoilState, valueOrUpdater) => {\n if (!isAtom(recoilState)) {\n throw Recoil_err('Setting selectors within atomicUpdate is not supported');\n }\n\n if (typeof valueOrUpdater === 'function') {\n const current = this.get(recoilState);\n\n this._changes.set(recoilState.key, valueOrUpdater(current)); // flowlint-line unclear-type:off\n\n } else {\n // Initialize atom and run effects if not initialized yet\n initializeNode$3(this._store, recoilState.key, 'set');\n\n this._changes.set(recoilState.key, valueOrUpdater);\n }\n });\n\n _defineProperty(this, \"reset\", recoilState => {\n this.set(recoilState, DEFAULT_VALUE$4);\n });\n\n this._store = store;\n this._treeState = treeState;\n this._changes = new Map();\n } // Allow destructing\n // eslint-disable-next-line fb-www/extra-arrow-initializer\n\n\n newTreeState_INTERNAL() {\n if (this._changes.size === 0) {\n return this._treeState;\n }\n\n const newState = copyTreeState$1(this._treeState);\n\n for (const [k, v] of this._changes) {\n writeLoadableToTreeState$1(newState, k, loadableWithValue$1(v));\n }\n\n invalidateDownstreams$1(this._store, newState);\n return newState;\n }\n\n}\n\nfunction atomicUpdater(store) {\n return fn => {\n store.replaceState(treeState => {\n const changeset = new TransactionInterfaceImpl(store, treeState);\n fn(changeset);\n return changeset.newTreeState_INTERNAL();\n });\n };\n}\n\nvar Recoil_AtomicUpdates = {\n atomicUpdater\n};\n\nvar Recoil_AtomicUpdates_1 = Recoil_AtomicUpdates.atomicUpdater;\n\nvar Recoil_AtomicUpdates$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n atomicUpdater: Recoil_AtomicUpdates_1\n});\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction invariant(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n\nvar invariant_1 = invariant;\n\n// @oss-only\n\n\nvar Recoil_invariant = invariant_1;\n\nconst {\n atomicUpdater: atomicUpdater$1\n} = Recoil_AtomicUpdates$1;\n\nconst {\n batchUpdates: batchUpdates$4\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$5\n} = Recoil_Node;\n\nconst {\n useStoreRef: useStoreRef$6\n} = Recoil_RecoilRoot;\n\nconst {\n refreshRecoilValue: refreshRecoilValue$1,\n setRecoilValue: setRecoilValue$3\n} = Recoil_RecoilValueInterface;\n\nconst {\n cloneSnapshot: cloneSnapshot$2\n} = Recoil_Snapshot$1;\n\nconst {\n gotoSnapshot: gotoSnapshot$1\n} = Recoil_SnapshotHooks;\n\nconst {\n useCallback: useCallback$3\n} = react;\n\n\n\n\n\n\n\n\n\nclass Sentinel {}\n\nconst SENTINEL = new Sentinel();\n\nfunction recoilCallback(store, fn, args, extraInterface) {\n let ret = SENTINEL;\n let releaseSnapshot;\n batchUpdates$4(() => {\n const errMsg = 'useRecoilCallback() expects a function that returns a function: ' + 'it accepts a function of the type (RecoilInterface) => (Args) => ReturnType ' + 'and returns a callback function (Args) => ReturnType, where RecoilInterface is ' + 'an object {snapshot, set, ...} and Args and ReturnType are the argument and return ' + 'types of the callback you want to create. Please see the docs ' + 'at recoiljs.org for details.';\n\n if (typeof fn !== 'function') {\n throw Recoil_err(errMsg);\n } // Clone the snapshot lazily to avoid overhead if the callback does not use it.\n // Note that this means the snapshot may represent later state from when\n // the callback was called if it first accesses the snapshot asynchronously.\n\n\n const callbackInterface = Recoil_lazyProxy({ ...(extraInterface !== null && extraInterface !== void 0 ? extraInterface : {}),\n // flowlint-line unclear-type:off\n set: (node, newValue) => setRecoilValue$3(store, node, newValue),\n reset: node => setRecoilValue$3(store, node, DEFAULT_VALUE$5),\n refresh: node => refreshRecoilValue$1(store, node),\n gotoSnapshot: snapshot => gotoSnapshot$1(store, snapshot),\n transact_UNSTABLE: transaction => atomicUpdater$1(store)(transaction)\n }, {\n snapshot: () => {\n const snapshot = cloneSnapshot$2(store);\n releaseSnapshot = snapshot.retain();\n return snapshot;\n }\n });\n const callback = fn(callbackInterface);\n\n if (typeof callback !== 'function') {\n throw Recoil_err(errMsg);\n }\n\n ret = callback(...args);\n });\n !!(ret instanceof Sentinel) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'batchUpdates should return immediately') : Recoil_invariant(false) : void 0;\n\n if (Recoil_isPromise(ret)) {\n ret.finally(() => {\n var _releaseSnapshot;\n\n (_releaseSnapshot = releaseSnapshot) === null || _releaseSnapshot === void 0 ? void 0 : _releaseSnapshot();\n });\n } else {\n var _releaseSnapshot2;\n\n (_releaseSnapshot2 = releaseSnapshot) === null || _releaseSnapshot2 === void 0 ? void 0 : _releaseSnapshot2();\n }\n\n return ret;\n}\n\nfunction useRecoilCallback(fn, deps) {\n const storeRef = useStoreRef$6();\n return useCallback$3( // $FlowIssue[incompatible-call]\n (...args) => {\n return recoilCallback(storeRef.current, fn, args);\n }, deps != null ? [...deps, storeRef] : undefined // eslint-disable-line fb-www/react-hooks-deps\n );\n}\n\nvar Recoil_useRecoilCallback = {\n recoilCallback,\n useRecoilCallback\n};\n\nconst {\n useStoreRef: useStoreRef$7\n} = Recoil_RecoilRoot;\n\nconst {\n refreshRecoilValue: refreshRecoilValue$2\n} = Recoil_RecoilValueInterface;\n\nconst {\n useCallback: useCallback$4\n} = react;\n\nfunction useRecoilRefresher(recoilValue) {\n const storeRef = useStoreRef$7();\n return useCallback$4(() => {\n const store = storeRef.current;\n refreshRecoilValue$2(store, recoilValue);\n }, [recoilValue, storeRef]);\n}\n\nvar Recoil_useRecoilRefresher = useRecoilRefresher;\n\nconst {\n atomicUpdater: atomicUpdater$2\n} = Recoil_AtomicUpdates$1;\n\nconst {\n useStoreRef: useStoreRef$8\n} = Recoil_RecoilRoot;\n\nconst {\n useMemo: useMemo$3\n} = react;\n\nfunction useRecoilTransaction(fn, deps) {\n const storeRef = useStoreRef$8();\n return useMemo$3(() => (...args) => {\n const atomicUpdate = atomicUpdater$2(storeRef.current);\n atomicUpdate(transactionInterface => {\n fn(transactionInterface)(...args);\n });\n }, deps != null ? [...deps, storeRef] : undefined // eslint-disable-line fb-www/react-hooks-deps\n );\n}\n\nvar Recoil_useRecoilTransaction = useRecoilTransaction;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass WrappedValue {\n constructor(value) {\n _defineProperty(this, \"value\", void 0);\n\n this.value = value;\n }\n\n}\n\nvar Recoil_Wrapper = {\n WrappedValue\n};\n\nvar Recoil_Wrapper_1 = Recoil_Wrapper.WrappedValue;\n\nvar Recoil_Wrapper$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n WrappedValue: Recoil_Wrapper_1\n});\n\nconst {\n isFastRefreshEnabled: isFastRefreshEnabled$2\n} = Recoil_ReactMode;\n\n\n\nclass ChangedPathError extends Error {}\n\nclass TreeCache {\n // $FlowIssue[unclear-type]\n constructor(options) {\n var _options$onHit, _options$onSet, _options$mapNodeValue;\n\n _defineProperty(this, \"_name\", void 0);\n\n _defineProperty(this, \"_numLeafs\", void 0);\n\n _defineProperty(this, \"_root\", void 0);\n\n _defineProperty(this, \"_onHit\", void 0);\n\n _defineProperty(this, \"_onSet\", void 0);\n\n _defineProperty(this, \"_mapNodeValue\", void 0);\n\n this._name = options === null || options === void 0 ? void 0 : options.name;\n this._numLeafs = 0;\n this._root = null;\n this._onHit = (_options$onHit = options === null || options === void 0 ? void 0 : options.onHit) !== null && _options$onHit !== void 0 ? _options$onHit : () => {};\n this._onSet = (_options$onSet = options === null || options === void 0 ? void 0 : options.onSet) !== null && _options$onSet !== void 0 ? _options$onSet : () => {};\n this._mapNodeValue = (_options$mapNodeValue = options === null || options === void 0 ? void 0 : options.mapNodeValue) !== null && _options$mapNodeValue !== void 0 ? _options$mapNodeValue : val => val;\n }\n\n size() {\n return this._numLeafs;\n } // $FlowIssue[unclear-type]\n\n\n root() {\n return this._root;\n }\n\n get(getNodeValue, handlers) {\n var _this$getLeafNode;\n\n return (_this$getLeafNode = this.getLeafNode(getNodeValue, handlers)) === null || _this$getLeafNode === void 0 ? void 0 : _this$getLeafNode.value;\n }\n\n getLeafNode(getNodeValue, handlers) {\n if (this._root == null) {\n return undefined;\n } // Iterate down the tree based on the current node values until we hit a leaf\n // $FlowIssue[unclear-type]\n\n\n let node = this._root;\n\n while (node) {\n handlers === null || handlers === void 0 ? void 0 : handlers.onNodeVisit(node);\n\n if (node.type === 'leaf') {\n this._onHit(node);\n\n return node;\n }\n\n const nodeValue = this._mapNodeValue(getNodeValue(node.nodeKey));\n\n node = node.branches.get(nodeValue);\n }\n\n return undefined;\n }\n\n set(route, value, handlers) {\n const addLeaf = () => {\n var _node2, _node3, _this$_root2, _handlers$onNodeVisit2;\n\n // First, setup the branch nodes for the route:\n // Iterate down the tree to find or add branch nodes following the route\n let node;\n let branchKey;\n\n for (const [nodeKey, nodeValue] of route) {\n var _node, _handlers$onNodeVisit, _this$_root;\n\n // If the previous root was a leaf, while we not have a get(), it means\n // the selector has inconsistent values or implementation changed.\n const root = this._root;\n\n if ((root === null || root === void 0 ? void 0 : root.type) === 'leaf') {\n throw this.invalidCacheError();\n } // node now refers to the next node down in the tree\n\n\n const parent = node; // $FlowFixMe[prop-missing]\n // $FlowFixMe[incompatible-type]\n\n node = parent ? parent.branches.get(branchKey) : root; // $FlowFixMe[prop-missing]\n // $FlowFixMe[incompatible-type]\n\n node = (_node = node) !== null && _node !== void 0 ? _node : {\n type: 'branch',\n nodeKey,\n parent,\n branches: new Map(),\n branchKey\n }; // If we found an existing node, confirm it has a consistent value\n\n if (node.type !== 'branch' || node.nodeKey !== nodeKey) {\n throw this.invalidCacheError();\n } // Add the branch node to the tree\n\n\n parent === null || parent === void 0 ? void 0 : parent.branches.set(branchKey, node);\n handlers === null || handlers === void 0 ? void 0 : (_handlers$onNodeVisit = handlers.onNodeVisit) === null || _handlers$onNodeVisit === void 0 ? void 0 : _handlers$onNodeVisit.call(handlers, node); // Prepare for next iteration and install root if it is new.\n\n branchKey = this._mapNodeValue(nodeValue);\n this._root = (_this$_root = this._root) !== null && _this$_root !== void 0 ? _this$_root : node;\n } // Second, setup the leaf node:\n // If there is an existing leaf for this route confirm it is consistent\n\n\n const oldLeaf = node ? (_node2 = node) === null || _node2 === void 0 ? void 0 : _node2.branches.get(branchKey) : this._root;\n\n if (oldLeaf != null && (oldLeaf.type !== 'leaf' || oldLeaf.branchKey !== branchKey)) {\n throw this.invalidCacheError();\n } // Create a new or replacement leaf.\n\n\n const leafNode = {\n type: 'leaf',\n value,\n parent: node,\n branchKey\n }; // Install the leaf and call handlers\n\n (_node3 = node) === null || _node3 === void 0 ? void 0 : _node3.branches.set(branchKey, leafNode);\n this._root = (_this$_root2 = this._root) !== null && _this$_root2 !== void 0 ? _this$_root2 : leafNode;\n this._numLeafs++;\n\n this._onSet(leafNode);\n\n handlers === null || handlers === void 0 ? void 0 : (_handlers$onNodeVisit2 = handlers.onNodeVisit) === null || _handlers$onNodeVisit2 === void 0 ? void 0 : _handlers$onNodeVisit2.call(handlers, leafNode);\n };\n\n try {\n addLeaf();\n } catch (error) {\n // If the cache was stale or observed inconsistent values, such as with\n // Fast Refresh, then clear it and rebuild with the new values.\n if (error instanceof ChangedPathError) {\n this.clear();\n addLeaf();\n } else {\n throw error;\n }\n }\n } // Returns true if leaf was actually deleted from the tree\n\n\n delete(leaf) {\n const root = this.root();\n\n if (!root) {\n return false;\n }\n\n if (leaf === root) {\n this._root = null;\n this._numLeafs = 0;\n return true;\n } // Iterate up from the leaf deleteing it from it's parent's branches.\n\n\n let node = leaf.parent;\n let branchKey = leaf.branchKey;\n\n while (node) {\n var _node4;\n\n node.branches.delete(branchKey); // Stop iterating if we hit the root.\n\n if (node === root) {\n if (node.branches.size === 0) {\n this._root = null;\n this._numLeafs = 0;\n } else {\n this._numLeafs--;\n }\n\n return true;\n } // Stop iterating if there are other branches since we don't need to\n // remove any more nodes.\n\n\n if (node.branches.size > 0) {\n break;\n } // Iterate up to our parent\n\n\n branchKey = (_node4 = node) === null || _node4 === void 0 ? void 0 : _node4.branchKey;\n node = node.parent;\n } // Confirm that the leaf we are deleting is actually attached to our tree\n\n\n for (; node !== root; node = node.parent) {\n if (node == null) {\n return false;\n }\n }\n\n this._numLeafs--;\n return true;\n }\n\n clear() {\n this._numLeafs = 0;\n this._root = null;\n }\n\n invalidCacheError() {\n const CHANGED_PATH_ERROR_MESSAGE = isFastRefreshEnabled$2() ? 'Possible Fast Refresh module reload detected. ' + 'This may also be caused by an selector returning inconsistent values. ' + 'Resetting cache.' : 'Invalid cache values. This happens when selectors do not return ' + 'consistent values for the same input dependency values. That may also ' + 'be caused when using Fast Refresh to change a selector implementation. ' + 'Resetting cache.';\n Recoil_recoverableViolation(CHANGED_PATH_ERROR_MESSAGE + (this._name != null ? ` - ${this._name}` : ''));\n throw new ChangedPathError();\n }\n\n}\n\nvar Recoil_TreeCache = {\n TreeCache\n};\n\nvar Recoil_TreeCache_1 = Recoil_TreeCache.TreeCache;\n\nvar Recoil_TreeCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n TreeCache: Recoil_TreeCache_1\n});\n\nclass LRUCache {\n constructor(options) {\n var _options$mapKey;\n\n _defineProperty(this, \"_maxSize\", void 0);\n\n _defineProperty(this, \"_size\", void 0);\n\n _defineProperty(this, \"_head\", void 0);\n\n _defineProperty(this, \"_tail\", void 0);\n\n _defineProperty(this, \"_map\", void 0);\n\n _defineProperty(this, \"_keyMapper\", void 0);\n\n this._maxSize = options.maxSize;\n this._size = 0;\n this._head = null;\n this._tail = null;\n this._map = new Map();\n this._keyMapper = (_options$mapKey = options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : v => v;\n }\n\n head() {\n return this._head;\n }\n\n tail() {\n return this._tail;\n }\n\n size() {\n return this._size;\n }\n\n maxSize() {\n return this._maxSize;\n }\n\n has(key) {\n return this._map.has(this._keyMapper(key));\n }\n\n get(key) {\n const mappedKey = this._keyMapper(key);\n\n const node = this._map.get(mappedKey);\n\n if (!node) {\n return undefined;\n }\n\n this.set(key, node.value);\n return node.value;\n }\n\n set(key, val) {\n const mappedKey = this._keyMapper(key);\n\n const existingNode = this._map.get(mappedKey);\n\n if (existingNode) {\n this.delete(key);\n }\n\n const head = this.head();\n const node = {\n key,\n right: head,\n left: null,\n value: val\n };\n\n if (head) {\n head.left = node;\n } else {\n this._tail = node;\n }\n\n this._map.set(mappedKey, node);\n\n this._head = node;\n this._size++;\n\n this._maybeDeleteLRU();\n }\n\n _maybeDeleteLRU() {\n if (this.size() > this.maxSize()) {\n this.deleteLru();\n }\n }\n\n deleteLru() {\n const tail = this.tail();\n\n if (tail) {\n this.delete(tail.key);\n }\n }\n\n delete(key) {\n const mappedKey = this._keyMapper(key);\n\n if (!this._size || !this._map.has(mappedKey)) {\n return;\n }\n\n const node = Recoil_nullthrows(this._map.get(mappedKey));\n const right = node.right;\n const left = node.left;\n\n if (right) {\n right.left = node.left;\n }\n\n if (left) {\n left.right = node.right;\n }\n\n if (node === this.head()) {\n this._head = right;\n }\n\n if (node === this.tail()) {\n this._tail = left;\n }\n\n this._map.delete(mappedKey);\n\n this._size--;\n }\n\n clear() {\n this._size = 0;\n this._head = null;\n this._tail = null;\n this._map = new Map();\n }\n\n}\n\nvar Recoil_LRUCache = {\n LRUCache\n};\n\nvar Recoil_LRUCache_1 = Recoil_LRUCache.LRUCache;\n\nvar Recoil_LRUCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n LRUCache: Recoil_LRUCache_1\n});\n\nconst {\n LRUCache: LRUCache$1\n} = Recoil_LRUCache$1;\n\nconst {\n TreeCache: TreeCache$1\n} = Recoil_TreeCache$1;\n\nfunction treeCacheLRU({\n name,\n maxSize,\n mapNodeValue = v => v\n}) {\n const lruCache = new LRUCache$1({\n maxSize\n });\n const cache = new TreeCache$1({\n name,\n mapNodeValue,\n onHit: node => {\n lruCache.set(node, true);\n },\n onSet: node => {\n const lruNode = lruCache.tail();\n lruCache.set(node, true);\n\n if (lruNode && cache.size() > maxSize) {\n cache.delete(lruNode.key);\n }\n }\n });\n return cache;\n}\n\nvar Recoil_treeCacheLRU = treeCacheLRU;\n\nconst TIME_WARNING_THRESHOLD_MS = 15;\n\nfunction stringify(x, opt, key) {\n // A optimization to avoid the more expensive JSON.stringify() for simple strings\n // This may lose protection for u2028 and u2029, though.\n if (typeof x === 'string' && !x.includes('\"') && !x.includes('\\\\')) {\n return `\"${x}\"`;\n } // Handle primitive types\n\n\n switch (typeof x) {\n case 'undefined':\n return '';\n // JSON.stringify(undefined) returns undefined, but we always want to return a string\n\n case 'boolean':\n return x ? 'true' : 'false';\n\n case 'number':\n case 'symbol':\n // case 'bigint': // BigInt is not supported in www\n return String(x);\n\n case 'string':\n // Add surrounding quotes and escape internal quotes\n return JSON.stringify(x);\n\n case 'function':\n if ((opt === null || opt === void 0 ? void 0 : opt.allowFunctions) !== true) {\n throw Recoil_err('Attempt to serialize function in a Recoil cache key');\n }\n\n return `__FUNCTION(${x.name})__`;\n }\n\n if (x === null) {\n return 'null';\n } // Fallback case for unknown types\n\n\n if (typeof x !== 'object') {\n var _JSON$stringify;\n\n return (_JSON$stringify = JSON.stringify(x)) !== null && _JSON$stringify !== void 0 ? _JSON$stringify : '';\n } // Deal with all promises as equivalent for now.\n\n\n if (Recoil_isPromise(x)) {\n return '__PROMISE__';\n } // Arrays handle recursive stringification\n\n\n if (Array.isArray(x)) {\n return `[${x.map((v, i) => stringify(v, opt, i.toString()))}]`;\n } // If an object defines a toJSON() method, then use that to override the\n // serialization. This matches the behavior of JSON.stringify().\n // Pass the key for compatibility.\n // Immutable.js collections define this method to allow us to serialize them.\n\n\n if (typeof x.toJSON === 'function') {\n // flowlint-next-line unclear-type: off\n return stringify(x.toJSON(key), opt, key);\n } // For built-in Maps, sort the keys in a stable order instead of the\n // default insertion order. Support non-string keys.\n\n\n if (x instanceof Map) {\n const obj = {};\n\n for (const [k, v] of x) {\n // Stringify will escape any nested quotes\n obj[typeof k === 'string' ? k : stringify(k, opt)] = v;\n }\n\n return stringify(obj, opt, key);\n } // For built-in Sets, sort the keys in a stable order instead of the\n // default insertion order.\n\n\n if (x instanceof Set) {\n return stringify(Array.from(x).sort((a, b) => stringify(a, opt).localeCompare(stringify(b, opt))), opt, key);\n } // Anything else that is iterable serialize as an Array.\n\n\n if (Symbol !== undefined && x[Symbol.iterator] != null && typeof x[Symbol.iterator] === 'function') {\n // flowlint-next-line unclear-type: off\n return stringify(Array.from(x), opt, key);\n } // For all other Objects, sort the keys in a stable order.\n\n\n return `{${Object.keys(x).filter(k => x[k] !== undefined).sort() // stringify the key to add quotes and escape any nested slashes or quotes.\n .map(k => `${stringify(k, opt)}:${stringify(x[k], opt, k)}`).join(',')}}`;\n} // Utility similar to JSON.stringify() except:\n// * Serialize built-in Sets as an Array\n// * Serialize built-in Maps as an Object. Supports non-string keys.\n// * Serialize other iterables as arrays\n// * Sort the keys of Objects and Maps to have a stable order based on string conversion.\n// This overrides their default insertion order.\n// * Still uses toJSON() of any object to override serialization\n// * Support Symbols (though don't guarantee uniqueness)\n// * We could support BigInt, but Flow doesn't seem to like it.\n// See Recoil_stableStringify-test.js for examples\n\n\nfunction stableStringify(x, opt = {\n allowFunctions: false\n}) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined') {\n const startTime = window.performance ? window.performance.now() : 0;\n const str = stringify(x, opt);\n const endTime = window.performance ? window.performance.now() : 0;\n\n if (endTime - startTime > TIME_WARNING_THRESHOLD_MS) {\n /* eslint-disable fb-www/no-console */\n console.groupCollapsed(`Recoil: Spent ${endTime - startTime}ms computing a cache key`);\n console.warn(x, str);\n console.groupEnd();\n /* eslint-enable fb-www/no-console */\n }\n\n return str;\n }\n }\n\n return stringify(x, opt);\n}\n\nvar Recoil_stableStringify = stableStringify;\n\nconst {\n TreeCache: TreeCache$2\n} = Recoil_TreeCache$1;\n\n\n\n\n\n\n\n\n\nconst defaultPolicy = {\n equality: 'reference',\n eviction: 'keep-all',\n maxSize: Infinity\n};\n\nfunction treeCacheFromPolicy({\n equality = defaultPolicy.equality,\n eviction = defaultPolicy.eviction,\n maxSize = defaultPolicy.maxSize\n} = defaultPolicy, name) {\n const valueMapper = getValueMapper(equality);\n return getTreeCache(eviction, maxSize, valueMapper, name);\n}\n\nfunction getValueMapper(equality) {\n switch (equality) {\n case 'reference':\n return val => val;\n\n case 'value':\n return val => Recoil_stableStringify(val);\n }\n\n throw Recoil_err(`Unrecognized equality policy ${equality}`);\n}\n\nfunction getTreeCache(eviction, maxSize, mapNodeValue, name) {\n switch (eviction) {\n case 'keep-all':\n return new TreeCache$2({\n name,\n mapNodeValue\n });\n\n case 'lru':\n return Recoil_treeCacheLRU({\n name,\n maxSize: Recoil_nullthrows(maxSize),\n mapNodeValue\n });\n\n case 'most-recent':\n return Recoil_treeCacheLRU({\n name,\n maxSize: 1,\n mapNodeValue\n });\n }\n\n throw Recoil_err(`Unrecognized eviction policy ${eviction}`);\n}\n\nvar Recoil_treeCacheFromPolicy = treeCacheFromPolicy;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction isNode(object) {\n var _ownerDocument, _doc$defaultView;\n\n if (typeof window === 'undefined') {\n return false;\n }\n\n const doc = object != null ? (_ownerDocument = object.ownerDocument) !== null && _ownerDocument !== void 0 ? _ownerDocument : object : document;\n const defaultView = (_doc$defaultView = doc.defaultView) !== null && _doc$defaultView !== void 0 ? _doc$defaultView : window;\n return !!(object != null && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nvar Recoil_isNode = isNode;\n\nconst {\n isReactNative: isReactNative$1,\n isWindow: isWindow$1\n} = Recoil_Environment;\n\n\n\n\n\nfunction shouldNotBeFrozen(value) {\n // Primitives and functions:\n if (value === null || typeof value !== 'object') {\n return true;\n } // React elements:\n\n\n switch (typeof value.$$typeof) {\n case 'symbol':\n return true;\n\n case 'number':\n return true;\n } // Immutable structures:\n\n\n if (value['@@__IMMUTABLE_ITERABLE__@@'] != null || value['@@__IMMUTABLE_KEYED__@@'] != null || value['@@__IMMUTABLE_INDEXED__@@'] != null || value['@@__IMMUTABLE_ORDERED__@@'] != null || value['@@__IMMUTABLE_RECORD__@@'] != null) {\n return true;\n } // DOM nodes:\n\n\n if (Recoil_isNode(value)) {\n return true;\n }\n\n if (Recoil_isPromise(value)) {\n return true;\n }\n\n if (value instanceof Error) {\n return true;\n }\n\n if (ArrayBuffer.isView(value)) {\n return true;\n } // Some environments, just as Jest, don't work with the instanceof check\n\n\n if (!isReactNative$1 && isWindow$1(value)) {\n return true;\n }\n\n return false;\n} // Recursively freeze a value to enforce it is read-only.\n// This may also have minimal performance improvements for enumerating\n// objects (based on browser implementations, of course)\n\n\nfunction deepFreezeValue(value) {\n if (typeof value !== 'object' || shouldNotBeFrozen(value)) {\n return;\n }\n\n Object.freeze(value); // Make all properties read-only\n\n for (const key in value) {\n // $FlowIssue[method-unbinding] added when improving typing for this parameters\n if (Object.prototype.hasOwnProperty.call(value, key)) {\n const prop = value[key]; // Prevent infinite recurssion for circular references.\n\n if (typeof prop === 'object' && prop != null && !Object.isFrozen(prop)) {\n deepFreezeValue(prop);\n }\n }\n }\n\n Object.seal(value); // This also makes existing properties non-configurable.\n}\n\nvar Recoil_deepFreezeValue = deepFreezeValue;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is a stub for some integration into FB internal stuff\n *\n * \n * @format\n * @oncall recoil\n */\nfunction startPerfBlock(_id) {\n return () => null;\n}\n\nvar Recoil_PerformanceTimings = {\n startPerfBlock\n};\n\nconst {\n isLoadable: isLoadable$1,\n loadableWithError: loadableWithError$1,\n loadableWithPromise: loadableWithPromise$1,\n loadableWithValue: loadableWithValue$2\n} = Recoil_Loadable$1;\n\nconst {\n WrappedValue: WrappedValue$1\n} = Recoil_Wrapper$1;\n\n\n\nconst {\n getNodeLoadable: getNodeLoadable$2,\n peekNodeLoadable: peekNodeLoadable$1,\n setNodeValue: setNodeValue$3\n} = Recoil_FunctionalCore;\n\nconst {\n saveDepsToStore: saveDepsToStore$1\n} = Recoil_Graph;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$6,\n getConfigDeletionHandler: getConfigDeletionHandler$1,\n getNode: getNode$6,\n registerNode: registerNode$1\n} = Recoil_Node;\n\nconst {\n isRecoilValue: isRecoilValue$3\n} = Recoil_RecoilValue$1;\n\nconst {\n markRecoilValueModified: markRecoilValueModified$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n retainedByOptionWithDefault: retainedByOptionWithDefault$1\n} = Recoil_Retention;\n\nconst {\n recoilCallback: recoilCallback$1\n} = Recoil_useRecoilCallback;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst {\n startPerfBlock: startPerfBlock$1\n} = Recoil_PerformanceTimings;\n\n\n\nclass Canceled {}\n\nconst CANCELED = new Canceled();\n/**\n * An ExecutionID is an arbitrary ID that lets us distinguish executions from\n * each other. This is necessary as we need a way of solving this problem:\n * \"given 3 async executions, only update state for the 'latest' execution when\n * it finishes running regardless of when the other 2 finish\". ExecutionIDs\n * provide a convenient way of identifying executions so that we can track and\n * manage them over time.\n */\n\nconst dependencyStack = []; // for detecting circular dependencies.\n\nconst waitingStores = new Map();\n\nconst getNewExecutionID = (() => {\n let executionID = 0;\n return () => executionID++;\n})();\n/* eslint-disable no-redeclare */\n\n\nfunction selector(options) {\n let recoilValue = null;\n const {\n key,\n get,\n cachePolicy_UNSTABLE: cachePolicy\n } = options;\n const set = options.set != null ? options.set : undefined; // flow\n\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof key !== 'string') {\n throw Recoil_err('A key option with a unique string value must be provided when creating a selector.');\n }\n\n if (typeof get !== 'function') {\n throw Recoil_err('Selectors must specify a get callback option to get the selector value.');\n }\n } // This is every discovered dependency across all executions\n\n\n const discoveredDependencyNodeKeys = new Set();\n const cache = Recoil_treeCacheFromPolicy(cachePolicy !== null && cachePolicy !== void 0 ? cachePolicy : {\n equality: 'reference',\n eviction: 'keep-all'\n }, key);\n const retainedBy = retainedByOptionWithDefault$1(options.retainedBy_UNSTABLE);\n const executionInfoMap = new Map();\n let liveStoresCount = 0;\n\n function selectorIsLive() {\n return !Recoil_gkx('recoil_memory_managament_2020') || liveStoresCount > 0;\n }\n\n function selectorInit(store) {\n store.getState().knownSelectors.add(key);\n liveStoresCount++;\n return () => {\n liveStoresCount--;\n };\n }\n\n function selectorShouldDeleteConfigOnRelease() {\n return getConfigDeletionHandler$1(key) !== undefined && !selectorIsLive();\n }\n\n function resolveAsync(store, state, executionID, loadable, depValues) {\n setCache(state, loadable, depValues);\n notifyStoresOfResolvedAsync(store, executionID);\n }\n\n function notifyStoresOfResolvedAsync(store, executionID) {\n if (isLatestExecution(store, executionID)) {\n clearExecutionInfo(store);\n }\n\n notifyWaitingStores(executionID, true);\n }\n /**\n * Notify stores to pull the selector again if a new async dep was discovered.\n * 1) Async selector adds a new dep but doesn't resolve yet.\n * Note that deps for an async selector are based on the state when the\n * evaluation started, in order to provide a consistent picture of state.\n * 2) But, new value of dep based on the current state might cause the selector\n * to resolve or resolve differently.\n * 3) Therefore, this notification will pull the selector based on the current\n * state for the components\n */\n\n\n function notifyStoresOfNewAsyncDep(store, executionID) {\n if (isLatestExecution(store, executionID)) {\n const executionInfo = Recoil_nullthrows(getExecutionInfo(store));\n executionInfo.stateVersions.clear();\n notifyWaitingStores(executionID, false);\n }\n }\n\n function notifyWaitingStores(executionID, clearWaitlist) {\n const stores = waitingStores.get(executionID);\n\n if (stores != null) {\n for (const waitingStore of stores) {\n markRecoilValueModified$1(waitingStore, Recoil_nullthrows(recoilValue));\n }\n\n if (clearWaitlist) {\n waitingStores.delete(executionID);\n }\n }\n }\n\n function markStoreWaitingForResolvedAsync(store, executionID) {\n let stores = waitingStores.get(executionID);\n\n if (stores == null) {\n waitingStores.set(executionID, stores = new Set());\n }\n\n stores.add(store);\n }\n /**\n * This function attaches a then() and a catch() to a promise that was\n * returned from a selector's get() (either explicitly or implicitly by\n * running a function that uses the \"async\" keyword). If a selector's get()\n * returns a promise, we have two possibilities:\n *\n * 1. The promise will resolve, in which case it will have completely finished\n * executing without any remaining pending dependencies. No more retries\n * are needed and we can proceed with updating the cache and notifying\n * subscribers (if it is the latest execution, otherwise only the cache\n * will be updated and subscriptions will not be fired). This is the case\n * handled by the attached then() handler.\n *\n * 2. The promise will throw because it either has an error or it came across\n * an async dependency that has not yet resolved, in which case we will\n * call wrapDepdencyPromise(), whose responsibility is to handle dependency\n * promises. This case is handled by the attached catch() handler.\n *\n * Both branches will eventually resolve to the final result of the selector\n * (or an error if a real error occurred).\n *\n * The execution will run to completion even if it is stale, and its value\n * will be cached. But stale executions will not update global state or update\n * executionInfo as that is the responsibility of the 'latest' execution.\n *\n * Note this function should not be passed a promise that was thrown--AKA a\n * dependency promise. Dependency promises should be passed to\n * wrapPendingDependencyPromise()).\n */\n\n\n function wrapResultPromise(store, promise, state, depValues, executionID, loadingDepsState) {\n return promise.then(value => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n const loadable = loadableWithValue$2(value);\n resolveAsync(store, state, executionID, loadable, depValues);\n return value;\n }).catch(errorOrPromise => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n if (Recoil_isPromise(errorOrPromise)) {\n return wrapPendingDependencyPromise(store, errorOrPromise, state, depValues, executionID, loadingDepsState);\n }\n\n const loadable = loadableWithError$1(errorOrPromise);\n resolveAsync(store, state, executionID, loadable, depValues);\n throw errorOrPromise;\n });\n }\n /**\n * This function attaches a then() and a catch() to a promise that was\n * thrown from a selector's get(). If a selector's get() throws a promise,\n * we have two possibilities:\n *\n * 1. The promise will resolve, meaning one of our selector's dependencies is\n * now available and we should \"retry\" our get() by running it again. This\n * is the case handled by the attached then() handler.\n *\n * 2. The promise will throw because something went wrong with the dependency\n * promise (in other words a real error occurred). This case is handled by\n * the attached catch() handler. If the dependency promise throws, it is\n * _always_ a real error and not another dependency promise (any dependency\n * promises would have been handled upstream).\n *\n * The then() branch will eventually resolve to the final result of the\n * selector (or an error if a real error occurs), and the catch() will always\n * resolve to an error because the dependency promise is a promise that was\n * wrapped upstream, meaning it will only resolve to its real value or to a\n * real error.\n *\n * The execution will run to completion even if it is stale, and its value\n * will be cached. But stale executions will not update global state or update\n * executionInfo as that is the responsibility of the 'latest' execution.\n *\n * Note this function should not be passed a promise that was returned from\n * get(). The intention is that this function is only passed promises that\n * were thrown due to a pending dependency. Promises returned by get() should\n * be passed to wrapResultPromise() instead.\n */\n\n\n function wrapPendingDependencyPromise(store, promise, state, existingDeps, executionID, loadingDepsState) {\n return promise.then(resolvedDep => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n } // Check if we are handling a pending Recoil dependency or if the user\n // threw their own Promise to \"suspend\" a selector evaluation. We need\n // to check that the loadingDepPromise actually matches the promise that\n // we caught in case the selector happened to catch the promise we threw\n // for a pending Recoil dependency from `getRecoilValue()` and threw\n // their own promise instead.\n\n\n if (loadingDepsState.loadingDepKey != null && loadingDepsState.loadingDepPromise === promise) {\n /**\n * Note for async atoms, this means we are changing the atom's value\n * in the store for the given version. This should be alright because\n * the version of state is now stale and a new version will have\n * already been triggered by the atom being resolved (see this logic\n * in Recoil_atom.js)\n */\n state.atomValues.set(loadingDepsState.loadingDepKey, loadableWithValue$2(resolvedDep));\n } else {\n /**\n * If resolvedDepKey is not defined, the promise was a user-thrown\n * promise. User-thrown promises are an advanced feature and they\n * should be avoided in almost all cases. Using `loadable.map()` inside\n * of selectors for loading loadables and then throwing that mapped\n * loadable's promise is an example of a user-thrown promise.\n *\n * When we hit a user-thrown promise, we have to bail out of an optimization\n * where we bypass calculating selector cache keys for selectors that\n * have been previously seen for a given state (these selectors are saved in\n * state.atomValues) to avoid stale state as we have no way of knowing\n * what state changes happened (if any) in result to the promise resolving.\n *\n * Ideally we would only bail out selectors that are in the chain of\n * dependencies for this selector, but there's currently no way to get\n * a full list of a selector's downstream nodes because the state that\n * is executing may be a discarded tree (so store.getGraph(state.version)\n * will be empty), and the full dep tree may not be in the selector\n * caches in the case where the selector's cache was cleared. To solve\n * for this we would have to keep track of all running selector\n * executions and their downstream deps. Because this only covers edge\n * cases, that complexity might not be justifyable.\n */\n store.getState().knownSelectors.forEach(nodeKey => {\n state.atomValues.delete(nodeKey);\n });\n }\n /**\n * Optimization: Now that the dependency has resolved, let's try hitting\n * the cache in case the dep resolved to a value we have previously seen.\n *\n * TODO:\n * Note this optimization is not perfect because it only prevents re-executions\n * _after_ the point where an async dependency is found. Any code leading\n * up to the async dependency may have run unnecessarily. The ideal case\n * would be to wait for the async dependency to resolve first, check the\n * cache, and prevent _any_ execution of the selector if the resulting\n * value of the dependency leads to a path that is found in the cache.\n * The ideal case is more difficult to implement as it would require that\n * we capture and wait for the the async dependency right after checking\n * the cache. The current approach takes advantage of the fact that running\n * the selector already has a code path that lets us exit early when\n * an async dep resolves.\n */\n\n\n const cachedLoadable = getLoadableFromCacheAndUpdateDeps(store, state);\n\n if (cachedLoadable && cachedLoadable.state !== 'loading') {\n /**\n * This has to notify stores of a resolved async, even if there is no\n * current pending execution for the following case:\n * 1) A component renders with this pending loadable.\n * 2) The upstream dependency resolves.\n * 3) While processing some other selector it reads this one, such as\n * while traversing its dependencies. At this point it gets the\n * new resolved value synchronously and clears the current\n * execution ID. The component wasn't getting the value itself,\n * though, so it still has the pending loadable.\n * 4) When this code executes the current execution id was cleared\n * and it wouldn't notify the component of the new value.\n *\n * I think this is only an issue with \"early\" rendering since the\n * components got their value using the in-progress execution.\n * We don't have a unit test for this case yet. I'm not sure it is\n * necessary with recoil_transition_support mode.\n */\n if (isLatestExecution(store, executionID) || getExecutionInfo(store) == null) {\n notifyStoresOfResolvedAsync(store, executionID);\n }\n\n if (cachedLoadable.state === 'hasValue') {\n return cachedLoadable.contents;\n } else {\n throw cachedLoadable.contents;\n }\n }\n /**\n * If this execution is stale, let's check to see if there is some in\n * progress execution with a matching state. If we find a match, then\n * we can take the value from that in-progress execution. Note this may\n * sound like an edge case, but may be very common in cases where a\n * loading dependency resolves from loading to having a value (thus\n * possibly triggering a re-render), and React re-renders before the\n * chained .then() functions run, thus starting a new execution as the\n * dep has changed value. Without this check we will run the selector\n * twice (once in the new execution and once again in this .then(), so\n * this check is necessary to keep unnecessary re-executions to a\n * minimum).\n *\n * Also note this code does not check across all executions that may be\n * running. It only optimizes for the _latest_ execution per store as\n * we currently do not maintain a list of all currently running executions.\n * This means in some cases we may run selectors more than strictly\n * necessary when there are multiple executions running for the same\n * selector. This may be a valid tradeoff as checking for dep changes\n * across all in-progress executions may take longer than just\n * re-running the selector. This will be app-dependent, and maybe in the\n * future we can make the behavior configurable. An ideal fix may be\n * to extend the tree cache to support caching loading states.\n */\n\n\n if (!isLatestExecution(store, executionID)) {\n const executionInfo = getInProgressExecutionInfo(store, state);\n\n if (executionInfo != null) {\n /**\n * Returning promise here without wrapping as the wrapper logic was\n * already done upstream when this promise was generated.\n */\n return executionInfo.loadingLoadable.contents;\n }\n } // Retry the selector evaluation now that the dependency has resolved\n\n\n const [loadable, depValues] = evaluateSelectorGetter(store, state, executionID);\n\n if (loadable.state !== 'loading') {\n resolveAsync(store, state, executionID, loadable, depValues);\n }\n\n if (loadable.state === 'hasError') {\n throw loadable.contents;\n }\n\n return loadable.contents;\n }).catch(error => {\n // The selector was released since the request began; ignore the response.\n if (error instanceof Canceled) {\n throw CANCELED;\n }\n\n if (!selectorIsLive()) {\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n const loadable = loadableWithError$1(error);\n resolveAsync(store, state, executionID, loadable, existingDeps);\n throw error;\n });\n }\n\n function updateDeps(store, state, deps, executionID) {\n var _store$getState, _store$getState$curre, _store$getState2, _store$getState2$next;\n\n if (isLatestExecution(store, executionID) || state.version === ((_store$getState = store.getState()) === null || _store$getState === void 0 ? void 0 : (_store$getState$curre = _store$getState.currentTree) === null || _store$getState$curre === void 0 ? void 0 : _store$getState$curre.version) || state.version === ((_store$getState2 = store.getState()) === null || _store$getState2 === void 0 ? void 0 : (_store$getState2$next = _store$getState2.nextTree) === null || _store$getState2$next === void 0 ? void 0 : _store$getState2$next.version)) {\n var _store$getState$nextT, _store$getState3, _store$getState3$next;\n\n saveDepsToStore$1(key, deps, store, (_store$getState$nextT = (_store$getState3 = store.getState()) === null || _store$getState3 === void 0 ? void 0 : (_store$getState3$next = _store$getState3.nextTree) === null || _store$getState3$next === void 0 ? void 0 : _store$getState3$next.version) !== null && _store$getState$nextT !== void 0 ? _store$getState$nextT : store.getState().currentTree.version);\n }\n\n for (const nodeKey of deps) {\n discoveredDependencyNodeKeys.add(nodeKey);\n }\n }\n\n function evaluateSelectorGetter(store, state, executionID) {\n const endPerfBlock = startPerfBlock$1(key); // TODO T63965866: use execution ID here\n\n let duringSynchronousExecution = true;\n let duringAsynchronousExecution = true;\n\n const finishEvaluation = () => {\n endPerfBlock();\n duringAsynchronousExecution = false;\n };\n\n let result;\n let resultIsError = false;\n let loadable;\n const loadingDepsState = {\n loadingDepKey: null,\n loadingDepPromise: null\n };\n /**\n * Starting a fresh set of deps that we'll be using to update state. We're\n * starting a new set versus adding it in existing state deps because\n * the version of state that we update deps for may be a more recent version\n * than the version the selector was called with. This is because the latest\n * execution will update the deps of the current/latest version of state\n * (This is safe to do because the fact that the selector is the latest\n * execution means the deps we discover below are our best guess at the\n * deps for the current/latest state in the store)\n */\n\n const depValues = new Map();\n\n function getRecoilValue({\n key: depKey\n }) {\n const depLoadable = getNodeLoadable$2(store, state, depKey);\n depValues.set(depKey, depLoadable); // We need to update asynchronous dependencies as we go so the selector\n // knows if it has to restart evaluation if one of them is updated before\n // the asynchronous selector completely resolves.\n\n if (!duringSynchronousExecution) {\n updateDeps(store, state, new Set(depValues.keys()), executionID);\n notifyStoresOfNewAsyncDep(store, executionID);\n }\n\n switch (depLoadable.state) {\n case 'hasValue':\n return depLoadable.contents;\n\n case 'hasError':\n throw depLoadable.contents;\n\n case 'loading':\n loadingDepsState.loadingDepKey = depKey;\n loadingDepsState.loadingDepPromise = depLoadable.contents;\n throw depLoadable.contents;\n }\n\n throw Recoil_err('Invalid Loadable state');\n }\n\n const getCallback = fn => {\n return (...args) => {\n if (duringAsynchronousExecution) {\n throw Recoil_err('Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.');\n }\n\n !(recoilValue != null) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Recoil Value can never be null') : Recoil_invariant(false) : void 0;\n return recoilCallback$1(store, fn, args, {\n node: recoilValue\n } // flowlint-line unclear-type:off\n );\n };\n };\n\n try {\n result = get({\n get: getRecoilValue,\n getCallback\n });\n result = isRecoilValue$3(result) ? getRecoilValue(result) : result;\n\n if (isLoadable$1(result)) {\n if (result.state === 'hasError') {\n resultIsError = true;\n }\n\n result = result.contents;\n }\n\n if (Recoil_isPromise(result)) {\n result = wrapResultPromise(store, result, state, depValues, executionID, loadingDepsState).finally(finishEvaluation);\n } else {\n finishEvaluation();\n }\n\n result = result instanceof WrappedValue$1 ? result.value : result;\n } catch (errorOrDepPromise) {\n result = errorOrDepPromise;\n\n if (Recoil_isPromise(result)) {\n result = wrapPendingDependencyPromise(store, result, state, depValues, executionID, loadingDepsState).finally(finishEvaluation);\n } else {\n resultIsError = true;\n finishEvaluation();\n }\n }\n\n if (resultIsError) {\n loadable = loadableWithError$1(result);\n } else if (Recoil_isPromise(result)) {\n loadable = loadableWithPromise$1(result);\n } else {\n loadable = loadableWithValue$2(result);\n }\n\n duringSynchronousExecution = false;\n updateExecutionInfoDepValues(store, executionID, depValues);\n updateDeps(store, state, new Set(depValues.keys()), executionID);\n return [loadable, depValues];\n }\n\n function getLoadableFromCacheAndUpdateDeps(store, state) {\n // First, look up in the state cache\n // If it's here, then the deps in the store should already be valid.\n let cachedLoadable = state.atomValues.get(key);\n\n if (cachedLoadable != null) {\n return cachedLoadable;\n } // Second, look up in the selector cache and update the deps in the store\n\n\n const depsAfterCacheLookup = new Set();\n\n try {\n cachedLoadable = cache.get(nodeKey => {\n !(typeof nodeKey === 'string') ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Cache nodeKey is type string') : Recoil_invariant(false) : void 0;\n return getNodeLoadable$2(store, state, nodeKey).contents;\n }, {\n onNodeVisit: node => {\n if (node.type === 'branch' && node.nodeKey !== key) {\n depsAfterCacheLookup.add(node.nodeKey);\n }\n }\n });\n } catch (error) {\n throw Recoil_err(`Problem with cache lookup for selector \"${key}\": ${error.message}`);\n }\n\n if (cachedLoadable) {\n var _getExecutionInfo;\n\n // Cache the results in the state to allow for cheaper lookup than\n // iterating the tree cache of dependencies.\n state.atomValues.set(key, cachedLoadable);\n /**\n * Ensure store contains correct dependencies if we hit the cache so that\n * the store deps and cache are in sync for a given state. This is important\n * because store deps are normally updated when new executions are created,\n * but cache hits don't trigger new executions but they still _may_ signify\n * a change in deps in the store if the store deps for this state are empty\n * or stale.\n */\n\n updateDeps(store, state, depsAfterCacheLookup, (_getExecutionInfo = getExecutionInfo(store)) === null || _getExecutionInfo === void 0 ? void 0 : _getExecutionInfo.executionID);\n }\n\n return cachedLoadable;\n }\n /**\n * Given a tree state, this function returns a Loadable of the current state.\n *\n * The selector's get() function will only be re-evaluated if _both_ of the\n * following statements are true:\n *\n * 1. The current dep values from the given state produced a cache key that\n * was not found in the cache.\n * 2. There is no currently running async execution OR there is an\n * async execution that is running, but after comparing the dep values in\n * the given state with the dep values that the execution has discovered so\n * far we find that at least one dep value has changed, in which case we\n * start a new execution (the previously running execution will continue to\n * run to completion, but only the new execution will be deemed the\n * 'latest' execution, meaning it will be the only execution that will\n * update global state when it is finished. Any non-latest executions will\n * run to completion and update the selector cache but not global state).\n */\n\n\n function getSelectorLoadableAndUpdateDeps(store, state) {\n // First, see if our current state is cached\n const cachedVal = getLoadableFromCacheAndUpdateDeps(store, state);\n\n if (cachedVal != null) {\n clearExecutionInfo(store);\n return cachedVal;\n } // Second, check if there is already an ongoing execution based on the current state\n\n\n const inProgressExecutionInfo = getInProgressExecutionInfo(store, state);\n\n if (inProgressExecutionInfo != null) {\n var _inProgressExecutionI;\n\n if (((_inProgressExecutionI = inProgressExecutionInfo.loadingLoadable) === null || _inProgressExecutionI === void 0 ? void 0 : _inProgressExecutionI.state) === 'loading') {\n markStoreWaitingForResolvedAsync(store, inProgressExecutionInfo.executionID);\n } // FIXME: check after the fact to see if we made the right choice by waiting\n\n\n return inProgressExecutionInfo.loadingLoadable;\n } // Third, start a new evaluation of the selector\n\n\n const newExecutionID = getNewExecutionID();\n const [loadable, newDepValues] = evaluateSelectorGetter(store, state, newExecutionID);\n /**\n * Conditionally updates the cache with a given loadable.\n *\n * We only cache loadables that are not loading because our cache keys are\n * based on dep values, which are in an unfinished state for loadables that\n * have a 'loading' state (new deps may be discovered while the selector\n * runs its async code). We never want to cache partial dependencies b/c it\n * could lead to errors, such as prematurely returning the result based on a\n * partial list of deps-- we need the full list of deps to ensure that we\n * are returning the correct result from cache.\n */\n\n if (loadable.state === 'loading') {\n setExecutionInfo(store, newExecutionID, loadable, newDepValues, state);\n markStoreWaitingForResolvedAsync(store, newExecutionID);\n } else {\n clearExecutionInfo(store);\n setCache(state, loadable, newDepValues);\n }\n\n return loadable;\n }\n /**\n * Searches execution info across all stores to see if there is an in-progress\n * execution whose dependency values match the values of the requesting store.\n */\n\n\n function getInProgressExecutionInfo(store, state) {\n // Sort the pending executions so that our current store is checked first.\n const pendingExecutions = Recoil_concatIterables([executionInfoMap.has(store) ? [Recoil_nullthrows(executionInfoMap.get(store))] : [], Recoil_mapIterable(Recoil_filterIterable(executionInfoMap, ([s]) => s !== store), ([, execInfo]) => execInfo)]);\n\n function anyDepChanged(execDepValues) {\n for (const [depKey, execLoadable] of execDepValues) {\n if (!getNodeLoadable$2(store, state, depKey).is(execLoadable)) {\n return true;\n }\n }\n\n return false;\n }\n\n for (const execInfo of pendingExecutions) {\n if ( // If this execution was already checked to be valid with this version\n // of state, then let's use it!\n execInfo.stateVersions.get(state.version) || // If the deps for the execution match our current state, then it's valid\n !anyDepChanged(execInfo.depValuesDiscoveredSoFarDuringAsyncWork)) {\n execInfo.stateVersions.set(state.version, true);\n return execInfo;\n } else {\n execInfo.stateVersions.set(state.version, false);\n }\n }\n\n return undefined;\n }\n\n function getExecutionInfo(store) {\n return executionInfoMap.get(store);\n }\n /**\n * This function will update the selector's execution info when the selector\n * has either finished running an execution or has started a new execution. If\n * the given loadable is in a 'loading' state, the intention is that a new\n * execution has started. Otherwise, the intention is that an execution has\n * just finished.\n */\n\n\n function setExecutionInfo(store, newExecutionID, loadable, depValues, state) {\n executionInfoMap.set(store, {\n depValuesDiscoveredSoFarDuringAsyncWork: depValues,\n executionID: newExecutionID,\n loadingLoadable: loadable,\n stateVersions: new Map([[state.version, true]])\n });\n }\n\n function updateExecutionInfoDepValues(store, executionID, depValues) {\n // We only need to bother updating the deps for the latest execution because\n // that's all getInProgressExecutionInfo() will be looking for.\n if (isLatestExecution(store, executionID)) {\n const executionInfo = getExecutionInfo(store);\n\n if (executionInfo != null) {\n executionInfo.depValuesDiscoveredSoFarDuringAsyncWork = depValues;\n }\n }\n }\n\n function clearExecutionInfo(store) {\n executionInfoMap.delete(store);\n }\n\n function isLatestExecution(store, executionID) {\n var _getExecutionInfo2;\n\n return executionID === ((_getExecutionInfo2 = getExecutionInfo(store)) === null || _getExecutionInfo2 === void 0 ? void 0 : _getExecutionInfo2.executionID);\n }\n /**\n * FIXME: dep keys should take into account the state of the loadable to\n * prevent the edge case where a loadable with an error and a loadable with\n * an error as a value are treated as the same thing incorrectly. For example\n * these two should be treated differently:\n *\n * selector({key: '', get: () => new Error('hi')});\n * selector({key: '', get () => {throw new Error('hi')}});\n *\n * With current implementation they are treated the same\n */\n\n\n function depValuesToDepRoute(depValues) {\n return Array.from(depValues.entries()).map(([depKey, valLoadable]) => [depKey, valLoadable.contents]);\n }\n\n function setCache(state, loadable, depValues) {\n if (process.env.NODE_ENV !== \"production\") {\n if (loadable.state !== 'loading' && Boolean(options.dangerouslyAllowMutability) === false) {\n Recoil_deepFreezeValue(loadable.contents);\n }\n }\n\n state.atomValues.set(key, loadable);\n\n try {\n cache.set(depValuesToDepRoute(depValues), loadable);\n } catch (error) {\n throw Recoil_err(`Problem with setting cache for selector \"${key}\": ${error.message}`);\n }\n }\n\n function detectCircularDependencies(fn) {\n if (dependencyStack.includes(key)) {\n const message = `Recoil selector has circular dependencies: ${dependencyStack.slice(dependencyStack.indexOf(key)).join(' \\u2192 ')}`;\n return loadableWithError$1(Recoil_err(message));\n }\n\n dependencyStack.push(key);\n\n try {\n return fn();\n } finally {\n dependencyStack.pop();\n }\n }\n\n function selectorPeek(store, state) {\n const cachedLoadable = state.atomValues.get(key);\n\n if (cachedLoadable != null) {\n return cachedLoadable;\n }\n\n return cache.get(nodeKey => {\n var _peekNodeLoadable;\n\n !(typeof nodeKey === 'string') ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Cache nodeKey is type string') : Recoil_invariant(false) : void 0;\n return (_peekNodeLoadable = peekNodeLoadable$1(store, state, nodeKey)) === null || _peekNodeLoadable === void 0 ? void 0 : _peekNodeLoadable.contents;\n });\n }\n\n function selectorGet(store, state) {\n return detectCircularDependencies(() => getSelectorLoadableAndUpdateDeps(store, state));\n }\n\n function invalidateSelector(state) {\n state.atomValues.delete(key);\n }\n\n function clearSelectorCache(store, treeState) {\n !(recoilValue != null) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Recoil Value can never be null') : Recoil_invariant(false) : void 0;\n\n for (const nodeKey of discoveredDependencyNodeKeys) {\n var _node$clearCache;\n\n const node = getNode$6(nodeKey);\n (_node$clearCache = node.clearCache) === null || _node$clearCache === void 0 ? void 0 : _node$clearCache.call(node, store, treeState);\n }\n\n discoveredDependencyNodeKeys.clear();\n invalidateSelector(treeState);\n cache.clear();\n markRecoilValueModified$1(store, recoilValue);\n }\n\n if (set != null) {\n /**\n * ES5 strict mode prohibits defining non-top-level function declarations,\n * so don't use function declaration syntax here\n */\n const selectorSet = (store, state, newValue) => {\n let syncSelectorSetFinished = false;\n const writes = new Map();\n\n function getRecoilValue({\n key: depKey\n }) {\n if (syncSelectorSetFinished) {\n throw Recoil_err('Recoil: Async selector sets are not currently supported.');\n }\n\n const loadable = getNodeLoadable$2(store, state, depKey);\n\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'loading') {\n const msg = `Getting value of asynchronous atom or selector \"${depKey}\" in a pending state while setting selector \"${key}\" is not yet supported.`;\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n } else {\n throw loadable.contents;\n }\n }\n\n function setRecoilState(recoilState, valueOrUpdater) {\n if (syncSelectorSetFinished) {\n const msg = 'Recoil: Async selector sets are not currently supported.';\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n }\n\n const setValue = typeof valueOrUpdater === 'function' ? // cast to any because we can't restrict type S from being a function itself without losing support for opaque types\n // flowlint-next-line unclear-type:off\n valueOrUpdater(getRecoilValue(recoilState)) : valueOrUpdater;\n const upstreamWrites = setNodeValue$3(store, state, recoilState.key, setValue);\n upstreamWrites.forEach((v, k) => writes.set(k, v));\n }\n\n function resetRecoilState(recoilState) {\n setRecoilState(recoilState, DEFAULT_VALUE$6);\n }\n\n const ret = set({\n set: setRecoilState,\n get: getRecoilValue,\n reset: resetRecoilState\n }, newValue); // set should be a void method, but if the user makes it `async`, then it\n // will return a Promise, which we don't currently support.\n\n if (ret !== undefined) {\n throw Recoil_isPromise(ret) ? Recoil_err('Recoil: Async selector sets are not currently supported.') : Recoil_err('Recoil: selector set should be a void function.');\n }\n\n syncSelectorSetFinished = true;\n return writes;\n };\n\n return recoilValue = registerNode$1({\n key,\n nodeType: 'selector',\n peek: selectorPeek,\n get: selectorGet,\n set: selectorSet,\n init: selectorInit,\n invalidate: invalidateSelector,\n clearCache: clearSelectorCache,\n shouldDeleteConfigOnRelease: selectorShouldDeleteConfigOnRelease,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n shouldRestoreFromSnapshots: false,\n retainedBy\n });\n } else {\n return recoilValue = registerNode$1({\n key,\n nodeType: 'selector',\n peek: selectorPeek,\n get: selectorGet,\n init: selectorInit,\n invalidate: invalidateSelector,\n clearCache: clearSelectorCache,\n shouldDeleteConfigOnRelease: selectorShouldDeleteConfigOnRelease,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n shouldRestoreFromSnapshots: false,\n retainedBy\n });\n }\n}\n/* eslint-enable no-redeclare */\n// $FlowIssue[incompatible-use]\n// $FlowFixMe[missing-local-annot]\n\n\nselector.value = value => new WrappedValue$1(value);\n\nvar Recoil_selector = selector;\n\n// @fb-only: import type {ScopeRules} from 'Recoil_ScopedAtom';\n// @fb-only: const {scopedAtom} = require('Recoil_ScopedAtom');\nconst {\n isLoadable: isLoadable$2,\n loadableWithError: loadableWithError$2,\n loadableWithPromise: loadableWithPromise$2,\n loadableWithValue: loadableWithValue$3\n} = Recoil_Loadable$1;\n\nconst {\n WrappedValue: WrappedValue$2\n} = Recoil_Wrapper$1;\n\nconst {\n peekNodeInfo: peekNodeInfo$3\n} = Recoil_FunctionalCore;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$7,\n DefaultValue: DefaultValue$2,\n getConfigDeletionHandler: getConfigDeletionHandler$2,\n registerNode: registerNode$2,\n setConfigDeletionHandler: setConfigDeletionHandler$1\n} = Recoil_Node;\n\nconst {\n isRecoilValue: isRecoilValue$4\n} = Recoil_RecoilValue$1;\n\nconst {\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$4,\n markRecoilValueModified: markRecoilValueModified$2,\n setRecoilValue: setRecoilValue$4,\n setRecoilValueLoadable: setRecoilValueLoadable$2\n} = Recoil_RecoilValueInterface;\n\nconst {\n retainedByOptionWithDefault: retainedByOptionWithDefault$2\n} = Recoil_Retention;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst unwrap = x => x instanceof WrappedValue$2 ? x.value : x;\n\nfunction baseAtom(options) {\n const {\n key,\n persistence_UNSTABLE: persistence\n } = options;\n const retainedBy = retainedByOptionWithDefault$2(options.retainedBy_UNSTABLE);\n let liveStoresCount = 0;\n\n function unwrapPromise(promise) {\n return loadableWithPromise$2(promise.then(value => {\n defaultLoadable = loadableWithValue$3(value);\n return value;\n }).catch(error => {\n defaultLoadable = loadableWithError$2(error);\n throw error;\n }));\n }\n\n let defaultLoadable = Recoil_isPromise(options.default) ? unwrapPromise(options.default) : isLoadable$2(options.default) ? options.default.state === 'loading' ? unwrapPromise(options.default.contents) : options.default : loadableWithValue$3(unwrap(options.default));\n maybeFreezeValueOrPromise(defaultLoadable.contents);\n let cachedAnswerForUnvalidatedValue = undefined; // Cleanup handlers for this atom\n // Rely on stable reference equality of the store to use it as a key per \n\n const cleanupEffectsByStore = new Map();\n\n function maybeFreezeValueOrPromise(valueOrPromise) {\n if (process.env.NODE_ENV !== \"production\") {\n if (options.dangerouslyAllowMutability !== true) {\n if (Recoil_isPromise(valueOrPromise)) {\n return valueOrPromise.then(value => {\n Recoil_deepFreezeValue(value);\n return value;\n });\n } else {\n Recoil_deepFreezeValue(valueOrPromise);\n return valueOrPromise;\n }\n }\n }\n\n return valueOrPromise;\n }\n\n function wrapPendingPromise(store, promise) {\n const wrappedPromise = promise.then(value => {\n var _store$getState$nextT, _state$atomValues$get;\n\n const state = (_store$getState$nextT = store.getState().nextTree) !== null && _store$getState$nextT !== void 0 ? _store$getState$nextT : store.getState().currentTree;\n\n if (((_state$atomValues$get = state.atomValues.get(key)) === null || _state$atomValues$get === void 0 ? void 0 : _state$atomValues$get.contents) === wrappedPromise) {\n setRecoilValue$4(store, node, value);\n }\n\n return value;\n }).catch(error => {\n var _store$getState$nextT2, _state$atomValues$get2;\n\n const state = (_store$getState$nextT2 = store.getState().nextTree) !== null && _store$getState$nextT2 !== void 0 ? _store$getState$nextT2 : store.getState().currentTree;\n\n if (((_state$atomValues$get2 = state.atomValues.get(key)) === null || _state$atomValues$get2 === void 0 ? void 0 : _state$atomValues$get2.contents) === wrappedPromise) {\n setRecoilValueLoadable$2(store, node, loadableWithError$2(error));\n }\n\n throw error;\n });\n return wrappedPromise;\n }\n\n function initAtom(store, initState, trigger) {\n var _options$effects;\n\n liveStoresCount++;\n\n const cleanupAtom = () => {\n var _cleanupEffectsByStor;\n\n liveStoresCount--;\n (_cleanupEffectsByStor = cleanupEffectsByStore.get(store)) === null || _cleanupEffectsByStor === void 0 ? void 0 : _cleanupEffectsByStor.forEach(cleanup => cleanup());\n cleanupEffectsByStore.delete(store);\n };\n\n store.getState().knownAtoms.add(key); // Setup async defaults to notify subscribers when they resolve\n\n if (defaultLoadable.state === 'loading') {\n const notifyDefaultSubscribers = () => {\n var _store$getState$nextT3;\n\n const state = (_store$getState$nextT3 = store.getState().nextTree) !== null && _store$getState$nextT3 !== void 0 ? _store$getState$nextT3 : store.getState().currentTree;\n\n if (!state.atomValues.has(key)) {\n markRecoilValueModified$2(store, node);\n }\n };\n\n defaultLoadable.contents.finally(notifyDefaultSubscribers);\n } ///////////////////\n // Run Atom Effects\n ///////////////////\n\n\n const effects = (_options$effects = options.effects) !== null && _options$effects !== void 0 ? _options$effects : options.effects_UNSTABLE;\n\n if (effects != null) {\n // This state is scoped by Store, since this is in the initAtom() closure\n let initValue = DEFAULT_VALUE$7;\n let isDuringInit = true;\n let isInitError = false;\n let pendingSetSelf = null;\n\n function getLoadable(recoilValue) {\n // Normally we can just get the current value of another atom.\n // But for our own value we need to check if there is a pending\n // initialized value or get the fallback default value.\n if (isDuringInit && recoilValue.key === key) {\n // Cast T to S\n const retValue = initValue; // flowlint-line unclear-type:off\n\n return retValue instanceof DefaultValue$2 ? peekAtom(store, initState) // flowlint-line unclear-type:off\n : Recoil_isPromise(retValue) ? loadableWithPromise$2(retValue.then(v => v instanceof DefaultValue$2 ? // Cast T to S\n defaultLoadable.toPromise() // flowlint-line unclear-type:off\n : v)) : loadableWithValue$3(retValue);\n }\n\n return getRecoilValueAsLoadable$4(store, recoilValue);\n }\n\n function getPromise(recoilValue) {\n return getLoadable(recoilValue).toPromise();\n }\n\n function getInfo_UNSTABLE(recoilValue) {\n var _store$getState$nextT4;\n\n const info = peekNodeInfo$3(store, (_store$getState$nextT4 = store.getState().nextTree) !== null && _store$getState$nextT4 !== void 0 ? _store$getState$nextT4 : store.getState().currentTree, recoilValue.key);\n return isDuringInit && recoilValue.key === key && !(initValue instanceof DefaultValue$2) ? { ...info,\n isSet: true,\n loadable: getLoadable(recoilValue)\n } : info;\n }\n\n const setSelf = effect => valueOrUpdater => {\n if (isDuringInit) {\n const currentLoadable = getLoadable(node);\n const currentValue = currentLoadable.state === 'hasValue' ? currentLoadable.contents : DEFAULT_VALUE$7;\n initValue = typeof valueOrUpdater === 'function' ? // cast to any because we can't restrict T from being a function without losing support for opaque types\n valueOrUpdater(currentValue) // flowlint-line unclear-type:off\n : valueOrUpdater;\n\n if (Recoil_isPromise(initValue)) {\n initValue = initValue.then(value => {\n // Avoid calling onSet() when setSelf() initializes with a Promise\n pendingSetSelf = {\n effect,\n value\n };\n return value;\n });\n }\n } else {\n if (Recoil_isPromise(valueOrUpdater)) {\n throw Recoil_err('Setting atoms to async values is not implemented.');\n }\n\n if (typeof valueOrUpdater !== 'function') {\n pendingSetSelf = {\n effect,\n value: unwrap(valueOrUpdater)\n };\n }\n\n setRecoilValue$4(store, node, typeof valueOrUpdater === 'function' ? currentValue => {\n const newValue = unwrap( // cast to any because we can't restrict T from being a function without losing support for opaque types\n valueOrUpdater(currentValue) // flowlint-line unclear-type:off\n );\n pendingSetSelf = {\n effect,\n value: newValue\n };\n return newValue;\n } : unwrap(valueOrUpdater));\n }\n };\n\n const resetSelf = effect => () => setSelf(effect)(DEFAULT_VALUE$7);\n\n const onSet = effect => handler => {\n var _cleanupEffectsByStor2;\n\n const {\n release\n } = store.subscribeToTransactions(currentStore => {\n var _currentTree$atomValu;\n\n // eslint-disable-next-line prefer-const\n let {\n currentTree,\n previousTree\n } = currentStore.getState();\n\n if (!previousTree) {\n Recoil_recoverableViolation('Transaction subscribers notified without a next tree being present -- this is a bug in Recoil');\n previousTree = currentTree; // attempt to trundle on\n }\n\n const newLoadable = (_currentTree$atomValu = currentTree.atomValues.get(key)) !== null && _currentTree$atomValu !== void 0 ? _currentTree$atomValu : defaultLoadable;\n\n if (newLoadable.state === 'hasValue') {\n var _previousTree$atomVal, _pendingSetSelf, _pendingSetSelf2, _pendingSetSelf3;\n\n const newValue = newLoadable.contents;\n const oldLoadable = (_previousTree$atomVal = previousTree.atomValues.get(key)) !== null && _previousTree$atomVal !== void 0 ? _previousTree$atomVal : defaultLoadable;\n const oldValue = oldLoadable.state === 'hasValue' ? oldLoadable.contents : DEFAULT_VALUE$7; // TODO This isn't actually valid, use as a placeholder for now.\n // Ignore atom value changes that were set via setSelf() in the same effect.\n // We will still properly call the handler if there was a subsequent\n // set from something other than an atom effect which was batched\n // with the `setSelf()` call. However, we may incorrectly ignore\n // the handler if the subsequent batched call happens to set the\n // atom to the exact same value as the `setSelf()`. But, in that\n // case, it was kind of a noop, so the semantics are debatable..\n\n if (((_pendingSetSelf = pendingSetSelf) === null || _pendingSetSelf === void 0 ? void 0 : _pendingSetSelf.effect) !== effect || ((_pendingSetSelf2 = pendingSetSelf) === null || _pendingSetSelf2 === void 0 ? void 0 : _pendingSetSelf2.value) !== newValue) {\n handler(newValue, oldValue, !currentTree.atomValues.has(key));\n } else if (((_pendingSetSelf3 = pendingSetSelf) === null || _pendingSetSelf3 === void 0 ? void 0 : _pendingSetSelf3.effect) === effect) {\n pendingSetSelf = null;\n }\n }\n }, key);\n cleanupEffectsByStore.set(store, [...((_cleanupEffectsByStor2 = cleanupEffectsByStore.get(store)) !== null && _cleanupEffectsByStor2 !== void 0 ? _cleanupEffectsByStor2 : []), release]);\n };\n\n for (const effect of effects) {\n try {\n const cleanup = effect({\n node,\n storeID: store.storeID,\n parentStoreID_UNSTABLE: store.parentStoreID,\n trigger,\n setSelf: setSelf(effect),\n resetSelf: resetSelf(effect),\n onSet: onSet(effect),\n getPromise,\n getLoadable,\n getInfo_UNSTABLE\n });\n\n if (cleanup != null) {\n var _cleanupEffectsByStor3;\n\n cleanupEffectsByStore.set(store, [...((_cleanupEffectsByStor3 = cleanupEffectsByStore.get(store)) !== null && _cleanupEffectsByStor3 !== void 0 ? _cleanupEffectsByStor3 : []), cleanup]);\n }\n } catch (error) {\n initValue = error;\n isInitError = true;\n }\n }\n\n isDuringInit = false; // Mutate initial state in place since we know there are no other subscribers\n // since we are the ones initializing on first use.\n\n if (!(initValue instanceof DefaultValue$2)) {\n var _store$getState$nextT5;\n\n const initLoadable = isInitError ? loadableWithError$2(initValue) : Recoil_isPromise(initValue) ? loadableWithPromise$2(wrapPendingPromise(store, initValue)) : loadableWithValue$3(unwrap(initValue));\n maybeFreezeValueOrPromise(initLoadable.contents);\n initState.atomValues.set(key, initLoadable); // If there is a pending transaction, then also mutate the next state tree.\n // This could happen if the atom was first initialized in an action that\n // also updated some other atom's state.\n\n (_store$getState$nextT5 = store.getState().nextTree) === null || _store$getState$nextT5 === void 0 ? void 0 : _store$getState$nextT5.atomValues.set(key, initLoadable);\n }\n }\n\n return cleanupAtom;\n }\n\n function peekAtom(_store, state) {\n var _ref, _state$atomValues$get3;\n\n return (_ref = (_state$atomValues$get3 = state.atomValues.get(key)) !== null && _state$atomValues$get3 !== void 0 ? _state$atomValues$get3 : cachedAnswerForUnvalidatedValue) !== null && _ref !== void 0 ? _ref : defaultLoadable;\n }\n\n function getAtom(_store, state) {\n if (state.atomValues.has(key)) {\n // Atom value is stored in state:\n return Recoil_nullthrows(state.atomValues.get(key));\n } else if (state.nonvalidatedAtoms.has(key)) {\n // Atom value is stored but needs validation before use.\n // We might have already validated it and have a cached validated value:\n if (cachedAnswerForUnvalidatedValue != null) {\n return cachedAnswerForUnvalidatedValue;\n }\n\n if (persistence == null) {\n Recoil_expectationViolation(`Tried to restore a persisted value for atom ${key} but it has no persistence settings.`);\n return defaultLoadable;\n }\n\n const nonvalidatedValue = state.nonvalidatedAtoms.get(key);\n const validatorResult = persistence.validator(nonvalidatedValue, DEFAULT_VALUE$7);\n const validatedValueLoadable = validatorResult instanceof DefaultValue$2 ? defaultLoadable : loadableWithValue$3(validatorResult);\n cachedAnswerForUnvalidatedValue = validatedValueLoadable;\n return cachedAnswerForUnvalidatedValue;\n } else {\n return defaultLoadable;\n }\n }\n\n function invalidateAtom() {\n cachedAnswerForUnvalidatedValue = undefined;\n }\n\n function setAtom(_store, state, newValue) {\n // Bail out if we're being set to the existing value, or if we're being\n // reset but have no stored value (validated or unvalidated) to reset from:\n if (state.atomValues.has(key)) {\n const existing = Recoil_nullthrows(state.atomValues.get(key));\n\n if (existing.state === 'hasValue' && newValue === existing.contents) {\n return new Map();\n }\n } else if (!state.nonvalidatedAtoms.has(key) && newValue instanceof DefaultValue$2) {\n return new Map();\n }\n\n maybeFreezeValueOrPromise(newValue);\n cachedAnswerForUnvalidatedValue = undefined; // can be released now if it was previously in use\n\n return new Map().set(key, loadableWithValue$3(newValue));\n }\n\n function shouldDeleteConfigOnReleaseAtom() {\n return getConfigDeletionHandler$2(key) !== undefined && liveStoresCount <= 0;\n }\n\n const node = registerNode$2({\n key,\n nodeType: 'atom',\n peek: peekAtom,\n get: getAtom,\n set: setAtom,\n init: initAtom,\n invalidate: invalidateAtom,\n shouldDeleteConfigOnRelease: shouldDeleteConfigOnReleaseAtom,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n persistence_UNSTABLE: options.persistence_UNSTABLE ? {\n type: options.persistence_UNSTABLE.type,\n backButton: options.persistence_UNSTABLE.backButton\n } : undefined,\n shouldRestoreFromSnapshots: true,\n retainedBy\n });\n return node;\n} // prettier-ignore\n\n\nfunction atom(options) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof options.key !== 'string') {\n throw Recoil_err('A key option with a unique string value must be provided when creating an atom.');\n }\n }\n\n const { // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n ...restOptions\n } = options;\n const optionsDefault = 'default' in options ? // $FlowIssue[incompatible-type] No way to refine in Flow that property is not defined\n options.default : new Promise(() => {});\n\n if (isRecoilValue$4(optionsDefault) // Continue to use atomWithFallback for promise defaults for scoped atoms\n // for now, since scoped atoms don't support async defaults\n // @fb-only: || (isPromise(optionsDefault) && scopeRules_APPEND_ONLY_READ_THE_DOCS)\n // @fb-only: || (isLoadable(optionsDefault) && scopeRules_APPEND_ONLY_READ_THE_DOCS)\n ) {\n return atomWithFallback({ ...restOptions,\n default: optionsDefault // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n\n }); // @fb-only: } else if (scopeRules_APPEND_ONLY_READ_THE_DOCS\n // @fb-only: && !isPromise(optionsDefault)\n // @fb-only: && !isLoadable(optionsDefault)\n // @fb-only: ) {\n // @fb-only: return scopedAtom({\n // @fb-only: ...restOptions,\n // @fb-only: default: unwrap(optionsDefault),\n // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n // @fb-only: });\n } else {\n return baseAtom({ ...restOptions,\n default: optionsDefault\n });\n }\n}\n\nfunction atomWithFallback(options) {\n const base = atom({ ...options,\n default: DEFAULT_VALUE$7,\n persistence_UNSTABLE: options.persistence_UNSTABLE === undefined ? undefined : { ...options.persistence_UNSTABLE,\n validator: storedValue => storedValue instanceof DefaultValue$2 ? storedValue : Recoil_nullthrows(options.persistence_UNSTABLE).validator(storedValue, DEFAULT_VALUE$7)\n },\n // TODO Hack for now.\n effects: options.effects,\n // flowlint-line unclear-type: off\n effects_UNSTABLE: options.effects_UNSTABLE // flowlint-line unclear-type: off\n\n });\n const sel = Recoil_selector({\n key: `${options.key}__withFallback`,\n get: ({\n get\n }) => {\n const baseValue = get(base);\n return baseValue instanceof DefaultValue$2 ? options.default : baseValue;\n },\n set: ({\n set\n }, newValue) => set(base, newValue),\n // This selector does not need to cache as it is a wrapper selector\n // and the selector within the wrapper selector will have a cache\n // option by default\n cachePolicy_UNSTABLE: {\n eviction: 'most-recent'\n },\n dangerouslyAllowMutability: options.dangerouslyAllowMutability\n });\n setConfigDeletionHandler$1(sel.key, getConfigDeletionHandler$2(options.key));\n return sel;\n} // $FlowFixMe[missing-local-annot]\n\n\natom.value = value => new WrappedValue$2(value);\n\nvar Recoil_atom = atom;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass MapCache {\n constructor(options) {\n var _options$mapKey;\n\n _defineProperty(this, \"_map\", void 0);\n\n _defineProperty(this, \"_keyMapper\", void 0);\n\n this._map = new Map();\n this._keyMapper = (_options$mapKey = options === null || options === void 0 ? void 0 : options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : v => v;\n }\n\n size() {\n return this._map.size;\n }\n\n has(key) {\n return this._map.has(this._keyMapper(key));\n }\n\n get(key) {\n return this._map.get(this._keyMapper(key));\n }\n\n set(key, val) {\n this._map.set(this._keyMapper(key), val);\n }\n\n delete(key) {\n this._map.delete(this._keyMapper(key));\n }\n\n clear() {\n this._map.clear();\n }\n\n}\n\nvar Recoil_MapCache = {\n MapCache\n};\n\nvar Recoil_MapCache_1 = Recoil_MapCache.MapCache;\n\nvar Recoil_MapCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MapCache: Recoil_MapCache_1\n});\n\nconst {\n LRUCache: LRUCache$2\n} = Recoil_LRUCache$1;\n\nconst {\n MapCache: MapCache$1\n} = Recoil_MapCache$1;\n\n\n\n\n\n\n\nconst defaultPolicy$1 = {\n equality: 'reference',\n eviction: 'none',\n maxSize: Infinity\n};\n\nfunction cacheFromPolicy({\n equality = defaultPolicy$1.equality,\n eviction = defaultPolicy$1.eviction,\n maxSize = defaultPolicy$1.maxSize\n} = defaultPolicy$1) {\n const valueMapper = getValueMapper$1(equality);\n const cache = getCache(eviction, maxSize, valueMapper);\n return cache;\n}\n\nfunction getValueMapper$1(equality) {\n switch (equality) {\n case 'reference':\n return val => val;\n\n case 'value':\n return val => Recoil_stableStringify(val);\n }\n\n throw Recoil_err(`Unrecognized equality policy ${equality}`);\n}\n\nfunction getCache(eviction, maxSize, mapKey) {\n switch (eviction) {\n case 'keep-all':\n return new MapCache$1({\n mapKey\n });\n\n case 'lru':\n return new LRUCache$2({\n mapKey,\n maxSize: Recoil_nullthrows(maxSize)\n });\n\n case 'most-recent':\n return new LRUCache$2({\n mapKey,\n maxSize: 1\n });\n }\n\n throw Recoil_err(`Unrecognized eviction policy ${eviction}`);\n}\n\nvar Recoil_cacheFromPolicy = cacheFromPolicy;\n\n// @fb-only: import type {ScopeRules} from 'Recoil_ScopedAtom';\n\n\nconst {\n setConfigDeletionHandler: setConfigDeletionHandler$2\n} = Recoil_Node;\n\n\n\n\n\n// Process scopeRules to handle any entries which are functions taking parameters\n// prettier-ignore\n// @fb-only: function mapScopeRules

(\n// @fb-only: scopeRules?: ParameterizedScopeRules

,\n// @fb-only: param: P,\n// @fb-only: ): ScopeRules | void {\n// @fb-only: return scopeRules?.map(rule =>\n// @fb-only: Array.isArray(rule)\n// @fb-only: ? rule.map(entry => (typeof entry === 'function' ? entry(param) : entry))\n// @fb-only: : rule,\n// @fb-only: );\n// @fb-only: }\n\n/*\nA function which returns an atom based on the input parameter.\n\nEach unique parameter returns a unique atom. E.g.,\n\n const f = atomFamily(...);\n f({a: 1}) => an atom\n f({a: 2}) => a different atom\n\nThis allows components to persist local, private state using atoms. Each\ninstance of the component may have a different key, which it uses as the\nparameter for a family of atoms; in this way, each component will have\nits own atom not shared by other instances. These state keys may be composed\ninto children's state keys as well.\n*/\nfunction atomFamily(options) {\n var _options$cachePolicyF, _options$cachePolicyF2;\n\n const atomCache = Recoil_cacheFromPolicy({\n equality: (_options$cachePolicyF = (_options$cachePolicyF2 = options.cachePolicyForParams_UNSTABLE) === null || _options$cachePolicyF2 === void 0 ? void 0 : _options$cachePolicyF2.equality) !== null && _options$cachePolicyF !== void 0 ? _options$cachePolicyF : 'value',\n eviction: 'keep-all'\n }); // Simple atomFamily implementation to cache individual atoms based\n // on the parameter value equality.\n\n return params => {\n var _stableStringify, _options$effects;\n\n const cachedAtom = atomCache.get(params);\n\n if (cachedAtom != null) {\n return cachedAtom;\n }\n\n const {\n cachePolicyForParams_UNSTABLE,\n ...atomOptions\n } = options;\n const optionsDefault = 'default' in options ? // $FlowIssue[incompatible-type] No way to refine in Flow that property is not defined\n options.default : new Promise(() => {});\n const newAtom = Recoil_atom({ ...atomOptions,\n key: `${options.key}__${(_stableStringify = Recoil_stableStringify(params)) !== null && _stableStringify !== void 0 ? _stableStringify : 'void'}`,\n default: typeof optionsDefault === 'function' ? // The default was parameterized\n // Flow doesn't know that T isn't a function, so we need to case to any\n // $FlowIssue[incompatible-use]\n optionsDefault(params) : // Default may be a static value, promise, or RecoilValue\n optionsDefault,\n retainedBy_UNSTABLE: typeof options.retainedBy_UNSTABLE === 'function' ? options.retainedBy_UNSTABLE(params) : options.retainedBy_UNSTABLE,\n effects: typeof options.effects === 'function' ? options.effects(params) : typeof options.effects_UNSTABLE === 'function' ? options.effects_UNSTABLE(params) : (_options$effects = options.effects) !== null && _options$effects !== void 0 ? _options$effects : options.effects_UNSTABLE // prettier-ignore\n // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS: mapScopeRules(\n // @fb-only: options.scopeRules_APPEND_ONLY_READ_THE_DOCS,\n // @fb-only: params,\n // @fb-only: ),\n\n });\n atomCache.set(params, newAtom);\n setConfigDeletionHandler$2(newAtom.key, () => {\n atomCache.delete(params);\n });\n return newAtom;\n };\n}\n\nvar Recoil_atomFamily = atomFamily;\n\nconst {\n setConfigDeletionHandler: setConfigDeletionHandler$3\n} = Recoil_Node;\n\n\n\n\n\n // Keep in mind the parameter needs to be serializable as a cahche key\n// using Recoil_stableStringify\n\n\n// Add a unique index to each selector in case the cache implementation allows\n// duplicate keys based on equivalent stringified parameters\nlet nextIndex = 0;\n/* eslint-disable no-redeclare */\n\n// Return a function that returns members of a family of selectors of the same type\n// E.g.,\n//\n// const s = selectorFamily(...);\n// s({a: 1}) => a selector\n// s({a: 2}) => a different selector\n//\n// By default, the selectors are distinguished by distinct values of the\n// parameter based on value equality, not reference equality. This allows using\n// object literals or other equivalent objects at callsites to not create\n// duplicate cache entries. This behavior may be overridden with the\n// cacheImplementationForParams option.\nfunction selectorFamily(options) {\n var _options$cachePolicyF, _options$cachePolicyF2;\n\n const selectorCache = Recoil_cacheFromPolicy({\n equality: (_options$cachePolicyF = (_options$cachePolicyF2 = options.cachePolicyForParams_UNSTABLE) === null || _options$cachePolicyF2 === void 0 ? void 0 : _options$cachePolicyF2.equality) !== null && _options$cachePolicyF !== void 0 ? _options$cachePolicyF : 'value',\n eviction: 'keep-all'\n });\n return params => {\n var _stableStringify;\n\n // Throw an error with selector key so that it is clear which\n // selector is causing an error\n let cachedSelector;\n\n try {\n cachedSelector = selectorCache.get(params);\n } catch (error) {\n throw Recoil_err(`Problem with cache lookup for selector ${options.key}: ${error.message}`);\n }\n\n if (cachedSelector != null) {\n return cachedSelector;\n }\n\n const myKey = `${options.key}__selectorFamily/${(_stableStringify = Recoil_stableStringify(params, {\n // It is possible to use functions in parameters if the user uses\n // a cache with reference equality thanks to the incrementing index.\n allowFunctions: true\n })) !== null && _stableStringify !== void 0 ? _stableStringify : 'void'}/${nextIndex++}`; // Append index in case values serialize to the same key string\n\n const myGet = callbacks => options.get(params)(callbacks);\n\n const myCachePolicy = options.cachePolicy_UNSTABLE;\n const retainedBy = typeof options.retainedBy_UNSTABLE === 'function' ? options.retainedBy_UNSTABLE(params) : options.retainedBy_UNSTABLE;\n let newSelector;\n\n if (options.set != null) {\n const set = options.set;\n\n const mySet = (callbacks, newValue) => set(params)(callbacks, newValue);\n\n newSelector = Recoil_selector({\n key: myKey,\n get: myGet,\n set: mySet,\n cachePolicy_UNSTABLE: myCachePolicy,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n retainedBy_UNSTABLE: retainedBy\n });\n } else {\n newSelector = Recoil_selector({\n key: myKey,\n get: myGet,\n cachePolicy_UNSTABLE: myCachePolicy,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n retainedBy_UNSTABLE: retainedBy\n });\n }\n\n selectorCache.set(params, newSelector);\n setConfigDeletionHandler$3(newSelector.key, () => {\n selectorCache.delete(params);\n });\n return newSelector;\n };\n}\n/* eslint-enable no-redeclare */\n\n\nvar Recoil_selectorFamily = selectorFamily;\n\n// flowlint-next-line unclear-type:off\n\n\nconst constantSelector = Recoil_selectorFamily({\n key: '__constant',\n get: constant => () => constant,\n cachePolicyForParams_UNSTABLE: {\n equality: 'reference'\n }\n}); // Function that returns a selector which always produces the\n// same constant value. It may be called multiple times with the\n// same value, based on reference equality, and will provide the\n// same selector.\n\nfunction constSelector(constant) {\n return constantSelector(constant);\n}\n\nvar Recoil_constSelector = constSelector;\n\n// flowlint-next-line unclear-type:off\n\n\nconst throwingSelector = Recoil_selectorFamily({\n key: '__error',\n get: message => () => {\n throw Recoil_err(message);\n },\n // TODO Why?\n cachePolicyForParams_UNSTABLE: {\n equality: 'reference'\n }\n}); // Function that returns a selector which always throws an error\n// with the provided message.\n\nfunction errorSelector(message) {\n return throwingSelector(message);\n}\n\nvar Recoil_errorSelector = errorSelector;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Wraps another recoil value and prevents writing to it.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction readOnlySelector(atom) {\n // flowlint-next-line unclear-type: off\n return atom;\n}\n\nvar Recoil_readOnlySelector = readOnlySelector;\n\nconst {\n loadableWithError: loadableWithError$3,\n loadableWithPromise: loadableWithPromise$3,\n loadableWithValue: loadableWithValue$4\n} = Recoil_Loadable$1;\n\n\n\n\n\n /////////////////\n// TRUTH TABLE\n/////////////////\n// Dependencies waitForNone waitForAny waitForAll waitForAllSettled\n// [loading, loading] [Promise, Promise] Promise Promise Promise\n// [value, loading] [value, Promise] [value, Promise] Promise Promise\n// [value, value] [value, value] [value, value] [value, value] [value, value]\n//\n// [error, loading] [Error, Promise] [Error, Promise] Error Promise\n// [error, error] [Error, Error] [Error, Error] Error [error, error]\n// [value, error] [value, Error] [value, Error] Error [value, error]\n// Issue parallel requests for all dependencies and return the current\n// status if they have results, have some error, or are still pending.\n\n\nfunction concurrentRequests(getRecoilValue, deps) {\n const results = Array(deps.length).fill(undefined);\n const exceptions = Array(deps.length).fill(undefined);\n\n for (const [i, dep] of deps.entries()) {\n try {\n results[i] = getRecoilValue(dep);\n } catch (e) {\n // exceptions can either be Promises of pending results or real errors\n exceptions[i] = e;\n }\n }\n\n return [results, exceptions];\n}\n\nfunction isError(exp) {\n return exp != null && !Recoil_isPromise(exp);\n}\n\nfunction unwrapDependencies(dependencies) {\n return Array.isArray(dependencies) ? dependencies : Object.getOwnPropertyNames(dependencies).map(key => dependencies[key]);\n}\n\nfunction wrapResults(dependencies,\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nresults) {\n return Array.isArray(dependencies) ? results : // Object.getOwnPropertyNames() has consistent key ordering with ES6\n Object.getOwnPropertyNames(dependencies).reduce((out, key, idx) => ({ ...out,\n [key]: results[idx]\n }), {});\n}\n\nfunction wrapLoadables(dependencies, results, exceptions) {\n const output = exceptions.map((exception, idx) => exception == null ? loadableWithValue$4(results[idx]) : Recoil_isPromise(exception) ? loadableWithPromise$3(exception) : loadableWithError$3(exception));\n return wrapResults(dependencies, output);\n}\n\nfunction combineAsyncResultsWithSyncResults(syncResults, asyncResults) {\n return asyncResults.map((result, idx) =>\n /**\n * it's important we use === undefined as opposed to == null, because the\n * resolved value of the async promise could be `null`, in which case we\n * don't want to use syncResults[idx], which would be undefined. If async\n * promise resolves to `undefined`, that's ok because `syncResults[idx]`\n * will also be `undefined`. That's a little hacky, but it works.\n */\n result === undefined ? syncResults[idx] : result);\n} // Selector that requests all dependencies in parallel and immediately returns\n// current results without waiting.\n\n\nconst waitForNone = Recoil_selectorFamily({\n key: '__waitForNone',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // Always return the current status of the results; never block.\n\n return wrapLoadables(dependencies, results, exceptions);\n },\n dangerouslyAllowMutability: true\n}); // Selector that requests all dependencies in parallel and waits for at least\n// one to be available before returning results. It will only error if all\n// dependencies have errors.\n\nconst waitForAny = Recoil_selectorFamily({\n key: '__waitForAny',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If any results are available, value or error, return the current status\n\n if (exceptions.some(exp => !Recoil_isPromise(exp))) {\n return wrapLoadables(dependencies, results, exceptions);\n } // Otherwise, return a promise that will resolve when the next result is\n // available, whichever one happens to be next. But, if all pending\n // dependencies end up with errors, then reject the promise.\n\n\n return new Promise(resolve => {\n for (const [i, exp] of exceptions.entries()) {\n if (Recoil_isPromise(exp)) {\n exp.then(result => {\n results[i] = result;\n exceptions[i] = undefined;\n resolve(wrapLoadables(dependencies, results, exceptions));\n }).catch(error => {\n exceptions[i] = error;\n resolve(wrapLoadables(dependencies, results, exceptions));\n });\n }\n }\n });\n },\n dangerouslyAllowMutability: true\n}); // Selector that requests all dependencies in parallel and waits for all to be\n// available before returning a value. It will error if any dependencies error.\n\nconst waitForAll = Recoil_selectorFamily({\n key: '__waitForAll',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If all results are available, return the results\n\n if (exceptions.every(exp => exp == null)) {\n return wrapResults(dependencies, results);\n } // If we have any errors, throw the first error\n\n\n const error = exceptions.find(isError);\n\n if (error != null) {\n throw error;\n } // Otherwise, return a promise that will resolve when all results are available\n\n\n return Promise.all(exceptions).then(exceptionResults => wrapResults(dependencies, combineAsyncResultsWithSyncResults(results, exceptionResults)));\n },\n dangerouslyAllowMutability: true\n});\nconst waitForAllSettled = Recoil_selectorFamily({\n key: '__waitForAllSettled',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If all results are available, return the results\n\n if (exceptions.every(exp => !Recoil_isPromise(exp))) {\n return wrapLoadables(dependencies, results, exceptions);\n } // Wait for all results to settle\n\n\n return Promise.all(exceptions.map((exp, i) => Recoil_isPromise(exp) ? exp.then(result => {\n results[i] = result;\n exceptions[i] = undefined;\n }).catch(error => {\n results[i] = undefined;\n exceptions[i] = error;\n }) : null)) // Then wrap them as loadables\n .then(() => wrapLoadables(dependencies, results, exceptions));\n },\n dangerouslyAllowMutability: true\n});\nconst noWait = Recoil_selectorFamily({\n key: '__noWait',\n get: dependency => ({\n get\n }) => {\n try {\n return Recoil_selector.value(loadableWithValue$4(get(dependency)));\n } catch (exception) {\n return Recoil_selector.value(Recoil_isPromise(exception) ? loadableWithPromise$3(exception) : loadableWithError$3(exception));\n }\n },\n dangerouslyAllowMutability: true\n});\nvar Recoil_WaitFor = {\n waitForNone,\n waitForAny,\n waitForAll,\n waitForAllSettled,\n noWait\n};\n\nconst {\n RecoilLoadable\n} = Recoil_Loadable$1;\n\nconst {\n DefaultValue: DefaultValue$3\n} = Recoil_Node;\n\n\n\nconst {\n RecoilRoot: RecoilRoot$2,\n useRecoilStoreID: useRecoilStoreID$1\n} = Recoil_RecoilRoot;\n\nconst {\n isRecoilValue: isRecoilValue$5\n} = Recoil_RecoilValue$1;\n\nconst {\n retentionZone: retentionZone$1\n} = Recoil_RetentionZone;\n\nconst {\n freshSnapshot: freshSnapshot$2\n} = Recoil_Snapshot$1;\n\nconst {\n useRecoilState: useRecoilState$1,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE: useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilStateLoadable: useRecoilStateLoadable$1,\n useRecoilValue: useRecoilValue$1,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE: useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilValueLoadable: useRecoilValueLoadable$1,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE: useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,\n useResetRecoilState: useResetRecoilState$1,\n useSetRecoilState: useSetRecoilState$1\n} = Recoil_Hooks;\n\nconst {\n useGotoRecoilSnapshot: useGotoRecoilSnapshot$1,\n useRecoilSnapshot: useRecoilSnapshot$1,\n useRecoilTransactionObserver: useRecoilTransactionObserver$1\n} = Recoil_SnapshotHooks;\n\n\n\n\n\nconst {\n useRecoilCallback: useRecoilCallback$1\n} = Recoil_useRecoilCallback;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst {\n noWait: noWait$1,\n waitForAll: waitForAll$1,\n waitForAllSettled: waitForAllSettled$1,\n waitForAny: waitForAny$1,\n waitForNone: waitForNone$1\n} = Recoil_WaitFor;\n\nvar Recoil_index = {\n // Types\n DefaultValue: DefaultValue$3,\n isRecoilValue: isRecoilValue$5,\n RecoilLoadable,\n // Global Recoil environment settiongs\n RecoilEnv: Recoil_RecoilEnv,\n // Recoil Root\n RecoilRoot: RecoilRoot$2,\n useRecoilStoreID: useRecoilStoreID$1,\n useRecoilBridgeAcrossReactRoots_UNSTABLE: Recoil_useRecoilBridgeAcrossReactRoots,\n // Atoms/Selectors\n atom: Recoil_atom,\n selector: Recoil_selector,\n // Convenience Atoms/Selectors\n atomFamily: Recoil_atomFamily,\n selectorFamily: Recoil_selectorFamily,\n constSelector: Recoil_constSelector,\n errorSelector: Recoil_errorSelector,\n readOnlySelector: Recoil_readOnlySelector,\n // Concurrency Helpers for Atoms/Selectors\n noWait: noWait$1,\n waitForNone: waitForNone$1,\n waitForAny: waitForAny$1,\n waitForAll: waitForAll$1,\n waitForAllSettled: waitForAllSettled$1,\n // Hooks for Atoms/Selectors\n useRecoilValue: useRecoilValue$1,\n useRecoilValueLoadable: useRecoilValueLoadable$1,\n useRecoilState: useRecoilState$1,\n useRecoilStateLoadable: useRecoilStateLoadable$1,\n useSetRecoilState: useSetRecoilState$1,\n useResetRecoilState: useResetRecoilState$1,\n useGetRecoilValueInfo_UNSTABLE: Recoil_useGetRecoilValueInfo,\n useRecoilRefresher_UNSTABLE: Recoil_useRecoilRefresher,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE: useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE: useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE: useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,\n // Hooks for complex operations\n useRecoilCallback: useRecoilCallback$1,\n useRecoilTransaction_UNSTABLE: Recoil_useRecoilTransaction,\n // Snapshots\n useGotoRecoilSnapshot: useGotoRecoilSnapshot$1,\n useRecoilSnapshot: useRecoilSnapshot$1,\n useRecoilTransactionObserver_UNSTABLE: useRecoilTransactionObserver$1,\n snapshot_UNSTABLE: freshSnapshot$2,\n // Memory Management\n useRetain: Recoil_useRetain,\n retentionZone: retentionZone$1\n};\nvar Recoil_index_1 = Recoil_index.DefaultValue;\nvar Recoil_index_2 = Recoil_index.isRecoilValue;\nvar Recoil_index_3 = Recoil_index.RecoilLoadable;\nvar Recoil_index_4 = Recoil_index.RecoilEnv;\nvar Recoil_index_5 = Recoil_index.RecoilRoot;\nvar Recoil_index_6 = Recoil_index.useRecoilStoreID;\nvar Recoil_index_7 = Recoil_index.useRecoilBridgeAcrossReactRoots_UNSTABLE;\nvar Recoil_index_8 = Recoil_index.atom;\nvar Recoil_index_9 = Recoil_index.selector;\nvar Recoil_index_10 = Recoil_index.atomFamily;\nvar Recoil_index_11 = Recoil_index.selectorFamily;\nvar Recoil_index_12 = Recoil_index.constSelector;\nvar Recoil_index_13 = Recoil_index.errorSelector;\nvar Recoil_index_14 = Recoil_index.readOnlySelector;\nvar Recoil_index_15 = Recoil_index.noWait;\nvar Recoil_index_16 = Recoil_index.waitForNone;\nvar Recoil_index_17 = Recoil_index.waitForAny;\nvar Recoil_index_18 = Recoil_index.waitForAll;\nvar Recoil_index_19 = Recoil_index.waitForAllSettled;\nvar Recoil_index_20 = Recoil_index.useRecoilValue;\nvar Recoil_index_21 = Recoil_index.useRecoilValueLoadable;\nvar Recoil_index_22 = Recoil_index.useRecoilState;\nvar Recoil_index_23 = Recoil_index.useRecoilStateLoadable;\nvar Recoil_index_24 = Recoil_index.useSetRecoilState;\nvar Recoil_index_25 = Recoil_index.useResetRecoilState;\nvar Recoil_index_26 = Recoil_index.useGetRecoilValueInfo_UNSTABLE;\nvar Recoil_index_27 = Recoil_index.useRecoilRefresher_UNSTABLE;\nvar Recoil_index_28 = Recoil_index.useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_29 = Recoil_index.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_30 = Recoil_index.useRecoilState_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_31 = Recoil_index.useRecoilCallback;\nvar Recoil_index_32 = Recoil_index.useRecoilTransaction_UNSTABLE;\nvar Recoil_index_33 = Recoil_index.useGotoRecoilSnapshot;\nvar Recoil_index_34 = Recoil_index.useRecoilSnapshot;\nvar Recoil_index_35 = Recoil_index.useRecoilTransactionObserver_UNSTABLE;\nvar Recoil_index_36 = Recoil_index.snapshot_UNSTABLE;\nvar Recoil_index_37 = Recoil_index.useRetain;\nvar Recoil_index_38 = Recoil_index.retentionZone;\n\nexport default Recoil_index;\nexport { Recoil_index_1 as DefaultValue, Recoil_index_4 as RecoilEnv, Recoil_index_3 as RecoilLoadable, Recoil_index_5 as RecoilRoot, Recoil_index_8 as atom, Recoil_index_10 as atomFamily, Recoil_index_12 as constSelector, Recoil_index_13 as errorSelector, Recoil_index_2 as isRecoilValue, Recoil_index_15 as noWait, Recoil_index_14 as readOnlySelector, Recoil_index_38 as retentionZone, Recoil_index_9 as selector, Recoil_index_11 as selectorFamily, Recoil_index_36 as snapshot_UNSTABLE, Recoil_index_26 as useGetRecoilValueInfo_UNSTABLE, Recoil_index_33 as useGotoRecoilSnapshot, Recoil_index_7 as useRecoilBridgeAcrossReactRoots_UNSTABLE, Recoil_index_31 as useRecoilCallback, Recoil_index_27 as useRecoilRefresher_UNSTABLE, Recoil_index_34 as useRecoilSnapshot, Recoil_index_22 as useRecoilState, Recoil_index_23 as useRecoilStateLoadable, Recoil_index_30 as useRecoilState_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_6 as useRecoilStoreID, Recoil_index_35 as useRecoilTransactionObserver_UNSTABLE, Recoil_index_32 as useRecoilTransaction_UNSTABLE, Recoil_index_20 as useRecoilValue, Recoil_index_21 as useRecoilValueLoadable, Recoil_index_28 as useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_29 as useRecoilValue_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_25 as useResetRecoilState, Recoil_index_37 as useRetain, Recoil_index_24 as useSetRecoilState, Recoil_index_18 as waitForAll, Recoil_index_19 as waitForAllSettled, Recoil_index_17 as waitForAny, Recoil_index_16 as waitForNone };\n","/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\r\n/* eslint-disable require-jsdoc, valid-jsdoc */\r\nvar MapShim = (function () {\r\n if (typeof Map !== 'undefined') {\r\n return Map;\r\n }\r\n /**\r\n * Returns index in provided array that matches the specified key.\r\n *\r\n * @param {Array} arr\r\n * @param {*} key\r\n * @returns {number}\r\n */\r\n function getIndex(arr, key) {\r\n var result = -1;\r\n arr.some(function (entry, index) {\r\n if (entry[0] === key) {\r\n result = index;\r\n return true;\r\n }\r\n return false;\r\n });\r\n return result;\r\n }\r\n return /** @class */ (function () {\r\n function class_1() {\r\n this.__entries__ = [];\r\n }\r\n Object.defineProperty(class_1.prototype, \"size\", {\r\n /**\r\n * @returns {boolean}\r\n */\r\n get: function () {\r\n return this.__entries__.length;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * @param {*} key\r\n * @returns {*}\r\n */\r\n class_1.prototype.get = function (key) {\r\n var index = getIndex(this.__entries__, key);\r\n var entry = this.__entries__[index];\r\n return entry && entry[1];\r\n };\r\n /**\r\n * @param {*} key\r\n * @param {*} value\r\n * @returns {void}\r\n */\r\n class_1.prototype.set = function (key, value) {\r\n var index = getIndex(this.__entries__, key);\r\n if (~index) {\r\n this.__entries__[index][1] = value;\r\n }\r\n else {\r\n this.__entries__.push([key, value]);\r\n }\r\n };\r\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\r\n class_1.prototype.delete = function (key) {\r\n var entries = this.__entries__;\r\n var index = getIndex(entries, key);\r\n if (~index) {\r\n entries.splice(index, 1);\r\n }\r\n };\r\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\r\n class_1.prototype.has = function (key) {\r\n return !!~getIndex(this.__entries__, key);\r\n };\r\n /**\r\n * @returns {void}\r\n */\r\n class_1.prototype.clear = function () {\r\n this.__entries__.splice(0);\r\n };\r\n /**\r\n * @param {Function} callback\r\n * @param {*} [ctx=null]\r\n * @returns {void}\r\n */\r\n class_1.prototype.forEach = function (callback, ctx) {\r\n if (ctx === void 0) { ctx = null; }\r\n for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {\r\n var entry = _a[_i];\r\n callback.call(ctx, entry[1], entry[0]);\r\n }\r\n };\r\n return class_1;\r\n }());\r\n})();\n\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\r\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\n// Returns global object of a current environment.\r\nvar global$1 = (function () {\r\n if (typeof global !== 'undefined' && global.Math === Math) {\r\n return global;\r\n }\r\n if (typeof self !== 'undefined' && self.Math === Math) {\r\n return self;\r\n }\r\n if (typeof window !== 'undefined' && window.Math === Math) {\r\n return window;\r\n }\r\n // eslint-disable-next-line no-new-func\r\n return Function('return this')();\r\n})();\n\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\r\nvar requestAnimationFrame$1 = (function () {\r\n if (typeof requestAnimationFrame === 'function') {\r\n // It's required to use a bounded function because IE sometimes throws\r\n // an \"Invalid calling object\" error if rAF is invoked without the global\r\n // object on the left hand side.\r\n return requestAnimationFrame.bind(global$1);\r\n }\r\n return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\r\n})();\n\n// Defines minimum timeout before adding a trailing call.\r\nvar trailingTimeout = 2;\r\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\r\nfunction throttle (callback, delay) {\r\n var leadingCall = false, trailingCall = false, lastCallTime = 0;\r\n /**\r\n * Invokes the original callback function and schedules new invocation if\r\n * the \"proxy\" was called during current request.\r\n *\r\n * @returns {void}\r\n */\r\n function resolvePending() {\r\n if (leadingCall) {\r\n leadingCall = false;\r\n callback();\r\n }\r\n if (trailingCall) {\r\n proxy();\r\n }\r\n }\r\n /**\r\n * Callback invoked after the specified delay. It will further postpone\r\n * invocation of the original function delegating it to the\r\n * requestAnimationFrame.\r\n *\r\n * @returns {void}\r\n */\r\n function timeoutCallback() {\r\n requestAnimationFrame$1(resolvePending);\r\n }\r\n /**\r\n * Schedules invocation of the original function.\r\n *\r\n * @returns {void}\r\n */\r\n function proxy() {\r\n var timeStamp = Date.now();\r\n if (leadingCall) {\r\n // Reject immediately following calls.\r\n if (timeStamp - lastCallTime < trailingTimeout) {\r\n return;\r\n }\r\n // Schedule new call to be in invoked when the pending one is resolved.\r\n // This is important for \"transitions\" which never actually start\r\n // immediately so there is a chance that we might miss one if change\r\n // happens amids the pending invocation.\r\n trailingCall = true;\r\n }\r\n else {\r\n leadingCall = true;\r\n trailingCall = false;\r\n setTimeout(timeoutCallback, delay);\r\n }\r\n lastCallTime = timeStamp;\r\n }\r\n return proxy;\r\n}\n\n// Minimum delay before invoking the update of observers.\r\nvar REFRESH_DELAY = 20;\r\n// A list of substrings of CSS properties used to find transition events that\r\n// might affect dimensions of observed elements.\r\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\r\n// Check if MutationObserver is available.\r\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\r\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\r\nvar ResizeObserverController = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserverController.\r\n *\r\n * @private\r\n */\r\n function ResizeObserverController() {\r\n /**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\r\n this.connected_ = false;\r\n /**\r\n * Tells that controller has subscribed for Mutation Events.\r\n *\r\n * @private {boolean}\r\n */\r\n this.mutationEventsAdded_ = false;\r\n /**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\r\n this.mutationsObserver_ = null;\r\n /**\r\n * A list of connected observers.\r\n *\r\n * @private {Array}\r\n */\r\n this.observers_ = [];\r\n this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\r\n this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\r\n }\r\n /**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.addObserver = function (observer) {\r\n if (!~this.observers_.indexOf(observer)) {\r\n this.observers_.push(observer);\r\n }\r\n // Add listeners if they haven't been added yet.\r\n if (!this.connected_) {\r\n this.connect_();\r\n }\r\n };\r\n /**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.removeObserver = function (observer) {\r\n var observers = this.observers_;\r\n var index = observers.indexOf(observer);\r\n // Remove observer if it's present in registry.\r\n if (~index) {\r\n observers.splice(index, 1);\r\n }\r\n // Remove listeners if controller has no connected observers.\r\n if (!observers.length && this.connected_) {\r\n this.disconnect_();\r\n }\r\n };\r\n /**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.refresh = function () {\r\n var changesDetected = this.updateObservers_();\r\n // Continue running updates if changes have been detected as there might\r\n // be future ones caused by CSS transitions.\r\n if (changesDetected) {\r\n this.refresh();\r\n }\r\n };\r\n /**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n * dimensions of it's elements.\r\n */\r\n ResizeObserverController.prototype.updateObservers_ = function () {\r\n // Collect observers that have active observations.\r\n var activeObservers = this.observers_.filter(function (observer) {\r\n return observer.gatherActive(), observer.hasActive();\r\n });\r\n // Deliver notifications in a separate cycle in order to avoid any\r\n // collisions between observers, e.g. when multiple instances of\r\n // ResizeObserver are tracking the same element and the callback of one\r\n // of them changes content dimensions of the observed target. Sometimes\r\n // this may result in notifications being blocked for the rest of observers.\r\n activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\r\n return activeObservers.length > 0;\r\n };\r\n /**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.connect_ = function () {\r\n // Do nothing if running in a non-browser environment or if listeners\r\n // have been already added.\r\n if (!isBrowser || this.connected_) {\r\n return;\r\n }\r\n // Subscription to the \"Transitionend\" event is used as a workaround for\r\n // delayed transitions. This way it's possible to capture at least the\r\n // final state of an element.\r\n document.addEventListener('transitionend', this.onTransitionEnd_);\r\n window.addEventListener('resize', this.refresh);\r\n if (mutationObserverSupported) {\r\n this.mutationsObserver_ = new MutationObserver(this.refresh);\r\n this.mutationsObserver_.observe(document, {\r\n attributes: true,\r\n childList: true,\r\n characterData: true,\r\n subtree: true\r\n });\r\n }\r\n else {\r\n document.addEventListener('DOMSubtreeModified', this.refresh);\r\n this.mutationEventsAdded_ = true;\r\n }\r\n this.connected_ = true;\r\n };\r\n /**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.disconnect_ = function () {\r\n // Do nothing if running in a non-browser environment or if listeners\r\n // have been already removed.\r\n if (!isBrowser || !this.connected_) {\r\n return;\r\n }\r\n document.removeEventListener('transitionend', this.onTransitionEnd_);\r\n window.removeEventListener('resize', this.refresh);\r\n if (this.mutationsObserver_) {\r\n this.mutationsObserver_.disconnect();\r\n }\r\n if (this.mutationEventsAdded_) {\r\n document.removeEventListener('DOMSubtreeModified', this.refresh);\r\n }\r\n this.mutationsObserver_ = null;\r\n this.mutationEventsAdded_ = false;\r\n this.connected_ = false;\r\n };\r\n /**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\r\n ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {\r\n var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;\r\n // Detect whether transition may affect dimensions of an element.\r\n var isReflowProperty = transitionKeys.some(function (key) {\r\n return !!~propertyName.indexOf(key);\r\n });\r\n if (isReflowProperty) {\r\n this.refresh();\r\n }\r\n };\r\n /**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\r\n ResizeObserverController.getInstance = function () {\r\n if (!this.instance_) {\r\n this.instance_ = new ResizeObserverController();\r\n }\r\n return this.instance_;\r\n };\r\n /**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\r\n ResizeObserverController.instance_ = null;\r\n return ResizeObserverController;\r\n}());\n\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\r\nvar defineConfigurable = (function (target, props) {\r\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\r\n var key = _a[_i];\r\n Object.defineProperty(target, key, {\r\n value: props[key],\r\n enumerable: false,\r\n writable: false,\r\n configurable: true\r\n });\r\n }\r\n return target;\r\n});\n\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\r\nvar getWindowOf = (function (target) {\r\n // Assume that the element is an instance of Node, which means that it\r\n // has the \"ownerDocument\" property from which we can retrieve a\r\n // corresponding global object.\r\n var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\r\n // Return the local global object if it's not possible extract one from\r\n // provided element.\r\n return ownerGlobal || global$1;\r\n});\n\n// Placeholder of an empty content rectangle.\r\nvar emptyRect = createRectInit(0, 0, 0, 0);\r\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\r\nfunction toFloat(value) {\r\n return parseFloat(value) || 0;\r\n}\r\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\r\nfunction getBordersSize(styles) {\r\n var positions = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n positions[_i - 1] = arguments[_i];\r\n }\r\n return positions.reduce(function (size, position) {\r\n var value = styles['border-' + position + '-width'];\r\n return size + toFloat(value);\r\n }, 0);\r\n}\r\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\r\nfunction getPaddings(styles) {\r\n var positions = ['top', 'right', 'bottom', 'left'];\r\n var paddings = {};\r\n for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {\r\n var position = positions_1[_i];\r\n var value = styles['padding-' + position];\r\n paddings[position] = toFloat(value);\r\n }\r\n return paddings;\r\n}\r\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n * to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getSVGContentRect(target) {\r\n var bbox = target.getBBox();\r\n return createRectInit(0, 0, bbox.width, bbox.height);\r\n}\r\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getHTMLElementContentRect(target) {\r\n // Client width & height properties can't be\r\n // used exclusively as they provide rounded values.\r\n var clientWidth = target.clientWidth, clientHeight = target.clientHeight;\r\n // By this condition we can catch all non-replaced inline, hidden and\r\n // detached elements. Though elements with width & height properties less\r\n // than 0.5 will be discarded as well.\r\n //\r\n // Without it we would need to implement separate methods for each of\r\n // those cases and it's not possible to perform a precise and performance\r\n // effective test for hidden elements. E.g. even jQuery's ':visible' filter\r\n // gives wrong results for elements with width & height less than 0.5.\r\n if (!clientWidth && !clientHeight) {\r\n return emptyRect;\r\n }\r\n var styles = getWindowOf(target).getComputedStyle(target);\r\n var paddings = getPaddings(styles);\r\n var horizPad = paddings.left + paddings.right;\r\n var vertPad = paddings.top + paddings.bottom;\r\n // Computed styles of width & height are being used because they are the\r\n // only dimensions available to JS that contain non-rounded values. It could\r\n // be possible to utilize the getBoundingClientRect if only it's data wasn't\r\n // affected by CSS transformations let alone paddings, borders and scroll bars.\r\n var width = toFloat(styles.width), height = toFloat(styles.height);\r\n // Width & height include paddings and borders when the 'border-box' box\r\n // model is applied (except for IE).\r\n if (styles.boxSizing === 'border-box') {\r\n // Following conditions are required to handle Internet Explorer which\r\n // doesn't include paddings and borders to computed CSS dimensions.\r\n //\r\n // We can say that if CSS dimensions + paddings are equal to the \"client\"\r\n // properties then it's either IE, and thus we don't need to subtract\r\n // anything, or an element merely doesn't have paddings/borders styles.\r\n if (Math.round(width + horizPad) !== clientWidth) {\r\n width -= getBordersSize(styles, 'left', 'right') + horizPad;\r\n }\r\n if (Math.round(height + vertPad) !== clientHeight) {\r\n height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\r\n }\r\n }\r\n // Following steps can't be applied to the document's root element as its\r\n // client[Width/Height] properties represent viewport area of the window.\r\n // Besides, it's as well not necessary as the itself neither has\r\n // rendered scroll bars nor it can be clipped.\r\n if (!isDocumentElement(target)) {\r\n // In some browsers (only in Firefox, actually) CSS width & height\r\n // include scroll bars size which can be removed at this step as scroll\r\n // bars are the only difference between rounded dimensions + paddings\r\n // and \"client\" properties, though that is not always true in Chrome.\r\n var vertScrollbar = Math.round(width + horizPad) - clientWidth;\r\n var horizScrollbar = Math.round(height + vertPad) - clientHeight;\r\n // Chrome has a rather weird rounding of \"client\" properties.\r\n // E.g. for an element with content width of 314.2px it sometimes gives\r\n // the client width of 315px and for the width of 314.7px it may give\r\n // 314px. And it doesn't happen all the time. So just ignore this delta\r\n // as a non-relevant.\r\n if (Math.abs(vertScrollbar) !== 1) {\r\n width -= vertScrollbar;\r\n }\r\n if (Math.abs(horizScrollbar) !== 1) {\r\n height -= horizScrollbar;\r\n }\r\n }\r\n return createRectInit(paddings.left, paddings.top, width, height);\r\n}\r\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nvar isSVGGraphicsElement = (function () {\r\n // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\r\n // interface.\r\n if (typeof SVGGraphicsElement !== 'undefined') {\r\n return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\r\n }\r\n // If it's so, then check that element is at least an instance of the\r\n // SVGElement and that it has the \"getBBox\" method.\r\n // eslint-disable-next-line no-extra-parens\r\n return function (target) { return (target instanceof getWindowOf(target).SVGElement &&\r\n typeof target.getBBox === 'function'); };\r\n})();\r\n/**\r\n * Checks whether provided element is a document element ().\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nfunction isDocumentElement(target) {\r\n return target === getWindowOf(target).document.documentElement;\r\n}\r\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getContentRect(target) {\r\n if (!isBrowser) {\r\n return emptyRect;\r\n }\r\n if (isSVGGraphicsElement(target)) {\r\n return getSVGContentRect(target);\r\n }\r\n return getHTMLElementContentRect(target);\r\n}\r\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\r\nfunction createReadOnlyRect(_a) {\r\n var x = _a.x, y = _a.y, width = _a.width, height = _a.height;\r\n // If DOMRectReadOnly is available use it as a prototype for the rectangle.\r\n var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\r\n var rect = Object.create(Constr.prototype);\r\n // Rectangle's properties are not writable and non-enumerable.\r\n defineConfigurable(rect, {\r\n x: x, y: y, width: width, height: height,\r\n top: y,\r\n right: x + width,\r\n bottom: height + y,\r\n left: x\r\n });\r\n return rect;\r\n}\r\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction createRectInit(x, y, width, height) {\r\n return { x: x, y: y, width: width, height: height };\r\n}\n\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\r\nvar ResizeObservation = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ResizeObservation.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n */\r\n function ResizeObservation(target) {\r\n /**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\r\n this.broadcastWidth = 0;\r\n /**\r\n * Broadcasted height of content rectangle.\r\n *\r\n * @type {number}\r\n */\r\n this.broadcastHeight = 0;\r\n /**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\r\n this.contentRect_ = createRectInit(0, 0, 0, 0);\r\n this.target = target;\r\n }\r\n /**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\r\n ResizeObservation.prototype.isActive = function () {\r\n var rect = getContentRect(this.target);\r\n this.contentRect_ = rect;\r\n return (rect.width !== this.broadcastWidth ||\r\n rect.height !== this.broadcastHeight);\r\n };\r\n /**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\r\n ResizeObservation.prototype.broadcastRect = function () {\r\n var rect = this.contentRect_;\r\n this.broadcastWidth = rect.width;\r\n this.broadcastHeight = rect.height;\r\n return rect;\r\n };\r\n return ResizeObservation;\r\n}());\n\nvar ResizeObserverEntry = /** @class */ (function () {\r\n /**\r\n * Creates an instance of ResizeObserverEntry.\r\n *\r\n * @param {Element} target - Element that is being observed.\r\n * @param {DOMRectInit} rectInit - Data of the element's content rectangle.\r\n */\r\n function ResizeObserverEntry(target, rectInit) {\r\n var contentRect = createReadOnlyRect(rectInit);\r\n // According to the specification following properties are not writable\r\n // and are also not enumerable in the native implementation.\r\n //\r\n // Property accessors are not being used as they'd require to define a\r\n // private WeakMap storage which may cause memory leaks in browsers that\r\n // don't support this type of collections.\r\n defineConfigurable(this, { target: target, contentRect: contentRect });\r\n }\r\n return ResizeObserverEntry;\r\n}());\n\nvar ResizeObserverSPI = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback function that is invoked\r\n * when one of the observed elements changes it's content dimensions.\r\n * @param {ResizeObserverController} controller - Controller instance which\r\n * is responsible for the updates of observer.\r\n * @param {ResizeObserver} callbackCtx - Reference to the public\r\n * ResizeObserver instance which will be passed to callback function.\r\n */\r\n function ResizeObserverSPI(callback, controller, callbackCtx) {\r\n /**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array}\r\n */\r\n this.activeObservations_ = [];\r\n /**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map}\r\n */\r\n this.observations_ = new MapShim();\r\n if (typeof callback !== 'function') {\r\n throw new TypeError('The callback provided as parameter 1 is not a function.');\r\n }\r\n this.callback_ = callback;\r\n this.controller_ = controller;\r\n this.callbackCtx_ = callbackCtx;\r\n }\r\n /**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.observe = function (target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n // Do nothing if current environment doesn't have the Element interface.\r\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n return;\r\n }\r\n if (!(target instanceof getWindowOf(target).Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n var observations = this.observations_;\r\n // Do nothing if element is already being observed.\r\n if (observations.has(target)) {\r\n return;\r\n }\r\n observations.set(target, new ResizeObservation(target));\r\n this.controller_.addObserver(this);\r\n // Force the update of observations.\r\n this.controller_.refresh();\r\n };\r\n /**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.unobserve = function (target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n // Do nothing if current environment doesn't have the Element interface.\r\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n return;\r\n }\r\n if (!(target instanceof getWindowOf(target).Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n var observations = this.observations_;\r\n // Do nothing if element is not being observed.\r\n if (!observations.has(target)) {\r\n return;\r\n }\r\n observations.delete(target);\r\n if (!observations.size) {\r\n this.controller_.removeObserver(this);\r\n }\r\n };\r\n /**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.disconnect = function () {\r\n this.clearActive();\r\n this.observations_.clear();\r\n this.controller_.removeObserver(this);\r\n };\r\n /**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.gatherActive = function () {\r\n var _this = this;\r\n this.clearActive();\r\n this.observations_.forEach(function (observation) {\r\n if (observation.isActive()) {\r\n _this.activeObservations_.push(observation);\r\n }\r\n });\r\n };\r\n /**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.broadcastActive = function () {\r\n // Do nothing if observer doesn't have active observations.\r\n if (!this.hasActive()) {\r\n return;\r\n }\r\n var ctx = this.callbackCtx_;\r\n // Create ResizeObserverEntry instance for every active observation.\r\n var entries = this.activeObservations_.map(function (observation) {\r\n return new ResizeObserverEntry(observation.target, observation.broadcastRect());\r\n });\r\n this.callback_.call(ctx, entries, ctx);\r\n this.clearActive();\r\n };\r\n /**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\r\n ResizeObserverSPI.prototype.clearActive = function () {\r\n this.activeObservations_.splice(0);\r\n };\r\n /**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\r\n ResizeObserverSPI.prototype.hasActive = function () {\r\n return this.activeObservations_.length > 0;\r\n };\r\n return ResizeObserverSPI;\r\n}());\n\n// Registry of internal observers. If WeakMap is not available use current shim\r\n// for the Map collection as it has all required methods and because WeakMap\r\n// can't be fully polyfilled anyway.\r\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\r\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\r\nvar ResizeObserver = /** @class */ (function () {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback that is invoked when\r\n * dimensions of the observed elements change.\r\n */\r\n function ResizeObserver(callback) {\r\n if (!(this instanceof ResizeObserver)) {\r\n throw new TypeError('Cannot call a class as a function.');\r\n }\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n var controller = ResizeObserverController.getInstance();\r\n var observer = new ResizeObserverSPI(callback, controller, this);\r\n observers.set(this, observer);\r\n }\r\n return ResizeObserver;\r\n}());\r\n// Expose public methods of ResizeObserver.\r\n[\r\n 'observe',\r\n 'unobserve',\r\n 'disconnect'\r\n].forEach(function (method) {\r\n ResizeObserver.prototype[method] = function () {\r\n var _a;\r\n return (_a = observers.get(this))[method].apply(_a, arguments);\r\n };\r\n});\n\nvar index = (function () {\r\n // Export existing implementation if available.\r\n if (typeof global$1.ResizeObserver !== 'undefined') {\r\n return global$1.ResizeObserver;\r\n }\r\n return ResizeObserver;\r\n})();\n\nexport default index;\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","/////////////////////////////////////////////////////////////////////////////////\n/* UAParser.js v1.0.32\n Copyright © 2012-2021 Faisal Salman \n MIT License *//*\n Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.\n Supports browser & node.js environment. \n Demo : https://faisalman.github.io/ua-parser-js\n Source : https://github.com/faisalman/ua-parser-js */\n/////////////////////////////////////////////////////////////////////////////////\n\n(function (window, undefined) {\n\n 'use strict';\n\n //////////////\n // Constants\n /////////////\n\n\n var LIBVERSION = '1.0.32',\n EMPTY = '',\n UNKNOWN = '?',\n FUNC_TYPE = 'function',\n UNDEF_TYPE = 'undefined',\n OBJ_TYPE = 'object',\n STR_TYPE = 'string',\n MAJOR = 'major',\n MODEL = 'model',\n NAME = 'name',\n TYPE = 'type',\n VENDOR = 'vendor',\n VERSION = 'version',\n ARCHITECTURE= 'architecture',\n CONSOLE = 'console',\n MOBILE = 'mobile',\n TABLET = 'tablet',\n SMARTTV = 'smarttv',\n WEARABLE = 'wearable',\n EMBEDDED = 'embedded',\n UA_MAX_LENGTH = 350;\n\n var AMAZON = 'Amazon',\n APPLE = 'Apple',\n ASUS = 'ASUS',\n BLACKBERRY = 'BlackBerry',\n BROWSER = 'Browser',\n CHROME = 'Chrome',\n EDGE = 'Edge',\n FIREFOX = 'Firefox',\n GOOGLE = 'Google',\n HUAWEI = 'Huawei',\n LG = 'LG',\n MICROSOFT = 'Microsoft',\n MOTOROLA = 'Motorola',\n OPERA = 'Opera',\n SAMSUNG = 'Samsung',\n SHARP = 'Sharp',\n SONY = 'Sony',\n XIAOMI = 'Xiaomi',\n ZEBRA = 'Zebra',\n FACEBOOK = 'Facebook';\n\n ///////////\n // Helper\n //////////\n\n var extend = function (regexes, extensions) {\n var mergedRegexes = {};\n for (var i in regexes) {\n if (extensions[i] && extensions[i].length % 2 === 0) {\n mergedRegexes[i] = extensions[i].concat(regexes[i]);\n } else {\n mergedRegexes[i] = regexes[i];\n }\n }\n return mergedRegexes;\n },\n enumerize = function (arr) {\n var enums = {};\n for (var i=0; i 0) {\n if (q.length === 2) {\n if (typeof q[1] == FUNC_TYPE) {\n // assign modified match\n this[q[0]] = q[1].call(this, match);\n } else {\n // assign given value, ignore regex match\n this[q[0]] = q[1];\n }\n } else if (q.length === 3) {\n // check whether function or regex\n if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\n // call function (usually string mapper)\n this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\n } else {\n // sanitize match using given regex\n this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\n }\n } else if (q.length === 4) {\n this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\n }\n } else {\n this[q] = match ? match : undefined;\n }\n }\n }\n }\n i += 2;\n }\n },\n\n strMapper = function (str, map) {\n\n for (var i in map) {\n // check if current value is array\n if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\n for (var j = 0; j < map[i].length; j++) {\n if (has(map[i][j], str)) {\n return (i === UNKNOWN) ? undefined : i;\n }\n }\n } else if (has(map[i], str)) {\n return (i === UNKNOWN) ? undefined : i;\n }\n }\n return str;\n };\n\n ///////////////\n // String map\n //////////////\n\n // Safari < 3.0\n var oldSafariMap = {\n '1.0' : '/8',\n '1.2' : '/1',\n '1.3' : '/3',\n '2.0' : '/412',\n '2.0.2' : '/416',\n '2.0.3' : '/417',\n '2.0.4' : '/419',\n '?' : '/'\n },\n windowsVersionMap = {\n 'ME' : '4.90',\n 'NT 3.11' : 'NT3.51',\n 'NT 4.0' : 'NT4.0',\n '2000' : 'NT 5.0',\n 'XP' : ['NT 5.1', 'NT 5.2'],\n 'Vista' : 'NT 6.0',\n '7' : 'NT 6.1',\n '8' : 'NT 6.2',\n '8.1' : 'NT 6.3',\n '10' : ['NT 6.4', 'NT 10.0'],\n 'RT' : 'ARM'\n };\n\n //////////////\n // Regex map\n /////////////\n\n var regexes = {\n\n browser : [[\n\n /\\b(?:crmo|crios)\\/([\\w\\.]+)/i // Chrome for Android/iOS\n ], [VERSION, [NAME, 'Chrome']], [\n /edg(?:e|ios|a)?\\/([\\w\\.]+)/i // Microsoft Edge\n ], [VERSION, [NAME, 'Edge']], [\n\n // Presto based\n /(opera mini)\\/([-\\w\\.]+)/i, // Opera Mini\n /(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i, // Opera Mobi/Tablet\n /(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i // Opera\n ], [NAME, VERSION], [\n /opios[\\/ ]+([\\w\\.]+)/i // Opera mini on iphone >= 8.0\n ], [VERSION, [NAME, OPERA+' Mini']], [\n /\\bopr\\/([\\w\\.]+)/i // Opera Webkit\n ], [VERSION, [NAME, OPERA]], [\n\n // Mixed\n /(kindle)\\/([\\w\\.]+)/i, // Kindle\n /(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer\n // Trident based\n /(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i, // Avant/IEMobile/SlimBrowser\n /(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i, // Baidu Browser\n /(?:ms|\\()(ie) ([\\w\\.]+)/i, // Internet Explorer\n\n // Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon\n /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,\n // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ\n /(weibo)__([\\d\\.]+)/i // Weibo\n ], [NAME, VERSION], [\n /(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i // UCBrowser\n ], [VERSION, [NAME, 'UC'+BROWSER]], [\n /microm.+\\bqbcore\\/([\\w\\.]+)/i, // WeChat Desktop for Windows Built-in Browser\n /\\bqbcore\\/([\\w\\.]+).+microm/i\n ], [VERSION, [NAME, 'WeChat(Win) Desktop']], [\n /micromessenger\\/([\\w\\.]+)/i // WeChat\n ], [VERSION, [NAME, 'WeChat']], [\n /konqueror\\/([\\w\\.]+)/i // Konqueror\n ], [VERSION, [NAME, 'Konqueror']], [\n /trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i // IE11\n ], [VERSION, [NAME, 'IE']], [\n /yabrowser\\/([\\w\\.]+)/i // Yandex\n ], [VERSION, [NAME, 'Yandex']], [\n /(avast|avg)\\/([\\w\\.]+)/i // Avast/AVG Secure Browser\n ], [[NAME, /(.+)/, '$1 Secure '+BROWSER], VERSION], [\n /\\bfocus\\/([\\w\\.]+)/i // Firefox Focus\n ], [VERSION, [NAME, FIREFOX+' Focus']], [\n /\\bopt\\/([\\w\\.]+)/i // Opera Touch\n ], [VERSION, [NAME, OPERA+' Touch']], [\n /coc_coc\\w+\\/([\\w\\.]+)/i // Coc Coc Browser\n ], [VERSION, [NAME, 'Coc Coc']], [\n /dolfin\\/([\\w\\.]+)/i // Dolphin\n ], [VERSION, [NAME, 'Dolphin']], [\n /coast\\/([\\w\\.]+)/i // Opera Coast\n ], [VERSION, [NAME, OPERA+' Coast']], [\n /miuibrowser\\/([\\w\\.]+)/i // MIUI Browser\n ], [VERSION, [NAME, 'MIUI '+BROWSER]], [\n /fxios\\/([-\\w\\.]+)/i // Firefox for iOS\n ], [VERSION, [NAME, FIREFOX]], [\n /\\bqihu|(qi?ho?o?|360)browser/i // 360\n ], [[NAME, '360 '+BROWSER]], [\n /(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i\n ], [[NAME, /(.+)/, '$1 '+BROWSER], VERSION], [ // Oculus/Samsung/Sailfish/Huawei Browser\n /(comodo_dragon)\\/([\\w\\.]+)/i // Comodo Dragon\n ], [[NAME, /_/g, ' '], VERSION], [\n /(electron)\\/([\\w\\.]+) safari/i, // Electron-based App\n /(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i, // Tesla\n /m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i // QQBrowser/Baidu App/2345 Browser\n ], [NAME, VERSION], [\n /(metasr)[\\/ ]?([\\w\\.]+)/i, // SouGouBrowser\n /(lbbrowser)/i, // LieBao Browser\n /\\[(linkedin)app\\]/i // LinkedIn App for iOS & Android\n ], [NAME], [\n\n // WebView\n /((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i // Facebook App for iOS & Android\n ], [[NAME, FACEBOOK], VERSION], [\n /safari (line)\\/([\\w\\.]+)/i, // Line App for iOS\n /\\b(line)\\/([\\w\\.]+)\\/iab/i, // Line App for Android\n /(chromium|instagram)[\\/ ]([-\\w\\.]+)/i // Chromium/Instagram\n ], [NAME, VERSION], [\n /\\bgsa\\/([\\w\\.]+) .*safari\\//i // Google Search Appliance on iOS\n ], [VERSION, [NAME, 'GSA']], [\n\n /headlesschrome(?:\\/([\\w\\.]+)| )/i // Chrome Headless\n ], [VERSION, [NAME, CHROME+' Headless']], [\n\n / wv\\).+(chrome)\\/([\\w\\.]+)/i // Chrome WebView\n ], [[NAME, CHROME+' WebView'], VERSION], [\n\n /droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i // Android Browser\n ], [VERSION, [NAME, 'Android '+BROWSER]], [\n\n /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia\n ], [NAME, VERSION], [\n\n /version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i // Mobile Safari\n ], [VERSION, [NAME, 'Mobile Safari']], [\n /version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile\n ], [VERSION, NAME], [\n /webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i // Safari < 3.0\n ], [NAME, [VERSION, strMapper, oldSafariMap]], [\n\n /(webkit|khtml)\\/([\\w\\.]+)/i\n ], [NAME, VERSION], [\n\n // Gecko based\n /(navigator|netscape\\d?)\\/([-\\w\\.]+)/i // Netscape\n ], [[NAME, 'Netscape'], VERSION], [\n /mobile vr; rv:([\\w\\.]+)\\).+firefox/i // Firefox Reality\n ], [VERSION, [NAME, FIREFOX+' Reality']], [\n /ekiohf.+(flow)\\/([\\w\\.]+)/i, // Flow\n /(swiftfox)/i, // Swiftfox\n /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,\n // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar\n /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,\n // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\n /(firefox)\\/([\\w\\.]+)/i, // Other Firefox-based\n /(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i, // Mozilla\n\n // Other\n /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,\n // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser\n /(links) \\(([\\w\\.]+)/i // Links\n ], [NAME, VERSION]\n ],\n\n cpu : [[\n\n /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i // AMD64 (x64)\n ], [[ARCHITECTURE, 'amd64']], [\n\n /(ia32(?=;))/i // IA32 (quicktime)\n ], [[ARCHITECTURE, lowerize]], [\n\n /((?:i[346]|x)86)[;\\)]/i // IA32 (x86)\n ], [[ARCHITECTURE, 'ia32']], [\n\n /\\b(aarch64|arm(v?8e?l?|_?64))\\b/i // ARM64\n ], [[ARCHITECTURE, 'arm64']], [\n\n /\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i // ARMHF\n ], [[ARCHITECTURE, 'armhf']], [\n\n // PocketPC mistakenly identified as PowerPC\n /windows (ce|mobile); ppc;/i\n ], [[ARCHITECTURE, 'arm']], [\n\n /((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i // PowerPC\n ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [\n\n /(sun4\\w)[;\\)]/i // SPARC\n ], [[ARCHITECTURE, 'sparc']], [\n\n /((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i\n // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\n ], [[ARCHITECTURE, lowerize]]\n ],\n\n device : [[\n\n //////////////////////////\n // MOBILES & TABLETS\n // Ordered by popularity\n /////////////////////////\n\n // Samsung\n /\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [\n /\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,\n /samsung[- ]([-\\w]+)/i,\n /sec-(sgh\\w+)/i\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [\n\n // Apple\n /\\((ip(?:hone|od)[\\w ]*);/i // iPod/iPhone\n ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [\n /\\((ipad);[-\\w\\),; ]+apple/i, // iPad\n /applecoremedia\\/[\\w\\.]+ \\((ipad)/i,\n /\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i\n ], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [\n\n // Huawei\n /\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [\n /(?:huawei|honor)([-\\w ]+)[;\\)]/i,\n /\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [\n\n // Xiaomi\n /\\b(poco[\\w ]+)(?: bui|\\))/i, // Xiaomi POCO\n /\\b; (\\w+) build\\/hm\\1/i, // Xiaomi Hongmi 'numeric' models\n /\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i, // Xiaomi Hongmi\n /\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i, // Xiaomi Redmi\n /\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i // Xiaomi Mi\n ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [\n /\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i // Mi Pad tablets\n ],[[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [\n\n // OPPO\n /; (\\w+) bui.+ oppo/i,\n /\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i\n ], [MODEL, [VENDOR, 'OPPO'], [TYPE, MOBILE]], [\n\n // Vivo\n /vivo (\\w+)(?: bui|\\))/i,\n /\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i\n ], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [\n\n // Realme\n /\\b(rmx[12]\\d{3})(?: bui|;|\\))/i\n ], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [\n\n // Motorola\n /\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,\n /\\bmot(?:orola)?[- ](\\w*)/i,\n /((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [\n /\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [\n\n // LG\n /((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i\n ], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [\n /(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,\n /\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,\n /\\blg-?([\\d\\w]+) bui/i\n ], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [\n\n // Lenovo\n /(ideatab[-\\w ]+)/i,\n /lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i\n ], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [\n\n // Nokia\n /(?:maemo|nokia).*(n900|lumia \\d+)/i,\n /nokia[-_ ]?([-\\w\\.]*)/i\n ], [[MODEL, /_/g, ' '], [VENDOR, 'Nokia'], [TYPE, MOBILE]], [\n\n // Google\n /(pixel c)\\b/i // Google Pixel C\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [\n /droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i // Google Pixel\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [\n\n // Sony\n /droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i\n ], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [\n /sony tablet [ps]/i,\n /\\b(?:sony)?sgp\\w+(?: bui|\\))/i\n ], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [\n\n // OnePlus\n / (kb2005|in20[12]5|be20[12][59])\\b/i,\n /(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i\n ], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [\n\n // Amazon\n /(alexa)webm/i,\n /(kf[a-z]{2}wi)( bui|\\))/i, // Kindle Fire without Silk\n /(kf[a-z]+)( bui|\\)).+silk\\//i // Kindle Fire HD\n ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [\n /((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i // Fire Phone\n ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [\n\n // BlackBerry\n /(playbook);[-\\w\\),; ]+(rim)/i // BlackBerry PlayBook\n ], [MODEL, VENDOR, [TYPE, TABLET]], [\n /\\b((?:bb[a-f]|st[hv])100-\\d)/i,\n /\\(bb10; (\\w+)/i // BlackBerry 10\n ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [\n\n // Asus\n /(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i\n ], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [\n / (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i\n ], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [\n\n // HTC\n /(nexus 9)/i // HTC Nexus 9\n ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [\n /(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i, // HTC\n\n // ZTE\n /(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,\n /(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony\n ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [\n\n // Acer\n /droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i\n ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [\n\n // Meizu\n /droid.+; (m[1-5] note) bui/i,\n /\\bmz-([-\\w]{2,})/i\n ], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [\n\n // Sharp\n /\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i\n ], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [\n\n // MIXED\n /(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,\n // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\n /(hp) ([\\w ]+\\w)/i, // HP iPAQ\n /(asus)-?(\\w+)/i, // Asus\n /(microsoft); (lumia[\\w ]+)/i, // Microsoft Lumia\n /(lenovo)[-_ ]?([-\\w]+)/i, // Lenovo\n /(jolla)/i, // Jolla\n /(oppo) ?([\\w ]+) bui/i // OPPO\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n\n /(archos) (gamepad2?)/i, // Archos\n /(hp).+(touchpad(?!.+tablet)|tablet)/i, // HP TouchPad\n /(kindle)\\/([\\w\\.]+)/i, // Kindle\n /(nook)[\\w ]+build\\/(\\w+)/i, // Nook\n /(dell) (strea[kpr\\d ]*[\\dko])/i, // Dell Streak\n /(le[- ]+pan)[- ]+(\\w{1,9}) bui/i, // Le Pan Tablets\n /(trinity)[- ]*(t\\d{3}) bui/i, // Trinity Tablets\n /(gigaset)[- ]+(q\\w{1,9}) bui/i, // Gigaset Tablets\n /(vodafone) ([\\w ]+)(?:\\)| bui)/i // Vodafone\n ], [VENDOR, MODEL, [TYPE, TABLET]], [\n\n /(surface duo)/i // Surface Duo\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [\n /droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i // Fairphone\n ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [\n /(u304aa)/i // AT&T\n ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [\n /\\bsie-(\\w*)/i // Siemens\n ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [\n /\\b(rct\\w+) b/i // RCA Tablets\n ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [\n /\\b(venue[\\d ]{2,7}) b/i // Dell Venue Tablets\n ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [\n /\\b(q(?:mv|ta)\\w+) b/i // Verizon Tablet\n ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [\n /\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i // Barnes & Noble Tablet\n ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [\n /\\b(tm\\d{3}\\w+) b/i\n ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [\n /\\b(k88) b/i // ZTE K Series Tablet\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [\n /\\b(nx\\d{3}j) b/i // ZTE Nubia\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [\n /\\b(gen\\d{3}) b.+49h/i // Swiss GEN Mobile\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [\n /\\b(zur\\d{3}) b/i // Swiss ZUR Tablet\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [\n /\\b((zeki)?tb.*\\b) b/i // Zeki Tablets\n ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [\n /\\b([yr]\\d{2}) b/i,\n /\\b(dragon[- ]+touch |dt)(\\w{5}) b/i // Dragon Touch Tablet\n ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [\n /\\b(ns-?\\w{0,9}) b/i // Insignia Tablets\n ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [\n /\\b((nxa|next)-?\\w{0,9}) b/i // NextBook Tablets\n ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [\n /\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones\n ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [\n /\\b(lvtel\\-)?(v1[12]) b/i // LvTel Phones\n ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [\n /\\b(ph-1) /i // Essential PH-1\n ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [\n /\\b(v(100md|700na|7011|917g).*\\b) b/i // Envizen Tablets\n ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [\n /\\b(trio[-\\w\\. ]+) b/i // MachSpeed Tablets\n ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [\n /\\btu_(1491) b/i // Rotor Tablets\n ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [\n /(shield[\\w ]+) b/i // Nvidia Shield Tablets\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, TABLET]], [\n /(sprint) (\\w+)/i // Sprint Phones\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\n /(kin\\.[onetw]{3})/i // Microsoft Kin\n ], [[MODEL, /\\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [\n /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i // Zebra\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [\n /droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [\n\n ///////////////////\n // CONSOLES\n ///////////////////\n\n /(ouya)/i, // Ouya\n /(nintendo) ([wids3utch]+)/i // Nintendo\n ], [VENDOR, MODEL, [TYPE, CONSOLE]], [\n /droid.+; (shield) bui/i // Nvidia\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [\n /(playstation [345portablevi]+)/i // Playstation\n ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [\n /\\b(xbox(?: one)?(?!; xbox))[\\); ]/i // Microsoft Xbox\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [\n\n ///////////////////\n // SMARTTVS\n ///////////////////\n\n /smart-tv.+(samsung)/i // Samsung\n ], [VENDOR, [TYPE, SMARTTV]], [\n /hbbtv.+maple;(\\d+)/i\n ], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [\n /(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i // LG SmartTV\n ], [[VENDOR, LG], [TYPE, SMARTTV]], [\n /(apple) ?tv/i // Apple TV\n ], [VENDOR, [MODEL, APPLE+' TV'], [TYPE, SMARTTV]], [\n /crkey/i // Google Chromecast\n ], [[MODEL, CHROME+'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [\n /droid.+aft(\\w)( bui|\\))/i // Fire TV\n ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [\n /\\(dtv[\\);].+(aquos)/i,\n /(aquos-tv[\\w ]+)\\)/i // Sharp\n ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],[\n /(bravia[\\w ]+)( bui|\\))/i // Sony\n ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [\n /(mitv-\\w{5}) bui/i // Xiaomi\n ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [\n /\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i, // Roku\n /hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i // HbbTV devices\n ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [\n /\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i // SmartTV from Unidentified Vendors\n ], [[TYPE, SMARTTV]], [\n\n ///////////////////\n // WEARABLES\n ///////////////////\n\n /((pebble))app/i // Pebble\n ], [VENDOR, MODEL, [TYPE, WEARABLE]], [\n /droid.+; (glass) \\d/i // Google Glass\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [\n /droid.+; (wt63?0{2,3})\\)/i\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [\n /(quest( 2)?)/i // Oculus Quest\n ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [\n\n ///////////////////\n // EMBEDDED\n ///////////////////\n\n /(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i // Tesla\n ], [VENDOR, [TYPE, EMBEDDED]], [\n\n ////////////////////\n // MIXED (GENERIC)\n ///////////////////\n\n /droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors\n ], [MODEL, [TYPE, MOBILE]], [\n /droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors\n ], [MODEL, [TYPE, TABLET]], [\n /\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i // Unidentifiable Tablet\n ], [[TYPE, TABLET]], [\n /(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile\n ], [[TYPE, MOBILE]], [\n /(android[-\\w\\. ]{0,9});.+buil/i // Generic Android Device\n ], [MODEL, [VENDOR, 'Generic']]\n ],\n\n engine : [[\n\n /windows.+ edge\\/([\\w\\.]+)/i // EdgeHTML\n ], [VERSION, [NAME, EDGE+'HTML']], [\n\n /webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i // Blink\n ], [VERSION, [NAME, 'Blink']], [\n\n /(presto)\\/([\\w\\.]+)/i, // Presto\n /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna\n /ekioh(flow)\\/([\\w\\.]+)/i, // Flow\n /(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i, // KHTML/Tasman/Links\n /(icab)[\\/ ]([23]\\.[\\d\\.]+)/i // iCab\n ], [NAME, VERSION], [\n\n /rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i // Gecko\n ], [VERSION, NAME]\n ],\n\n os : [[\n\n // Windows\n /microsoft (windows) (vista|xp)/i // Windows (iTunes)\n ], [NAME, VERSION], [\n /(windows) nt 6\\.2; (arm)/i, // Windows RT\n /(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i, // Windows Phone\n /(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i\n ], [NAME, [VERSION, strMapper, windowsVersionMap]], [\n /(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i\n ], [[NAME, 'Windows'], [VERSION, strMapper, windowsVersionMap]], [\n\n // iOS/macOS\n /ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i, // iOS\n /cfnetwork\\/.+darwin/i\n ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [\n /(mac os x) ?([\\w\\. ]*)/i,\n /(macintosh|mac_powerpc\\b)(?!.+haiku)/i // Mac OS\n ], [[NAME, 'Mac OS'], [VERSION, /_/g, '.']], [\n\n // Mobile OSes\n /droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS\n ], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS\n /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,\n /(blackberry)\\w*\\/([\\w\\.]*)/i, // Blackberry\n /(tizen|kaios)[\\/ ]([\\w\\.]+)/i, // Tizen/KaiOS\n /\\((series40);/i // Series 40\n ], [NAME, VERSION], [\n /\\(bb(10);/i // BlackBerry 10\n ], [VERSION, [NAME, BLACKBERRY]], [\n /(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i // Symbian\n ], [VERSION, [NAME, 'Symbian']], [\n /mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i // Firefox OS\n ], [VERSION, [NAME, FIREFOX+' OS']], [\n /web0s;.+rt(tv)/i,\n /\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i // WebOS\n ], [VERSION, [NAME, 'webOS']], [\n\n // Google Chromecast\n /crkey\\/([\\d\\.]+)/i // Google Chromecast\n ], [VERSION, [NAME, CHROME+'cast']], [\n /(cros) [\\w]+ ([\\w\\.]+\\w)/i // Chromium OS\n ], [[NAME, 'Chromium OS'], VERSION],[\n\n // Console\n /(nintendo|playstation) ([wids345portablevuch]+)/i, // Nintendo/Playstation\n /(xbox); +xbox ([^\\);]+)/i, // Microsoft Xbox (360, One, X, S, Series X, Series S)\n\n // Other\n /\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i, // Joli/Palm\n /(mint)[\\/\\(\\) ]?(\\w*)/i, // Mint\n /(mageia|vectorlinux)[; ]/i, // Mageia/VectorLinux\n /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,\n // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire\n /(hurd|linux) ?([\\w\\.]*)/i, // Hurd/Linux\n /(gnu) ?([\\w\\.]*)/i, // GNU\n /\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly\n /(haiku) (\\w+)/i // Haiku\n ], [NAME, VERSION], [\n /(sunos) ?([\\w\\.\\d]*)/i // Solaris\n ], [[NAME, 'Solaris'], VERSION], [\n /((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i, // Solaris\n /(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i, // AIX\n /\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX\n /(unix) ?([\\w\\.]*)/i // UNIX\n ], [NAME, VERSION]\n ]\n };\n\n /////////////////\n // Constructor\n ////////////////\n\n var UAParser = function (ua, extensions) {\n\n if (typeof ua === OBJ_TYPE) {\n extensions = ua;\n ua = undefined;\n }\n\n if (!(this instanceof UAParser)) {\n return new UAParser(ua, extensions).getResult();\n }\n\n var _ua = ua || ((typeof window !== UNDEF_TYPE && window.navigator && window.navigator.userAgent) ? window.navigator.userAgent : EMPTY);\n var _rgxmap = extensions ? extend(regexes, extensions) : regexes;\n\n this.getBrowser = function () {\n var _browser = {};\n _browser[NAME] = undefined;\n _browser[VERSION] = undefined;\n rgxMapper.call(_browser, _ua, _rgxmap.browser);\n _browser.major = majorize(_browser.version);\n return _browser;\n };\n this.getCPU = function () {\n var _cpu = {};\n _cpu[ARCHITECTURE] = undefined;\n rgxMapper.call(_cpu, _ua, _rgxmap.cpu);\n return _cpu;\n };\n this.getDevice = function () {\n var _device = {};\n _device[VENDOR] = undefined;\n _device[MODEL] = undefined;\n _device[TYPE] = undefined;\n rgxMapper.call(_device, _ua, _rgxmap.device);\n return _device;\n };\n this.getEngine = function () {\n var _engine = {};\n _engine[NAME] = undefined;\n _engine[VERSION] = undefined;\n rgxMapper.call(_engine, _ua, _rgxmap.engine);\n return _engine;\n };\n this.getOS = function () {\n var _os = {};\n _os[NAME] = undefined;\n _os[VERSION] = undefined;\n rgxMapper.call(_os, _ua, _rgxmap.os);\n return _os;\n };\n this.getResult = function () {\n return {\n ua : this.getUA(),\n browser : this.getBrowser(),\n engine : this.getEngine(),\n os : this.getOS(),\n device : this.getDevice(),\n cpu : this.getCPU()\n };\n };\n this.getUA = function () {\n return _ua;\n };\n this.setUA = function (ua) {\n _ua = (typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH) ? trim(ua, UA_MAX_LENGTH) : ua;\n return this;\n };\n this.setUA(_ua);\n return this;\n };\n\n UAParser.VERSION = LIBVERSION;\n UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);\n UAParser.CPU = enumerize([ARCHITECTURE]);\n UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);\n UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);\n\n ///////////\n // Export\n //////////\n\n // check js environment\n if (typeof(exports) !== UNDEF_TYPE) {\n // nodejs env\n if (typeof module !== UNDEF_TYPE && module.exports) {\n exports = module.exports = UAParser;\n }\n exports.UAParser = UAParser;\n } else {\n // requirejs env (optional)\n if (typeof(define) === FUNC_TYPE && define.amd) {\n define(function () {\n return UAParser;\n });\n } else if (typeof window !== UNDEF_TYPE) {\n // browser env\n window.UAParser = UAParser;\n }\n }\n\n // jQuery/Zepto specific (optional)\n // Note:\n // In AMD env the global scope should be kept clean, but jQuery is an exception.\n // jQuery always exports to global scope, unless jQuery.noConflict(true) is used,\n // and we should catch that.\n var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);\n if ($ && !$.ua) {\n var parser = new UAParser();\n $.ua = parser.getResult();\n $.ua.get = function () {\n return parser.getUA();\n };\n $.ua.set = function (ua) {\n parser.setUA(ua);\n var result = parser.getResult();\n for (var prop in result) {\n $.ua[prop] = result[prop];\n }\n };\n }\n\n})(typeof window === 'object' ? window : this);\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport possibleConstructorReturn from \"./possibleConstructorReturn.js\";\nexport default function _createSuper(Derived) {\n var hasNativeReflectConstruct = isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return possibleConstructorReturn(this, result);\n };\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n}\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["darkColorMap","index","opacity","toHsv","_ref","r","g","b","hsv","_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__","py","h","s","v","toHex","_ref2","concat","vq","getHue","i","light","hue","Math","round","hueStep","getSaturation","saturation","saturationStep","saturationStep2","Number","toFixed","getValue","value","brightnessStep1","brightnessStep2","generate","color","opts","arguments","length","undefined","patterns","pColor","_ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_1__","uA","colorString","push","_i","_hsv","_colorString","theme","map","_ref3","rgb1","rgb2","p","backgroundColor","amount","presetPrimaryColors","red","volcano","orange","gold","yellow","lime","green","cyan","blue","geekblue","purple","magenta","grey","presetPalettes","presetDarkPalettes","Object","keys","forEach","key","primary","isIconDefinition","target","esm_typeof","Z","name","icon","normalizeAttrs","attrs","reduce","acc","val","className","class","getSecondaryColor","primaryColor","index_esm","normalizeTwoToneColors","twoToneColor","Array","isArray","useInsertStyles","styleStr","csp","_useContext","react","useContext","Context","useEffect","dynamicCSS","hq","prepend","_excluded","twoToneColorPalette","secondaryColor","calculated","IconBase","props","valid","onClick","style","restProps","objectWithoutProperties","colors","warning","ZP","objectSpread2","node","rootProps","createElement","tag","children","child","width","height","fill","setTwoToneColor","_normalizeTwoToneColo","_normalizeTwoToneColo2","slicedToArray","components_IconBase","setTwoToneColors","displayName","getTwoToneColors","AntdIcon_excluded","Icon","forwardRef","ref","_classNames","spin","rotate","tabIndex","_React$useContext","_React$useContext$pre","prefixCls","rootClassName","classString","classnames_default","defineProperty","iconTabIndex","role","msTransform","transform","getTwoToneColor","AntdIcon","IconContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","__webpack_exports__","asn_CheckCircleFilled","CheckCircleFilled_CheckCircleFilled","icons_CheckCircleFilled","asn_CheckCircleOutlined","CheckCircleOutlined_CheckCircleOutlined","icons_CheckCircleOutlined","asn_CloseCircleFilled","CloseCircleFilled_CloseCircleFilled","icons_CloseCircleFilled","asn_CloseCircleOutlined","CloseCircleOutlined_CloseCircleOutlined","icons_CloseCircleOutlined","asn_CloseOutlined","CloseOutlined_CloseOutlined","icons_CloseOutlined","asn_DownOutlined","DownOutlined_DownOutlined","icons_DownOutlined","asn_EllipsisOutlined","EllipsisOutlined_EllipsisOutlined","icons_EllipsisOutlined","asn_ExclamationCircleFilled","ExclamationCircleFilled_ExclamationCircleFilled","icons_ExclamationCircleFilled","asn_ExclamationCircleOutlined","ExclamationCircleOutlined_ExclamationCircleOutlined","icons_ExclamationCircleOutlined","asn_EyeOutlined","EyeOutlined_EyeOutlined","icons_EyeOutlined","asn_InfoCircleFilled","InfoCircleFilled_InfoCircleFilled","icons_InfoCircleFilled","asn_InfoCircleOutlined","InfoCircleOutlined_InfoCircleOutlined","icons_InfoCircleOutlined","asn_LeftOutlined","LeftOutlined_LeftOutlined","icons_LeftOutlined","asn_LoadingOutlined","LoadingOutlined_LoadingOutlined","icons_LoadingOutlined","asn_RightOutlined","RightOutlined_RightOutlined","icons_RightOutlined","asn_SearchOutlined","SearchOutlined_SearchOutlined","icons_SearchOutlined","rgbToRgb","_util__WEBPACK_IMPORTED_MODULE_0__","sh","rgbToHsl","max","min","l","d","hue2rgb","q","t","hslToRgb","rgbToHsv","hsvToRgb","floor","f","mod","rgbToHex","allow3Char","hex","FZ","toString","startsWith","charAt","join","rgbaToHex","a","allow4Char","convertDecimalToHex","rgbaToArgbHex","parseFloat","convertHexToDecimal","parseIntFromHex","parseInt","numberInputToObject","names","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gray","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","limegreen","linen","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","rebeccapurple","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellowgreen","inputToRGB","rgb","ok","format","stringInputToObject","isValidCSSUnit","_conversion__WEBPACK_IMPORTED_MODULE_0__","rW","String","substr","_util__WEBPACK_IMPORTED_MODULE_1__","JX","WE","ve","prototype","hasOwnProperty","call","Yq","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","rgba","hsl","hsla","hsva","hex3","hex6","hex4","hex8","trim","toLowerCase","named","_css_color_names__WEBPACK_IMPORTED_MODULE_2__","R","match","exec","VD","T6","Boolean","TinyColor","Yt","originalInput","_a","_format_input__WEBPACK_IMPORTED_MODULE_1__","roundA","gradientType","isValid","isDark","getBrightness","isLight","toRgb","getLuminance","RsRGB","GsRGB","BsRGB","pow","getAlpha","setAlpha","alpha","_util__WEBPACK_IMPORTED_MODULE_2__","isMonochrome","toHsl","toHsvString","lC","toHslString","toHexString","toHex8","toHex8String","toRgbString","toPercentageRgb","fmt","x","toPercentageRgbString","rnd","toName","entries","_css_color_names__WEBPACK_IMPORTED_MODULE_3__","_b","formatSet","formattedString","hasAlpha","toNumber","clone","lighten","V2","brighten","darken","tint","mix","shade","desaturate","saturate","greyscale","analogous","results","slices","part","ret","complement","monochromatic","res","modification","splitcomplement","onBackground","background","fg","bg","triad","polyad","tetrad","n","result","increment","equals","tinycolor","bound01","indexOf","isPercent","abs","clamp01","boundAlpha","isNaN","convertToPercentage","pad2","c","OrderContext","EMPTY_LIST","UNIQUE_ID","Date","now","uuid","inline","getPortalContainer","getContainer","canUseDom","document","querySelector","es","mergedLock","_React$useState","id","nextInline","open","autoLock","_props$autoDestroy","debug","autoDestroy","useState","_React$useState2","shouldRender","setShouldRender","mergedRender","_React$useState3","_React$useState4","innerContainer","setInnerContainer","customizeContainer","_useDom","useDom","render","ele","appendedRef","useRef","queueCreate","queue","setQueue","mergedQueueCreate","current","appendFn","origin","toConsumableArray","append","parentElement","body","appendChild","cleanup","_ele$parentElement","removeChild","useLayoutEffect","_useDom2","defaultContainer","mergedContainer","scrollbarSize","getScrollBarSize","isOverflow","scrollHeight","window","innerHeight","documentElement","clientHeight","innerWidth","offsetWidth","jL","childRef","es_ref","Yr","mergedRef","x1","renderInline","reffedChildren","cloneElement","Provider","react_dom","createPortal","clickedRef","react__WEBPACK_IMPORTED_MODULE_1__","_useState","rc_util_es_hooks_useState__WEBPACK_IMPORTED_MODULE_0__","_useState2","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__","loading","setLoading","close","onInternalClose","apply","timeoutId","autoFocus","setTimeout","focus","clearTimeout","handlePromiseOnOk","returnValueOfOnOk","thing","then","e","console","error","type","buttonProps","_button__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_4__","_button_button__WEBPACK_IMPORTED_MODULE_5__","actionFn","emitEvent","quitOnNullishReturnValue","PresetStatusColorTypes","_type__WEBPACK_IMPORTED_MODULE_0__","PresetColorTypes","getDataOrAriaProps","prev","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__","flexible","setFlexible","_styleChecker__WEBPACK_IMPORTED_MODULE_2__","fk","getCollapsedHeight","getRealHeight","skipOpacityTransition","_","event","deadline","propertyName","getTransitionDirection","placement","getTransitionName","rootPrefixCls","motion","transitionName","motionName","onAppearStart","onEnterStart","onAppearActive","onEnterActive","onLeaveStart","offsetHeight","onLeaveActive","onAppearEnd","onEnterEnd","onLeaveEnd","motionDeadline","autoAdjustOverflowEnabled","adjustX","adjustY","autoAdjustOverflowDisabled","targetOffset","getOverflowOptions","autoAdjustOverflow","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__","getPlacements","config","_config$arrowWidth","arrowWidth","_config$horizontalArr","horizontalArrowShift","_config$verticalArrow","verticalArrowShift","arrowPointAtCenter","placementMap","left","points","offset","right","top","bottom","topLeft","leftTop","topRight","rightTop","bottomRight","rightBottom","bottomLeft","leftBottom","overflow","rc_tooltip_es_placements__WEBPACK_IMPORTED_MODULE_0__","C","ignoreShake","isValidElement","isFragment","Fragment","replaceElement","element","replacement","getStatusClassNames","status","hasFeedback","classnames__WEBPACK_IMPORTED_MODULE_0___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","_type__WEBPACK_IMPORTED_MODULE_1__","getMergedStatus","contextStatus","customStatus","flexGapSupported","canUseDocElement","rc_util_es_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_0__","detectFlexGapSupported","flex","display","flexDirection","rowGap","tuple","_len","args","_key","tupleNum","_len2","_key2","styleForPseudo","ids","wrapperRaf","callback","delayFrames","myId","restFrames","raf","internalCallback","cancel","pid","isHidden","offsetParent","hidden","Wave","_React$Component","inherits","_super","createSuper","_this","classCallCheck","containerRef","createRef","animationStart","destroyed","waveColor","_this$props","insertExtraNode","disabled","includes","extraNode","_assertThisInitialize","assertThisInitialized","getPrefixCls","context","attributeName","getAttributeName","setAttribute","test","borderColor","nodeRoot","getRootNode","ownerDocument","nodeBody","Document","from","childNodes","find","nodeType","Node","ELEMENT_NODE","attachTo","addEventListener","onTransitionStart","onTransitionEnd","resetEffect","animationName","bindAnimationEvent","getAttribute","tagName","getComputedStyle","getPropertyValue","clickWaveTimeoutId","animationStartId","removeEventListener","renderWave","sQ","reactNode","Tm","createClass","instance","_this2","Element","innerHTML","contains","Component","contextType","E_","wave","ErrorBoundary","state","info","componentStack","setState","message","description","_this$state","errorMessage","es_alert","__rest","getOwnPropertySymbols","propertyIsEnumerable","iconMapFilled","success","CheckCircleFilled","InfoCircleFilled","CloseCircleFilled","ExclamationCircleFilled","iconMapOutlined","CheckCircleOutlined","InfoCircleOutlined","CloseCircleOutlined","ExclamationCircleOutlined","IconNode","iconType","wm","CloseIcon","isClosable","closeText","closeIcon","handleClose","Alert","_classNames2","customizePrefixCls","banner","_a$className","onMouseEnter","onMouseLeave","afterClose","showIcon","closable","_a$closeIcon","CloseOutlined","action","closed","setClosed","direction","onClose","isShowIcon","alertCls","dataOrAriaProps","visible","motionAppear","motionEnter","maxHeight","motionClassName","motionStyle","esm_extends","GroupSizeContext","getCollapsedWidth","getRealWidth","scrollWidth","button_LoadingIcon","existIcon","LoadingOutlined","removeOnLeave","button_rest","rxTwoCNChar","isTwoCNChar","bind","isUnBorderedButtonType","convertLegacyProps","danger","Button","needInserted","isPrevChildPure","childList","_props$loading","_props$type","_props$shape","shape","customizeSize","size","customDisabled","_props$ghost","ghost","_props$block","block","_props$htmlType","htmlType","rest","SizeContext","DisabledContext","mergedDisabled","groupSize","innerLoading","hasTwoCNChar","setHasTwoCNChar","autoInsertSpaceInButton","buttonRef","isNeedInserted","Children","count","loadingOrDelay","delay","delayTimer","buttonText","textContent","handleClick","preventDefault","autoInsertSpace","_useCompactItemContex","Compact","ri","compactSize","compactItemClassnames","sizeFullname","sizeCls","sizeClassNameMap","large","small","middle","linkButtonRestProps","omit","classes","href","iconNode","kids","isCurrentChildPure","lastIndex","lastChild","insertSpace","SPACE","split","M2","buttonNode","Group","others","__ANT_BUTTON","button_button","_button__WEBPACK_IMPORTED_MODULE_0__","_date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_0__","DisabledContextProvider","originDisabled","SizeContextProvider","Consumer","originSize","ConfigContext","suffixCls","ConfigConsumer","withConfigConsumer","cons","constructor","configProps","basicPrefixCls","globalPrefixCls","globalIconPrefixCls","locale_provider","_props$locale","locale","_ANT_MARK__","modal_locale","Modal","getMemoizedContextValue","useMemo","exist","dynamicStyleMark","random","PASSED_PROPS","getGlobalPrefixCls","getGlobalIconPrefixCls","globalConfig","getIconPrefixCls","getRootPrefixCls","replace","ProviderChildren","form","componentSize","space","virtual","dropdownMatchSelectWidth","legacyLocale","parentContext","iconPrefixCls","componentDisabled","useCallback","mergedPrefixCls","propName","propValue","memoedConfig","prevConfig","currentConfig","prevKeys","currentKeys","some","memoIconContextValue","childNode","validateMessages","Form","defaultValidateMessages","locale_default","FormProvider","config_provider_context","ConfigProvider","rtl","notification","LocaleReceiver","__","getStyle","variables","formatColor","updater","fillColor","colorVal","baseColor","dist_module","colorPalettes","primaryColors","primaryActiveColor","successColor","warningColor","errorColor","infoColor","cssList","config_provider","date_picker_locale_en_US","lang","placeholder","yearPlaceholder","quarterPlaceholder","monthPlaceholder","weekPlaceholder","rangePlaceholder","rangeYearPlaceholder","rangeQuarterPlaceholder","rangeMonthPlaceholder","rangeWeekPlaceholder","today","backToToday","clear","month","year","timeSelect","dateSelect","weekSelect","monthSelect","yearSelect","decadeSelect","yearFormat","dateFormat","dayFormat","dateTimeFormat","monthBeforeYear","previousMonth","nextMonth","previousYear","nextYear","previousDecade","nextDecade","previousCentury","nextCentury","timePickerLocale","locale_en_US","FormContext","labelAlign","vertical","itemRef","NoStyleItemContext","providerProps","rc_util_es_omit__WEBPACK_IMPORTED_MODULE_2__","rc_field_form__WEBPACK_IMPORTED_MODULE_0__","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__","FormItemPrefixContext","FormItemInputContext","NoFormStyle","override","formItemInputContext","newFormItemInputContext","newContext","isFormItemInput","feedbackIcon","asn_UpOutlined","UpOutlined_UpOutlined","icons_UpOutlined","supportBigInt","BigInt","trimNumber","numStr","str","negative","slice","trimStr","splitNumber","integerStr","decimalStr","negativeStr","fullStr","isE","number","getNumberPrecision","precision","decimalMatch","validateNumber","num2str","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","num","getDecupleSteps","step","stepStr","NumberDecimal","empty","isInvalidate","maxPrecision","isEmpty","add","negate","safe","BigIntDecimal","integer","decimal","decimalLen","nan","mergedValue","trimRet","numbers","padStart","decimalLength","getMark","getIntegerStr","getDecimalStr","padEnd","maxDecimalLength","_trimNumber","myAlignedDecimal","alignDecimal","hydrateValueStr","NaN","getMiniDecimal","separatorStr","cutOnly","_trimNumber2","precisionDecimalStr","numberWithoutDecimal","advancedNum","advancedDecimal","repeat","StepHandler","upNode","downNode","upDisabled","downDisabled","onStep","stepTimeoutRef","onStepRef","onStepMouseDown","up","loopStep","onStopStep","isMobile","handlerClassName","upClassName","downClassName","sharedHandlerProps","unselectable","onMouseUp","onMouseDown","useFrame","idRef","cleanUp","getDecimalValue","stringMode","decimalValue","getDecimalIfValidate","InputNumber","input","selectionRef","_props$prefixCls","_props$step","defaultValue","readOnly","upHandler","downHandler","keyboard","_props$controls","controls","parser","formatter","decimalSeparator","onChange","onInput","onPressEnter","inputProps","inputClassName","inputRef","setFocus","userTypingRef","compositionRef","shiftKeyRef","setDecimalValue","getPrecision","userTyping","mergedParser","parsedStr","inputValueRef","mergedFormatter","mergedPrecision","_React$useState5","initValue","_React$useState6","inputValue","setInternalInputValue","setInputValue","newValue","maxDecimal","minDecimal","lessEquals","_useCursor","start","selectionStart","end","selectionEnd","beforeTxt","substring","afterTxt","_selectionRef$current","startPos","endsWith","beforeLastChar","newIndex","setSelectionRange","_useCursor2","recordCursor","restoreCursor","getRangeValue","isInRange","triggerValueUpdate","updateValue","isRangeValidate","newDecimal","onNextPromise","collectInputValue","inputStr","finalDecimal","nextInputStr","onInternalStep","_inputRef$current","stepDecimal","updatedValue","flushInputValue","parsedValue","formatValue","o","currentParsedValue","onFocus","onBlur","onKeyDown","which","shiftKey","KeyCode","ENTER","UP","DOWN","onKeyUp","onCompositionStart","onCompositionEnd","onBeforeInput","autoComplete","input_number","focused","useImperativeHandle","addonBefore","addonAfter","prefix","_props$bordered","bordered","upIcon","downIcon","DownOutlined","form_context","aM","mergedStatus","statusUtils","F","mergeSize","inputNumberClass","affixWrapperCls","_classNames4","wrapperClassName","addonClassName","addonBeforeNode","addonAfterNode","mergedWrapperClassName","mergedGroupClassName","Ux","fixControlledValue","resolveOnChange","targetValue","currentTarget","cloneNode","create","triggerFocus","option","cursor","len","input_Input","mergedAllowClear","customSize","suffix","allowClear","mergedSize","inputHasPrefixSuffix","hasPrefixSuffix","prevHasPrefixSuffix","removePasswordTimeout","useRemovePasswordTimeout","suffixNode","clearIcon","BR","affixWrapperClassName","groupClassName","ClearableInputType","ClearableLabeledInput","handleReset","statusContext","_this$props2","renderClearIcon","_this$props3","inputType","renderTextAreaWithClearIcon","fixEmojiLength","maxLength","setTriggerValue","isCursorInEnd","preValue","triggerValue","newTriggerValue","input_TextArea","_a$bordered","_a$showCount","showCount","_React$useContext2","innerRef","clearableInputRef","compositing","setCompositing","oldCompositionValueRef","oldSelectionStartRef","_useMergedState","useMergedState","_useMergedState2","setValue","handleSetValue","hasMaxLength","resizableTextArea","Input","nH","textArea","blur","resize","rJ","D7","textareaNode","_c","valueLength","dataCount","triggerOnMount","removePasswordTimeoutRef","_d","hasAttribute","removeAttribute","timer","asn_EyeInvisibleOutlined","EyeInvisibleOutlined_EyeInvisibleOutlined","icons_EyeInvisibleOutlined","defaultIconRender","EyeOutlined","ActionMap","click","hover","Password","_props$visibilityTogg","visibilityToggle","visibilityControlled","setVisible","onVisibleChange","prevState","newState","getIcon","_iconProps","_props$action","_props$iconRender","iconRender","iconTrigger","iconProps","customizeInputPrefixCls","inputPrefixCls","suffixIcon","omittedProps","Search_rest","Search","button","_props$enterButton","enterButton","customOnSearch","onSearch","customOnChange","contextSize","composedRef","activeElement","searchIcon","SearchOutlined","btnClassName","enterButtonAsElement","isAntdButton","es_button","cls","_props$className","compact","formItemContext","groupFormItemContext","TextArea","asn_BarsOutlined","BarsOutlined_BarsOutlined","icons_BarsOutlined","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","generateId","layout_Sider","divProps","rawWidth","siderWidth","zeroWidthTrigger","defaultTrigger","triggerDom","divStyle","siderCls","trigger","_a$defaultCollapsed","defaultCollapsed","_a$theme","_a$style","_a$collapsible","collapsible","_a$reverseArrow","reverseArrow","_a$width","_a$collapsedWidth","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","siderHook","layout","Gs","collapsed","setCollapsed","_useState3","_useState4","below","setBelow","handleSetCollapsed","responsiveHandlerRef","mql","matches","responsiveHandler","matchMedia","_window","addListener","removeListener","uniqueId","addSider","removeSider","toggle","_useContext2","contextValue","siderCollapsed","_util_isNumeric","isFinite","iconObj","expanded","RightOutlined","LeftOutlined","maxWidth","minWidth","Layout","_layout__WEBPACK_IMPORTED_MODULE_0__","Header","h4","Footer","$_","Content","VY","Sider","_Sider__WEBPACK_IMPORTED_MODULE_1__","LayoutContext","generator","BasicComponent","_config_provider__WEBPACK_IMPORTED_MODULE_2__","Basic","BasicLayout","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__","siders","setSiders","hasSider","Tag","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_5__","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__","filter","currentId","locale_provider_default","locale_provider_LocaleReceiver","_props$componentName","componentName","defaultLocale","antLocale","localeFromContext","Function","localeCode","useLocaleReceiver","LocaleContext","typeTemplate","localeValues","Pagination","rc_pagination_es_locale_en_US__WEBPACK_IMPORTED_MODULE_0__","DatePicker","_date_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_1__","TimePicker","_time_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_2__","Calendar","_calendar_locale_en_US__WEBPACK_IMPORTED_MODULE_3__","global","Table","filterTitle","filterConfirm","filterReset","filterEmptyText","filterCheckall","filterSearchPlaceholder","emptyText","selectAll","selectInvert","selectNone","selectionAll","sortTitle","expand","collapse","triggerDesc","triggerAsc","cancelSort","okText","cancelText","justOkText","Popconfirm","Transfer","titles","searchPlaceholder","itemUnit","itemsUnit","remove","selectCurrent","removeCurrent","removeAll","Upload","uploading","removeFile","uploadError","previewFile","downloadFile","Empty","Text","edit","copy","copied","PageHeader","back","optional","required","whitespace","date","parse","invalid","types","string","method","array","object","regexp","email","url","range","pattern","mismatch","Image","preview","OverrideContext","OverrideProvider","mode","selectable","menu_MenuDivider","dashed","iz","MenuContext","firstLevel","inlineCollapsed","MenuItem_rest","MenuItem","renderItem","_this$context","disableMenuItemTitleTooltip","title","tooltipTitle","tooltipProps","childrenLength","toArray","returnNode","ck","l$","renderItemChildren","tooltip","overlayClassName","_this$context2","wrapNode","D","menu_SubMenu","titleNode","popupClassName","antdMenuTheme","parentPath","Xl","titleIsSpan","menu_MenuContext","Wd","useItems_rest","menu_rest","InternalMenu","mergedExpandIcon","getPopupContainer","_props$theme","expandIcon","_internalDisableMenuItemTitleTooltip","items","passedProps","mergedChildren","convertItemsToNodes","list","opt","label","mergedKey","BW","validator","onItemClick","useEvent","mergedMode","mergedSelectable","mergedInlineCollapsed","defaultMotions","horizontal","other","menuClassName","overflowedIndicator","EllipsisOutlined","overflowedIndicatorPopupClassName","Menu","options","menu","Divider","Item","SubMenu","ItemGroup","messageInstance","defaultTop","maxCount","defaultDuration","localPrefixCls","hasTransitionName","getKeyThenIncreaseKey","getRCNotificationInstance","getContextPopupContainer","_globalConfig","w6","instanceConfig","newInstance","typeToIcon","typeList","getRCNoticeProps","duration","IconComponent","messageClass","content","api","closePromise","Promise","resolve","notice","removeNotice","filled","rejected","promise","destroy","messageKey","_messageInstance","_messageInstance2","attachTypeApi","originalApi","warn","useMessage","innerInstance","_useRCNotification","useNotification","noticeProps","holderCallback","component","_useRCNotification2","hookNotify","holder","hookApiRef","getRcNotificationInstance","mousePosition","styleChecker","jD","pageX","y","pageY","modal_Modal","handleCancel","onCancel","handleOk","onOk","footer","_props$open","wrapClassName","centered","_props$focusTriggerAf","focusTriggerAfterClose","_props$width","defaultFooter","A","contextLocale","_props$okType","okType","_props$confirmLoading","confirmLoading","cancelButtonProps","okButtonProps","closeIconToRender","wrapClassNameExtended","mL","maskTransitionName","modal_ConfirmDialog","zIndex","maskStyle","bodyStyle","_props$closable","modalRender","contentPrefixCls","okCancel","mask","maskClosable","autoFocusButton","cancelButton","ActionButton","triggerCancel","modal_destroyFns","confirm_rest","defaultRootPrefixCls","confirm_confirm","container","createDocumentFragment","param","fn","splice","React_render","runtimeLocale","update","configUpdate","withWarn","withInfo","withSuccess","withError","withConfirm","useModal_HookModal","setOpen","innerConfig","setInnerConfig","newConfig","originConfig","ElementsHolder","memo","_props","elements","setElements","_usePatchElement","originElements","_usePatchElement2","patchElement","modalWarn","es_modal_Modal","useModal","holderRef","actionQueue","setActionQueue","cloneQueue","getConfirmFunc","withFunc","closeFunc","modalRef","modal","destroyAction","updateAction","confirm","destroyAll","pop","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","_locale_default__WEBPACK_IMPORTED_MODULE_1__","changeConfirmLocale","newLocale","getConfirmLocale","defaultGetContainer","defaultCloseIcon","notificationInstance","defaultBottom","defaultPrefixCls","defaultPlacement","getNotificationInstance","_args$placement","_args$getContainer","cacheKey","cacheInstance","notificationClass","getPlacementStyle","durationArg","btn","_args$closeIcon","autoMarginTag","es_useNotification","SpaceCompactItemContext","react__WEBPACK_IMPORTED_MODULE_2__","useCompactItemContext","compactItemContext","compactDirection","isFirstItem","isLastItem","separator","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__","NoCompactStyle","CompactItem","otherProps","_config_provider__WEBPACK_IMPORTED_MODULE_4__","directionConfig","_props$size","clx","rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__","nodes","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__","marginDirection","wrap","SpaceContext","horizontalSize","verticalSize","latestIndex","supportFlexGap","marginBottom","paddingBottom","spaceSize","CompoundedSpace","align","_props$direction","_props$wrap","useFlexGapSupport","_React$useMemo","item","_React$useMemo2","keepEmpty","mergedAlign","cn","itemClassName","spaceContext","gapStyle","flexWrap","columnGap","splitObject","obj","picked","omitted","PresetColorRegex","_util_colors__WEBPACK_IMPORTED_MODULE_5__","Y","Tooltip","react__WEBPACK_IMPORTED_MODULE_3__","overlay","_config_provider__WEBPACK_IMPORTED_MODULE_7__","rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_2__","defaultOpen","defaultVisible","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_8__","isNoTitle","getTooltipPlacements","builtinPlacements","_props$arrowPointAtCe","_props$autoAdjustOver","_util_placements__WEBPACK_IMPORTED_MODULE_9__","_props$placement","_props$mouseEnterDela","mouseEnterDelay","_props$mouseLeaveDela","mouseLeaveDelay","openClassName","getTooltipContainer","overlayInnerStyle","tempOpen","getDisabledCompatibleChildren","elementType","__ANT_SWITCH","__ANT_RADIO","_splitObject","spanStyle","buttonStyle","pointerEvents","_util_reactNode__WEBPACK_IMPORTED_MODULE_6__","childProps","childCls","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_10__","customOverlayClassName","formattedOverlayInnerStyle","arrowContentStyle","rc_tooltip__WEBPACK_IMPORTED_MODULE_1__","vis","onOpenChange","onPopupAlign","domNode","placements","rect","getBoundingClientRect","transformOrigin","arrowContent","_util_motion__WEBPACK_IMPORTED_MODULE_11__","__WEBPACK_AMD_DEFINE_RESULT__","hasOwn","classNames","arg","argType","inner","module","exports","default","requiredArgs","roundingMap","ceil","trunc","getRoundingMethod","differenceInMilliseconds","dateLeft","dateRight","_lib_requiredArgs_index_js__WEBPACK_IMPORTED_MODULE_0__","_toDate_index_js__WEBPACK_IMPORTED_MODULE_1__","getTime","differenceInSeconds","diff","_differenceInMilliseconds_index_js__WEBPACK_IMPORTED_MODULE_1__","_lib_roundingMethods_index_js__WEBPACK_IMPORTED_MODULE_2__","u","roundingMethod","_typeof","Symbol","iterator","toDate","argument","argStr","stack","__NEXT_P","__webpack_require__","FormStatusIndicator","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","span","jsx","TEXTFIELD_TYPE_TEXT","TEXTFIELD_TYPE_PASSWORD","TEXTFIELD_TYPE_NUMBER","TEXTFIELD_TYPE_TEXTAREA","TEXTFIELD_TYPE_URL","TextField","fieldName","tip","useTrim","handleChange","handleBlur","handlePressEnter","Field","fieldProps","autoSize","fieldId","statusType","containerClass","div","htmlFor","defaultProps","useTrimLead","onSubmit","TextFieldWithSubmit","apiPath","configPath","initialValue","textFieldProps","submitStatus","setSubmitStatus","hasChanged","setHasChanged","serverStatusData","ServerStatusContext","setFieldInConfigState","resetTimer","resetStates","changedFieldName","changedValue","handleSubmit","createInputStatus","STATUS_PROCESSING","postConfigUpdateToAPI","data","onSuccess","path","STATUS_SUCCESS","onError","STATUS_ERROR","RESET_TIMEOUT","textfieldContainerClass","submittable","OwncastLogo","variant","styles","svg","xmlns","viewBox","defs","linearGradient","y1","x2","y2","gradientTransform","stop","stopColor","stopOpacity","fillOpacity","locales","domainLocales","__esModule","assign","_interop_require_default","require","_object_without_properties_loose","_react","_router","_formatUrl","_addLocale","_routerContext","_appRouterContext","_useIntersection","_getDomainLocale","_addBasePath","prefetched","Set","prefetch","router","as","isLocalURL","bypassPrefetchedCheck","prefetchedKey","has","catch","formatStringOrUrl","urlObjOrString","formatUrl","Link","forwardedRef","hrefProp","asProp","childrenProp","prefetchProp","passHref","shallow","scroll","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","process","prefetchEnabled","pagesRouter","RouterContext","appRouter","AppRouterContext","isAppRouter","resolvedHref","resolvedAs","resolveHref","previousHref","previousAs","only","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","setRef","el","defaultPrevented","linkClicked","nodeName","isAnchorNodeName","toUpperCase","isModifiedEvent","metaKey","ctrlKey","altKey","nativeEvent","navigate","forceOptimisticNavigation","startTransition","priority","curLocale","localeDomain","isLocaleDomain","getDomainLocale","addBasePath","addLocale","rootRef","isDisabled","hasIntersectionObserver","setElement","unobserve","observe","observer","createObserver","root","margin","existing","idList","observers","get","Map","IntersectionObserver","entry","isIntersecting","intersectionRatio","set","delete","disconnect","findIndex","idleCallback","requestIdleCallback","cancelIdleCallback","_requestIdleCallback","_noSsrError","NEXT_DYNAMIC_NO_SSR_CODE","digest","dynamicOptions","loadableFn","_loadable","loadableOptions","isLoading","pastDelay","loader","_extends","loaderFn","convertModule","loadableGenerated","ssr","noSSR","_interop_require_wildcard","_dynamicNoSsr","LoadableInitializer","webpack","modules","NoSSRComponent","lazy","Loading","fallback","timedOut","Suspense","LoadableContext","_loadableContext","ALL_INITIALIZERS","READY_INITIALIZERS","initialized","load","loaded","err","LoadableSubscription","_res","retry","_clearTimeouts","_loadFn","_opts","_state","_delay","_update","timeout","_timeout","partial","_callbacks","getCurrentValue","subscribe","loadFn","Loadable","createLoadableComponent","subscription","init","sub","moduleIds","moduleId","LoadableComponent","useLoadableModule","moduleName","fallbackElement","preload","flushInitializers","initializers","promises","all","preloadAll","resolveInitializers","reject","preloadReady","resolvePreload","__NEXT_PRELOADREADY","ComposeFederatedPost","setContent","postPending","setPostPending","postSuccessState","setPostSuccessState","sendButtonClicked","fetchData","FEDERATION_MESSAGE_SEND","auth","jsx_runtime","destroyOnClose","h3","SettingOutlined","dynamic","HomeOutlined","LineChartOutlined","ToolOutlined","PlayCircleFilled","MinusSquareFilled","QuestionCircleOutlined","MessageOutlined","ExperimentOutlined","EditOutlined","MainLayout","serverConfig","online","broadcaster","versionNumber","instanceDetails","chatDisabled","federation","enabled","federationEnabled","currentStreamTitle","setCurrentStreamTitle","postModalDisplayed","setPostModalDisplayed","alertMessage","AlertMessageContext","useRouter","route","upgradeVersion","setUpgradeVersion","checkForUpgrade","upgradeVersionAvailable","log","streamTitle","handleStreamTitleChanged","handleCreatePostButtonPressed","appClass","clearAlertMessage","setMessage","headerAlertMessage","streamDurationString","parseSecondsToDurationString","time","statusIcon","statusIndicator","integrationsMenu","chatMenu","utilitiesMenu","configurationMenu","menuItems","img","alt","src","position","Head","link","rel","sizes","h1","defaultSelectedKeys","defaultOpenKeys","Space","TEXTFIELD_PROPS_STREAM_TITLE","propTypes","PropTypes","AdminLayout","pageProps","ServerStatusProvider","AlertMessageProvider","App","isAdminPage","pathname","getLayout","page","RecoilRoot","React","ADMIN_USERNAME","env","NEXT_PUBLIC_ADMIN_USERNAME","ADMIN_STREAMKEY","NEXT_PUBLIC_ADMIN_STREAMKEY","NEXT_PUBLIC_API_HOST","API_LOCATION","FETCH_INTERVAL","STATUS","SERVER_CONFIG","SERVER_CONFIG_UPDATE_URL","VIEWERS_OVER_TIME","ACTIVE_VIEWER_DETAILS","CONNECTED_CLIENTS","DISABLED_USERS","USER_ENABLED_TOGGLE","BANNED_IPS","BANNED_IP_REMOVE","USER_SET_MODERATOR","MODERATORS","HARDWARE_STATS","LOGS_ALL","LOGS_WARN","CHAT_HISTORY","UPDATE_CHAT_MESSGAE_VIZ","UPLOAD_EMOJI","DELETE_EMOJI","ACCESS_TOKENS","DELETE_ACCESS_TOKEN","CREATE_ACCESS_TOKEN","WEBHOOKS","DELETE_WEBHOOK","CREATE_WEBHOOK","SOCIAL_PLATFORMS_LIST","FOLLOWERS","FOLLOWERS_PENDING","FOLLOWERS_BLOCKED","SET_FOLLOWER_APPROVAL","FEDERATION_ACTIONS","API_STREAM_HEALTH_METRICS","UPDATE_STREAM_KEYS","API_YP_RESET","requestOptions","JSON","stringify","encoded","btoa","headers","Authorization","credentials","response","fetch","json","getUnauthedData","fetchExternalData","referrerPolicy","referrer","getGithubRelease","VPAT","currentVersion","recentRelease","recentReleaseVersion","tag_name","upToDate","local","remote","lparts","rparts","API_CUSTOM_CONTENT","API_CUSTOM_CSS_STYLES","API_INSTANCE_URL","API_NSFW_SWITCH","API_S3_INFO","API_SOCIAL_HANDLES","API_VIDEO_SEGMENTS","API_VIDEO_VARIANTS","API_YP_SWITCH","API_CHAT_FORBIDDEN_USERNAMES","API_CHAT_SUGGESTED_USERNAMES","API_EXTERNAL_ACTIONS","API_VIDEO_CODEC","API_FEDERATION_BLOCKED_DOMAINS","TEXTFIELD_PROPS_SERVER_NAME","TEXTFIELD_PROPS_SERVER_SUMMARY","TEXTFIELD_PROPS_SERVER_OFFLINE_MESSAGE","TEXTFIELD_PROPS_SERVER_WELCOME_MESSAGE","TEXTFIELD_PROPS_LOGO","TEXTFIELD_PROPS_ADMIN_PASSWORD","TEXTFIELD_PROPS_FFMPEG","TEXTFIELD_PROPS_WEB_PORT","TEXTFIELD_PROPS_RTMP_PORT","TEXTFIELD_PROPS_INSTANCE_URL","DEFAULT_TEXTFIELD_URL_PATTERN","TEXTFIELD_PROPS_SOCKET_HOST_OVERRIDE","FIELD_PROPS_TAGS","FIELD_PROPS_NSFW","FIELD_PROPS_YP","FIELD_PROPS_HIDE_VIEWER_COUNT","DEFAULT_VARIANT_STATE","framerate","videoPassthrough","videoBitrate","audioPassthrough","audioBitrate","cpuUsageLevel","scaledHeight","scaledWidth","FIELD_PROPS_DISABLE_CHAT","useSubmit","FIELD_PROPS_CHAT_JOIN_MESSAGES_ENABLED","CHAT_ESTABLISHED_USER_MODE","TEXTFIELD_PROPS_CHAT_FORBIDDEN_USERNAMES","TEXTFIELD_PROPS_CHAT_SUGGESTED_USERNAMES","min_not_reached","no_entries","FIELD_PROPS_ENABLE_FEDERATION","FIELD_PROPS_FEDERATION_IS_PRIVATE","FIELD_PROPS_SHOW_FEDERATION_ENGAGEMENT","TEXTFIELD_PROPS_FEDERATION_LIVE_MESSAGE","TEXTFIELD_PROPS_FEDERATION_DEFAULT_USER","TEXTFIELD_PROPS_FEDERATION_INSTANCE_URL","FIELD_PROPS_FEDERATION_NSFW","FIELD_PROPS_FEDERATION_BLOCKED_DOMAINS","VIDEO_VARIANT_SETTING_DEFAULTS","unit","incrementBy","FRAMERATE_DEFAULTS","FRAMERATE_SLIDER_MARKS","FRAMERATE_TOOLTIPS","VIDEO_BITRATE_DEFAULTS","VIDEO_NAME_DEFAULTS","VIDEO_BITRATE_SLIDER_MARKS","marginLeft","ENCODER_PRESET_SLIDER_MARKS","ENCODER_PRESET_TOOLTIPS","ENCODER_RECOMMENDATION_THRESHOLD","VIDEO_HEIGHT","VIDEO_BITRATE","HELP_TEXT","DEFAULT_SOCIAL_HANDLE","platform","OTHER_SOCIAL_HANDLE_OPTION","S3_TEXT_FIELDS_INFO","accessKey","acl","bucket","endpoint","region","secret","servingEndpoint","forcePathStyle","DISCORD_CONFIG_FIELDS","webhookUrl","goLiveMessage","BROWSER_PUSH_CONFIG_FIELDS","TWITTER_CONFIG_FIELDS","apiKey","apiSecret","accessToken","accessTokenSecret","bearerToken","formatIPAddress","ipAddress","ipAddressComponents","ip","isEmptyObject","padLeft","text","pad","seconds","finiteSeconds","days","daysString","hours","hoursString","minString","secsString","formatUAstring","uaString","UAParser","device","os","browser","major","browserVersion","version","osVersion","osName","model","deviceString","WarningOutlined","STATUS_INVALID","STATUS_WARNING","INPUT_STATES","initialServerConfigState","streamKeys","adminPassword","customStyles","extraPageContent","logo","nsfw","socialHandles","summary","tags","welcomeMessage","offlineMessage","appearanceVariables","ffmpegPath","rtmpServerPort","webServerPort","socketHostOverride","s3","yp","instanceUrl","videoSettings","latencyLevel","videoQualityVariants","isPrivate","username","showEngagement","blockedDomains","notifications","discord","webhook","twitter","externalActions","supportedCodecs","videoCodec","forbiddenUsernames","suggestedUsernames","chatJoinMessagesEnabled","chatEstablishedUserMode","hideViewerCount","initialServerStatusState","broadcastActive","currentBroadcast","viewerCount","sessionMaxViewerCount","sessionPeakViewerCount","overallPeakViewerCount","health","healthy","healthPercentage","representation","setStatus","setConfig","getStatus","getConfig","updatedConfig","getStatusIntervalId","setInterval","clearInterval","providerValue","isValidUrl","validProtocols","validationObject","URL","protocol","hostname","isValidAccount","account","components","service","user","host","isValidMatrixAccount","cachedSetTimeout","cachedClearTimeout","currentQueue","defaultSetTimout","defaultClearTimeout","runTimeout","fun","draining","queueIndex","cleanUpNextTick","drainQueue","run","runClearTimeout","marker","noop","nextTick","argv","versions","on","once","off","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","location","propFullName","getShim","isRequired","ReactPropTypes","bigint","bool","func","symbol","any","arrayOf","instanceOf","objectOf","oneOf","oneOfType","exact","checkPropTypes","Mask","maskProps","rc_motion_es","leavedClassName","getMotionName","getScroll","w","MemoChildren","shouldUpdate","sentinelStyle","outline","Panel","footerNode","headerNode","closer","ariaId","bodyProps","forceRender","sentinelStartRef","sentinelEndRef","_sentinelStartRef$cur","changeActive","next","_document","contentStyle","onVisibleChanged","dialogRef","setTransformOrigin","onPrepare","pos","doc","elementOffset","defaultView","parentWindow","onAppearPrepare","onEnterPrepare","motionRef","Dialog","innerId","setInnerId","useOriginId","reactNativeId","_props$visible","_props$keyboard","wrapStyle","wrapProps","animation","_props$mask","maskAnimation","_props$maskClosable","lastOutSideActiveElementRef","wrapperRef","contentRef","animatedVisible","setAnimatedVisible","fullClone","react_namespaceObject","useId","nextId","contentClickRef","contentTimeoutRef","onWrapperClick","pickAttrs","keyCode","ESC","stopPropagation","TAB","newVisible","focusDialogContent","_contentRef$current","preventScroll","DialogWrap","_props$destroyOnClose","_afterClose","rc_dialog_es","urlReg","HOOK_MARK","warningFunc","FieldContext","getFieldValue","getFieldsValue","getFieldError","getFieldWarning","getFieldsError","isFieldsTouched","isFieldTouched","isFieldValidating","isFieldsValidating","resetFields","setFields","setFieldValue","setFieldsValue","validateFields","submit","getInternalHooks","dispatch","initEntityValue","registerField","useSubscribe","setInitialValues","destroyForm","setCallbacks","registerWatch","getFields","setValidateMessages","setPreserve","getInitialValue","typeUtil_toArray","source","_getPrototypeOf","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","_construct","Parent","Class","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","valueOf","_wrapNativeSuper","_cache","Wrapper","enumerable","writable","configurable","formatRegExp","convertFieldsError","errors","fields","field","template","isEmptyValue","isNativeStringType","asyncSerialArray","arr","arrLength","original","AsyncValidationError","_Error","subClass","superClass","Error","complementError","rule","oe","fieldValue","fullFields","fullField","deepMerge","required$1","messages","getUrlRegex","word","includeBoundaries","v4","v6seg","v6","v46Exact","v4exact","v6exact","pattern$2","RegExp","getMonth","getYear","ENUM$1","rules","ruleType","custom","_pattern","validators","dateObject","newMessages","cloned","Schema","descriptor","_messages","define","_proto","validate","source_","oc","messages$1","series","z","getValidationMethod","getType","errorFields","asyncMap","objArr","first","_pending","k","firstFields","objArrKeys","objArrLength","total","pending","asyncParallelArray","doIt","deep","defaultField","addFullField","schema","cb","errorList","suppressWarning","filledErrors","fieldsSchema","paredFieldsSchema","fieldSchema","fieldSchemaList","errs","finalErrors","asyncValidator","suppressValidatorError","complete","_errors","messageIndex","register","enum","boolean","float","entity","cloneDeep","cloneObjectDeep","getNamePath","store","namePath","removeIfUndefined","paths","internalSet","_paths","esm_toArray","restPath","cloneByNamePathList","namePathList","newStore","containsNamePath","matchNamePath","isObject","setValues","restValues","internalSetValues","values","prevValue","recursive","utils_cloneDeep","changedNamePath","every","nameUnit","defaultGetValueFromEvent","valuePropName","valueUtil_move","moveIndex","toIndex","CODE_LOGIC_ERROR","validateRule","_x","_x2","_x3","_x4","_x5","_validateRule","asyncToGenerator","regeneratorRuntime","mark","_callee2","messageVariables","cloneRule","originValidator","subRuleField","subResults","kv","fillVariableResult","_context2","ruleIndex","t0","_ref4","mergedMessage","subValue","sent","abrupt","replaceMessage","_finishOnAllFailed","_callee3","rulePromises","_context3","errorsList","_ref5","_finishOnFirstFailed","_callee4","_context4","ruleError","EMPTY_ERRORS","requireUpdate","nextValue","resetCount","cancelRegisterFunc","mounted","touched","dirty","validatePromise","prevValidating","warnings","cancelRegister","preserve","isListField","_fieldContext$prefixN","fieldContext","prefixName","getRules","_this$props3$rules","refresh","triggerMetaEvent","onMetaChange","getMeta","onStoreChange","prevStore","_this$props4","_this$props4$dependen","dependencies","onReset","curValue","namePathMatch","reRender","validating","dependencyList","dependency","relatedFields","validateRules","currentValue","rootPromise","_this$props5","_this$props5$validate","validateFirst","triggerName","filteredRules","validateTrigger","triggerList","summaryPromise","filledRules","currentRule","originValidatorFunc","hasPromise","sort","w1","warningOnly","i1","w2","i2","_callee","_context","_x6","_x7","finishOnFirstFailed","_x9","finishOnAllFailed","_x8","ruleErrors","_ruleErrors$forEach","nextErrors","nextWarnings","_ref3$errors","isFieldDirty","_fieldContext$getInte","getErrors","getWarnings","isList","isPreserve","getOnlyChild","meta","getControlled","isFunction","_this$props6","getValueFromEvent","normalize","getValueProps","mergedValidateTrigger","_getInternalHooks","originTriggerFunc","control","mergedGetValueProps","validateTriggerList","originTrigger","_getInternalHooks2","_this$props7","_getInternalHooks3","forceUpdate","returnChildNode","_this$getOnlyChild","es_Field","es_ListContext","es_List","keyManager","keyRef","parentPrefixName","listContext","getKey","pathName","_ref3$value","getNewValue","listValue","indexSet","keysIndex","valueIndex","move","to","SPLIT","cell","NameMap","kvs","cells","_cell$match","_cell$match2","useForm_excluded","FormStore","forceRootUpdate","formHooked","subscribable","fieldEntities","initialValues","callbacks","lastValidatePromise","getForm","_init","prevWithoutPreserves","_this$prevWithoutPres","nextStore","updateStore","getFieldEntities","isMergedPreserve","watchList","notifyWatch","warningUnhooked","pure","getFieldsMap","cache","getFieldEntitiesForNamePathList","nameList","INVALIDATE_NAME_PATH","filterFunc","filteredNameList","_entity$isListField","fieldError","arg0","arg1","isAllFieldsTouched","shortNamePath","fieldNamePath","isNamePathListTouched","entities","namePathListEntities","testField","resetWithFieldInitialValue","requiredFieldEntities","records","_requiredFieldEntitie","resetWithFields","formInitialValue","originValue","skipExist","notifyObservers","fieldData","fieldPreserve","mergedPreserve","subNamePath","_prevStore","triggerDependenciesUpdate","_namePath","mergedInfo","childrenFields","getDependencyChildrenFields","onValuesChange","triggerOnFieldsChange","rootNamePath","dependencies2fields","dependencyNamePath","fillChildren","filedErrors","onFieldsChange","hasError","provideNameList","promiseList","mergedErrors","mergedWarnings","_ref6","resultNamePathList","_ref7","returnPromise","outOfDate","onFinish","onFinishFailed","es_useForm","formRef","formStore","triggerFormChange","triggerFormFinish","registerForm","unregisterForm","onFormChange","onFormFinish","formContext","formsRef","changedFields","forms","newForms","Form_excluded","es_useWatch","_args$","valueStr","valueStrRef","formInstance","isValidForm","namePathRef","nextValueStr","RefForm","childrenNode","_ref$component","_ref$validateTrigger","_onFieldsChange","_onFinish","_useForm","_useForm2","_formInstance$getInte","mountRef","childrenRenderProps","prevFieldsRef","isSimilar","sourceKeys","targetKeys","sourceValue","formContextValue","wrapperNode","_restProps$onReset","List","useForm","useWatch","hasAddon","es_BaseInput","inputElement","affixWrapperPrefixCls","getClearIcon","clearIconCls","_containerRef$current","wrapperCls","addonCls","htmlSize","setFocused","_inputRef$current2","select","_inputRef$current3","getSuffix","InheritableContextProvider","locked","inheritableContext","shallowequal_default","useActive","eventKey","activeKey","onActive","onInactive","active","domEvent","warnUtil_excluded","warnItemProp","restInfo","useDirectionStyle","level","inlineIndent","paddingRight","paddingLeft","PathRegisterContext","useMeasure","PathTrackerContext","useFullPath","parentKeyPath","PathUserContext","IdContext","getMenuId","useMenuId","PrivateContext","MenuItem_excluded","_excluded2","_excluded3","LegacyMenuItem","attribute","elementRef","InternalMenuItem","warnKey","itemIcon","domDataId","contextDisabled","overflowDisabled","contextItemIcon","selectedKeys","_internalRenderMenuItem","itemCls","legacyMenuItemRef","connectedKeys","getEventInfo","keyPath","reverse","_useActive","activeProps","selected","directionStyle","optionRoleProps","renderNode","isSelected","es_MenuItem","measure","connectedKeyPath","registerPath","unregisterPath","nodeUtil_excluded","parseChildren","_eventKey","_child$props","cloneProps","useMemoCallback","funRef","_funRef$current","SubMenuList_excluded","SubMenuList","placementsRtl","getMotion","popupPlacementMap","PopupTrigger","popup","popupOffset","subMenuOpenDelay","subMenuCloseDelay","triggerSubMenuAction","forceSubMenuRender","innerVisible","setInnerVisible","popupPlacement","targetMotion","mergedMotion","visibleRef","rc_trigger_es","stretch","popupVisible","popupAlign","onPopupVisibleChange","popupMotion","InlineSubMenuList","fixedMode","sameModeRef","setDestroy","mergedOpen","originOnVisibleChanged","SubMenu_excluded","SubMenu_excluded2","InternalSubMenu","internalPopupClose","onTitleClick","onTitleMouseEnter","onTitleMouseLeave","openKeys","contextExpandIcon","_internalRenderSubMenuItem","isSubPathKey","_React$useContext3","connectedPath","subMenuPrefixCls","popupRef","originOpen","childrenSelected","childrenActive","setChildrenActive","triggerChildrenActive","newActive","mergedActive","onMergedItemClick","popupId","isOpen","isSubMenu","triggerModeRef","triggerMode","listNode","LEFT","RIGHT","HOME","END","ArrowKeys","getFocusableElements","Dom_focus","tS","getNextFocusElement","parentQueryContainer","focusMenuElement","sameLevelFocusableMenuElementList","focusIndex","uniquePrefix","internalId","PATH_SPLIT","getPathStr","OVERFLOW_KEY","Menu_excluded","setUUID","internalForceUpdate","key2pathRef","path2keyRef","overflowKeys","setOverflowKeys","updateRef","destroyRef","refreshOverflowKeys","getKeyPath","getSubPathKeys","triggerAccessibilityOpen","rafRef","activeRef","cleanRaf","_childList$","_ref$prefixCls","_ref$tabIndex","_ref$mode","disabledOverflow","_ref$subMenuOpenDelay","_ref$subMenuCloseDela","defaultActiveFirst","_ref$selectable","_ref$multiple","multiple","onSelect","onDeselect","_ref$inlineIndent","_ref$triggerSubMenuAc","_ref$overflowedIndica","openAnimation","openTransitionName","MenuItemGroup","setMounted","newId","isRtl","lastVisibleIndex","setLastVisibleIndex","allVisible","postState","mergedOpenKeys","setMergedOpenKeys","triggerOpenKeys","inlineCacheOpenKeys","setInlineCacheOpenKeys","isInlineMode","_useKeyRecords","includeOverflow","keyPathStr","unshift","pathKeys","pathKey","pathKeyList","getKeys","registerPathContext","pathUserContext","_useMergedState3","_useMergedState4","mergedActiveKey","setMergedActiveKey","_childList$find","_containerRef$current2","_containerRef$current3","shouldFocusKey","_useMergedState5","_useMergedState6","mergedSelectKeys","setMergedSelectKeys","triggerSelection","newSelectKeys","targetKey","selectInfo","onInternalClick","onInternalOpenChange","newOpenKeys","subPathKeys","getInternalPopupContainer","onInternalKeyDown","nextOpen","refreshElements","key2element","element2key","getFocusElement","focusMenuKey","offsetObj","getOffset","isRootLevel","_inline","_horizontal","_vertical","_offsets","parent","inlineTrigger","offsets","inlineSub","horizontalSub","verticalSub","sibling","tryFocus","menuElement","focusTargetElement","triggerActiveKey","focusableElements","findContainerUL","controlId","getElementById","parentKey","parentMenuElement","originOnKeyDown","privateContext","wrappedChildList","itemComponent","renderRawItem","renderRawRest","omitItems","originOmitItems","INVALIDATE","RESPONSIVE","newLastIndex","context_PrivateContext","MenuItemGroup_excluded","MenuItemGroup_excluded2","InternalMenuItemGroup","groupPrefixCls","ExportMenu","rc_menu_es","domSupport","win","prefixes","makePrefixMap","styleProp","eventName","vendorPrefixes","animationend","transitionend","transition","_document$createEleme","prefixedEventNames","getVendorPrefixedEventName","prefixMap","stylePropList","internalAnimationEndName","internalTransitionEndName","supportTransition","animationEndName","transitionEndName","transitionType","STATUS_NONE","STATUS_APPEAR","STATUS_ENTER","STATUS_LEAVE","STEP_NONE","STEP_PREPARE","STEP_START","STEP_ACTIVE","useNextFrame","nextFrameRef","cancelNextFrame","nextFrame","nextFrameId","isCanceled","useIsomorphicLayoutEffect","STEP_QUEUE","isActive","useStepQueue","setStep","_useNextFrame","_useNextFrame2","hooks_useIsomorphicLayoutEffect","nextStep","doNext","useDomMotionEvents","cacheElementRef","callbackRef","onInternalMotionEnd","removeMotionEvents","DomWrapper","es_CSSMotion","genCSSMotion","transitionSupport","isSupportTransition","CSSMotion","motionChildren","statusSuffix","_props$removeOnLeave","eventProps","supportMotion","nodeRef","wrapperNodeRef","_useStatus","useStatus","getElement","_ref$motionEnter","_ref$motionAppear","_ref$motionLeave","motionLeave","motionLeaveImmediately","onLeavePrepare","asyncVisible","setAsyncVisible","_useState5","_useState6","setStyle","mountedRef","deadlineRef","canEnd","currentActive","_useDomMotionEvents","patchMotionEvents","_useDomMotionEvents2","eventHandlers","_useStepQueue","newStep","_eventHandlers$step","_useStepQueue2","startStep","nextStatus","isMounted","firstMountChangeRef","mergedStyle","HTMLElement","findDOMNode","_useStatus2","statusStep","statusStyle","mergedVisible","renderedRef","setNodeRef","mH","mergedProps","_motionChildren","STATUS_KEEP","STATUS_REMOVE","STATUS_REMOVED","wrapKeyToObject","keyObj","parseKeys","MOTION_PROP_NAMES","CSSMotionList","genCSSMotionList","keyEntities","removeKey","nextKeyEntities","_onVisibleChanged","onAllRemoved","motionProps","prop","changedVisible","restKeysCount","mixedKeyEntities","currentIndex","currentLen","prevKeyObjects","currentKeyObjects","hit","currentKeyObj","duplicatedKeys","matchKey","prevEntity","Notice","_Component","_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__","_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__","closeTimer","clearCloseTimer","noticeKey","startCloseTimer","_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__","prevProps","updateMark","restartCloseTimer","componentClass","dataOrAriaAttributeProps","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_7__","classnames__WEBPACK_IMPORTED_MODULE_2___default","_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__","react_dom__WEBPACK_IMPORTED_MODULE_1__","seed","getUuid","Notification","notices","hookRefs","originNotice","_originNotice$key","previousState","noticeIndex","updatedNotices","userPassKey","shift","_ref2$notice","noticePropsMap","noticeKeys","_notice$onClose","V","_this2$noticePropsMap","properties","called","parentNode","rc_notification_es","createdRef","firstMount","noticeEle","_Notice__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__","cloneList","UNDEFINED","overflowStyle","invalidate","responsive","responsiveDisabled","registerSize","itemKey","order","_props$component","mergedHidden","overflowY","overflowProps","itemNode","onResize","RawItem_excluded","RawItem","OverflowContext","_restProps","contextClassName","restContext","Overflow_excluded","defaultRenderRest","omittedItems","ForwardOverflow","statesRef","walkingIndex","beforeFrameId","restNode","_props$data","_props$itemWidth","itemWidth","renderRest","createUseState","myIndex","fullySSR","_createUseState","_createUseState2","containerWidth","setContainerWidth","mergedContainerWidth","_createUseState3","_createUseState4","itemWidths","setItemWidths","_createUseState5","_createUseState6","prevRestWidth","setPrevRestWidth","_createUseState7","_createUseState8","restWidth","setRestWidth","_createUseState9","_createUseState10","suffixWidth","setSuffixWidth","suffixFixedStart","setSuffixFixedStart","displayCount","setDisplayCount","mergedDisplayCount","restReady","setRestReady","itemPrefixCls","mergedRestWidth","isResponsive","shouldResponsive","showRest","mergedData","mergedRenderItem","updateDisplayCount","suffixFixedStartVal","notReady","getItemWidth","totalWidth","currentItemWidth","displayRest","suffixStyle","itemSharedProps","internalRenderItemNode","restContextProps","mergedRenderRest","overflowNode","clientWidth","rc_overflow_es","items_per_page","jump_to","jump_to_confirm","prev_page","next_page","prev_5","next_5","prev_3","next_3","page_size","elementListeners","resizeObserver","ResizeObserver_es","_elementListeners$get","listener","CollectionContext","SingleObserver","onCollectionResize","isRenderProps","sizeRef","canRef","originRef","propsRef","onInternalResize","_propsRef$current","_target$getBoundingCl","fixedWidth","fixedHeight","sizeInfo","currentElement","ResizeObserver","Collection","onBatchResize","resizeIdRef","resizeInfosRef","hiddenTextarea","SIZING_STYLE","computedStyleCache","es_ResizableTextArea","onInternalAutoSize","setMergedValue","textareaRef","minRows","maxRows","needAutoSize","fixFirefoxAutoScroll","_textareaRef$current","scrollTop","resizeState","setResizeState","autoSizeStyle","setAutoSizeStyle","startResize","textareaStyles","calculateAutoSizeStyle","uiTextNode","useCache","_calculateNodeStyling","calculateNodeStyling","boxSizing","paddingSize","borderSize","nodeInfo","sizingStyle","minHeight","singleRowHeight","resizeRafRef","overflowX","rc_textarea_es","saveTextArea","handleKeyDown","nextProps","Popup","showArrow","rc_tooltip_es","_props$trigger","overlayStyle","afterVisibleChange","_props$align","_props$destroyTooltip","destroyTooltipOnHide","domRef","extraProps","destroyTooltip","keepParent","afterPopupVisibleChange","popupTransitionName","popupAnimation","defaultPopupVisible","destroyPopupOnHide","popupStyle","Trigger","vendorPrefix","getComputedStyleX","Portal","didUpdate","parentRef","initRef","maskMotion","ownKeys","enumerableOnly","symbols","sym","getOwnPropertyDescriptor","_objectSpread2","getOwnPropertyDescriptors","defineProperties","jsCssMap","Webkit","Moz","ms","O","getVendorPrefix","getTransformName","setTransitionProperty","transitionProperty","setTransform","matrix2d","matrix3d","RE_NUM","forceRelayout","elem","originalStyle","css","box","docElem","clientLeft","clientTop","isWindow","getDocument","_RE_NUM_NO_PX","RE_POS","CURRENT_STYLE","RUNTIME_STYLE","getOffsetDirection","useCssRight","useCssBottom","oppositeOffsetDirection","setLeftTop","presetH","presetV","horizontalProperty","verticalProperty","oppositeHorizontalProperty","oppositeVerticalProperty","originalTransition","originalOffset","getTransitionProperty","old","preset","_dir","_off","each","isBorderBoxFn","cs","computedStyle","rsLeft","pixelLeft","BOX_MODELS","getPBMWidth","j","domUtils","getParent","getWH","ex","extra","viewportWidth","viewportHeight","docWidth","docHeight","borderBoxValue","isBorderBox","cssBoxValue","borderBoxValueOrIsBorderBox","refWin","documentElementProp","compatMode","cssShow","visibility","getWHIgnoreDisplay","swap","includeMargin","utils","getWindow","setOffset","originalXY","resultXY","oriOffset","oLeft","oTop","tLeft","tTop","useCssTransform","getTransformXY","matrix","setTransformXY","xy","match2d","match3d","getWindowScrollLeft","getWindowScrollTop","merge","getOffsetParent","positionStyle","getParent$1","getVisibleRectForElement","alwaysByViewport","visibleRect","Infinity","navigator","userAgent","originalPosition","scrollX","scrollY","documentWidth","documentHeight","isAncestorFixed","maxVisibleWidth","maxVisibleHeight","getRegion","outerWidth","outerHeight","getAlignOffset","H","getElFuturePos","elRegion","refNodeRegion","p1","p2","isFailX","elFuturePos","isFailY","flip","reg","m","flipOffset","convertOffset","offsetLen","normalizeOffset","doAlign","tgtRegion","isTgtRegionVisible","newOverflowCfg","fail","newElRegion","newPoints","newOffset","newTargetOffset","_newPoints","_newOffset","_newTargetOffset","isStillFailX","isStillFailY","_newPoints2","resizeWidth","resizeHeight","alignElement","refNode","targetRegion","isTargetNotOutOfVisible","__getOffsetParent","__getVisibleRectForElement","es_isEqual","obj1","obj2","refSet","deepEqual","circular","newLevel","useBuffer","buffer","calledRef","timeoutRef","cancelTrigger","force","monitorResize","prevWidth","prevHeight","getPoint","point","RcAlign","onAlign","monitorWindowResize","_ref$monitorBufferTim","monitorBufferTime","cacheRef","forceAlignPropsRef","_useBuffer","_forceAlignPropsRef$c","latestDisabled","latestTarget","latestAlign","latestOnAlign","_result","_element","_point","tgtPoint","clientX","clientY","_useBuffer2","_forceAlign","cancelForceAlign","setPoint","cancelFn","forceAlign","StatusQueue","useVisibleStatus","doMeasure","setInternalStatus","cancelRaf","useStretchStyle","targetSize","setTargetSize","sizeStyle","tgtWidth","tgtHeight","_element$getBoundingC","PopupInner","getRootDomNode","getClassNameFromAlign","alignRef","alignedClassName","setAlignedClassName","_useStretchStyle","_useStretchStyle2","stretchStyle","measureStretchStyle","_useVisibleStatus","_useVisibleStatus2","goNextStatus","alignTimes","setAlignTimes","prepareResolveRef","_alignRef$current","onInternalAlign","popupDomNode","matchAlign","nextAlignedClassName","_prepareResolveRef$cu","onShowPrepare","originHandler","alignDisabled","mergedClassName","onMouseDownCapture","onTouchStartCapture","MobilePopupInner","_props$mobile","mobile","_props$mobile$popupMo","popupRender","serInnerVisible","inMobile","setInMobile","popupNode","TriggerContext","ALL_HANDLERS","_popupVisible","fireEvents","delaySetPopupVisible","clearDelayTimer","_this$popupRef$curren","relatedTarget","isFocusToShow","focusTime","focusDelay","preClickTime","preTouchTime","isBlurToHide","blurDelay","setPopupVisible","isContextMenuToShow","preTime","isClickToShow","isClickToHide","nextVisible","hasPopupMouseDown","mouseDownTimeout","onPopupMouseDown","getPopupDomNode","isContextMenuOnly","getTriggerDOMNode","triggerRef","alignPoint","getPopupClassNameFromAlign","getAlignPopupClassName","isAlignPoint","a1","a2","onPopupClick","getPopupAlign","mouseProps","isMouseEnterToShow","onPopupMouseEnter","isMouseLeaveToHide","onPopupMouseLeave","popupContainer","attachId","mountNode","attachParent","portalContainer","prevPopupVisible","componentDidUpdate","currentDocument","clickOutsideHandler","onDocumentClick","touchOutsideHandler","contextMenuOutsideHandler1","onContextMenuClose","contextMenuOutsideHandler2","clearOutsideHandler","_this$popupRef$curren2","baseAlign","delayS","childPros","showAction","hideAction","_this$props8","_this$props9","_this$props10","_this$popupRef$curren3","childCallback","portal","_this$props11","newChildProps","onContextMenu","createTwoChains","onMouseMove","childrenClassName","handlePortalUpdate","getComponent","triggerContextValue","react_is__WEBPACK_IMPORTED_MODULE_1__","addEventListenerWrap","eventType","react_dom__WEBPACK_IMPORTED_MODULE_0__","unstable_batchedUpdates","APPEND_ORDER","containerCache","head","findStyles","injectCSS","_canUseDom__WEBPACK_IMPORTED_MODULE_0__","styleNode","nonce","firstChild","existStyle","insertBefore","nextSibling","findExistNode","removeCSS","existNode","updateCSS","_option$csp","_option$csp2","_option$csp3","syncRealContainer","cachedRealContainer","_contains__WEBPACK_IMPORTED_MODULE_1__","placeholderStyle","newNode","focusable","includePositive","_isVisible__WEBPACK_IMPORTED_MODULE_0__","isFocusableElement","isContentEditable","tabIndexAttr","tabIndexNum","getFocusNodeList","_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__","querySelectorAll","SVGGraphicsElement","getBBox","_element$getBBox","_width","_height","MAC_ENTER","BACKSPACE","NUM_CENTER","SHIFT","CTRL","ALT","PAUSE","CAPS_LOCK","PAGE_UP","PAGE_DOWN","PRINT_SCREEN","INSERT","DELETE","ZERO","ONE","TWO","THREE","FOUR","FIVE","SIX","SEVEN","EIGHT","NINE","QUESTION_MARK","B","E","G","I","J","K","L","M","N","P","Q","S","T","U","W","X","META","WIN_KEY_RIGHT","CONTEXT_MENU","NUM_ZERO","NUM_ONE","NUM_TWO","NUM_THREE","NUM_FOUR","NUM_FIVE","NUM_SIX","NUM_SEVEN","NUM_EIGHT","NUM_NINE","NUM_MULTIPLY","NUM_PLUS","NUM_MINUS","NUM_PERIOD","NUM_DIVISION","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NUMLOCK","SEMICOLON","DASH","EQUALS","COMMA","PERIOD","SLASH","APOSTROPHE","SINGLE_QUOTE","OPEN_SQUARE_BRACKET","BACKSLASH","CLOSE_SQUARE_BRACKET","WIN_KEY","MAC_FF_META","WIN_IME","isTextModifyingKeyEvent","isCharacterKey","createRoot","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__","react_dom__WEBPACK_IMPORTED_MODULE_0___namespace_cache","reactRender","unmountComponentAtNode","toggleWarning","skip","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__","usingClientEntryPoint","MARK","_modernUnmount","_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__","_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_4__","_container$MARK","unmount","_unmount","modernUnmount","cached","fresh","outer","outerStyle","widthContained","widthScroll","ensureSize","getTargetScrollBarSize","_getComputedStyle","fnRef","_fnRef$current","_Dom_canUseDom__WEBPACK_IMPORTED_MODULE_1__","useLayoutUpdateEffect","deps","firstMountRef","condition","hasValue","defaultStateValue","_useState__WEBPACK_IMPORTED_MODULE_2__","_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__","innerValue","setInnerValue","postMergedValue","onChangeFn","_useEvent__WEBPACK_IMPORTED_MODULE_0__","setPrevValue","_useLayoutEffect__WEBPACK_IMPORTED_MODULE_1__","ignoreDestroy","useSafeState","agent","vendor","opera","_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__","propList","mergedConfig","ariaOnly","aria","attr","caf","requestAnimationFrame","handle","cancelAnimationFrame","rafUUID","rafIds","times","callRef","leftTimes","realId","fillRef","composeRef","refs","refList","useComposeRef","_hooks_useMemo__WEBPACK_IMPORTED_MODULE_1__","supportRef","nodeOrComponent","_type$prototype","_nodeOrComponent$prot","react_is__WEBPACK_IMPORTED_MODULE_0__","isMemo","warned","note","noteOnce","for","$$typeof","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","ForwardRef","Lazy","Memo","Profiler","StrictMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","executionID","_createMutableSource","_useMutableSource","_useSyncExternalStore","Recoil_err","Recoil_isPromise","Recoil_nullthrows","_defineProperty","BaseLoadable","toPromise","valueMaybe","valueOrThrow","promiseMaybe","promiseOrThrow","errorMaybe","errorOrThrow","is","contents","_map","ValueLoadable","loadableWithPromise","isLoadable","loadableWithValue","loadableWithError","ErrorLoadable","LoadingLoadable","nextLoadable","freeze","loadableLoading","loadableAll","inputs","unwrapedInputs","getOwnPropertyNames","normalizedInputs","output","outputs","out","idx","Recoil_Loadable","RecoilLoadable","of","Recoil_Loadable$1","gks","Recoil_gkx_OSS","gk","_gks$get","setPass","setFail","Recoil_recoverableViolation","_projectName","createMutableSource","unstable_createMutableSource","useMutableSource","unstable_useMutableSource","useSyncExternalStore","unstable_useSyncExternalStore","ReactRendererVersionMismatchWarnOnce","Recoil_ReactMode","currentRendererSupportsUseSyncExternalStore","_ReactCurrentDispatch","ReactCurrentDispatcher","ReactCurrentOwner","dispatcher","currentDispatcher","isUseSyncExternalStoreSupported","reactMode","early","concurrent","Recoil_gkx","$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE","isFastRefreshEnabled","RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED","applyProcessEnvFlagOverrides","_process$env$RECOIL_D","_process$env$RECOIL_D2","sanitizedValue","allowedValues","AbstractRecoilValue","newKey","toJSON","RecoilState","RecoilValueReadOnly","Recoil_RecoilValue","isRecoilValue","Recoil_RecoilValue$1","Recoil_expectationViolation","Recoil_mapIterable","iterable","isFastRefreshEnabled$1","DefaultValue","DEFAULT_VALUE","recoilValues","NodeMissingError","configDeletionHandlers","getConfigDeletionHandler","Recoil_Node","registerNode","Recoil_RecoilEnv","checkForDuplicateAtomKey","recoilValue","getNode","getNodeMaybe","deleteNodeConfigIfPossible","_node$shouldDeleteCon","_getConfigDeletionHan","shouldDeleteConfigOnRelease","setConfigDeletionHandler","recoilValuesForKeys","Recoil_Queue","enqueueExecution","hamt_1","hamt","nothing","constant","hash","charCodeAt","hashFragment","BUCKET_SIZE","toBitmap","fromBitmap","bitmap","bit","arrayUpdate","mutate","at","arraySpliceOut","newLen","arraySpliceIn","__hamt_isEmpty","isEmptyNode","Leaf","_modify","Leaf__modify","Collision","Collision__modify","IndexedNode","IndexedNode__modify","ArrayNode","ArrayNode__modify","frag","subNodes","pack","removed","mergeLeaves","n1","h2","n2","subH1","subH2","updateCollisionList","keyEq","_newValue","canEditNode","_v","indx","exists","canEdit","newChildren","newChild","editable","_editable","_edit","_config","_root","_size","setTree","newRoot","newSize","tryGetHash","tryGet","getHash","hasHash","defKeyCompare","make","modifyHash","modify","setHash","del","removeHash","deleteHash","beginMutation","endMutation","transient","appk","lazyVisitChildren","lazyVisit","DONE","done","MapIterator","v0","visit","buildPairs","buildKeys","buildValues","fold","toVisit","BuiltInMap","persistentMap","toMap","HashArrayMappedTrieMap","_hamt","Recoil_PersistentMap$1","Recoil_PersistentMap","Recoil_differenceSets","setsWithValuesToRemove","FIRST","otherSet","Recoil_mapMap","mergeDepsIntoGraph","newDeps","graph","olderGraph","nodeDeps","nodeToNodeSubscriptions","oldDeps","addedDeps","dep","removedDeps","Recoil_Graph","cloneGraph","saveDepsToStore","_storeState$nextTree","_storeState$previousT","_storeState$previousT2","_storeState$previousT3","_storeState$nextTree2","storeState","getState","currentTree","nextTree","previousTree","getGraph","currentGraph","nextVersion","nextGraph","nextTreeStateVersion","getNextTreeStateVersion","nextStoreID","getNextStoreID","nextComponentID","getNextComponentID","Recoil_Keys","persistentMap$1","getNextTreeStateVersion$1","makeEmptyTreeState","stateID","transactionMetadata","dirtyAtoms","atomValues","nonvalidatedAtoms","Recoil_State","makeEmptyStoreState","commitDepth","knownAtoms","knownSelectors","transactionSubscriptions","nodeTransactionSubscriptions","nodeToComponentSubscriptions","queuedComponentCallbacks_DEPRECATED","suspendedComponentResolvers","graphsByVersion","retention","referenceCounts","nodesRetainedByZone","retainablesToCheckForRelease","nodeCleanupFunctions","RetentionZone","Recoil_RetentionZone","retentionZone","Recoil_CopyOnWrite","setByAddingToSet","setByDeletingFromSet","mapBySettingInMap","mapByUpdatingInMap","mapByDeletingFromMap","mapByDeletingMultipleFromMap","ks","Recoil_filterIterable","predicate","Recoil_lazyProxy","base","factories","proxy","getNode$1","getNodeMaybe$1","recoilValuesForKeys$1","RetentionZone$1","setByAddingToSet$1","emptySet","ReadOnlyRecoilValueError","initializeNodeIfNewToStore","treeState","retentionCleanup","initializeRetentionForNode","nodeKey","retainedBy","addToZone","zone","deleteFromZone","nodeCleanup","peekNodeLoadable","peek","getDownstreamNodes","visitedNodes","visitingNodes","_graph$nodeToNodeSubs","subscribedNodes","downstreamNode","Recoil_FunctionalCore","getNodeLoadable","setNodeValue","initializeNode","cleanUpNode","_state$nodeCleanupFun","setUnvalidatedAtomValue_DEPRECATED","_node$invalidate","peekNodeInfo","loadable","isSet","isModified","_graph$nodeDeps$get","subscribers","_storeState$nodeToCom","_storeState$nodeToCom2","_invalidateMemoizedSnapshot","Recoil_SnapshotCache","setInvalidateMemoizedSnapshot","invalidateMemoizedSnapshot","_invalidateMemoizedSn","getDownstreamNodes$1","getNodeLoadable$1","setNodeValue$1","getNextComponentID$1","getNode$2","getNodeMaybe$2","DefaultValue$1","reactMode$1","AbstractRecoilValue$1","RecoilState$1","RecoilValueReadOnly$1","isRecoilValue$1","invalidateMemoizedSnapshot$1","writeLoadableToTreeState","applyActionsToStore","actions","replaceState","copyTreeState","applyAction","valueOrUpdater","valueFromValueOrUpdater","msg","writes","unvalidatedValue","invalidateDownstreams","queueOrPerformStateUpdate","batchStack","actionsByStore","downstreams","_getNodeMaybe","_getNodeMaybe$invalid","setRecoilValue","Recoil_RecoilValueInterface","getRecoilValueAsLoadable","setRecoilValueLoadable","markRecoilValueModified","setUnvalidatedRecoilValue","subscribeToRecoilValue","componentDebugName","subID","release","releaseStoreState","subs","applyAtomValueWrites","batchStart","popped","refreshRecoilValue","_node$clearCache","clearCache","Recoil_someSet","cleanUpNode$1","deleteNodeConfigIfPossible$1","getNode$3","RetentionZone$2","emptySet$1","releaseRetainablesNowOnCurrentTree","retainables","_storeState$retention3","releasableNodes","findReleasableNodes","searchFromNodes","nonReleasableNodes","findReleasableNodesInner","_storeState$retention","releasableNodesFoundThisIteration","getDownstreamNodesInTopologicalOrder","doNotDescendInto1","doNotDescendInto2","answer","visited","zonesThatCouldRetainNode","nodeChildren","parents","releaseNode","_storeState$retention2","zones","updateRetainCountToZero","retainable","scheduleOrPerformPossibleReleaseOfRetainable","Recoil_Retention","SUSPENSE_TIMEOUT_MS","updateRetainCount","delta","_map$get","newCount","releaseScheduledRetainablesNow","retainedByOptionWithDefault","unstable_batchedUpdates$1","batchStart$1","unstable_batchedUpdates$2","batcher","setBatcher","newBatcher","batchUpdates","batchEnd","Recoil_Batching","getBatcher","Recoil_concatIterables","iters","iter","isSSR","Window","isReactNative","product","Recoil_Environment","batchUpdates$1","initializeNode$1","peekNodeInfo$1","graph$1","getNextStoreID$1","DEFAULT_VALUE$1","recoilValues$1","recoilValuesForKeys$2","AbstractRecoilValue$2","getRecoilValueAsLoadable$1","setRecoilValue$1","setUnvalidatedRecoilValue$1","updateRetainCount$1","setInvalidateMemoizedSnapshot$1","getNextTreeStateVersion$2","makeEmptyStoreState$1","isSSR$1","memoizeOneWithArgsHashAndInvalidation","memoizeOneWithArgsHashAndInvalidation$1","memoizeWithArgsHash","hashFunction","memoizedFn","memoizeOneWithArgsHash","lastKey","lastResult","Snapshot","parentStoreID","checkRefCount_INTERNAL","_store","getLoadable","isInitialized","mapper","mutableSnapshot","MutableSnapshot","retain","autoRelease_INTERNAL","storeID","replacer","graphs","newGraph","subscribeToTransactions","addTransactionMetadata","_refCount","released","_release","isRetained","getStore_INTERNAL","getID","getStoreID","cloneStoreState","bumpVersion","memoizedCloneSnapshot","invalidateMemoizedSnapshot$2","_store$getState$nextT","_store$getState$previ","snapshot","batch","recoilState","newValueOrUpdater","_batch","Recoil_Snapshot","freshSnapshot","initializeState","cloneSnapshot","Recoil_Snapshot$1","Recoil_unionSets","sets","Recoil_useRefInitOnce","getNextTreeStateVersion$3","makeEmptyStoreState$2","cleanUpNode$2","getDownstreamNodes$2","initializeNode$2","setNodeValue$2","setUnvalidatedAtomValue_DEPRECATED$1","graph$2","cloneGraph$1","getNextStoreID$2","createMutableSource$1","reactMode$2","applyAtomValueWrites$1","releaseScheduledRetainablesNow$1","freshSnapshot$1","useRef$1","notInAContext","defaultStore","stateReplacerIsBeingExecuted","startNextTreeIfNeeded","AppContext","useStoreRef","MutableSourceContext","notifyComponents","dependentNodes","comps","_subID","_debugName","sendEndOfBatchNotifications","subscriptions","Batcher","setNotifyBatcherOfChange","storeRef","endBatch","nextID","RecoilRoot_INTERNAL","initializeState_DEPRECATED","store_INTERNAL","storeProp","storeStateRef","metadata","replaced","notifyBatcherOfChange","initialStoreState_DEPRECATED","initial","atom","writtenNodes","setUnvalidatedAtomValues","initialStoreState","mutableSource","atomKey","Recoil_RecoilRoot","propsExceptOverride","ancestorStoreRef","useRecoilMutableSource","useRecoilStoreID","notifyComponents_FOR_TESTING","sendEndOfBatchNotifications_FOR_TESTING","Recoil_shallowArrayEqual","useEffect$1","useRef$2","Recoil_usePrevious","useStoreRef$1","SUSPENSE_TIMEOUT_MS$1","updateRetainCount$2","RetentionZone$3","useEffect$2","useRef$3","isSSR$2","Recoil_useRetain","toRetain","useRetain_ACTUAL","timeoutID","previousRetainables","Recoil_useComponentName","batchUpdates$2","DEFAULT_VALUE$2","currentRendererSupportsUseSyncExternalStore$1","reactMode$3","useMutableSource$1","useSyncExternalStore$1","useRecoilMutableSource$1","useStoreRef$2","isRecoilValue$2","AbstractRecoilValue$3","getRecoilValueAsLoadable$2","setRecoilValue$2","setUnvalidatedRecoilValue$2","subscribeToRecoilValue$1","useCallback$1","useEffect$3","useMemo$1","useRef$4","useState$1","setByAddingToSet$2","handleLoadable","useRecoilValueLoadable_SYNC_EXTERNAL_STORE","getSnapshot","memoizePreviousSnapshot","_prevState","_prevState2","nextState","getMemoizedSnapshot","notify","useRecoilValueLoadable_MUTABLE_SOURCE","_storeState$nextTree3","getLoadableWithTesting","_storeState","newLoadable","prevLoadableRef","useRecoilValueLoadable_TRANSITION_SUPPORT","_storeState$nextTree4","updateState","useRecoilValueLoadable_LEGACY","_storeState$nextTree5","_prevLoadableRef$curr","_prevLoadableRef$curr2","useRecoilValueLoadable","TRANSITION_SUPPORT","SYNC_EXTERNAL_STORE","MUTABLE_SOURCE","LEGACY","useRecoilValue","useSetRecoilState","useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE","useRecoilValue_TRANSITION_SUPPORT_UNSTABLE","Recoil_filterMap","Recoil_filterSet","Recoil_mergeMaps","maps","nextKey","batchUpdates$3","DEFAULT_VALUE$3","getNode$4","nodes$1","useStoreRef$3","AbstractRecoilValue$4","setRecoilValueLoadable$1","SUSPENSE_TIMEOUT_MS$2","cloneSnapshot$1","useCallback$2","useEffect$4","useRef$5","useState$2","isSSR$3","useTransactionSubscription","externallyVisibleAtomValuesInState","persistedAtomContentsValues","persistence","persistence_UNSTABLE","gotoSnapshot","keysToUpdate","_prev$atomValues$get","_next$atomValues$get","shouldRestoreFromSnapshots","Recoil_SnapshotHooks","useRecoilSnapshot","setSnapshot","previousSnapshot","releaseRef","_releaseRef$current","_releaseRef$current2","_releaseRef$current3","useGotoRecoilSnapshot","useRecoilTransactionObserver","useTransactionObservation_DEPRECATED","previousAtomValues","atomInfo","_node$persistence_UNS","_node$persistence_UNS2","_node$persistence_UNS3","_node$persistence_UNS4","backButton","modifiedAtoms","useTransactionSubscription_DEPRECATED","peekNodeInfo$2","useStoreRef$4","reactMode$4","RecoilRoot$1","useStoreRef$5","useMemo$2","loadableWithValue$1","initializeNode$3","DEFAULT_VALUE$4","getNode$5","copyTreeState$1","getRecoilValueAsLoadable$3","invalidateDownstreams$1","writeLoadableToTreeState$1","isAtom","TransactionInterfaceImpl","_changes","_treeState","newTreeState_INTERNAL","Recoil_AtomicUpdates$1","atomicUpdater","changeset","Recoil_invariant","atomicUpdater$1","batchUpdates$4","DEFAULT_VALUE$5","useStoreRef$6","refreshRecoilValue$1","setRecoilValue$3","cloneSnapshot$2","gotoSnapshot$1","useCallback$3","Sentinel","SENTINEL","recoilCallback","extraInterface","releaseSnapshot","errMsg","callbackInterface","reset","transact_UNSTABLE","transaction","finally","_releaseSnapshot","_releaseSnapshot2","Recoil_useRecoilCallback","useRecoilCallback","useStoreRef$7","refreshRecoilValue$2","useCallback$4","atomicUpdater$2","useStoreRef$8","useMemo$3","Recoil_Wrapper$1","WrappedValue","Recoil_Wrapper","isFastRefreshEnabled$2","ChangedPathError","Recoil_TreeCache$1","TreeCache","Recoil_TreeCache","_options$onHit","_options$onSet","_options$mapNodeValue","_name","_numLeafs","_onHit","onHit","_onSet","onSet","_mapNodeValue","mapNodeValue","getNodeValue","handlers","_this$getLeafNode","getLeafNode","onNodeVisit","nodeValue","branches","addLeaf","_node2","_node3","_this$_root2","_handlers$onNodeVisit2","_node","_handlers$onNodeVisit","_this$_root","branchKey","invalidCacheError","oldLeaf","leafNode","leaf","_node4","CHANGED_PATH_ERROR_MESSAGE","Recoil_LRUCache$1","LRUCache","Recoil_LRUCache","_options$mapKey","_maxSize","maxSize","_head","_tail","_keyMapper","mapKey","tail","mappedKey","existingNode","_maybeDeleteLRU","deleteLru","LRUCache$1","TreeCache$1","Recoil_treeCacheLRU","lruCache","lruNode","allowFunctions","_JSON$stringify","localeCompare","Recoil_stableStringify","TreeCache$2","defaultPolicy","equality","eviction","Recoil_treeCacheFromPolicy","valueMapper","getValueMapper","getTreeCache","isReactNative$1","isWindow$1","isLoadable$1","loadableWithError$1","loadableWithPromise$1","loadableWithValue$2","WrappedValue$1","getNodeLoadable$2","peekNodeLoadable$1","setNodeValue$3","saveDepsToStore$1","DEFAULT_VALUE$6","getConfigDeletionHandler$1","getNode$6","registerNode$1","isRecoilValue$3","markRecoilValueModified$1","retainedByOptionWithDefault$1","recoilCallback$1","startPerfBlock","startPerfBlock$1","_id","Canceled","CANCELED","dependencyStack","waitingStores","getNewExecutionID","selector","cachePolicy_UNSTABLE","cachePolicy","discoveredDependencyNodeKeys","retainedBy_UNSTABLE","executionInfoMap","liveStoresCount","selectorIsLive","selectorInit","selectorShouldDeleteConfigOnRelease","notifyStoresOfResolvedAsync","isLatestExecution","clearExecutionInfo","notifyWaitingStores","clearWaitlist","stores","waitingStore","markStoreWaitingForResolvedAsync","wrapPendingDependencyPromise","existingDeps","loadingDepsState","resolvedDep","loadingDepKey","loadingDepPromise","cachedLoadable","getLoadableFromCacheAndUpdateDeps","getExecutionInfo","executionInfo","getInProgressExecutionInfo","loadingLoadable","depValues","evaluateSelectorGetter","setCache","updateDeps","_store$getState","_store$getState$curre","_store$getState2","_store$getState2$next","_store$getState3","_store$getState3$next","endPerfBlock","duringSynchronousExecution","duringAsynchronousExecution","finishEvaluation","resultIsError","getRecoilValue","depKey","depLoadable","notifyStoresOfNewAsyncDep","stateVersions","getCallback","wrapResultPromise","errorOrPromise","errorOrDepPromise","updateExecutionInfoDepValues","depValuesDiscoveredSoFarDuringAsyncWork","depsAfterCacheLookup","_getExecutionInfo","pendingExecutions","execInfo","anyDepChanged","execDepValues","execLoadable","_getExecutionInfo2","valLoadable","selectorPeek","_peekNodeLoadable","selectorGet","detectCircularDependencies","getSelectorLoadableAndUpdateDeps","_inProgressExecutionI","cachedVal","inProgressExecutionInfo","newExecutionID","newDepValues","invalidateSelector","clearSelectorCache","dangerouslyAllowMutability","selectorSet","syncSelectorSetFinished","setRecoilState","upstreamWrites","isLoadable$2","loadableWithError$2","loadableWithPromise$2","loadableWithValue$3","WrappedValue$2","peekNodeInfo$3","DEFAULT_VALUE$7","DefaultValue$2","getConfigDeletionHandler$2","registerNode$2","setConfigDeletionHandler$1","isRecoilValue$4","getRecoilValueAsLoadable$4","markRecoilValueModified$2","setRecoilValue$4","setRecoilValueLoadable$2","retainedByOptionWithDefault$2","unwrap","restOptions","optionsDefault","atomWithFallback","storedValue","effects","effects_UNSTABLE","sel","Recoil_selector","baseValue","baseAtom","valueOrPromise","cachedAnswerForUnvalidatedValue","unwrapPromise","defaultLoadable","cleanupEffectsByStore","peekAtom","_state$atomValues$get3","nonvalidatedValue","validatorResult","validatedValueLoadable","initState","_options$effects","_cleanupEffectsByStor3","_store$getState$nextT5","cleanupAtom","_cleanupEffectsByStor","notifyDefaultSubscribers","_store$getState$nextT3","isDuringInit","isInitError","pendingSetSelf","retValue","getPromise","getInfo_UNSTABLE","_store$getState$nextT4","setSelf","effect","currentLoadable","resetSelf","handler","_cleanupEffectsByStor2","currentStore","_currentTree$atomValu","_previousTree$atomVal","_pendingSetSelf","_pendingSetSelf2","_pendingSetSelf3","oldLoadable","oldValue","parentStoreID_UNSTABLE","initLoadable","wrapPendingPromise","wrappedPromise","_state$atomValues$get","_store$getState$nextT2","_state$atomValues$get2","Recoil_MapCache$1","MapCache","Recoil_MapCache","LRUCache$2","MapCache$1","defaultPolicy$1","Recoil_cacheFromPolicy","getValueMapper$1","getCache","setConfigDeletionHandler$2","setConfigDeletionHandler$3","nextIndex","Recoil_selectorFamily","_options$cachePolicyF","_options$cachePolicyF2","selectorCache","cachePolicyForParams_UNSTABLE","params","_stableStringify","cachedSelector","newSelector","myKey","myGet","myCachePolicy","mySet","constantSelector","throwingSelector","loadableWithError$3","loadableWithPromise$3","loadableWithValue$4","concurrentRequests","exceptions","isError","exp","unwrapDependencies","wrapResults","wrapLoadables","exception","waitForNone","waitForAny","waitForAll","exceptionResults","asyncResults","syncResults","waitForAllSettled","noWait","DefaultValue$3","RecoilRoot$2","useRecoilStoreID$1","isRecoilValue$5","retentionZone$1","freshSnapshot$2","useRecoilState","useRecoilState$1","useRecoilState_TRANSITION_SUPPORT_UNSTABLE","useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1","useRecoilStateLoadable","useRecoilStateLoadable$1","useRecoilValue$1","useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1","useRecoilValueLoadable$1","useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1","useResetRecoilState","useResetRecoilState$1","useSetRecoilState$1","recoilComponentGetRecoilValueCount_FOR_TESTING","useRecoilInterface","recoilValuesUsed","previousSubscriptions","unsubscribeFrom","currentSubscriptions","getRecoilValueLoadable","getRecoilState","getRecoilStateLoadable","getSetRecoilState","getResetRecoilState","useSetUnvalidatedAtomValues","useGotoRecoilSnapshot$1","useRecoilSnapshot$1","useRecoilTransactionObserver$1","useRecoilCallback$1","noWait$1","waitForAll$1","waitForAllSettled$1","waitForAny$1","waitForNone$1","Recoil_index","RecoilEnv","useRecoilBridgeAcrossReactRoots_UNSTABLE","atomFamily","atomCache","cachedAtom","atomOptions","newAtom","Recoil_atom","selectorFamily","constSelector","errorSelector","readOnlySelector","useGetRecoilValueInfo_UNSTABLE","useRecoilRefresher_UNSTABLE","useRecoilTransaction_UNSTABLE","atomicUpdate","transactionInterface","useRecoilTransactionObserver_UNSTABLE","snapshot_UNSTABLE","useRetain","Recoil_index_4","Recoil_index_5","Recoil_index_8","Recoil_index_9","Recoil_index_20","Recoil_index_22","Recoil_index_24","MapShim","getIndex","class_1","__entries__","ctx","isBrowser","global$1","self","requestAnimationFrame$1","transitionKeys","mutationObserverSupported","MutationObserver","ResizeObserverController","connected_","mutationEventsAdded_","mutationsObserver_","observers_","onTransitionEnd_","throttle","leadingCall","trailingCall","lastCallTime","resolvePending","timeoutCallback","timeStamp","addObserver","connect_","removeObserver","disconnect_","updateObservers_","activeObservers","gatherActive","hasActive","attributes","characterData","subtree","getInstance","instance_","defineConfigurable","getWindowOf","ownerGlobal","emptyRect","createRectInit","toFloat","getBordersSize","positions","isSVGGraphicsElement","SVGElement","ResizeObservation","broadcastWidth","broadcastHeight","contentRect_","getContentRect","bbox","getHTMLElementContentRect","paddings","getPaddings","positions_1","horizPad","vertPad","vertScrollbar","horizScrollbar","broadcastRect","ResizeObserverEntry","rectInit","contentRect","Constr","DOMRectReadOnly","ResizeObserverSPI","controller","callbackCtx","activeObservations_","observations_","callback_","controller_","callbackCtx_","observations","clearActive","observation","WeakMap","objA","objB","compare","compareContext","keysA","keysB","bHasOwnProperty","valueA","valueB","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","extend","regexes","extensions","mergedRegexes","enumerize","enums","str1","str2","lowerize","rgxMapper","ua","arrays","regex","strMapper","windowsVersionMap","cpu","engine","EDGE","getResult","_ua","_rgxmap","getBrowser","_browser","getCPU","_cpu","getDevice","_device","getEngine","_engine","getOS","_os","getUA","setUA","CPU","DEVICE","ENGINE","OS","amdO","$","jQuery","Zepto","_arrayLikeToArray","arr2","_arrayWithHoles","_assertThisInitialized","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","_classCallCheck","Constructor","_defineProperties","_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__","_createClass","protoProps","staticProps","_createSuper","Derived","hasNativeReflectConstruct","isNativeReflectConstruct","Super","NewTarget","_possibleConstructorReturn","_inherits","_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__","_iterableToArray","_nonIterableRest","_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__","sourceSymbolKeys","_objectWithoutPropertiesLoose","_regeneratorRuntime","Op","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","innerFn","outerFn","tryLocsList","protoGenerator","Generator","doneResult","delegate","delegateResult","maybeInvokeDelegate","methodName","ContinueSentinel","record","tryCatch","resultName","nextLoc","_sent","dispatchException","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","_invoke","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","invoke","_typeof_js__WEBPACK_IMPORTED_MODULE_0__","__await","unwrapped","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","iteratorMethod","isGeneratorFunction","genFun","ctor","awrap","async","skipTempReset","rootRecord","rval","loc","caught","hasCatch","hasFinally","finallyEntry","finish","thrown","delegateYield","_slicedToArray","arrayWithHoles","_iterableToArrayLimit","_s","_e","_r","_arr","_n","unsupportedIterableToArray","nonIterableRest","_toArray","_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__","_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__","_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__","_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__","_toConsumableArray","_arrayWithoutHoles","arrayLikeToArray","iterableToArray","_nonIterableSpread","_toPropertyKey","_toPrimitive","hint","prim","toPrimitive","_unsupportedIterableToArray","minLen","_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js b/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js new file mode 100644 index 000000000..6ab7e5d68 --- /dev/null +++ b/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js @@ -0,0 +1,4 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(13847)}])},13847:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(85893);n(63785),n(75575),n(58090),n(45354),n(34146);var o=n(4480);function i(e){var t;let{Component:n,pageProps:i}=e,a=null!==(t=n.getLayout)&&void 0!==t?t:e=>e;return a((0,r.jsx)(o.Wh,{children:(0,r.jsx)(n,{...i})}))}},63785:function(){},34146:function(){},45354:function(){},58090:function(){},75575:function(){},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var s=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?s=r.concat(s):c=-1,s.length&&f())}function f(){if(!u){var e=l(d);u=!0;for(var t=s.length;t;){for(r=s,s=[];++c1)for(var n=1;nthis.map(e))):g(n)}}}class y extends v{constructor(e){super(),p(this,"state","hasError"),p(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class m extends v{constructor(e){super(),p(this,"state","loading"),p(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return T(this.contents.then(t=>{let n=e(t);if(w(n))switch(n.state){case"hasValue":case"loading":return n.contents;case"hasError":throw n.contents}return n}).catch(t=>{if(f(t))return t.then(()=>this.map(e).contents);throw t}))}}function S(e){return Object.freeze(new _(e))}function g(e){return Object.freeze(new y(e))}function T(e){return Object.freeze(new m(e))}function b(){return Object.freeze(new m(new Promise(()=>{})))}function R(e){let t=Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t]),n=t.map(e=>w(e)?e:f(e)?T(e):S(e)),r=n.every(e=>"hasValue"===e.state)?S(n.map(e=>e.contents)):n.some(e=>"hasError"===e.state)?g(h(n.find(e=>"hasError"===e.state),"Invalid loadable passed to loadableAll").contents):T(Promise.all(n.map(e=>e.contents)));return Array.isArray(e)?r:r.map(t=>Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{}))}function w(e){return e instanceof v}var A={loadableWithValue:S,loadableWithError:g,loadableWithPromise:T,loadableLoading:b,loadableAll:R,isLoadable:w,RecoilLoadable:{of:e=>f(e)?T(e):w(e)?e:S(e),error:e=>g(e),loading:()=>b(),all:R,isLoadable:w}},E=Object.freeze({__proto__:null,loadableWithValue:A.loadableWithValue,loadableWithError:A.loadableWithError,loadableWithPromise:A.loadableWithPromise,loadableLoading:A.loadableLoading,loadableAll:A.loadableAll,isLoadable:A.isLoadable,RecoilLoadable:A.RecoilLoadable});let N=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function k(e){var t;return null!==(t=N.get(e))&&void 0!==t&&t}k.setPass=e=>{N.set(e,!0)},k.setFail=e=>{N.set(e,!1)},k.clear=()=>{N.clear()};var L=function(e,t,{error:n}={}){return null};let V=null!==(i=s.createMutableSource)&&void 0!==i?i:s.unstable_createMutableSource,C=null!==(a=s.useMutableSource)&&void 0!==a?a:s.unstable_useMutableSource,M=null!==(l=s.useSyncExternalStore)&&void 0!==l?l:s.unstable_useSyncExternalStore,U=!1;var I={createMutableSource:V,useMutableSource:C,useSyncExternalStore:M,currentRendererSupportsUseSyncExternalStore:function(){var e;let{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=null!==(e=null==t?void 0:t.current)&&void 0!==e?e:n.currentDispatcher,o=null!=r.useSyncExternalStore;return!M||o||U||(U=!0,L("A React renderer without React 18+ API support is being used with React 18+.")),o},reactMode:function(){return k("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:k("recoil_sync_external_store")&&null!=M?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:k("recoil_mutable_source")&&null!=C&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?k("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:k("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};let B={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};!function(){var e,t;if(void 0===c||(null==c?void 0:c.env)==null)return;let n=null===(e=c.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED)||void 0===e?void 0:null===(t=e.toLowerCase())||void 0===t?void 0:t.trim();if(null!=n&&""!==n){if(!["true","false"].includes(n))throw d(`process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${n}`);B.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED="true"===n}}();class D{constructor(e){p(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class O extends D{}class P extends D{}var x={AbstractRecoilValue:D,RecoilState:O,RecoilValueReadOnly:P,isRecoilValue:function(e){return e instanceof O||e instanceof P}},z=Object.freeze({__proto__:null,AbstractRecoilValue:x.AbstractRecoilValue,RecoilState:x.RecoilState,RecoilValueReadOnly:x.RecoilValueReadOnly,isRecoilValue:x.isRecoilValue}),F=function(e,...t){},W=function(e,t){return function*(){let n=0;for(let r of e)yield t(r,n++)}()};let{isFastRefreshEnabled:$}=I;class G{}let j=new G,H=new Map,K=new Map;class q extends Error{}let Z=new Map;function Y(e){return Z.get(e)}var J={nodes:H,recoilValues:K,registerNode:function(e){B.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&function(e){if(H.has(e)){let t=`Duplicate atom key "${e}". This is a FATAL ERROR in + production. But it is safe to ignore this warning if it occurred because of + hot module replacement.`;console.warn(t)}}(e.key),H.set(e.key,e);let t=null==e.set?new z.RecoilValueReadOnly(e.key):new z.RecoilState(e.key);return K.set(e.key,t),t},getNode:function(e){let t=H.get(e);if(null==t)throw new q(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return H.get(e)},deleteNodeConfigIfPossible:function(e){var t,n;if(!k("recoil_memory_managament_2020"))return;let r=H.get(e);null!=r&&null!==(t=r.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(r)&&(H.delete(e),null===(n=Y(e))||void 0===n||n(),Z.delete(e))},setConfigDeletionHandler:function(e,t){k("recoil_memory_managament_2020")&&(void 0===t?Z.delete(e):Z.set(e,t))},getConfigDeletionHandler:Y,recoilValuesForKeys:function(e){return W(e,e=>h(K.get(e)))},NodeMissingError:q,DefaultValue:G,DEFAULT_VALUE:j},X={enqueueExecution:function(e,t){t()}},Q=(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n={},r={},o=function(e){return function(){return e}},i=n.hash=function(e){var n=void 0===e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var r=0,o=0,i=e.length;o>>e&31},l=function(e){return 1<>1&1431655765,n=(n=(858993459&n)+(n>>2&858993459))+(n>>4)&252645135,n+=n>>8,127&(n+=n>>16)},u=function(e,t,n,r){var o=r;if(!e){var i=r.length;o=Array(i);for(var a=0;a=t;)r[i--]=r[i];return r[t]=n,r}for(var a=0,l=0,s=Array(o+1);a>>=1;return i[t]=n,y(e,l+1,i)},S=function(e,t,n,r){for(var o=Array(t-1),i=0,a=0,l=0,s=r.length;l1?v(e,this.hash,s):s[0]}var u=o();return u===r?this:(++l.value,g(e,n,this.hash,this,i,p(e,i,a,u)))},A=function(e,t,n,r,o,i,p){var v,y=this.mask,S=this.children,g=a(n,o),T=l(g),R=s(y,T),w=y&T,A=w?S[R]:f,E=A._modify(e,t,n+5,r,o,i,p);if(A===E)return this;var N=b(e,this),k=y,L=void 0;if(w&&h(E)){if(!(k&=~T))return f;if(S.length<=2&&((v=S[1^R])===f||1===v.type||2===v.type))return S[1^R];L=c(N,R,S)}else if(w||h(E))L=u(N,R,E,S);else{if(S.length>=16)return m(e,g,E,y,S);k|=T,L=d(N,R,E,S)}return N?(this.mask=k,this.children=L,this):_(e,k,L)},E=function(e,t,n,r,o,i,l){var s=this.size,c=this.children,d=a(n,o),p=c[d],v=(p||f)._modify(e,t,n+5,r,o,i,l);if(p===v)return this;var _=b(e,this),m=void 0;if(h(p)&&!h(v))++s,m=u(_,d,v,c);else if(!h(p)&&h(v)){if(--s<=8)return S(e,s,d,c);m=u(_,d,f,c)}else m=u(_,d,v,c);return _?(this.size=s,this.children=m,this):y(e,s,m)};function N(e,t,n,r,o){this._editable=e,this._edit=t,this._config=n,this._root=r,this._size=o}f._modify=function(e,t,n,o,i,a,l){var s=o();return s===r?f:(++l.value,p(e,i,a,s))},N.prototype.setTree=function(e,t){return this._editable?(this._root=e,this._size=t,this):e===this._root?this:new N(this._editable,this._edit,this._config,e,t)};var k=n.tryGetHash=function(e,t,n,r){for(var o=r._root,i=0,u=r._config.keyEq;;)switch(o.type){case 1:return u(n,o.key)?o.value:e;case 2:if(t===o.hash)for(var c=o.children,d=0,f=c.length;d{n.set(r,t(e,r))}),n};function ea(e,t,n,r){let{nodeDeps:o,nodeToNodeSubscriptions:i}=n,a=o.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;o.set(e,t);let l=null==a?t:eo(t,a);for(let s of l){i.has(s)||i.set(s,new Set);let u=h(i.get(s));u.add(e)}if(a){let c=eo(a,t);for(let d of c){if(!i.has(d))return;let f=h(i.get(d));f.delete(e),0===f.size&&i.delete(d)}}}var el={cloneGraph:function(e){return{nodeDeps:ei(e.nodeDeps,e=>new Set(e)),nodeToNodeSubscriptions:ei(e.nodeToNodeSubscriptions,e=>new Set(e))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,r){var o,i,a,l,s;let u=n.getState();r===u.currentTree.version||r===(null===(o=u.nextTree)||void 0===o?void 0:o.version)||r===(null===(i=u.previousTree)||void 0===i?void 0:i.version)||L("Tried to save dependencies to a discarded tree");let c=n.getGraph(r);if(ea(e,t,c),r===(null===(a=u.previousTree)||void 0===a?void 0:a.version)){let d=n.getGraph(u.currentTree.version);ea(e,t,d,c)}if(r===(null===(l=u.previousTree)||void 0===l?void 0:l.version)||r===u.currentTree.version){let f=null===(s=u.nextTree)||void 0===s?void 0:s.version;if(void 0!==f){let h=n.getGraph(f);ea(e,t,h,c)}}}};let es=0,eu=()=>es++,ec=0,ed=()=>ec++,ef=0,eh=()=>ef++;var ep={getNextTreeStateVersion:eu,getNextStoreID:ed,getNextComponentID:eh};let{persistentMap:ev}=er,{graph:e_}=el,{getNextTreeStateVersion:ey}=ep;function em(){let e=ey();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:ev(),nonvalidatedAtoms:ev()}}var eS={makeEmptyTreeState:em,makeEmptyStoreState:function(){let e=em();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,e_()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:ey};class eg{}var eT={RetentionZone:eg,retentionZone:function(){return new eg}},eb={setByAddingToSet:function(e,t){let n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){let n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){let r=new Map(e);return r.set(t,n),r},mapByUpdatingInMap:function(e,t,n){let r=new Map(e);return r.set(t,n(r.get(t))),r},mapByDeletingFromMap:function(e,t){let n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){let n=new Map(e);return t.forEach(e=>n.delete(e)),n}},eR=function*(e,t){let n=0;for(let r of e)t(r,n++)&&(yield r)},ew=function(e,t){let n=new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)});return n};let{getNode:eA,getNodeMaybe:eE,recoilValuesForKeys:eN}=J,{RetentionZone:ek}=eT,{setByAddingToSet:eL}=eb,eV=Object.freeze(new Set);class eC extends Error{}function eM(e,t,n,r){let o=e.getState();if(o.nodeCleanupFunctions.has(n))return;let i=eA(n),a=function(e,t,n){if(!k("recoil_memory_managament_2020"))return()=>void 0;let{nodesRetainedByZone:r}=e.getState().retention;function o(e){let n=r.get(e);n||r.set(e,n=new Set),n.add(t)}if(n instanceof ek)o(n);else if(Array.isArray(n))for(let i of n)o(i);return()=>{if(!k("recoil_memory_managament_2020"))return;let{retention:r}=e.getState();function o(e){let n=r.nodesRetainedByZone.get(e);null==n||n.delete(t),n&&0===n.size&&r.nodesRetainedByZone.delete(e)}if(n instanceof ek)o(n);else if(Array.isArray(n))for(let i of n)o(i)}}(e,n,i.retainedBy),l=i.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{l(),a()})}function eU(e,t,n){return eA(n).peek(e,t)}function eI(e,t,n){let r=new Set,o=Array.from(n),i=e.getGraph(t.version);for(let a=o.pop();a;a=o.pop()){var l;r.add(a);let s=null!==(l=i.nodeToNodeSubscriptions.get(a))&&void 0!==l?l:eV;for(let u of s)r.has(u)||o.push(u)}return r}var eB={getNodeLoadable:function(e,t,n){return eM(e,t,n,"get"),eA(n).get(e,t)},peekNodeLoadable:eU,setNodeValue:function(e,t,n,r){let o=eA(n);if(null==o.set)throw new eC(`Attempt to set read-only RecoilValue: ${n}`);let i=o.set;return eM(e,t,n,"set"),i(e,t,r)},initializeNode:function(e,t,n){eM(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;let r=e.getState();null===(n=r.nodeCleanupFunctions.get(t))||void 0===n||n(),r.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var r;let o=eE(t);return null==o||null===(r=o.invalidate)||void 0===r||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:eL(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){let r=e.getState(),o=e.getGraph(t.version),i=eA(n).nodeType;return ew({type:i},{loadable:()=>eU(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>"selector"!==i&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var e;return eN(null!==(e=o.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers:()=>{var o,i;return{nodes:eN(eR(eI(e,t,new Set([n])),e=>e!==n)),components:W(null!==(o=null===(i=r.nodeToComponentSubscriptions.get(n))||void 0===i?void 0:i.values())&&void 0!==o?o:[],([e])=>({name:e}))}}})},getDownstreamNodes:eI};let eD=null;var eO={setInvalidateMemoizedSnapshot:function(e){eD=e},invalidateMemoizedSnapshot:function(){var e;null===(e=eD)||void 0===e||e()}};let{getDownstreamNodes:eP,getNodeLoadable:ex,setNodeValue:ez}=eB,{getNextComponentID:eF}=ep,{getNode:eW,getNodeMaybe:e$}=J,{DefaultValue:eG}=J,{reactMode:ej}=I,{AbstractRecoilValue:eH,RecoilState:eK,RecoilValueReadOnly:eq,isRecoilValue:eZ}=z,{invalidateMemoizedSnapshot:eY}=eO;function eJ(e,t,n){"hasValue"===n.state&&n.contents instanceof eG?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function eX(e,t){e.replaceState(n=>{let r=e1(n);for(let o of t)!function(e,t,n){if("set"===n.type){let{recoilValue:r,valueOrUpdater:o}=n,i=function(e,t,{key:n},r){if("function"!=typeof r)return r;{let o=ex(e,t,n);if("loading"===o.state){let i=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw L(i),d(i)}if("hasError"===o.state)throw o.contents;return r(o.contents)}}(e,t,r,o),a=ez(e,t,r.key,i);for(let[l,s]of a.entries())eJ(t,l,s)}else if("setLoadable"===n.type){let{recoilValue:{key:u},loadable:c}=n;eJ(t,u,c)}else if("markModified"===n.type){let{recoilValue:{key:f}}=n;t.dirtyAtoms.add(f)}else if("setUnvalidated"===n.type){var h;let{recoilValue:{key:p},unvalidatedValue:v}=n,_=e$(p);null==_||null===(h=_.invalidate)||void 0===h||h.call(_,t),t.atomValues.delete(p),t.nonvalidatedAtoms.set(p,v),t.dirtyAtoms.add(p)}else L(`Unknown action ${n.type}`)}(e,r,o);return e2(e,r),eY(),r})}function eQ(e,t){if(e0.length){let n=e0[e0.length-1],r=n.get(e);r||n.set(e,r=[]),r.push(t)}else eX(e,[t])}let e0=[];function e1(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function e2(e,t){let n=eP(e,t,t.dirtyAtoms);for(let r of n){var o,i;null===(o=e$(r))||void 0===o||null===(i=o.invalidate)||void 0===i||i.call(o,t)}}function e5(e,t,n){eQ(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var e4={RecoilValueReadOnly:eq,AbstractRecoilValue:eH,RecoilState:eK,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var r,o;let i=e.getState();n.version===i.currentTree.version||n.version===(null===(r=i.nextTree)||void 0===r?void 0:r.version)||n.version===(null===(o=i.previousTree)||void 0===o?void 0:o.version)||L("Tried to read from a discarded tree");let a=ex(e,n,t);return"loading"===a.state&&a.contents.catch(()=>{}),a},setRecoilValue:e5,setRecoilValueLoadable:function(e,t,n){if(n instanceof eG)return e5(e,t,n);eQ(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){eQ(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){eQ(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,r=null){let o=eF(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),h(i.nodeToComponentSubscriptions.get(t)).set(o,[null!=r?r:"",n]);let a=ej();if(a.early&&("LEGACY"===a.mode||"MUTABLE_SOURCE"===a.mode)){let l=e.getState().nextTree;l&&l.dirtyAtoms.has(t)&&n(l)}return{release:()=>{let n=e.getState(),r=n.nodeToComponentSubscriptions.get(t);if(void 0===r||!r.has(o)){L(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`);return}r.delete(o),0===r.size&&n.nodeToComponentSubscriptions.delete(t)}}},isRecoilValue:eZ,applyAtomValueWrites:function(e,t){let n=e.clone();return t.forEach((e,t)=>{"hasValue"===e.state&&e.contents instanceof eG?n.delete(t):n.set(t,e)}),n},batchStart:function(){let e=new Map;return e0.push(e),()=>{for(let[t,n]of e)eX(t,n);let r=e0.pop();r!==e&&L("Incorrect order of batch popping")}},writeLoadableToTreeState:eJ,invalidateDownstreams:e2,copyTreeState:e1,refreshRecoilValue:function(e,t){var n;let{currentTree:r}=e.getState(),o=eW(t.key);null===(n=o.clearCache)||void 0===n||n.call(o,e,r)}},e8=function(e,t,n){let r=e.entries(),o=r.next();for(;!o.done;){let i=o.value;if(t.call(n,i[1],i[0],e))return!0;o=r.next()}return!1};let{cleanUpNode:e3}=eB,{deleteNodeConfigIfPossible:e7,getNode:e9}=J,{RetentionZone:e6}=eT,te=new Set;function tt(e,t){let n=e.getState(),r=n.currentTree;if(n.nextTree){L("releaseNodesNowOnCurrentTree should only be called at the end of a batch");return}let o=new Set;for(let i of t)if(i instanceof e6)for(let a of function(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:te}(n,i))o.add(a);else o.add(i);let l=function(e,t){let n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),i=new Set,a=new Set;return function t(l){var s,u;let c=new Set,d=function(e,t,n,r,o){let i=e.getGraph(t.version),a=[],l=new Set;for(;n.size>0;)(function e(t){if(r.has(t)||o.has(t)){n.delete(t);return}if(l.has(t))return;let s=i.nodeToNodeSubscriptions.get(t);if(s)for(let u of s)e(u);l.add(t),n.delete(t),a.push(t)})(h(n.values().next().value));return a}(e,r,l,i,a);for(let f of d){if("recoilRoot"===e9(f).retainedBy||(null!==(s=n.retention.referenceCounts.get(f))&&void 0!==s?s:0)>0||tn(f).some(e=>n.retention.referenceCounts.get(e))){a.add(f);continue}let p=o.nodeToNodeSubscriptions.get(f);if(p&&e8(p,e=>a.has(e))){a.add(f);continue}i.add(f),c.add(f)}let v=new Set;for(let _ of c)for(let y of null!==(u=o.nodeDeps.get(_))&&void 0!==u?u:te)i.has(y)||v.add(y);v.size&&t(v)}(t),i}(e,o);for(let s of l)!function(e,t,n){var r,o;if(!k("recoil_memory_managament_2020"))return;e3(e,n);let i=e.getState();i.knownAtoms.delete(n),i.knownSelectors.delete(n),i.nodeTransactionSubscriptions.delete(n),i.retention.referenceCounts.delete(n);let a=tn(n);for(let l of a)null===(r=i.retention.nodesRetainedByZone.get(l))||void 0===r||r.delete(n);t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);let s=i.graphsByVersion.get(t.version);if(s){let u=s.nodeDeps.get(n);if(void 0!==u)for(let c of(s.nodeDeps.delete(n),u))null===(o=s.nodeToNodeSubscriptions.get(c))||void 0===o||o.delete(n);s.nodeToNodeSubscriptions.delete(n)}e7(n)}(e,r,s)}function tn(e){let t=e9(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof e6?[t]:t}function tr(e,t){if(!k("recoil_memory_managament_2020"))return;let n=e.getState().retention.referenceCounts;n.delete(t),function(e,t){let n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):tt(e,new Set([t]))}(e,t)}var to={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var r;if(!k("recoil_memory_managament_2020"))return;let o=e.getState().retention.referenceCounts,i=(null!==(r=o.get(t))&&void 0!==r?r:0)+n;0===i?tr(e,t):o.set(t,i)},updateRetainCountToZero:tr,releaseScheduledRetainablesNow:function(e){if(!k("recoil_memory_managament_2020"))return;let t=e.getState();tt(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};let{unstable_batchedUpdates:ti}=u,{unstable_batchedUpdates:ta}={unstable_batchedUpdates:ti},{batchStart:tl}=e4,{unstable_batchedUpdates:ts}={unstable_batchedUpdates:ta},tu=ts,tc=e=>{tu=e},td=e=>{tu(()=>{let t=()=>void 0;try{t=tl(),e()}finally{t()}})};var tf={getBatcher:()=>tu,setBatcher:tc,batchUpdates:td},th=function*(e){for(let t of e)for(let n of t)yield n};let tp="undefined"==typeof Window||"undefined"==typeof window,tv="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var t_={isSSR:tp,isReactNative:tv,isWindow:e=>!tp&&(e===window||e instanceof Window)};let{batchUpdates:ty}=tf,{initializeNode:tm,peekNodeInfo:tS}=eB,{graph:tg}=el,{getNextStoreID:tT}=ep,{DEFAULT_VALUE:tb,recoilValues:tR,recoilValuesForKeys:tw}=J,{AbstractRecoilValue:tA,getRecoilValueAsLoadable:tE,setRecoilValue:tN,setUnvalidatedRecoilValue:tk}=e4,{updateRetainCount:tL}=to,{setInvalidateMemoizedSnapshot:tV}=eO,{getNextTreeStateVersion:tC,makeEmptyStoreState:tM}=eS,{isSSR:tU}=t_,{memoizeOneWithArgsHashAndInvalidation:tI}={memoizeWithArgsHash:function(e,t){let n;let r=(...r)=>{n||(n={});let o=t(...r);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...r)),n[o]};return r},memoizeOneWithArgsHash:function(e,t){let n,r;let o=(...o)=>{let i=t(...o);return n===i?r:(n=i,r=e(...o))};return o},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,r;let o=(...o)=>{let i=t(...o);return n===i?r:(n=i,r=e(...o))},i=()=>{n=null};return[o,i]}};class tB{constructor(e,t){for(let n of(p(this,"_store",void 0),p(this,"_refCount",1),p(this,"getLoadable",e=>(this.checkRefCount_INTERNAL(),tE(this._store,e))),p(this,"getPromise",e=>(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise())),p(this,"getNodes_UNSTABLE",e=>{if(this.checkRefCount_INTERNAL(),(null==e?void 0:e.isModified)===!0){if((null==e?void 0:e.isInitialized)===!1)return[];let t=this._store.getState().currentTree;return tw(t.dirtyAtoms)}let n=this._store.getState().knownAtoms,r=this._store.getState().knownSelectors;return(null==e?void 0:e.isInitialized)==null?tR.values():!0===e.isInitialized?tw(th([n,r])):eR(tR.values(),({key:e})=>!n.has(e)&&!r.has(e))}),p(this,"getInfo_UNSTABLE",({key:e})=>(this.checkRefCount_INTERNAL(),tS(this._store,this._store.getState().currentTree,e))),p(this,"map",e=>{this.checkRefCount_INTERNAL();let t=new tx(this,ty);return e(t),t}),p(this,"asyncMap",async e=>{this.checkRefCount_INTERNAL();let t=new tx(this,ty);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t}),this._store={storeID:tT(),parentStoreID:t,getState:()=>e,replaceState:t=>{e.currentTree=t(e.currentTree)},getGraph:t=>{let n=e.graphsByVersion;if(n.has(t))return h(n.get(t));let r=tg();return n.set(t,r),r},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw d("Cannot subscribe to Snapshots")}},this._store.getState().knownAtoms))tm(this._store,n,"get"),tL(this._store,n,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&L("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){tU||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach(e=>e()),this._store.getState().nodeCleanupFunctions.clear(),!k("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){k("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function tD(e,t,n=!1){let r=e.getState(),o=n?tC():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(W(r.nodeCleanupFunctions.entries(),([e])=>[e,()=>{}]))}}let[tO,tP]=tI((e,t)=>{var n;let r=e.getState(),o="latest"===t?null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree:h(r.previousTree);return new tB(tD(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(r=e.getState().previousTree)||void 0===r?void 0:r.version)});tV(tP);class tx extends tB{constructor(e,t){super(tD(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),p(this,"_batch",void 0),p(this,"set",(e,t)=>{this.checkRefCount_INTERNAL();let n=this.getStore_INTERNAL();this._batch(()=>{tL(n,e.key,1),tN(this.getStore_INTERNAL(),e,t)})}),p(this,"reset",e=>{this.checkRefCount_INTERNAL();let t=this.getStore_INTERNAL();this._batch(()=>{tL(t,e.key,1),tN(this.getStore_INTERNAL(),e,tb)})}),p(this,"setUnvalidatedAtomValues_DEPRECATED",e=>{this.checkRefCount_INTERNAL();let t=this.getStore_INTERNAL();ty(()=>{for(let[n,r]of e.entries())tL(t,n,1),tk(t,new tA(n),r)})}),this._batch=t}}var tz={Snapshot:tB,MutableSnapshot:tx,freshSnapshot:function(e){let t=new tB(tM());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){let n=tO(e,t);return n.isRetained()?n:(tP(),tO(e,t))}},tF=Object.freeze({__proto__:null,Snapshot:tz.Snapshot,MutableSnapshot:tz.MutableSnapshot,freshSnapshot:tz.freshSnapshot,cloneSnapshot:tz.cloneSnapshot}),tW=function(...e){let t=new Set;for(let n of e)for(let r of n)t.add(r);return t};let{useRef:t$}=s;var tG=function(e){let t=t$(e);return t.current===e&&"function"==typeof e&&(t.current=e()),t};let{getNextTreeStateVersion:tj,makeEmptyStoreState:tH}=eS,{cleanUpNode:tK,getDownstreamNodes:tq,initializeNode:tZ,setNodeValue:tY,setUnvalidatedAtomValue_DEPRECATED:tJ}=eB,{graph:tX}=el,{cloneGraph:tQ}=el,{getNextStoreID:t0}=ep,{createMutableSource:t1,reactMode:t2}=I,{applyAtomValueWrites:t5}=e4,{releaseScheduledRetainablesNow:t4}=to,{freshSnapshot:t8}=tF,{useCallback:t3,useContext:t7,useEffect:t9,useMemo:t6,useRef:ne,useState:nt}=s;function nn(){throw d("This component must be used inside a component.")}let nr=Object.freeze({storeID:t0(),getState:nn,replaceState:nn,getGraph:nn,subscribeToTransactions:nn,addTransactionMetadata:nn}),no=!1;function ni(e){if(no)throw d("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");let t=e.getState();if(null===t.nextTree){k("recoil_memory_managament_2020")&&k("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&t4(e);let n=t.currentTree.version,r=tj();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,tQ(h(t.graphsByVersion.get(n))))}}let na=s.createContext({current:nr}),nl=()=>t7(na),ns=s.createContext(null);function nu(e,t,n){let r=tq(e,n,n.dirtyAtoms);for(let o of r){let i=t.nodeToComponentSubscriptions.get(o);if(i)for(let[a,[l,s]]of i)s(n)}}function nc(e){let t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(let[o,i]of t.nodeTransactionSubscriptions)if(r.has(o))for(let[a,l]of i)l(e);for(let[s,u]of t.transactionSubscriptions)u(e);(!t2().early||t.suspendedComponentResolvers.size>0)&&(nu(e,t,n),t.suspendedComponentResolvers.forEach(e=>e()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(e=>e(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function nd({setNotifyBatcherOfChange:e}){let t=nl(),[,n]=nt([]);return e(()=>n({})),t9(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),t9(()=>{X.enqueueExecution("Batcher",()=>{!function(e){let t=e.getState();t.commitDepth++;try{let{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,nc(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):L("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,k("recoil_memory_managament_2020")&&null==n&&t4(e)}finally{t.commitDepth--}}(t.current)})}),null}let nf=0;function nh({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;let i=e=>{let t=o.current.graphsByVersion;if(t.has(e))return h(t.get(e));let n=tX();return t.set(e,n),n},a=(e,t)=>{if(null==t){let{transactionSubscriptions:n}=f.current.getState(),r=nf++;return n.set(r,e),{release:()=>{n.delete(r)}}}{let{nodeTransactionSubscriptions:o}=f.current.getState();o.has(t)||o.set(t,new Map);let i=nf++;return h(o.get(t)).set(i,e),{release:()=>{let e=o.get(t);e&&(e.delete(i),0===e.size&&o.delete(t))}}}},l=e=>{for(let t of(ni(f.current),Object.keys(e)))h(f.current.getState().nextTree).transactionMetadata[t]=e[t]},u=e=>{let t;ni(f.current);let n=h(o.current.nextTree);try{no=!0,t=e(n)}finally{no=!1}t!==n&&(o.current.nextTree=t,t2().early&&nu(f.current,o.current,t),h(c.current)())},c=ne(null),d=t3(e=>{c.current=e},[c]),f=tG(()=>null!=n?n:{storeID:t0(),getState:()=>o.current,replaceState:u,getGraph:i,subscribeToTransactions:a,addTransactionMetadata:l});null!=n&&(f.current=n),o=tG(()=>null!=e?function(e,t){let n=tH();return t({set:(t,r)=>{let o=n.currentTree,i=tY(e,o,t.key,r),a=new Set(i.keys()),l=o.nonvalidatedAtoms.clone();for(let s of a)l.delete(s);n.currentTree={...o,dirtyAtoms:tW(o.dirtyAtoms,a),atomValues:t5(o.atomValues,i),nonvalidatedAtoms:l}},setUnvalidatedAtomValues:e=>{e.forEach((e,t)=>{n.currentTree=tJ(n.currentTree,t,e)})}}),n}(f.current,e):null!=t?function(e){let t=t8(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(e=>e()),n.nodeCleanupFunctions.clear(),n}(t):tH());let p=t6(()=>null==t1?void 0:t1(o,()=>o.current.currentTree.version),[o]);return t9(()=>{let e=f.current;for(let t of new Set(e.getState().knownAtoms))tZ(e,t,"get");return()=>{for(let t of e.getState().knownAtoms)tK(e,t)}},[f]),s.createElement(na.Provider,{value:f},s.createElement(ns.Provider,{value:p},s.createElement(nd,{setNotifyBatcherOfChange:d}),r))}var np={RecoilRoot:function(e){let{override:t,...n}=e,r=nl();return!1===t&&r.current!==nr?e.children:s.createElement(nh,n)},useStoreRef:nl,useRecoilMutableSource:function(){let e=t7(ns);return null==e&&F("Attempted to use a Recoil hook outside of a . must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return nl().current.storeID},notifyComponents_FOR_TESTING:nu,sendEndOfBatchNotifications_FOR_TESTING:nc},nv=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current};let{useStoreRef:nS}=np,{SUSPENSE_TIMEOUT_MS:ng}=to,{updateRetainCount:nT}=to,{RetentionZone:nb}=eT,{useEffect:nR,useRef:nw}=s,{isSSR:nA}=t_;var nE=function(e){if(k("recoil_memory_managament_2020"))return function(e){let t=Array.isArray(e)?e:[e],n=t.map(e=>e instanceof nb?e:e.key),r=nS();nR(()=>{if(!k("recoil_memory_managament_2020"))return;let e=r.current;if(o.current&&!nA)window.clearTimeout(o.current),o.current=null;else for(let t of n)nT(e,t,1);return()=>{for(let t of n)nT(e,t,-1)}},[r,...n]);let o=nw(),i=nm(n);if(!nA&&(void 0===i||!nv(i,n))){let a=r.current;for(let l of n)nT(a,l,1);if(i)for(let s of i)nT(a,s,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{for(let e of(o.current=null,n))nT(a,e,-1)},ng)}}(e)},nN=function(){return""};let{batchUpdates:nk}=tf,{DEFAULT_VALUE:nL}=J,{currentRendererSupportsUseSyncExternalStore:nV,reactMode:nC,useMutableSource:nM,useSyncExternalStore:nU}=I,{useRecoilMutableSource:nI,useStoreRef:nB}=np,{isRecoilValue:nD}=z,{AbstractRecoilValue:nO,getRecoilValueAsLoadable:nP,setRecoilValue:nx,setUnvalidatedRecoilValue:nz,subscribeToRecoilValue:nF}=e4,{useCallback:nW,useEffect:n$,useMemo:nG,useRef:nj,useState:nH}=s,{setByAddingToSet:nK}=eb;function nq(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){let r=new Promise(e=>{n.current.getState().suspendedComponentResolvers.add(e)});throw r}if("hasError"===e.state)throw e.contents;throw d(`Invalid value of loadable atom "${t.key}"`)}function nZ(e){let t=nB(),n=nN(),r=nW(()=>{var n;let r=t.current,o=r.getState(),i=nC().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree,a=nP(r,e,i);return{loadable:a,key:e.key}},[t,e]),o=nW(e=>{let t;return()=>{var n,r;let o=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(o.loadable)&&(null===(r=t)||void 0===r?void 0:r.key)===o.key?t:(t=o,o)}},[]),i=nG(()=>o(r),[r,o]),a=nW(r=>{let o=t.current,i=nF(o,e,r,n);return i.release},[t,e,n]);return nU(a,i,i).loadable}function nY(e){let t=nB(),n=nW(()=>{var n;let r=t.current,o=r.getState(),i=nC().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return nP(r,e,i)},[t,e]),r=nW(()=>n(),[n]),o=nN(),i=nW((r,i)=>{let a=t.current,l=nF(a,e,()=>{if(!k("recoil_suppress_rerender_in_callback"))return i();let e=n();s.current.is(e)||i(),s.current=e},o);return l.release},[t,e,o,n]),a=nI();if(null==a)throw d("Recoil hooks must be used in components contained within a component.");let l=nM(a,r,i),s=nj(l);return n$(()=>{s.current=l}),l}function nJ(e){let t=nB(),n=nN(),r=nW(()=>{var n;let r=t.current,o=r.getState(),i=nC().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return nP(r,e,i)},[t,e]),o=nW(()=>({loadable:r(),key:e.key}),[r,e.key]),i=nW(e=>{let t=o();return e.loadable.is(t.loadable)&&e.key===t.key?e:t},[o]);n$(()=>{let r=nF(t.current,e,e=>{l(i)},n);return l(i),r.release},[n,e,t,i]);let[a,l]=nH(o);return a.key!==e.key?o().loadable:a.loadable}function nX(e){let t=nB(),[,n]=nH([]),r=nN(),o=nW(()=>{var n;let r=t.current,o=r.getState(),i=nC().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return nP(r,e,i)},[t,e]),i=o(),a=nj(i);return n$(()=>{a.current=i}),n$(()=>{let i=t.current,l=i.getState(),s=nF(i,e,e=>{var t;if(!k("recoil_suppress_rerender_in_callback"))return n([]);let r=o();null!==(t=a.current)&&void 0!==t&&t.is(r)||n(r),a.current=r},r);if(l.nextTree)i.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a.current=null,n([])});else{var u;if(!k("recoil_suppress_rerender_in_callback"))return n([]);let c=o();null!==(u=a.current)&&void 0!==u&&u.is(c)||n(c),a.current=c}return s.release},[r,o,e,t]),i}function nQ(e){return k("recoil_memory_managament_2020")&&nE(e),({TRANSITION_SUPPORT:nJ,SYNC_EXTERNAL_STORE:nV()?nZ:nJ,MUTABLE_SOURCE:nY,LEGACY:nX})[nC().mode](e)}function n0(e){let t=nB(),n=nQ(e);return nq(n,e,t)}function n1(e){let t=nB();return nW(n=>{nx(t.current,e,n)},[t,e])}function n2(e){return k("recoil_memory_managament_2020")&&nE(e),nJ(e)}function n5(e){let t=nB(),n=n2(e);return nq(n,e,t)}var n4=function(e,t){let n=new Map;for(let[r,o]of e)t(o,r)&&n.set(r,o);return n},n8=function(e,t){let n=new Set;for(let r of e)t(r)&&n.add(r);return n},n3=function(...e){let t=new Map;for(let n=0;n{let n=t.current.subscribeToTransactions(e);return n.release},[e,t])}function rf(e){let t=e.atomValues.toMap(),n=ei(n4(t,(e,t)=>{let n=n6(t),r=n.persistence_UNSTABLE;return null!=r&&"none"!==r.type&&"hasValue"===e.state}),e=>e.contents);return n3(e.nonvalidatedAtoms.toMap(),n)}function rh(e,t){var n;let r=e.getState(),o=null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,i=t.getStore_INTERNAL().getState().currentTree;n7(()=>{let n=new Set;for(let r of[o.atomValues.keys(),i.atomValues.keys()])for(let a of r){var l,s;(null===(l=o.atomValues.get(a))||void 0===l?void 0:l.contents)!==(null===(s=i.atomValues.get(a))||void 0===s?void 0:s.contents)&&n6(a).shouldRestoreFromSnapshots&&n.add(a)}n.forEach(t=>{rr(e,new rn(t),i.atomValues.has(t)?h(i.atomValues.get(t)):n9)}),e.replaceState(e=>({...e,stateID:t.getID()}))})}var rp={useRecoilSnapshot:function(){let e=rt(),[t,n]=ru(()=>ri(e.current)),r=nm(t),o=rs(),i=rs();if(rd(ra(e=>n(ri(e)),[])),rl(()=>{let e=t.retain();if(o.current&&!rc){var n;window.clearTimeout(o.current),o.current=null,null===(n=i.current)||void 0===n||n.call(i),i.current=null}return()=>{window.setTimeout(e,10)}},[t]),r!==t&&!rc){if(o.current){var a;window.clearTimeout(o.current),o.current=null,null===(a=i.current)||void 0===a||a.call(i),i.current=null}i.current=t.retain(),o.current=window.setTimeout(()=>{var e;o.current=null,null===(e=i.current)||void 0===e||e.call(i),i.current=null},ro)}return t},gotoSnapshot:rh,useGotoRecoilSnapshot:function(){let e=rt();return ra(t=>rh(e.current,t),[e])},useRecoilTransactionObserver:function(e){rd(ra(t=>{let n=ri(t,"latest"),r=ri(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))},useTransactionObservation_DEPRECATED:function(e){rd(ra(t=>{let n=t.getState().previousTree,r=t.getState().currentTree;n||(L("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);let o=rf(r),i=rf(n),a=ei(re,e=>{var t,n,r,o;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(r=null===(o=e.persistence_UNSTABLE)||void 0===o?void 0:o.backButton)&&void 0!==r&&r}}}),l=n8(r.dirtyAtoms,e=>o.has(e)||i.has(e));e({atomValues:o,previousAtomValues:i,atomInfo:a,modifiedAtoms:l,transactionMetadata:{...r.transactionMetadata}})},[e]))},useTransactionSubscription_DEPRECATED:rd};let{peekNodeInfo:rv}=eB,{useStoreRef:r_}=np,{reactMode:ry}=I,{RecoilRoot:rm,useStoreRef:rS}=np,{useMemo:rg}=s,{loadableWithValue:rT}=E,{initializeNode:rb}=eB,{DEFAULT_VALUE:rR,getNode:rw}=J,{copyTreeState:rA,getRecoilValueAsLoadable:rE,invalidateDownstreams:rN,writeLoadableToTreeState:rk}=e4;function rL(e){return"atom"===rw(e.key).nodeType}class rV{constructor(e,t){p(this,"_store",void 0),p(this,"_treeState",void 0),p(this,"_changes",void 0),p(this,"get",e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!rL(e))throw d("Reading selectors within atomicUpdate is not supported");let t=rE(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;if("hasError"===t.state)throw t.contents;throw d(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)}),p(this,"set",(e,t)=>{if(!rL(e))throw d("Setting selectors within atomicUpdate is not supported");if("function"==typeof t){let n=this.get(e);this._changes.set(e.key,t(n))}else rb(this._store,e.key,"set"),this._changes.set(e.key,t)}),p(this,"reset",e=>{this.set(e,rR)}),this._store=e,this._treeState=t,this._changes=new Map}newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;let e=rA(this._treeState);for(let[t,n]of this._changes)rk(e,t,rT(n));return rN(this._store,e),e}}var rC=Object.freeze({__proto__:null,atomicUpdater:function(e){return t=>{e.replaceState(n=>{let r=new rV(e,n);return t(r),r.newTreeState_INTERNAL()})}}}),rM=function(e,t){if(!e)throw Error(t)};let{atomicUpdater:rU}=rC,{batchUpdates:rI}=tf,{DEFAULT_VALUE:rB}=J,{useStoreRef:rD}=np,{refreshRecoilValue:rO,setRecoilValue:rP}=e4,{cloneSnapshot:rx}=tF,{gotoSnapshot:rz}=rp,{useCallback:rF}=s;class rW{}let r$=new rW;function rG(e,t,n,r){let o,i=r$;return(rI(()=>{let a="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if("function"!=typeof t)throw d(a);let l=ew({...null!=r?r:{},set:(t,n)=>rP(e,t,n),reset:t=>rP(e,t,rB),refresh:t=>rO(e,t),gotoSnapshot:t=>rz(e,t),transact_UNSTABLE:t=>rU(e)(t)},{snapshot:()=>{let t=rx(e);return o=t.retain(),t}}),s=t(l);if("function"!=typeof s)throw d(a);i=s(...n)}),i instanceof rW&&rM(!1),f(i))?i.finally(()=>{null==o||o()}):null==o||o(),i}var rj={recoilCallback:rG,useRecoilCallback:function(e,t){let n=rD();return rF((...t)=>rG(n.current,e,t),null!=t?[...t,n]:void 0)}};let{useStoreRef:rH}=np,{refreshRecoilValue:rK}=e4,{useCallback:rq}=s,{atomicUpdater:rZ}=rC,{useStoreRef:rY}=np,{useMemo:rJ}=s;var rX=Object.freeze({__proto__:null,WrappedValue:{WrappedValue:class{constructor(e){p(this,"value",void 0),this.value=e}}}.WrappedValue});let{isFastRefreshEnabled:rQ}=I;class r0 extends Error{}var r1=Object.freeze({__proto__:null,TreeCache:{TreeCache:class{constructor(e){var t,n,r;p(this,"_name",void 0),p(this,"_numLeafs",void 0),p(this,"_root",void 0),p(this,"_onHit",void 0),p(this,"_onSet",void 0),p(this,"_mapNodeValue",void 0),this._name=null==e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null==e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null==e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(r=null==e?void 0:e.mapNodeValue)&&void 0!==r?r:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null==t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;let r=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(r)}}set(e,t,n){let r=()=>{var r,o,i,a,l,s,u;let c,d;for(let[f,h]of e){let p=this._root;if((null==p?void 0:p.type)==="leaf")throw this.invalidCacheError();let v=c;if("branch"!==(c=null!==(l=c=v?v.branches.get(d):p)&&void 0!==l?l:{type:"branch",nodeKey:f,parent:v,branches:new Map,branchKey:d}).type||c.nodeKey!==f)throw this.invalidCacheError();null==v||v.branches.set(d,c),null==n||null===(s=n.onNodeVisit)||void 0===s||s.call(n,c),d=this._mapNodeValue(h),this._root=null!==(u=this._root)&&void 0!==u?u:c}let _=c?null===(r=c)||void 0===r?void 0:r.branches.get(d):this._root;if(null!=_&&("leaf"!==_.type||_.branchKey!==d))throw this.invalidCacheError();let y={type:"leaf",value:t,parent:c,branchKey:d};null===(o=c)||void 0===o||o.branches.set(d,y),this._root=null!==(i=this._root)&&void 0!==i?i:y,this._numLeafs++,this._onSet(y),null==n||null===(a=n.onNodeVisit)||void 0===a||a.call(n,y)};try{r()}catch(o){if(o instanceof r0)this.clear(),r();else throw o}}delete(e){let t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,r=e.branchKey;for(;n;){var o;if(n.branches.delete(r),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;r=null===(o=n)||void 0===o?void 0:o.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){let e=rQ()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw L(e+(null!=this._name?` - ${this._name}`:"")),new r0}}}.TreeCache}),r2=Object.freeze({__proto__:null,LRUCache:{LRUCache:class{constructor(e){var t;p(this,"_maxSize",void 0),p(this,"_size",void 0),p(this,"_head",void 0),p(this,"_tail",void 0),p(this,"_map",void 0),p(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){let t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){let n=this._keyMapper(e),r=this._map.get(n);r&&this.delete(e);let o=this.head(),i={key:e,right:o,left:null,value:t};o?o.left=i:this._tail=i,this._map.set(n,i),this._head=i,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){let e=this.tail();e&&this.delete(e.key)}delete(e){let t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;let n=h(this._map.get(t)),r=n.right,o=n.left;r&&(r.left=n.left),o&&(o.right=n.right),n===this.head()&&(this._head=r),n===this.tail()&&(this._tail=o),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}}.LRUCache});let{LRUCache:r5}=r2,{TreeCache:r4}=r1;var r8=function({name:e,maxSize:t,mapNodeValue:n=e=>e}){let r=new r5({maxSize:t}),o=new r4({name:e,mapNodeValue:n,onHit:e=>{r.set(e,!0)},onSet:e=>{let n=r.tail();r.set(e,!0),n&&o.size()>t&&o.delete(n.key)}});return o};function r3(e,t,n){if("string"==typeof e&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((null==t?void 0:t.allowFunctions)!==!0)throw d("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(null===e)return"null";if("object"!=typeof e){var r;return null!==(r=JSON.stringify(e))&&void 0!==r?r:""}if(f(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((e,n)=>r3(e,t,n.toString()))}]`;if("function"==typeof e.toJSON)return r3(e.toJSON(n),t,n);if(e instanceof Map){let o={};for(let[i,a]of e)o["string"==typeof i?i:r3(i,t)]=a;return r3(o,t,n)}return e instanceof Set?r3(Array.from(e).sort((e,n)=>r3(e,t).localeCompare(r3(n,t))),t,n):void 0!==Symbol&&null!=e[Symbol.iterator]&&"function"==typeof e[Symbol.iterator]?r3(Array.from(e),t,n):`{${Object.keys(e).filter(t=>void 0!==e[t]).sort().map(n=>`${r3(n,t)}:${r3(e[n],t,n)}`).join(",")}}`}var r7=function(e,t={allowFunctions:!1}){return r3(e,t)};let{TreeCache:r9}=r1,r6={equality:"reference",eviction:"keep-all",maxSize:1/0};var oe=function({equality:e=r6.equality,eviction:t=r6.eviction,maxSize:n=r6.maxSize}=r6,r){let o=function(e){switch(e){case"reference":return e=>e;case"value":return e=>r7(e)}throw d(`Unrecognized equality policy ${e}`)}(e);return function(e,t,n,r){switch(e){case"keep-all":return new r9({name:r,mapNodeValue:n});case"lru":return r8({name:r,maxSize:h(t),mapNodeValue:n});case"most-recent":return r8({name:r,maxSize:1,mapNodeValue:n})}throw d(`Unrecognized eviction policy ${e}`)}(t,n,o,r)};let{isReactNative:ot,isWindow:on}=t_,{isLoadable:or,loadableWithError:oo,loadableWithPromise:oi,loadableWithValue:oa}=E,{WrappedValue:ol}=rX,{getNodeLoadable:os,peekNodeLoadable:ou,setNodeValue:oc}=eB,{saveDepsToStore:od}=el,{DEFAULT_VALUE:of,getConfigDeletionHandler:oh,getNode:op,registerNode:ov}=J,{isRecoilValue:o_}=z,{markRecoilValueModified:oy}=e4,{retainedByOptionWithDefault:om}=to,{recoilCallback:oS}=rj,{startPerfBlock:og}={startPerfBlock:function(e){return()=>null}};class oT{}let ob=new oT,oR=[],ow=new Map,oA=(r=0,()=>r++);function oE(e){let t=null,{key:n,get:r,cachePolicy_UNSTABLE:o}=e,i=null!=e.set?e.set:void 0,a=new Set,l=oe(null!=o?o:{equality:"reference",eviction:"keep-all"},n),s=om(e.retainedBy_UNSTABLE),u=new Map,c=0;function p(){return!k("recoil_memory_managament_2020")||c>0}function v(e){return e.getState().knownSelectors.add(n),c++,()=>{c--}}function _(){return void 0!==oh(n)&&!p()}function y(e,t){N(e,t)&&E(e),m(t,!0)}function m(e,n){let r=ow.get(e);if(null!=r){for(let o of r)oy(o,h(t));n&&ow.delete(e)}}function S(e,t){let n=ow.get(t);null==n&&ow.set(t,n=new Set),n.add(e)}function g(e,t,n,r,o,i){return t.then(r=>{if(!p())throw E(e),ob;null!=i.loadingDepKey&&i.loadingDepPromise===t?n.atomValues.set(i.loadingDepKey,oa(r)):e.getState().knownSelectors.forEach(e=>{n.atomValues.delete(e)});let a=R(e,n);if(a&&"loading"!==a.state){if((N(e,o)||null==A(e))&&y(e,o),"hasValue"===a.state)return a.contents;throw a.contents}if(!N(e,o)){let l=w(e,n);if(null!=l)return l.loadingLoadable.contents}let[s,u]=b(e,n,o);if("loading"!==s.state&&(V(n,s,u),y(e,o)),"hasError"===s.state)throw s.contents;return s.contents}).catch(t=>{if(t instanceof oT)throw ob;if(!p())throw E(e),ob;let i=oo(t);throw V(n,i,r),y(e,o),t})}function T(e,t,r,o){var i,l,s,u,c,d,f;for(let h of((N(e,o)||t.version===(null===(i=e.getState())||void 0===i?void 0:null===(l=i.currentTree)||void 0===l?void 0:l.version)||t.version===(null===(s=e.getState())||void 0===s?void 0:null===(u=s.nextTree)||void 0===u?void 0:u.version))&&od(n,r,e,null!==(c=null===(d=e.getState())||void 0===d?void 0:null===(f=d.nextTree)||void 0===f?void 0:f.version)&&void 0!==c?c:e.getState().currentTree.version),r))a.add(h)}function b(e,o,i){let a,l;let s=og(n),u=!0,c=!0,v=()=>{s(),c=!1},_=!1,S={loadingDepKey:null,loadingDepPromise:null},b=new Map;function R({key:t}){let n=os(e,o,t);switch(b.set(t,n),u||(T(e,o,new Set(b.keys()),i),function(e,t){if(N(e,t)){let n=h(A(e));n.stateVersions.clear(),m(t,!1)}}(e,i)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw S.loadingDepKey=t,S.loadingDepPromise=n.contents,n.contents}throw d("Invalid Loadable state")}let w=n=>(...r)=>{if(c)throw d("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null!=t||rM(!1),oS(e,n,r,{node:t})};try{(a=r({get:R,getCallback:w}),a=o_(a)?R(a):a,or(a)&&("hasError"===a.state&&(_=!0),a=a.contents),f(a))?a=a.then(t=>{if(!p())throw E(e),ob;let n=oa(t);return V(o,n,b),y(e,i),t}).catch(t=>{if(!p())throw E(e),ob;if(f(t))return g(e,t,o,b,i,S);let n=oo(t);throw V(o,n,b),y(e,i),t}).finally(v):v(),a=a instanceof ol?a.value:a}catch(k){f(a=k)?a=g(e,a,o,b,i,S).finally(v):(_=!0,v())}return l=_?oo(a):f(a)?oi(a):oa(a),u=!1,function(e,t,n){if(N(e,t)){let r=A(e);null!=r&&(r.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,i,b),T(e,o,new Set(b.keys()),i),[l,b]}function R(e,t){let r=t.atomValues.get(n);if(null!=r)return r;let o=new Set;try{r=l.get(n=>("string"!=typeof n&&rM(!1),os(e,t,n).contents),{onNodeVisit:e=>{"branch"===e.type&&e.nodeKey!==n&&o.add(e.nodeKey)}})}catch(i){throw d(`Problem with cache lookup for selector "${n}": ${i.message}`)}if(r){var a;t.atomValues.set(n,r),T(e,t,o,null===(a=A(e))||void 0===a?void 0:a.executionID)}return r}function w(e,t){let n=th([u.has(e)?[h(u.get(e))]:[],W(eR(u,([t])=>t!==e),([,e])=>e)]);for(let r of n){if(r.stateVersions.get(t.version)||!function(n){for(let[r,o]of n)if(!os(e,t,r).is(o))return!0;return!1}(r.depValuesDiscoveredSoFarDuringAsyncWork))return r.stateVersions.set(t.version,!0),r;r.stateVersions.set(t.version,!1)}}function A(e){return u.get(e)}function E(e){u.delete(e)}function N(e,t){var n;return t===(null===(n=A(e))||void 0===n?void 0:n.executionID)}function V(e,t,r){e.atomValues.set(n,t);try{l.set(Array.from(r.entries()).map(([e,t])=>[e,t.contents]),t)}catch(o){throw d(`Problem with setting cache for selector "${n}": ${o.message}`)}}function C(e,t){let r=t.atomValues.get(n);return null!=r?r:l.get(n=>{var r;return"string"!=typeof n&&rM(!1),null===(r=ou(e,t,n))||void 0===r?void 0:r.contents})}function M(e,t){return function(e){if(oR.includes(n)){let t=`Recoil selector has circular dependencies: ${oR.slice(oR.indexOf(n)).join(" → ")}`;return oo(d(t))}oR.push(n);try{return e()}finally{oR.pop()}}(()=>(function(e,t){var n;let r=R(e,t);if(null!=r)return E(e),r;let o=w(e,t);if(null!=o)return(null===(n=o.loadingLoadable)||void 0===n?void 0:n.state)==="loading"&&S(e,o.executionID),o.loadingLoadable;let i=oA(),[a,l]=b(e,t,i);return"loading"===a.state?(u.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:l,executionID:i,loadingLoadable:a,stateVersions:new Map([[t.version,!0]])}),S(e,i)):(E(e),V(t,a,l)),a})(e,t))}function U(e){e.atomValues.delete(n)}function I(e,n){for(let r of(null!=t||rM(!1),a)){var o;let i=op(r);null===(o=i.clearCache)||void 0===o||o.call(i,e,n)}a.clear(),U(n),l.clear(),oy(e,t)}if(null==i)return t=ov({key:n,nodeType:"selector",peek:C,get:M,init:v,invalidate:U,clearCache:I,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s});{let B=(e,t,r)=>{let o=!1,a=new Map;function l({key:r}){if(o)throw d("Recoil: Async selector sets are not currently supported.");let i=os(e,t,r);if("hasValue"===i.state)return i.contents;if("loading"===i.state){let a=`Getting value of asynchronous atom or selector "${r}" in a pending state while setting selector "${n}" is not yet supported.`;throw L(a),d(a)}throw i.contents}function s(n,r){if(o){let i="Recoil: Async selector sets are not currently supported.";throw L(i),d(i)}let s="function"==typeof r?r(l(n)):r,u=oc(e,t,n.key,s);u.forEach((e,t)=>a.set(t,e))}let u=i({set:s,get:l,reset:function(e){s(e,of)}},r);if(void 0!==u)throw f(u)?d("Recoil: Async selector sets are not currently supported."):d("Recoil: selector set should be a void function.");return o=!0,a};return t=ov({key:n,nodeType:"selector",peek:C,get:M,set:B,init:v,invalidate:U,clearCache:I,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s})}}oE.value=e=>new ol(e);let{isLoadable:oN,loadableWithError:ok,loadableWithPromise:oL,loadableWithValue:oV}=E,{WrappedValue:oC}=rX,{peekNodeInfo:oM}=eB,{DEFAULT_VALUE:oU,DefaultValue:oI,getConfigDeletionHandler:oB,registerNode:oD,setConfigDeletionHandler:oO}=J,{isRecoilValue:oP}=z,{getRecoilValueAsLoadable:ox,markRecoilValueModified:oz,setRecoilValue:oF,setRecoilValueLoadable:oW}=e4,{retainedByOptionWithDefault:o$}=to,oG=e=>e instanceof oC?e.value:e;function oj(e){let{...t}=e,n="default"in e?e.default:new Promise(()=>{});return oP(n)?function(e){let t=oj({...e,default:oU,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>t instanceof oI?t:h(e.persistence_UNSTABLE).validator(t,oU)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=oE({key:`${e.key}__withFallback`,get:({get:n})=>{let r=n(t);return r instanceof oI?e.default:r},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return oO(n.key,oB(e.key)),n}({...t,default:n}):function(e){var t;let n;let{key:r,persistence_UNSTABLE:o}=e,i=o$(e.retainedBy_UNSTABLE),a=0;function l(e){return oL(e.then(e=>(s=oV(e),e)).catch(e=>{throw s=ok(e),e}))}let s=f(e.default)?l(e.default):oN(e.default)?"loading"===e.default.state?l(e.default.contents):e.default:oV(oG(e.default));s.contents;let u=new Map;function c(e,t){var o,i;return null!==(o=null!==(i=t.atomValues.get(r))&&void 0!==i?i:n)&&void 0!==o?o:s}let p=oD({key:r,nodeType:"atom",peek:c,get:function(e,t){if(t.atomValues.has(r))return h(t.atomValues.get(r));if(!t.nonvalidatedAtoms.has(r))return s;{if(null!=n)return n;if(null==o)return F(`Tried to restore a persisted value for atom ${r} but it has no persistence settings.`),s;let i=t.nonvalidatedAtoms.get(r),a=o.validator(i,oU),l=a instanceof oI?s:oV(a);return n=l}},set:function(e,t,o){if(t.atomValues.has(r)){let i=h(t.atomValues.get(r));if("hasValue"===i.state&&o===i.contents)return new Map}else if(!t.nonvalidatedAtoms.has(r)&&o instanceof oI)return new Map;return n=void 0,new Map().set(r,oV(o))},init:function(t,n,o){var i,l,h;a++;let v=()=>{var e;a--,null===(e=u.get(t))||void 0===e||e.forEach(e=>e()),u.delete(t)};if(t.getState().knownAtoms.add(r),"loading"===s.state){let _=()=>{var e;let n=null!==(e=t.getState().nextTree)&&void 0!==e?e:t.getState().currentTree;n.atomValues.has(r)||oz(t,p)};s.contents.finally(_)}let y=null!==(i=e.effects)&&void 0!==i?i:e.effects_UNSTABLE;if(null!=y){let m=oU,S=!0,g=!1,T=null;function b(e){if(S&&e.key===r){let o=m;return o instanceof oI?c(t,n):f(o)?oL(o.then(e=>e instanceof oI?s.toPromise():e)):oV(o)}return ox(t,e)}function R(e){return b(e).toPromise()}function w(e){var n;let o=oM(t,null!==(n=t.getState().nextTree)&&void 0!==n?n:t.getState().currentTree,e.key);return!S||e.key!==r||m instanceof oI?o:{...o,isSet:!0,loadable:b(e)}}let A=e=>n=>{if(S){let r=b(p),o="hasValue"===r.state?r.contents:oU;f(m="function"==typeof n?n(o):n)&&(m=m.then(t=>(T={effect:e,value:t},t)))}else{if(f(n))throw d("Setting atoms to async values is not implemented.");"function"!=typeof n&&(T={effect:e,value:oG(n)}),oF(t,p,"function"==typeof n?t=>{let r=oG(n(t));return T={effect:e,value:r},r}:oG(n))}},E=e=>()=>A(e)(oU),N=e=>n=>{var o;let{release:i}=t.subscribeToTransactions(t=>{var o,i,a,l,u;let{currentTree:c,previousTree:d}=t.getState();d||(L("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),d=c);let f=null!==(o=c.atomValues.get(r))&&void 0!==o?o:s;if("hasValue"===f.state){let h=f.contents,p=null!==(i=d.atomValues.get(r))&&void 0!==i?i:s,v="hasValue"===p.state?p.contents:oU;(null===(a=T)||void 0===a?void 0:a.effect)!==e||(null===(l=T)||void 0===l?void 0:l.value)!==h?n(h,v,!c.atomValues.has(r)):(null===(u=T)||void 0===u?void 0:u.effect)===e&&(T=null)}},r);u.set(t,[...null!==(o=u.get(t))&&void 0!==o?o:[],i])};for(let k of y)try{let V=k({node:p,storeID:t.storeID,parentStoreID_UNSTABLE:t.parentStoreID,trigger:o,setSelf:A(k),resetSelf:E(k),onSet:N(k),getPromise:R,getLoadable:b,getInfo_UNSTABLE:w});null!=V&&u.set(t,[...null!==(l=u.get(t))&&void 0!==l?l:[],V])}catch(C){m=C,g=!0}if(S=!1,!(m instanceof oI)){let M=g?ok(m):f(m)?oL(function(e,t){let n=t.then(t=>{var o,i;let a=null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree;return(null===(i=a.atomValues.get(r))||void 0===i?void 0:i.contents)===n&&oF(e,p,t),t}).catch(t=>{var o,i;let a=null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree;throw(null===(i=a.atomValues.get(r))||void 0===i?void 0:i.contents)===n&&oW(e,p,ok(t)),t});return n}(t,m)):oV(oG(m));M.contents,n.atomValues.set(r,M),null===(h=t.getState().nextTree)||void 0===h||h.atomValues.set(r,M)}}return v},invalidate:function(){n=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==oB(r)&&a<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:i});return p}({...t,default:n})}oj.value=e=>new oC(e);var oH=Object.freeze({__proto__:null,MapCache:{MapCache:class{constructor(e){var t;p(this,"_map",void 0),p(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null==e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}}}.MapCache});let{LRUCache:oK}=r2,{MapCache:oq}=oH,oZ={equality:"reference",eviction:"none",maxSize:1/0};var oY=function({equality:e=oZ.equality,eviction:t=oZ.eviction,maxSize:n=oZ.maxSize}=oZ){let r=function(e){switch(e){case"reference":return e=>e;case"value":return e=>r7(e)}throw d(`Unrecognized equality policy ${e}`)}(e),o=function(e,t,n){switch(e){case"keep-all":return new oq({mapKey:n});case"lru":return new oK({mapKey:n,maxSize:h(t)});case"most-recent":return new oK({mapKey:n,maxSize:1})}throw d(`Unrecognized eviction policy ${e}`)}(t,n,r);return o};let{setConfigDeletionHandler:oJ}=J,{setConfigDeletionHandler:oX}=J,oQ=0;var o0=function(e){var t,n;let r=oY({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let o,i;try{o=r.get(t)}catch(a){throw d(`Problem with cache lookup for selector ${e.key}: ${a.message}`)}if(null!=o)return o;let l=`${e.key}__selectorFamily/${null!==(n=r7(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${oQ++}`,s=n=>e.get(t)(n),u=e.cachePolicy_UNSTABLE,c="function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;if(null!=e.set){let f=e.set,h=(e,n)=>f(t)(e,n);i=oE({key:l,get:s,set:h,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else i=oE({key:l,get:s,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(t,i),oX(i.key,()=>{r.delete(t)}),i}};let o1=o0({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}}),o2=o0({key:"__error",get:e=>()=>{throw d(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}}),{loadableWithError:o5,loadableWithPromise:o4,loadableWithValue:o8}=E;function o3(e,t){let n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(let[o,i]of t.entries())try{n[o]=e(i)}catch(a){r[o]=a}return[n,r]}function o7(e){return null!=e&&!f(e)}function o9(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function o6(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((e,n,r)=>({...e,[n]:t[r]}),{})}function ie(e,t,n){let r=n.map((e,n)=>null==e?o8(t[n]):f(e)?o4(e):o5(e));return o6(e,r)}let it=o0({key:"__waitForNone",get:e=>({get:t})=>{let n=o9(e),[r,o]=o3(t,n);return ie(e,r,o)},dangerouslyAllowMutability:!0}),ir=o0({key:"__waitForAny",get:e=>({get:t})=>{let n=o9(e),[r,o]=o3(t,n);return o.some(e=>!f(e))?ie(e,r,o):new Promise(t=>{for(let[n,i]of o.entries())f(i)&&i.then(i=>{r[n]=i,o[n]=void 0,t(ie(e,r,o))}).catch(i=>{o[n]=i,t(ie(e,r,o))})})},dangerouslyAllowMutability:!0}),io=o0({key:"__waitForAll",get:e=>({get:t})=>{let n=o9(e),[r,o]=o3(t,n);if(o.every(e=>null==e))return o6(e,r);let i=o.find(o7);if(null!=i)throw i;return Promise.all(o).then(t=>o6(e,t.map((e,t)=>void 0===e?r[t]:e)))},dangerouslyAllowMutability:!0}),ii=o0({key:"__waitForAllSettled",get:e=>({get:t})=>{let n=o9(e),[r,o]=o3(t,n);return o.every(e=>!f(e))?ie(e,r,o):Promise.all(o.map((e,t)=>f(e)?e.then(e=>{r[t]=e,o[t]=void 0}).catch(e=>{r[t]=void 0,o[t]=e}):null)).then(()=>ie(e,r,o))},dangerouslyAllowMutability:!0}),ia=o0({key:"__noWait",get:e=>({get:t})=>{try{return oE.value(o8(t(e)))}catch(n){return oE.value(f(n)?o4(n):o5(n))}},dangerouslyAllowMutability:!0}),{RecoilLoadable:il}=E,{DefaultValue:is}=J,{RecoilRoot:iu,useRecoilStoreID:ic}=np,{isRecoilValue:id}=z,{retentionZone:ih}=eT,{freshSnapshot:ip}=tF,{useRecoilState:iv,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:i_,useRecoilStateLoadable:iy,useRecoilValue:im,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:iS,useRecoilValueLoadable:ig,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:iT,useResetRecoilState:ib,useSetRecoilState:iR}={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){let e=nN(),t=nB(),[,n]=nH([]),r=nj(new Set);r.current=new Set;let o=nj(new Set),i=nj(new Map),a=nW(e=>{let t=i.current.get(e);t&&(t.release(),i.current.delete(e))},[i]),l=nW((e,t)=>{i.current.has(t)&&n([])},[]);return n$(()=>{let n=t.current;eo(r.current,o.current).forEach(t=>{if(i.current.has(t)){F(`Double subscription to RecoilValue "${t}"`);return}let r=nF(n,new nO(t),e=>l(e,t),e);i.current.set(t,r);let o=n.getState();o.nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{l(n.getState(),t)}):l(n.getState(),t)}),eo(o.current,r.current).forEach(e=>{a(e)}),o.current=r.current}),n$(()=>{let n=i.current;return eo(r.current,new Set(n.keys())).forEach(r=>{let o=nF(t.current,new nO(r),e=>l(e,r),e);n.set(r,o)}),()=>n.forEach((e,t)=>a(t))},[e,t,a,l]),nG(()=>{function e(e){return n=>{nx(t.current,e,n)}}function n(e){var n;r.current.has(e.key)||(r.current=nK(r.current,e.key));let o=t.current.getState();return nP(t.current,e,nC().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree)}function o(e){let r=n(e);return nq(r,e,t)}return{getRecoilValue:o,getRecoilValueLoadable:n,getRecoilState:function(t){return[o(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>nx(t.current,e,nL)}}},[r,t])},useRecoilState:function(e){return[n0(e),n1(e)]},useRecoilStateLoadable:function(e){return[nQ(e),n1(e)]},useRecoilValue:n0,useRecoilValueLoadable:nQ,useResetRecoilState:function(e){let t=nB();return nW(()=>{nx(t.current,e,nL)},[t,e])},useSetRecoilState:n1,useSetUnvalidatedAtomValues:function(){let e=nB();return(t,n={})=>{nk(()=>{e.current.addTransactionMetadata(n),t.forEach((t,n)=>nz(e.current,new nO(n),t))})}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:n2,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:n5,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[n5(e),n1(e)]}},{useGotoRecoilSnapshot:iw,useRecoilSnapshot:iA,useRecoilTransactionObserver:iE}=rp,{useRecoilCallback:iN}=rj,{noWait:ik,waitForAll:iL,waitForAllSettled:iV,waitForAny:iC,waitForNone:iM}={waitForNone:it,waitForAny:ir,waitForAll:io,waitForAllSettled:ii,noWait:ia};var iU={DefaultValue:is,isRecoilValue:id,RecoilLoadable:il,RecoilEnv:B,RecoilRoot:iu,useRecoilStoreID:ic,useRecoilBridgeAcrossReactRoots_UNSTABLE:function(){"MUTABLE_SOURCE"===ry().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");let e=rS().current;return rg(()=>function({children:t}){return s.createElement(rm,{store_INTERNAL:e},t)},[e])},atom:oj,selector:oE,atomFamily:function(e){var t,n;let r=oY({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,o;let i=r.get(t);if(null!=i)return i;let{cachePolicyForParams_UNSTABLE:a,...l}=e,s="default"in e?e.default:new Promise(()=>{}),u=oj({...l,key:`${e.key}__${null!==(n=r7(t))&&void 0!==n?n:"void"}`,default:"function"==typeof s?s(t):s,retainedBy_UNSTABLE:"function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"==typeof e.effects?e.effects(t):"function"==typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(o=e.effects)&&void 0!==o?o:e.effects_UNSTABLE});return r.set(t,u),oJ(u.key,()=>{r.delete(t)}),u}},selectorFamily:o0,constSelector:function(e){return o1(e)},errorSelector:function(e){return o2(e)},readOnlySelector:function(e){return e},noWait:ik,waitForNone:iM,waitForAny:iC,waitForAll:iL,waitForAllSettled:iV,useRecoilValue:im,useRecoilValueLoadable:ig,useRecoilState:iv,useRecoilStateLoadable:iy,useSetRecoilState:iR,useResetRecoilState:ib,useGetRecoilValueInfo_UNSTABLE:function(){let e=r_();return({key:t})=>rv(e.current,e.current.getState().currentTree,t)},useRecoilRefresher_UNSTABLE:function(e){let t=rH();return rq(()=>{let n=t.current;rK(n,e)},[e,t])},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:iT,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:iS,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:i_,useRecoilCallback:iN,useRecoilTransaction_UNSTABLE:function(e,t){let n=rY();return rJ(()=>(...t)=>{let r=rZ(n.current);r(n=>{e(n)(...t)})},null!=t?[...t,n]:void 0)},useGotoRecoilSnapshot:iw,useRecoilSnapshot:iA,useRecoilTransactionObserver_UNSTABLE:iE,snapshot_UNSTABLE:ip,useRetain:nE,retentionZone:ih};iU.DefaultValue,iU.isRecoilValue,iU.RecoilLoadable;var iI=iU.RecoilEnv,iB=iU.RecoilRoot;iU.useRecoilStoreID,iU.useRecoilBridgeAcrossReactRoots_UNSTABLE;var iD=iU.atom,iO=iU.selector;iU.atomFamily,iU.selectorFamily,iU.constSelector,iU.errorSelector,iU.readOnlySelector,iU.noWait,iU.waitForNone,iU.waitForAny,iU.waitForAll,iU.waitForAllSettled;var iP=iU.useRecoilValue;iU.useRecoilValueLoadable;var ix=iU.useRecoilState;iU.useRecoilStateLoadable;var iz=iU.useSetRecoilState;iU.useResetRecoilState,iU.useGetRecoilValueInfo_UNSTABLE,iU.useRecoilRefresher_UNSTABLE,iU.useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,iU.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,iU.useRecoilState_TRANSITION_SUPPORT_UNSTABLE,iU.useRecoilCallback,iU.useRecoilTransaction_UNSTABLE,iU.useGotoRecoilSnapshot,iU.useRecoilSnapshot,iU.useRecoilTransactionObserver_UNSTABLE,iU.snapshot_UNSTABLE,iU.useRetain,iU.retentionZone}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(80880)}),_N_E=e.O()}]); +//# sourceMappingURL=_app-e2313768736f95cc.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js.map b/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js.map new file mode 100644 index 000000000..455f7a85f --- /dev/null +++ b/static/web/_next/static/chunks/pages/_app-e2313768736f95cc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/pages/_app-e2313768736f95cc.js","mappings":"qFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,QACA,WACA,OAAeC,EAAQ,MACvB,EACA,6JCmBe,SAASC,EAAIC,CAA4C,CAAE,KACzDC,KADW,CAAEA,UAAAA,CAAAA,CAAWC,UAAAA,CAAAA,CAA+B,CAA5CF,EACpBG,EAASF,IAAmB,GAAnBA,CAAAA,EAAAA,EAAUG,SAAS,GAAnBH,KAAAA,IAAAA,EAAAA,EAAwBI,GAAQA,CAAK,CAEpD,OAAOF,EACL,GAAAG,EAAAC,GAAA,EAACC,EAAAA,EAAUA,CAAAA,UACT,GAAAF,EAAAC,GAAA,EAACN,EAAAA,CAAW,GAAGC,CAAS,KAG9B,oHMhCA,IAOAO,EACAC,EAkFAC,EA1FAC,EAAAC,EAAAC,OAAA,IAUA,SAAAC,GAAA,CACA,+CAEA,SAAAC,GAAA,CACA,iDAsBA,SAAAC,EAAAC,CAAA,EACA,GAAAT,IAAAU,WAEA,OAAAA,WAAAD,EAAA,EACA,CAEA,IAAAT,IAAAM,GAAA,CAAAN,CAAA,GAAAU,WAEA,OADAV,EAAAU,WACAA,WAAAD,EAAA,EACA,CACA,IAEA,OAAAT,EAAAS,EAAA,EACA,CAAM,MAAAE,EAAA,CAC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C,EACA,EACA,EAAGkW,IAAA,EAAAA,EAAA,IAAAA,EAAAoW,EAAA,CAAApqB,KAAAA,CAAA,CAEH,EAg4FAwzB,sBAAA0a,GACAjb,kBAAAkb,GACA0B,sCAAAzB,GACA0B,kBAAAtD,GAEAuD,UAAA7iB,GACAjW,cAAAs1B,EACA,CACAoC,CAAAA,GAAAvmC,YAAA,CACAumC,GAAAhnC,aAAA,CACAgnC,GAAAzqC,cAAA,CACA,IAAA8rC,GAAArB,GAAAC,SAAA,CACAqB,GAAAtB,GAAA5yC,UAAA,CACA4yC,GAAA1iB,gBAAA,CACA0iB,GAAAE,wCAAA,CACA,IAAAqB,GAAAvB,GAAAxjB,IAAA,CACAglB,GAAAxB,GAAAhQ,QAAA,CACAgQ,GAAAG,UAAA,CACAH,GAAAS,cAAA,CACAT,GAAAU,aAAA,CACAV,GAAAW,aAAA,CACAX,GAAAY,gBAAA,CACAZ,GAAA1C,MAAA,CACA0C,GAAAjD,WAAA,CACAiD,GAAAhD,UAAA,CACAgD,GAAA/C,UAAA,CACA+C,GAAA3C,iBAAA,CACA,IAAAoE,GAAAzB,GAAA9d,cAAA,CACA8d,GAAAne,sBAAA,CACA,IAAA6f,GAAA1B,GAAAlC,cAAA,CACAkC,GAAA9B,sBAAA,CACA,IAAAyD,GAAA3B,GAAA7d,iBAAA,CACA6d,GAAAxB,mBAAA,CACAwB,GAAAa,8BAAA,CACAb,GAAAc,2BAAA,CACAd,GAAA5d,kDAAA,CACA4d,GAAA3d,0CAAA,CACA2d,GAAAhC,0CAAA,CACAgC,GAAAvX,iBAAA,CACAuX,GAAAe,6BAAA,CACAf,GAAAnb,qBAAA,CACAmb,GAAA1b,iBAAA,CACA0b,GAAAkB,qCAAA,CACAlB,GAAAmB,iBAAA,CACAnB,GAAAoB,SAAA,CACApB,GAAA13B,aAAA","sources":["webpack://_N_E/?adc8","webpack://_N_E/./pages/_app.tsx","webpack://_N_E/./styles/variables.css","webpack://_N_E/./components/video/VideoJS/VideoJS.scss","webpack://_N_E/./styles/ant-overrides.scss","webpack://_N_E/./styles/globals.scss","webpack://_N_E/./styles/global.less","webpack://_N_E/./node_modules/process/browser.js","webpack://_N_E/./node_modules/recoil/es/index.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_app\",\n function () {\n return require(\"private-next-pages/_app.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_app\"])\n });\n }\n ","// All these imports are almost exclusively for the Admin.\n// We should not be loading them for the main frontend UI.\n\n// order matters!\nimport '../styles/variables.css';\nimport '../styles/global.less';\nimport '../styles/globals.scss';\nimport '../styles/ant-overrides.scss';\n\n// TODO: Move this videojs sass to the player component.\nimport '../components/video/VideoJS/VideoJS.scss';\n\nimport { AppProps } from 'next/app';\nimport { ReactElement, ReactNode } from 'react';\nimport { NextPage } from 'next';\nimport { RecoilRoot } from 'recoil';\n\nexport type NextPageWithLayout

= NextPage & {\n getLayout?: (page: ReactElement) => ReactNode;\n};\n\ntype AppPropsWithLayout = AppProps & {\n Component: NextPageWithLayout;\n};\n\nexport default function App({ Component, pageProps }: AppPropsWithLayout) {\n const layout = Component.getLayout ?? (page => page);\n\n return layout(\n \n \n ,\n );\n}\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","import react from 'react';\nimport reactDom from 'react-dom';\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction err(message) {\n const error = new Error(message); // In V8, Error objects keep the closure scope chain alive until the\n // err.stack property is accessed.\n\n if (error.stack === undefined) {\n // IE sets the stack only if error is thrown\n try {\n throw error;\n } catch (_) {} // eslint-disable-line fb-www/no-unused-catch-bindings, no-empty\n\n }\n\n return error;\n}\n\nvar err_1 = err;\n\n// @oss-only\n\n\nvar Recoil_err = err_1;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\n// Split declaration and implementation to allow this function to pretend to\n// check for actual instance of Promise instead of something with a `then`\n// method.\n// eslint-disable-next-line no-redeclare\nfunction isPromise(p) {\n return !!p && typeof p.then === 'function';\n}\n\nvar Recoil_isPromise = isPromise;\n\nfunction nullthrows(x, message) {\n if (x != null) {\n return x;\n }\n\n throw Recoil_err(message !== null && message !== void 0 ? message : 'Got unexpected null or undefined');\n}\n\nvar Recoil_nullthrows = nullthrows;\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nclass BaseLoadable {\n getValue() {\n throw Recoil_err('BaseLoadable');\n }\n\n toPromise() {\n throw Recoil_err('BaseLoadable');\n }\n\n valueMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n valueOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected value, but in \"${this.state}\" state`);\n }\n\n promiseMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n promiseOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected promise, but in \"${this.state}\" state`);\n }\n\n errorMaybe() {\n throw Recoil_err('BaseLoadable');\n }\n\n errorOrThrow() {\n // $FlowFixMe[prop-missing]\n throw Recoil_err(`Loadable expected error, but in \"${this.state}\" state`);\n }\n\n is(other) {\n // $FlowFixMe[prop-missing]\n return other.state === this.state && other.contents === this.contents;\n }\n\n map(_map) {\n throw Recoil_err('BaseLoadable');\n }\n\n}\n\nclass ValueLoadable extends BaseLoadable {\n constructor(value) {\n super();\n\n _defineProperty(this, \"state\", 'hasValue');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = value;\n }\n\n getValue() {\n return this.contents;\n }\n\n toPromise() {\n return Promise.resolve(this.contents);\n }\n\n valueMaybe() {\n return this.contents;\n }\n\n valueOrThrow() {\n return this.contents;\n }\n\n promiseMaybe() {\n return undefined;\n }\n\n errorMaybe() {\n return undefined;\n }\n\n map(map) {\n try {\n const next = map(this.contents);\n return Recoil_isPromise(next) ? loadableWithPromise(next) : isLoadable(next) ? next : loadableWithValue(next);\n } catch (e) {\n return Recoil_isPromise(e) ? // If we \"suspended\", then try again.\n // errors and subsequent retries will be handled in 'loading' case\n // $FlowFixMe[prop-missing]\n loadableWithPromise(e.next(() => this.map(map))) : loadableWithError(e);\n }\n }\n\n}\n\nclass ErrorLoadable extends BaseLoadable {\n constructor(error) {\n super();\n\n _defineProperty(this, \"state\", 'hasError');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = error;\n }\n\n getValue() {\n throw this.contents;\n }\n\n toPromise() {\n return Promise.reject(this.contents);\n }\n\n valueMaybe() {\n return undefined;\n }\n\n promiseMaybe() {\n return undefined;\n }\n\n errorMaybe() {\n return this.contents;\n }\n\n errorOrThrow() {\n return this.contents;\n }\n\n map(_map) {\n // $FlowIssue[incompatible-return]\n return this;\n }\n\n}\n\nclass LoadingLoadable extends BaseLoadable {\n constructor(promise) {\n super();\n\n _defineProperty(this, \"state\", 'loading');\n\n _defineProperty(this, \"contents\", void 0);\n\n this.contents = promise;\n }\n\n getValue() {\n throw this.contents;\n }\n\n toPromise() {\n return this.contents;\n }\n\n valueMaybe() {\n return undefined;\n }\n\n promiseMaybe() {\n return this.contents;\n }\n\n promiseOrThrow() {\n return this.contents;\n }\n\n errorMaybe() {\n return undefined;\n }\n\n map(map) {\n return loadableWithPromise(this.contents.then(value => {\n const next = map(value);\n\n if (isLoadable(next)) {\n const nextLoadable = next;\n\n switch (nextLoadable.state) {\n case 'hasValue':\n return nextLoadable.contents;\n\n case 'hasError':\n throw nextLoadable.contents;\n\n case 'loading':\n return nextLoadable.contents;\n }\n } // $FlowIssue[incompatible-return]\n\n\n return next;\n }).catch(e => {\n if (Recoil_isPromise(e)) {\n // we were \"suspended,\" try again\n return e.then(() => this.map(map).contents);\n }\n\n throw e;\n }));\n }\n\n}\n\nfunction loadableWithValue(value) {\n return Object.freeze(new ValueLoadable(value));\n}\n\nfunction loadableWithError(error) {\n return Object.freeze(new ErrorLoadable(error));\n}\n\nfunction loadableWithPromise(promise) {\n return Object.freeze(new LoadingLoadable(promise));\n}\n\nfunction loadableLoading() {\n return Object.freeze(new LoadingLoadable(new Promise(() => {})));\n}\n\nfunction loadableAllArray(inputs) {\n return inputs.every(i => i.state === 'hasValue') ? loadableWithValue(inputs.map(i => i.contents)) : inputs.some(i => i.state === 'hasError') ? loadableWithError(Recoil_nullthrows(inputs.find(i => i.state === 'hasError'), 'Invalid loadable passed to loadableAll').contents) : loadableWithPromise(Promise.all(inputs.map(i => i.contents)));\n}\n\nfunction loadableAll(inputs) {\n const unwrapedInputs = Array.isArray(inputs) ? inputs : Object.getOwnPropertyNames(inputs).map(key => inputs[key]);\n const normalizedInputs = unwrapedInputs.map(x => isLoadable(x) ? x : Recoil_isPromise(x) ? loadableWithPromise(x) : loadableWithValue(x));\n const output = loadableAllArray(normalizedInputs);\n return Array.isArray(inputs) ? // $FlowIssue[incompatible-return]\n output : // Object.getOwnPropertyNames() has consistent key ordering with ES6\n // $FlowIssue[incompatible-call]\n output.map(outputs => Object.getOwnPropertyNames(inputs).reduce((out, key, idx) => ({ ...out,\n [key]: outputs[idx]\n }), {}));\n}\n\nfunction isLoadable(x) {\n return x instanceof BaseLoadable;\n}\n\nconst LoadableStaticInterface = {\n of: value => Recoil_isPromise(value) ? loadableWithPromise(value) : isLoadable(value) ? value : loadableWithValue(value),\n error: error => loadableWithError(error),\n // $FlowIssue[incompatible-return]\n loading: () => loadableLoading(),\n // $FlowIssue[unclear-type]\n all: loadableAll,\n isLoadable\n};\nvar Recoil_Loadable = {\n loadableWithValue,\n loadableWithError,\n loadableWithPromise,\n loadableLoading,\n loadableAll,\n isLoadable,\n RecoilLoadable: LoadableStaticInterface\n};\n\nvar Recoil_Loadable_1 = Recoil_Loadable.loadableWithValue;\nvar Recoil_Loadable_2 = Recoil_Loadable.loadableWithError;\nvar Recoil_Loadable_3 = Recoil_Loadable.loadableWithPromise;\nvar Recoil_Loadable_4 = Recoil_Loadable.loadableLoading;\nvar Recoil_Loadable_5 = Recoil_Loadable.loadableAll;\nvar Recoil_Loadable_6 = Recoil_Loadable.isLoadable;\nvar Recoil_Loadable_7 = Recoil_Loadable.RecoilLoadable;\n\nvar Recoil_Loadable$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n loadableWithValue: Recoil_Loadable_1,\n loadableWithError: Recoil_Loadable_2,\n loadableWithPromise: Recoil_Loadable_3,\n loadableLoading: Recoil_Loadable_4,\n loadableAll: Recoil_Loadable_5,\n isLoadable: Recoil_Loadable_6,\n RecoilLoadable: Recoil_Loadable_7\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nconst gks = new Map().set('recoil_hamt_2020', true).set('recoil_sync_external_store', true).set('recoil_suppress_rerender_in_callback', true).set('recoil_memory_managament_2020', true);\n\nfunction Recoil_gkx_OSS(gk) {\n var _gks$get;\n\n return (_gks$get = gks.get(gk)) !== null && _gks$get !== void 0 ? _gks$get : false;\n}\n\nRecoil_gkx_OSS.setPass = gk => {\n gks.set(gk, true);\n};\n\nRecoil_gkx_OSS.setFail = gk => {\n gks.set(gk, false);\n};\n\nRecoil_gkx_OSS.clear = () => {\n gks.clear();\n};\n\nvar Recoil_gkx = Recoil_gkx_OSS; // @oss-only\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction recoverableViolation(message, _projectName, {\n error\n} = {}) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(message, error);\n }\n\n return null;\n}\n\nvar recoverableViolation_1 = recoverableViolation;\n\n// @oss-only\n\n\nvar Recoil_recoverableViolation = recoverableViolation_1;\n\nvar _createMutableSource, _useMutableSource, _useSyncExternalStore;\n\n\n\n\n\n\n\nconst createMutableSource = // flowlint-next-line unclear-type:off\n(_createMutableSource = react.createMutableSource) !== null && _createMutableSource !== void 0 ? _createMutableSource : react.unstable_createMutableSource;\nconst useMutableSource = // flowlint-next-line unclear-type:off\n(_useMutableSource = react.useMutableSource) !== null && _useMutableSource !== void 0 ? _useMutableSource : react.unstable_useMutableSource; // https://github.com/reactwg/react-18/discussions/86\n\nconst useSyncExternalStore = // flowlint-next-line unclear-type:off\n(_useSyncExternalStore = react.useSyncExternalStore) !== null && _useSyncExternalStore !== void 0 ? _useSyncExternalStore : // flowlint-next-line unclear-type:off\nreact.unstable_useSyncExternalStore;\nlet ReactRendererVersionMismatchWarnOnce = false; // Check if the current renderer supports `useSyncExternalStore()`.\n// Since React goes through a proxy dispatcher and the current renderer can\n// change we can't simply check if `React.useSyncExternalStore()` is defined.\n\nfunction currentRendererSupportsUseSyncExternalStore() {\n var _ReactCurrentDispatch;\n\n // $FlowFixMe[incompatible-use]\n const {\n ReactCurrentDispatcher,\n ReactCurrentOwner\n } =\n /* $FlowFixMe[prop-missing] This workaround was approved as a safer mechanism\n * to detect if the current renderer supports useSyncExternalStore()\n * https://fb.workplace.com/groups/reactjs/posts/9558682330846963/ */\n react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n const dispatcher = (_ReactCurrentDispatch = ReactCurrentDispatcher === null || ReactCurrentDispatcher === void 0 ? void 0 : ReactCurrentDispatcher.current) !== null && _ReactCurrentDispatch !== void 0 ? _ReactCurrentDispatch : ReactCurrentOwner.currentDispatcher;\n const isUseSyncExternalStoreSupported = dispatcher.useSyncExternalStore != null;\n\n if (useSyncExternalStore && !isUseSyncExternalStoreSupported && !ReactRendererVersionMismatchWarnOnce) {\n ReactRendererVersionMismatchWarnOnce = true;\n Recoil_recoverableViolation('A React renderer without React 18+ API support is being used with React 18+.');\n }\n\n return isUseSyncExternalStoreSupported;\n}\n\n/**\n * mode: The React API and approach to use for syncing state with React\n * early: Re-renders from Recoil updates occur:\n * 1) earlier\n * 2) in sync with React updates in the same batch\n * 3) before transaction observers instead of after.\n * concurrent: Is the current mode compatible with Concurrent Mode and useTransition()\n */\nfunction reactMode() {\n // NOTE: This mode is currently broken with some Suspense cases\n // see Recoil_selector-test.js\n if (Recoil_gkx('recoil_transition_support')) {\n return {\n mode: 'TRANSITION_SUPPORT',\n early: true,\n concurrent: true\n };\n }\n\n if (Recoil_gkx('recoil_sync_external_store') && useSyncExternalStore != null) {\n return {\n mode: 'SYNC_EXTERNAL_STORE',\n early: true,\n concurrent: false\n };\n }\n\n if (Recoil_gkx('recoil_mutable_source') && useMutableSource != null && typeof window !== 'undefined' && !window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE) {\n return Recoil_gkx('recoil_suppress_rerender_in_callback') ? {\n mode: 'MUTABLE_SOURCE',\n early: true,\n concurrent: true\n } : {\n mode: 'MUTABLE_SOURCE',\n early: false,\n concurrent: false\n };\n }\n\n return Recoil_gkx('recoil_suppress_rerender_in_callback') ? {\n mode: 'LEGACY',\n early: true,\n concurrent: false\n } : {\n mode: 'LEGACY',\n early: false,\n concurrent: false\n };\n} // TODO Need to figure out if there is a standard/open-source equivalent to see if hot module replacement is happening:\n\n\nfunction isFastRefreshEnabled() {\n // @fb-only: const {isAcceptingUpdate} = require('__debug');\n // @fb-only: return typeof isAcceptingUpdate === 'function' && isAcceptingUpdate();\n return false; // @oss-only\n}\n\nvar Recoil_ReactMode = {\n createMutableSource,\n useMutableSource,\n useSyncExternalStore,\n currentRendererSupportsUseSyncExternalStore,\n reactMode,\n isFastRefreshEnabled\n};\n\nconst env = {\n RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED: true\n};\n/**\n * Allow NodeJS/NextJS/etc to set the initial state through process.env variable\n * Note: we don't assume 'process' is available in all runtime environments\n *\n * @see https://github.com/facebookexperimental/Recoil/issues/733\n */\n\nfunction applyProcessEnvFlagOverrides() {\n var _process, _process$env$RECOIL_D, _process$env$RECOIL_D2;\n\n // note: this check is needed in addition to the check below, runtime error will occur without it!\n // eslint-disable-next-line fb-www/typeof-undefined\n if (typeof process === 'undefined') {\n return;\n }\n\n if (((_process = process) === null || _process === void 0 ? void 0 : _process.env) == null) {\n return;\n }\n\n const sanitizedValue = (_process$env$RECOIL_D = process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED) === null || _process$env$RECOIL_D === void 0 ? void 0 : (_process$env$RECOIL_D2 = _process$env$RECOIL_D.toLowerCase()) === null || _process$env$RECOIL_D2 === void 0 ? void 0 : _process$env$RECOIL_D2.trim();\n\n if (sanitizedValue == null || sanitizedValue === '') {\n return;\n }\n\n const allowedValues = ['true', 'false'];\n\n if (!allowedValues.includes(sanitizedValue)) {\n throw Recoil_err(`process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${sanitizedValue}`);\n }\n\n env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = sanitizedValue === 'true';\n}\n\napplyProcessEnvFlagOverrides();\nvar Recoil_RecoilEnv = env;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\n// eslint-disable-next-line no-unused-vars\nclass AbstractRecoilValue {\n constructor(newKey) {\n _defineProperty(this, \"key\", void 0);\n\n this.key = newKey;\n }\n\n toJSON() {\n return {\n key: this.key\n };\n }\n\n}\n\nclass RecoilState extends AbstractRecoilValue {}\n\nclass RecoilValueReadOnly extends AbstractRecoilValue {}\n\nfunction isRecoilValue(x) {\n return x instanceof RecoilState || x instanceof RecoilValueReadOnly;\n}\n\nvar Recoil_RecoilValue = {\n AbstractRecoilValue,\n RecoilState,\n RecoilValueReadOnly,\n isRecoilValue\n};\n\nvar Recoil_RecoilValue_1 = Recoil_RecoilValue.AbstractRecoilValue;\nvar Recoil_RecoilValue_2 = Recoil_RecoilValue.RecoilState;\nvar Recoil_RecoilValue_3 = Recoil_RecoilValue.RecoilValueReadOnly;\nvar Recoil_RecoilValue_4 = Recoil_RecoilValue.isRecoilValue;\n\nvar Recoil_RecoilValue$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n AbstractRecoilValue: Recoil_RecoilValue_1,\n RecoilState: Recoil_RecoilValue_2,\n RecoilValueReadOnly: Recoil_RecoilValue_3,\n isRecoilValue: Recoil_RecoilValue_4\n});\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction sprintf(format, ...args) {\n let index = 0;\n return format.replace(/%s/g, () => String(args[index++]));\n}\n\nvar sprintf_1 = sprintf;\n\nfunction expectationViolation(format, ...args) {\n if (process.env.NODE_ENV !== \"production\") {\n const message = sprintf_1.call(null, format, ...args);\n const error = new Error(message);\n error.name = 'Expectation Violation';\n console.error(error);\n }\n}\n\nvar expectationViolation_1 = expectationViolation;\n\n// @oss-only\n\n\nvar Recoil_expectationViolation = expectationViolation_1;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Creates a new iterable whose output is generated by passing the input\n * iterable's values through the mapper function.\n */\n\nfunction mapIterable(iterable, callback) {\n // Use generator to create iterable/iterator\n return function* () {\n let index = 0;\n\n for (const value of iterable) {\n yield callback(value, index++);\n }\n }();\n}\n\nvar Recoil_mapIterable = mapIterable;\n\nconst {\n isFastRefreshEnabled: isFastRefreshEnabled$1\n} = Recoil_ReactMode;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass DefaultValue {}\n\nconst DEFAULT_VALUE = new DefaultValue();\n// flowlint-next-line unclear-type:off\nconst nodes = new Map(); // flowlint-next-line unclear-type:off\n\nconst recoilValues = new Map();\n/* eslint-disable no-redeclare */\n\nfunction recoilValuesForKeys(keys) {\n return Recoil_mapIterable(keys, key => Recoil_nullthrows(recoilValues.get(key)));\n}\n\nfunction checkForDuplicateAtomKey(key) {\n if (nodes.has(key)) {\n const message = `Duplicate atom key \"${key}\". This is a FATAL ERROR in\n production. But it is safe to ignore this warning if it occurred because of\n hot module replacement.`;\n\n if (process.env.NODE_ENV !== \"production\") {\n // TODO Figure this out for open-source\n if (!isFastRefreshEnabled$1()) {\n Recoil_expectationViolation(message, 'recoil');\n }\n } else {\n // @fb-only: recoverableViolation(message, 'recoil');\n console.warn(message); // @oss-only\n }\n }\n}\n\nfunction registerNode(node) {\n if (Recoil_RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED) {\n checkForDuplicateAtomKey(node.key);\n }\n\n nodes.set(node.key, node);\n const recoilValue = node.set == null ? new Recoil_RecoilValue$1.RecoilValueReadOnly(node.key) : new Recoil_RecoilValue$1.RecoilState(node.key);\n recoilValues.set(node.key, recoilValue);\n return recoilValue;\n}\n/* eslint-enable no-redeclare */\n\n\nclass NodeMissingError extends Error {} // flowlint-next-line unclear-type:off\n\n\nfunction getNode(key) {\n const node = nodes.get(key);\n\n if (node == null) {\n throw new NodeMissingError(`Missing definition for RecoilValue: \"${key}\"\"`);\n }\n\n return node;\n} // flowlint-next-line unclear-type:off\n\n\nfunction getNodeMaybe(key) {\n return nodes.get(key);\n}\n\nconst configDeletionHandlers = new Map();\n\nfunction deleteNodeConfigIfPossible(key) {\n var _node$shouldDeleteCon;\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const node = nodes.get(key);\n\n if (node !== null && node !== void 0 && (_node$shouldDeleteCon = node.shouldDeleteConfigOnRelease) !== null && _node$shouldDeleteCon !== void 0 && _node$shouldDeleteCon.call(node)) {\n var _getConfigDeletionHan;\n\n nodes.delete(key);\n (_getConfigDeletionHan = getConfigDeletionHandler(key)) === null || _getConfigDeletionHan === void 0 ? void 0 : _getConfigDeletionHan();\n configDeletionHandlers.delete(key);\n }\n}\n\nfunction setConfigDeletionHandler(key, fn) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n if (fn === undefined) {\n configDeletionHandlers.delete(key);\n } else {\n configDeletionHandlers.set(key, fn);\n }\n}\n\nfunction getConfigDeletionHandler(key) {\n return configDeletionHandlers.get(key);\n}\n\nvar Recoil_Node = {\n nodes,\n recoilValues,\n registerNode,\n getNode,\n getNodeMaybe,\n deleteNodeConfigIfPossible,\n setConfigDeletionHandler,\n getConfigDeletionHandler,\n recoilValuesForKeys,\n NodeMissingError,\n DefaultValue,\n DEFAULT_VALUE\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction enqueueExecution(s, f) {\n f();\n}\n\nvar Recoil_Queue = {\n enqueueExecution\n};\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nvar hamt_1 = createCommonjsModule(function (module) {\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n/**\n @fileOverview Hash Array Mapped Trie.\n\n Code based on: https://github.com/exclipy/pdata\n*/\n\n\nvar hamt = {}; // export\n\n/* Configuration\n ******************************************************************************/\n\nvar SIZE = 5;\nvar BUCKET_SIZE = Math.pow(2, SIZE);\nvar MASK = BUCKET_SIZE - 1;\nvar MAX_INDEX_NODE = BUCKET_SIZE / 2;\nvar MIN_ARRAY_NODE = BUCKET_SIZE / 4;\n/*\n ******************************************************************************/\n\nvar nothing = {};\n\nvar constant = function constant(x) {\n return function () {\n return x;\n };\n};\n/**\n Get 32 bit hash of string.\n\n Based on:\n http://stackoverflow.com/questions/7616461/generate-a-hash-from-string-in-javascript-jquery\n*/\n\n\nvar hash = hamt.hash = function (str) {\n var type = typeof str === 'undefined' ? 'undefined' : _typeof(str);\n if (type === 'number') return str;\n if (type !== 'string') str += '';\n var hash = 0;\n\n for (var i = 0, len = str.length; i < len; ++i) {\n var c = str.charCodeAt(i);\n hash = (hash << 5) - hash + c | 0;\n }\n\n return hash;\n};\n/* Bit Ops\n ******************************************************************************/\n\n/**\n Hamming weight.\n\n Taken from: http://jsperf.com/hamming-weight\n*/\n\n\nvar popcount = function popcount(x) {\n x -= x >> 1 & 0x55555555;\n x = (x & 0x33333333) + (x >> 2 & 0x33333333);\n x = x + (x >> 4) & 0x0f0f0f0f;\n x += x >> 8;\n x += x >> 16;\n return x & 0x7f;\n};\n\nvar hashFragment = function hashFragment(shift, h) {\n return h >>> shift & MASK;\n};\n\nvar toBitmap = function toBitmap(x) {\n return 1 << x;\n};\n\nvar fromBitmap = function fromBitmap(bitmap, bit) {\n return popcount(bitmap & bit - 1);\n};\n/* Array Ops\n ******************************************************************************/\n\n/**\n Set a value in an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to change.\n @param v New value\n @param arr Array.\n*/\n\n\nvar arrayUpdate = function arrayUpdate(mutate, at, v, arr) {\n var out = arr;\n\n if (!mutate) {\n var len = arr.length;\n out = new Array(len);\n\n for (var i = 0; i < len; ++i) {\n out[i] = arr[i];\n }\n }\n\n out[at] = v;\n return out;\n};\n/**\n Remove a value from an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to remove.\n @param arr Array.\n*/\n\n\nvar arraySpliceOut = function arraySpliceOut(mutate, at, arr) {\n var newLen = arr.length - 1;\n var i = 0;\n var g = 0;\n var out = arr;\n\n if (mutate) {\n i = g = at;\n } else {\n out = new Array(newLen);\n\n while (i < at) {\n out[g++] = arr[i++];\n }\n }\n\n ++i;\n\n while (i <= newLen) {\n out[g++] = arr[i++];\n }\n\n if (mutate) {\n out.length = newLen;\n }\n\n return out;\n};\n/**\n Insert a value into an array.\n\n @param mutate Should the input array be mutated?\n @param at Index to insert at.\n @param v Value to insert,\n @param arr Array.\n*/\n\n\nvar arraySpliceIn = function arraySpliceIn(mutate, at, v, arr) {\n var len = arr.length;\n\n if (mutate) {\n var _i = len;\n\n while (_i >= at) {\n arr[_i--] = arr[_i];\n }\n\n arr[at] = v;\n return arr;\n }\n\n var i = 0,\n g = 0;\n var out = new Array(len + 1);\n\n while (i < at) {\n out[g++] = arr[i++];\n }\n\n out[at] = v;\n\n while (i < len) {\n out[++g] = arr[i++];\n }\n\n return out;\n};\n/* Node Structures\n ******************************************************************************/\n\n\nvar LEAF = 1;\nvar COLLISION = 2;\nvar INDEX = 3;\nvar ARRAY = 4;\n/**\n Empty node.\n*/\n\nvar empty = {\n __hamt_isEmpty: true\n};\n\nvar isEmptyNode = function isEmptyNode(x) {\n return x === empty || x && x.__hamt_isEmpty;\n};\n/**\n Leaf holding a value.\n\n @member edit Edit of the node.\n @member hash Hash of key.\n @member key Key.\n @member value Value stored.\n*/\n\n\nvar Leaf = function Leaf(edit, hash, key, value) {\n return {\n type: LEAF,\n edit: edit,\n hash: hash,\n key: key,\n value: value,\n _modify: Leaf__modify\n };\n};\n/**\n Leaf holding multiple values with the same hash but different keys.\n\n @member edit Edit of the node.\n @member hash Hash of key.\n @member children Array of collision children node.\n*/\n\n\nvar Collision = function Collision(edit, hash, children) {\n return {\n type: COLLISION,\n edit: edit,\n hash: hash,\n children: children,\n _modify: Collision__modify\n };\n};\n/**\n Internal node with a sparse set of children.\n\n Uses a bitmap and array to pack children.\n\n @member edit Edit of the node.\n @member mask Bitmap that encode the positions of children in the array.\n @member children Array of child nodes.\n*/\n\n\nvar IndexedNode = function IndexedNode(edit, mask, children) {\n return {\n type: INDEX,\n edit: edit,\n mask: mask,\n children: children,\n _modify: IndexedNode__modify\n };\n};\n/**\n Internal node with many children.\n\n @member edit Edit of the node.\n @member size Number of children.\n @member children Array of child nodes.\n*/\n\n\nvar ArrayNode = function ArrayNode(edit, size, children) {\n return {\n type: ARRAY,\n edit: edit,\n size: size,\n children: children,\n _modify: ArrayNode__modify\n };\n};\n/**\n Is `node` a leaf node?\n*/\n\n\nvar isLeaf = function isLeaf(node) {\n return node === empty || node.type === LEAF || node.type === COLLISION;\n};\n/* Internal node operations.\n ******************************************************************************/\n\n/**\n Expand an indexed node into an array node.\n\n @param edit Current edit.\n @param frag Index of added child.\n @param child Added child.\n @param mask Index node mask before child added.\n @param subNodes Index node children before child added.\n*/\n\n\nvar expand = function expand(edit, frag, child, bitmap, subNodes) {\n var arr = [];\n var bit = bitmap;\n var count = 0;\n\n for (var i = 0; bit; ++i) {\n if (bit & 1) arr[i] = subNodes[count++];\n bit >>>= 1;\n }\n\n arr[frag] = child;\n return ArrayNode(edit, count + 1, arr);\n};\n/**\n Collapse an array node into a indexed node.\n\n @param edit Current edit.\n @param count Number of elements in new array.\n @param removed Index of removed element.\n @param elements Array node children before remove.\n*/\n\n\nvar pack = function pack(edit, count, removed, elements) {\n var children = new Array(count - 1);\n var g = 0;\n var bitmap = 0;\n\n for (var i = 0, len = elements.length; i < len; ++i) {\n if (i !== removed) {\n var elem = elements[i];\n\n if (elem && !isEmptyNode(elem)) {\n children[g++] = elem;\n bitmap |= 1 << i;\n }\n }\n }\n\n return IndexedNode(edit, bitmap, children);\n};\n/**\n Merge two leaf nodes.\n\n @param shift Current shift.\n @param h1 Node 1 hash.\n @param n1 Node 1.\n @param h2 Node 2 hash.\n @param n2 Node 2.\n*/\n\n\nvar mergeLeaves = function mergeLeaves(edit, shift, h1, n1, h2, n2) {\n if (h1 === h2) return Collision(edit, h1, [n2, n1]);\n var subH1 = hashFragment(shift, h1);\n var subH2 = hashFragment(shift, h2);\n return IndexedNode(edit, toBitmap(subH1) | toBitmap(subH2), subH1 === subH2 ? [mergeLeaves(edit, shift + SIZE, h1, n1, h2, n2)] : subH1 < subH2 ? [n1, n2] : [n2, n1]);\n};\n/**\n Update an entry in a collision list.\n\n @param mutate Should mutation be used?\n @param edit Current edit.\n @param keyEq Key compare function.\n @param hash Hash of collision.\n @param list Collision list.\n @param f Update function.\n @param k Key to update.\n @param size Size ref.\n*/\n\n\nvar updateCollisionList = function updateCollisionList(mutate, edit, keyEq, h, list, f, k, size) {\n var len = list.length;\n\n for (var i = 0; i < len; ++i) {\n var child = list[i];\n\n if (keyEq(k, child.key)) {\n var value = child.value;\n\n var _newValue = f(value);\n\n if (_newValue === value) return list;\n\n if (_newValue === nothing) {\n --size.value;\n return arraySpliceOut(mutate, i, list);\n }\n\n return arrayUpdate(mutate, i, Leaf(edit, h, k, _newValue), list);\n }\n }\n\n var newValue = f();\n if (newValue === nothing) return list;\n ++size.value;\n return arrayUpdate(mutate, len, Leaf(edit, h, k, newValue), list);\n};\n\nvar canEditNode = function canEditNode(edit, node) {\n return edit === node.edit;\n};\n/* Editing\n ******************************************************************************/\n\n\nvar Leaf__modify = function Leaf__modify(edit, keyEq, shift, f, h, k, size) {\n if (keyEq(k, this.key)) {\n var _v = f(this.value);\n\n if (_v === this.value) return this;else if (_v === nothing) {\n --size.value;\n return empty;\n }\n\n if (canEditNode(edit, this)) {\n this.value = _v;\n return this;\n }\n\n return Leaf(edit, h, k, _v);\n }\n\n var v = f();\n if (v === nothing) return this;\n ++size.value;\n return mergeLeaves(edit, shift, this.hash, this, h, Leaf(edit, h, k, v));\n};\n\nvar Collision__modify = function Collision__modify(edit, keyEq, shift, f, h, k, size) {\n if (h === this.hash) {\n var canEdit = canEditNode(edit, this);\n var list = updateCollisionList(canEdit, edit, keyEq, this.hash, this.children, f, k, size);\n if (list === this.children) return this;\n return list.length > 1 ? Collision(edit, this.hash, list) : list[0]; // collapse single element collision list\n }\n\n var v = f();\n if (v === nothing) return this;\n ++size.value;\n return mergeLeaves(edit, shift, this.hash, this, h, Leaf(edit, h, k, v));\n};\n\nvar IndexedNode__modify = function IndexedNode__modify(edit, keyEq, shift, f, h, k, size) {\n var mask = this.mask;\n var children = this.children;\n var frag = hashFragment(shift, h);\n var bit = toBitmap(frag);\n var indx = fromBitmap(mask, bit);\n var exists = mask & bit;\n var current = exists ? children[indx] : empty;\n\n var child = current._modify(edit, keyEq, shift + SIZE, f, h, k, size);\n\n if (current === child) return this;\n var canEdit = canEditNode(edit, this);\n var bitmap = mask;\n var newChildren = void 0;\n\n if (exists && isEmptyNode(child)) {\n // remove\n bitmap &= ~bit;\n if (!bitmap) return empty;\n if (children.length <= 2 && isLeaf(children[indx ^ 1])) return children[indx ^ 1]; // collapse\n\n newChildren = arraySpliceOut(canEdit, indx, children);\n } else if (!exists && !isEmptyNode(child)) {\n // add\n if (children.length >= MAX_INDEX_NODE) return expand(edit, frag, child, mask, children);\n bitmap |= bit;\n newChildren = arraySpliceIn(canEdit, indx, child, children);\n } else {\n // modify\n newChildren = arrayUpdate(canEdit, indx, child, children);\n }\n\n if (canEdit) {\n this.mask = bitmap;\n this.children = newChildren;\n return this;\n }\n\n return IndexedNode(edit, bitmap, newChildren);\n};\n\nvar ArrayNode__modify = function ArrayNode__modify(edit, keyEq, shift, f, h, k, size) {\n var count = this.size;\n var children = this.children;\n var frag = hashFragment(shift, h);\n var child = children[frag];\n\n var newChild = (child || empty)._modify(edit, keyEq, shift + SIZE, f, h, k, size);\n\n if (child === newChild) return this;\n var canEdit = canEditNode(edit, this);\n var newChildren = void 0;\n\n if (isEmptyNode(child) && !isEmptyNode(newChild)) {\n // add\n ++count;\n newChildren = arrayUpdate(canEdit, frag, newChild, children);\n } else if (!isEmptyNode(child) && isEmptyNode(newChild)) {\n // remove\n --count;\n if (count <= MIN_ARRAY_NODE) return pack(edit, count, frag, children);\n newChildren = arrayUpdate(canEdit, frag, empty, children);\n } else {\n // modify\n newChildren = arrayUpdate(canEdit, frag, newChild, children);\n }\n\n if (canEdit) {\n this.size = count;\n this.children = newChildren;\n return this;\n }\n\n return ArrayNode(edit, count, newChildren);\n};\n\nempty._modify = function (edit, keyEq, shift, f, h, k, size) {\n var v = f();\n if (v === nothing) return empty;\n ++size.value;\n return Leaf(edit, h, k, v);\n};\n/*\n ******************************************************************************/\n\n\nfunction Map(editable, edit, config, root, size) {\n this._editable = editable;\n this._edit = edit;\n this._config = config;\n this._root = root;\n this._size = size;\n}\n\nMap.prototype.setTree = function (newRoot, newSize) {\n if (this._editable) {\n this._root = newRoot;\n this._size = newSize;\n return this;\n }\n\n return newRoot === this._root ? this : new Map(this._editable, this._edit, this._config, newRoot, newSize);\n};\n/* Queries\n ******************************************************************************/\n\n/**\n Lookup the value for `key` in `map` using a custom `hash`.\n\n Returns the value or `alt` if none.\n*/\n\n\nvar tryGetHash = hamt.tryGetHash = function (alt, hash, key, map) {\n var node = map._root;\n var shift = 0;\n var keyEq = map._config.keyEq;\n\n while (true) {\n switch (node.type) {\n case LEAF:\n {\n return keyEq(key, node.key) ? node.value : alt;\n }\n\n case COLLISION:\n {\n if (hash === node.hash) {\n var children = node.children;\n\n for (var i = 0, len = children.length; i < len; ++i) {\n var child = children[i];\n if (keyEq(key, child.key)) return child.value;\n }\n }\n\n return alt;\n }\n\n case INDEX:\n {\n var frag = hashFragment(shift, hash);\n var bit = toBitmap(frag);\n\n if (node.mask & bit) {\n node = node.children[fromBitmap(node.mask, bit)];\n shift += SIZE;\n break;\n }\n\n return alt;\n }\n\n case ARRAY:\n {\n node = node.children[hashFragment(shift, hash)];\n\n if (node) {\n shift += SIZE;\n break;\n }\n\n return alt;\n }\n\n default:\n return alt;\n }\n }\n};\n\nMap.prototype.tryGetHash = function (alt, hash, key) {\n return tryGetHash(alt, hash, key, this);\n};\n/**\n Lookup the value for `key` in `map` using internal hash function.\n\n @see `tryGetHash`\n*/\n\n\nvar tryGet = hamt.tryGet = function (alt, key, map) {\n return tryGetHash(alt, map._config.hash(key), key, map);\n};\n\nMap.prototype.tryGet = function (alt, key) {\n return tryGet(alt, key, this);\n};\n/**\n Lookup the value for `key` in `map` using a custom `hash`.\n\n Returns the value or `undefined` if none.\n*/\n\n\nvar getHash = hamt.getHash = function (hash, key, map) {\n return tryGetHash(undefined, hash, key, map);\n};\n\nMap.prototype.getHash = function (hash, key) {\n return getHash(hash, key, this);\n};\n/**\n Lookup the value for `key` in `map` using internal hash function.\n\n @see `get`\n*/\n\n\nvar get = hamt.get = function (key, map) {\n return tryGetHash(undefined, map._config.hash(key), key, map);\n};\n\nMap.prototype.get = function (key, alt) {\n return tryGet(alt, key, this);\n};\n/**\n Does an entry exist for `key` in `map`? Uses custom `hash`.\n*/\n\n\nvar hasHash = hamt.has = function (hash, key, map) {\n return tryGetHash(nothing, hash, key, map) !== nothing;\n};\n\nMap.prototype.hasHash = function (hash, key) {\n return hasHash(hash, key, this);\n};\n/**\n Does an entry exist for `key` in `map`? Uses internal hash function.\n*/\n\n\nvar has = hamt.has = function (key, map) {\n return hasHash(map._config.hash(key), key, map);\n};\n\nMap.prototype.has = function (key) {\n return has(key, this);\n};\n\nvar defKeyCompare = function defKeyCompare(x, y) {\n return x === y;\n};\n/**\n Create an empty map.\n\n @param config Configuration.\n*/\n\n\nhamt.make = function (config) {\n return new Map(0, 0, {\n keyEq: config && config.keyEq || defKeyCompare,\n hash: config && config.hash || hash\n }, empty, 0);\n};\n/**\n Empty map.\n*/\n\n\nhamt.empty = hamt.make();\n/**\n Does `map` contain any elements?\n*/\n\nvar isEmpty = hamt.isEmpty = function (map) {\n return map && !!isEmptyNode(map._root);\n};\n\nMap.prototype.isEmpty = function () {\n return isEmpty(this);\n};\n/* Updates\n ******************************************************************************/\n\n/**\n Alter the value stored for `key` in `map` using function `f` using\n custom hash.\n\n `f` is invoked with the current value for `k` if it exists,\n or no arguments if no such value exists. `modify` will always either\n update or insert a value into the map.\n\n Returns a map with the modified value. Does not alter `map`.\n*/\n\n\nvar modifyHash = hamt.modifyHash = function (f, hash, key, map) {\n var size = {\n value: map._size\n };\n\n var newRoot = map._root._modify(map._editable ? map._edit : NaN, map._config.keyEq, 0, f, hash, key, size);\n\n return map.setTree(newRoot, size.value);\n};\n\nMap.prototype.modifyHash = function (hash, key, f) {\n return modifyHash(f, hash, key, this);\n};\n/**\n Alter the value stored for `key` in `map` using function `f` using\n internal hash function.\n\n @see `modifyHash`\n*/\n\n\nvar modify = hamt.modify = function (f, key, map) {\n return modifyHash(f, map._config.hash(key), key, map);\n};\n\nMap.prototype.modify = function (key, f) {\n return modify(f, key, this);\n};\n/**\n Store `value` for `key` in `map` using custom `hash`.\n\n Returns a map with the modified value. Does not alter `map`.\n*/\n\n\nvar setHash = hamt.setHash = function (hash, key, value, map) {\n return modifyHash(constant(value), hash, key, map);\n};\n\nMap.prototype.setHash = function (hash, key, value) {\n return setHash(hash, key, value, this);\n};\n/**\n Store `value` for `key` in `map` using internal hash function.\n\n @see `setHash`\n*/\n\n\nvar set = hamt.set = function (key, value, map) {\n return setHash(map._config.hash(key), key, value, map);\n};\n\nMap.prototype.set = function (key, value) {\n return set(key, value, this);\n};\n/**\n Remove the entry for `key` in `map`.\n\n Returns a map with the value removed. Does not alter `map`.\n*/\n\n\nvar del = constant(nothing);\n\nvar removeHash = hamt.removeHash = function (hash, key, map) {\n return modifyHash(del, hash, key, map);\n};\n\nMap.prototype.removeHash = Map.prototype.deleteHash = function (hash, key) {\n return removeHash(hash, key, this);\n};\n/**\n Remove the entry for `key` in `map` using internal hash function.\n\n @see `removeHash`\n*/\n\n\nvar remove = hamt.remove = function (key, map) {\n return removeHash(map._config.hash(key), key, map);\n};\n\nMap.prototype.remove = Map.prototype.delete = function (key) {\n return remove(key, this);\n};\n/* Mutation\n ******************************************************************************/\n\n/**\n Mark `map` as mutable.\n */\n\n\nvar beginMutation = hamt.beginMutation = function (map) {\n return new Map(map._editable + 1, map._edit + 1, map._config, map._root, map._size);\n};\n\nMap.prototype.beginMutation = function () {\n return beginMutation(this);\n};\n/**\n Mark `map` as immutable.\n */\n\n\nvar endMutation = hamt.endMutation = function (map) {\n map._editable = map._editable && map._editable - 1;\n return map;\n};\n\nMap.prototype.endMutation = function () {\n return endMutation(this);\n};\n/**\n Mutate `map` within the context of `f`.\n @param f\n @param map HAMT\n*/\n\n\nvar mutate = hamt.mutate = function (f, map) {\n var transient = beginMutation(map);\n f(transient);\n return endMutation(transient);\n};\n\nMap.prototype.mutate = function (f) {\n return mutate(f, this);\n};\n/* Traversal\n ******************************************************************************/\n\n/**\n Apply a continuation.\n*/\n\n\nvar appk = function appk(k) {\n return k && lazyVisitChildren(k[0], k[1], k[2], k[3], k[4]);\n};\n/**\n Recursively visit all values stored in an array of nodes lazily.\n*/\n\n\nvar lazyVisitChildren = function lazyVisitChildren(len, children, i, f, k) {\n while (i < len) {\n var child = children[i++];\n if (child && !isEmptyNode(child)) return lazyVisit(child, f, [len, children, i, f, k]);\n }\n\n return appk(k);\n};\n/**\n Recursively visit all values stored in `node` lazily.\n*/\n\n\nvar lazyVisit = function lazyVisit(node, f, k) {\n switch (node.type) {\n case LEAF:\n return {\n value: f(node),\n rest: k\n };\n\n case COLLISION:\n case ARRAY:\n case INDEX:\n var children = node.children;\n return lazyVisitChildren(children.length, children, 0, f, k);\n\n default:\n return appk(k);\n }\n};\n\nvar DONE = {\n done: true\n};\n/**\n Javascript iterator over a map.\n*/\n\nfunction MapIterator(v) {\n this.v = v;\n}\n\nMapIterator.prototype.next = function () {\n if (!this.v) return DONE;\n var v0 = this.v;\n this.v = appk(v0.rest);\n return v0;\n};\n\nMapIterator.prototype[Symbol.iterator] = function () {\n return this;\n};\n/**\n Lazily visit each value in map with function `f`.\n*/\n\n\nvar visit = function visit(map, f) {\n return new MapIterator(lazyVisit(map._root, f));\n};\n/**\n Get a Javascsript iterator of `map`.\n\n Iterates over `[key, value]` arrays.\n*/\n\n\nvar buildPairs = function buildPairs(x) {\n return [x.key, x.value];\n};\n\nvar entries = hamt.entries = function (map) {\n return visit(map, buildPairs);\n};\n\nMap.prototype.entries = Map.prototype[Symbol.iterator] = function () {\n return entries(this);\n};\n/**\n Get array of all keys in `map`.\n\n Order is not guaranteed.\n*/\n\n\nvar buildKeys = function buildKeys(x) {\n return x.key;\n};\n\nvar keys = hamt.keys = function (map) {\n return visit(map, buildKeys);\n};\n\nMap.prototype.keys = function () {\n return keys(this);\n};\n/**\n Get array of all values in `map`.\n\n Order is not guaranteed, duplicates are preserved.\n*/\n\n\nvar buildValues = function buildValues(x) {\n return x.value;\n};\n\nvar values = hamt.values = Map.prototype.values = function (map) {\n return visit(map, buildValues);\n};\n\nMap.prototype.values = function () {\n return values(this);\n};\n/* Fold\n ******************************************************************************/\n\n/**\n Visit every entry in the map, aggregating data.\n\n Order of nodes is not guaranteed.\n\n @param f Function mapping accumulated value, value, and key to new value.\n @param z Starting value.\n @param m HAMT\n*/\n\n\nvar fold = hamt.fold = function (f, z, m) {\n var root = m._root;\n if (root.type === LEAF) return f(z, root.value, root.key);\n var toVisit = [root.children];\n var children = void 0;\n\n while (children = toVisit.pop()) {\n for (var i = 0, len = children.length; i < len;) {\n var child = children[i++];\n\n if (child && child.type) {\n if (child.type === LEAF) z = f(z, child.value, child.key);else toVisit.push(child.children);\n }\n }\n }\n\n return z;\n};\n\nMap.prototype.fold = function (f, z) {\n return fold(f, z, this);\n};\n/**\n Visit every entry in the map, aggregating data.\n\n Order of nodes is not guaranteed.\n\n @param f Function invoked with value and key\n @param map HAMT\n*/\n\n\nvar forEach = hamt.forEach = function (f, map) {\n return fold(function (_, value, key) {\n return f(value, key, map);\n }, null, map);\n};\n\nMap.prototype.forEach = function (f) {\n return forEach(f, this);\n};\n/* Aggregate\n ******************************************************************************/\n\n/**\n Get the number of entries in `map`.\n*/\n\n\nvar count = hamt.count = function (map) {\n return map._size;\n};\n\nMap.prototype.count = function () {\n return count(this);\n};\n\nObject.defineProperty(Map.prototype, 'size', {\n get: Map.prototype.count\n});\n/* Export\n ******************************************************************************/\n\nif ( module.exports) {\n module.exports = hamt;\n} else {\n undefined.hamt = hamt;\n}\n});\n\nclass BuiltInMap {\n constructor(existing) {\n _defineProperty(this, \"_map\", void 0);\n\n this._map = new Map(existing === null || existing === void 0 ? void 0 : existing.entries());\n }\n\n keys() {\n return this._map.keys();\n }\n\n entries() {\n return this._map.entries();\n }\n\n get(k) {\n return this._map.get(k);\n }\n\n has(k) {\n return this._map.has(k);\n }\n\n set(k, v) {\n this._map.set(k, v);\n\n return this;\n }\n\n delete(k) {\n this._map.delete(k);\n\n return this;\n }\n\n clone() {\n return persistentMap(this);\n }\n\n toMap() {\n return new Map(this._map);\n }\n\n}\n\nclass HashArrayMappedTrieMap {\n // Because hamt.empty is not a function there is no way to introduce type\n // parameters on it, so empty is typed as HAMTPlusMap.\n // $FlowIssue\n constructor(existing) {\n _defineProperty(this, \"_hamt\", hamt_1.empty.beginMutation());\n\n if (existing instanceof HashArrayMappedTrieMap) {\n const h = existing._hamt.endMutation();\n\n existing._hamt = h.beginMutation();\n this._hamt = h.beginMutation();\n } else if (existing) {\n for (const [k, v] of existing.entries()) {\n this._hamt.set(k, v);\n }\n }\n }\n\n keys() {\n return this._hamt.keys();\n }\n\n entries() {\n return this._hamt.entries();\n }\n\n get(k) {\n return this._hamt.get(k);\n }\n\n has(k) {\n return this._hamt.has(k);\n }\n\n set(k, v) {\n this._hamt.set(k, v);\n\n return this;\n }\n\n delete(k) {\n this._hamt.delete(k);\n\n return this;\n }\n\n clone() {\n return persistentMap(this);\n }\n\n toMap() {\n return new Map(this._hamt);\n }\n\n}\n\nfunction persistentMap(existing) {\n if (Recoil_gkx('recoil_hamt_2020')) {\n return new HashArrayMappedTrieMap(existing);\n } else {\n return new BuiltInMap(existing);\n }\n}\n\nvar Recoil_PersistentMap = {\n persistentMap\n};\n\nvar Recoil_PersistentMap_1 = Recoil_PersistentMap.persistentMap;\n\nvar Recoil_PersistentMap$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n persistentMap: Recoil_PersistentMap_1\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a set containing all of the values from the first set that are not\n * present in any of the subsequent sets.\n *\n * Note: this is written procedurally (i.e., without filterSet) for performant\n * use in tight loops.\n */\n\nfunction differenceSets(set, ...setsWithValuesToRemove) {\n const ret = new Set();\n\n FIRST: for (const value of set) {\n for (const otherSet of setsWithValuesToRemove) {\n if (otherSet.has(value)) {\n continue FIRST;\n }\n }\n\n ret.add(value);\n }\n\n return ret;\n}\n\nvar Recoil_differenceSets = differenceSets;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a new Map object with the same keys as the original, but with the\n * values replaced with the output of the given callback function.\n */\n\nfunction mapMap(map, callback) {\n const result = new Map();\n map.forEach((value, key) => {\n result.set(key, callback(value, key));\n });\n return result;\n}\n\nvar Recoil_mapMap = mapMap;\n\nfunction makeGraph() {\n return {\n nodeDeps: new Map(),\n nodeToNodeSubscriptions: new Map()\n };\n}\n\nfunction cloneGraph(graph) {\n return {\n nodeDeps: Recoil_mapMap(graph.nodeDeps, s => new Set(s)),\n nodeToNodeSubscriptions: Recoil_mapMap(graph.nodeToNodeSubscriptions, s => new Set(s))\n };\n} // Note that this overwrites the deps of existing nodes, rather than unioning\n// the new deps with the old deps.\n\n\nfunction mergeDepsIntoGraph(key, newDeps, graph, // If olderGraph is given then we will not overwrite changes made to the given\n// graph compared with olderGraph:\nolderGraph) {\n const {\n nodeDeps,\n nodeToNodeSubscriptions\n } = graph;\n const oldDeps = nodeDeps.get(key);\n\n if (oldDeps && olderGraph && oldDeps !== olderGraph.nodeDeps.get(key)) {\n return;\n } // Update nodeDeps:\n\n\n nodeDeps.set(key, newDeps); // Add new deps to nodeToNodeSubscriptions:\n\n const addedDeps = oldDeps == null ? newDeps : Recoil_differenceSets(newDeps, oldDeps);\n\n for (const dep of addedDeps) {\n if (!nodeToNodeSubscriptions.has(dep)) {\n nodeToNodeSubscriptions.set(dep, new Set());\n }\n\n const existing = Recoil_nullthrows(nodeToNodeSubscriptions.get(dep));\n existing.add(key);\n } // Remove removed deps from nodeToNodeSubscriptions:\n\n\n if (oldDeps) {\n const removedDeps = Recoil_differenceSets(oldDeps, newDeps);\n\n for (const dep of removedDeps) {\n if (!nodeToNodeSubscriptions.has(dep)) {\n return;\n }\n\n const existing = Recoil_nullthrows(nodeToNodeSubscriptions.get(dep));\n existing.delete(key);\n\n if (existing.size === 0) {\n nodeToNodeSubscriptions.delete(dep);\n }\n }\n }\n}\n\nfunction saveDepsToStore(key, deps, store, version) {\n var _storeState$nextTree, _storeState$previousT, _storeState$previousT2, _storeState$previousT3;\n\n const storeState = store.getState();\n\n if (!(version === storeState.currentTree.version || version === ((_storeState$nextTree = storeState.nextTree) === null || _storeState$nextTree === void 0 ? void 0 : _storeState$nextTree.version) || version === ((_storeState$previousT = storeState.previousTree) === null || _storeState$previousT === void 0 ? void 0 : _storeState$previousT.version))) {\n Recoil_recoverableViolation('Tried to save dependencies to a discarded tree');\n } // Merge the dependencies discovered into the store's dependency map\n // for the version that was read:\n\n\n const graph = store.getGraph(version);\n mergeDepsIntoGraph(key, deps, graph); // If this version is not the latest version, also write these dependencies\n // into later versions if they don't already have their own:\n\n if (version === ((_storeState$previousT2 = storeState.previousTree) === null || _storeState$previousT2 === void 0 ? void 0 : _storeState$previousT2.version)) {\n const currentGraph = store.getGraph(storeState.currentTree.version);\n mergeDepsIntoGraph(key, deps, currentGraph, graph);\n }\n\n if (version === ((_storeState$previousT3 = storeState.previousTree) === null || _storeState$previousT3 === void 0 ? void 0 : _storeState$previousT3.version) || version === storeState.currentTree.version) {\n var _storeState$nextTree2;\n\n const nextVersion = (_storeState$nextTree2 = storeState.nextTree) === null || _storeState$nextTree2 === void 0 ? void 0 : _storeState$nextTree2.version;\n\n if (nextVersion !== undefined) {\n const nextGraph = store.getGraph(nextVersion);\n mergeDepsIntoGraph(key, deps, nextGraph, graph);\n }\n }\n}\n\nvar Recoil_Graph = {\n cloneGraph,\n graph: makeGraph,\n saveDepsToStore\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nlet nextTreeStateVersion = 0;\n\nconst getNextTreeStateVersion = () => nextTreeStateVersion++;\n\nlet nextStoreID = 0;\n\nconst getNextStoreID = () => nextStoreID++;\n\nlet nextComponentID = 0;\n\nconst getNextComponentID = () => nextComponentID++;\n\nvar Recoil_Keys = {\n getNextTreeStateVersion,\n getNextStoreID,\n getNextComponentID\n};\n\nconst {\n persistentMap: persistentMap$1\n} = Recoil_PersistentMap$1;\n\nconst {\n graph\n} = Recoil_Graph;\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$1\n} = Recoil_Keys;\n\nfunction makeEmptyTreeState() {\n const version = getNextTreeStateVersion$1();\n return {\n version,\n stateID: version,\n transactionMetadata: {},\n dirtyAtoms: new Set(),\n atomValues: persistentMap$1(),\n nonvalidatedAtoms: persistentMap$1()\n };\n}\n\nfunction makeEmptyStoreState() {\n const currentTree = makeEmptyTreeState();\n return {\n currentTree,\n nextTree: null,\n previousTree: null,\n commitDepth: 0,\n knownAtoms: new Set(),\n knownSelectors: new Set(),\n transactionSubscriptions: new Map(),\n nodeTransactionSubscriptions: new Map(),\n nodeToComponentSubscriptions: new Map(),\n queuedComponentCallbacks_DEPRECATED: [],\n suspendedComponentResolvers: new Set(),\n graphsByVersion: new Map().set(currentTree.version, graph()),\n retention: {\n referenceCounts: new Map(),\n nodesRetainedByZone: new Map(),\n retainablesToCheckForRelease: new Set()\n },\n nodeCleanupFunctions: new Map()\n };\n}\n\nvar Recoil_State = {\n makeEmptyTreeState,\n makeEmptyStoreState,\n getNextTreeStateVersion: getNextTreeStateVersion$1\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass RetentionZone {}\n\nfunction retentionZone() {\n return new RetentionZone();\n}\n\nvar Recoil_RetentionZone = {\n RetentionZone,\n retentionZone\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Utilities for working with built-in Maps and Sets without mutating them.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction setByAddingToSet(set, v) {\n const next = new Set(set);\n next.add(v);\n return next;\n}\n\nfunction setByDeletingFromSet(set, v) {\n const next = new Set(set);\n next.delete(v);\n return next;\n}\n\nfunction mapBySettingInMap(map, k, v) {\n const next = new Map(map);\n next.set(k, v);\n return next;\n}\n\nfunction mapByUpdatingInMap(map, k, updater) {\n const next = new Map(map);\n next.set(k, updater(next.get(k)));\n return next;\n}\n\nfunction mapByDeletingFromMap(map, k) {\n const next = new Map(map);\n next.delete(k);\n return next;\n}\n\nfunction mapByDeletingMultipleFromMap(map, ks) {\n const next = new Map(map);\n ks.forEach(k => next.delete(k));\n return next;\n}\n\nvar Recoil_CopyOnWrite = {\n setByAddingToSet,\n setByDeletingFromSet,\n mapBySettingInMap,\n mapByUpdatingInMap,\n mapByDeletingFromMap,\n mapByDeletingMultipleFromMap\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Creates a new iterable whose output is generated by passing the input\n * iterable's values through the filter function.\n */\n\nfunction* filterIterable(iterable, predicate) {\n // Use generator to create iterable/iterator\n let index = 0;\n\n for (const value of iterable) {\n if (predicate(value, index++)) {\n yield value;\n }\n }\n}\n\nvar Recoil_filterIterable = filterIterable;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Return a proxy object based on the provided base and factories objects.\n * The proxy will include all properties of the base object as-is.\n * The factories object contains callbacks to obtain the values of the properies\n * for its keys.\n *\n * This is useful for providing users an object where some properties may be\n * lazily computed only on first access.\n */\n// $FlowIssue[unclear-type]\n\nfunction lazyProxy(base, factories) {\n const proxy = new Proxy(base, {\n // Compute and cache lazy property if not already done.\n get: (target, prop) => {\n if (!(prop in target) && prop in factories) {\n target[prop] = factories[prop]();\n }\n\n return target[prop];\n },\n // This method allows user to iterate keys as normal\n ownKeys: target => {\n\n return Object.keys(target);\n }\n }); // $FlowIssue[incompatible-return]\n\n return proxy;\n}\n\nvar Recoil_lazyProxy = lazyProxy;\n\nconst {\n getNode: getNode$1,\n getNodeMaybe: getNodeMaybe$1,\n recoilValuesForKeys: recoilValuesForKeys$1\n} = Recoil_Node;\n\nconst {\n RetentionZone: RetentionZone$1\n} = Recoil_RetentionZone;\n\nconst {\n setByAddingToSet: setByAddingToSet$1\n} = Recoil_CopyOnWrite;\n\n\n\n\n\n\n\n // flowlint-next-line unclear-type:off\n\n\nconst emptySet = Object.freeze(new Set());\n\nclass ReadOnlyRecoilValueError extends Error {}\n\nfunction initializeRetentionForNode(store, nodeKey, retainedBy) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return () => undefined;\n }\n\n const {\n nodesRetainedByZone\n } = store.getState().retention;\n\n function addToZone(zone) {\n let set = nodesRetainedByZone.get(zone);\n\n if (!set) {\n nodesRetainedByZone.set(zone, set = new Set());\n }\n\n set.add(nodeKey);\n }\n\n if (retainedBy instanceof RetentionZone$1) {\n addToZone(retainedBy);\n } else if (Array.isArray(retainedBy)) {\n for (const zone of retainedBy) {\n addToZone(zone);\n }\n }\n\n return () => {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const {\n retention\n } = store.getState();\n\n function deleteFromZone(zone) {\n const set = retention.nodesRetainedByZone.get(zone);\n set === null || set === void 0 ? void 0 : set.delete(nodeKey);\n\n if (set && set.size === 0) {\n retention.nodesRetainedByZone.delete(zone);\n }\n }\n\n if (retainedBy instanceof RetentionZone$1) {\n deleteFromZone(retainedBy);\n } else if (Array.isArray(retainedBy)) {\n for (const zone of retainedBy) {\n deleteFromZone(zone);\n }\n }\n };\n}\n\nfunction initializeNodeIfNewToStore(store, treeState, key, trigger) {\n const storeState = store.getState();\n\n if (storeState.nodeCleanupFunctions.has(key)) {\n return;\n }\n\n const node = getNode$1(key);\n const retentionCleanup = initializeRetentionForNode(store, key, node.retainedBy);\n const nodeCleanup = node.init(store, treeState, trigger);\n storeState.nodeCleanupFunctions.set(key, () => {\n nodeCleanup();\n retentionCleanup();\n });\n}\n\nfunction initializeNode(store, key, trigger) {\n initializeNodeIfNewToStore(store, store.getState().currentTree, key, trigger);\n}\n\nfunction cleanUpNode(store, key) {\n var _state$nodeCleanupFun;\n\n const state = store.getState();\n (_state$nodeCleanupFun = state.nodeCleanupFunctions.get(key)) === null || _state$nodeCleanupFun === void 0 ? void 0 : _state$nodeCleanupFun();\n state.nodeCleanupFunctions.delete(key);\n} // Get the current value loadable of a node and update the state.\n// Update dependencies and subscriptions for selectors.\n// Update saved value validation for atoms.\n\n\nfunction getNodeLoadable(store, state, key) {\n initializeNodeIfNewToStore(store, state, key, 'get');\n return getNode$1(key).get(store, state);\n} // Peek at the current value loadable for a node without any evaluation or state change\n\n\nfunction peekNodeLoadable(store, state, key) {\n return getNode$1(key).peek(store, state);\n} // Write value directly to state bypassing the Node interface as the node\n// definitions may not have been loaded yet when processing the initial snapshot.\n\n\nfunction setUnvalidatedAtomValue_DEPRECATED(state, key, newValue) {\n var _node$invalidate;\n\n const node = getNodeMaybe$1(key);\n node === null || node === void 0 ? void 0 : (_node$invalidate = node.invalidate) === null || _node$invalidate === void 0 ? void 0 : _node$invalidate.call(node, state);\n return { ...state,\n atomValues: state.atomValues.clone().delete(key),\n nonvalidatedAtoms: state.nonvalidatedAtoms.clone().set(key, newValue),\n dirtyAtoms: setByAddingToSet$1(state.dirtyAtoms, key)\n };\n} // Return the discovered dependencies and values to be written by setting\n// a node value. (Multiple values may be written due to selectors getting to\n// set upstreams; deps may be discovered because of reads in updater functions.)\n\n\nfunction setNodeValue(store, state, key, newValue) {\n const node = getNode$1(key);\n\n if (node.set == null) {\n throw new ReadOnlyRecoilValueError(`Attempt to set read-only RecoilValue: ${key}`);\n }\n\n const set = node.set; // so flow doesn't lose the above refinement.\n\n initializeNodeIfNewToStore(store, state, key, 'set');\n return set(store, state, newValue);\n}\n\nfunction peekNodeInfo(store, state, key) {\n const storeState = store.getState();\n const graph = store.getGraph(state.version);\n const type = getNode$1(key).nodeType;\n return Recoil_lazyProxy({\n type\n }, {\n loadable: () => peekNodeLoadable(store, state, key),\n isActive: () => storeState.knownAtoms.has(key) || storeState.knownSelectors.has(key),\n isSet: () => type === 'selector' ? false : state.atomValues.has(key),\n isModified: () => state.dirtyAtoms.has(key),\n // Report current dependencies. If the node hasn't been evaluated, then\n // dependencies may be missing based on the current state.\n deps: () => {\n var _graph$nodeDeps$get;\n\n return recoilValuesForKeys$1((_graph$nodeDeps$get = graph.nodeDeps.get(key)) !== null && _graph$nodeDeps$get !== void 0 ? _graph$nodeDeps$get : []);\n },\n // Reports all \"current\" subscribers. Evaluating other nodes or\n // previous in-progress async evaluations may introduce new subscribers.\n subscribers: () => {\n var _storeState$nodeToCom, _storeState$nodeToCom2;\n\n return {\n nodes: recoilValuesForKeys$1(Recoil_filterIterable(getDownstreamNodes(store, state, new Set([key])), nodeKey => nodeKey !== key)),\n components: Recoil_mapIterable((_storeState$nodeToCom = (_storeState$nodeToCom2 = storeState.nodeToComponentSubscriptions.get(key)) === null || _storeState$nodeToCom2 === void 0 ? void 0 : _storeState$nodeToCom2.values()) !== null && _storeState$nodeToCom !== void 0 ? _storeState$nodeToCom : [], ([name]) => ({\n name\n }))\n };\n }\n });\n} // Find all of the recursively dependent nodes\n\n\nfunction getDownstreamNodes(store, state, keys) {\n const visitedNodes = new Set();\n const visitingNodes = Array.from(keys);\n const graph = store.getGraph(state.version);\n\n for (let key = visitingNodes.pop(); key; key = visitingNodes.pop()) {\n var _graph$nodeToNodeSubs;\n\n visitedNodes.add(key);\n const subscribedNodes = (_graph$nodeToNodeSubs = graph.nodeToNodeSubscriptions.get(key)) !== null && _graph$nodeToNodeSubs !== void 0 ? _graph$nodeToNodeSubs : emptySet;\n\n for (const downstreamNode of subscribedNodes) {\n if (!visitedNodes.has(downstreamNode)) {\n visitingNodes.push(downstreamNode);\n }\n }\n }\n\n return visitedNodes;\n}\n\nvar Recoil_FunctionalCore = {\n getNodeLoadable,\n peekNodeLoadable,\n setNodeValue,\n initializeNode,\n cleanUpNode,\n setUnvalidatedAtomValue_DEPRECATED,\n peekNodeInfo,\n getDownstreamNodes\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nlet _invalidateMemoizedSnapshot = null;\n\nfunction setInvalidateMemoizedSnapshot(invalidate) {\n _invalidateMemoizedSnapshot = invalidate;\n}\n\nfunction invalidateMemoizedSnapshot() {\n var _invalidateMemoizedSn;\n\n (_invalidateMemoizedSn = _invalidateMemoizedSnapshot) === null || _invalidateMemoizedSn === void 0 ? void 0 : _invalidateMemoizedSn();\n}\n\nvar Recoil_SnapshotCache = {\n setInvalidateMemoizedSnapshot,\n invalidateMemoizedSnapshot\n};\n\nconst {\n getDownstreamNodes: getDownstreamNodes$1,\n getNodeLoadable: getNodeLoadable$1,\n setNodeValue: setNodeValue$1\n} = Recoil_FunctionalCore;\n\nconst {\n getNextComponentID: getNextComponentID$1\n} = Recoil_Keys;\n\nconst {\n getNode: getNode$2,\n getNodeMaybe: getNodeMaybe$2\n} = Recoil_Node;\n\nconst {\n DefaultValue: DefaultValue$1\n} = Recoil_Node;\n\nconst {\n reactMode: reactMode$1\n} = Recoil_ReactMode;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$1,\n RecoilState: RecoilState$1,\n RecoilValueReadOnly: RecoilValueReadOnly$1,\n isRecoilValue: isRecoilValue$1\n} = Recoil_RecoilValue$1;\n\nconst {\n invalidateMemoizedSnapshot: invalidateMemoizedSnapshot$1\n} = Recoil_SnapshotCache;\n\n\n\n\n\n\n\nfunction getRecoilValueAsLoadable(store, {\n key\n}, treeState = store.getState().currentTree) {\n var _storeState$nextTree, _storeState$previousT;\n\n // Reading from an older tree can cause bugs because the dependencies that we\n // discover during the read are lost.\n const storeState = store.getState();\n\n if (!(treeState.version === storeState.currentTree.version || treeState.version === ((_storeState$nextTree = storeState.nextTree) === null || _storeState$nextTree === void 0 ? void 0 : _storeState$nextTree.version) || treeState.version === ((_storeState$previousT = storeState.previousTree) === null || _storeState$previousT === void 0 ? void 0 : _storeState$previousT.version))) {\n Recoil_recoverableViolation('Tried to read from a discarded tree');\n }\n\n const loadable = getNodeLoadable$1(store, treeState, key);\n\n if (loadable.state === 'loading') {\n loadable.contents.catch(() => {\n /**\n * HACK: intercept thrown error here to prevent an uncaught promise exception. Ideally this would happen closer to selector\n * execution (perhaps introducing a new ERROR class to be resolved by async selectors that are in an error state)\n */\n return;\n });\n }\n\n return loadable;\n}\n\nfunction applyAtomValueWrites(atomValues, writes) {\n const result = atomValues.clone();\n writes.forEach((v, k) => {\n if (v.state === 'hasValue' && v.contents instanceof DefaultValue$1) {\n result.delete(k);\n } else {\n result.set(k, v);\n }\n });\n return result;\n}\n\nfunction valueFromValueOrUpdater(store, state, {\n key\n}, valueOrUpdater) {\n if (typeof valueOrUpdater === 'function') {\n // Updater form: pass in the current value. Throw if the current value\n // is unavailable (namely when updating an async selector that's\n // pending or errored):\n const current = getNodeLoadable$1(store, state, key);\n\n if (current.state === 'loading') {\n const msg = `Tried to set atom or selector \"${key}\" using an updater function while the current state is pending, this is not currently supported.`;\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n } else if (current.state === 'hasError') {\n throw current.contents;\n } // T itself may be a function, so our refinement is not sufficient:\n\n\n return valueOrUpdater(current.contents); // flowlint-line unclear-type:off\n } else {\n return valueOrUpdater;\n }\n}\n\nfunction applyAction(store, state, action) {\n if (action.type === 'set') {\n const {\n recoilValue,\n valueOrUpdater\n } = action;\n const newValue = valueFromValueOrUpdater(store, state, recoilValue, valueOrUpdater);\n const writes = setNodeValue$1(store, state, recoilValue.key, newValue);\n\n for (const [key, loadable] of writes.entries()) {\n writeLoadableToTreeState(state, key, loadable);\n }\n } else if (action.type === 'setLoadable') {\n const {\n recoilValue: {\n key\n },\n loadable\n } = action;\n writeLoadableToTreeState(state, key, loadable);\n } else if (action.type === 'markModified') {\n const {\n recoilValue: {\n key\n }\n } = action;\n state.dirtyAtoms.add(key);\n } else if (action.type === 'setUnvalidated') {\n var _node$invalidate;\n\n // Write value directly to state bypassing the Node interface as the node\n // definitions may not have been loaded yet when processing the initial snapshot.\n const {\n recoilValue: {\n key\n },\n unvalidatedValue\n } = action;\n const node = getNodeMaybe$2(key);\n node === null || node === void 0 ? void 0 : (_node$invalidate = node.invalidate) === null || _node$invalidate === void 0 ? void 0 : _node$invalidate.call(node, state);\n state.atomValues.delete(key);\n state.nonvalidatedAtoms.set(key, unvalidatedValue);\n state.dirtyAtoms.add(key);\n } else {\n Recoil_recoverableViolation(`Unknown action ${action.type}`);\n }\n}\n\nfunction writeLoadableToTreeState(state, key, loadable) {\n if (loadable.state === 'hasValue' && loadable.contents instanceof DefaultValue$1) {\n state.atomValues.delete(key);\n } else {\n state.atomValues.set(key, loadable);\n }\n\n state.dirtyAtoms.add(key);\n state.nonvalidatedAtoms.delete(key);\n}\n\nfunction applyActionsToStore(store, actions) {\n store.replaceState(state => {\n const newState = copyTreeState(state);\n\n for (const action of actions) {\n applyAction(store, newState, action);\n }\n\n invalidateDownstreams(store, newState);\n invalidateMemoizedSnapshot$1();\n return newState;\n });\n}\n\nfunction queueOrPerformStateUpdate(store, action) {\n if (batchStack.length) {\n const actionsByStore = batchStack[batchStack.length - 1];\n let actions = actionsByStore.get(store);\n\n if (!actions) {\n actionsByStore.set(store, actions = []);\n }\n\n actions.push(action);\n } else {\n applyActionsToStore(store, [action]);\n }\n}\n\nconst batchStack = [];\n\nfunction batchStart() {\n const actionsByStore = new Map();\n batchStack.push(actionsByStore);\n return () => {\n for (const [store, actions] of actionsByStore) {\n applyActionsToStore(store, actions);\n }\n\n const popped = batchStack.pop();\n\n if (popped !== actionsByStore) {\n Recoil_recoverableViolation('Incorrect order of batch popping');\n }\n };\n}\n\nfunction copyTreeState(state) {\n return { ...state,\n atomValues: state.atomValues.clone(),\n nonvalidatedAtoms: state.nonvalidatedAtoms.clone(),\n dirtyAtoms: new Set(state.dirtyAtoms)\n };\n}\n\nfunction invalidateDownstreams(store, state) {\n // Inform any nodes that were changed or downstream of changes so that they\n // can clear out any caches as needed due to the update:\n const downstreams = getDownstreamNodes$1(store, state, state.dirtyAtoms);\n\n for (const key of downstreams) {\n var _getNodeMaybe, _getNodeMaybe$invalid;\n\n (_getNodeMaybe = getNodeMaybe$2(key)) === null || _getNodeMaybe === void 0 ? void 0 : (_getNodeMaybe$invalid = _getNodeMaybe.invalidate) === null || _getNodeMaybe$invalid === void 0 ? void 0 : _getNodeMaybe$invalid.call(_getNodeMaybe, state);\n }\n}\n\nfunction setRecoilValue(store, recoilValue, valueOrUpdater) {\n queueOrPerformStateUpdate(store, {\n type: 'set',\n recoilValue,\n valueOrUpdater\n });\n}\n\nfunction setRecoilValueLoadable(store, recoilValue, loadable) {\n if (loadable instanceof DefaultValue$1) {\n return setRecoilValue(store, recoilValue, loadable);\n }\n\n queueOrPerformStateUpdate(store, {\n type: 'setLoadable',\n recoilValue,\n loadable: loadable\n });\n}\n\nfunction markRecoilValueModified(store, recoilValue) {\n queueOrPerformStateUpdate(store, {\n type: 'markModified',\n recoilValue\n });\n}\n\nfunction setUnvalidatedRecoilValue(store, recoilValue, unvalidatedValue) {\n queueOrPerformStateUpdate(store, {\n type: 'setUnvalidated',\n recoilValue,\n unvalidatedValue\n });\n}\n\nfunction subscribeToRecoilValue(store, {\n key\n}, callback, componentDebugName = null) {\n const subID = getNextComponentID$1();\n const storeState = store.getState();\n\n if (!storeState.nodeToComponentSubscriptions.has(key)) {\n storeState.nodeToComponentSubscriptions.set(key, new Map());\n }\n\n Recoil_nullthrows(storeState.nodeToComponentSubscriptions.get(key)).set(subID, [componentDebugName !== null && componentDebugName !== void 0 ? componentDebugName : '', callback]); // Handle the case that, during the same tick that we are subscribing, an atom\n // has been updated by some effect handler. Otherwise we will miss the update.\n\n const mode = reactMode$1();\n\n if (mode.early && (mode.mode === 'LEGACY' || mode.mode === 'MUTABLE_SOURCE')) {\n const nextTree = store.getState().nextTree;\n\n if (nextTree && nextTree.dirtyAtoms.has(key)) {\n callback(nextTree);\n }\n }\n\n return {\n release: () => {\n const releaseStoreState = store.getState();\n const subs = releaseStoreState.nodeToComponentSubscriptions.get(key);\n\n if (subs === undefined || !subs.has(subID)) {\n Recoil_recoverableViolation(`Subscription missing at release time for atom ${key}. This is a bug in Recoil.`);\n return;\n }\n\n subs.delete(subID);\n\n if (subs.size === 0) {\n releaseStoreState.nodeToComponentSubscriptions.delete(key);\n }\n }\n };\n}\n\nfunction refreshRecoilValue(store, recoilValue) {\n var _node$clearCache;\n\n const {\n currentTree\n } = store.getState();\n const node = getNode$2(recoilValue.key);\n (_node$clearCache = node.clearCache) === null || _node$clearCache === void 0 ? void 0 : _node$clearCache.call(node, store, currentTree);\n}\n\nvar Recoil_RecoilValueInterface = {\n RecoilValueReadOnly: RecoilValueReadOnly$1,\n AbstractRecoilValue: AbstractRecoilValue$1,\n RecoilState: RecoilState$1,\n getRecoilValueAsLoadable,\n setRecoilValue,\n setRecoilValueLoadable,\n markRecoilValueModified,\n setUnvalidatedRecoilValue,\n subscribeToRecoilValue,\n isRecoilValue: isRecoilValue$1,\n applyAtomValueWrites,\n // TODO Remove export when deprecating initialStoreState_DEPRECATED in RecoilRoot\n batchStart,\n writeLoadableToTreeState,\n invalidateDownstreams,\n copyTreeState,\n refreshRecoilValue\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * The someSet() method tests whether some elements in the given Set pass the\n * test implemented by the provided function.\n */\n\nfunction someSet(set, callback, context) {\n const iterator = set.entries();\n let current = iterator.next();\n\n while (!current.done) {\n const entry = current.value;\n\n if (callback.call(context, entry[1], entry[0], set)) {\n return true;\n }\n\n current = iterator.next();\n }\n\n return false;\n}\n\nvar Recoil_someSet = someSet;\n\nconst {\n cleanUpNode: cleanUpNode$1\n} = Recoil_FunctionalCore;\n\nconst {\n deleteNodeConfigIfPossible: deleteNodeConfigIfPossible$1,\n getNode: getNode$3\n} = Recoil_Node;\n\nconst {\n RetentionZone: RetentionZone$2\n} = Recoil_RetentionZone;\n\n\n\n\n\n\n\n // Components that aren't mounted after suspending for this long will be assumed\n// to be discarded and their resources released.\n\n\nconst SUSPENSE_TIMEOUT_MS = 120000;\nconst emptySet$1 = new Set();\n\nfunction releaseRetainablesNowOnCurrentTree(store, retainables) {\n const storeState = store.getState();\n const treeState = storeState.currentTree;\n\n if (storeState.nextTree) {\n Recoil_recoverableViolation('releaseNodesNowOnCurrentTree should only be called at the end of a batch');\n return; // leak memory rather than erase something that's about to be used.\n }\n\n const nodes = new Set();\n\n for (const r of retainables) {\n if (r instanceof RetentionZone$2) {\n for (const n of nodesRetainedByZone(storeState, r)) {\n nodes.add(n);\n }\n } else {\n nodes.add(r);\n }\n }\n\n const releasableNodes = findReleasableNodes(store, nodes);\n\n for (const node of releasableNodes) {\n releaseNode(store, treeState, node);\n }\n}\n\nfunction findReleasableNodes(store, searchFromNodes) {\n const storeState = store.getState();\n const treeState = storeState.currentTree;\n const graph = store.getGraph(treeState.version);\n const releasableNodes = new Set(); // mutated to collect answer\n\n const nonReleasableNodes = new Set();\n findReleasableNodesInner(searchFromNodes);\n return releasableNodes;\n\n function findReleasableNodesInner(searchFromNodes) {\n const releasableNodesFoundThisIteration = new Set();\n const downstreams = getDownstreamNodesInTopologicalOrder(store, treeState, searchFromNodes, releasableNodes, // don't descend into these\n nonReleasableNodes // don't descend into these\n ); // Find which of the downstream nodes are releasable and which are not:\n\n for (const node of downstreams) {\n var _storeState$retention;\n\n // Not releasable if configured to be retained forever:\n if (getNode$3(node).retainedBy === 'recoilRoot') {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if retained directly by a component:\n\n\n if (((_storeState$retention = storeState.retention.referenceCounts.get(node)) !== null && _storeState$retention !== void 0 ? _storeState$retention : 0) > 0) {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if retained by a zone:\n\n\n if (zonesThatCouldRetainNode(node).some(z => storeState.retention.referenceCounts.get(z))) {\n nonReleasableNodes.add(node);\n continue;\n } // Not releasable if it has a non-releasable child (which will already be in\n // nonReleasableNodes because we are going in topological order):\n\n\n const nodeChildren = graph.nodeToNodeSubscriptions.get(node);\n\n if (nodeChildren && Recoil_someSet(nodeChildren, child => nonReleasableNodes.has(child))) {\n nonReleasableNodes.add(node);\n continue;\n }\n\n releasableNodes.add(node);\n releasableNodesFoundThisIteration.add(node);\n } // If we found any releasable nodes, we need to walk UP from those nodes to\n // find whether their parents can now be released as well:\n\n\n const parents = new Set();\n\n for (const node of releasableNodesFoundThisIteration) {\n for (const parent of (_graph$nodeDeps$get = graph.nodeDeps.get(node)) !== null && _graph$nodeDeps$get !== void 0 ? _graph$nodeDeps$get : emptySet$1) {\n var _graph$nodeDeps$get;\n\n if (!releasableNodes.has(parent)) {\n parents.add(parent);\n }\n }\n }\n\n if (parents.size) {\n findReleasableNodesInner(parents);\n }\n }\n} // Children before parents\n\n\nfunction getDownstreamNodesInTopologicalOrder(store, treeState, nodes, // Mutable set is destroyed in place\ndoNotDescendInto1, doNotDescendInto2) {\n const graph = store.getGraph(treeState.version);\n const answer = [];\n const visited = new Set();\n\n while (nodes.size > 0) {\n visit(Recoil_nullthrows(nodes.values().next().value));\n }\n\n return answer;\n\n function visit(node) {\n if (doNotDescendInto1.has(node) || doNotDescendInto2.has(node)) {\n nodes.delete(node);\n return;\n }\n\n if (visited.has(node)) {\n return;\n }\n\n const children = graph.nodeToNodeSubscriptions.get(node);\n\n if (children) {\n for (const child of children) {\n visit(child);\n }\n }\n\n visited.add(node);\n nodes.delete(node);\n answer.push(node);\n }\n}\n\nfunction releaseNode(store, treeState, node) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // Atom effects, in-closure caches, etc.:\n\n\n cleanUpNode$1(store, node); // Delete from store state:\n\n const storeState = store.getState();\n storeState.knownAtoms.delete(node);\n storeState.knownSelectors.delete(node);\n storeState.nodeTransactionSubscriptions.delete(node);\n storeState.retention.referenceCounts.delete(node);\n const zones = zonesThatCouldRetainNode(node);\n\n for (const zone of zones) {\n var _storeState$retention2;\n\n (_storeState$retention2 = storeState.retention.nodesRetainedByZone.get(zone)) === null || _storeState$retention2 === void 0 ? void 0 : _storeState$retention2.delete(node);\n } // Note that we DO NOT delete from nodeToComponentSubscriptions because this\n // already happens when the last component that was retaining the node unmounts,\n // and this could happen either before or after that.\n // Delete from TreeState and dep graph:\n\n\n treeState.atomValues.delete(node);\n treeState.dirtyAtoms.delete(node);\n treeState.nonvalidatedAtoms.delete(node);\n const graph = storeState.graphsByVersion.get(treeState.version);\n\n if (graph) {\n const deps = graph.nodeDeps.get(node);\n\n if (deps !== undefined) {\n graph.nodeDeps.delete(node);\n\n for (const dep of deps) {\n var _graph$nodeToNodeSubs;\n\n (_graph$nodeToNodeSubs = graph.nodeToNodeSubscriptions.get(dep)) === null || _graph$nodeToNodeSubs === void 0 ? void 0 : _graph$nodeToNodeSubs.delete(node);\n }\n } // No need to delete sub's deps as there should be no subs at this point.\n // But an invariant would require deleting nodes in topological order.\n\n\n graph.nodeToNodeSubscriptions.delete(node);\n } // Node config (for family members only as their configs can be recreated, and\n // only if they are not retained within any other Stores):\n\n\n deleteNodeConfigIfPossible$1(node);\n}\n\nfunction nodesRetainedByZone(storeState, zone) {\n var _storeState$retention3;\n\n return (_storeState$retention3 = storeState.retention.nodesRetainedByZone.get(zone)) !== null && _storeState$retention3 !== void 0 ? _storeState$retention3 : emptySet$1;\n}\n\nfunction zonesThatCouldRetainNode(node) {\n const retainedBy = getNode$3(node).retainedBy;\n\n if (retainedBy === undefined || retainedBy === 'components' || retainedBy === 'recoilRoot') {\n return [];\n } else if (retainedBy instanceof RetentionZone$2) {\n return [retainedBy];\n } else {\n return retainedBy; // it's an array of zones\n }\n}\n\nfunction scheduleOrPerformPossibleReleaseOfRetainable(store, retainable) {\n const state = store.getState();\n\n if (state.nextTree) {\n state.retention.retainablesToCheckForRelease.add(retainable);\n } else {\n releaseRetainablesNowOnCurrentTree(store, new Set([retainable]));\n }\n}\n\nfunction updateRetainCount(store, retainable, delta) {\n var _map$get;\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const map = store.getState().retention.referenceCounts;\n const newCount = ((_map$get = map.get(retainable)) !== null && _map$get !== void 0 ? _map$get : 0) + delta;\n\n if (newCount === 0) {\n updateRetainCountToZero(store, retainable);\n } else {\n map.set(retainable, newCount);\n }\n}\n\nfunction updateRetainCountToZero(store, retainable) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const map = store.getState().retention.referenceCounts;\n map.delete(retainable);\n scheduleOrPerformPossibleReleaseOfRetainable(store, retainable);\n}\n\nfunction releaseScheduledRetainablesNow(store) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const state = store.getState();\n releaseRetainablesNowOnCurrentTree(store, state.retention.retainablesToCheckForRelease);\n state.retention.retainablesToCheckForRelease.clear();\n}\n\nfunction retainedByOptionWithDefault(r) {\n // The default will change from 'recoilRoot' to 'components' in the future.\n return r === undefined ? 'recoilRoot' : r;\n}\n\nvar Recoil_Retention = {\n SUSPENSE_TIMEOUT_MS,\n updateRetainCount,\n updateRetainCountToZero,\n releaseScheduledRetainablesNow,\n retainedByOptionWithDefault\n};\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is to export esstiential functions from react-dom\n * for our web build\n *\n * \n * @format\n * @oncall recoil\n */\nconst {\n unstable_batchedUpdates\n} = reactDom;\n\nvar ReactBatchedUpdates = {\n unstable_batchedUpdates\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is to export esstiential functions from react-dom\n * for our web build\n *\n * \n * @format\n * @oncall recoil\n */\n// @fb-only: const {unstable_batchedUpdates} = require('ReactDOMComet');\n// prettier-ignore\nconst {\n unstable_batchedUpdates: unstable_batchedUpdates$1\n} = ReactBatchedUpdates; // @oss-only\n\n\nvar Recoil_ReactBatchedUpdates = {\n unstable_batchedUpdates: unstable_batchedUpdates$1\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\nconst {\n batchStart: batchStart$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n unstable_batchedUpdates: unstable_batchedUpdates$2\n} = Recoil_ReactBatchedUpdates;\n\nlet batcher = unstable_batchedUpdates$2; // flowlint-next-line unclear-type:off\n\n/**\n * Sets the provided batcher function as the batcher function used by Recoil.\n *\n * Set the batcher to a custom batcher for your renderer,\n * if you use a renderer other than React DOM or React Native.\n */\nconst setBatcher = newBatcher => {\n batcher = newBatcher;\n};\n/**\n * Returns the current batcher function.\n */\n\n\nconst getBatcher = () => batcher;\n/**\n * Calls the current batcher function and passes the\n * provided callback function.\n */\n\n\nconst batchUpdates = callback => {\n batcher(() => {\n let batchEnd = () => undefined;\n\n try {\n batchEnd = batchStart$1();\n callback();\n } finally {\n batchEnd();\n }\n });\n};\n\nvar Recoil_Batching = {\n getBatcher,\n setBatcher,\n batchUpdates\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Combines multiple Iterables into a single Iterable.\n * Traverses the input Iterables in the order provided and maintains the order\n * of their elements.\n *\n * Example:\n * ```\n * const r = Array.from(concatIterables(['a', 'b'], ['c'], ['d', 'e', 'f']));\n * r == ['a', 'b', 'c', 'd', 'e', 'f'];\n * ```\n */\n\nfunction* concatIterables(iters) {\n for (const iter of iters) {\n for (const val of iter) {\n yield val;\n }\n }\n}\n\nvar Recoil_concatIterables = concatIterables;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/* eslint-disable fb-www/typeof-undefined */\n\nconst isSSR = // $FlowFixMe(site=recoil) Window does not have a FlowType definition https://github.com/facebook/flow/issues/6709\ntypeof Window === 'undefined' || typeof window === 'undefined';\n/* eslint-enable fb-www/typeof-undefined */\n\nconst isWindow = value => !isSSR && ( // $FlowFixMe(site=recoil) Window does not have a FlowType definition https://github.com/facebook/flow/issues/6709\nvalue === window || value instanceof Window);\n\nconst isReactNative = typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; // eslint-disable-line fb-www/typeof-undefined\n\nvar Recoil_Environment = {\n isSSR,\n isReactNative,\n isWindow\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Caches a function's results based on the key returned by the passed\n * hashFunction.\n */\n\nfunction memoizeWithArgsHash(fn, hashFunction) {\n let cache;\n\n const memoizedFn = (...args) => {\n if (!cache) {\n cache = {};\n }\n\n const key = hashFunction(...args);\n\n if (!Object.hasOwnProperty.call(cache, key)) {\n cache[key] = fn(...args);\n }\n\n return cache[key];\n };\n\n return memoizedFn;\n}\n/**\n * Caches a function's results based on a comparison of the arguments.\n * Only caches the last return of the function.\n * Defaults to reference equality\n */\n\n\nfunction memoizeOneWithArgsHash(fn, hashFunction) {\n let lastKey;\n let lastResult; // breaking cache when arguments change\n\n const memoizedFn = (...args) => {\n const key = hashFunction(...args);\n\n if (lastKey === key) {\n return lastResult;\n }\n\n lastKey = key;\n lastResult = fn(...args);\n return lastResult;\n };\n\n return memoizedFn;\n}\n/**\n * Caches a function's results based on a comparison of the arguments.\n * Only caches the last return of the function.\n * Defaults to reference equality\n */\n\n\nfunction memoizeOneWithArgsHashAndInvalidation(fn, hashFunction) {\n let lastKey;\n let lastResult; // breaking cache when arguments change\n\n const memoizedFn = (...args) => {\n const key = hashFunction(...args);\n\n if (lastKey === key) {\n return lastResult;\n }\n\n lastKey = key;\n lastResult = fn(...args);\n return lastResult;\n };\n\n const invalidate = () => {\n lastKey = null;\n };\n\n return [memoizedFn, invalidate];\n}\n\nvar Recoil_Memoize = {\n memoizeWithArgsHash,\n memoizeOneWithArgsHash,\n memoizeOneWithArgsHashAndInvalidation\n};\n\nconst {\n batchUpdates: batchUpdates$1\n} = Recoil_Batching;\n\nconst {\n initializeNode: initializeNode$1,\n peekNodeInfo: peekNodeInfo$1\n} = Recoil_FunctionalCore;\n\nconst {\n graph: graph$1\n} = Recoil_Graph;\n\nconst {\n getNextStoreID: getNextStoreID$1\n} = Recoil_Keys;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$1,\n recoilValues: recoilValues$1,\n recoilValuesForKeys: recoilValuesForKeys$2\n} = Recoil_Node;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$2,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$1,\n setRecoilValue: setRecoilValue$1,\n setUnvalidatedRecoilValue: setUnvalidatedRecoilValue$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n updateRetainCount: updateRetainCount$1\n} = Recoil_Retention;\n\nconst {\n setInvalidateMemoizedSnapshot: setInvalidateMemoizedSnapshot$1\n} = Recoil_SnapshotCache;\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$2,\n makeEmptyStoreState: makeEmptyStoreState$1\n} = Recoil_State;\n\n\n\nconst {\n isSSR: isSSR$1\n} = Recoil_Environment;\n\n\n\n\n\n\n\n\n\nconst {\n memoizeOneWithArgsHashAndInvalidation: memoizeOneWithArgsHashAndInvalidation$1\n} = Recoil_Memoize;\n\n\n\n // Opaque at this surface because it's part of the public API from here.\n\n\nconst retainWarning = `\nRecoil Snapshots only last for the duration of the callback they are provided to. To keep a Snapshot longer, do this:\n\n const release = snapshot.retain();\n try {\n await doSomethingWithSnapshot(snapshot);\n } finally {\n release();\n }\n\nThis is currently a DEV-only warning but will become a thrown exception in the next release of Recoil.\n`; // A \"Snapshot\" is \"read-only\" and captures a specific set of values of atoms.\n// However, the data-flow-graph and selector values may evolve as selector\n// evaluation functions are executed and async selectors resolve.\n\nclass Snapshot {\n // eslint-disable-next-line fb-www/no-uninitialized-properties\n constructor(storeState, parentStoreID) {\n _defineProperty(this, \"_store\", void 0);\n\n _defineProperty(this, \"_refCount\", 1);\n\n _defineProperty(this, \"getLoadable\", recoilValue => {\n this.checkRefCount_INTERNAL();\n return getRecoilValueAsLoadable$1(this._store, recoilValue);\n });\n\n _defineProperty(this, \"getPromise\", recoilValue => {\n this.checkRefCount_INTERNAL();\n return this.getLoadable(recoilValue).toPromise();\n });\n\n _defineProperty(this, \"getNodes_UNSTABLE\", opt => {\n this.checkRefCount_INTERNAL(); // TODO Deal with modified selectors\n\n if ((opt === null || opt === void 0 ? void 0 : opt.isModified) === true) {\n if ((opt === null || opt === void 0 ? void 0 : opt.isInitialized) === false) {\n return [];\n }\n\n const state = this._store.getState().currentTree;\n\n return recoilValuesForKeys$2(state.dirtyAtoms);\n }\n\n const knownAtoms = this._store.getState().knownAtoms;\n\n const knownSelectors = this._store.getState().knownSelectors;\n\n return (opt === null || opt === void 0 ? void 0 : opt.isInitialized) == null ? recoilValues$1.values() : opt.isInitialized === true ? recoilValuesForKeys$2(Recoil_concatIterables([knownAtoms, knownSelectors])) : Recoil_filterIterable(recoilValues$1.values(), ({\n key\n }) => !knownAtoms.has(key) && !knownSelectors.has(key));\n });\n\n _defineProperty(this, \"getInfo_UNSTABLE\", ({\n key\n }) => {\n this.checkRefCount_INTERNAL();\n return peekNodeInfo$1(this._store, this._store.getState().currentTree, key);\n });\n\n _defineProperty(this, \"map\", mapper => {\n this.checkRefCount_INTERNAL();\n const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);\n mapper(mutableSnapshot); // if removing batchUpdates from `set` add it here\n\n return mutableSnapshot;\n });\n\n _defineProperty(this, \"asyncMap\", async mapper => {\n this.checkRefCount_INTERNAL();\n const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);\n mutableSnapshot.retain(); // Retain new snapshot during async mapper\n\n await mapper(mutableSnapshot); // Continue to retain the new snapshot for the user, but auto-release it\n // after the next tick, the same as a new synchronous snapshot.\n\n mutableSnapshot.autoRelease_INTERNAL();\n return mutableSnapshot;\n });\n\n this._store = {\n storeID: getNextStoreID$1(),\n parentStoreID,\n getState: () => storeState,\n replaceState: replacer => {\n // no batching, so nextTree is never active\n storeState.currentTree = replacer(storeState.currentTree);\n },\n getGraph: version => {\n const graphs = storeState.graphsByVersion;\n\n if (graphs.has(version)) {\n return Recoil_nullthrows(graphs.get(version));\n }\n\n const newGraph = graph$1();\n graphs.set(version, newGraph);\n return newGraph;\n },\n subscribeToTransactions: () => ({\n release: () => {}\n }),\n addTransactionMetadata: () => {\n throw Recoil_err('Cannot subscribe to Snapshots');\n }\n }; // Initialize any nodes that are live in the parent store (primarily so that\n // this snapshot gets counted towards the node's live stores count).\n // TODO Optimize this when cloning snapshots for callbacks\n\n for (const nodeKey of this._store.getState().knownAtoms) {\n initializeNode$1(this._store, nodeKey, 'get');\n updateRetainCount$1(this._store, nodeKey, 1);\n }\n\n this.autoRelease_INTERNAL();\n }\n\n retain() {\n if (this._refCount <= 0) {\n if (process.env.NODE_ENV !== \"production\") {\n throw Recoil_err('Snapshot has already been released.');\n } else {\n Recoil_recoverableViolation('Attempt to retain() Snapshot that was already released.');\n }\n }\n\n this._refCount++;\n let released = false;\n return () => {\n if (!released) {\n released = true;\n\n this._release();\n }\n };\n }\n /**\n * Release the snapshot on the next tick. This means the snapshot is retained\n * during the execution of the current function using it.\n */\n\n\n autoRelease_INTERNAL() {\n if (!isSSR$1) {\n // Use timeout of 10 to workaround Firefox issue: https://github.com/facebookexperimental/Recoil/issues/1936\n window.setTimeout(() => this._release(), 10);\n }\n }\n\n _release() {\n this._refCount--;\n\n if (this._refCount === 0) {\n this._store.getState().nodeCleanupFunctions.forEach(cleanup => cleanup());\n\n this._store.getState().nodeCleanupFunctions.clear();\n\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // Temporarily nerfing this to allow us to find broken call sites without\n // actually breaking anybody yet.\n // for (const k of this._store.getState().knownAtoms) {\n // updateRetainCountToZero(this._store, k);\n // }\n\n } else if (this._refCount < 0) {\n if (process.env.NODE_ENV !== \"production\") {\n Recoil_recoverableViolation('Snapshot released an extra time.');\n }\n }\n }\n\n isRetained() {\n return this._refCount > 0;\n }\n\n checkRefCount_INTERNAL() {\n if (Recoil_gkx('recoil_memory_managament_2020') && this._refCount <= 0) {\n if (process.env.NODE_ENV !== \"production\") {\n Recoil_recoverableViolation(retainWarning);\n } // What we will ship later:\n // throw err(retainWarning);\n\n }\n }\n\n getStore_INTERNAL() {\n this.checkRefCount_INTERNAL();\n return this._store;\n }\n\n getID() {\n this.checkRefCount_INTERNAL();\n return this._store.getState().currentTree.stateID;\n }\n\n getStoreID() {\n this.checkRefCount_INTERNAL();\n return this._store.storeID;\n } // We want to allow the methods to be destructured and used as accessors\n\n /* eslint-disable fb-www/extra-arrow-initializer */\n\n /* eslint-enable fb-www/extra-arrow-initializer */\n\n\n}\n\nfunction cloneStoreState(store, treeState, bumpVersion = false) {\n const storeState = store.getState();\n const version = bumpVersion ? getNextTreeStateVersion$2() : treeState.version;\n return {\n // Always clone the TreeState to isolate stores from accidental mutations.\n // For example, reading a selector from a cloned snapshot shouldn't cache\n // in the original treestate which may cause the original to skip\n // initialization of upstream atoms.\n currentTree: {\n // TODO snapshots shouldn't really have versions because a new version number\n // is always assigned when the snapshot is gone to.\n version: bumpVersion ? version : treeState.version,\n stateID: bumpVersion ? version : treeState.stateID,\n transactionMetadata: { ...treeState.transactionMetadata\n },\n dirtyAtoms: new Set(treeState.dirtyAtoms),\n atomValues: treeState.atomValues.clone(),\n nonvalidatedAtoms: treeState.nonvalidatedAtoms.clone()\n },\n commitDepth: 0,\n nextTree: null,\n previousTree: null,\n knownAtoms: new Set(storeState.knownAtoms),\n // FIXME here's a copy\n knownSelectors: new Set(storeState.knownSelectors),\n // FIXME here's a copy\n transactionSubscriptions: new Map(),\n nodeTransactionSubscriptions: new Map(),\n nodeToComponentSubscriptions: new Map(),\n queuedComponentCallbacks_DEPRECATED: [],\n suspendedComponentResolvers: new Set(),\n graphsByVersion: new Map().set(version, store.getGraph(treeState.version)),\n retention: {\n referenceCounts: new Map(),\n nodesRetainedByZone: new Map(),\n retainablesToCheckForRelease: new Set()\n },\n // FIXME here's a copy\n // Create blank cleanup handlers for atoms so snapshots don't re-run\n // atom effects.\n nodeCleanupFunctions: new Map(Recoil_mapIterable(storeState.nodeCleanupFunctions.entries(), ([key]) => [key, () => {}]))\n };\n} // Factory to build a fresh snapshot\n\n\nfunction freshSnapshot(initializeState) {\n const snapshot = new Snapshot(makeEmptyStoreState$1());\n return initializeState != null ? snapshot.map(initializeState) : snapshot;\n} // Factory to clone a snapshot state\n\n\nconst [memoizedCloneSnapshot, invalidateMemoizedSnapshot$2] = memoizeOneWithArgsHashAndInvalidation$1((store, version) => {\n var _storeState$nextTree;\n\n const storeState = store.getState();\n const treeState = version === 'latest' ? (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree : Recoil_nullthrows(storeState.previousTree);\n return new Snapshot(cloneStoreState(store, treeState), store.storeID);\n}, (store, version) => {\n var _store$getState$nextT, _store$getState$previ;\n\n return String(version) + String(store.storeID) + String((_store$getState$nextT = store.getState().nextTree) === null || _store$getState$nextT === void 0 ? void 0 : _store$getState$nextT.version) + String(store.getState().currentTree.version) + String((_store$getState$previ = store.getState().previousTree) === null || _store$getState$previ === void 0 ? void 0 : _store$getState$previ.version);\n}); // Avoid circular dependencies\n\nsetInvalidateMemoizedSnapshot$1(invalidateMemoizedSnapshot$2);\n\nfunction cloneSnapshot(store, version = 'latest') {\n const snapshot = memoizedCloneSnapshot(store, version);\n\n if (!snapshot.isRetained()) {\n invalidateMemoizedSnapshot$2();\n return memoizedCloneSnapshot(store, version);\n }\n\n return snapshot;\n}\n\nclass MutableSnapshot extends Snapshot {\n constructor(snapshot, batch) {\n super(cloneStoreState(snapshot.getStore_INTERNAL(), snapshot.getStore_INTERNAL().getState().currentTree, true), snapshot.getStoreID());\n\n _defineProperty(this, \"_batch\", void 0);\n\n _defineProperty(this, \"set\", (recoilState, newValueOrUpdater) => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // This batchUpdates ensures this `set` is applied immediately and you can\n // read the written value after calling `set`. I would like to remove this\n // behavior and only batch in `Snapshot.map`, but this would be a breaking\n // change potentially.\n\n this._batch(() => {\n updateRetainCount$1(store, recoilState.key, 1);\n setRecoilValue$1(this.getStore_INTERNAL(), recoilState, newValueOrUpdater);\n });\n });\n\n _defineProperty(this, \"reset\", recoilState => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // See note at `set` about batched updates.\n\n this._batch(() => {\n updateRetainCount$1(store, recoilState.key, 1);\n setRecoilValue$1(this.getStore_INTERNAL(), recoilState, DEFAULT_VALUE$1);\n });\n });\n\n _defineProperty(this, \"setUnvalidatedAtomValues_DEPRECATED\", values => {\n this.checkRefCount_INTERNAL();\n const store = this.getStore_INTERNAL(); // See note at `set` about batched updates.\n\n batchUpdates$1(() => {\n for (const [k, v] of values.entries()) {\n updateRetainCount$1(store, k, 1);\n setUnvalidatedRecoilValue$1(store, new AbstractRecoilValue$2(k), v);\n }\n });\n });\n\n this._batch = batch;\n }\n\n}\n\nvar Recoil_Snapshot = {\n Snapshot,\n MutableSnapshot,\n freshSnapshot,\n cloneSnapshot\n};\n\nvar Recoil_Snapshot_1 = Recoil_Snapshot.Snapshot;\nvar Recoil_Snapshot_2 = Recoil_Snapshot.MutableSnapshot;\nvar Recoil_Snapshot_3 = Recoil_Snapshot.freshSnapshot;\nvar Recoil_Snapshot_4 = Recoil_Snapshot.cloneSnapshot;\n\nvar Recoil_Snapshot$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n Snapshot: Recoil_Snapshot_1,\n MutableSnapshot: Recoil_Snapshot_2,\n freshSnapshot: Recoil_Snapshot_3,\n cloneSnapshot: Recoil_Snapshot_4\n});\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction unionSets(...sets) {\n const result = new Set();\n\n for (const set of sets) {\n for (const value of set) {\n result.add(value);\n }\n }\n\n return result;\n}\n\nvar Recoil_unionSets = unionSets;\n\nconst {\n useRef\n} = react;\n/**\n * The same as `useRef()` except that if a function is specified then it will\n * call that function to get the value to initialize the reference with.\n * This is similar to how `useState()` behaves when given a function. It allows\n * the user to avoid generating the initial value for subsequent renders.\n * The tradeoff is that to set the reference to a function itself you need to\n * nest it: useRefInitOnce(() => () => {...});\n */\n\n\nfunction useRefInitOnce(initialValue) {\n // $FlowExpectedError[incompatible-call]\n const ref = useRef(initialValue);\n\n if (ref.current === initialValue && typeof initialValue === 'function') {\n // $FlowExpectedError[incompatible-use]\n ref.current = initialValue();\n }\n\n return ref;\n}\n\nvar Recoil_useRefInitOnce = useRefInitOnce;\n\n// @fb-only: const RecoilusagelogEvent = require('RecoilusagelogEvent');\n// @fb-only: const RecoilUsageLogFalcoEvent = require('RecoilUsageLogFalcoEvent');\n// @fb-only: const URI = require('URI');\n\n\nconst {\n getNextTreeStateVersion: getNextTreeStateVersion$3,\n makeEmptyStoreState: makeEmptyStoreState$2\n} = Recoil_State;\n\nconst {\n cleanUpNode: cleanUpNode$2,\n getDownstreamNodes: getDownstreamNodes$2,\n initializeNode: initializeNode$2,\n setNodeValue: setNodeValue$2,\n setUnvalidatedAtomValue_DEPRECATED: setUnvalidatedAtomValue_DEPRECATED$1\n} = Recoil_FunctionalCore;\n\nconst {\n graph: graph$2\n} = Recoil_Graph;\n\nconst {\n cloneGraph: cloneGraph$1\n} = Recoil_Graph;\n\nconst {\n getNextStoreID: getNextStoreID$2\n} = Recoil_Keys;\n\nconst {\n createMutableSource: createMutableSource$1,\n reactMode: reactMode$2\n} = Recoil_ReactMode;\n\nconst {\n applyAtomValueWrites: applyAtomValueWrites$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n releaseScheduledRetainablesNow: releaseScheduledRetainablesNow$1\n} = Recoil_Retention;\n\nconst {\n freshSnapshot: freshSnapshot$1\n} = Recoil_Snapshot$1;\n\n\n\nconst {\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef: useRef$1,\n useState\n} = react;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction notInAContext() {\n throw Recoil_err('This component must be used inside a component.');\n}\n\nconst defaultStore = Object.freeze({\n storeID: getNextStoreID$2(),\n getState: notInAContext,\n replaceState: notInAContext,\n getGraph: notInAContext,\n subscribeToTransactions: notInAContext,\n addTransactionMetadata: notInAContext\n});\nlet stateReplacerIsBeingExecuted = false;\n\nfunction startNextTreeIfNeeded(store) {\n if (stateReplacerIsBeingExecuted) {\n throw Recoil_err('An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.');\n }\n\n const storeState = store.getState();\n\n if (storeState.nextTree === null) {\n if (Recoil_gkx('recoil_memory_managament_2020') && Recoil_gkx('recoil_release_on_cascading_update_killswitch_2021')) {\n // If this is a cascading update (that is, rendering due to one state change\n // invokes a second state change), we won't have cleaned up retainables yet\n // because this normally happens after notifying components. Do it before\n // proceeding with the cascading update so that it remains predictable:\n if (storeState.commitDepth > 0) {\n releaseScheduledRetainablesNow$1(store);\n }\n }\n\n const version = storeState.currentTree.version;\n const nextVersion = getNextTreeStateVersion$3();\n storeState.nextTree = { ...storeState.currentTree,\n version: nextVersion,\n stateID: nextVersion,\n dirtyAtoms: new Set(),\n transactionMetadata: {}\n };\n storeState.graphsByVersion.set(nextVersion, cloneGraph$1(Recoil_nullthrows(storeState.graphsByVersion.get(version))));\n }\n}\n\nconst AppContext = react.createContext({\n current: defaultStore\n});\n\nconst useStoreRef = () => useContext(AppContext); // $FlowExpectedError[incompatible-call]\n\n\nconst MutableSourceContext = react.createContext(null);\n\nfunction useRecoilMutableSource() {\n const mutableSource = useContext(MutableSourceContext);\n\n if (mutableSource == null) {\n Recoil_expectationViolation('Attempted to use a Recoil hook outside of a . ' + ' must be an ancestor of any component that uses ' + 'Recoil hooks.');\n }\n\n return mutableSource;\n}\n\nfunction notifyComponents(store, storeState, treeState) {\n const dependentNodes = getDownstreamNodes$2(store, treeState, treeState.dirtyAtoms);\n\n for (const key of dependentNodes) {\n const comps = storeState.nodeToComponentSubscriptions.get(key);\n\n if (comps) {\n for (const [_subID, [_debugName, callback]] of comps) {\n callback(treeState);\n }\n }\n }\n}\n\nfunction sendEndOfBatchNotifications(store) {\n const storeState = store.getState();\n const treeState = storeState.currentTree; // Inform transaction subscribers of the transaction:\n\n const dirtyAtoms = treeState.dirtyAtoms;\n\n if (dirtyAtoms.size) {\n // Execute Node-specific subscribers before global subscribers\n for (const [key, subscriptions] of storeState.nodeTransactionSubscriptions) {\n if (dirtyAtoms.has(key)) {\n for (const [_, subscription] of subscriptions) {\n subscription(store);\n }\n }\n }\n\n for (const [_, subscription] of storeState.transactionSubscriptions) {\n subscription(store);\n }\n\n if (!reactMode$2().early || storeState.suspendedComponentResolvers.size > 0) {\n // Notifying components is needed to wake from suspense, even when using\n // early rendering.\n notifyComponents(store, storeState, treeState); // Wake all suspended components so the right one(s) can try to re-render.\n // We need to wake up components not just when some asynchronous selector\n // resolved, but also when changing synchronous values because this may cause\n // a selector to change from asynchronous to synchronous, in which case there\n // would be no follow-up asynchronous resolution to wake us up.\n // TODO OPTIMIZATION Only wake up related downstream components\n\n storeState.suspendedComponentResolvers.forEach(cb => cb());\n storeState.suspendedComponentResolvers.clear();\n }\n } // Special behavior ONLY invoked by useInterface.\n // FIXME delete queuedComponentCallbacks_DEPRECATED when deleting useInterface.\n\n\n storeState.queuedComponentCallbacks_DEPRECATED.forEach(cb => cb(treeState));\n storeState.queuedComponentCallbacks_DEPRECATED.splice(0, storeState.queuedComponentCallbacks_DEPRECATED.length);\n}\n\nfunction endBatch(store) {\n const storeState = store.getState();\n storeState.commitDepth++;\n\n try {\n const {\n nextTree\n } = storeState; // Ignore commits that are not because of Recoil transactions -- namely,\n // because something above RecoilRoot re-rendered:\n\n if (nextTree == null) {\n return;\n } // nextTree is now committed -- note that copying and reset occurs when\n // a transaction begins, in startNextTreeIfNeeded:\n\n\n storeState.previousTree = storeState.currentTree;\n storeState.currentTree = nextTree;\n storeState.nextTree = null;\n sendEndOfBatchNotifications(store);\n\n if (storeState.previousTree != null) {\n storeState.graphsByVersion.delete(storeState.previousTree.version);\n } else {\n Recoil_recoverableViolation('Ended batch with no previous state, which is unexpected', 'recoil');\n }\n\n storeState.previousTree = null;\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // Only release retainables if there were no writes during the end of the\n // batch. This avoids releasing something we might be about to use.\n if (nextTree == null) {\n releaseScheduledRetainablesNow$1(store);\n }\n }\n } finally {\n storeState.commitDepth--;\n }\n}\n/*\n * The purpose of the Batcher is to observe when React batches end so that\n * Recoil state changes can be batched. Whenever Recoil state changes, we call\n * setState on the batcher. Then we wait for that change to be committed, which\n * signifies the end of the batch. That's when we respond to the Recoil change.\n */\n\n\nfunction Batcher({\n setNotifyBatcherOfChange\n}) {\n const storeRef = useStoreRef();\n const [, setState] = useState([]);\n setNotifyBatcherOfChange(() => setState({}));\n useEffect(() => {\n setNotifyBatcherOfChange(() => setState({})); // If an asynchronous selector resolves after the Batcher is unmounted,\n // notifyBatcherOfChange will still be called. An error gets thrown whenever\n // setState is called after a component is already unmounted, so this sets\n // notifyBatcherOfChange to be a no-op.\n\n return () => {\n setNotifyBatcherOfChange(() => {});\n };\n }, [setNotifyBatcherOfChange]);\n useEffect(() => {\n // enqueueExecution runs this function immediately; it is only used to\n // manipulate the order of useEffects during tests, since React seems to\n // call useEffect in an unpredictable order sometimes.\n Recoil_Queue.enqueueExecution('Batcher', () => {\n endBatch(storeRef.current);\n });\n });\n return null;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined' && !window.$recoilDebugStates) {\n window.$recoilDebugStates = [];\n }\n} // When removing this deprecated function, remove stateBySettingRecoilValue\n// which will no longer be needed.\n\n\nfunction initialStoreState_DEPRECATED(store, initializeState) {\n const initial = makeEmptyStoreState$2();\n initializeState({\n set: (atom, value) => {\n const state = initial.currentTree;\n const writes = setNodeValue$2(store, state, atom.key, value);\n const writtenNodes = new Set(writes.keys());\n const nonvalidatedAtoms = state.nonvalidatedAtoms.clone();\n\n for (const n of writtenNodes) {\n nonvalidatedAtoms.delete(n);\n }\n\n initial.currentTree = { ...state,\n dirtyAtoms: Recoil_unionSets(state.dirtyAtoms, writtenNodes),\n atomValues: applyAtomValueWrites$1(state.atomValues, writes),\n // NB: PLEASE un-export applyAtomValueWrites when deleting this code\n nonvalidatedAtoms\n };\n },\n setUnvalidatedAtomValues: atomValues => {\n // FIXME replace this with a mutative loop\n atomValues.forEach((v, k) => {\n initial.currentTree = setUnvalidatedAtomValue_DEPRECATED$1(initial.currentTree, k, v);\n });\n }\n });\n return initial;\n} // Initialize state snapshot for for the initializeState prop.\n// Atom effect initialization takes precedence over this prop.\n// Any atom effects will be run before initialization, but then cleaned up,\n// they are then re-run when used as part of rendering. These semantics are\n// compatible with React StrictMode where effects may be re-run multiple times\n// but state initialization only happens once the first time.\n\n\nfunction initialStoreState(initializeState) {\n // Initialize a snapshot and get its store\n const snapshot = freshSnapshot$1(initializeState);\n const storeState = snapshot.getStore_INTERNAL().getState(); // Counteract the snapshot auto-release\n\n snapshot.retain(); // Cleanup any effects run during initialization and clear the handlers so\n // they will re-initialize if used during rendering. This allows atom effect\n // initialization to take precedence over initializeState and be compatible\n // with StrictMode semantics.\n\n storeState.nodeCleanupFunctions.forEach(cleanup => cleanup());\n storeState.nodeCleanupFunctions.clear();\n return storeState;\n}\n\nlet nextID = 0;\n\nfunction RecoilRoot_INTERNAL({\n initializeState_DEPRECATED,\n initializeState,\n store_INTERNAL: storeProp,\n // For use with React \"context bridging\"\n children\n}) {\n // prettier-ignore\n // @fb-only: useEffect(() => {\n // @fb-only: if (gkx('recoil_usage_logging')) {\n // @fb-only: try {\n // @fb-only: RecoilUsageLogFalcoEvent.log(() => ({\n // @fb-only: type: RecoilusagelogEvent.RECOIL_ROOT_MOUNTED,\n // @fb-only: path: URI.getRequestURI().getPath(),\n // @fb-only: }));\n // @fb-only: } catch {\n // @fb-only: recoverableViolation(\n // @fb-only: 'Error when logging Recoil Usage event',\n // @fb-only: 'recoil',\n // @fb-only: );\n // @fb-only: }\n // @fb-only: }\n // @fb-only: }, []);\n let storeStateRef; // eslint-disable-line prefer-const\n\n const getGraph = version => {\n const graphs = storeStateRef.current.graphsByVersion;\n\n if (graphs.has(version)) {\n return Recoil_nullthrows(graphs.get(version));\n }\n\n const newGraph = graph$2();\n graphs.set(version, newGraph);\n return newGraph;\n };\n\n const subscribeToTransactions = (callback, key) => {\n if (key == null) {\n // Global transaction subscriptions\n const {\n transactionSubscriptions\n } = storeRef.current.getState();\n const id = nextID++;\n transactionSubscriptions.set(id, callback);\n return {\n release: () => {\n transactionSubscriptions.delete(id);\n }\n };\n } else {\n // Node-specific transaction subscriptions:\n const {\n nodeTransactionSubscriptions\n } = storeRef.current.getState();\n\n if (!nodeTransactionSubscriptions.has(key)) {\n nodeTransactionSubscriptions.set(key, new Map());\n }\n\n const id = nextID++;\n Recoil_nullthrows(nodeTransactionSubscriptions.get(key)).set(id, callback);\n return {\n release: () => {\n const subs = nodeTransactionSubscriptions.get(key);\n\n if (subs) {\n subs.delete(id);\n\n if (subs.size === 0) {\n nodeTransactionSubscriptions.delete(key);\n }\n }\n }\n };\n }\n };\n\n const addTransactionMetadata = metadata => {\n startNextTreeIfNeeded(storeRef.current);\n\n for (const k of Object.keys(metadata)) {\n Recoil_nullthrows(storeRef.current.getState().nextTree).transactionMetadata[k] = metadata[k];\n }\n };\n\n const replaceState = replacer => {\n startNextTreeIfNeeded(storeRef.current); // Use replacer to get the next state:\n\n const nextTree = Recoil_nullthrows(storeStateRef.current.nextTree);\n let replaced;\n\n try {\n stateReplacerIsBeingExecuted = true;\n replaced = replacer(nextTree);\n } finally {\n stateReplacerIsBeingExecuted = false;\n }\n\n if (replaced === nextTree) {\n return;\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined') {\n window.$recoilDebugStates.push(replaced); // TODO this shouldn't happen here because it's not batched\n }\n } // Save changes to nextTree and schedule a React update:\n\n\n storeStateRef.current.nextTree = replaced;\n\n if (reactMode$2().early) {\n notifyComponents(storeRef.current, storeStateRef.current, replaced);\n }\n\n Recoil_nullthrows(notifyBatcherOfChange.current)();\n };\n\n const notifyBatcherOfChange = useRef$1(null);\n const setNotifyBatcherOfChange = useCallback(x => {\n notifyBatcherOfChange.current = x;\n }, [notifyBatcherOfChange]);\n const storeRef = Recoil_useRefInitOnce(() => storeProp !== null && storeProp !== void 0 ? storeProp : {\n storeID: getNextStoreID$2(),\n getState: () => storeStateRef.current,\n replaceState,\n getGraph,\n subscribeToTransactions,\n addTransactionMetadata\n });\n\n if (storeProp != null) {\n storeRef.current = storeProp;\n }\n\n storeStateRef = Recoil_useRefInitOnce(() => initializeState_DEPRECATED != null ? initialStoreState_DEPRECATED(storeRef.current, initializeState_DEPRECATED) : initializeState != null ? initialStoreState(initializeState) : makeEmptyStoreState$2());\n const mutableSource = useMemo(() => createMutableSource$1 === null || createMutableSource$1 === void 0 ? void 0 : createMutableSource$1(storeStateRef, () => storeStateRef.current.currentTree.version), [storeStateRef]); // Cleanup when the is unmounted\n\n useEffect(() => {\n // React is free to call effect cleanup handlers and effects at will, the\n // deps array is only an optimization. For example, React strict mode\n // will execute each effect twice for testing. Therefore, we need symmetry\n // to re-initialize all known atoms after they were cleaned up.\n const store = storeRef.current;\n\n for (const atomKey of new Set(store.getState().knownAtoms)) {\n initializeNode$2(store, atomKey, 'get');\n }\n\n return () => {\n for (const atomKey of store.getState().knownAtoms) {\n cleanUpNode$2(store, atomKey);\n }\n };\n }, [storeRef]);\n return /*#__PURE__*/react.createElement(AppContext.Provider, {\n value: storeRef\n }, /*#__PURE__*/react.createElement(MutableSourceContext.Provider, {\n value: mutableSource\n }, /*#__PURE__*/react.createElement(Batcher, {\n setNotifyBatcherOfChange: setNotifyBatcherOfChange\n }), children));\n}\n\nfunction RecoilRoot(props) {\n const {\n override,\n ...propsExceptOverride\n } = props;\n const ancestorStoreRef = useStoreRef();\n\n if (override === false && ancestorStoreRef.current !== defaultStore) {\n // If ancestorStoreRef.current !== defaultStore, it means that this\n // RecoilRoot is not nested within another.\n return props.children;\n }\n\n return /*#__PURE__*/react.createElement(RecoilRoot_INTERNAL, propsExceptOverride);\n}\n\nfunction useRecoilStoreID() {\n return useStoreRef().current.storeID;\n}\n\nvar Recoil_RecoilRoot = {\n RecoilRoot,\n useStoreRef,\n useRecoilMutableSource,\n useRecoilStoreID,\n notifyComponents_FOR_TESTING: notifyComponents,\n sendEndOfBatchNotifications_FOR_TESTING: sendEndOfBatchNotifications\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction shallowArrayEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n if (a.length !== b.length) {\n return false;\n }\n\n for (let i = 0, l = a.length; i < l; i++) {\n if (a[i] !== b[i]) {\n return false;\n }\n }\n\n return true;\n}\n\nvar Recoil_shallowArrayEqual = shallowArrayEqual;\n\nconst {\n useEffect: useEffect$1,\n useRef: useRef$2\n} = react;\n\nfunction usePrevious(value) {\n const ref = useRef$2();\n useEffect$1(() => {\n ref.current = value;\n });\n return ref.current;\n}\n\nvar Recoil_usePrevious = usePrevious;\n\nconst {\n useStoreRef: useStoreRef$1\n} = Recoil_RecoilRoot;\n\nconst {\n SUSPENSE_TIMEOUT_MS: SUSPENSE_TIMEOUT_MS$1\n} = Recoil_Retention;\n\nconst {\n updateRetainCount: updateRetainCount$2\n} = Recoil_Retention;\n\nconst {\n RetentionZone: RetentionZone$3\n} = Recoil_RetentionZone;\n\nconst {\n useEffect: useEffect$2,\n useRef: useRef$3\n} = react;\n\nconst {\n isSSR: isSSR$2\n} = Recoil_Environment;\n\n\n\n\n\n // I don't see a way to avoid the any type here because we want to accept readable\n// and writable values with any type parameter, but normally with writable ones\n// RecoilState is not a subtype of RecoilState.\n\n\n// flowlint-line unclear-type:off\nfunction useRetain(toRetain) {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n } // eslint-disable-next-line fb-www/react-hooks\n\n\n return useRetain_ACTUAL(toRetain);\n}\n\nfunction useRetain_ACTUAL(toRetain) {\n const array = Array.isArray(toRetain) ? toRetain : [toRetain];\n const retainables = array.map(a => a instanceof RetentionZone$3 ? a : a.key);\n const storeRef = useStoreRef$1();\n useEffect$2(() => {\n if (!Recoil_gkx('recoil_memory_managament_2020')) {\n return;\n }\n\n const store = storeRef.current;\n\n if (timeoutID.current && !isSSR$2) {\n // Already performed a temporary retain on render, simply cancel the release\n // of that temporary retain.\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n } else {\n for (const r of retainables) {\n updateRetainCount$2(store, r, 1);\n }\n }\n\n return () => {\n for (const r of retainables) {\n updateRetainCount$2(store, r, -1);\n }\n }; // eslint-disable-next-line fb-www/react-hooks-deps\n }, [storeRef, ...retainables]); // We want to retain if the component suspends. This is terrible but the Suspense\n // API affords us no better option. If we suspend and never commit after some\n // seconds, then release. The 'actual' retain/release in the effect above\n // cancels this.\n\n const timeoutID = useRef$3();\n const previousRetainables = Recoil_usePrevious(retainables);\n\n if (!isSSR$2 && (previousRetainables === undefined || !Recoil_shallowArrayEqual(previousRetainables, retainables))) {\n const store = storeRef.current;\n\n for (const r of retainables) {\n updateRetainCount$2(store, r, 1);\n }\n\n if (previousRetainables) {\n for (const r of previousRetainables) {\n updateRetainCount$2(store, r, -1);\n }\n }\n\n if (timeoutID.current) {\n window.clearTimeout(timeoutID.current);\n }\n\n timeoutID.current = window.setTimeout(() => {\n timeoutID.current = null;\n\n for (const r of retainables) {\n updateRetainCount$2(store, r, -1);\n }\n }, SUSPENSE_TIMEOUT_MS$1);\n }\n}\n\nvar Recoil_useRetain = useRetain;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * THIS CODE HAS BEEN COMMENTED OUT INTENTIONALLY\n *\n * This technique of getting the component name is imperfect, since it both only\n * works in a non-minified code base, and more importantly introduces performance\n * problems since it relies in throwing errors which is an expensive operation.\n *\n * At some point we may want to reevaluate this technique hence why we have commented\n * this code out, rather than delete it all together.\n */\n// const {useRef} = require('react');\n// const gkx = require('recoil-shared/util/Recoil_gkx');\n// const stackTraceParser = require('recoil-shared/util/Recoil_stackTraceParser');\n\nfunction useComponentName() {\n // const nameRef = useRef();\n // if (__DEV__) {\n // if (gkx('recoil_infer_component_names')) {\n // if (nameRef.current === undefined) {\n // // There is no blessed way to determine the calling React component from\n // // within a hook. This hack uses the fact that hooks must start with 'use'\n // // and that hooks are either called by React Components or other hooks. It\n // // follows therefore, that to find the calling component, you simply need\n // // to look down the stack and find the first function which doesn't start\n // // with 'use'. We are only enabling this in dev for now, since once the\n // // codebase is minified, the naming assumptions no longer hold true.\n // // eslint-disable-next-line fb-www/no-new-error\n // const frames = stackTraceParser(new Error().stack);\n // for (const {methodName} of frames) {\n // // I observed cases where the frame was of the form 'Object.useXXX'\n // // hence why I'm searching for hooks following a word boundary\n // if (!methodName.match(/\\buse[^\\b]+$/)) {\n // return (nameRef.current = methodName);\n // }\n // }\n // nameRef.current = null;\n // }\n // return nameRef.current ?? '';\n // }\n // }\n // @fb-only: return \"\";\n return ''; // @oss-only\n}\n\nvar Recoil_useComponentName = useComponentName;\n\nconst {\n batchUpdates: batchUpdates$2\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$2\n} = Recoil_Node;\n\nconst {\n currentRendererSupportsUseSyncExternalStore: currentRendererSupportsUseSyncExternalStore$1,\n reactMode: reactMode$3,\n useMutableSource: useMutableSource$1,\n useSyncExternalStore: useSyncExternalStore$1\n} = Recoil_ReactMode;\n\nconst {\n useRecoilMutableSource: useRecoilMutableSource$1,\n useStoreRef: useStoreRef$2\n} = Recoil_RecoilRoot;\n\nconst {\n isRecoilValue: isRecoilValue$2\n} = Recoil_RecoilValue$1;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$3,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$2,\n setRecoilValue: setRecoilValue$2,\n setUnvalidatedRecoilValue: setUnvalidatedRecoilValue$2,\n subscribeToRecoilValue: subscribeToRecoilValue$1\n} = Recoil_RecoilValueInterface;\n\n\n\nconst {\n useCallback: useCallback$1,\n useEffect: useEffect$3,\n useMemo: useMemo$1,\n useRef: useRef$4,\n useState: useState$1\n} = react;\n\nconst {\n setByAddingToSet: setByAddingToSet$2\n} = Recoil_CopyOnWrite;\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction handleLoadable(loadable, recoilValue, storeRef) {\n // We can't just throw the promise we are waiting on to Suspense. If the\n // upstream dependencies change it may produce a state in which the component\n // can render, but it would still be suspended on a Promise that may never resolve.\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'loading') {\n const promise = new Promise(resolve => {\n storeRef.current.getState().suspendedComponentResolvers.add(resolve);\n }); // $FlowExpectedError Flow(prop-missing) for integrating with tools that inspect thrown promises @fb-only\n // @fb-only: promise.displayName = `Recoil State: ${recoilValue.key}`;\n\n throw promise;\n } else if (loadable.state === 'hasError') {\n throw loadable.contents;\n } else {\n throw Recoil_err(`Invalid value of loadable atom \"${recoilValue.key}\"`);\n }\n}\n\nfunction validateRecoilValue(recoilValue, hookName) {\n if (!isRecoilValue$2(recoilValue)) {\n throw Recoil_err(`Invalid argument to ${hookName}: expected an atom or selector but got ${String(recoilValue)}`);\n }\n}\n\n/**\n * Various things are broken with useRecoilInterface, particularly concurrent\n * mode, React strict mode, and memory management. They will not be fixed.\n * */\nfunction useRecoilInterface_DEPRECATED() {\n const componentName = Recoil_useComponentName();\n const storeRef = useStoreRef$2(); // eslint-disable-next-line fb-www/react-no-unused-state-hook\n\n const [, forceUpdate] = useState$1([]);\n const recoilValuesUsed = useRef$4(new Set());\n recoilValuesUsed.current = new Set(); // Track the RecoilValues used just during this render\n\n const previousSubscriptions = useRef$4(new Set());\n const subscriptions = useRef$4(new Map());\n const unsubscribeFrom = useCallback$1(key => {\n const sub = subscriptions.current.get(key);\n\n if (sub) {\n sub.release();\n subscriptions.current.delete(key);\n }\n }, [subscriptions]);\n const updateState = useCallback$1((_state, key) => {\n if (subscriptions.current.has(key)) {\n forceUpdate([]);\n }\n }, []); // Effect to add/remove subscriptions as nodes are used\n\n useEffect$3(() => {\n const store = storeRef.current;\n Recoil_differenceSets(recoilValuesUsed.current, previousSubscriptions.current).forEach(key => {\n if (subscriptions.current.has(key)) {\n Recoil_expectationViolation(`Double subscription to RecoilValue \"${key}\"`);\n return;\n }\n\n const sub = subscribeToRecoilValue$1(store, new AbstractRecoilValue$3(key), state => updateState(state, key), componentName);\n subscriptions.current.set(key, sub);\n /**\n * Since we're subscribing in an effect we need to update to the latest\n * value of the atom since it may have changed since we rendered. We can\n * go ahead and do that now, unless we're in the middle of a batch --\n * in which case we should do it at the end of the batch, due to the\n * following edge case: Suppose an atom is updated in another useEffect\n * of this same component. Then the following sequence of events occur:\n * 1. Atom is updated and subs fired (but we may not be subscribed\n * yet depending on order of effects, so we miss this) Updated value\n * is now in nextTree, but not currentTree.\n * 2. This effect happens. We subscribe and update.\n * 3. From the update we re-render and read currentTree, with old value.\n * 4. Batcher's effect sets currentTree to nextTree.\n * In this sequence we miss the update. To avoid that, add the update\n * to queuedComponentCallback if a batch is in progress.\n */\n // FIXME delete queuedComponentCallbacks_DEPRECATED when deleting useInterface.\n\n const state = store.getState();\n\n if (state.nextTree) {\n store.getState().queuedComponentCallbacks_DEPRECATED.push(() => {\n updateState(store.getState(), key);\n });\n } else {\n updateState(store.getState(), key);\n }\n });\n Recoil_differenceSets(previousSubscriptions.current, recoilValuesUsed.current).forEach(key => {\n unsubscribeFrom(key);\n });\n previousSubscriptions.current = recoilValuesUsed.current;\n }); // Effect to unsubscribe from all when unmounting\n\n useEffect$3(() => {\n const currentSubscriptions = subscriptions.current; // Restore subscriptions that were cleared due to StrictMode running this effect twice\n\n Recoil_differenceSets(recoilValuesUsed.current, new Set(currentSubscriptions.keys())).forEach(key => {\n const sub = subscribeToRecoilValue$1(storeRef.current, new AbstractRecoilValue$3(key), state => updateState(state, key), componentName);\n currentSubscriptions.set(key, sub);\n });\n return () => currentSubscriptions.forEach((_, key) => unsubscribeFrom(key));\n }, [componentName, storeRef, unsubscribeFrom, updateState]);\n return useMemo$1(() => {\n // eslint-disable-next-line no-shadow\n function useSetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useSetRecoilState');\n }\n\n return newValueOrUpdater => {\n setRecoilValue$2(storeRef.current, recoilState, newValueOrUpdater);\n };\n } // eslint-disable-next-line no-shadow\n\n\n function useResetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useResetRecoilState');\n }\n\n return () => setRecoilValue$2(storeRef.current, recoilState, DEFAULT_VALUE$2);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilValueLoadable(recoilValue) {\n var _storeState$nextTree;\n\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable');\n }\n\n if (!recoilValuesUsed.current.has(recoilValue.key)) {\n recoilValuesUsed.current = setByAddingToSet$2(recoilValuesUsed.current, recoilValue.key);\n } // TODO Restore optimization to memoize lookup\n\n\n const storeState = storeRef.current.getState();\n return getRecoilValueAsLoadable$2(storeRef.current, recoilValue, reactMode$3().early ? (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree : storeState.currentTree);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilValue(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue');\n }\n\n const loadable = useRecoilValueLoadable(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState');\n }\n\n return [useRecoilValue(recoilState), useSetRecoilState(recoilState)];\n } // eslint-disable-next-line no-shadow\n\n\n function useRecoilStateLoadable(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilStateLoadable');\n }\n\n return [useRecoilValueLoadable(recoilState), useSetRecoilState(recoilState)];\n }\n\n return {\n getRecoilValue: useRecoilValue,\n getRecoilValueLoadable: useRecoilValueLoadable,\n getRecoilState: useRecoilState,\n getRecoilStateLoadable: useRecoilStateLoadable,\n getSetRecoilState: useSetRecoilState,\n getResetRecoilState: useResetRecoilState\n };\n }, [recoilValuesUsed, storeRef]);\n}\n\nconst recoilComponentGetRecoilValueCount_FOR_TESTING = {\n current: 0\n};\n\nfunction useRecoilValueLoadable_SYNC_EXTERNAL_STORE(recoilValue) {\n const storeRef = useStoreRef$2();\n const componentName = Recoil_useComponentName();\n const getSnapshot = useCallback$1(() => {\n var _storeState$nextTree2;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree2 = storeState.nextTree) !== null && _storeState$nextTree2 !== void 0 ? _storeState$nextTree2 : storeState.currentTree : storeState.currentTree;\n const loadable = getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n return {\n loadable,\n key: recoilValue.key\n };\n }, [storeRef, recoilValue]); // Memoize the state to avoid unnecessary rerenders\n\n const memoizePreviousSnapshot = useCallback$1(getState => {\n let prevState;\n return () => {\n var _prevState, _prevState2;\n\n const nextState = getState();\n\n if ((_prevState = prevState) !== null && _prevState !== void 0 && _prevState.loadable.is(nextState.loadable) && ((_prevState2 = prevState) === null || _prevState2 === void 0 ? void 0 : _prevState2.key) === nextState.key) {\n return prevState;\n }\n\n prevState = nextState;\n return nextState;\n };\n }, []);\n const getMemoizedSnapshot = useMemo$1(() => memoizePreviousSnapshot(getSnapshot), [getSnapshot, memoizePreviousSnapshot]);\n const subscribe = useCallback$1(notify => {\n const store = storeRef.current;\n const subscription = subscribeToRecoilValue$1(store, recoilValue, notify, componentName);\n return subscription.release;\n }, [storeRef, recoilValue, componentName]);\n return useSyncExternalStore$1(subscribe, getMemoizedSnapshot, // getSnapshot()\n getMemoizedSnapshot // getServerSnapshot() for SSR support\n ).loadable;\n}\n\nfunction useRecoilValueLoadable_MUTABLE_SOURCE(recoilValue) {\n const storeRef = useStoreRef$2();\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree3;\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree3 = storeState.nextTree) !== null && _storeState$nextTree3 !== void 0 ? _storeState$nextTree3 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const getLoadableWithTesting = useCallback$1(() => {\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n return getLoadable();\n }, [getLoadable]);\n const componentName = Recoil_useComponentName();\n const subscribe = useCallback$1((_storeState, notify) => {\n const store = storeRef.current;\n const subscription = subscribeToRecoilValue$1(store, recoilValue, () => {\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return notify();\n } // Only re-render if the value has changed.\n // This will evaluate the atom/selector now as well as when the\n // component renders, but that may help with prefetching.\n\n\n const newLoadable = getLoadable();\n\n if (!prevLoadableRef.current.is(newLoadable)) {\n notify();\n } // If the component is suspended then the effect setting prevLoadableRef\n // will not run. So, set the previous value here when its subscription\n // is fired to wake it up. We can't just rely on this, though, because\n // this only executes when an atom/selector is dirty and the atom/selector\n // passed to the hook can dynamically change.\n\n\n prevLoadableRef.current = newLoadable;\n }, componentName);\n return subscription.release;\n }, [storeRef, recoilValue, componentName, getLoadable]);\n const source = useRecoilMutableSource$1();\n\n if (source == null) {\n throw Recoil_err('Recoil hooks must be used in components contained within a component.');\n }\n\n const loadable = useMutableSource$1(source, getLoadableWithTesting, subscribe);\n const prevLoadableRef = useRef$4(loadable);\n useEffect$3(() => {\n prevLoadableRef.current = loadable;\n });\n return loadable;\n}\n\nfunction useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue) {\n const storeRef = useStoreRef$2();\n const componentName = Recoil_useComponentName(); // Accessors to get the current state\n\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree4;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree4 = storeState.nextTree) !== null && _storeState$nextTree4 !== void 0 ? _storeState$nextTree4 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const getState = useCallback$1(() => ({\n loadable: getLoadable(),\n key: recoilValue.key\n }), [getLoadable, recoilValue.key]); // Memoize state snapshots\n\n const updateState = useCallback$1(prevState => {\n const nextState = getState();\n return prevState.loadable.is(nextState.loadable) && prevState.key === nextState.key ? prevState : nextState;\n }, [getState]); // Subscribe to Recoil state changes\n\n useEffect$3(() => {\n const subscription = subscribeToRecoilValue$1(storeRef.current, recoilValue, _state => {\n setState(updateState);\n }, componentName); // Update state in case we are using a different key\n\n setState(updateState);\n return subscription.release;\n }, [componentName, recoilValue, storeRef, updateState]); // Get the current state\n\n const [state, setState] = useState$1(getState); // If we changed keys, then return the state for the new key.\n // This is important in case the old key would cause the component to suspend.\n // We don't have to set the new state here since the subscribing effect above\n // will do that.\n\n return state.key !== recoilValue.key ? getState().loadable : state.loadable;\n}\n\nfunction useRecoilValueLoadable_LEGACY(recoilValue) {\n const storeRef = useStoreRef$2(); // eslint-disable-next-line fb-www/react-no-unused-state-hook\n\n const [, forceUpdate] = useState$1([]);\n const componentName = Recoil_useComponentName();\n const getLoadable = useCallback$1(() => {\n var _storeState$nextTree5;\n\n if (process.env.NODE_ENV !== \"production\") {\n recoilComponentGetRecoilValueCount_FOR_TESTING.current++;\n }\n\n const store = storeRef.current;\n const storeState = store.getState();\n const treeState = reactMode$3().early ? (_storeState$nextTree5 = storeState.nextTree) !== null && _storeState$nextTree5 !== void 0 ? _storeState$nextTree5 : storeState.currentTree : storeState.currentTree;\n return getRecoilValueAsLoadable$2(store, recoilValue, treeState);\n }, [storeRef, recoilValue]);\n const loadable = getLoadable();\n const prevLoadableRef = useRef$4(loadable);\n useEffect$3(() => {\n prevLoadableRef.current = loadable;\n });\n useEffect$3(() => {\n const store = storeRef.current;\n const storeState = store.getState();\n const subscription = subscribeToRecoilValue$1(store, recoilValue, _state => {\n var _prevLoadableRef$curr;\n\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return forceUpdate([]);\n }\n\n const newLoadable = getLoadable();\n\n if (!((_prevLoadableRef$curr = prevLoadableRef.current) !== null && _prevLoadableRef$curr !== void 0 && _prevLoadableRef$curr.is(newLoadable))) {\n forceUpdate(newLoadable);\n }\n\n prevLoadableRef.current = newLoadable;\n }, componentName);\n /**\n * Since we're subscribing in an effect we need to update to the latest\n * value of the atom since it may have changed since we rendered. We can\n * go ahead and do that now, unless we're in the middle of a batch --\n * in which case we should do it at the end of the batch, due to the\n * following edge case: Suppose an atom is updated in another useEffect\n * of this same component. Then the following sequence of events occur:\n * 1. Atom is updated and subs fired (but we may not be subscribed\n * yet depending on order of effects, so we miss this) Updated value\n * is now in nextTree, but not currentTree.\n * 2. This effect happens. We subscribe and update.\n * 3. From the update we re-render and read currentTree, with old value.\n * 4. Batcher's effect sets currentTree to nextTree.\n * In this sequence we miss the update. To avoid that, add the update\n * to queuedComponentCallback if a batch is in progress.\n */\n\n if (storeState.nextTree) {\n store.getState().queuedComponentCallbacks_DEPRECATED.push(() => {\n prevLoadableRef.current = null;\n forceUpdate([]);\n });\n } else {\n var _prevLoadableRef$curr2;\n\n if (!Recoil_gkx('recoil_suppress_rerender_in_callback')) {\n return forceUpdate([]);\n }\n\n const newLoadable = getLoadable();\n\n if (!((_prevLoadableRef$curr2 = prevLoadableRef.current) !== null && _prevLoadableRef$curr2 !== void 0 && _prevLoadableRef$curr2.is(newLoadable))) {\n forceUpdate(newLoadable);\n }\n\n prevLoadableRef.current = newLoadable;\n }\n\n return subscription.release;\n }, [componentName, getLoadable, recoilValue, storeRef]);\n return loadable;\n}\n/**\n Like useRecoilValue(), but either returns the value if available or\n just undefined if not available for any reason, such as pending or error.\n*/\n\n\nfunction useRecoilValueLoadable(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable');\n }\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // eslint-disable-next-line fb-www/react-hooks\n Recoil_useRetain(recoilValue);\n }\n\n return {\n TRANSITION_SUPPORT: useRecoilValueLoadable_TRANSITION_SUPPORT,\n // Recoil will attemp to detect if `useSyncExternalStore()` is supported with\n // `reactMode()` before calling it. However, sometimes the host React\n // environment supports it but uses additional React renderers (such as with\n // `react-three-fiber`) which do not. While this is technically a user issue\n // by using a renderer with React 18+ that doesn't fully support React 18 we\n // don't want to break users if it can be avoided. As the current renderer can\n // change at runtime, we need to dynamically check and fallback if necessary.\n SYNC_EXTERNAL_STORE: currentRendererSupportsUseSyncExternalStore$1() ? useRecoilValueLoadable_SYNC_EXTERNAL_STORE : useRecoilValueLoadable_TRANSITION_SUPPORT,\n MUTABLE_SOURCE: useRecoilValueLoadable_MUTABLE_SOURCE,\n LEGACY: useRecoilValueLoadable_LEGACY\n }[reactMode$3().mode](recoilValue);\n}\n/**\n Returns the value represented by the RecoilValue.\n If the value is pending, it will throw a Promise to suspend the component,\n if the value is an error it will throw it for the nearest React error boundary.\n This will also subscribe the component for any updates in the value.\n */\n\n\nfunction useRecoilValue(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue');\n }\n\n const storeRef = useStoreRef$2();\n const loadable = useRecoilValueLoadable(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n}\n/**\n Returns a function that allows the value of a RecoilState to be updated, but does\n not subscribe the component to changes to that RecoilState.\n*/\n\n\nfunction useSetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useSetRecoilState');\n }\n\n const storeRef = useStoreRef$2();\n return useCallback$1(newValueOrUpdater => {\n setRecoilValue$2(storeRef.current, recoilState, newValueOrUpdater);\n }, [storeRef, recoilState]);\n}\n/**\n Returns a function that will reset the value of a RecoilState to its default\n*/\n\n\nfunction useResetRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useResetRecoilState');\n }\n\n const storeRef = useStoreRef$2();\n return useCallback$1(() => {\n setRecoilValue$2(storeRef.current, recoilState, DEFAULT_VALUE$2);\n }, [storeRef, recoilState]);\n}\n/**\n Equivalent to useState(). Allows the value of the RecoilState to be read and written.\n Subsequent updates to the RecoilState will cause the component to re-render. If the\n RecoilState is pending, this will suspend the component and initiate the\n retrieval of the value. If evaluating the RecoilState resulted in an error, this will\n throw the error so that the nearest React error boundary can catch it.\n*/\n\n\nfunction useRecoilState(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState');\n }\n\n return [useRecoilValue(recoilState), useSetRecoilState(recoilState)];\n}\n/**\n Like useRecoilState(), but does not cause Suspense or React error handling. Returns\n an object that indicates whether the RecoilState is available, pending, or\n unavailable due to an error.\n*/\n\n\nfunction useRecoilStateLoadable(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilStateLoadable');\n }\n\n return [useRecoilValueLoadable(recoilState), useSetRecoilState(recoilState)];\n}\n\nfunction useSetUnvalidatedAtomValues() {\n const storeRef = useStoreRef$2();\n return (values, transactionMetadata = {}) => {\n batchUpdates$2(() => {\n storeRef.current.addTransactionMetadata(transactionMetadata);\n values.forEach((value, key) => setUnvalidatedRecoilValue$2(storeRef.current, new AbstractRecoilValue$3(key), value));\n });\n };\n}\n/**\n * Experimental variants of hooks with support for useTransition()\n */\n\n\nfunction useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE');\n\n if (!reactMode$3().early) {\n Recoil_recoverableViolation('Attepmt to use a hook with UNSTABLE_TRANSITION_SUPPORT in a rendering mode incompatible with concurrent rendering. Try enabling the recoil_sync_external_store or recoil_transition_support GKs.');\n }\n }\n\n if (Recoil_gkx('recoil_memory_managament_2020')) {\n // eslint-disable-next-line fb-www/react-hooks\n Recoil_useRetain(recoilValue);\n }\n\n return useRecoilValueLoadable_TRANSITION_SUPPORT(recoilValue);\n}\n\nfunction useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilValue) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilValue, 'useRecoilValue_TRANSITION_SUPPORT_UNSTABLE');\n }\n\n const storeRef = useStoreRef$2();\n const loadable = useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE(recoilValue);\n return handleLoadable(loadable, recoilValue, storeRef);\n}\n\nfunction useRecoilState_TRANSITION_SUPPORT_UNSTABLE(recoilState) {\n if (process.env.NODE_ENV !== \"production\") {\n validateRecoilValue(recoilState, 'useRecoilState_TRANSITION_SUPPORT_UNSTABLE');\n }\n\n return [useRecoilValue_TRANSITION_SUPPORT_UNSTABLE(recoilState), useSetRecoilState(recoilState)];\n}\n\nvar Recoil_Hooks = {\n recoilComponentGetRecoilValueCount_FOR_TESTING,\n useRecoilInterface: useRecoilInterface_DEPRECATED,\n useRecoilState,\n useRecoilStateLoadable,\n useRecoilValue,\n useRecoilValueLoadable,\n useResetRecoilState,\n useSetRecoilState,\n useSetUnvalidatedAtomValues,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE\n};\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a map containing all of the keys + values from the original map where\n * the given callback returned true.\n */\n\nfunction filterMap(map, callback) {\n const result = new Map();\n\n for (const [key, value] of map) {\n if (callback(value, key)) {\n result.set(key, value);\n }\n }\n\n return result;\n}\n\nvar Recoil_filterMap = filterMap;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n/**\n * Returns a set containing all of the values from the original set where\n * the given callback returned true.\n */\n\nfunction filterSet(set, callback) {\n const result = new Set();\n\n for (const value of set) {\n if (callback(value)) {\n result.add(value);\n }\n }\n\n return result;\n}\n\nvar Recoil_filterSet = filterSet;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction mergeMaps(...maps) {\n const result = new Map();\n\n for (let i = 0; i < maps.length; i++) {\n const iterator = maps[i].keys();\n let nextKey;\n\n while (!(nextKey = iterator.next()).done) {\n // $FlowIssue[incompatible-call] - map/iterator knows nothing about flow types\n result.set(nextKey.value, maps[i].get(nextKey.value));\n }\n }\n\n return result;\n}\n\nvar Recoil_mergeMaps = mergeMaps;\n\nconst {\n batchUpdates: batchUpdates$3\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$3,\n getNode: getNode$4,\n nodes: nodes$1\n} = Recoil_Node;\n\nconst {\n useStoreRef: useStoreRef$3\n} = Recoil_RecoilRoot;\n\nconst {\n AbstractRecoilValue: AbstractRecoilValue$4,\n setRecoilValueLoadable: setRecoilValueLoadable$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n SUSPENSE_TIMEOUT_MS: SUSPENSE_TIMEOUT_MS$2\n} = Recoil_Retention;\n\nconst {\n cloneSnapshot: cloneSnapshot$1\n} = Recoil_Snapshot$1;\n\nconst {\n useCallback: useCallback$2,\n useEffect: useEffect$4,\n useRef: useRef$5,\n useState: useState$2\n} = react;\n\nconst {\n isSSR: isSSR$3\n} = Recoil_Environment;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction useTransactionSubscription(callback) {\n const storeRef = useStoreRef$3();\n useEffect$4(() => {\n const sub = storeRef.current.subscribeToTransactions(callback);\n return sub.release;\n }, [callback, storeRef]);\n}\n\nfunction externallyVisibleAtomValuesInState(state) {\n const atomValues = state.atomValues.toMap();\n const persistedAtomContentsValues = Recoil_mapMap(Recoil_filterMap(atomValues, (v, k) => {\n const node = getNode$4(k);\n const persistence = node.persistence_UNSTABLE;\n return persistence != null && persistence.type !== 'none' && v.state === 'hasValue';\n }), v => v.contents); // Merge in nonvalidated atoms; we may not have defs for them but they will\n // all have persistence on or they wouldn't be there in the first place.\n\n return Recoil_mergeMaps(state.nonvalidatedAtoms.toMap(), persistedAtomContentsValues);\n}\n\n/**\n Calls the given callback after any atoms have been modified and the consequent\n component re-renders have been committed. This is intended for persisting\n the values of the atoms to storage. The stored values can then be restored\n using the useSetUnvalidatedAtomValues hook.\n\n The callback receives the following info:\n\n atomValues: The current value of every atom that is both persistable (persistence\n type not set to 'none') and whose value is available (not in an\n error or loading state).\n\n previousAtomValues: The value of every persistable and available atom before\n the transaction began.\n\n atomInfo: A map containing the persistence settings for each atom. Every key\n that exists in atomValues will also exist in atomInfo.\n\n modifiedAtoms: The set of atoms that were written to during the transaction.\n\n transactionMetadata: Arbitrary information that was added via the\n useSetUnvalidatedAtomValues hook. Useful for ignoring the useSetUnvalidatedAtomValues\n transaction, to avoid loops.\n*/\nfunction useTransactionObservation_DEPRECATED(callback) {\n useTransactionSubscription(useCallback$2(store => {\n let previousTree = store.getState().previousTree;\n const currentTree = store.getState().currentTree;\n\n if (!previousTree) {\n Recoil_recoverableViolation('Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil');\n previousTree = store.getState().currentTree; // attempt to trundle on\n }\n\n const atomValues = externallyVisibleAtomValuesInState(currentTree);\n const previousAtomValues = externallyVisibleAtomValuesInState(previousTree);\n const atomInfo = Recoil_mapMap(nodes$1, node => {\n var _node$persistence_UNS, _node$persistence_UNS2, _node$persistence_UNS3, _node$persistence_UNS4;\n\n return {\n persistence_UNSTABLE: {\n type: (_node$persistence_UNS = (_node$persistence_UNS2 = node.persistence_UNSTABLE) === null || _node$persistence_UNS2 === void 0 ? void 0 : _node$persistence_UNS2.type) !== null && _node$persistence_UNS !== void 0 ? _node$persistence_UNS : 'none',\n backButton: (_node$persistence_UNS3 = (_node$persistence_UNS4 = node.persistence_UNSTABLE) === null || _node$persistence_UNS4 === void 0 ? void 0 : _node$persistence_UNS4.backButton) !== null && _node$persistence_UNS3 !== void 0 ? _node$persistence_UNS3 : false\n }\n };\n }); // Filter on existance in atomValues so that externally-visible rules\n // are also applied to modified atoms (specifically exclude selectors):\n\n const modifiedAtoms = Recoil_filterSet(currentTree.dirtyAtoms, k => atomValues.has(k) || previousAtomValues.has(k));\n callback({\n atomValues,\n previousAtomValues,\n atomInfo,\n modifiedAtoms,\n transactionMetadata: { ...currentTree.transactionMetadata\n }\n });\n }, [callback]));\n}\n\nfunction useRecoilTransactionObserver(callback) {\n useTransactionSubscription(useCallback$2(store => {\n const snapshot = cloneSnapshot$1(store, 'latest');\n const previousSnapshot = cloneSnapshot$1(store, 'previous');\n callback({\n snapshot,\n previousSnapshot\n });\n }, [callback]));\n} // Return a snapshot of the current state and subscribe to all state changes\n\n\nfunction useRecoilSnapshot() {\n const storeRef = useStoreRef$3();\n const [snapshot, setSnapshot] = useState$2(() => cloneSnapshot$1(storeRef.current));\n const previousSnapshot = Recoil_usePrevious(snapshot);\n const timeoutID = useRef$5();\n const releaseRef = useRef$5();\n useTransactionSubscription(useCallback$2(store => setSnapshot(cloneSnapshot$1(store)), [])); // Retain snapshot for duration component is mounted\n\n useEffect$4(() => {\n const release = snapshot.retain(); // Release the retain from the rendering call\n\n if (timeoutID.current && !isSSR$3) {\n var _releaseRef$current;\n\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n (_releaseRef$current = releaseRef.current) === null || _releaseRef$current === void 0 ? void 0 : _releaseRef$current.call(releaseRef);\n releaseRef.current = null;\n }\n\n return () => {\n // Defer the release. If \"Fast Refresh\"\" is used then the component may\n // re-render with the same state. The previous cleanup will then run and\n // then the new effect will run. We don't want the snapshot to be released\n // by that cleanup before the new effect has a chance to retain it again.\n // Use timeout of 10 to workaround Firefox issue: https://github.com/facebookexperimental/Recoil/issues/1936\n window.setTimeout(release, 10);\n };\n }, [snapshot]); // Retain snapshot until above effect is run.\n // Release after a threshold in case component is suspended.\n\n if (previousSnapshot !== snapshot && !isSSR$3) {\n // Release the previous snapshot\n if (timeoutID.current) {\n var _releaseRef$current2;\n\n window.clearTimeout(timeoutID.current);\n timeoutID.current = null;\n (_releaseRef$current2 = releaseRef.current) === null || _releaseRef$current2 === void 0 ? void 0 : _releaseRef$current2.call(releaseRef);\n releaseRef.current = null;\n }\n\n releaseRef.current = snapshot.retain();\n timeoutID.current = window.setTimeout(() => {\n var _releaseRef$current3;\n\n timeoutID.current = null;\n (_releaseRef$current3 = releaseRef.current) === null || _releaseRef$current3 === void 0 ? void 0 : _releaseRef$current3.call(releaseRef);\n releaseRef.current = null;\n }, SUSPENSE_TIMEOUT_MS$2);\n }\n\n return snapshot;\n}\n\nfunction gotoSnapshot(store, snapshot) {\n var _storeState$nextTree;\n\n const storeState = store.getState();\n const prev = (_storeState$nextTree = storeState.nextTree) !== null && _storeState$nextTree !== void 0 ? _storeState$nextTree : storeState.currentTree;\n const next = snapshot.getStore_INTERNAL().getState().currentTree;\n batchUpdates$3(() => {\n const keysToUpdate = new Set();\n\n for (const keys of [prev.atomValues.keys(), next.atomValues.keys()]) {\n for (const key of keys) {\n var _prev$atomValues$get, _next$atomValues$get;\n\n if (((_prev$atomValues$get = prev.atomValues.get(key)) === null || _prev$atomValues$get === void 0 ? void 0 : _prev$atomValues$get.contents) !== ((_next$atomValues$get = next.atomValues.get(key)) === null || _next$atomValues$get === void 0 ? void 0 : _next$atomValues$get.contents) && getNode$4(key).shouldRestoreFromSnapshots) {\n keysToUpdate.add(key);\n }\n }\n }\n\n keysToUpdate.forEach(key => {\n setRecoilValueLoadable$1(store, new AbstractRecoilValue$4(key), next.atomValues.has(key) ? Recoil_nullthrows(next.atomValues.get(key)) : DEFAULT_VALUE$3);\n });\n store.replaceState(state => ({ ...state,\n stateID: snapshot.getID()\n }));\n });\n}\n\nfunction useGotoRecoilSnapshot() {\n const storeRef = useStoreRef$3();\n return useCallback$2(snapshot => gotoSnapshot(storeRef.current, snapshot), [storeRef]);\n}\n\nvar Recoil_SnapshotHooks = {\n useRecoilSnapshot,\n gotoSnapshot,\n useGotoRecoilSnapshot,\n useRecoilTransactionObserver,\n useTransactionObservation_DEPRECATED,\n useTransactionSubscription_DEPRECATED: useTransactionSubscription\n};\n\nconst {\n peekNodeInfo: peekNodeInfo$2\n} = Recoil_FunctionalCore;\n\nconst {\n useStoreRef: useStoreRef$4\n} = Recoil_RecoilRoot;\n\nfunction useGetRecoilValueInfo() {\n const storeRef = useStoreRef$4();\n return ({\n key\n }) => peekNodeInfo$2(storeRef.current, storeRef.current.getState().currentTree, key);\n}\n\nvar Recoil_useGetRecoilValueInfo = useGetRecoilValueInfo;\n\nconst {\n reactMode: reactMode$4\n} = Recoil_ReactMode;\n\nconst {\n RecoilRoot: RecoilRoot$1,\n useStoreRef: useStoreRef$5\n} = Recoil_RecoilRoot;\n\n\n\nconst {\n useMemo: useMemo$2\n} = react;\n\nfunction useRecoilBridgeAcrossReactRoots() {\n // The test fails when using useMutableSource(), but only if act() is used\n // for the nested root. So, this may only be a testing environment issue.\n if (reactMode$4().mode === 'MUTABLE_SOURCE') {\n // eslint-disable-next-line fb-www/no-console\n console.warn('Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.');\n }\n\n const store = useStoreRef$5().current;\n return useMemo$2(() => {\n // eslint-disable-next-line no-shadow\n function RecoilBridge({\n children\n }) {\n return /*#__PURE__*/react.createElement(RecoilRoot$1, {\n store_INTERNAL: store\n }, children);\n }\n\n return RecoilBridge;\n }, [store]);\n}\n\nvar Recoil_useRecoilBridgeAcrossReactRoots = useRecoilBridgeAcrossReactRoots;\n\nconst {\n loadableWithValue: loadableWithValue$1\n} = Recoil_Loadable$1;\n\nconst {\n initializeNode: initializeNode$3\n} = Recoil_FunctionalCore;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$4,\n getNode: getNode$5\n} = Recoil_Node;\n\nconst {\n copyTreeState: copyTreeState$1,\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$3,\n invalidateDownstreams: invalidateDownstreams$1,\n writeLoadableToTreeState: writeLoadableToTreeState$1\n} = Recoil_RecoilValueInterface;\n\n\n\nfunction isAtom(recoilValue) {\n return getNode$5(recoilValue.key).nodeType === 'atom';\n}\n\nclass TransactionInterfaceImpl {\n constructor(store, treeState) {\n _defineProperty(this, \"_store\", void 0);\n\n _defineProperty(this, \"_treeState\", void 0);\n\n _defineProperty(this, \"_changes\", void 0);\n\n _defineProperty(this, \"get\", recoilValue => {\n if (this._changes.has(recoilValue.key)) {\n // $FlowIssue[incompatible-return]\n return this._changes.get(recoilValue.key);\n }\n\n if (!isAtom(recoilValue)) {\n throw Recoil_err('Reading selectors within atomicUpdate is not supported');\n }\n\n const loadable = getRecoilValueAsLoadable$3(this._store, recoilValue, this._treeState);\n\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'hasError') {\n throw loadable.contents;\n } else {\n throw Recoil_err(`Expected Recoil atom ${recoilValue.key} to have a value, but it is in a loading state.`);\n }\n });\n\n _defineProperty(this, \"set\", (recoilState, valueOrUpdater) => {\n if (!isAtom(recoilState)) {\n throw Recoil_err('Setting selectors within atomicUpdate is not supported');\n }\n\n if (typeof valueOrUpdater === 'function') {\n const current = this.get(recoilState);\n\n this._changes.set(recoilState.key, valueOrUpdater(current)); // flowlint-line unclear-type:off\n\n } else {\n // Initialize atom and run effects if not initialized yet\n initializeNode$3(this._store, recoilState.key, 'set');\n\n this._changes.set(recoilState.key, valueOrUpdater);\n }\n });\n\n _defineProperty(this, \"reset\", recoilState => {\n this.set(recoilState, DEFAULT_VALUE$4);\n });\n\n this._store = store;\n this._treeState = treeState;\n this._changes = new Map();\n } // Allow destructing\n // eslint-disable-next-line fb-www/extra-arrow-initializer\n\n\n newTreeState_INTERNAL() {\n if (this._changes.size === 0) {\n return this._treeState;\n }\n\n const newState = copyTreeState$1(this._treeState);\n\n for (const [k, v] of this._changes) {\n writeLoadableToTreeState$1(newState, k, loadableWithValue$1(v));\n }\n\n invalidateDownstreams$1(this._store, newState);\n return newState;\n }\n\n}\n\nfunction atomicUpdater(store) {\n return fn => {\n store.replaceState(treeState => {\n const changeset = new TransactionInterfaceImpl(store, treeState);\n fn(changeset);\n return changeset.newTreeState_INTERNAL();\n });\n };\n}\n\nvar Recoil_AtomicUpdates = {\n atomicUpdater\n};\n\nvar Recoil_AtomicUpdates_1 = Recoil_AtomicUpdates.atomicUpdater;\n\nvar Recoil_AtomicUpdates$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n atomicUpdater: Recoil_AtomicUpdates_1\n});\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction invariant(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n\nvar invariant_1 = invariant;\n\n// @oss-only\n\n\nvar Recoil_invariant = invariant_1;\n\nconst {\n atomicUpdater: atomicUpdater$1\n} = Recoil_AtomicUpdates$1;\n\nconst {\n batchUpdates: batchUpdates$4\n} = Recoil_Batching;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$5\n} = Recoil_Node;\n\nconst {\n useStoreRef: useStoreRef$6\n} = Recoil_RecoilRoot;\n\nconst {\n refreshRecoilValue: refreshRecoilValue$1,\n setRecoilValue: setRecoilValue$3\n} = Recoil_RecoilValueInterface;\n\nconst {\n cloneSnapshot: cloneSnapshot$2\n} = Recoil_Snapshot$1;\n\nconst {\n gotoSnapshot: gotoSnapshot$1\n} = Recoil_SnapshotHooks;\n\nconst {\n useCallback: useCallback$3\n} = react;\n\n\n\n\n\n\n\n\n\nclass Sentinel {}\n\nconst SENTINEL = new Sentinel();\n\nfunction recoilCallback(store, fn, args, extraInterface) {\n let ret = SENTINEL;\n let releaseSnapshot;\n batchUpdates$4(() => {\n const errMsg = 'useRecoilCallback() expects a function that returns a function: ' + 'it accepts a function of the type (RecoilInterface) => (Args) => ReturnType ' + 'and returns a callback function (Args) => ReturnType, where RecoilInterface is ' + 'an object {snapshot, set, ...} and Args and ReturnType are the argument and return ' + 'types of the callback you want to create. Please see the docs ' + 'at recoiljs.org for details.';\n\n if (typeof fn !== 'function') {\n throw Recoil_err(errMsg);\n } // Clone the snapshot lazily to avoid overhead if the callback does not use it.\n // Note that this means the snapshot may represent later state from when\n // the callback was called if it first accesses the snapshot asynchronously.\n\n\n const callbackInterface = Recoil_lazyProxy({ ...(extraInterface !== null && extraInterface !== void 0 ? extraInterface : {}),\n // flowlint-line unclear-type:off\n set: (node, newValue) => setRecoilValue$3(store, node, newValue),\n reset: node => setRecoilValue$3(store, node, DEFAULT_VALUE$5),\n refresh: node => refreshRecoilValue$1(store, node),\n gotoSnapshot: snapshot => gotoSnapshot$1(store, snapshot),\n transact_UNSTABLE: transaction => atomicUpdater$1(store)(transaction)\n }, {\n snapshot: () => {\n const snapshot = cloneSnapshot$2(store);\n releaseSnapshot = snapshot.retain();\n return snapshot;\n }\n });\n const callback = fn(callbackInterface);\n\n if (typeof callback !== 'function') {\n throw Recoil_err(errMsg);\n }\n\n ret = callback(...args);\n });\n !!(ret instanceof Sentinel) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'batchUpdates should return immediately') : Recoil_invariant(false) : void 0;\n\n if (Recoil_isPromise(ret)) {\n ret.finally(() => {\n var _releaseSnapshot;\n\n (_releaseSnapshot = releaseSnapshot) === null || _releaseSnapshot === void 0 ? void 0 : _releaseSnapshot();\n });\n } else {\n var _releaseSnapshot2;\n\n (_releaseSnapshot2 = releaseSnapshot) === null || _releaseSnapshot2 === void 0 ? void 0 : _releaseSnapshot2();\n }\n\n return ret;\n}\n\nfunction useRecoilCallback(fn, deps) {\n const storeRef = useStoreRef$6();\n return useCallback$3( // $FlowIssue[incompatible-call]\n (...args) => {\n return recoilCallback(storeRef.current, fn, args);\n }, deps != null ? [...deps, storeRef] : undefined // eslint-disable-line fb-www/react-hooks-deps\n );\n}\n\nvar Recoil_useRecoilCallback = {\n recoilCallback,\n useRecoilCallback\n};\n\nconst {\n useStoreRef: useStoreRef$7\n} = Recoil_RecoilRoot;\n\nconst {\n refreshRecoilValue: refreshRecoilValue$2\n} = Recoil_RecoilValueInterface;\n\nconst {\n useCallback: useCallback$4\n} = react;\n\nfunction useRecoilRefresher(recoilValue) {\n const storeRef = useStoreRef$7();\n return useCallback$4(() => {\n const store = storeRef.current;\n refreshRecoilValue$2(store, recoilValue);\n }, [recoilValue, storeRef]);\n}\n\nvar Recoil_useRecoilRefresher = useRecoilRefresher;\n\nconst {\n atomicUpdater: atomicUpdater$2\n} = Recoil_AtomicUpdates$1;\n\nconst {\n useStoreRef: useStoreRef$8\n} = Recoil_RecoilRoot;\n\nconst {\n useMemo: useMemo$3\n} = react;\n\nfunction useRecoilTransaction(fn, deps) {\n const storeRef = useStoreRef$8();\n return useMemo$3(() => (...args) => {\n const atomicUpdate = atomicUpdater$2(storeRef.current);\n atomicUpdate(transactionInterface => {\n fn(transactionInterface)(...args);\n });\n }, deps != null ? [...deps, storeRef] : undefined // eslint-disable-line fb-www/react-hooks-deps\n );\n}\n\nvar Recoil_useRecoilTransaction = useRecoilTransaction;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass WrappedValue {\n constructor(value) {\n _defineProperty(this, \"value\", void 0);\n\n this.value = value;\n }\n\n}\n\nvar Recoil_Wrapper = {\n WrappedValue\n};\n\nvar Recoil_Wrapper_1 = Recoil_Wrapper.WrappedValue;\n\nvar Recoil_Wrapper$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n WrappedValue: Recoil_Wrapper_1\n});\n\nconst {\n isFastRefreshEnabled: isFastRefreshEnabled$2\n} = Recoil_ReactMode;\n\n\n\nclass ChangedPathError extends Error {}\n\nclass TreeCache {\n // $FlowIssue[unclear-type]\n constructor(options) {\n var _options$onHit, _options$onSet, _options$mapNodeValue;\n\n _defineProperty(this, \"_name\", void 0);\n\n _defineProperty(this, \"_numLeafs\", void 0);\n\n _defineProperty(this, \"_root\", void 0);\n\n _defineProperty(this, \"_onHit\", void 0);\n\n _defineProperty(this, \"_onSet\", void 0);\n\n _defineProperty(this, \"_mapNodeValue\", void 0);\n\n this._name = options === null || options === void 0 ? void 0 : options.name;\n this._numLeafs = 0;\n this._root = null;\n this._onHit = (_options$onHit = options === null || options === void 0 ? void 0 : options.onHit) !== null && _options$onHit !== void 0 ? _options$onHit : () => {};\n this._onSet = (_options$onSet = options === null || options === void 0 ? void 0 : options.onSet) !== null && _options$onSet !== void 0 ? _options$onSet : () => {};\n this._mapNodeValue = (_options$mapNodeValue = options === null || options === void 0 ? void 0 : options.mapNodeValue) !== null && _options$mapNodeValue !== void 0 ? _options$mapNodeValue : val => val;\n }\n\n size() {\n return this._numLeafs;\n } // $FlowIssue[unclear-type]\n\n\n root() {\n return this._root;\n }\n\n get(getNodeValue, handlers) {\n var _this$getLeafNode;\n\n return (_this$getLeafNode = this.getLeafNode(getNodeValue, handlers)) === null || _this$getLeafNode === void 0 ? void 0 : _this$getLeafNode.value;\n }\n\n getLeafNode(getNodeValue, handlers) {\n if (this._root == null) {\n return undefined;\n } // Iterate down the tree based on the current node values until we hit a leaf\n // $FlowIssue[unclear-type]\n\n\n let node = this._root;\n\n while (node) {\n handlers === null || handlers === void 0 ? void 0 : handlers.onNodeVisit(node);\n\n if (node.type === 'leaf') {\n this._onHit(node);\n\n return node;\n }\n\n const nodeValue = this._mapNodeValue(getNodeValue(node.nodeKey));\n\n node = node.branches.get(nodeValue);\n }\n\n return undefined;\n }\n\n set(route, value, handlers) {\n const addLeaf = () => {\n var _node2, _node3, _this$_root2, _handlers$onNodeVisit2;\n\n // First, setup the branch nodes for the route:\n // Iterate down the tree to find or add branch nodes following the route\n let node;\n let branchKey;\n\n for (const [nodeKey, nodeValue] of route) {\n var _node, _handlers$onNodeVisit, _this$_root;\n\n // If the previous root was a leaf, while we not have a get(), it means\n // the selector has inconsistent values or implementation changed.\n const root = this._root;\n\n if ((root === null || root === void 0 ? void 0 : root.type) === 'leaf') {\n throw this.invalidCacheError();\n } // node now refers to the next node down in the tree\n\n\n const parent = node; // $FlowFixMe[prop-missing]\n // $FlowFixMe[incompatible-type]\n\n node = parent ? parent.branches.get(branchKey) : root; // $FlowFixMe[prop-missing]\n // $FlowFixMe[incompatible-type]\n\n node = (_node = node) !== null && _node !== void 0 ? _node : {\n type: 'branch',\n nodeKey,\n parent,\n branches: new Map(),\n branchKey\n }; // If we found an existing node, confirm it has a consistent value\n\n if (node.type !== 'branch' || node.nodeKey !== nodeKey) {\n throw this.invalidCacheError();\n } // Add the branch node to the tree\n\n\n parent === null || parent === void 0 ? void 0 : parent.branches.set(branchKey, node);\n handlers === null || handlers === void 0 ? void 0 : (_handlers$onNodeVisit = handlers.onNodeVisit) === null || _handlers$onNodeVisit === void 0 ? void 0 : _handlers$onNodeVisit.call(handlers, node); // Prepare for next iteration and install root if it is new.\n\n branchKey = this._mapNodeValue(nodeValue);\n this._root = (_this$_root = this._root) !== null && _this$_root !== void 0 ? _this$_root : node;\n } // Second, setup the leaf node:\n // If there is an existing leaf for this route confirm it is consistent\n\n\n const oldLeaf = node ? (_node2 = node) === null || _node2 === void 0 ? void 0 : _node2.branches.get(branchKey) : this._root;\n\n if (oldLeaf != null && (oldLeaf.type !== 'leaf' || oldLeaf.branchKey !== branchKey)) {\n throw this.invalidCacheError();\n } // Create a new or replacement leaf.\n\n\n const leafNode = {\n type: 'leaf',\n value,\n parent: node,\n branchKey\n }; // Install the leaf and call handlers\n\n (_node3 = node) === null || _node3 === void 0 ? void 0 : _node3.branches.set(branchKey, leafNode);\n this._root = (_this$_root2 = this._root) !== null && _this$_root2 !== void 0 ? _this$_root2 : leafNode;\n this._numLeafs++;\n\n this._onSet(leafNode);\n\n handlers === null || handlers === void 0 ? void 0 : (_handlers$onNodeVisit2 = handlers.onNodeVisit) === null || _handlers$onNodeVisit2 === void 0 ? void 0 : _handlers$onNodeVisit2.call(handlers, leafNode);\n };\n\n try {\n addLeaf();\n } catch (error) {\n // If the cache was stale or observed inconsistent values, such as with\n // Fast Refresh, then clear it and rebuild with the new values.\n if (error instanceof ChangedPathError) {\n this.clear();\n addLeaf();\n } else {\n throw error;\n }\n }\n } // Returns true if leaf was actually deleted from the tree\n\n\n delete(leaf) {\n const root = this.root();\n\n if (!root) {\n return false;\n }\n\n if (leaf === root) {\n this._root = null;\n this._numLeafs = 0;\n return true;\n } // Iterate up from the leaf deleteing it from it's parent's branches.\n\n\n let node = leaf.parent;\n let branchKey = leaf.branchKey;\n\n while (node) {\n var _node4;\n\n node.branches.delete(branchKey); // Stop iterating if we hit the root.\n\n if (node === root) {\n if (node.branches.size === 0) {\n this._root = null;\n this._numLeafs = 0;\n } else {\n this._numLeafs--;\n }\n\n return true;\n } // Stop iterating if there are other branches since we don't need to\n // remove any more nodes.\n\n\n if (node.branches.size > 0) {\n break;\n } // Iterate up to our parent\n\n\n branchKey = (_node4 = node) === null || _node4 === void 0 ? void 0 : _node4.branchKey;\n node = node.parent;\n } // Confirm that the leaf we are deleting is actually attached to our tree\n\n\n for (; node !== root; node = node.parent) {\n if (node == null) {\n return false;\n }\n }\n\n this._numLeafs--;\n return true;\n }\n\n clear() {\n this._numLeafs = 0;\n this._root = null;\n }\n\n invalidCacheError() {\n const CHANGED_PATH_ERROR_MESSAGE = isFastRefreshEnabled$2() ? 'Possible Fast Refresh module reload detected. ' + 'This may also be caused by an selector returning inconsistent values. ' + 'Resetting cache.' : 'Invalid cache values. This happens when selectors do not return ' + 'consistent values for the same input dependency values. That may also ' + 'be caused when using Fast Refresh to change a selector implementation. ' + 'Resetting cache.';\n Recoil_recoverableViolation(CHANGED_PATH_ERROR_MESSAGE + (this._name != null ? ` - ${this._name}` : ''));\n throw new ChangedPathError();\n }\n\n}\n\nvar Recoil_TreeCache = {\n TreeCache\n};\n\nvar Recoil_TreeCache_1 = Recoil_TreeCache.TreeCache;\n\nvar Recoil_TreeCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n TreeCache: Recoil_TreeCache_1\n});\n\nclass LRUCache {\n constructor(options) {\n var _options$mapKey;\n\n _defineProperty(this, \"_maxSize\", void 0);\n\n _defineProperty(this, \"_size\", void 0);\n\n _defineProperty(this, \"_head\", void 0);\n\n _defineProperty(this, \"_tail\", void 0);\n\n _defineProperty(this, \"_map\", void 0);\n\n _defineProperty(this, \"_keyMapper\", void 0);\n\n this._maxSize = options.maxSize;\n this._size = 0;\n this._head = null;\n this._tail = null;\n this._map = new Map();\n this._keyMapper = (_options$mapKey = options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : v => v;\n }\n\n head() {\n return this._head;\n }\n\n tail() {\n return this._tail;\n }\n\n size() {\n return this._size;\n }\n\n maxSize() {\n return this._maxSize;\n }\n\n has(key) {\n return this._map.has(this._keyMapper(key));\n }\n\n get(key) {\n const mappedKey = this._keyMapper(key);\n\n const node = this._map.get(mappedKey);\n\n if (!node) {\n return undefined;\n }\n\n this.set(key, node.value);\n return node.value;\n }\n\n set(key, val) {\n const mappedKey = this._keyMapper(key);\n\n const existingNode = this._map.get(mappedKey);\n\n if (existingNode) {\n this.delete(key);\n }\n\n const head = this.head();\n const node = {\n key,\n right: head,\n left: null,\n value: val\n };\n\n if (head) {\n head.left = node;\n } else {\n this._tail = node;\n }\n\n this._map.set(mappedKey, node);\n\n this._head = node;\n this._size++;\n\n this._maybeDeleteLRU();\n }\n\n _maybeDeleteLRU() {\n if (this.size() > this.maxSize()) {\n this.deleteLru();\n }\n }\n\n deleteLru() {\n const tail = this.tail();\n\n if (tail) {\n this.delete(tail.key);\n }\n }\n\n delete(key) {\n const mappedKey = this._keyMapper(key);\n\n if (!this._size || !this._map.has(mappedKey)) {\n return;\n }\n\n const node = Recoil_nullthrows(this._map.get(mappedKey));\n const right = node.right;\n const left = node.left;\n\n if (right) {\n right.left = node.left;\n }\n\n if (left) {\n left.right = node.right;\n }\n\n if (node === this.head()) {\n this._head = right;\n }\n\n if (node === this.tail()) {\n this._tail = left;\n }\n\n this._map.delete(mappedKey);\n\n this._size--;\n }\n\n clear() {\n this._size = 0;\n this._head = null;\n this._tail = null;\n this._map = new Map();\n }\n\n}\n\nvar Recoil_LRUCache = {\n LRUCache\n};\n\nvar Recoil_LRUCache_1 = Recoil_LRUCache.LRUCache;\n\nvar Recoil_LRUCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n LRUCache: Recoil_LRUCache_1\n});\n\nconst {\n LRUCache: LRUCache$1\n} = Recoil_LRUCache$1;\n\nconst {\n TreeCache: TreeCache$1\n} = Recoil_TreeCache$1;\n\nfunction treeCacheLRU({\n name,\n maxSize,\n mapNodeValue = v => v\n}) {\n const lruCache = new LRUCache$1({\n maxSize\n });\n const cache = new TreeCache$1({\n name,\n mapNodeValue,\n onHit: node => {\n lruCache.set(node, true);\n },\n onSet: node => {\n const lruNode = lruCache.tail();\n lruCache.set(node, true);\n\n if (lruNode && cache.size() > maxSize) {\n cache.delete(lruNode.key);\n }\n }\n });\n return cache;\n}\n\nvar Recoil_treeCacheLRU = treeCacheLRU;\n\nconst TIME_WARNING_THRESHOLD_MS = 15;\n\nfunction stringify(x, opt, key) {\n // A optimization to avoid the more expensive JSON.stringify() for simple strings\n // This may lose protection for u2028 and u2029, though.\n if (typeof x === 'string' && !x.includes('\"') && !x.includes('\\\\')) {\n return `\"${x}\"`;\n } // Handle primitive types\n\n\n switch (typeof x) {\n case 'undefined':\n return '';\n // JSON.stringify(undefined) returns undefined, but we always want to return a string\n\n case 'boolean':\n return x ? 'true' : 'false';\n\n case 'number':\n case 'symbol':\n // case 'bigint': // BigInt is not supported in www\n return String(x);\n\n case 'string':\n // Add surrounding quotes and escape internal quotes\n return JSON.stringify(x);\n\n case 'function':\n if ((opt === null || opt === void 0 ? void 0 : opt.allowFunctions) !== true) {\n throw Recoil_err('Attempt to serialize function in a Recoil cache key');\n }\n\n return `__FUNCTION(${x.name})__`;\n }\n\n if (x === null) {\n return 'null';\n } // Fallback case for unknown types\n\n\n if (typeof x !== 'object') {\n var _JSON$stringify;\n\n return (_JSON$stringify = JSON.stringify(x)) !== null && _JSON$stringify !== void 0 ? _JSON$stringify : '';\n } // Deal with all promises as equivalent for now.\n\n\n if (Recoil_isPromise(x)) {\n return '__PROMISE__';\n } // Arrays handle recursive stringification\n\n\n if (Array.isArray(x)) {\n return `[${x.map((v, i) => stringify(v, opt, i.toString()))}]`;\n } // If an object defines a toJSON() method, then use that to override the\n // serialization. This matches the behavior of JSON.stringify().\n // Pass the key for compatibility.\n // Immutable.js collections define this method to allow us to serialize them.\n\n\n if (typeof x.toJSON === 'function') {\n // flowlint-next-line unclear-type: off\n return stringify(x.toJSON(key), opt, key);\n } // For built-in Maps, sort the keys in a stable order instead of the\n // default insertion order. Support non-string keys.\n\n\n if (x instanceof Map) {\n const obj = {};\n\n for (const [k, v] of x) {\n // Stringify will escape any nested quotes\n obj[typeof k === 'string' ? k : stringify(k, opt)] = v;\n }\n\n return stringify(obj, opt, key);\n } // For built-in Sets, sort the keys in a stable order instead of the\n // default insertion order.\n\n\n if (x instanceof Set) {\n return stringify(Array.from(x).sort((a, b) => stringify(a, opt).localeCompare(stringify(b, opt))), opt, key);\n } // Anything else that is iterable serialize as an Array.\n\n\n if (Symbol !== undefined && x[Symbol.iterator] != null && typeof x[Symbol.iterator] === 'function') {\n // flowlint-next-line unclear-type: off\n return stringify(Array.from(x), opt, key);\n } // For all other Objects, sort the keys in a stable order.\n\n\n return `{${Object.keys(x).filter(k => x[k] !== undefined).sort() // stringify the key to add quotes and escape any nested slashes or quotes.\n .map(k => `${stringify(k, opt)}:${stringify(x[k], opt, k)}`).join(',')}}`;\n} // Utility similar to JSON.stringify() except:\n// * Serialize built-in Sets as an Array\n// * Serialize built-in Maps as an Object. Supports non-string keys.\n// * Serialize other iterables as arrays\n// * Sort the keys of Objects and Maps to have a stable order based on string conversion.\n// This overrides their default insertion order.\n// * Still uses toJSON() of any object to override serialization\n// * Support Symbols (though don't guarantee uniqueness)\n// * We could support BigInt, but Flow doesn't seem to like it.\n// See Recoil_stableStringify-test.js for examples\n\n\nfunction stableStringify(x, opt = {\n allowFunctions: false\n}) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== 'undefined') {\n const startTime = window.performance ? window.performance.now() : 0;\n const str = stringify(x, opt);\n const endTime = window.performance ? window.performance.now() : 0;\n\n if (endTime - startTime > TIME_WARNING_THRESHOLD_MS) {\n /* eslint-disable fb-www/no-console */\n console.groupCollapsed(`Recoil: Spent ${endTime - startTime}ms computing a cache key`);\n console.warn(x, str);\n console.groupEnd();\n /* eslint-enable fb-www/no-console */\n }\n\n return str;\n }\n }\n\n return stringify(x, opt);\n}\n\nvar Recoil_stableStringify = stableStringify;\n\nconst {\n TreeCache: TreeCache$2\n} = Recoil_TreeCache$1;\n\n\n\n\n\n\n\n\n\nconst defaultPolicy = {\n equality: 'reference',\n eviction: 'keep-all',\n maxSize: Infinity\n};\n\nfunction treeCacheFromPolicy({\n equality = defaultPolicy.equality,\n eviction = defaultPolicy.eviction,\n maxSize = defaultPolicy.maxSize\n} = defaultPolicy, name) {\n const valueMapper = getValueMapper(equality);\n return getTreeCache(eviction, maxSize, valueMapper, name);\n}\n\nfunction getValueMapper(equality) {\n switch (equality) {\n case 'reference':\n return val => val;\n\n case 'value':\n return val => Recoil_stableStringify(val);\n }\n\n throw Recoil_err(`Unrecognized equality policy ${equality}`);\n}\n\nfunction getTreeCache(eviction, maxSize, mapNodeValue, name) {\n switch (eviction) {\n case 'keep-all':\n return new TreeCache$2({\n name,\n mapNodeValue\n });\n\n case 'lru':\n return Recoil_treeCacheLRU({\n name,\n maxSize: Recoil_nullthrows(maxSize),\n mapNodeValue\n });\n\n case 'most-recent':\n return Recoil_treeCacheLRU({\n name,\n maxSize: 1,\n mapNodeValue\n });\n }\n\n throw Recoil_err(`Unrecognized eviction policy ${eviction}`);\n}\n\nvar Recoil_treeCacheFromPolicy = treeCacheFromPolicy;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction isNode(object) {\n var _ownerDocument, _doc$defaultView;\n\n if (typeof window === 'undefined') {\n return false;\n }\n\n const doc = object != null ? (_ownerDocument = object.ownerDocument) !== null && _ownerDocument !== void 0 ? _ownerDocument : object : document;\n const defaultView = (_doc$defaultView = doc.defaultView) !== null && _doc$defaultView !== void 0 ? _doc$defaultView : window;\n return !!(object != null && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nvar Recoil_isNode = isNode;\n\nconst {\n isReactNative: isReactNative$1,\n isWindow: isWindow$1\n} = Recoil_Environment;\n\n\n\n\n\nfunction shouldNotBeFrozen(value) {\n // Primitives and functions:\n if (value === null || typeof value !== 'object') {\n return true;\n } // React elements:\n\n\n switch (typeof value.$$typeof) {\n case 'symbol':\n return true;\n\n case 'number':\n return true;\n } // Immutable structures:\n\n\n if (value['@@__IMMUTABLE_ITERABLE__@@'] != null || value['@@__IMMUTABLE_KEYED__@@'] != null || value['@@__IMMUTABLE_INDEXED__@@'] != null || value['@@__IMMUTABLE_ORDERED__@@'] != null || value['@@__IMMUTABLE_RECORD__@@'] != null) {\n return true;\n } // DOM nodes:\n\n\n if (Recoil_isNode(value)) {\n return true;\n }\n\n if (Recoil_isPromise(value)) {\n return true;\n }\n\n if (value instanceof Error) {\n return true;\n }\n\n if (ArrayBuffer.isView(value)) {\n return true;\n } // Some environments, just as Jest, don't work with the instanceof check\n\n\n if (!isReactNative$1 && isWindow$1(value)) {\n return true;\n }\n\n return false;\n} // Recursively freeze a value to enforce it is read-only.\n// This may also have minimal performance improvements for enumerating\n// objects (based on browser implementations, of course)\n\n\nfunction deepFreezeValue(value) {\n if (typeof value !== 'object' || shouldNotBeFrozen(value)) {\n return;\n }\n\n Object.freeze(value); // Make all properties read-only\n\n for (const key in value) {\n // $FlowIssue[method-unbinding] added when improving typing for this parameters\n if (Object.prototype.hasOwnProperty.call(value, key)) {\n const prop = value[key]; // Prevent infinite recurssion for circular references.\n\n if (typeof prop === 'object' && prop != null && !Object.isFrozen(prop)) {\n deepFreezeValue(prop);\n }\n }\n }\n\n Object.seal(value); // This also makes existing properties non-configurable.\n}\n\nvar Recoil_deepFreezeValue = deepFreezeValue;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is a stub for some integration into FB internal stuff\n *\n * \n * @format\n * @oncall recoil\n */\nfunction startPerfBlock(_id) {\n return () => null;\n}\n\nvar Recoil_PerformanceTimings = {\n startPerfBlock\n};\n\nconst {\n isLoadable: isLoadable$1,\n loadableWithError: loadableWithError$1,\n loadableWithPromise: loadableWithPromise$1,\n loadableWithValue: loadableWithValue$2\n} = Recoil_Loadable$1;\n\nconst {\n WrappedValue: WrappedValue$1\n} = Recoil_Wrapper$1;\n\n\n\nconst {\n getNodeLoadable: getNodeLoadable$2,\n peekNodeLoadable: peekNodeLoadable$1,\n setNodeValue: setNodeValue$3\n} = Recoil_FunctionalCore;\n\nconst {\n saveDepsToStore: saveDepsToStore$1\n} = Recoil_Graph;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$6,\n getConfigDeletionHandler: getConfigDeletionHandler$1,\n getNode: getNode$6,\n registerNode: registerNode$1\n} = Recoil_Node;\n\nconst {\n isRecoilValue: isRecoilValue$3\n} = Recoil_RecoilValue$1;\n\nconst {\n markRecoilValueModified: markRecoilValueModified$1\n} = Recoil_RecoilValueInterface;\n\nconst {\n retainedByOptionWithDefault: retainedByOptionWithDefault$1\n} = Recoil_Retention;\n\nconst {\n recoilCallback: recoilCallback$1\n} = Recoil_useRecoilCallback;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst {\n startPerfBlock: startPerfBlock$1\n} = Recoil_PerformanceTimings;\n\n\n\nclass Canceled {}\n\nconst CANCELED = new Canceled();\n/**\n * An ExecutionID is an arbitrary ID that lets us distinguish executions from\n * each other. This is necessary as we need a way of solving this problem:\n * \"given 3 async executions, only update state for the 'latest' execution when\n * it finishes running regardless of when the other 2 finish\". ExecutionIDs\n * provide a convenient way of identifying executions so that we can track and\n * manage them over time.\n */\n\nconst dependencyStack = []; // for detecting circular dependencies.\n\nconst waitingStores = new Map();\n\nconst getNewExecutionID = (() => {\n let executionID = 0;\n return () => executionID++;\n})();\n/* eslint-disable no-redeclare */\n\n\nfunction selector(options) {\n let recoilValue = null;\n const {\n key,\n get,\n cachePolicy_UNSTABLE: cachePolicy\n } = options;\n const set = options.set != null ? options.set : undefined; // flow\n\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof key !== 'string') {\n throw Recoil_err('A key option with a unique string value must be provided when creating a selector.');\n }\n\n if (typeof get !== 'function') {\n throw Recoil_err('Selectors must specify a get callback option to get the selector value.');\n }\n } // This is every discovered dependency across all executions\n\n\n const discoveredDependencyNodeKeys = new Set();\n const cache = Recoil_treeCacheFromPolicy(cachePolicy !== null && cachePolicy !== void 0 ? cachePolicy : {\n equality: 'reference',\n eviction: 'keep-all'\n }, key);\n const retainedBy = retainedByOptionWithDefault$1(options.retainedBy_UNSTABLE);\n const executionInfoMap = new Map();\n let liveStoresCount = 0;\n\n function selectorIsLive() {\n return !Recoil_gkx('recoil_memory_managament_2020') || liveStoresCount > 0;\n }\n\n function selectorInit(store) {\n store.getState().knownSelectors.add(key);\n liveStoresCount++;\n return () => {\n liveStoresCount--;\n };\n }\n\n function selectorShouldDeleteConfigOnRelease() {\n return getConfigDeletionHandler$1(key) !== undefined && !selectorIsLive();\n }\n\n function resolveAsync(store, state, executionID, loadable, depValues) {\n setCache(state, loadable, depValues);\n notifyStoresOfResolvedAsync(store, executionID);\n }\n\n function notifyStoresOfResolvedAsync(store, executionID) {\n if (isLatestExecution(store, executionID)) {\n clearExecutionInfo(store);\n }\n\n notifyWaitingStores(executionID, true);\n }\n /**\n * Notify stores to pull the selector again if a new async dep was discovered.\n * 1) Async selector adds a new dep but doesn't resolve yet.\n * Note that deps for an async selector are based on the state when the\n * evaluation started, in order to provide a consistent picture of state.\n * 2) But, new value of dep based on the current state might cause the selector\n * to resolve or resolve differently.\n * 3) Therefore, this notification will pull the selector based on the current\n * state for the components\n */\n\n\n function notifyStoresOfNewAsyncDep(store, executionID) {\n if (isLatestExecution(store, executionID)) {\n const executionInfo = Recoil_nullthrows(getExecutionInfo(store));\n executionInfo.stateVersions.clear();\n notifyWaitingStores(executionID, false);\n }\n }\n\n function notifyWaitingStores(executionID, clearWaitlist) {\n const stores = waitingStores.get(executionID);\n\n if (stores != null) {\n for (const waitingStore of stores) {\n markRecoilValueModified$1(waitingStore, Recoil_nullthrows(recoilValue));\n }\n\n if (clearWaitlist) {\n waitingStores.delete(executionID);\n }\n }\n }\n\n function markStoreWaitingForResolvedAsync(store, executionID) {\n let stores = waitingStores.get(executionID);\n\n if (stores == null) {\n waitingStores.set(executionID, stores = new Set());\n }\n\n stores.add(store);\n }\n /**\n * This function attaches a then() and a catch() to a promise that was\n * returned from a selector's get() (either explicitly or implicitly by\n * running a function that uses the \"async\" keyword). If a selector's get()\n * returns a promise, we have two possibilities:\n *\n * 1. The promise will resolve, in which case it will have completely finished\n * executing without any remaining pending dependencies. No more retries\n * are needed and we can proceed with updating the cache and notifying\n * subscribers (if it is the latest execution, otherwise only the cache\n * will be updated and subscriptions will not be fired). This is the case\n * handled by the attached then() handler.\n *\n * 2. The promise will throw because it either has an error or it came across\n * an async dependency that has not yet resolved, in which case we will\n * call wrapDepdencyPromise(), whose responsibility is to handle dependency\n * promises. This case is handled by the attached catch() handler.\n *\n * Both branches will eventually resolve to the final result of the selector\n * (or an error if a real error occurred).\n *\n * The execution will run to completion even if it is stale, and its value\n * will be cached. But stale executions will not update global state or update\n * executionInfo as that is the responsibility of the 'latest' execution.\n *\n * Note this function should not be passed a promise that was thrown--AKA a\n * dependency promise. Dependency promises should be passed to\n * wrapPendingDependencyPromise()).\n */\n\n\n function wrapResultPromise(store, promise, state, depValues, executionID, loadingDepsState) {\n return promise.then(value => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n const loadable = loadableWithValue$2(value);\n resolveAsync(store, state, executionID, loadable, depValues);\n return value;\n }).catch(errorOrPromise => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n if (Recoil_isPromise(errorOrPromise)) {\n return wrapPendingDependencyPromise(store, errorOrPromise, state, depValues, executionID, loadingDepsState);\n }\n\n const loadable = loadableWithError$1(errorOrPromise);\n resolveAsync(store, state, executionID, loadable, depValues);\n throw errorOrPromise;\n });\n }\n /**\n * This function attaches a then() and a catch() to a promise that was\n * thrown from a selector's get(). If a selector's get() throws a promise,\n * we have two possibilities:\n *\n * 1. The promise will resolve, meaning one of our selector's dependencies is\n * now available and we should \"retry\" our get() by running it again. This\n * is the case handled by the attached then() handler.\n *\n * 2. The promise will throw because something went wrong with the dependency\n * promise (in other words a real error occurred). This case is handled by\n * the attached catch() handler. If the dependency promise throws, it is\n * _always_ a real error and not another dependency promise (any dependency\n * promises would have been handled upstream).\n *\n * The then() branch will eventually resolve to the final result of the\n * selector (or an error if a real error occurs), and the catch() will always\n * resolve to an error because the dependency promise is a promise that was\n * wrapped upstream, meaning it will only resolve to its real value or to a\n * real error.\n *\n * The execution will run to completion even if it is stale, and its value\n * will be cached. But stale executions will not update global state or update\n * executionInfo as that is the responsibility of the 'latest' execution.\n *\n * Note this function should not be passed a promise that was returned from\n * get(). The intention is that this function is only passed promises that\n * were thrown due to a pending dependency. Promises returned by get() should\n * be passed to wrapResultPromise() instead.\n */\n\n\n function wrapPendingDependencyPromise(store, promise, state, existingDeps, executionID, loadingDepsState) {\n return promise.then(resolvedDep => {\n if (!selectorIsLive()) {\n // The selector was released since the request began; ignore the response.\n clearExecutionInfo(store);\n throw CANCELED;\n } // Check if we are handling a pending Recoil dependency or if the user\n // threw their own Promise to \"suspend\" a selector evaluation. We need\n // to check that the loadingDepPromise actually matches the promise that\n // we caught in case the selector happened to catch the promise we threw\n // for a pending Recoil dependency from `getRecoilValue()` and threw\n // their own promise instead.\n\n\n if (loadingDepsState.loadingDepKey != null && loadingDepsState.loadingDepPromise === promise) {\n /**\n * Note for async atoms, this means we are changing the atom's value\n * in the store for the given version. This should be alright because\n * the version of state is now stale and a new version will have\n * already been triggered by the atom being resolved (see this logic\n * in Recoil_atom.js)\n */\n state.atomValues.set(loadingDepsState.loadingDepKey, loadableWithValue$2(resolvedDep));\n } else {\n /**\n * If resolvedDepKey is not defined, the promise was a user-thrown\n * promise. User-thrown promises are an advanced feature and they\n * should be avoided in almost all cases. Using `loadable.map()` inside\n * of selectors for loading loadables and then throwing that mapped\n * loadable's promise is an example of a user-thrown promise.\n *\n * When we hit a user-thrown promise, we have to bail out of an optimization\n * where we bypass calculating selector cache keys for selectors that\n * have been previously seen for a given state (these selectors are saved in\n * state.atomValues) to avoid stale state as we have no way of knowing\n * what state changes happened (if any) in result to the promise resolving.\n *\n * Ideally we would only bail out selectors that are in the chain of\n * dependencies for this selector, but there's currently no way to get\n * a full list of a selector's downstream nodes because the state that\n * is executing may be a discarded tree (so store.getGraph(state.version)\n * will be empty), and the full dep tree may not be in the selector\n * caches in the case where the selector's cache was cleared. To solve\n * for this we would have to keep track of all running selector\n * executions and their downstream deps. Because this only covers edge\n * cases, that complexity might not be justifyable.\n */\n store.getState().knownSelectors.forEach(nodeKey => {\n state.atomValues.delete(nodeKey);\n });\n }\n /**\n * Optimization: Now that the dependency has resolved, let's try hitting\n * the cache in case the dep resolved to a value we have previously seen.\n *\n * TODO:\n * Note this optimization is not perfect because it only prevents re-executions\n * _after_ the point where an async dependency is found. Any code leading\n * up to the async dependency may have run unnecessarily. The ideal case\n * would be to wait for the async dependency to resolve first, check the\n * cache, and prevent _any_ execution of the selector if the resulting\n * value of the dependency leads to a path that is found in the cache.\n * The ideal case is more difficult to implement as it would require that\n * we capture and wait for the the async dependency right after checking\n * the cache. The current approach takes advantage of the fact that running\n * the selector already has a code path that lets us exit early when\n * an async dep resolves.\n */\n\n\n const cachedLoadable = getLoadableFromCacheAndUpdateDeps(store, state);\n\n if (cachedLoadable && cachedLoadable.state !== 'loading') {\n /**\n * This has to notify stores of a resolved async, even if there is no\n * current pending execution for the following case:\n * 1) A component renders with this pending loadable.\n * 2) The upstream dependency resolves.\n * 3) While processing some other selector it reads this one, such as\n * while traversing its dependencies. At this point it gets the\n * new resolved value synchronously and clears the current\n * execution ID. The component wasn't getting the value itself,\n * though, so it still has the pending loadable.\n * 4) When this code executes the current execution id was cleared\n * and it wouldn't notify the component of the new value.\n *\n * I think this is only an issue with \"early\" rendering since the\n * components got their value using the in-progress execution.\n * We don't have a unit test for this case yet. I'm not sure it is\n * necessary with recoil_transition_support mode.\n */\n if (isLatestExecution(store, executionID) || getExecutionInfo(store) == null) {\n notifyStoresOfResolvedAsync(store, executionID);\n }\n\n if (cachedLoadable.state === 'hasValue') {\n return cachedLoadable.contents;\n } else {\n throw cachedLoadable.contents;\n }\n }\n /**\n * If this execution is stale, let's check to see if there is some in\n * progress execution with a matching state. If we find a match, then\n * we can take the value from that in-progress execution. Note this may\n * sound like an edge case, but may be very common in cases where a\n * loading dependency resolves from loading to having a value (thus\n * possibly triggering a re-render), and React re-renders before the\n * chained .then() functions run, thus starting a new execution as the\n * dep has changed value. Without this check we will run the selector\n * twice (once in the new execution and once again in this .then(), so\n * this check is necessary to keep unnecessary re-executions to a\n * minimum).\n *\n * Also note this code does not check across all executions that may be\n * running. It only optimizes for the _latest_ execution per store as\n * we currently do not maintain a list of all currently running executions.\n * This means in some cases we may run selectors more than strictly\n * necessary when there are multiple executions running for the same\n * selector. This may be a valid tradeoff as checking for dep changes\n * across all in-progress executions may take longer than just\n * re-running the selector. This will be app-dependent, and maybe in the\n * future we can make the behavior configurable. An ideal fix may be\n * to extend the tree cache to support caching loading states.\n */\n\n\n if (!isLatestExecution(store, executionID)) {\n const executionInfo = getInProgressExecutionInfo(store, state);\n\n if (executionInfo != null) {\n /**\n * Returning promise here without wrapping as the wrapper logic was\n * already done upstream when this promise was generated.\n */\n return executionInfo.loadingLoadable.contents;\n }\n } // Retry the selector evaluation now that the dependency has resolved\n\n\n const [loadable, depValues] = evaluateSelectorGetter(store, state, executionID);\n\n if (loadable.state !== 'loading') {\n resolveAsync(store, state, executionID, loadable, depValues);\n }\n\n if (loadable.state === 'hasError') {\n throw loadable.contents;\n }\n\n return loadable.contents;\n }).catch(error => {\n // The selector was released since the request began; ignore the response.\n if (error instanceof Canceled) {\n throw CANCELED;\n }\n\n if (!selectorIsLive()) {\n clearExecutionInfo(store);\n throw CANCELED;\n }\n\n const loadable = loadableWithError$1(error);\n resolveAsync(store, state, executionID, loadable, existingDeps);\n throw error;\n });\n }\n\n function updateDeps(store, state, deps, executionID) {\n var _store$getState, _store$getState$curre, _store$getState2, _store$getState2$next;\n\n if (isLatestExecution(store, executionID) || state.version === ((_store$getState = store.getState()) === null || _store$getState === void 0 ? void 0 : (_store$getState$curre = _store$getState.currentTree) === null || _store$getState$curre === void 0 ? void 0 : _store$getState$curre.version) || state.version === ((_store$getState2 = store.getState()) === null || _store$getState2 === void 0 ? void 0 : (_store$getState2$next = _store$getState2.nextTree) === null || _store$getState2$next === void 0 ? void 0 : _store$getState2$next.version)) {\n var _store$getState$nextT, _store$getState3, _store$getState3$next;\n\n saveDepsToStore$1(key, deps, store, (_store$getState$nextT = (_store$getState3 = store.getState()) === null || _store$getState3 === void 0 ? void 0 : (_store$getState3$next = _store$getState3.nextTree) === null || _store$getState3$next === void 0 ? void 0 : _store$getState3$next.version) !== null && _store$getState$nextT !== void 0 ? _store$getState$nextT : store.getState().currentTree.version);\n }\n\n for (const nodeKey of deps) {\n discoveredDependencyNodeKeys.add(nodeKey);\n }\n }\n\n function evaluateSelectorGetter(store, state, executionID) {\n const endPerfBlock = startPerfBlock$1(key); // TODO T63965866: use execution ID here\n\n let duringSynchronousExecution = true;\n let duringAsynchronousExecution = true;\n\n const finishEvaluation = () => {\n endPerfBlock();\n duringAsynchronousExecution = false;\n };\n\n let result;\n let resultIsError = false;\n let loadable;\n const loadingDepsState = {\n loadingDepKey: null,\n loadingDepPromise: null\n };\n /**\n * Starting a fresh set of deps that we'll be using to update state. We're\n * starting a new set versus adding it in existing state deps because\n * the version of state that we update deps for may be a more recent version\n * than the version the selector was called with. This is because the latest\n * execution will update the deps of the current/latest version of state\n * (This is safe to do because the fact that the selector is the latest\n * execution means the deps we discover below are our best guess at the\n * deps for the current/latest state in the store)\n */\n\n const depValues = new Map();\n\n function getRecoilValue({\n key: depKey\n }) {\n const depLoadable = getNodeLoadable$2(store, state, depKey);\n depValues.set(depKey, depLoadable); // We need to update asynchronous dependencies as we go so the selector\n // knows if it has to restart evaluation if one of them is updated before\n // the asynchronous selector completely resolves.\n\n if (!duringSynchronousExecution) {\n updateDeps(store, state, new Set(depValues.keys()), executionID);\n notifyStoresOfNewAsyncDep(store, executionID);\n }\n\n switch (depLoadable.state) {\n case 'hasValue':\n return depLoadable.contents;\n\n case 'hasError':\n throw depLoadable.contents;\n\n case 'loading':\n loadingDepsState.loadingDepKey = depKey;\n loadingDepsState.loadingDepPromise = depLoadable.contents;\n throw depLoadable.contents;\n }\n\n throw Recoil_err('Invalid Loadable state');\n }\n\n const getCallback = fn => {\n return (...args) => {\n if (duringAsynchronousExecution) {\n throw Recoil_err('Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.');\n }\n\n !(recoilValue != null) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Recoil Value can never be null') : Recoil_invariant(false) : void 0;\n return recoilCallback$1(store, fn, args, {\n node: recoilValue\n } // flowlint-line unclear-type:off\n );\n };\n };\n\n try {\n result = get({\n get: getRecoilValue,\n getCallback\n });\n result = isRecoilValue$3(result) ? getRecoilValue(result) : result;\n\n if (isLoadable$1(result)) {\n if (result.state === 'hasError') {\n resultIsError = true;\n }\n\n result = result.contents;\n }\n\n if (Recoil_isPromise(result)) {\n result = wrapResultPromise(store, result, state, depValues, executionID, loadingDepsState).finally(finishEvaluation);\n } else {\n finishEvaluation();\n }\n\n result = result instanceof WrappedValue$1 ? result.value : result;\n } catch (errorOrDepPromise) {\n result = errorOrDepPromise;\n\n if (Recoil_isPromise(result)) {\n result = wrapPendingDependencyPromise(store, result, state, depValues, executionID, loadingDepsState).finally(finishEvaluation);\n } else {\n resultIsError = true;\n finishEvaluation();\n }\n }\n\n if (resultIsError) {\n loadable = loadableWithError$1(result);\n } else if (Recoil_isPromise(result)) {\n loadable = loadableWithPromise$1(result);\n } else {\n loadable = loadableWithValue$2(result);\n }\n\n duringSynchronousExecution = false;\n updateExecutionInfoDepValues(store, executionID, depValues);\n updateDeps(store, state, new Set(depValues.keys()), executionID);\n return [loadable, depValues];\n }\n\n function getLoadableFromCacheAndUpdateDeps(store, state) {\n // First, look up in the state cache\n // If it's here, then the deps in the store should already be valid.\n let cachedLoadable = state.atomValues.get(key);\n\n if (cachedLoadable != null) {\n return cachedLoadable;\n } // Second, look up in the selector cache and update the deps in the store\n\n\n const depsAfterCacheLookup = new Set();\n\n try {\n cachedLoadable = cache.get(nodeKey => {\n !(typeof nodeKey === 'string') ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Cache nodeKey is type string') : Recoil_invariant(false) : void 0;\n return getNodeLoadable$2(store, state, nodeKey).contents;\n }, {\n onNodeVisit: node => {\n if (node.type === 'branch' && node.nodeKey !== key) {\n depsAfterCacheLookup.add(node.nodeKey);\n }\n }\n });\n } catch (error) {\n throw Recoil_err(`Problem with cache lookup for selector \"${key}\": ${error.message}`);\n }\n\n if (cachedLoadable) {\n var _getExecutionInfo;\n\n // Cache the results in the state to allow for cheaper lookup than\n // iterating the tree cache of dependencies.\n state.atomValues.set(key, cachedLoadable);\n /**\n * Ensure store contains correct dependencies if we hit the cache so that\n * the store deps and cache are in sync for a given state. This is important\n * because store deps are normally updated when new executions are created,\n * but cache hits don't trigger new executions but they still _may_ signify\n * a change in deps in the store if the store deps for this state are empty\n * or stale.\n */\n\n updateDeps(store, state, depsAfterCacheLookup, (_getExecutionInfo = getExecutionInfo(store)) === null || _getExecutionInfo === void 0 ? void 0 : _getExecutionInfo.executionID);\n }\n\n return cachedLoadable;\n }\n /**\n * Given a tree state, this function returns a Loadable of the current state.\n *\n * The selector's get() function will only be re-evaluated if _both_ of the\n * following statements are true:\n *\n * 1. The current dep values from the given state produced a cache key that\n * was not found in the cache.\n * 2. There is no currently running async execution OR there is an\n * async execution that is running, but after comparing the dep values in\n * the given state with the dep values that the execution has discovered so\n * far we find that at least one dep value has changed, in which case we\n * start a new execution (the previously running execution will continue to\n * run to completion, but only the new execution will be deemed the\n * 'latest' execution, meaning it will be the only execution that will\n * update global state when it is finished. Any non-latest executions will\n * run to completion and update the selector cache but not global state).\n */\n\n\n function getSelectorLoadableAndUpdateDeps(store, state) {\n // First, see if our current state is cached\n const cachedVal = getLoadableFromCacheAndUpdateDeps(store, state);\n\n if (cachedVal != null) {\n clearExecutionInfo(store);\n return cachedVal;\n } // Second, check if there is already an ongoing execution based on the current state\n\n\n const inProgressExecutionInfo = getInProgressExecutionInfo(store, state);\n\n if (inProgressExecutionInfo != null) {\n var _inProgressExecutionI;\n\n if (((_inProgressExecutionI = inProgressExecutionInfo.loadingLoadable) === null || _inProgressExecutionI === void 0 ? void 0 : _inProgressExecutionI.state) === 'loading') {\n markStoreWaitingForResolvedAsync(store, inProgressExecutionInfo.executionID);\n } // FIXME: check after the fact to see if we made the right choice by waiting\n\n\n return inProgressExecutionInfo.loadingLoadable;\n } // Third, start a new evaluation of the selector\n\n\n const newExecutionID = getNewExecutionID();\n const [loadable, newDepValues] = evaluateSelectorGetter(store, state, newExecutionID);\n /**\n * Conditionally updates the cache with a given loadable.\n *\n * We only cache loadables that are not loading because our cache keys are\n * based on dep values, which are in an unfinished state for loadables that\n * have a 'loading' state (new deps may be discovered while the selector\n * runs its async code). We never want to cache partial dependencies b/c it\n * could lead to errors, such as prematurely returning the result based on a\n * partial list of deps-- we need the full list of deps to ensure that we\n * are returning the correct result from cache.\n */\n\n if (loadable.state === 'loading') {\n setExecutionInfo(store, newExecutionID, loadable, newDepValues, state);\n markStoreWaitingForResolvedAsync(store, newExecutionID);\n } else {\n clearExecutionInfo(store);\n setCache(state, loadable, newDepValues);\n }\n\n return loadable;\n }\n /**\n * Searches execution info across all stores to see if there is an in-progress\n * execution whose dependency values match the values of the requesting store.\n */\n\n\n function getInProgressExecutionInfo(store, state) {\n // Sort the pending executions so that our current store is checked first.\n const pendingExecutions = Recoil_concatIterables([executionInfoMap.has(store) ? [Recoil_nullthrows(executionInfoMap.get(store))] : [], Recoil_mapIterable(Recoil_filterIterable(executionInfoMap, ([s]) => s !== store), ([, execInfo]) => execInfo)]);\n\n function anyDepChanged(execDepValues) {\n for (const [depKey, execLoadable] of execDepValues) {\n if (!getNodeLoadable$2(store, state, depKey).is(execLoadable)) {\n return true;\n }\n }\n\n return false;\n }\n\n for (const execInfo of pendingExecutions) {\n if ( // If this execution was already checked to be valid with this version\n // of state, then let's use it!\n execInfo.stateVersions.get(state.version) || // If the deps for the execution match our current state, then it's valid\n !anyDepChanged(execInfo.depValuesDiscoveredSoFarDuringAsyncWork)) {\n execInfo.stateVersions.set(state.version, true);\n return execInfo;\n } else {\n execInfo.stateVersions.set(state.version, false);\n }\n }\n\n return undefined;\n }\n\n function getExecutionInfo(store) {\n return executionInfoMap.get(store);\n }\n /**\n * This function will update the selector's execution info when the selector\n * has either finished running an execution or has started a new execution. If\n * the given loadable is in a 'loading' state, the intention is that a new\n * execution has started. Otherwise, the intention is that an execution has\n * just finished.\n */\n\n\n function setExecutionInfo(store, newExecutionID, loadable, depValues, state) {\n executionInfoMap.set(store, {\n depValuesDiscoveredSoFarDuringAsyncWork: depValues,\n executionID: newExecutionID,\n loadingLoadable: loadable,\n stateVersions: new Map([[state.version, true]])\n });\n }\n\n function updateExecutionInfoDepValues(store, executionID, depValues) {\n // We only need to bother updating the deps for the latest execution because\n // that's all getInProgressExecutionInfo() will be looking for.\n if (isLatestExecution(store, executionID)) {\n const executionInfo = getExecutionInfo(store);\n\n if (executionInfo != null) {\n executionInfo.depValuesDiscoveredSoFarDuringAsyncWork = depValues;\n }\n }\n }\n\n function clearExecutionInfo(store) {\n executionInfoMap.delete(store);\n }\n\n function isLatestExecution(store, executionID) {\n var _getExecutionInfo2;\n\n return executionID === ((_getExecutionInfo2 = getExecutionInfo(store)) === null || _getExecutionInfo2 === void 0 ? void 0 : _getExecutionInfo2.executionID);\n }\n /**\n * FIXME: dep keys should take into account the state of the loadable to\n * prevent the edge case where a loadable with an error and a loadable with\n * an error as a value are treated as the same thing incorrectly. For example\n * these two should be treated differently:\n *\n * selector({key: '', get: () => new Error('hi')});\n * selector({key: '', get () => {throw new Error('hi')}});\n *\n * With current implementation they are treated the same\n */\n\n\n function depValuesToDepRoute(depValues) {\n return Array.from(depValues.entries()).map(([depKey, valLoadable]) => [depKey, valLoadable.contents]);\n }\n\n function setCache(state, loadable, depValues) {\n if (process.env.NODE_ENV !== \"production\") {\n if (loadable.state !== 'loading' && Boolean(options.dangerouslyAllowMutability) === false) {\n Recoil_deepFreezeValue(loadable.contents);\n }\n }\n\n state.atomValues.set(key, loadable);\n\n try {\n cache.set(depValuesToDepRoute(depValues), loadable);\n } catch (error) {\n throw Recoil_err(`Problem with setting cache for selector \"${key}\": ${error.message}`);\n }\n }\n\n function detectCircularDependencies(fn) {\n if (dependencyStack.includes(key)) {\n const message = `Recoil selector has circular dependencies: ${dependencyStack.slice(dependencyStack.indexOf(key)).join(' \\u2192 ')}`;\n return loadableWithError$1(Recoil_err(message));\n }\n\n dependencyStack.push(key);\n\n try {\n return fn();\n } finally {\n dependencyStack.pop();\n }\n }\n\n function selectorPeek(store, state) {\n const cachedLoadable = state.atomValues.get(key);\n\n if (cachedLoadable != null) {\n return cachedLoadable;\n }\n\n return cache.get(nodeKey => {\n var _peekNodeLoadable;\n\n !(typeof nodeKey === 'string') ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Cache nodeKey is type string') : Recoil_invariant(false) : void 0;\n return (_peekNodeLoadable = peekNodeLoadable$1(store, state, nodeKey)) === null || _peekNodeLoadable === void 0 ? void 0 : _peekNodeLoadable.contents;\n });\n }\n\n function selectorGet(store, state) {\n return detectCircularDependencies(() => getSelectorLoadableAndUpdateDeps(store, state));\n }\n\n function invalidateSelector(state) {\n state.atomValues.delete(key);\n }\n\n function clearSelectorCache(store, treeState) {\n !(recoilValue != null) ? process.env.NODE_ENV !== \"production\" ? Recoil_invariant(false, 'Recoil Value can never be null') : Recoil_invariant(false) : void 0;\n\n for (const nodeKey of discoveredDependencyNodeKeys) {\n var _node$clearCache;\n\n const node = getNode$6(nodeKey);\n (_node$clearCache = node.clearCache) === null || _node$clearCache === void 0 ? void 0 : _node$clearCache.call(node, store, treeState);\n }\n\n discoveredDependencyNodeKeys.clear();\n invalidateSelector(treeState);\n cache.clear();\n markRecoilValueModified$1(store, recoilValue);\n }\n\n if (set != null) {\n /**\n * ES5 strict mode prohibits defining non-top-level function declarations,\n * so don't use function declaration syntax here\n */\n const selectorSet = (store, state, newValue) => {\n let syncSelectorSetFinished = false;\n const writes = new Map();\n\n function getRecoilValue({\n key: depKey\n }) {\n if (syncSelectorSetFinished) {\n throw Recoil_err('Recoil: Async selector sets are not currently supported.');\n }\n\n const loadable = getNodeLoadable$2(store, state, depKey);\n\n if (loadable.state === 'hasValue') {\n return loadable.contents;\n } else if (loadable.state === 'loading') {\n const msg = `Getting value of asynchronous atom or selector \"${depKey}\" in a pending state while setting selector \"${key}\" is not yet supported.`;\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n } else {\n throw loadable.contents;\n }\n }\n\n function setRecoilState(recoilState, valueOrUpdater) {\n if (syncSelectorSetFinished) {\n const msg = 'Recoil: Async selector sets are not currently supported.';\n Recoil_recoverableViolation(msg);\n throw Recoil_err(msg);\n }\n\n const setValue = typeof valueOrUpdater === 'function' ? // cast to any because we can't restrict type S from being a function itself without losing support for opaque types\n // flowlint-next-line unclear-type:off\n valueOrUpdater(getRecoilValue(recoilState)) : valueOrUpdater;\n const upstreamWrites = setNodeValue$3(store, state, recoilState.key, setValue);\n upstreamWrites.forEach((v, k) => writes.set(k, v));\n }\n\n function resetRecoilState(recoilState) {\n setRecoilState(recoilState, DEFAULT_VALUE$6);\n }\n\n const ret = set({\n set: setRecoilState,\n get: getRecoilValue,\n reset: resetRecoilState\n }, newValue); // set should be a void method, but if the user makes it `async`, then it\n // will return a Promise, which we don't currently support.\n\n if (ret !== undefined) {\n throw Recoil_isPromise(ret) ? Recoil_err('Recoil: Async selector sets are not currently supported.') : Recoil_err('Recoil: selector set should be a void function.');\n }\n\n syncSelectorSetFinished = true;\n return writes;\n };\n\n return recoilValue = registerNode$1({\n key,\n nodeType: 'selector',\n peek: selectorPeek,\n get: selectorGet,\n set: selectorSet,\n init: selectorInit,\n invalidate: invalidateSelector,\n clearCache: clearSelectorCache,\n shouldDeleteConfigOnRelease: selectorShouldDeleteConfigOnRelease,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n shouldRestoreFromSnapshots: false,\n retainedBy\n });\n } else {\n return recoilValue = registerNode$1({\n key,\n nodeType: 'selector',\n peek: selectorPeek,\n get: selectorGet,\n init: selectorInit,\n invalidate: invalidateSelector,\n clearCache: clearSelectorCache,\n shouldDeleteConfigOnRelease: selectorShouldDeleteConfigOnRelease,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n shouldRestoreFromSnapshots: false,\n retainedBy\n });\n }\n}\n/* eslint-enable no-redeclare */\n// $FlowIssue[incompatible-use]\n// $FlowFixMe[missing-local-annot]\n\n\nselector.value = value => new WrappedValue$1(value);\n\nvar Recoil_selector = selector;\n\n// @fb-only: import type {ScopeRules} from 'Recoil_ScopedAtom';\n// @fb-only: const {scopedAtom} = require('Recoil_ScopedAtom');\nconst {\n isLoadable: isLoadable$2,\n loadableWithError: loadableWithError$2,\n loadableWithPromise: loadableWithPromise$2,\n loadableWithValue: loadableWithValue$3\n} = Recoil_Loadable$1;\n\nconst {\n WrappedValue: WrappedValue$2\n} = Recoil_Wrapper$1;\n\nconst {\n peekNodeInfo: peekNodeInfo$3\n} = Recoil_FunctionalCore;\n\nconst {\n DEFAULT_VALUE: DEFAULT_VALUE$7,\n DefaultValue: DefaultValue$2,\n getConfigDeletionHandler: getConfigDeletionHandler$2,\n registerNode: registerNode$2,\n setConfigDeletionHandler: setConfigDeletionHandler$1\n} = Recoil_Node;\n\nconst {\n isRecoilValue: isRecoilValue$4\n} = Recoil_RecoilValue$1;\n\nconst {\n getRecoilValueAsLoadable: getRecoilValueAsLoadable$4,\n markRecoilValueModified: markRecoilValueModified$2,\n setRecoilValue: setRecoilValue$4,\n setRecoilValueLoadable: setRecoilValueLoadable$2\n} = Recoil_RecoilValueInterface;\n\nconst {\n retainedByOptionWithDefault: retainedByOptionWithDefault$2\n} = Recoil_Retention;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst unwrap = x => x instanceof WrappedValue$2 ? x.value : x;\n\nfunction baseAtom(options) {\n const {\n key,\n persistence_UNSTABLE: persistence\n } = options;\n const retainedBy = retainedByOptionWithDefault$2(options.retainedBy_UNSTABLE);\n let liveStoresCount = 0;\n\n function unwrapPromise(promise) {\n return loadableWithPromise$2(promise.then(value => {\n defaultLoadable = loadableWithValue$3(value);\n return value;\n }).catch(error => {\n defaultLoadable = loadableWithError$2(error);\n throw error;\n }));\n }\n\n let defaultLoadable = Recoil_isPromise(options.default) ? unwrapPromise(options.default) : isLoadable$2(options.default) ? options.default.state === 'loading' ? unwrapPromise(options.default.contents) : options.default : loadableWithValue$3(unwrap(options.default));\n maybeFreezeValueOrPromise(defaultLoadable.contents);\n let cachedAnswerForUnvalidatedValue = undefined; // Cleanup handlers for this atom\n // Rely on stable reference equality of the store to use it as a key per \n\n const cleanupEffectsByStore = new Map();\n\n function maybeFreezeValueOrPromise(valueOrPromise) {\n if (process.env.NODE_ENV !== \"production\") {\n if (options.dangerouslyAllowMutability !== true) {\n if (Recoil_isPromise(valueOrPromise)) {\n return valueOrPromise.then(value => {\n Recoil_deepFreezeValue(value);\n return value;\n });\n } else {\n Recoil_deepFreezeValue(valueOrPromise);\n return valueOrPromise;\n }\n }\n }\n\n return valueOrPromise;\n }\n\n function wrapPendingPromise(store, promise) {\n const wrappedPromise = promise.then(value => {\n var _store$getState$nextT, _state$atomValues$get;\n\n const state = (_store$getState$nextT = store.getState().nextTree) !== null && _store$getState$nextT !== void 0 ? _store$getState$nextT : store.getState().currentTree;\n\n if (((_state$atomValues$get = state.atomValues.get(key)) === null || _state$atomValues$get === void 0 ? void 0 : _state$atomValues$get.contents) === wrappedPromise) {\n setRecoilValue$4(store, node, value);\n }\n\n return value;\n }).catch(error => {\n var _store$getState$nextT2, _state$atomValues$get2;\n\n const state = (_store$getState$nextT2 = store.getState().nextTree) !== null && _store$getState$nextT2 !== void 0 ? _store$getState$nextT2 : store.getState().currentTree;\n\n if (((_state$atomValues$get2 = state.atomValues.get(key)) === null || _state$atomValues$get2 === void 0 ? void 0 : _state$atomValues$get2.contents) === wrappedPromise) {\n setRecoilValueLoadable$2(store, node, loadableWithError$2(error));\n }\n\n throw error;\n });\n return wrappedPromise;\n }\n\n function initAtom(store, initState, trigger) {\n var _options$effects;\n\n liveStoresCount++;\n\n const cleanupAtom = () => {\n var _cleanupEffectsByStor;\n\n liveStoresCount--;\n (_cleanupEffectsByStor = cleanupEffectsByStore.get(store)) === null || _cleanupEffectsByStor === void 0 ? void 0 : _cleanupEffectsByStor.forEach(cleanup => cleanup());\n cleanupEffectsByStore.delete(store);\n };\n\n store.getState().knownAtoms.add(key); // Setup async defaults to notify subscribers when they resolve\n\n if (defaultLoadable.state === 'loading') {\n const notifyDefaultSubscribers = () => {\n var _store$getState$nextT3;\n\n const state = (_store$getState$nextT3 = store.getState().nextTree) !== null && _store$getState$nextT3 !== void 0 ? _store$getState$nextT3 : store.getState().currentTree;\n\n if (!state.atomValues.has(key)) {\n markRecoilValueModified$2(store, node);\n }\n };\n\n defaultLoadable.contents.finally(notifyDefaultSubscribers);\n } ///////////////////\n // Run Atom Effects\n ///////////////////\n\n\n const effects = (_options$effects = options.effects) !== null && _options$effects !== void 0 ? _options$effects : options.effects_UNSTABLE;\n\n if (effects != null) {\n // This state is scoped by Store, since this is in the initAtom() closure\n let initValue = DEFAULT_VALUE$7;\n let isDuringInit = true;\n let isInitError = false;\n let pendingSetSelf = null;\n\n function getLoadable(recoilValue) {\n // Normally we can just get the current value of another atom.\n // But for our own value we need to check if there is a pending\n // initialized value or get the fallback default value.\n if (isDuringInit && recoilValue.key === key) {\n // Cast T to S\n const retValue = initValue; // flowlint-line unclear-type:off\n\n return retValue instanceof DefaultValue$2 ? peekAtom(store, initState) // flowlint-line unclear-type:off\n : Recoil_isPromise(retValue) ? loadableWithPromise$2(retValue.then(v => v instanceof DefaultValue$2 ? // Cast T to S\n defaultLoadable.toPromise() // flowlint-line unclear-type:off\n : v)) : loadableWithValue$3(retValue);\n }\n\n return getRecoilValueAsLoadable$4(store, recoilValue);\n }\n\n function getPromise(recoilValue) {\n return getLoadable(recoilValue).toPromise();\n }\n\n function getInfo_UNSTABLE(recoilValue) {\n var _store$getState$nextT4;\n\n const info = peekNodeInfo$3(store, (_store$getState$nextT4 = store.getState().nextTree) !== null && _store$getState$nextT4 !== void 0 ? _store$getState$nextT4 : store.getState().currentTree, recoilValue.key);\n return isDuringInit && recoilValue.key === key && !(initValue instanceof DefaultValue$2) ? { ...info,\n isSet: true,\n loadable: getLoadable(recoilValue)\n } : info;\n }\n\n const setSelf = effect => valueOrUpdater => {\n if (isDuringInit) {\n const currentLoadable = getLoadable(node);\n const currentValue = currentLoadable.state === 'hasValue' ? currentLoadable.contents : DEFAULT_VALUE$7;\n initValue = typeof valueOrUpdater === 'function' ? // cast to any because we can't restrict T from being a function without losing support for opaque types\n valueOrUpdater(currentValue) // flowlint-line unclear-type:off\n : valueOrUpdater;\n\n if (Recoil_isPromise(initValue)) {\n initValue = initValue.then(value => {\n // Avoid calling onSet() when setSelf() initializes with a Promise\n pendingSetSelf = {\n effect,\n value\n };\n return value;\n });\n }\n } else {\n if (Recoil_isPromise(valueOrUpdater)) {\n throw Recoil_err('Setting atoms to async values is not implemented.');\n }\n\n if (typeof valueOrUpdater !== 'function') {\n pendingSetSelf = {\n effect,\n value: unwrap(valueOrUpdater)\n };\n }\n\n setRecoilValue$4(store, node, typeof valueOrUpdater === 'function' ? currentValue => {\n const newValue = unwrap( // cast to any because we can't restrict T from being a function without losing support for opaque types\n valueOrUpdater(currentValue) // flowlint-line unclear-type:off\n );\n pendingSetSelf = {\n effect,\n value: newValue\n };\n return newValue;\n } : unwrap(valueOrUpdater));\n }\n };\n\n const resetSelf = effect => () => setSelf(effect)(DEFAULT_VALUE$7);\n\n const onSet = effect => handler => {\n var _cleanupEffectsByStor2;\n\n const {\n release\n } = store.subscribeToTransactions(currentStore => {\n var _currentTree$atomValu;\n\n // eslint-disable-next-line prefer-const\n let {\n currentTree,\n previousTree\n } = currentStore.getState();\n\n if (!previousTree) {\n Recoil_recoverableViolation('Transaction subscribers notified without a next tree being present -- this is a bug in Recoil');\n previousTree = currentTree; // attempt to trundle on\n }\n\n const newLoadable = (_currentTree$atomValu = currentTree.atomValues.get(key)) !== null && _currentTree$atomValu !== void 0 ? _currentTree$atomValu : defaultLoadable;\n\n if (newLoadable.state === 'hasValue') {\n var _previousTree$atomVal, _pendingSetSelf, _pendingSetSelf2, _pendingSetSelf3;\n\n const newValue = newLoadable.contents;\n const oldLoadable = (_previousTree$atomVal = previousTree.atomValues.get(key)) !== null && _previousTree$atomVal !== void 0 ? _previousTree$atomVal : defaultLoadable;\n const oldValue = oldLoadable.state === 'hasValue' ? oldLoadable.contents : DEFAULT_VALUE$7; // TODO This isn't actually valid, use as a placeholder for now.\n // Ignore atom value changes that were set via setSelf() in the same effect.\n // We will still properly call the handler if there was a subsequent\n // set from something other than an atom effect which was batched\n // with the `setSelf()` call. However, we may incorrectly ignore\n // the handler if the subsequent batched call happens to set the\n // atom to the exact same value as the `setSelf()`. But, in that\n // case, it was kind of a noop, so the semantics are debatable..\n\n if (((_pendingSetSelf = pendingSetSelf) === null || _pendingSetSelf === void 0 ? void 0 : _pendingSetSelf.effect) !== effect || ((_pendingSetSelf2 = pendingSetSelf) === null || _pendingSetSelf2 === void 0 ? void 0 : _pendingSetSelf2.value) !== newValue) {\n handler(newValue, oldValue, !currentTree.atomValues.has(key));\n } else if (((_pendingSetSelf3 = pendingSetSelf) === null || _pendingSetSelf3 === void 0 ? void 0 : _pendingSetSelf3.effect) === effect) {\n pendingSetSelf = null;\n }\n }\n }, key);\n cleanupEffectsByStore.set(store, [...((_cleanupEffectsByStor2 = cleanupEffectsByStore.get(store)) !== null && _cleanupEffectsByStor2 !== void 0 ? _cleanupEffectsByStor2 : []), release]);\n };\n\n for (const effect of effects) {\n try {\n const cleanup = effect({\n node,\n storeID: store.storeID,\n parentStoreID_UNSTABLE: store.parentStoreID,\n trigger,\n setSelf: setSelf(effect),\n resetSelf: resetSelf(effect),\n onSet: onSet(effect),\n getPromise,\n getLoadable,\n getInfo_UNSTABLE\n });\n\n if (cleanup != null) {\n var _cleanupEffectsByStor3;\n\n cleanupEffectsByStore.set(store, [...((_cleanupEffectsByStor3 = cleanupEffectsByStore.get(store)) !== null && _cleanupEffectsByStor3 !== void 0 ? _cleanupEffectsByStor3 : []), cleanup]);\n }\n } catch (error) {\n initValue = error;\n isInitError = true;\n }\n }\n\n isDuringInit = false; // Mutate initial state in place since we know there are no other subscribers\n // since we are the ones initializing on first use.\n\n if (!(initValue instanceof DefaultValue$2)) {\n var _store$getState$nextT5;\n\n const initLoadable = isInitError ? loadableWithError$2(initValue) : Recoil_isPromise(initValue) ? loadableWithPromise$2(wrapPendingPromise(store, initValue)) : loadableWithValue$3(unwrap(initValue));\n maybeFreezeValueOrPromise(initLoadable.contents);\n initState.atomValues.set(key, initLoadable); // If there is a pending transaction, then also mutate the next state tree.\n // This could happen if the atom was first initialized in an action that\n // also updated some other atom's state.\n\n (_store$getState$nextT5 = store.getState().nextTree) === null || _store$getState$nextT5 === void 0 ? void 0 : _store$getState$nextT5.atomValues.set(key, initLoadable);\n }\n }\n\n return cleanupAtom;\n }\n\n function peekAtom(_store, state) {\n var _ref, _state$atomValues$get3;\n\n return (_ref = (_state$atomValues$get3 = state.atomValues.get(key)) !== null && _state$atomValues$get3 !== void 0 ? _state$atomValues$get3 : cachedAnswerForUnvalidatedValue) !== null && _ref !== void 0 ? _ref : defaultLoadable;\n }\n\n function getAtom(_store, state) {\n if (state.atomValues.has(key)) {\n // Atom value is stored in state:\n return Recoil_nullthrows(state.atomValues.get(key));\n } else if (state.nonvalidatedAtoms.has(key)) {\n // Atom value is stored but needs validation before use.\n // We might have already validated it and have a cached validated value:\n if (cachedAnswerForUnvalidatedValue != null) {\n return cachedAnswerForUnvalidatedValue;\n }\n\n if (persistence == null) {\n Recoil_expectationViolation(`Tried to restore a persisted value for atom ${key} but it has no persistence settings.`);\n return defaultLoadable;\n }\n\n const nonvalidatedValue = state.nonvalidatedAtoms.get(key);\n const validatorResult = persistence.validator(nonvalidatedValue, DEFAULT_VALUE$7);\n const validatedValueLoadable = validatorResult instanceof DefaultValue$2 ? defaultLoadable : loadableWithValue$3(validatorResult);\n cachedAnswerForUnvalidatedValue = validatedValueLoadable;\n return cachedAnswerForUnvalidatedValue;\n } else {\n return defaultLoadable;\n }\n }\n\n function invalidateAtom() {\n cachedAnswerForUnvalidatedValue = undefined;\n }\n\n function setAtom(_store, state, newValue) {\n // Bail out if we're being set to the existing value, or if we're being\n // reset but have no stored value (validated or unvalidated) to reset from:\n if (state.atomValues.has(key)) {\n const existing = Recoil_nullthrows(state.atomValues.get(key));\n\n if (existing.state === 'hasValue' && newValue === existing.contents) {\n return new Map();\n }\n } else if (!state.nonvalidatedAtoms.has(key) && newValue instanceof DefaultValue$2) {\n return new Map();\n }\n\n maybeFreezeValueOrPromise(newValue);\n cachedAnswerForUnvalidatedValue = undefined; // can be released now if it was previously in use\n\n return new Map().set(key, loadableWithValue$3(newValue));\n }\n\n function shouldDeleteConfigOnReleaseAtom() {\n return getConfigDeletionHandler$2(key) !== undefined && liveStoresCount <= 0;\n }\n\n const node = registerNode$2({\n key,\n nodeType: 'atom',\n peek: peekAtom,\n get: getAtom,\n set: setAtom,\n init: initAtom,\n invalidate: invalidateAtom,\n shouldDeleteConfigOnRelease: shouldDeleteConfigOnReleaseAtom,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n persistence_UNSTABLE: options.persistence_UNSTABLE ? {\n type: options.persistence_UNSTABLE.type,\n backButton: options.persistence_UNSTABLE.backButton\n } : undefined,\n shouldRestoreFromSnapshots: true,\n retainedBy\n });\n return node;\n} // prettier-ignore\n\n\nfunction atom(options) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof options.key !== 'string') {\n throw Recoil_err('A key option with a unique string value must be provided when creating an atom.');\n }\n }\n\n const { // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n ...restOptions\n } = options;\n const optionsDefault = 'default' in options ? // $FlowIssue[incompatible-type] No way to refine in Flow that property is not defined\n options.default : new Promise(() => {});\n\n if (isRecoilValue$4(optionsDefault) // Continue to use atomWithFallback for promise defaults for scoped atoms\n // for now, since scoped atoms don't support async defaults\n // @fb-only: || (isPromise(optionsDefault) && scopeRules_APPEND_ONLY_READ_THE_DOCS)\n // @fb-only: || (isLoadable(optionsDefault) && scopeRules_APPEND_ONLY_READ_THE_DOCS)\n ) {\n return atomWithFallback({ ...restOptions,\n default: optionsDefault // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n\n }); // @fb-only: } else if (scopeRules_APPEND_ONLY_READ_THE_DOCS\n // @fb-only: && !isPromise(optionsDefault)\n // @fb-only: && !isLoadable(optionsDefault)\n // @fb-only: ) {\n // @fb-only: return scopedAtom({\n // @fb-only: ...restOptions,\n // @fb-only: default: unwrap(optionsDefault),\n // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS,\n // @fb-only: });\n } else {\n return baseAtom({ ...restOptions,\n default: optionsDefault\n });\n }\n}\n\nfunction atomWithFallback(options) {\n const base = atom({ ...options,\n default: DEFAULT_VALUE$7,\n persistence_UNSTABLE: options.persistence_UNSTABLE === undefined ? undefined : { ...options.persistence_UNSTABLE,\n validator: storedValue => storedValue instanceof DefaultValue$2 ? storedValue : Recoil_nullthrows(options.persistence_UNSTABLE).validator(storedValue, DEFAULT_VALUE$7)\n },\n // TODO Hack for now.\n effects: options.effects,\n // flowlint-line unclear-type: off\n effects_UNSTABLE: options.effects_UNSTABLE // flowlint-line unclear-type: off\n\n });\n const sel = Recoil_selector({\n key: `${options.key}__withFallback`,\n get: ({\n get\n }) => {\n const baseValue = get(base);\n return baseValue instanceof DefaultValue$2 ? options.default : baseValue;\n },\n set: ({\n set\n }, newValue) => set(base, newValue),\n // This selector does not need to cache as it is a wrapper selector\n // and the selector within the wrapper selector will have a cache\n // option by default\n cachePolicy_UNSTABLE: {\n eviction: 'most-recent'\n },\n dangerouslyAllowMutability: options.dangerouslyAllowMutability\n });\n setConfigDeletionHandler$1(sel.key, getConfigDeletionHandler$2(options.key));\n return sel;\n} // $FlowFixMe[missing-local-annot]\n\n\natom.value = value => new WrappedValue$2(value);\n\nvar Recoil_atom = atom;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n * @oncall recoil\n */\n\nclass MapCache {\n constructor(options) {\n var _options$mapKey;\n\n _defineProperty(this, \"_map\", void 0);\n\n _defineProperty(this, \"_keyMapper\", void 0);\n\n this._map = new Map();\n this._keyMapper = (_options$mapKey = options === null || options === void 0 ? void 0 : options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : v => v;\n }\n\n size() {\n return this._map.size;\n }\n\n has(key) {\n return this._map.has(this._keyMapper(key));\n }\n\n get(key) {\n return this._map.get(this._keyMapper(key));\n }\n\n set(key, val) {\n this._map.set(this._keyMapper(key), val);\n }\n\n delete(key) {\n this._map.delete(this._keyMapper(key));\n }\n\n clear() {\n this._map.clear();\n }\n\n}\n\nvar Recoil_MapCache = {\n MapCache\n};\n\nvar Recoil_MapCache_1 = Recoil_MapCache.MapCache;\n\nvar Recoil_MapCache$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MapCache: Recoil_MapCache_1\n});\n\nconst {\n LRUCache: LRUCache$2\n} = Recoil_LRUCache$1;\n\nconst {\n MapCache: MapCache$1\n} = Recoil_MapCache$1;\n\n\n\n\n\n\n\nconst defaultPolicy$1 = {\n equality: 'reference',\n eviction: 'none',\n maxSize: Infinity\n};\n\nfunction cacheFromPolicy({\n equality = defaultPolicy$1.equality,\n eviction = defaultPolicy$1.eviction,\n maxSize = defaultPolicy$1.maxSize\n} = defaultPolicy$1) {\n const valueMapper = getValueMapper$1(equality);\n const cache = getCache(eviction, maxSize, valueMapper);\n return cache;\n}\n\nfunction getValueMapper$1(equality) {\n switch (equality) {\n case 'reference':\n return val => val;\n\n case 'value':\n return val => Recoil_stableStringify(val);\n }\n\n throw Recoil_err(`Unrecognized equality policy ${equality}`);\n}\n\nfunction getCache(eviction, maxSize, mapKey) {\n switch (eviction) {\n case 'keep-all':\n return new MapCache$1({\n mapKey\n });\n\n case 'lru':\n return new LRUCache$2({\n mapKey,\n maxSize: Recoil_nullthrows(maxSize)\n });\n\n case 'most-recent':\n return new LRUCache$2({\n mapKey,\n maxSize: 1\n });\n }\n\n throw Recoil_err(`Unrecognized eviction policy ${eviction}`);\n}\n\nvar Recoil_cacheFromPolicy = cacheFromPolicy;\n\n// @fb-only: import type {ScopeRules} from 'Recoil_ScopedAtom';\n\n\nconst {\n setConfigDeletionHandler: setConfigDeletionHandler$2\n} = Recoil_Node;\n\n\n\n\n\n// Process scopeRules to handle any entries which are functions taking parameters\n// prettier-ignore\n// @fb-only: function mapScopeRules

(\n// @fb-only: scopeRules?: ParameterizedScopeRules

,\n// @fb-only: param: P,\n// @fb-only: ): ScopeRules | void {\n// @fb-only: return scopeRules?.map(rule =>\n// @fb-only: Array.isArray(rule)\n// @fb-only: ? rule.map(entry => (typeof entry === 'function' ? entry(param) : entry))\n// @fb-only: : rule,\n// @fb-only: );\n// @fb-only: }\n\n/*\nA function which returns an atom based on the input parameter.\n\nEach unique parameter returns a unique atom. E.g.,\n\n const f = atomFamily(...);\n f({a: 1}) => an atom\n f({a: 2}) => a different atom\n\nThis allows components to persist local, private state using atoms. Each\ninstance of the component may have a different key, which it uses as the\nparameter for a family of atoms; in this way, each component will have\nits own atom not shared by other instances. These state keys may be composed\ninto children's state keys as well.\n*/\nfunction atomFamily(options) {\n var _options$cachePolicyF, _options$cachePolicyF2;\n\n const atomCache = Recoil_cacheFromPolicy({\n equality: (_options$cachePolicyF = (_options$cachePolicyF2 = options.cachePolicyForParams_UNSTABLE) === null || _options$cachePolicyF2 === void 0 ? void 0 : _options$cachePolicyF2.equality) !== null && _options$cachePolicyF !== void 0 ? _options$cachePolicyF : 'value',\n eviction: 'keep-all'\n }); // Simple atomFamily implementation to cache individual atoms based\n // on the parameter value equality.\n\n return params => {\n var _stableStringify, _options$effects;\n\n const cachedAtom = atomCache.get(params);\n\n if (cachedAtom != null) {\n return cachedAtom;\n }\n\n const {\n cachePolicyForParams_UNSTABLE,\n ...atomOptions\n } = options;\n const optionsDefault = 'default' in options ? // $FlowIssue[incompatible-type] No way to refine in Flow that property is not defined\n options.default : new Promise(() => {});\n const newAtom = Recoil_atom({ ...atomOptions,\n key: `${options.key}__${(_stableStringify = Recoil_stableStringify(params)) !== null && _stableStringify !== void 0 ? _stableStringify : 'void'}`,\n default: typeof optionsDefault === 'function' ? // The default was parameterized\n // Flow doesn't know that T isn't a function, so we need to case to any\n // $FlowIssue[incompatible-use]\n optionsDefault(params) : // Default may be a static value, promise, or RecoilValue\n optionsDefault,\n retainedBy_UNSTABLE: typeof options.retainedBy_UNSTABLE === 'function' ? options.retainedBy_UNSTABLE(params) : options.retainedBy_UNSTABLE,\n effects: typeof options.effects === 'function' ? options.effects(params) : typeof options.effects_UNSTABLE === 'function' ? options.effects_UNSTABLE(params) : (_options$effects = options.effects) !== null && _options$effects !== void 0 ? _options$effects : options.effects_UNSTABLE // prettier-ignore\n // @fb-only: scopeRules_APPEND_ONLY_READ_THE_DOCS: mapScopeRules(\n // @fb-only: options.scopeRules_APPEND_ONLY_READ_THE_DOCS,\n // @fb-only: params,\n // @fb-only: ),\n\n });\n atomCache.set(params, newAtom);\n setConfigDeletionHandler$2(newAtom.key, () => {\n atomCache.delete(params);\n });\n return newAtom;\n };\n}\n\nvar Recoil_atomFamily = atomFamily;\n\nconst {\n setConfigDeletionHandler: setConfigDeletionHandler$3\n} = Recoil_Node;\n\n\n\n\n\n // Keep in mind the parameter needs to be serializable as a cahche key\n// using Recoil_stableStringify\n\n\n// Add a unique index to each selector in case the cache implementation allows\n// duplicate keys based on equivalent stringified parameters\nlet nextIndex = 0;\n/* eslint-disable no-redeclare */\n\n// Return a function that returns members of a family of selectors of the same type\n// E.g.,\n//\n// const s = selectorFamily(...);\n// s({a: 1}) => a selector\n// s({a: 2}) => a different selector\n//\n// By default, the selectors are distinguished by distinct values of the\n// parameter based on value equality, not reference equality. This allows using\n// object literals or other equivalent objects at callsites to not create\n// duplicate cache entries. This behavior may be overridden with the\n// cacheImplementationForParams option.\nfunction selectorFamily(options) {\n var _options$cachePolicyF, _options$cachePolicyF2;\n\n const selectorCache = Recoil_cacheFromPolicy({\n equality: (_options$cachePolicyF = (_options$cachePolicyF2 = options.cachePolicyForParams_UNSTABLE) === null || _options$cachePolicyF2 === void 0 ? void 0 : _options$cachePolicyF2.equality) !== null && _options$cachePolicyF !== void 0 ? _options$cachePolicyF : 'value',\n eviction: 'keep-all'\n });\n return params => {\n var _stableStringify;\n\n // Throw an error with selector key so that it is clear which\n // selector is causing an error\n let cachedSelector;\n\n try {\n cachedSelector = selectorCache.get(params);\n } catch (error) {\n throw Recoil_err(`Problem with cache lookup for selector ${options.key}: ${error.message}`);\n }\n\n if (cachedSelector != null) {\n return cachedSelector;\n }\n\n const myKey = `${options.key}__selectorFamily/${(_stableStringify = Recoil_stableStringify(params, {\n // It is possible to use functions in parameters if the user uses\n // a cache with reference equality thanks to the incrementing index.\n allowFunctions: true\n })) !== null && _stableStringify !== void 0 ? _stableStringify : 'void'}/${nextIndex++}`; // Append index in case values serialize to the same key string\n\n const myGet = callbacks => options.get(params)(callbacks);\n\n const myCachePolicy = options.cachePolicy_UNSTABLE;\n const retainedBy = typeof options.retainedBy_UNSTABLE === 'function' ? options.retainedBy_UNSTABLE(params) : options.retainedBy_UNSTABLE;\n let newSelector;\n\n if (options.set != null) {\n const set = options.set;\n\n const mySet = (callbacks, newValue) => set(params)(callbacks, newValue);\n\n newSelector = Recoil_selector({\n key: myKey,\n get: myGet,\n set: mySet,\n cachePolicy_UNSTABLE: myCachePolicy,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n retainedBy_UNSTABLE: retainedBy\n });\n } else {\n newSelector = Recoil_selector({\n key: myKey,\n get: myGet,\n cachePolicy_UNSTABLE: myCachePolicy,\n dangerouslyAllowMutability: options.dangerouslyAllowMutability,\n retainedBy_UNSTABLE: retainedBy\n });\n }\n\n selectorCache.set(params, newSelector);\n setConfigDeletionHandler$3(newSelector.key, () => {\n selectorCache.delete(params);\n });\n return newSelector;\n };\n}\n/* eslint-enable no-redeclare */\n\n\nvar Recoil_selectorFamily = selectorFamily;\n\n// flowlint-next-line unclear-type:off\n\n\nconst constantSelector = Recoil_selectorFamily({\n key: '__constant',\n get: constant => () => constant,\n cachePolicyForParams_UNSTABLE: {\n equality: 'reference'\n }\n}); // Function that returns a selector which always produces the\n// same constant value. It may be called multiple times with the\n// same value, based on reference equality, and will provide the\n// same selector.\n\nfunction constSelector(constant) {\n return constantSelector(constant);\n}\n\nvar Recoil_constSelector = constSelector;\n\n// flowlint-next-line unclear-type:off\n\n\nconst throwingSelector = Recoil_selectorFamily({\n key: '__error',\n get: message => () => {\n throw Recoil_err(message);\n },\n // TODO Why?\n cachePolicyForParams_UNSTABLE: {\n equality: 'reference'\n }\n}); // Function that returns a selector which always throws an error\n// with the provided message.\n\nfunction errorSelector(message) {\n return throwingSelector(message);\n}\n\nvar Recoil_errorSelector = errorSelector;\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Wraps another recoil value and prevents writing to it.\n *\n * \n * @format\n * @oncall recoil\n */\n\nfunction readOnlySelector(atom) {\n // flowlint-next-line unclear-type: off\n return atom;\n}\n\nvar Recoil_readOnlySelector = readOnlySelector;\n\nconst {\n loadableWithError: loadableWithError$3,\n loadableWithPromise: loadableWithPromise$3,\n loadableWithValue: loadableWithValue$4\n} = Recoil_Loadable$1;\n\n\n\n\n\n /////////////////\n// TRUTH TABLE\n/////////////////\n// Dependencies waitForNone waitForAny waitForAll waitForAllSettled\n// [loading, loading] [Promise, Promise] Promise Promise Promise\n// [value, loading] [value, Promise] [value, Promise] Promise Promise\n// [value, value] [value, value] [value, value] [value, value] [value, value]\n//\n// [error, loading] [Error, Promise] [Error, Promise] Error Promise\n// [error, error] [Error, Error] [Error, Error] Error [error, error]\n// [value, error] [value, Error] [value, Error] Error [value, error]\n// Issue parallel requests for all dependencies and return the current\n// status if they have results, have some error, or are still pending.\n\n\nfunction concurrentRequests(getRecoilValue, deps) {\n const results = Array(deps.length).fill(undefined);\n const exceptions = Array(deps.length).fill(undefined);\n\n for (const [i, dep] of deps.entries()) {\n try {\n results[i] = getRecoilValue(dep);\n } catch (e) {\n // exceptions can either be Promises of pending results or real errors\n exceptions[i] = e;\n }\n }\n\n return [results, exceptions];\n}\n\nfunction isError(exp) {\n return exp != null && !Recoil_isPromise(exp);\n}\n\nfunction unwrapDependencies(dependencies) {\n return Array.isArray(dependencies) ? dependencies : Object.getOwnPropertyNames(dependencies).map(key => dependencies[key]);\n}\n\nfunction wrapResults(dependencies,\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nresults) {\n return Array.isArray(dependencies) ? results : // Object.getOwnPropertyNames() has consistent key ordering with ES6\n Object.getOwnPropertyNames(dependencies).reduce((out, key, idx) => ({ ...out,\n [key]: results[idx]\n }), {});\n}\n\nfunction wrapLoadables(dependencies, results, exceptions) {\n const output = exceptions.map((exception, idx) => exception == null ? loadableWithValue$4(results[idx]) : Recoil_isPromise(exception) ? loadableWithPromise$3(exception) : loadableWithError$3(exception));\n return wrapResults(dependencies, output);\n}\n\nfunction combineAsyncResultsWithSyncResults(syncResults, asyncResults) {\n return asyncResults.map((result, idx) =>\n /**\n * it's important we use === undefined as opposed to == null, because the\n * resolved value of the async promise could be `null`, in which case we\n * don't want to use syncResults[idx], which would be undefined. If async\n * promise resolves to `undefined`, that's ok because `syncResults[idx]`\n * will also be `undefined`. That's a little hacky, but it works.\n */\n result === undefined ? syncResults[idx] : result);\n} // Selector that requests all dependencies in parallel and immediately returns\n// current results without waiting.\n\n\nconst waitForNone = Recoil_selectorFamily({\n key: '__waitForNone',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // Always return the current status of the results; never block.\n\n return wrapLoadables(dependencies, results, exceptions);\n },\n dangerouslyAllowMutability: true\n}); // Selector that requests all dependencies in parallel and waits for at least\n// one to be available before returning results. It will only error if all\n// dependencies have errors.\n\nconst waitForAny = Recoil_selectorFamily({\n key: '__waitForAny',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If any results are available, value or error, return the current status\n\n if (exceptions.some(exp => !Recoil_isPromise(exp))) {\n return wrapLoadables(dependencies, results, exceptions);\n } // Otherwise, return a promise that will resolve when the next result is\n // available, whichever one happens to be next. But, if all pending\n // dependencies end up with errors, then reject the promise.\n\n\n return new Promise(resolve => {\n for (const [i, exp] of exceptions.entries()) {\n if (Recoil_isPromise(exp)) {\n exp.then(result => {\n results[i] = result;\n exceptions[i] = undefined;\n resolve(wrapLoadables(dependencies, results, exceptions));\n }).catch(error => {\n exceptions[i] = error;\n resolve(wrapLoadables(dependencies, results, exceptions));\n });\n }\n }\n });\n },\n dangerouslyAllowMutability: true\n}); // Selector that requests all dependencies in parallel and waits for all to be\n// available before returning a value. It will error if any dependencies error.\n\nconst waitForAll = Recoil_selectorFamily({\n key: '__waitForAll',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If all results are available, return the results\n\n if (exceptions.every(exp => exp == null)) {\n return wrapResults(dependencies, results);\n } // If we have any errors, throw the first error\n\n\n const error = exceptions.find(isError);\n\n if (error != null) {\n throw error;\n } // Otherwise, return a promise that will resolve when all results are available\n\n\n return Promise.all(exceptions).then(exceptionResults => wrapResults(dependencies, combineAsyncResultsWithSyncResults(results, exceptionResults)));\n },\n dangerouslyAllowMutability: true\n});\nconst waitForAllSettled = Recoil_selectorFamily({\n key: '__waitForAllSettled',\n get: dependencies => ({\n get\n }) => {\n // Issue requests for all dependencies in parallel.\n // Exceptions can either be Promises of pending results or real errors\n const deps = unwrapDependencies(dependencies);\n const [results, exceptions] = concurrentRequests(get, deps); // If all results are available, return the results\n\n if (exceptions.every(exp => !Recoil_isPromise(exp))) {\n return wrapLoadables(dependencies, results, exceptions);\n } // Wait for all results to settle\n\n\n return Promise.all(exceptions.map((exp, i) => Recoil_isPromise(exp) ? exp.then(result => {\n results[i] = result;\n exceptions[i] = undefined;\n }).catch(error => {\n results[i] = undefined;\n exceptions[i] = error;\n }) : null)) // Then wrap them as loadables\n .then(() => wrapLoadables(dependencies, results, exceptions));\n },\n dangerouslyAllowMutability: true\n});\nconst noWait = Recoil_selectorFamily({\n key: '__noWait',\n get: dependency => ({\n get\n }) => {\n try {\n return Recoil_selector.value(loadableWithValue$4(get(dependency)));\n } catch (exception) {\n return Recoil_selector.value(Recoil_isPromise(exception) ? loadableWithPromise$3(exception) : loadableWithError$3(exception));\n }\n },\n dangerouslyAllowMutability: true\n});\nvar Recoil_WaitFor = {\n waitForNone,\n waitForAny,\n waitForAll,\n waitForAllSettled,\n noWait\n};\n\nconst {\n RecoilLoadable\n} = Recoil_Loadable$1;\n\nconst {\n DefaultValue: DefaultValue$3\n} = Recoil_Node;\n\n\n\nconst {\n RecoilRoot: RecoilRoot$2,\n useRecoilStoreID: useRecoilStoreID$1\n} = Recoil_RecoilRoot;\n\nconst {\n isRecoilValue: isRecoilValue$5\n} = Recoil_RecoilValue$1;\n\nconst {\n retentionZone: retentionZone$1\n} = Recoil_RetentionZone;\n\nconst {\n freshSnapshot: freshSnapshot$2\n} = Recoil_Snapshot$1;\n\nconst {\n useRecoilState: useRecoilState$1,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE: useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilStateLoadable: useRecoilStateLoadable$1,\n useRecoilValue: useRecoilValue$1,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE: useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilValueLoadable: useRecoilValueLoadable$1,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE: useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,\n useResetRecoilState: useResetRecoilState$1,\n useSetRecoilState: useSetRecoilState$1\n} = Recoil_Hooks;\n\nconst {\n useGotoRecoilSnapshot: useGotoRecoilSnapshot$1,\n useRecoilSnapshot: useRecoilSnapshot$1,\n useRecoilTransactionObserver: useRecoilTransactionObserver$1\n} = Recoil_SnapshotHooks;\n\n\n\n\n\nconst {\n useRecoilCallback: useRecoilCallback$1\n} = Recoil_useRecoilCallback;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst {\n noWait: noWait$1,\n waitForAll: waitForAll$1,\n waitForAllSettled: waitForAllSettled$1,\n waitForAny: waitForAny$1,\n waitForNone: waitForNone$1\n} = Recoil_WaitFor;\n\nvar Recoil_index = {\n // Types\n DefaultValue: DefaultValue$3,\n isRecoilValue: isRecoilValue$5,\n RecoilLoadable,\n // Global Recoil environment settiongs\n RecoilEnv: Recoil_RecoilEnv,\n // Recoil Root\n RecoilRoot: RecoilRoot$2,\n useRecoilStoreID: useRecoilStoreID$1,\n useRecoilBridgeAcrossReactRoots_UNSTABLE: Recoil_useRecoilBridgeAcrossReactRoots,\n // Atoms/Selectors\n atom: Recoil_atom,\n selector: Recoil_selector,\n // Convenience Atoms/Selectors\n atomFamily: Recoil_atomFamily,\n selectorFamily: Recoil_selectorFamily,\n constSelector: Recoil_constSelector,\n errorSelector: Recoil_errorSelector,\n readOnlySelector: Recoil_readOnlySelector,\n // Concurrency Helpers for Atoms/Selectors\n noWait: noWait$1,\n waitForNone: waitForNone$1,\n waitForAny: waitForAny$1,\n waitForAll: waitForAll$1,\n waitForAllSettled: waitForAllSettled$1,\n // Hooks for Atoms/Selectors\n useRecoilValue: useRecoilValue$1,\n useRecoilValueLoadable: useRecoilValueLoadable$1,\n useRecoilState: useRecoilState$1,\n useRecoilStateLoadable: useRecoilStateLoadable$1,\n useSetRecoilState: useSetRecoilState$1,\n useResetRecoilState: useResetRecoilState$1,\n useGetRecoilValueInfo_UNSTABLE: Recoil_useGetRecoilValueInfo,\n useRecoilRefresher_UNSTABLE: Recoil_useRecoilRefresher,\n useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE: useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilValue_TRANSITION_SUPPORT_UNSTABLE: useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1,\n useRecoilState_TRANSITION_SUPPORT_UNSTABLE: useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1,\n // Hooks for complex operations\n useRecoilCallback: useRecoilCallback$1,\n useRecoilTransaction_UNSTABLE: Recoil_useRecoilTransaction,\n // Snapshots\n useGotoRecoilSnapshot: useGotoRecoilSnapshot$1,\n useRecoilSnapshot: useRecoilSnapshot$1,\n useRecoilTransactionObserver_UNSTABLE: useRecoilTransactionObserver$1,\n snapshot_UNSTABLE: freshSnapshot$2,\n // Memory Management\n useRetain: Recoil_useRetain,\n retentionZone: retentionZone$1\n};\nvar Recoil_index_1 = Recoil_index.DefaultValue;\nvar Recoil_index_2 = Recoil_index.isRecoilValue;\nvar Recoil_index_3 = Recoil_index.RecoilLoadable;\nvar Recoil_index_4 = Recoil_index.RecoilEnv;\nvar Recoil_index_5 = Recoil_index.RecoilRoot;\nvar Recoil_index_6 = Recoil_index.useRecoilStoreID;\nvar Recoil_index_7 = Recoil_index.useRecoilBridgeAcrossReactRoots_UNSTABLE;\nvar Recoil_index_8 = Recoil_index.atom;\nvar Recoil_index_9 = Recoil_index.selector;\nvar Recoil_index_10 = Recoil_index.atomFamily;\nvar Recoil_index_11 = Recoil_index.selectorFamily;\nvar Recoil_index_12 = Recoil_index.constSelector;\nvar Recoil_index_13 = Recoil_index.errorSelector;\nvar Recoil_index_14 = Recoil_index.readOnlySelector;\nvar Recoil_index_15 = Recoil_index.noWait;\nvar Recoil_index_16 = Recoil_index.waitForNone;\nvar Recoil_index_17 = Recoil_index.waitForAny;\nvar Recoil_index_18 = Recoil_index.waitForAll;\nvar Recoil_index_19 = Recoil_index.waitForAllSettled;\nvar Recoil_index_20 = Recoil_index.useRecoilValue;\nvar Recoil_index_21 = Recoil_index.useRecoilValueLoadable;\nvar Recoil_index_22 = Recoil_index.useRecoilState;\nvar Recoil_index_23 = Recoil_index.useRecoilStateLoadable;\nvar Recoil_index_24 = Recoil_index.useSetRecoilState;\nvar Recoil_index_25 = Recoil_index.useResetRecoilState;\nvar Recoil_index_26 = Recoil_index.useGetRecoilValueInfo_UNSTABLE;\nvar Recoil_index_27 = Recoil_index.useRecoilRefresher_UNSTABLE;\nvar Recoil_index_28 = Recoil_index.useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_29 = Recoil_index.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_30 = Recoil_index.useRecoilState_TRANSITION_SUPPORT_UNSTABLE;\nvar Recoil_index_31 = Recoil_index.useRecoilCallback;\nvar Recoil_index_32 = Recoil_index.useRecoilTransaction_UNSTABLE;\nvar Recoil_index_33 = Recoil_index.useGotoRecoilSnapshot;\nvar Recoil_index_34 = Recoil_index.useRecoilSnapshot;\nvar Recoil_index_35 = Recoil_index.useRecoilTransactionObserver_UNSTABLE;\nvar Recoil_index_36 = Recoil_index.snapshot_UNSTABLE;\nvar Recoil_index_37 = Recoil_index.useRetain;\nvar Recoil_index_38 = Recoil_index.retentionZone;\n\nexport default Recoil_index;\nexport { Recoil_index_1 as DefaultValue, Recoil_index_4 as RecoilEnv, Recoil_index_3 as RecoilLoadable, Recoil_index_5 as RecoilRoot, Recoil_index_8 as atom, Recoil_index_10 as atomFamily, Recoil_index_12 as constSelector, Recoil_index_13 as errorSelector, Recoil_index_2 as isRecoilValue, Recoil_index_15 as noWait, Recoil_index_14 as readOnlySelector, Recoil_index_38 as retentionZone, Recoil_index_9 as selector, Recoil_index_11 as selectorFamily, Recoil_index_36 as snapshot_UNSTABLE, Recoil_index_26 as useGetRecoilValueInfo_UNSTABLE, Recoil_index_33 as useGotoRecoilSnapshot, Recoil_index_7 as useRecoilBridgeAcrossReactRoots_UNSTABLE, Recoil_index_31 as useRecoilCallback, Recoil_index_27 as useRecoilRefresher_UNSTABLE, Recoil_index_34 as useRecoilSnapshot, Recoil_index_22 as useRecoilState, Recoil_index_23 as useRecoilStateLoadable, Recoil_index_30 as useRecoilState_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_6 as useRecoilStoreID, Recoil_index_35 as useRecoilTransactionObserver_UNSTABLE, Recoil_index_32 as useRecoilTransaction_UNSTABLE, Recoil_index_20 as useRecoilValue, Recoil_index_21 as useRecoilValueLoadable, Recoil_index_28 as useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_29 as useRecoilValue_TRANSITION_SUPPORT_UNSTABLE, Recoil_index_25 as useResetRecoilState, Recoil_index_37 as useRetain, Recoil_index_24 as useSetRecoilState, Recoil_index_18 as waitForAll, Recoil_index_19 as waitForAllSettled, Recoil_index_17 as waitForAny, Recoil_index_16 as waitForNone };\n"],"names":["window","__NEXT_P","push","__webpack_require__","App","param","Component","pageProps","layout","getLayout","page","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","RecoilRoot","cachedSetTimeout","cachedClearTimeout","currentQueue","process","module","exports","defaultSetTimout","defaultClearTimeout","runTimeout","fun","setTimeout","e","call","clearTimeout","queue","draining","queueIndex","cleanUpNextTick","length","concat","drainQueue","timeout","len","run","runClearTimeout","marker","Item","array","noop","nextTick","args","arguments","i","prototype","apply","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","name","binding","cwd","chdir","dir","umask","executionID","_createMutableSource","_useMutableSource","_useSyncExternalStore","Recoil_err","message","error","undefined","stack","_","Recoil_isPromise","p","then","Recoil_nullthrows","x","_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","BaseLoadable","getValue","toPromise","valueMaybe","valueOrThrow","state","promiseMaybe","promiseOrThrow","errorMaybe","errorOrThrow","is","other","contents","map","_map","ValueLoadable","constructor","Promise","resolve","next","loadableWithPromise","isLoadable","loadableWithValue","loadableWithError","ErrorLoadable","reject","LoadingLoadable","promise","nextLoadable","catch","freeze","loadableLoading","loadableAll","inputs","unwrapedInputs","Array","isArray","getOwnPropertyNames","normalizedInputs","output","every","some","find","all","outputs","reduce","out","idx","Recoil_Loadable","RecoilLoadable","of","loading","Recoil_Loadable$1","__proto__","gks","Map","set","Recoil_gkx_OSS","gk","_gks$get","get","setPass","setFail","clear","Recoil_recoverableViolation","_projectName","createMutableSource","react__WEBPACK_IMPORTED_MODULE_0__","unstable_createMutableSource","useMutableSource","unstable_useMutableSource","useSyncExternalStore","unstable_useSyncExternalStore","ReactRendererVersionMismatchWarnOnce","Recoil_ReactMode","currentRendererSupportsUseSyncExternalStore","_ReactCurrentDispatch","ReactCurrentDispatcher","ReactCurrentOwner","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","dispatcher","current","currentDispatcher","isUseSyncExternalStoreSupported","reactMode","mode","early","concurrent","Recoil_gkx","$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE","isFastRefreshEnabled","RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED","applyProcessEnvFlagOverrides","_process$env$RECOIL_D","_process$env$RECOIL_D2","sanitizedValue","toLowerCase","trim","allowedValues","includes","AbstractRecoilValue","newKey","toJSON","RecoilState","RecoilValueReadOnly","Recoil_RecoilValue","isRecoilValue","Recoil_RecoilValue$1","Recoil_expectationViolation","format","Recoil_mapIterable","iterable","callback","index","isFastRefreshEnabled$1","DefaultValue","DEFAULT_VALUE","nodes","recoilValues","NodeMissingError","Error","configDeletionHandlers","getConfigDeletionHandler","Recoil_Node","registerNode","node","Recoil_RecoilEnv","checkForDuplicateAtomKey","has","console","warn","recoilValue","getNode","getNodeMaybe","deleteNodeConfigIfPossible","_node$shouldDeleteCon","_getConfigDeletionHan","shouldDeleteConfigOnRelease","delete","setConfigDeletionHandler","fn","recoilValuesForKeys","keys","Recoil_Queue","enqueueExecution","s","f","hamt_1","_typeof","Symbol","iterator","hamt","nothing","constant","hash","str","type","charCodeAt","hashFragment","shift","h","BUCKET_SIZE","toBitmap","fromBitmap","bitmap","bit","arrayUpdate","mutate","at","v","arr","arraySpliceOut","newLen","g","arraySpliceIn","_i","empty","__hamt_isEmpty","isEmptyNode","Leaf","edit","_modify","Leaf__modify","Collision","children","Collision__modify","IndexedNode","mask","IndexedNode__modify","ArrayNode","size","ArrayNode__modify","expand","frag","child","subNodes","count","pack","removed","elements","elem","mergeLeaves","h1","n1","h2","n2","subH1","subH2","updateCollisionList","keyEq","list","k","_newValue","newValue","canEditNode","_v","indx","exists","canEdit","newChildren","newChild","editable","config","root","_editable","_edit","_config","_root","_size","setTree","newRoot","newSize","tryGetHash","alt","tryGet","getHash","hasHash","defKeyCompare","y","make","isEmpty","modifyHash","NaN","modify","setHash","del","removeHash","deleteHash","remove","beginMutation","endMutation","transient","appk","lazyVisitChildren","lazyVisit","rest","DONE","done","MapIterator","v0","visit","buildPairs","entries","buildKeys","buildValues","values","fold","z","m","toVisit","pop","forEach","BuiltInMap","existing","clone","persistentMap","toMap","HashArrayMappedTrieMap","_hamt","Recoil_PersistentMap$1","Recoil_PersistentMap","Recoil_differenceSets","setsWithValuesToRemove","ret","Set","FIRST","otherSet","add","Recoil_mapMap","result","mergeDepsIntoGraph","newDeps","graph","olderGraph","nodeDeps","nodeToNodeSubscriptions","oldDeps","addedDeps","dep","removedDeps","Recoil_Graph","cloneGraph","saveDepsToStore","deps","store","_storeState$nextTree","_storeState$previousT","_storeState$previousT2","_storeState$previousT3","_storeState$nextTree2","storeState","getState","currentTree","nextTree","previousTree","getGraph","currentGraph","nextVersion","nextGraph","nextTreeStateVersion","getNextTreeStateVersion","nextStoreID","getNextStoreID","nextComponentID","getNextComponentID","Recoil_Keys","persistentMap$1","getNextTreeStateVersion$1","makeEmptyTreeState","stateID","transactionMetadata","dirtyAtoms","atomValues","nonvalidatedAtoms","Recoil_State","makeEmptyStoreState","commitDepth","knownAtoms","knownSelectors","transactionSubscriptions","nodeTransactionSubscriptions","nodeToComponentSubscriptions","queuedComponentCallbacks_DEPRECATED","suspendedComponentResolvers","graphsByVersion","retention","referenceCounts","nodesRetainedByZone","retainablesToCheckForRelease","nodeCleanupFunctions","RetentionZone","Recoil_RetentionZone","retentionZone","Recoil_CopyOnWrite","setByAddingToSet","setByDeletingFromSet","mapBySettingInMap","mapByUpdatingInMap","updater","mapByDeletingFromMap","mapByDeletingMultipleFromMap","ks","Recoil_filterIterable","predicate","Recoil_lazyProxy","base","factories","proxy","Proxy","target","prop","ownKeys","getNode$1","getNodeMaybe$1","recoilValuesForKeys$1","RetentionZone$1","setByAddingToSet$1","emptySet","ReadOnlyRecoilValueError","initializeNodeIfNewToStore","treeState","trigger","retentionCleanup","initializeRetentionForNode","nodeKey","retainedBy","addToZone","zone","deleteFromZone","nodeCleanup","init","peekNodeLoadable","peek","getDownstreamNodes","visitedNodes","visitingNodes","from","_graph$nodeToNodeSubs","subscribedNodes","downstreamNode","Recoil_FunctionalCore","getNodeLoadable","setNodeValue","initializeNode","cleanUpNode","_state$nodeCleanupFun","setUnvalidatedAtomValue_DEPRECATED","_node$invalidate","invalidate","peekNodeInfo","nodeType","loadable","isActive","isSet","isModified","_graph$nodeDeps$get","subscribers","_storeState$nodeToCom","_storeState$nodeToCom2","components","_invalidateMemoizedSnapshot","Recoil_SnapshotCache","setInvalidateMemoizedSnapshot","invalidateMemoizedSnapshot","_invalidateMemoizedSn","getDownstreamNodes$1","getNodeLoadable$1","setNodeValue$1","getNextComponentID$1","getNode$2","getNodeMaybe$2","DefaultValue$1","reactMode$1","AbstractRecoilValue$1","RecoilState$1","RecoilValueReadOnly$1","isRecoilValue$1","invalidateMemoizedSnapshot$1","writeLoadableToTreeState","applyActionsToStore","actions","replaceState","newState","copyTreeState","action","applyAction","valueOrUpdater","valueFromValueOrUpdater","msg","writes","unvalidatedValue","invalidateDownstreams","queueOrPerformStateUpdate","batchStack","actionsByStore","downstreams","_getNodeMaybe","_getNodeMaybe$invalid","setRecoilValue","Recoil_RecoilValueInterface","getRecoilValueAsLoadable","setRecoilValueLoadable","markRecoilValueModified","setUnvalidatedRecoilValue","subscribeToRecoilValue","componentDebugName","subID","release","releaseStoreState","subs","applyAtomValueWrites","batchStart","popped","refreshRecoilValue","_node$clearCache","clearCache","Recoil_someSet","context","entry","cleanUpNode$1","deleteNodeConfigIfPossible$1","getNode$3","RetentionZone$2","emptySet$1","releaseRetainablesNowOnCurrentTree","retainables","r","n","_storeState$retention3","releasableNodes","findReleasableNodes","searchFromNodes","nonReleasableNodes","findReleasableNodesInner","_storeState$retention","releasableNodesFoundThisIteration","getDownstreamNodesInTopologicalOrder","doNotDescendInto1","doNotDescendInto2","answer","visited","zonesThatCouldRetainNode","nodeChildren","parents","parent","releaseNode","_storeState$retention2","zones","updateRetainCountToZero","retainable","scheduleOrPerformPossibleReleaseOfRetainable","Recoil_Retention","SUSPENSE_TIMEOUT_MS","updateRetainCount","delta","_map$get","newCount","releaseScheduledRetainablesNow","retainedByOptionWithDefault","unstable_batchedUpdates","react_dom__WEBPACK_IMPORTED_MODULE_1__","unstable_batchedUpdates$1","batchStart$1","unstable_batchedUpdates$2","batcher","setBatcher","newBatcher","batchUpdates","batchEnd","Recoil_Batching","getBatcher","Recoil_concatIterables","iters","iter","val","isSSR","Window","isReactNative","navigator","product","Recoil_Environment","isWindow","batchUpdates$1","initializeNode$1","peekNodeInfo$1","graph$1","getNextStoreID$1","DEFAULT_VALUE$1","recoilValues$1","recoilValuesForKeys$2","AbstractRecoilValue$2","getRecoilValueAsLoadable$1","setRecoilValue$1","setUnvalidatedRecoilValue$1","updateRetainCount$1","setInvalidateMemoizedSnapshot$1","getNextTreeStateVersion$2","makeEmptyStoreState$1","isSSR$1","memoizeOneWithArgsHashAndInvalidation","memoizeOneWithArgsHashAndInvalidation$1","memoizeWithArgsHash","hashFunction","cache","memoizedFn","hasOwnProperty","memoizeOneWithArgsHash","lastKey","lastResult","Snapshot","parentStoreID","checkRefCount_INTERNAL","_store","getLoadable","opt","isInitialized","mapper","mutableSnapshot","MutableSnapshot","retain","autoRelease_INTERNAL","storeID","replacer","graphs","newGraph","subscribeToTransactions","addTransactionMetadata","_refCount","released","_release","cleanup","isRetained","getStore_INTERNAL","getID","getStoreID","cloneStoreState","bumpVersion","memoizedCloneSnapshot","invalidateMemoizedSnapshot$2","_store$getState$nextT","_store$getState$previ","String","snapshot","batch","recoilState","newValueOrUpdater","_batch","Recoil_Snapshot","freshSnapshot","initializeState","cloneSnapshot","Recoil_Snapshot$1","Recoil_unionSets","sets","useRef","Recoil_useRefInitOnce","initialValue","ref","getNextTreeStateVersion$3","makeEmptyStoreState$2","cleanUpNode$2","getDownstreamNodes$2","initializeNode$2","setNodeValue$2","setUnvalidatedAtomValue_DEPRECATED$1","graph$2","cloneGraph$1","getNextStoreID$2","createMutableSource$1","reactMode$2","applyAtomValueWrites$1","releaseScheduledRetainablesNow$1","freshSnapshot$1","useCallback","useContext","useEffect","useMemo","useRef$1","useState","notInAContext","defaultStore","stateReplacerIsBeingExecuted","startNextTreeIfNeeded","AppContext","createContext","useStoreRef","MutableSourceContext","notifyComponents","dependentNodes","comps","_subID","_debugName","sendEndOfBatchNotifications","subscriptions","subscription","cb","splice","Batcher","setNotifyBatcherOfChange","storeRef","setState","endBatch","nextID","RecoilRoot_INTERNAL","initializeState_DEPRECATED","store_INTERNAL","storeProp","storeStateRef","id","metadata","replaced","notifyBatcherOfChange","initialStoreState_DEPRECATED","initial","atom","writtenNodes","setUnvalidatedAtomValues","initialStoreState","mutableSource","atomKey","createElement","Provider","Recoil_RecoilRoot","props","override","propsExceptOverride","ancestorStoreRef","useRecoilMutableSource","useRecoilStoreID","notifyComponents_FOR_TESTING","sendEndOfBatchNotifications_FOR_TESTING","Recoil_shallowArrayEqual","a","b","l","useEffect$1","useRef$2","Recoil_usePrevious","useStoreRef$1","SUSPENSE_TIMEOUT_MS$1","updateRetainCount$2","RetentionZone$3","useEffect$2","useRef$3","isSSR$2","Recoil_useRetain","toRetain","useRetain_ACTUAL","timeoutID","previousRetainables","Recoil_useComponentName","batchUpdates$2","DEFAULT_VALUE$2","currentRendererSupportsUseSyncExternalStore$1","reactMode$3","useMutableSource$1","useSyncExternalStore$1","useRecoilMutableSource$1","useStoreRef$2","isRecoilValue$2","AbstractRecoilValue$3","getRecoilValueAsLoadable$2","setRecoilValue$2","setUnvalidatedRecoilValue$2","subscribeToRecoilValue$1","useCallback$1","useEffect$3","useMemo$1","useRef$4","useState$1","setByAddingToSet$2","handleLoadable","useRecoilValueLoadable_SYNC_EXTERNAL_STORE","componentName","getSnapshot","memoizePreviousSnapshot","prevState","_prevState","_prevState2","nextState","getMemoizedSnapshot","subscribe","notify","useRecoilValueLoadable_MUTABLE_SOURCE","_storeState$nextTree3","getLoadableWithTesting","_storeState","newLoadable","prevLoadableRef","source","useRecoilValueLoadable_TRANSITION_SUPPORT","_storeState$nextTree4","updateState","_state","useRecoilValueLoadable_LEGACY","forceUpdate","_storeState$nextTree5","_prevLoadableRef$curr","_prevLoadableRef$curr2","useRecoilValueLoadable","TRANSITION_SUPPORT","SYNC_EXTERNAL_STORE","MUTABLE_SOURCE","LEGACY","useRecoilValue","useSetRecoilState","useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE","useRecoilValue_TRANSITION_SUPPORT_UNSTABLE","Recoil_filterMap","Recoil_filterSet","Recoil_mergeMaps","maps","nextKey","batchUpdates$3","DEFAULT_VALUE$3","getNode$4","nodes$1","useStoreRef$3","AbstractRecoilValue$4","setRecoilValueLoadable$1","SUSPENSE_TIMEOUT_MS$2","cloneSnapshot$1","useCallback$2","useEffect$4","useRef$5","useState$2","isSSR$3","useTransactionSubscription","sub","externallyVisibleAtomValuesInState","persistedAtomContentsValues","persistence","persistence_UNSTABLE","gotoSnapshot","prev","keysToUpdate","_prev$atomValues$get","_next$atomValues$get","shouldRestoreFromSnapshots","Recoil_SnapshotHooks","useRecoilSnapshot","setSnapshot","previousSnapshot","releaseRef","_releaseRef$current","_releaseRef$current2","_releaseRef$current3","useGotoRecoilSnapshot","useRecoilTransactionObserver","useTransactionObservation_DEPRECATED","previousAtomValues","atomInfo","_node$persistence_UNS","_node$persistence_UNS2","_node$persistence_UNS3","_node$persistence_UNS4","backButton","modifiedAtoms","useTransactionSubscription_DEPRECATED","peekNodeInfo$2","useStoreRef$4","reactMode$4","RecoilRoot$1","useStoreRef$5","useMemo$2","loadableWithValue$1","initializeNode$3","DEFAULT_VALUE$4","getNode$5","copyTreeState$1","getRecoilValueAsLoadable$3","invalidateDownstreams$1","writeLoadableToTreeState$1","isAtom","TransactionInterfaceImpl","_changes","_treeState","newTreeState_INTERNAL","Recoil_AtomicUpdates$1","atomicUpdater","changeset","Recoil_invariant","condition","atomicUpdater$1","batchUpdates$4","DEFAULT_VALUE$5","useStoreRef$6","refreshRecoilValue$1","setRecoilValue$3","cloneSnapshot$2","gotoSnapshot$1","useCallback$3","Sentinel","SENTINEL","recoilCallback","extraInterface","releaseSnapshot","errMsg","callbackInterface","reset","refresh","transact_UNSTABLE","transaction","finally","_releaseSnapshot","_releaseSnapshot2","Recoil_useRecoilCallback","useRecoilCallback","useStoreRef$7","refreshRecoilValue$2","useCallback$4","atomicUpdater$2","useStoreRef$8","useMemo$3","Recoil_Wrapper$1","WrappedValue","Recoil_Wrapper","isFastRefreshEnabled$2","ChangedPathError","Recoil_TreeCache$1","TreeCache","Recoil_TreeCache","options","_options$onHit","_options$onSet","_options$mapNodeValue","_name","_numLeafs","_onHit","onHit","_onSet","onSet","_mapNodeValue","mapNodeValue","getNodeValue","handlers","_this$getLeafNode","getLeafNode","onNodeVisit","nodeValue","branches","route","addLeaf","_node2","_node3","_this$_root2","_handlers$onNodeVisit2","_node","_handlers$onNodeVisit","_this$_root","branchKey","invalidCacheError","oldLeaf","leafNode","leaf","_node4","CHANGED_PATH_ERROR_MESSAGE","Recoil_LRUCache$1","LRUCache","Recoil_LRUCache","_options$mapKey","_maxSize","maxSize","_head","_tail","_keyMapper","mapKey","head","tail","mappedKey","existingNode","right","left","_maybeDeleteLRU","deleteLru","LRUCache$1","TreeCache$1","Recoil_treeCacheLRU","lruCache","lruNode","stringify","JSON","allowFunctions","_JSON$stringify","toString","sort","localeCompare","filter","join","Recoil_stableStringify","TreeCache$2","defaultPolicy","equality","eviction","Infinity","Recoil_treeCacheFromPolicy","valueMapper","getValueMapper","getTreeCache","isReactNative$1","isWindow$1","isLoadable$1","loadableWithError$1","loadableWithPromise$1","loadableWithValue$2","WrappedValue$1","getNodeLoadable$2","peekNodeLoadable$1","setNodeValue$3","saveDepsToStore$1","DEFAULT_VALUE$6","getConfigDeletionHandler$1","getNode$6","registerNode$1","isRecoilValue$3","markRecoilValueModified$1","retainedByOptionWithDefault$1","recoilCallback$1","startPerfBlock","startPerfBlock$1","_id","Canceled","CANCELED","dependencyStack","waitingStores","getNewExecutionID","selector","cachePolicy_UNSTABLE","cachePolicy","discoveredDependencyNodeKeys","retainedBy_UNSTABLE","executionInfoMap","liveStoresCount","selectorIsLive","selectorInit","selectorShouldDeleteConfigOnRelease","notifyStoresOfResolvedAsync","isLatestExecution","clearExecutionInfo","notifyWaitingStores","clearWaitlist","stores","waitingStore","markStoreWaitingForResolvedAsync","wrapPendingDependencyPromise","existingDeps","loadingDepsState","resolvedDep","loadingDepKey","loadingDepPromise","cachedLoadable","getLoadableFromCacheAndUpdateDeps","getExecutionInfo","executionInfo","getInProgressExecutionInfo","loadingLoadable","depValues","evaluateSelectorGetter","setCache","updateDeps","_store$getState","_store$getState$curre","_store$getState2","_store$getState2$next","_store$getState3","_store$getState3$next","endPerfBlock","duringSynchronousExecution","duringAsynchronousExecution","finishEvaluation","resultIsError","getRecoilValue","depKey","depLoadable","notifyStoresOfNewAsyncDep","stateVersions","getCallback","wrapResultPromise","errorOrPromise","errorOrDepPromise","updateExecutionInfoDepValues","depValuesDiscoveredSoFarDuringAsyncWork","depsAfterCacheLookup","_getExecutionInfo","pendingExecutions","execInfo","anyDepChanged","execDepValues","execLoadable","_getExecutionInfo2","valLoadable","selectorPeek","_peekNodeLoadable","selectorGet","detectCircularDependencies","slice","indexOf","getSelectorLoadableAndUpdateDeps","_inProgressExecutionI","cachedVal","inProgressExecutionInfo","newExecutionID","newDepValues","invalidateSelector","clearSelectorCache","dangerouslyAllowMutability","selectorSet","syncSelectorSetFinished","setRecoilState","setValue","upstreamWrites","isLoadable$2","loadableWithError$2","loadableWithPromise$2","loadableWithValue$3","WrappedValue$2","peekNodeInfo$3","DEFAULT_VALUE$7","DefaultValue$2","getConfigDeletionHandler$2","registerNode$2","setConfigDeletionHandler$1","isRecoilValue$4","getRecoilValueAsLoadable$4","markRecoilValueModified$2","setRecoilValue$4","setRecoilValueLoadable$2","retainedByOptionWithDefault$2","unwrap","restOptions","optionsDefault","default","atomWithFallback","validator","storedValue","effects","effects_UNSTABLE","sel","Recoil_selector","baseValue","baseAtom","valueOrPromise","cachedAnswerForUnvalidatedValue","unwrapPromise","defaultLoadable","cleanupEffectsByStore","peekAtom","_ref","_state$atomValues$get3","nonvalidatedValue","validatorResult","validatedValueLoadable","initState","_options$effects","_cleanupEffectsByStor3","_store$getState$nextT5","cleanupAtom","_cleanupEffectsByStor","notifyDefaultSubscribers","_store$getState$nextT3","initValue","isDuringInit","isInitError","pendingSetSelf","retValue","getPromise","getInfo_UNSTABLE","_store$getState$nextT4","info","setSelf","effect","currentLoadable","currentValue","resetSelf","handler","_cleanupEffectsByStor2","currentStore","_currentTree$atomValu","_previousTree$atomVal","_pendingSetSelf","_pendingSetSelf2","_pendingSetSelf3","oldLoadable","oldValue","parentStoreID_UNSTABLE","initLoadable","wrapPendingPromise","wrappedPromise","_state$atomValues$get","_store$getState$nextT2","_state$atomValues$get2","Recoil_MapCache$1","MapCache","Recoil_MapCache","LRUCache$2","MapCache$1","defaultPolicy$1","Recoil_cacheFromPolicy","getValueMapper$1","getCache","setConfigDeletionHandler$2","setConfigDeletionHandler$3","nextIndex","Recoil_selectorFamily","_options$cachePolicyF","_options$cachePolicyF2","selectorCache","cachePolicyForParams_UNSTABLE","params","_stableStringify","cachedSelector","newSelector","myKey","myGet","callbacks","myCachePolicy","mySet","constantSelector","throwingSelector","loadableWithError$3","loadableWithPromise$3","loadableWithValue$4","concurrentRequests","results","fill","exceptions","isError","exp","unwrapDependencies","dependencies","wrapResults","wrapLoadables","exception","waitForNone","waitForAny","waitForAll","exceptionResults","asyncResults","syncResults","waitForAllSettled","noWait","dependency","DefaultValue$3","RecoilRoot$2","useRecoilStoreID$1","isRecoilValue$5","retentionZone$1","freshSnapshot$2","useRecoilState","useRecoilState$1","useRecoilState_TRANSITION_SUPPORT_UNSTABLE","useRecoilState_TRANSITION_SUPPORT_UNSTABLE$1","useRecoilStateLoadable","useRecoilStateLoadable$1","useRecoilValue$1","useRecoilValue_TRANSITION_SUPPORT_UNSTABLE$1","useRecoilValueLoadable$1","useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE$1","useResetRecoilState","useResetRecoilState$1","useSetRecoilState$1","recoilComponentGetRecoilValueCount_FOR_TESTING","useRecoilInterface","recoilValuesUsed","previousSubscriptions","unsubscribeFrom","currentSubscriptions","getRecoilValueLoadable","getRecoilState","getRecoilStateLoadable","getSetRecoilState","getResetRecoilState","useSetUnvalidatedAtomValues","useGotoRecoilSnapshot$1","useRecoilSnapshot$1","useRecoilTransactionObserver$1","useRecoilCallback$1","noWait$1","waitForAll$1","waitForAllSettled$1","waitForAny$1","waitForNone$1","Recoil_index","RecoilEnv","useRecoilBridgeAcrossReactRoots_UNSTABLE","atomFamily","atomCache","cachedAtom","atomOptions","newAtom","Recoil_atom","selectorFamily","constSelector","errorSelector","readOnlySelector","useGetRecoilValueInfo_UNSTABLE","useRecoilRefresher_UNSTABLE","useRecoilTransaction_UNSTABLE","atomicUpdate","transactionInterface","useRecoilTransactionObserver_UNSTABLE","snapshot_UNSTABLE","useRetain","Recoil_index_4","Recoil_index_5","Recoil_index_8","Recoil_index_9","Recoil_index_20","Recoil_index_22","Recoil_index_24"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js b/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js deleted file mode 100644 index 5ac6bb292..000000000 --- a/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{64830:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return n(12789)}])},82536:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var s=n(85893);n(67294);var a=n(85818),l=n(20550),i=n(54398),r=n(53731),o=n(58091);let{Title:c}=a.Z;function d(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,s.jsx)(l.Z,{color:n,children:e})}function u(e){return(0,s.jsx)(r.Z,{children:e})}let h=e=>{let{logs:t,pageSize:n}=e;return(null==t?void 0:t.length)?(0,s.jsxs)("div",{className:"logs-section",children:[(0,s.jsx)(c,{children:"Logs"}),(0,s.jsx)(i.Z,{size:"middle",dataSource:t,columns:[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:(e,t)=>0===t.level.indexOf(e),render:d},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,o.Z)(t,"pp P")},sorter:(e,t)=>new Date(e.time).getTime()-new Date(t.time).getTime(),sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:u}],rowKey:e=>e.time,pagination:{pageSize:n||20}})]}):null}},44654:function(e,t,n){"use strict";n.d(t,{j:function(){return v}});var s=n(85893),a=n(71230),l=n(15746),i=n(74763),r=n(85818),o=n(14670),c=n(71577),d=n(5152),u=n.n(d),h=n(41664),m=n.n(h),x=n(67294),j=n(99519);let p=u()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),f=u()(()=>Promise.all([n.e(2074),n.e(7039)]).then(n.t.bind(n,67039,23)),{loadableGenerated:{webpack:()=>[67039]},ssr:!1}),v=e=>{let{showTroubleshootButton:t}=e,n=(0,x.useContext)(j.aC),{health:d}=n;if(!d)return null;let{healthy:u,healthPercentage:h,message:v,representation:w}=d,g="#3f8600",b="info";return h<80?(g="#cf000f",b="error"):h<30&&(g="#f0ad4e",b="error"),(0,s.jsxs)("div",{children:[(0,s.jsxs)(a.Z,{gutter:8,children:[(0,s.jsx)(l.Z,{span:12,children:(0,s.jsx)(i.Z,{title:"Healthy Stream",value:u?"Yes":"No",valueStyle:{color:g},prefix:u?(0,s.jsx)(p,{}):(0,s.jsx)(f,{})})}),(0,s.jsx)(l.Z,{span:12,children:(0,s.jsx)(i.Z,{title:"Playback Health",value:h,valueStyle:{color:g},suffix:"%"})})]}),(0,s.jsx)(a.Z,{style:{display:w<100&&0!==w?"grid":"none"},children:(0,s.jsxs)(r.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",w,"% of all known players. Other player status is unknown."]})}),(0,s.jsx)(a.Z,{gutter:16,style:{width:"100%",display:v?"grid":"none",marginTop:"10px"},children:(0,s.jsx)(l.Z,{span:24,children:(0,s.jsx)(o.Z,{message:v,type:b,showIcon:!0,action:t&&(0,s.jsx)(m(),{passHref:!0,href:"/stream-health",children:(0,s.jsx)(c.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})};v.defaultProps={showTroubleshootButton:!0}},12789:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var s=n(85893),a=n(67294),l=n(26303),i=n(74763),r=n(59652),o=n(71230),c=n(15746),d=n(19642),u=n(45938),h=n(5152),m=n.n(h),x=n(99519),j=n(82536),p=n(85818),f=n(41664),v=n.n(f),w=n(50738),g=n(54907),b=n(58091),y=n(64777);let{Panel:Z}=g.Z,{Title:k,Link:N}=p.Z,S=e=>{let{title:t,url:n,content_html:a,date_published:l}=e,i=new Date(l),r=(0,b.Z)(i,"MMM dd, yyyy, HH:mm");return(0,s.jsx)("article",{children:(0,s.jsx)(g.Z,{children:(0,s.jsxs)(Z,{header:t,children:[(0,s.jsxs)("p",{className:"timestamp",children:[r," (",(0,s.jsx)(N,{href:"".concat("https://owncast.online").concat(n),target:"_blank",rel:"noopener noreferrer",children:"Link"}),")"]}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})]},n)})})},C=()=>{let[e,t]=(0,a.useState)([]),[n,i]=(0,a.useState)(!0),r=async()=>{i(!1);try{let e=await (0,y.kg)("https://owncast.online/news/index.json");(null==e?void 0:e.items.length)>0&&t(e.items)}catch(n){console.log("==== error",n)}};(0,a.useEffect)(()=>{r()},[]);let o=n?(0,s.jsx)(l.Z,{loading:!0,active:!0}):null,c=n||0!==e.length?null:(0,s.jsx)("div",{children:"No news."});return(0,s.jsxs)("section",{className:"news-feed form-module",children:[(0,s.jsx)(k,{level:2,children:"News & Updates from Owncast"}),o,e.map(e=>(0,a.createElement)(S,{...e,key:e.url})),c]})},{Paragraph:_,Text:O}=p.Z,{Title:E}=p.Z,{Meta:T}=r.Z,P=m()(()=>Promise.all([n.e(2074),n.e(3371)]).then(n.t.bind(n,33371,23)),{loadableGenerated:{webpack:()=>[33371]},ssr:!1}),D=m()(()=>Promise.all([n.e(2074),n.e(5308)]).then(n.t.bind(n,85308,23)),{loadableGenerated:{webpack:()=>[85308]},ssr:!1}),U=m()(()=>Promise.all([n.e(2074),n.e(856)]).then(n.t.bind(n,20856,23)),{loadableGenerated:{webpack:()=>[20856]},ssr:!1}),I=m()(()=>Promise.all([n.e(2074),n.e(9208)]).then(n.t.bind(n,99208,23)),{loadableGenerated:{webpack:()=>[99208]},ssr:!1}),z=e=>{var t,l,i;let d,{logs:u=[],config:h}=e,m=(0,a.useContext)(x.aC),{serverConfig:p}=m||{},{rtmpServerPort:f}=p,g=(null===(t=n.g.window)||void 0===t?void 0:t.location.hostname)||"";g&&f&&(d="rtmp://".concat(g.replace(/(^\w+:|^)\/\//,""),":").concat(f,"/live"));let b=[{icon:(0,s.jsx)(P,{twoToneColor:"#6f42c1"}),title:"Use your broadcasting software",content:(0,s.jsxs)("div",{children:[(0,s.jsx)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how to point your existing software to your new server and start streaming your content."}),(0,s.jsxs)("div",{className:"stream-info-container",children:[(0,s.jsx)(O,{strong:!0,className:"stream-info-label",children:"Streaming URL:"}),d&&(0,s.jsx)(_,{className:"stream-info-box",copyable:!0,children:d}),(0,s.jsx)(O,{strong:!0,className:"stream-info-label",children:"Streaming Keys:"}),(0,s.jsx)(O,{strong:!0,className:"stream-info-box",children:(0,s.jsx)(v(),{href:"/admin/config/server",children:" View "})})]})]})},{icon:(0,s.jsx)(U,{twoToneColor:"#f9826c"}),title:"Embed your video onto other sites",content:(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"https://owncast.online/docs/embed?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how you can add your Owncast stream to other sites you control."})})}];return(null==h?void 0:h.chatDisabled)||b.push({icon:(0,s.jsx)(D,{twoToneColor:"#0366d6"}),title:"Chat is disabled",content:(0,s.jsx)("span",{children:"Chat will continue to be disabled until you begin a live stream."})}),(null==h?void 0:null===(l=h.yp)||void 0===l?void 0:l.enabled)||b.push({icon:(0,s.jsx)(I,{twoToneColor:"#D18BFE"}),title:"Find an audience on the Owncast Directory",content:(0,s.jsxs)("div",{children:["List yourself in the Owncast Directory and show off your stream. Enable it in"," ",(0,s.jsx)(v(),{href:"/config-public-details",children:"settings."})]})}),(null==h?void 0:null===(i=h.federation)||void 0===i?void 0:i.enabled)||b.push({icon:(0,s.jsx)("img",{alt:"fediverse",width:"20px",src:"fediverse-white.png"}),title:"Add your Owncast instance to the Fediverse",content:(0,s.jsxs)("div",{children:[(0,s.jsx)(v(),{href:"/config-federation",children:"Enable Owncast social"})," features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream."]})}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)(c.Z,{span:12,offset:6,children:(0,s.jsxs)("div",{className:"offline-intro",children:[(0,s.jsx)("span",{className:"logo",children:(0,s.jsx)(w.C,{variant:"simple"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)(E,{level:2,children:"No stream is active"}),(0,s.jsx)("p",{children:"You should start one."})]})]})})}),(0,s.jsxs)(o.Z,{gutter:[16,16],className:"offline-content",children:[(0,s.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,className:"list-section",children:b.map(e=>(0,s.jsx)(r.Z,{size:"small",bordered:!1,children:(0,s.jsx)(T,{avatar:e.icon,title:e.title,description:e.content})},e.title))}),(0,s.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,s.jsx)(C,{})})]}),(0,s.jsx)(j.o,{logs:u,pageSize:5})]})};var L=n(44654),B=n(70241);let G=m()(()=>Promise.all([n.e(2074),n.e(5412)]).then(n.t.bind(n,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),F=m()(()=>Promise.all([n.e(2074),n.e(9095)]).then(n.t.bind(n,69095,23)),{loadableGenerated:{webpack:()=>[69095]},ssr:!1});function H(e){return(0,s.jsxs)("ul",{className:"statistics-list",children:[(0,s.jsxs)("li",{children:[e.videoCodec||"Unknown"," @ ",e.videoBitrate||"Unknown"," kbps"]}),(0,s.jsxs)("li",{children:[e.framerate||"Unknown"," fps"]}),(0,s.jsxs)("li",{children:[e.width," x ",e.height]})]})}function M(){var e,t;let n=(0,a.useContext)(x.aC),{broadcaster:h,serverConfig:m}=n||{},{remoteAddr:p,streamDetails:f}=h||{},v=(null==f?void 0:f.encoder)||"Unknown encoder",[w,g]=(0,a.useState)([]),b=async()=>{try{let e=await (0,y.rQ)(y.WQ);g(e)}catch(t){console.log("==== error",t)}},Z=()=>{b()};if((0,a.useEffect)(()=>{Z();let e=null;return e=setInterval(Z,y.NE),()=>{clearInterval(e)}},[]),(0,B.Qr)(m)||(0,B.Qr)(n))return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.Z,{active:!0}),(0,s.jsx)(l.Z,{active:!0}),(0,s.jsx)(l.Z,{active:!0})]});if(!h)return(0,s.jsx)(z,{logs:w,config:m});let k=null==n?void 0:null===(e=n.currentBroadcast)||void 0===e?void 0:null===(t=e.outputSettings)||void 0===t?void 0:t.map(e=>{let{audioPassthrough:t,videoPassthrough:n,audioBitrate:a,videoBitrate:l,framerate:r}=e,o=t?"".concat(f.audioCodec||"Unknown",", ").concat(f.audioBitrate," kbps"):"".concat(a||"Unknown"," kbps"),c=n?"".concat(f.videoBitrate||"Unknown"," kbps, ").concat(f.framerate," fps ").concat(f.width," x ").concat(f.height):"".concat(l||"Unknown"," kbps, ").concat(r," fps");return(0,s.jsxs)("div",{className:"stream-details-item-container",children:[(0,s.jsx)(i.Z,{className:"stream-details-item",title:"Outbound Video Stream",value:c}),(0,s.jsx)(i.Z,{className:"stream-details-item",title:"Outbound Audio Stream",value:o})]})}),{viewerCount:N,sessionPeakViewerCount:S}=n,_="".concat(f.audioCodec,", ").concat(f.audioBitrate||"Unknown"," kbps"),O=new Date(h.time);return(0,s.jsxs)("div",{className:"home-container",children:[(0,s.jsxs)("div",{className:"sections-container",children:[(0,s.jsx)("div",{className:"online-status-section",children:(0,s.jsxs)(r.Z,{size:"small",type:"inner",className:"online-details-card",children:[(0,s.jsxs)(o.Z,{gutter:[16,16],align:"middle",children:[(0,s.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,s.jsx)(i.Z,{title:"Stream started ".concat((0,d.Z)(O,Date.now())),value:(0,u.Z)(O),prefix:(0,s.jsx)(F,{})})}),(0,s.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,s.jsx)(i.Z,{title:"Viewers",value:N,prefix:(0,s.jsx)(G,{})})}),(0,s.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,s.jsx)(i.Z,{title:"Peak viewer count",value:S,prefix:(0,s.jsx)(G,{})})})]}),(0,s.jsx)(L.j,{})]})}),(0,s.jsxs)(o.Z,{gutter:[16,16],className:"section stream-details-section",children:[(0,s.jsxs)(c.Z,{className:"stream-details",span:12,sm:24,md:24,lg:12,children:[(0,s.jsx)(r.Z,{size:"small",title:"Outbound Stream Details",type:"inner",className:"outbound-details",children:k}),(0,s.jsxs)(r.Z,{size:"small",title:"Inbound Stream Details",type:"inner",children:[(0,s.jsx)(i.Z,{className:"stream-details-item",title:"Input",value:"".concat(v," ").concat((0,B.t5)(p))}),(0,s.jsx)(i.Z,{className:"stream-details-item",title:"Inbound Video Stream",value:f,formatter:H}),(0,s.jsx)(i.Z,{className:"stream-details-item",title:"Inbound Audio Stream",value:_})]})]}),(0,s.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,s.jsx)(C,{})})]})]}),(0,s.jsx)("br",{}),(0,s.jsx)(j.o,{logs:w,pageSize:5})]})}}},function(e){e.O(0,[5818,6386,3698,3013,4398,8091,4381,5101,5938,4763,9863,1341,9774,2888,179],function(){return e(e.s=64830)}),_N_E=e.O()}]); -//# sourceMappingURL=admin-b2e61d54be2a39b7.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js.map b/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js.map deleted file mode 100644 index e6bba5204..000000000 --- a/static/web/_next/static/chunks/pages/admin-b2e61d54be2a39b7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/pages/admin-b2e61d54be2a39b7.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,SACA,WACA,OAAeC,EAAQ,MACvB,EACA,yJCAA,GAAM,CAAEC,MAAAA,CAAAA,CAAO,CAAGC,EAAAA,CAAUA,CAE5B,SAASC,EAAkBC,CAAI,CAAEC,CAAK,CAAE,CACtC,IAAIC,EAAQ,QAQZ,MANID,YAAAA,EAAME,KAAK,CACbD,EAAQ,SACiB,UAAhBD,EAAME,KAAK,EACpBD,CAAAA,EAAQ,OAGH,GAAAE,EAAAC,GAAA,EAACC,EAAAA,CAAGA,CAAAA,CAACJ,MAAOA,WAAQF,GAC7B,CAEA,SAASO,EAAcP,CAAI,CAAE,CAC3B,MAAO,GAAAI,EAAAC,GAAA,EAACG,EAAAA,CAAOA,CAAAA,UAAER,GACnB,CAOO,IAAMS,EAA8B,GAAwB,IAAvB,CAAEC,KAAAA,CAAAA,CAAMC,SAAAA,CAAAA,CAAU,CAAAC,QAC5D,CAAKF,MAAAA,EAAAA,KAAAA,EAAAA,EAAMG,MAAM,EA8Cf,GAAAT,EAAAU,IAAA,EAACC,MAAAA,CAAIC,UAAU,yBACb,GAAAZ,EAAAC,GAAA,EAACR,EAAAA,UAAM,SACP,GAAAO,EAAAC,GAAA,EAACY,EAAAA,CAAKA,CAAAA,CACJC,KAAK,SACLC,WAAYT,EACZU,QAhDU,CACd,CACEC,MAAO,QACPC,UAAW,QACXC,IAAK,QACLC,QAAS,CACP,CACExB,KAAM,OACNyB,MAAO,MACT,EACA,CAC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,KAAK,kBACrD,GAAAuB,EAAA5F,GAAA,EAAC+D,EAAAA,CAASA,CAAAA,CACRpD,UAAU,sBACVK,MAAM,QACNI,MAAO,GAAc6L,MAAAA,CAAX9B,EAAQ,KAA+BnF,MAAA,CAA5BiH,CAAAA,EAAAA,EAAAA,EAAAA,EAAgB/B,MAEvC,GAAAtF,EAAA5F,GAAA,EAAC+D,EAAAA,CAASA,CAAAA,CACRpD,UAAU,sBACVK,MAAM,uBACNI,MAAOoJ,EACP0C,UAAW3C,IAEb,GAAA3E,EAAA5F,GAAA,EAAC+D,EAAAA,CAASA,CAAAA,CACRpD,UAAU,sBACVK,MAAM,uBACNI,MAAOuL,UAKb,GAAA/G,EAAA5F,GAAA,EAAC6D,EAAAA,CAAGA,CAAAA,CAACC,KAAM,GAAIgG,GAAI,GAAIC,GAAI,GAAIC,GAAI,GAAIC,GAAI,YACzC,GAAArE,EAAA5F,GAAA,EAACqG,EAAQA,CAAAA,WAIf,GAAAT,EAAA5F,GAAA,EAACmN,KAAAA,CAAAA,GACD,GAAAvH,EAAA5F,GAAA,EAACI,EAAAA,CAAQA,CAAAA,CAACC,KAAM+K,EAAU9K,SAAU,MAG1C","sources":["webpack://_N_E/?a37b","webpack://_N_E/./components/admin/LogTable.tsx","webpack://_N_E/./components/admin/StreamHealthOverview.tsx","webpack://_N_E/./components/admin/NewsFeed.tsx","webpack://_N_E/./components/admin/Offline.tsx","webpack://_N_E/./pages/admin/index.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/admin\",\n function () {\n return require(\"private-next-pages/admin/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/admin\"])\n });\n }\n ","import React, { FC } from 'react';\nimport { Table, Tag, Typography } from 'antd';\nimport Linkify from 'react-linkify';\nimport { SortOrder } from 'antd/lib/table/interface';\nimport format from 'date-fns/format';\n\nconst { Title } = Typography;\n\nfunction renderColumnLevel(text, entry) {\n let color = 'black';\n\n if (entry.level === 'warning') {\n color = 'orange';\n } else if (entry.level === 'error') {\n color = 'red';\n }\n\n return {text};\n}\n\nfunction renderMessage(text) {\n return {text};\n}\n\nexport type LogTableProps = {\n logs: object[];\n pageSize: number;\n};\n\nexport const LogTable: FC = ({ logs, pageSize }) => {\n if (!logs?.length) {\n return null;\n }\n const columns = [\n {\n title: 'Level',\n dataIndex: 'level',\n key: 'level',\n filters: [\n {\n text: 'Info',\n value: 'info',\n },\n {\n text: 'Warning',\n value: 'warning',\n },\n {\n text: 'Error',\n value: 'Error',\n },\n ],\n onFilter: (level, row) => row.level.indexOf(level) === 0,\n render: renderColumnLevel,\n },\n {\n title: 'Timestamp',\n dataIndex: 'time',\n key: 'time',\n render: timestamp => {\n const dateObject = new Date(timestamp);\n return format(dateObject, 'pp P');\n },\n sorter: (a, b) => new Date(a.time).getTime() - new Date(b.time).getTime(),\n sortDirections: ['descend', 'ascend'] as SortOrder[],\n defaultSortOrder: 'descend' as SortOrder,\n },\n {\n title: 'Message',\n dataIndex: 'message',\n key: 'message',\n render: renderMessage,\n },\n ];\n\n return (\n

\n Logs\n row.time}\n pagination={{ pageSize: pageSize || 20 }}\n />\n
\n );\n};\n","import { Alert, Button, Col, Row, Statistic, Typography } from 'antd';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport React, { FC, useContext } from 'react';\nimport { ServerStatusContext } from '../../utils/server-status-context';\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nconst ExclamationCircleOutlined = dynamic(\n () => import('@ant-design/icons/ExclamationCircleOutlined'),\n {\n ssr: false,\n },\n);\n\nexport type StreamHealthOverviewProps = {\n showTroubleshootButton?: Boolean;\n};\n\nexport const StreamHealthOverview: FC = ({ showTroubleshootButton }) => {\n const serverStatusData = useContext(ServerStatusContext);\n const { health } = serverStatusData;\n if (!health) {\n return null;\n }\n\n const { healthy, healthPercentage, message, representation } = health;\n let color = '#3f8600';\n let icon: 'success' | 'info' | 'warning' | 'error' = 'info';\n if (healthPercentage < 80) {\n color = '#cf000f';\n icon = 'error';\n } else if (healthPercentage < 30) {\n color = '#f0ad4e';\n icon = 'error';\n }\n\n return (\n
\n \n \n : }\n />\n \n \n \n \n \n \n \n Stream health represents {representation}% of all known players. Other player status is\n unknown.\n \n \n \n \n \n \n \n )\n }\n />\n \n \n
\n );\n};\n\nStreamHealthOverview.defaultProps = {\n showTroubleshootButton: true,\n};\n","/* eslint-disable camelcase */\n/* eslint-disable react/no-danger */\nimport React, { useState, useEffect, FC } from 'react';\nimport { Collapse, Typography, Skeleton } from 'antd';\nimport format from 'date-fns/format';\n\nimport { fetchExternalData } from '../../utils/apis';\n\nconst { Panel } = Collapse;\nconst { Title, Link } = Typography;\n\nconst OWNCAST_FEED_URL = 'https://owncast.online/news/index.json';\nconst OWNCAST_BASE_URL = 'https://owncast.online';\n\nexport type ArticleProps = {\n title: string;\n url: string;\n content_html: string;\n date_published: string;\n};\n\nconst ArticleItem: FC = ({\n title,\n url,\n content_html: content,\n date_published: date,\n}) => {\n const dateObject = new Date(date);\n const dateString = format(dateObject, 'MMM dd, yyyy, HH:mm');\n return (\n
\n \n \n

\n {dateString} (\n \n Link\n \n )\n

\n
\n \n \n
\n );\n};\n\nexport const NewsFeed = () => {\n const [feed, setFeed] = useState([]);\n const [loading, setLoading] = useState(true);\n\n const getFeed = async () => {\n setLoading(false);\n\n try {\n const result = await fetchExternalData(OWNCAST_FEED_URL);\n if (result?.items.length > 0) {\n setFeed(result.items);\n }\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n getFeed();\n }, []);\n\n const loadingSpinner = loading ? : null;\n const noNews = !loading && feed.length === 0 ?
No news.
: null;\n\n return (\n
\n News & Updates from Owncast\n {loadingSpinner}\n {feed.map(item => (\n \n ))}\n\n {noNews}\n
\n );\n};\n","import { Card, Col, Row, Typography } from 'antd';\nimport Link from 'next/link';\nimport { FC, useContext } from 'react';\nimport dynamic from 'next/dynamic';\nimport { LogTable } from './LogTable';\nimport { OwncastLogo } from '../common/OwncastLogo/OwncastLogo';\nimport { NewsFeed } from './NewsFeed';\nimport { ConfigDetails } from '../../types/config-section';\nimport { ServerStatusContext } from '../../utils/server-status-context';\n\nconst { Paragraph, Text } = Typography;\n\nconst { Title } = Typography;\nconst { Meta } = Card;\n\n// Lazy loaded components\n\nconst BookTwoTone = dynamic(() => import('@ant-design/icons/BookTwoTone'), {\n ssr: false,\n});\n\nconst MessageTwoTone = dynamic(() => import('@ant-design/icons/MessageTwoTone'), {\n ssr: false,\n});\n\nconst PlaySquareTwoTone = dynamic(() => import('@ant-design/icons/PlaySquareTwoTone'), {\n ssr: false,\n});\n\nconst ProfileTwoTone = dynamic(() => import('@ant-design/icons/ProfileTwoTone'), {\n ssr: false,\n});\n\nfunction generateStreamURL(serverURL, rtmpServerPort) {\n return `rtmp://${serverURL.replace(/(^\\w+:|^)\\/\\//, '')}:${rtmpServerPort}/live`;\n}\n\nexport type OfflineProps = {\n logs: any[];\n config: ConfigDetails;\n};\n\nexport const Offline: FC = ({ logs = [], config }) => {\n const serverStatusData = useContext(ServerStatusContext);\n\n const { serverConfig } = serverStatusData || {};\n const { rtmpServerPort } = serverConfig;\n const instanceUrl = global.window?.location.hostname || '';\n\n let rtmpURL;\n if (instanceUrl && rtmpServerPort) {\n rtmpURL = generateStreamURL(instanceUrl, rtmpServerPort);\n }\n\n const data = [\n {\n icon: ,\n title: 'Use your broadcasting software',\n content: (\n
\n \n Learn how to point your existing software to your new server and start streaming your\n content.\n \n
\n \n Streaming URL:\n \n {rtmpURL && (\n \n {rtmpURL}\n \n )}\n \n Streaming Keys:\n \n \n View \n \n
\n
\n ),\n },\n {\n icon: ,\n title: 'Embed your video onto other sites',\n content: (\n
\n \n Learn how you can add your Owncast stream to other sites you control.\n \n
\n ),\n },\n ];\n\n if (!config?.chatDisabled) {\n data.push({\n icon: ,\n title: 'Chat is disabled',\n content: Chat will continue to be disabled until you begin a live stream.,\n });\n }\n\n if (!config?.yp?.enabled) {\n data.push({\n icon: ,\n title: 'Find an audience on the Owncast Directory',\n content: (\n
\n List yourself in the Owncast Directory and show off your stream. Enable it in{' '}\n settings.\n
\n ),\n });\n }\n\n if (!config?.federation?.enabled) {\n data.push({\n icon: \"fediverse\",\n title: 'Add your Owncast instance to the Fediverse',\n content: (\n
\n Enable Owncast social features to have your\n instance join the Fediverse, allowing people to follow, share and engage with your live\n stream.\n
\n ),\n });\n }\n\n return (\n <>\n \n \n
\n \n \n \n
\n No stream is active\n

You should start one.

\n
\n
\n \n
\n \n \n {data.map(item => (\n \n \n \n ))}\n \n \n \n \n \n \n \n );\n};\nexport default Offline;\n","/* eslint-disable @next/next/no-css-tags */\nimport React, { useState, useEffect, useContext } from 'react';\nimport { Skeleton, Card, Statistic, Row, Col } from 'antd';\nimport { formatDistanceToNow, formatRelative } from 'date-fns';\nimport dynamic from 'next/dynamic';\nimport { ServerStatusContext } from '../../utils/server-status-context';\nimport { LogTable } from '../../components/admin/LogTable';\nimport { Offline } from '../../components/admin/Offline';\nimport { StreamHealthOverview } from '../../components/admin/StreamHealthOverview';\n\nimport { LOGS_WARN, fetchData, FETCH_INTERVAL } from '../../utils/apis';\nimport { formatIPAddress, isEmptyObject } from '../../utils/format';\nimport { NewsFeed } from '../../components/admin/NewsFeed';\n\n// Lazy loaded components\n\nconst UserOutlined = dynamic(() => import('@ant-design/icons/UserOutlined'), {\n ssr: false,\n});\n\nconst ClockCircleOutlined = dynamic(() => import('@ant-design/icons/ClockCircleOutlined'), {\n ssr: false,\n});\n\nfunction streamDetailsFormatter(streamDetails) {\n return (\n
    \n
  • \n {streamDetails.videoCodec || 'Unknown'} @ {streamDetails.videoBitrate || 'Unknown'} kbps\n
  • \n
  • {streamDetails.framerate || 'Unknown'} fps
  • \n
  • \n {streamDetails.width} x {streamDetails.height}\n
  • \n
\n );\n}\n\nexport default function Home() {\n const serverStatusData = useContext(ServerStatusContext);\n const { broadcaster, serverConfig: configData } = serverStatusData || {};\n const { remoteAddr, streamDetails } = broadcaster || {};\n\n const encoder = streamDetails?.encoder || 'Unknown encoder';\n\n const [logsData, setLogs] = useState([]);\n const getLogs = async () => {\n try {\n const result = await fetchData(LOGS_WARN);\n setLogs(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n const getMoreStats = () => {\n getLogs();\n };\n\n useEffect(() => {\n getMoreStats();\n\n let intervalId = null;\n intervalId = setInterval(getMoreStats, FETCH_INTERVAL);\n\n return () => {\n clearInterval(intervalId);\n };\n }, []);\n\n if (isEmptyObject(configData) || isEmptyObject(serverStatusData)) {\n return (\n <>\n \n \n \n \n );\n }\n\n if (!broadcaster) {\n return ;\n }\n\n // map out settings\n const videoQualitySettings = serverStatusData?.currentBroadcast?.outputSettings?.map(setting => {\n const { audioPassthrough, videoPassthrough, audioBitrate, videoBitrate, framerate } = setting;\n\n const audioSetting = audioPassthrough\n ? `${streamDetails.audioCodec || 'Unknown'}, ${streamDetails.audioBitrate} kbps`\n : `${audioBitrate || 'Unknown'} kbps`;\n\n const videoSetting = videoPassthrough\n ? `${streamDetails.videoBitrate || 'Unknown'} kbps, ${streamDetails.framerate} fps ${\n streamDetails.width\n } x ${streamDetails.height}`\n : `${videoBitrate || 'Unknown'} kbps, ${framerate} fps`;\n\n return (\n
\n \n \n
\n );\n });\n\n // inbound\n const { viewerCount, sessionPeakViewerCount } = serverStatusData;\n\n const streamAudioDetailString = `${streamDetails.audioCodec}, ${\n streamDetails.audioBitrate || 'Unknown'\n } kbps`;\n\n const broadcastDate = new Date(broadcaster.time);\n\n return (\n
\n
\n
\n \n \n \n }\n />\n \n \n } />\n \n \n }\n />\n \n \n \n \n
\n\n \n \n \n {videoQualitySettings}\n \n\n \n \n \n \n \n \n\n \n \n \n \n
\n
\n \n
\n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","Title","Typography","renderColumnLevel","text","entry","color","level","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Tag","renderMessage","Linkify","LogTable","logs","pageSize","param","length","jsxs","div","className","Table","size","dataSource","columns","title","dataIndex","key","filters","value","onFilter","row","indexOf","render","timestamp","dateObject","Date","format","sorter","a","b","time","getTime","sortDirections","defaultSortOrder","rowKey","pagination","CheckCircleOutlined","dynamic","Promise","all","e","then","t","bind","ssr","ExclamationCircleOutlined","StreamHealthOverview","showTroubleshootButton","serverStatusData","useContext","ServerStatusContext","health","healthy","healthPercentage","message","representation","icon","Row","gutter","Col","span","Statistic","valueStyle","prefix","suffix","style","display","type","textAlign","fontSize","opacity","width","marginTop","Alert","showIcon","action","Link","passHref","href","Button","defaultProps","Panel","Collapse","ArticleItem","url","content_html","content","date_published","date","dateString","jsx_runtime","article","header","p","concat","target","rel","dangerouslySetInnerHTML","__html","NewsFeed","feed","setFeed","useState","loading","setLoading","getFeed","result","fetchExternalData","items","error","console","log","useEffect","loadingSpinner","Skeleton","active","noNews","section","map","item","react","createElement","Paragraph","Text","Meta","Card","BookTwoTone","MessageTwoTone","PlaySquareTwoTone","ProfileTwoTone","Offline","global","config","rtmpURL","serverConfig","rtmpServerPort","instanceUrl","location","hostname","serverURL","replace","data","twoToneColor","strong","copyable","chatDisabled","yp","enabled","federation","img","alt","src","Fragment","offset","OwncastLogo","variant","xs","sm","md","lg","bordered","avatar","description","UserOutlined","ClockCircleOutlined","streamDetailsFormatter","streamDetails","ul","li","videoCodec","videoBitrate","framerate","height","Home","broadcaster","configData","remoteAddr","encoder","logsData","setLogs","getLogs","fetchData","LOGS_WARN","getMoreStats","intervalId","setInterval","FETCH_INTERVAL","clearInterval","isEmptyObject","videoQualitySettings","currentBroadcast","outputSettings","setting","audioPassthrough","videoPassthrough","audioBitrate","audioSetting","audioCodec","videoSetting","viewerCount","sessionPeakViewerCount","streamAudioDetailString","broadcastDate","align","formatRelative","now","formatDistanceToNow","formatIPAddress","formatter","br"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js b/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js new file mode 100644 index 000000000..f682ea02b --- /dev/null +++ b/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{54907:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var a=n(87462),r=n(4942),l=n(18073),s=n(94184),i=n.n(s),o=n(74902),c=n(15671),d=n(43144),u=n(60136),m=n(33643),v=n(71002),p=n(50344),f=n(67294),h=n(96774),x=n.n(h),Z=n(45987),y=n(62874),g=n(97685),w=f.forwardRef(function(e,t){var n,a=e.prefixCls,l=e.forceRender,s=e.className,o=e.style,c=e.children,d=e.isActive,u=e.role,m=f.useState(d||l),v=(0,g.Z)(m,2),p=v[0],h=v[1];return(f.useEffect(function(){(l||d)&&h(!0)},[l,d]),p)?f.createElement("div",{ref:t,className:i()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),s),style:o,role:u},f.createElement("div",{className:"".concat(a,"-content-box")},c)):null});w.displayName="PanelContent";var j=["className","id","style","prefixCls","headerClass","children","isActive","destroyInactivePanel","accordion","forceRender","openMotion","extra","collapsible"],b=function(e){(0,u.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var a=arguments.length,r=Array(a),l=0;l-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,l=r.prefixCls,s=r.openMotion,i=r.accordion,o=r.destroyInactivePanel,c=r.expandIcon,d=r.collapsible,u=e.key||String(t),m=e.props,v=m.header,p=m.headerClass,h=m.destroyInactivePanel,x=m.collapsible,Z=!1;Z=i?n[0]===u:n.indexOf(u)>-1;var y=null!=x?x:d,g={key:u,panelKey:u,header:v,headerClass:p,isActive:Z,prefixCls:l,destroyInactivePanel:null!=h?h:o,openMotion:s,accordion:i,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:c,collapsible:y};return"string"==typeof e.type?e:(Object.keys(g).forEach(function(e){void 0===g[e]&&delete g[e]}),f.cloneElement(e,g))},a.getItems=function(){var e=a.props.children;return(0,p.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,l=e.defaultActiveKey;return"activeKey"in e&&(l=r),a.state={activeKey:C(l)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!x()(this.props,e)||!x()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,l=t.style,s=t.accordion,o=i()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return f.createElement("div",{className:o,style:l,role:s?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=C(e.activeKey)),t}}]),n}(f.Component);N.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},N.Panel=b,N.Panel;var k=n(98423),E=n(53124),I=n(33603),P=n(96159),S=function(e){var t,n,s=f.useContext(E.E_),o=s.getPrefixCls,c=s.direction,d=e.prefixCls,u=e.className,m=e.bordered,v=e.ghost,h=e.expandIconPosition,x=void 0===h?"start":h,Z=o("collapse",d),y=f.useMemo(function(){return"left"===x?"start":"right"===x?"end":x},[x]),g=i()("".concat(Z,"-icon-position-").concat(y),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!(void 0===m||m)),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===c),(0,r.Z)(n,"".concat(Z,"-ghost"),!!v),n),void 0===u?"":u),w=(0,a.Z)((0,a.Z)({},I.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return f.createElement(N,(0,a.Z)({openMotion:w},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):f.createElement(l.Z,{rotate:t.isActive?90:void 0});return(0,P.Tm)(a,function(){return{className:i()(a.props.className,"".concat(Z,"-arrow"))}})},prefixCls:Z,className:g}),(t=e.children,(0,p.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),l=e.props,s=l.disabled,i=l.collapsible,o=(0,a.Z)((0,a.Z)({},(0,k.Z)(e.props,["disabled"])),{key:r,collapsible:null!=i?i:s?"disabled":void 0});return(0,P.Tm)(e,o)}return e})))};S.Panel=function(e){var t=f.useContext(E.E_).getPrefixCls,n=e.prefixCls,l=e.className,s=e.showArrow,o=t("collapse",n),c=i()((0,r.Z)({},"".concat(o,"-no-arrow"),!(void 0===s||s)),void 0===l?"":l);return f.createElement(N.Panel,(0,a.Z)({},e,{prefixCls:o,className:c}))};var z=S},26303:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var a=n(4942),r=n(87462),l=n(71002),s=n(94184),i=n.n(s),o=n(67294),c=n(53124),d=n(98423),u=function(e){var t,n,l=e.prefixCls,s=e.className,c=e.style,d=e.size,u=e.shape,m=i()((t={},(0,a.Z)(t,"".concat(l,"-lg"),"large"===d),(0,a.Z)(t,"".concat(l,"-sm"),"small"===d),t)),v=i()((n={},(0,a.Z)(n,"".concat(l,"-circle"),"circle"===u),(0,a.Z)(n,"".concat(l,"-square"),"square"===u),(0,a.Z)(n,"".concat(l,"-round"),"round"===u),n)),p=o.useMemo(function(){return"number"==typeof d?{width:d,height:d,lineHeight:"".concat(d,"px")}:{}},[d]);return o.createElement("span",{className:i()(l,m,v,s),style:(0,r.Z)((0,r.Z)({},p),c)})},m=n(1413),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},p=n(42135),f=function(e,t){return o.createElement(p.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:v}))};f.displayName="DotChartOutlined";var h=o.forwardRef(f),x=n(74902),Z=function(e){var t=function(t){var n=e.width,a=e.rows;return Array.isArray(n)?n[t]:(void 0===a?2:a)-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,l=e.rows,s=(0,x.Z)(Array(l)).map(function(e,n){return o.createElement("li",{key:n,style:{width:t(n)}})});return o.createElement("ul",{className:i()(n,a),style:r},s)},y=function(e){var t=e.prefixCls,n=e.className,a=e.width,l=e.style;return o.createElement("h3",{className:i()(t,n),style:(0,r.Z)({width:a},l)})};function g(e){return e&&"object"===(0,l.Z)(e)?e:{}}var w=function(e){var t=e.prefixCls,n=e.loading,l=e.className,s=e.style,d=e.children,m=e.avatar,v=void 0!==m&&m,p=e.title,f=void 0===p||p,h=e.paragraph,x=void 0===h||h,w=e.active,j=e.round,b=o.useContext(c.E_),C=b.getPrefixCls,N=b.direction,k=C("skeleton",t);if(n||!("loading"in e)){var E=!!v,I=!!f,P=!!x;if(E){var S=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-avatar")},I&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),g(v));O=o.createElement("div",{className:"".concat(k,"-header")},o.createElement(u,(0,r.Z)({},S)))}if(I||P){if(I){var z,O,_,A,T,K=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-title")},!E&&P?{width:"38%"}:E&&P?{width:"50%"}:{}),g(f));A=o.createElement(y,(0,r.Z)({},K))}if(P){var M,R=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-paragraph")},(M={},E&&I||(M.width="61%"),!E&&I?M.rows=3:M.rows=2,M)),g(x));T=o.createElement(Z,(0,r.Z)({},R))}_=o.createElement("div",{className:"".concat(k,"-content")},A,T)}var D=i()(k,(z={},(0,a.Z)(z,"".concat(k,"-with-avatar"),E),(0,a.Z)(z,"".concat(k,"-active"),w),(0,a.Z)(z,"".concat(k,"-rtl"),"rtl"===N),(0,a.Z)(z,"".concat(k,"-round"),j),z),l);return o.createElement("div",{className:D,style:s},O,_)}return void 0!==d?d:null};w.Button=function(e){var t,n=e.prefixCls,l=e.className,s=e.active,m=e.block,v=e.size,p=(0,o.useContext(c.E_).getPrefixCls)("skeleton",n),f=(0,d.Z)(e,["prefixCls"]),h=i()(p,"".concat(p,"-element"),(t={},(0,a.Z)(t,"".concat(p,"-active"),s),(0,a.Z)(t,"".concat(p,"-block"),void 0!==m&&m),t),l);return o.createElement("div",{className:h},o.createElement(u,(0,r.Z)({prefixCls:"".concat(p,"-button"),size:void 0===v?"default":v},f)))},w.Avatar=function(e){var t=e.prefixCls,n=e.className,l=e.active,s=e.shape,m=e.size,v=(0,o.useContext(c.E_).getPrefixCls)("skeleton",t),p=(0,d.Z)(e,["prefixCls","className"]),f=i()(v,"".concat(v,"-element"),(0,a.Z)({},"".concat(v,"-active"),l),n);return o.createElement("div",{className:f},o.createElement(u,(0,r.Z)({prefixCls:"".concat(v,"-avatar"),shape:void 0===s?"circle":s,size:void 0===m?"default":m},p)))},w.Input=function(e){var t,n=e.prefixCls,l=e.className,s=e.active,m=e.block,v=e.size,p=(0,o.useContext(c.E_).getPrefixCls)("skeleton",n),f=(0,d.Z)(e,["prefixCls"]),h=i()(p,"".concat(p,"-element"),(t={},(0,a.Z)(t,"".concat(p,"-active"),s),(0,a.Z)(t,"".concat(p,"-block"),m),t),l);return o.createElement("div",{className:h},o.createElement(u,(0,r.Z)({prefixCls:"".concat(p,"-input"),size:void 0===v?"default":v},f)))},w.Image=function(e){var t=e.prefixCls,n=e.className,r=e.style,l=e.active,s=(0,o.useContext(c.E_).getPrefixCls)("skeleton",t),d=i()(s,"".concat(s,"-element"),(0,a.Z)({},"".concat(s,"-active"),l),n);return o.createElement("div",{className:d},o.createElement("div",{className:i()("".concat(s,"-image"),n),style:r},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(s,"-image-svg")},o.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(s,"-image-path")}))))},w.Node=function(e){var t=e.prefixCls,n=e.className,r=e.style,l=e.active,s=e.children,d=(0,o.useContext(c.E_).getPrefixCls)("skeleton",t),u=i()(d,"".concat(d,"-element"),(0,a.Z)({},"".concat(d,"-active"),l),n),m=null!=s?s:o.createElement(h,null);return o.createElement("div",{className:u},o.createElement("div",{className:i()("".concat(d,"-image"),n),style:r},m))};var j=w},75401:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(24262),r=n(19013),l=n(13882);function s(e){(0,l.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}function i(e,t){(0,l.Z)(2,arguments);var n=s(e),r=s(t);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},64830:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return n(64180)}])},82536:function(e,t,n){"use strict";n.d(t,{o:function(){return m}});var a=n(85893);n(67294);var r=n(85818),l=n(20550),s=n(54398),i=n(53731),o=n(58091);let{Title:c}=r.Z;function d(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,a.jsx)(l.Z,{color:n,children:e})}function u(e){return(0,a.jsx)(i.Z,{children:e})}let m=e=>{let{logs:t,pageSize:n}=e;return(null==t?void 0:t.length)?(0,a.jsxs)("div",{className:"logs-section",children:[(0,a.jsx)(c,{children:"Logs"}),(0,a.jsx)(s.Z,{size:"middle",dataSource:t,columns:[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:(e,t)=>0===t.level.indexOf(e),render:d},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,o.Z)(t,"pp P")},sorter:(e,t)=>new Date(e.time).getTime()-new Date(t.time).getTime(),sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:u}],rowKey:e=>e.time,pagination:{pageSize:n||20}})]}):null}},44654:function(e,t,n){"use strict";n.d(t,{j:function(){return Z}});var a=n(85893),r=n(71230),l=n(15746),s=n(74763),i=n(85818),o=n(14670),c=n(71577),d=n(5152),u=n.n(d),m=n(41664),v=n.n(m),p=n(67294),f=n(99519);let h=u()(()=>Promise.all([n.e(2074),n.e(7996)]).then(n.t.bind(n,67996,23)),{loadableGenerated:{webpack:()=>[67996]},ssr:!1}),x=u()(()=>Promise.all([n.e(2074),n.e(7039)]).then(n.t.bind(n,67039,23)),{loadableGenerated:{webpack:()=>[67039]},ssr:!1}),Z=e=>{let{showTroubleshootButton:t}=e,n=(0,p.useContext)(f.aC),{health:d}=n;if(!d)return null;let{healthy:u,healthPercentage:m,message:Z,representation:y}=d,g="#3f8600",w="info";return m<80?(g="#cf000f",w="error"):m<30&&(g="#f0ad4e",w="error"),(0,a.jsxs)("div",{children:[(0,a.jsxs)(r.Z,{gutter:8,children:[(0,a.jsx)(l.Z,{span:12,children:(0,a.jsx)(s.Z,{title:"Healthy Stream",value:u?"Yes":"No",valueStyle:{color:g},prefix:u?(0,a.jsx)(h,{}):(0,a.jsx)(x,{})})}),(0,a.jsx)(l.Z,{span:12,children:(0,a.jsx)(s.Z,{title:"Playback Health",value:m,valueStyle:{color:g},suffix:"%"})})]}),(0,a.jsx)(r.Z,{style:{display:y<100&&0!==y?"grid":"none"},children:(0,a.jsxs)(i.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",y,"% of all known players. Other player status is unknown."]})}),(0,a.jsx)(r.Z,{gutter:16,style:{width:"100%",display:Z?"grid":"none",marginTop:"10px"},children:(0,a.jsx)(l.Z,{span:24,children:(0,a.jsx)(o.Z,{message:Z,type:w,showIcon:!0,action:t&&(0,a.jsx)(v(),{passHref:!0,href:"/stream-health",children:(0,a.jsx)(c.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})};Z.defaultProps={showTroubleshootButton:!0}},64180:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return X}});var a=n(85893),r=n(67294),l=n(26303),s=n(74763),i=n(59652),o=n(71230),c=n(15746),d=n(84314),u=n(75401),m=n(58091),v=n(86559),p=n(92234),f=n(19013),h=n(24262),x=n(13882),Z=n(83946),y=n(45938),g=n(5152),w=n.n(g),j=n(99519),b=n(82536),C=n(85818),N=n(41664),k=n.n(N),E=n(50738),I=n(54907),P=n(64777);let{Panel:S}=I.Z,{Title:z,Link:O}=C.Z,_=e=>{let{title:t,url:n,content_html:r,date_published:l}=e,s=new Date(l),i=(0,m.Z)(s,"MMM dd, yyyy, HH:mm");return(0,a.jsx)("article",{children:(0,a.jsx)(I.Z,{children:(0,a.jsxs)(S,{header:t,children:[(0,a.jsxs)("p",{className:"timestamp",children:[i," (",(0,a.jsx)(O,{href:"".concat("https://owncast.online").concat(n),target:"_blank",rel:"noopener noreferrer",children:"Link"}),")"]}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})]},n)})})},A=()=>{let[e,t]=(0,r.useState)([]),[n,s]=(0,r.useState)(!0),i=async()=>{s(!1);try{let e=await (0,P.kg)("https://owncast.online/news/index.json");(null==e?void 0:e.items.length)>0&&t(e.items)}catch(n){console.log("==== error",n)}};(0,r.useEffect)(()=>{i()},[]);let o=n?(0,a.jsx)(l.Z,{loading:!0,active:!0}):null,c=n||0!==e.length?null:(0,a.jsx)("div",{children:"No news."});return(0,a.jsxs)("section",{className:"news-feed form-module",children:[(0,a.jsx)(z,{level:2,children:"News & Updates from Owncast"}),o,e.map(e=>(0,r.createElement)(_,{...e,key:e.url})),c]})},{Paragraph:T,Text:K}=C.Z,{Title:M}=C.Z,{Meta:R}=i.Z,D=w()(()=>Promise.all([n.e(2074),n.e(3371)]).then(n.t.bind(n,33371,23)),{loadableGenerated:{webpack:()=>[33371]},ssr:!1}),U=w()(()=>Promise.all([n.e(2074),n.e(5308)]).then(n.t.bind(n,85308,23)),{loadableGenerated:{webpack:()=>[85308]},ssr:!1}),L=w()(()=>Promise.all([n.e(2074),n.e(856)]).then(n.t.bind(n,20856,23)),{loadableGenerated:{webpack:()=>[20856]},ssr:!1}),q=w()(()=>Promise.all([n.e(2074),n.e(9208)]).then(n.t.bind(n,99208,23)),{loadableGenerated:{webpack:()=>[99208]},ssr:!1}),B=e=>{var t,l,s;let d,{logs:u=[],config:m}=e,v=(0,r.useContext)(j.aC),{serverConfig:p}=v||{},{rtmpServerPort:f}=p,h=(null===(t=n.g.window)||void 0===t?void 0:t.location.hostname)||"";h&&f&&(d="rtmp://".concat(h.replace(/(^\w+:|^)\/\//,""),":").concat(f,"/live"));let x=[{icon:(0,a.jsx)(D,{twoToneColor:"#6f42c1"}),title:"Use your broadcasting software",content:(0,a.jsxs)("div",{children:[(0,a.jsx)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how to point your existing software to your new server and start streaming your content."}),(0,a.jsxs)("div",{className:"stream-info-container",children:[(0,a.jsx)(K,{strong:!0,className:"stream-info-label",children:"Streaming URL:"}),d&&(0,a.jsx)(T,{className:"stream-info-box",copyable:!0,children:d}),(0,a.jsx)(K,{strong:!0,className:"stream-info-label",children:"Streaming Keys:"}),(0,a.jsx)(K,{strong:!0,className:"stream-info-box",children:(0,a.jsx)(k(),{href:"/admin/config/server",children:" View "})})]})]})},{icon:(0,a.jsx)(L,{twoToneColor:"#f9826c"}),title:"Embed your video onto other sites",content:(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"https://owncast.online/docs/embed?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Learn how you can add your Owncast stream to other sites you control."})})}];return(null==m?void 0:m.chatDisabled)||x.push({icon:(0,a.jsx)(U,{twoToneColor:"#0366d6"}),title:"Chat is disabled",content:(0,a.jsx)("span",{children:"Chat will continue to be disabled until you begin a live stream."})}),(null==m?void 0:null===(l=m.yp)||void 0===l?void 0:l.enabled)||x.push({icon:(0,a.jsx)(q,{twoToneColor:"#D18BFE"}),title:"Find an audience on the Owncast Directory",content:(0,a.jsxs)("div",{children:["List yourself in the Owncast Directory and show off your stream. Enable it in"," ",(0,a.jsx)(k(),{href:"/config-public-details",children:"settings."})]})}),(null==m?void 0:null===(s=m.federation)||void 0===s?void 0:s.enabled)||x.push({icon:(0,a.jsx)("img",{alt:"fediverse",width:"20px",src:"fediverse-white.png"}),title:"Add your Owncast instance to the Fediverse",content:(0,a.jsxs)("div",{children:[(0,a.jsx)(k(),{href:"/config-federation",children:"Enable Owncast social"})," features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream."]})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{children:(0,a.jsx)(c.Z,{span:12,offset:6,children:(0,a.jsxs)("div",{className:"offline-intro",children:[(0,a.jsx)("span",{className:"logo",children:(0,a.jsx)(E.C,{variant:"simple"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)(M,{level:2,children:"No stream is active"}),(0,a.jsx)("p",{children:"You should start one."})]})]})})}),(0,a.jsxs)(o.Z,{gutter:[16,16],className:"offline-content",children:[(0,a.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,className:"list-section",children:x.map(e=>(0,a.jsx)(i.Z,{size:"small",bordered:!1,children:(0,a.jsx)(R,{avatar:e.icon,title:e.title,description:e.content})},e.title))}),(0,a.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,a.jsx)(A,{})})]}),(0,a.jsx)(b.o,{logs:u,pageSize:5})]})};var H=n(44654),F=n(70241),G=n(6960);let V=w()(()=>Promise.all([n.e(2074),n.e(5412)]).then(n.t.bind(n,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),Q=w()(()=>Promise.all([n.e(2074),n.e(562)]).then(n.t.bind(n,69095,23)),{loadableGenerated:{webpack:()=>[69095]},ssr:!1});function W(e){return(0,a.jsxs)("ul",{className:"statistics-list",children:[(0,a.jsxs)("li",{children:[e.videoCodec||"Unknown"," @ ",e.videoBitrate||"Unknown"," kbps"]}),(0,a.jsxs)("li",{children:[e.framerate||"Unknown"," fps"]}),(0,a.jsxs)("li",{children:[e.width," x ",e.height]})]})}function X(){var e,t;let n=(0,r.useContext)(j.aC),{broadcaster:g,serverConfig:w}=n||{},{remoteAddr:C,streamDetails:N}=g||{},k=(null==N?void 0:N.encoder)||"Unknown encoder",[E,I]=(0,r.useState)([]),S=async()=>{try{let e=await (0,P.rQ)(P.WQ);I(e)}catch(t){console.log("==== error",t)}},z=()=>{S()};if((0,r.useEffect)(()=>{z();let e=null;return e=setInterval(z,P.NE),()=>{clearInterval(e)}},[]),(0,F.Qr)(w)||(0,F.Qr)(n))return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Z,{active:!0}),(0,a.jsx)(l.Z,{active:!0}),(0,a.jsx)(l.Z,{active:!0})]});if(!g)return(0,a.jsx)(B,{logs:E,config:w});let O=null==n?void 0:null===(e=n.currentBroadcast)||void 0===e?void 0:null===(t=e.outputSettings)||void 0===t?void 0:t.map(e=>{let{audioPassthrough:t,videoPassthrough:n,audioBitrate:r,videoBitrate:l,framerate:i}=e,o=t?"".concat(N.audioCodec||"Unknown",", ").concat(N.audioBitrate," kbps"):"".concat(r||"Unknown"," kbps"),c=n?"".concat(N.videoBitrate||"Unknown"," kbps, ").concat(N.framerate," fps ").concat(N.width," x ").concat(N.height):"".concat(l||"Unknown"," kbps, ").concat(i," fps");return(0,a.jsxs)("div",{className:"stream-details-item-container",children:[(0,a.jsx)(s.Z,{className:"stream-details-item",title:"Outbound Video Stream",value:c}),(0,a.jsx)(s.Z,{className:"stream-details-item",title:"Outbound Audio Stream",value:o})]})}),{viewerCount:_,sessionPeakViewerCount:T}=n,K="".concat(N.audioCodec,", ").concat(N.audioBitrate||"Unknown"," kbps"),M=new Date(g.time);return(0,a.jsxs)("div",{className:"home-container",children:[(0,a.jsxs)("div",{className:"sections-container",children:[(0,a.jsx)("div",{className:"online-status-section",children:(0,a.jsxs)(i.Z,{size:"small",type:"inner",className:"online-details-card",children:[(0,a.jsxs)(o.Z,{gutter:[16,16],align:"middle",children:[(0,a.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,a.jsx)(s.Z,{title:"Stream started ".concat(function(e,t,n){(0,x.Z)(2,arguments);var a,r,l,s,i,o,c,y,g,w,j=(0,f.Z)(e),b=(0,f.Z)(t),C=(0,d.j)(),N=null!==(a=null!==(r=null==n?void 0:n.locale)&&void 0!==r?r:C.locale)&&void 0!==a?a:v.Z,k=(0,Z.Z)(null!==(l=null!==(s=null!==(i=null!==(o=null==n?void 0:n.weekStartsOn)&&void 0!==o?o:null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(y=c.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==i?i:C.weekStartsOn)&&void 0!==s?s:null===(g=C.locale)||void 0===g?void 0:null===(w=g.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==l?l:0);if(!N.localize)throw RangeError("locale must contain localize property");if(!N.formatLong)throw RangeError("locale must contain formatLong property");if(!N.formatRelative)throw RangeError("locale must contain formatRelative property");var E=(0,u.Z)(j,b);if(isNaN(E))throw RangeError("Invalid time value");var I=(0,p.Z)(j,(0,h.Z)(j)),P=(0,p.Z)(b,(0,h.Z)(b)),S=N.formatRelative(E<-6?"other":E<-1?"lastWeek":E<0?"yesterday":E<1?"today":E<2?"tomorrow":E<7?"nextWeek":"other",I,P,{locale:N,weekStartsOn:k});return(0,m.Z)(j,S,{locale:N,weekStartsOn:k})}(M,Date.now())),value:(0,y.Z)(M),prefix:(0,a.jsx)(Q,{})})}),(0,a.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,a.jsx)(s.Z,{title:"Viewers",value:_,prefix:(0,a.jsx)(V,{})})}),(0,a.jsx)(c.Z,{span:8,sm:24,md:8,children:(0,a.jsx)(s.Z,{title:"Peak viewer count",value:T,prefix:(0,a.jsx)(V,{})})})]}),(0,a.jsx)(H.j,{})]})}),(0,a.jsxs)(o.Z,{gutter:[16,16],className:"section stream-details-section",children:[(0,a.jsxs)(c.Z,{className:"stream-details",span:12,sm:24,md:24,lg:12,children:[(0,a.jsx)(i.Z,{size:"small",title:"Outbound Stream Details",type:"inner",className:"outbound-details",children:O}),(0,a.jsxs)(i.Z,{size:"small",title:"Inbound Stream Details",type:"inner",children:[(0,a.jsx)(s.Z,{className:"stream-details-item",title:"Input",value:"".concat(k," ").concat((0,F.t5)(C))}),(0,a.jsx)(s.Z,{className:"stream-details-item",title:"Inbound Video Stream",value:N,formatter:W}),(0,a.jsx)(s.Z,{className:"stream-details-item",title:"Inbound Audio Stream",value:K})]})]}),(0,a.jsx)(c.Z,{span:12,xs:24,sm:24,md:24,lg:12,children:(0,a.jsx)(A,{})})]})]}),(0,a.jsx)("br",{}),(0,a.jsx)(b.o,{logs:E,pageSize:5})]})}X.getLayout=function(e){return(0,a.jsx)(G.l,{page:e})}}},function(e){e.O(0,[173,164,2138,31,4931,5402,2231,7118,5818,9915,8883,6386,3698,3013,4398,8091,4381,5101,5938,4763,9863,710,6960,9774,2888,179],function(){return e(e.s=64830)}),_N_E=e.O()}]); +//# sourceMappingURL=admin-c57606e23e1286e2.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js.map b/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js.map new file mode 100644 index 000000000..e164fc797 --- /dev/null +++ b/static/web/_next/static/chunks/pages/admin-c57606e23e1286e2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/pages/admin-c57606e23e1286e2.js","mappings":"wUAQAA,EAAgCC,EAAAC,UAAgB,UAAAC,CAAA,CAAAC,CAAA,EAGhD,IAFAC,EAEAC,EAAAH,EAAAG,SAAA,CACAC,EAAAJ,EAAAI,WAAA,CACAC,EAAAL,EAAAK,SAAA,CACAC,EAAAN,EAAAM,KAAA,CACAC,EAAAP,EAAAO,QAAA,CACAC,EAAAR,EAAAQ,QAAA,CACAC,EAAAT,EAAAS,IAAA,CAEAC,EAAwBZ,EAAAa,QAAc,CAAAH,GAAAJ,GACtCQ,EAAyB,GAAAC,EAAAC,CAAA,EAAcJ,EAAA,GACvCK,EAAAH,CAAA,IACAI,EAAAJ,CAAA,UAQA,CANEd,EAAAmB,SAAe,YACjBb,CAAAA,GAAAI,CAAA,GACAQ,EAAA,GAEA,EAAG,CAAAZ,EAAAI,EAAA,EAEHO,GAIsBjB,EAAAoB,aAAmB,QACzCjB,IAAAA,EACAI,UAAec,IAAU,GAAAC,MAAA,CAAAjB,EAAA,YAAAD,CAAAA,EAAA,GAAsD,GAAAmB,EAAAP,CAAA,EAAeZ,EAAA,GAAAkB,MAAA,CAAAjB,EAAA,mBAA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AAQA,CAAAA,WAIf,GAAAP,EAAAxE,GAAA,EAAC6M,KAAAA,CAAAA,GACD,GAAArI,EAAAxE,GAAA,EAACI,EAAAA,CAAQA,CAAAA,CAACC,KAAM8I,EAAU7I,SAAU,MAG1C,CAEAwI,EAAKgE,SAAS,CAAG,SAAmBC,CAAkB,CAAE,CACtD,MAAO,GAAAvI,EAAAxE,GAAA,EAACgN,EAAAA,CAAWA,CAAAA,CAACD,KAAMA,GAC5B","sources":["webpack://_N_E/./node_modules/rc-collapse/es/PanelContent.js","webpack://_N_E/./node_modules/rc-collapse/es/Panel.js","webpack://_N_E/./node_modules/rc-collapse/es/Collapse.js","webpack://_N_E/./node_modules/rc-collapse/es/index.js","webpack://_N_E/./node_modules/antd/es/collapse/CollapsePanel.js","webpack://_N_E/./node_modules/antd/es/collapse/Collapse.js","webpack://_N_E/./node_modules/antd/es/collapse/index.js","webpack://_N_E/./node_modules/antd/es/skeleton/Element.js","webpack://_N_E/./node_modules/antd/es/skeleton/Avatar.js","webpack://_N_E/./node_modules/antd/es/skeleton/Button.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/DotChartOutlined.js","webpack://_N_E/./node_modules/antd/es/skeleton/Node.js","webpack://_N_E/./node_modules/antd/es/skeleton/Image.js","webpack://_N_E/./node_modules/antd/es/skeleton/Input.js","webpack://_N_E/./node_modules/antd/es/skeleton/Paragraph.js","webpack://_N_E/./node_modules/antd/es/skeleton/Title.js","webpack://_N_E/./node_modules/antd/es/skeleton/Skeleton.js","webpack://_N_E/./node_modules/antd/es/skeleton/index.js","webpack://_N_E/./node_modules/date-fns/esm/startOfDay/index.js","webpack://_N_E/./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack://_N_E/?a37b","webpack://_N_E/./components/admin/LogTable.tsx","webpack://_N_E/./components/admin/StreamHealthOverview.tsx","webpack://_N_E/./node_modules/date-fns/esm/formatRelative/index.js","webpack://_N_E/./components/admin/NewsFeed.tsx","webpack://_N_E/./components/admin/Offline.tsx","webpack://_N_E/./pages/admin/index.tsx","webpack://_N_E/"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\n\n/* eslint-disable no-underscore-dangle */\n\n/* eslint-disable react/prop-types */\nimport * as React from 'react';\nimport classnames from 'classnames';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classnames;\n\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role;\n\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n\n if (!rendered) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), (_classnames = {}, _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-active\"), isActive), _defineProperty(_classnames, \"\".concat(prefixCls, \"-content-inactive\"), !isActive), _classnames), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content-box\")\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"className\", \"id\", \"style\", \"prefixCls\", \"headerClass\", \"children\", \"isActive\", \"destroyInactivePanel\", \"accordion\", \"forceRender\", \"openMotion\", \"extra\", \"collapsible\"];\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport PanelContent from './PanelContent';\n\nvar CollapsePanel = /*#__PURE__*/function (_React$Component) {\n _inherits(CollapsePanel, _React$Component);\n\n var _super = _createSuper(CollapsePanel);\n\n function CollapsePanel() {\n var _this;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _this.onItemClick = function () {\n var _this$props = _this.props,\n onItemClick = _this$props.onItemClick,\n panelKey = _this$props.panelKey;\n\n if (typeof onItemClick === 'function') {\n onItemClick(panelKey);\n }\n };\n\n _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.onItemClick();\n }\n };\n\n _this.renderIcon = function () {\n var _this$props2 = _this.props,\n showArrow = _this$props2.showArrow,\n expandIcon = _this$props2.expandIcon,\n prefixCls = _this$props2.prefixCls,\n collapsible = _this$props2.collapsible;\n\n if (!showArrow) {\n return null;\n }\n\n var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n return iconNode && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-expand-icon\"),\n onClick: collapsible === 'header' || collapsible === 'icon' ? _this.onItemClick : null\n }, iconNode);\n };\n\n _this.renderTitle = function () {\n var _this$props3 = _this.props,\n header = _this$props3.header,\n prefixCls = _this$props3.prefixCls,\n collapsible = _this$props3.collapsible;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-header-text\"),\n onClick: collapsible === 'header' ? _this.onItemClick : null\n }, header);\n };\n\n return _this;\n }\n\n _createClass(CollapsePanel, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n return !shallowEqual(this.props, nextProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames, _classNames2;\n\n var _this$props4 = this.props,\n className = _this$props4.className,\n id = _this$props4.id,\n style = _this$props4.style,\n prefixCls = _this$props4.prefixCls,\n headerClass = _this$props4.headerClass,\n children = _this$props4.children,\n isActive = _this$props4.isActive,\n destroyInactivePanel = _this$props4.destroyInactivePanel,\n accordion = _this$props4.accordion,\n forceRender = _this$props4.forceRender,\n openMotion = _this$props4.openMotion,\n extra = _this$props4.extra,\n collapsible = _this$props4.collapsible,\n rest = _objectWithoutProperties(_this$props4, _excluded);\n\n var disabled = collapsible === 'disabled';\n var collapsibleHeader = collapsible === 'header';\n var collapsibleIcon = collapsible === 'icon';\n var itemCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-item\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-active\"), isActive), _defineProperty(_classNames, \"\".concat(prefixCls, \"-item-disabled\"), disabled), _classNames), className);\n var headerCls = classNames(\"\".concat(prefixCls, \"-header\"), (_classNames2 = {}, _defineProperty(_classNames2, headerClass, headerClass), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-header-collapsible-only\"), collapsibleHeader), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-icon-collapsible-only\"), collapsibleIcon), _classNames2));\n /** header 节点属性 */\n\n var headerProps = {\n className: headerCls,\n 'aria-expanded': isActive,\n 'aria-disabled': disabled,\n onKeyPress: this.handleKeyPress\n };\n\n if (!collapsibleHeader && !collapsibleIcon) {\n headerProps.onClick = this.onItemClick;\n headerProps.role = accordion ? 'tab' : 'button';\n headerProps.tabIndex = disabled ? -1 : 0;\n }\n\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797\n\n delete rest.header;\n delete rest.panelKey;\n delete rest.onItemClick;\n delete rest.showArrow;\n delete rest.expandIcon;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n className: itemCls,\n style: style,\n id: id\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, ref) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: ref,\n prefixCls: prefixCls,\n className: motionClassName,\n style: motionStyle,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children);\n }));\n }\n }]);\n\n return CollapsePanel;\n}(React.Component);\n\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/* eslint-disable react/prop-types */\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport * as React from 'react';\nimport shallowEqual from 'shallowequal';\nimport CollapsePanel from './Panel';\n\nfunction getActiveKeysArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n var activeKeyType = _typeof(currentActiveKey);\n\n currentActiveKey = activeKeyType === 'number' || activeKeyType === 'string' ? [currentActiveKey] : [];\n }\n\n return currentActiveKey.map(function (key) {\n return String(key);\n });\n}\n\nvar Collapse = /*#__PURE__*/function (_React$Component) {\n _inherits(Collapse, _React$Component);\n\n var _super = _createSuper(Collapse);\n\n function Collapse(_props) {\n var _this;\n\n _classCallCheck(this, Collapse);\n\n _this = _super.call(this, _props);\n\n _this.onClickItem = function (key) {\n var activeKey = _this.state.activeKey;\n\n if (_this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = _toConsumableArray(activeKey);\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n _this.setActiveKey(activeKey);\n };\n\n _this.getNewChild = function (child, index) {\n if (!child) return null;\n var activeKey = _this.state.activeKey;\n var _this$props = _this.props,\n prefixCls = _this$props.prefixCls,\n openMotion = _this$props.openMotion,\n accordion = _this$props.accordion,\n rootDestroyInactivePanel = _this$props.destroyInactivePanel,\n expandIcon = _this$props.expandIcon,\n collapsible = _this$props.collapsible; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n destroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var props = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel !== null && destroyInactivePanel !== void 0 ? destroyInactivePanel : rootDestroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: mergeCollapsible === 'disabled' ? null : _this.onClickItem,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n }; // https://github.com/ant-design/ant-design/issues/20479\n\n if (typeof child.type === 'string') {\n return child;\n }\n\n Object.keys(props).forEach(function (propName) {\n if (typeof props[propName] === 'undefined') {\n delete props[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, props);\n };\n\n _this.getItems = function () {\n var children = _this.props.children;\n return toArray(children).map(_this.getNewChild);\n };\n\n _this.setActiveKey = function (activeKey) {\n if (!('activeKey' in _this.props)) {\n _this.setState({\n activeKey: activeKey\n });\n }\n\n _this.props.onChange(_this.props.accordion ? activeKey[0] : activeKey);\n };\n\n var _activeKey = _props.activeKey,\n defaultActiveKey = _props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _props) {\n currentActiveKey = _activeKey;\n }\n\n _this.state = {\n activeKey: getActiveKeysArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props2 = this.props,\n prefixCls = _this$props2.prefixCls,\n className = _this$props2.className,\n style = _this$props2.style,\n accordion = _this$props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return /*#__PURE__*/React.createElement(\"div\", {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var newState = {};\n\n if ('activeKey' in nextProps) {\n newState.activeKey = getActiveKeysArray(nextProps.activeKey);\n }\n\n return newState;\n }\n }]);\n\n return Collapse;\n}(React.Component);\n\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nvar Panel = Collapse.Panel;\nexport { Panel };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n return /*#__PURE__*/React.createElement(RcCollapse.Panel, _extends({}, props, {\n prefixCls: prefixCls,\n className: collapsePanelClassName\n }));\n};\nexport default CollapsePanel;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport collapseMotion from '../_util/motion';\nimport { cloneElement } from '../_util/reactNode';\nimport warning from '../_util/warning';\nimport CollapsePanel from './CollapsePanel';\nvar Collapse = function Collapse(props) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var customizePrefixCls = props.prefixCls,\n _props$className = props.className,\n className = _props$className === void 0 ? '' : _props$className,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n ghost = props.ghost,\n _props$expandIconPosi = props.expandIconPosition,\n expandIconPosition = _props$expandIconPosi === void 0 ? 'start' : _props$expandIconPosi;\n var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n // Warning if use legacy type `expandIconPosition`\n process.env.NODE_ENV !== \"production\" ? warning(expandIconPosition !== 'left' && expandIconPosition !== 'right', 'Collapse', '`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.') : void 0;\n // Align with logic position\n var mergedExpandIconPosition = React.useMemo(function () {\n if (expandIconPosition === 'left') {\n return 'start';\n }\n return expandIconPosition === 'right' ? 'end' : expandIconPosition;\n }, [expandIconPosition]);\n var renderExpandIcon = function renderExpandIcon() {\n var panelProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var expandIcon = props.expandIcon;\n var icon = expandIcon ? expandIcon(panelProps) : /*#__PURE__*/React.createElement(RightOutlined, {\n rotate: panelProps.isActive ? 90 : undefined\n });\n return cloneElement(icon, function () {\n return {\n className: classNames(icon.props.className, \"\".concat(prefixCls, \"-arrow\"))\n };\n });\n };\n var collapseClassName = classNames(\"\".concat(prefixCls, \"-icon-position-\").concat(mergedExpandIconPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-borderless\"), !bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ghost\"), !!ghost), _classNames), className);\n var openMotion = _extends(_extends({}, collapseMotion), {\n motionAppear: false,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n });\n var getItems = function getItems() {\n var children = props.children;\n return toArray(children).map(function (child, index) {\n var _a;\n if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n var key = child.key || String(index);\n var _child$props = child.props,\n disabled = _child$props.disabled,\n collapsible = _child$props.collapsible;\n var childProps = _extends(_extends({}, omit(child.props, ['disabled'])), {\n key: key,\n collapsible: collapsible !== null && collapsible !== void 0 ? collapsible : disabled ? 'disabled' : undefined\n });\n return cloneElement(child, childProps);\n }\n return child;\n });\n };\n return /*#__PURE__*/React.createElement(RcCollapse, _extends({\n openMotion: openMotion\n }, props, {\n expandIcon: renderExpandIcon,\n prefixCls: prefixCls,\n className: collapseClassName\n }), getItems());\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = React.useMemo(function () {\n return typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n }, [size]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$shape = props.shape,\n shape = _props$shape === void 0 ? 'circle' : _props$shape,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls', 'className']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\"),\n shape: shape,\n size: size\n }, otherProps)));\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonButton = function SkeletonButton(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n _props$block = props.block,\n block = _props$block === void 0 ? false : _props$block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonButton;","// This icon file is generated automatically.\nvar DotChartOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"dot-chart\", \"theme\": \"outlined\" };\nexport default DotChartOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DotChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/DotChartOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar DotChartOutlined = function DotChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: DotChartOutlinedSvg\n }));\n};\nDotChartOutlined.displayName = 'DotChartOutlined';\nexport default /*#__PURE__*/React.forwardRef(DotChartOutlined);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar SkeletonNode = function SkeletonNode(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active,\n children = props.children;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n var content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, content));\n};\nexport default SkeletonNode;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\nvar SkeletonImage = function SkeletonImage(props) {\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n active = props.active;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n};\nexport default SkeletonImage;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nvar SkeletonInput = function SkeletonInput(props) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active,\n block = props.block,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-block\"), block), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\"),\n size: size\n }, otherProps)));\n};\nexport default SkeletonInput;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n if (Array.isArray(width)) {\n return width[index];\n }\n // last paragraph\n if (rows - 1 === index) {\n return width;\n }\n return undefined;\n };\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n/* eslint-disable jsx-a11y/heading-has-content */\nimport classNames from 'classnames';\nimport * as React from 'react';\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\nexport default Title;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonNode from './Node';\nimport Element from './Element';\nimport SkeletonImage from './Image';\nimport SkeletonInput from './Input';\nimport Paragraph from './Paragraph';\nimport Title from './Title';\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n return {};\n}\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n return {\n size: 'large',\n shape: 'circle'\n };\n}\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n return {};\n}\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {};\n // Width\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n }\n // Rows\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n return basicProps;\n}\nvar Skeleton = function Skeleton(props) {\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$avatar = props.avatar,\n avatar = _props$avatar === void 0 ? false : _props$avatar,\n _props$title = props.title,\n title = _props$title === void 0 ? true : _props$title,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? true : _props$paragraph,\n active = props.active,\n round = props.round;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n if (loading || !('loading' in props)) {\n var _classNames;\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph;\n // Avatar\n var avatarNode;\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar));\n // We direct use SkeletonElement as avatar in skeleton internal.\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, _extends({}, avatarProps)));\n }\n var contentNode;\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n $title = /*#__PURE__*/React.createElement(Title, _extends({}, titleProps));\n }\n // Paragraph\n var paragraphNode;\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, _extends({}, paragraphProps));\n }\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls,\n style: style\n }, avatarNode, contentNode);\n }\n return typeof children !== 'undefined' ? children : null;\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nSkeleton.Node = SkeletonNode;\nexport default Skeleton;","import Skeleton from './Skeleton';\nexport default Skeleton;","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/admin\",\n function () {\n return require(\"private-next-pages/admin/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/admin\"])\n });\n }\n ","import React, { FC } from 'react';\nimport { Table, Tag, Typography } from 'antd';\nimport Linkify from 'react-linkify';\nimport { SortOrder } from 'antd/lib/table/interface';\nimport format from 'date-fns/format';\n\nconst { Title } = Typography;\n\nfunction renderColumnLevel(text, entry) {\n let color = 'black';\n\n if (entry.level === 'warning') {\n color = 'orange';\n } else if (entry.level === 'error') {\n color = 'red';\n }\n\n return {text};\n}\n\nfunction renderMessage(text) {\n return {text};\n}\n\nexport type LogTableProps = {\n logs: object[];\n pageSize: number;\n};\n\nexport const LogTable: FC = ({ logs, pageSize }) => {\n if (!logs?.length) {\n return null;\n }\n const columns = [\n {\n title: 'Level',\n dataIndex: 'level',\n key: 'level',\n filters: [\n {\n text: 'Info',\n value: 'info',\n },\n {\n text: 'Warning',\n value: 'warning',\n },\n {\n text: 'Error',\n value: 'Error',\n },\n ],\n onFilter: (level, row) => row.level.indexOf(level) === 0,\n render: renderColumnLevel,\n },\n {\n title: 'Timestamp',\n dataIndex: 'time',\n key: 'time',\n render: timestamp => {\n const dateObject = new Date(timestamp);\n return format(dateObject, 'pp P');\n },\n sorter: (a, b) => new Date(a.time).getTime() - new Date(b.time).getTime(),\n sortDirections: ['descend', 'ascend'] as SortOrder[],\n defaultSortOrder: 'descend' as SortOrder,\n },\n {\n title: 'Message',\n dataIndex: 'message',\n key: 'message',\n render: renderMessage,\n },\n ];\n\n return (\n
\n Logs\n row.time}\n pagination={{ pageSize: pageSize || 20 }}\n />\n
\n );\n};\n","import { Alert, Button, Col, Row, Statistic, Typography } from 'antd';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport React, { FC, useContext } from 'react';\nimport { ServerStatusContext } from '../../utils/server-status-context';\n\n// Lazy loaded components\n\nconst CheckCircleOutlined = dynamic(() => import('@ant-design/icons/CheckCircleOutlined'), {\n ssr: false,\n});\n\nconst ExclamationCircleOutlined = dynamic(\n () => import('@ant-design/icons/ExclamationCircleOutlined'),\n {\n ssr: false,\n },\n);\n\nexport type StreamHealthOverviewProps = {\n showTroubleshootButton?: Boolean;\n};\n\nexport const StreamHealthOverview: FC = ({ showTroubleshootButton }) => {\n const serverStatusData = useContext(ServerStatusContext);\n const { health } = serverStatusData;\n if (!health) {\n return null;\n }\n\n const { healthy, healthPercentage, message, representation } = health;\n let color = '#3f8600';\n let icon: 'success' | 'info' | 'warning' | 'error' = 'info';\n if (healthPercentage < 80) {\n color = '#cf000f';\n icon = 'error';\n } else if (healthPercentage < 30) {\n color = '#f0ad4e';\n icon = 'error';\n }\n\n return (\n
\n \n \n : }\n />\n \n \n \n \n \n \n \n Stream health represents {representation}% of all known players. Other player status is\n unknown.\n \n \n \n \n \n \n \n )\n }\n />\n \n \n
\n );\n};\n\nStreamHealthOverview.defaultProps = {\n showTroubleshootButton: true,\n};\n","import { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport differenceInCalendarDays from \"../differenceInCalendarDays/index.js\";\nimport format from \"../format/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name formatRelative\n * @category Common Helpers\n * @summary Represent the date in words relative to the given base date.\n *\n * @description\n * Represent the date in words relative to the given base date.\n *\n * | Distance to the base date | Result |\n * |---------------------------|---------------------------|\n * | Previous 6 days | last Sunday at 04:30 AM |\n * | Last day | yesterday at 04:30 AM |\n * | Same day | today at 04:30 AM |\n * | Next day | tomorrow at 04:30 AM |\n * | Next 6 days | Sunday at 04:30 AM |\n * | Other | 12/31/2017 |\n *\n * @param {Date|Number} date - the date to format\n * @param {Date|Number} baseDate - the date to compare with\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {String} the date in words\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `baseDate` must not be Invalid Date\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.locale` must contain `formatRelative` property\n *\n * @example\n * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday\n * const result = formatRelative(addDays(new Date(), -6), new Date())\n * //=> \"last Thursday at 12:45 AM\"\n */\n\nexport default function formatRelative(dirtyDate, dirtyBaseDate, options) {\n var _ref, _options$locale, _ref2, _ref3, _ref4, _options$weekStartsOn, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2;\n\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var baseDate = toDate(dirtyBaseDate);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n var weekStartsOn = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.weekStartsOn) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : 0);\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n if (!locale.formatRelative) {\n throw new RangeError('locale must contain formatRelative property');\n }\n\n var diff = differenceInCalendarDays(date, baseDate);\n\n if (isNaN(diff)) {\n throw new RangeError('Invalid time value');\n }\n\n var token;\n\n if (diff < -6) {\n token = 'other';\n } else if (diff < -1) {\n token = 'lastWeek';\n } else if (diff < 0) {\n token = 'yesterday';\n } else if (diff < 1) {\n token = 'today';\n } else if (diff < 2) {\n token = 'tomorrow';\n } else if (diff < 7) {\n token = 'nextWeek';\n } else {\n token = 'other';\n }\n\n var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));\n var utcBaseDate = subMilliseconds(baseDate, getTimezoneOffsetInMilliseconds(baseDate));\n var formatStr = locale.formatRelative(token, utcDate, utcBaseDate, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n return format(date, formatStr, {\n locale: locale,\n weekStartsOn: weekStartsOn\n });\n}","/* eslint-disable camelcase */\n/* eslint-disable react/no-danger */\nimport React, { useState, useEffect, FC } from 'react';\nimport { Collapse, Typography, Skeleton } from 'antd';\nimport format from 'date-fns/format';\n\nimport { fetchExternalData } from '../../utils/apis';\n\nconst { Panel } = Collapse;\nconst { Title, Link } = Typography;\n\nconst OWNCAST_FEED_URL = 'https://owncast.online/news/index.json';\nconst OWNCAST_BASE_URL = 'https://owncast.online';\n\nexport type ArticleProps = {\n title: string;\n url: string;\n content_html: string;\n date_published: string;\n};\n\nconst ArticleItem: FC = ({\n title,\n url,\n content_html: content,\n date_published: date,\n}) => {\n const dateObject = new Date(date);\n const dateString = format(dateObject, 'MMM dd, yyyy, HH:mm');\n return (\n
\n \n \n

\n {dateString} (\n \n Link\n \n )\n

\n
\n \n \n
\n );\n};\n\nexport const NewsFeed = () => {\n const [feed, setFeed] = useState([]);\n const [loading, setLoading] = useState(true);\n\n const getFeed = async () => {\n setLoading(false);\n\n try {\n const result = await fetchExternalData(OWNCAST_FEED_URL);\n if (result?.items.length > 0) {\n setFeed(result.items);\n }\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n getFeed();\n }, []);\n\n const loadingSpinner = loading ? : null;\n const noNews = !loading && feed.length === 0 ?
No news.
: null;\n\n return (\n
\n News & Updates from Owncast\n {loadingSpinner}\n {feed.map(item => (\n \n ))}\n\n {noNews}\n
\n );\n};\n","import { Card, Col, Row, Typography } from 'antd';\nimport Link from 'next/link';\nimport { FC, useContext } from 'react';\nimport dynamic from 'next/dynamic';\nimport { LogTable } from './LogTable';\nimport { OwncastLogo } from '../common/OwncastLogo/OwncastLogo';\nimport { NewsFeed } from './NewsFeed';\nimport { ConfigDetails } from '../../types/config-section';\nimport { ServerStatusContext } from '../../utils/server-status-context';\n\nconst { Paragraph, Text } = Typography;\n\nconst { Title } = Typography;\nconst { Meta } = Card;\n\n// Lazy loaded components\n\nconst BookTwoTone = dynamic(() => import('@ant-design/icons/BookTwoTone'), {\n ssr: false,\n});\n\nconst MessageTwoTone = dynamic(() => import('@ant-design/icons/MessageTwoTone'), {\n ssr: false,\n});\n\nconst PlaySquareTwoTone = dynamic(() => import('@ant-design/icons/PlaySquareTwoTone'), {\n ssr: false,\n});\n\nconst ProfileTwoTone = dynamic(() => import('@ant-design/icons/ProfileTwoTone'), {\n ssr: false,\n});\n\nfunction generateStreamURL(serverURL, rtmpServerPort) {\n return `rtmp://${serverURL.replace(/(^\\w+:|^)\\/\\//, '')}:${rtmpServerPort}/live`;\n}\n\nexport type OfflineProps = {\n logs: any[];\n config: ConfigDetails;\n};\n\nexport const Offline: FC = ({ logs = [], config }) => {\n const serverStatusData = useContext(ServerStatusContext);\n\n const { serverConfig } = serverStatusData || {};\n const { rtmpServerPort } = serverConfig;\n const instanceUrl = global.window?.location.hostname || '';\n\n let rtmpURL;\n if (instanceUrl && rtmpServerPort) {\n rtmpURL = generateStreamURL(instanceUrl, rtmpServerPort);\n }\n\n const data = [\n {\n icon: ,\n title: 'Use your broadcasting software',\n content: (\n
\n \n Learn how to point your existing software to your new server and start streaming your\n content.\n \n
\n \n Streaming URL:\n \n {rtmpURL && (\n \n {rtmpURL}\n \n )}\n \n Streaming Keys:\n \n \n View \n \n
\n
\n ),\n },\n {\n icon: ,\n title: 'Embed your video onto other sites',\n content: (\n
\n \n Learn how you can add your Owncast stream to other sites you control.\n \n
\n ),\n },\n ];\n\n if (!config?.chatDisabled) {\n data.push({\n icon: ,\n title: 'Chat is disabled',\n content: Chat will continue to be disabled until you begin a live stream.,\n });\n }\n\n if (!config?.yp?.enabled) {\n data.push({\n icon: ,\n title: 'Find an audience on the Owncast Directory',\n content: (\n
\n List yourself in the Owncast Directory and show off your stream. Enable it in{' '}\n settings.\n
\n ),\n });\n }\n\n if (!config?.federation?.enabled) {\n data.push({\n icon: \"fediverse\",\n title: 'Add your Owncast instance to the Fediverse',\n content: (\n
\n Enable Owncast social features to have your\n instance join the Fediverse, allowing people to follow, share and engage with your live\n stream.\n
\n ),\n });\n }\n\n return (\n <>\n \n \n
\n \n \n \n
\n No stream is active\n

You should start one.

\n
\n
\n \n
\n \n \n {data.map(item => (\n \n \n \n ))}\n \n \n \n \n \n \n \n );\n};\nexport default Offline;\n","/* eslint-disable @next/next/no-css-tags */\nimport React, { useState, useEffect, useContext, ReactElement } from 'react';\nimport { Skeleton, Card, Statistic, Row, Col } from 'antd';\nimport { formatDistanceToNow, formatRelative } from 'date-fns';\nimport dynamic from 'next/dynamic';\nimport { ServerStatusContext } from '../../utils/server-status-context';\nimport { LogTable } from '../../components/admin/LogTable';\nimport { Offline } from '../../components/admin/Offline';\nimport { StreamHealthOverview } from '../../components/admin/StreamHealthOverview';\n\nimport { LOGS_WARN, fetchData, FETCH_INTERVAL } from '../../utils/apis';\nimport { formatIPAddress, isEmptyObject } from '../../utils/format';\nimport { NewsFeed } from '../../components/admin/NewsFeed';\n\nimport { AdminLayout } from '../../components/layouts/AdminLayout';\n\n// Lazy loaded components\n\nconst UserOutlined = dynamic(() => import('@ant-design/icons/UserOutlined'), {\n ssr: false,\n});\n\nconst ClockCircleOutlined = dynamic(() => import('@ant-design/icons/ClockCircleOutlined'), {\n ssr: false,\n});\n\nfunction streamDetailsFormatter(streamDetails) {\n return (\n
    \n
  • \n {streamDetails.videoCodec || 'Unknown'} @ {streamDetails.videoBitrate || 'Unknown'} kbps\n
  • \n
  • {streamDetails.framerate || 'Unknown'} fps
  • \n
  • \n {streamDetails.width} x {streamDetails.height}\n
  • \n
\n );\n}\n\nexport default function Home() {\n const serverStatusData = useContext(ServerStatusContext);\n const { broadcaster, serverConfig: configData } = serverStatusData || {};\n const { remoteAddr, streamDetails } = broadcaster || {};\n\n const encoder = streamDetails?.encoder || 'Unknown encoder';\n\n const [logsData, setLogs] = useState([]);\n const getLogs = async () => {\n try {\n const result = await fetchData(LOGS_WARN);\n setLogs(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n const getMoreStats = () => {\n getLogs();\n };\n\n useEffect(() => {\n getMoreStats();\n\n let intervalId = null;\n intervalId = setInterval(getMoreStats, FETCH_INTERVAL);\n\n return () => {\n clearInterval(intervalId);\n };\n }, []);\n\n if (isEmptyObject(configData) || isEmptyObject(serverStatusData)) {\n return (\n <>\n \n \n \n \n );\n }\n\n if (!broadcaster) {\n return ;\n }\n\n // map out settings\n const videoQualitySettings = serverStatusData?.currentBroadcast?.outputSettings?.map(setting => {\n const { audioPassthrough, videoPassthrough, audioBitrate, videoBitrate, framerate } = setting;\n\n const audioSetting = audioPassthrough\n ? `${streamDetails.audioCodec || 'Unknown'}, ${streamDetails.audioBitrate} kbps`\n : `${audioBitrate || 'Unknown'} kbps`;\n\n const videoSetting = videoPassthrough\n ? `${streamDetails.videoBitrate || 'Unknown'} kbps, ${streamDetails.framerate} fps ${\n streamDetails.width\n } x ${streamDetails.height}`\n : `${videoBitrate || 'Unknown'} kbps, ${framerate} fps`;\n\n return (\n
\n \n \n
\n );\n });\n\n // inbound\n const { viewerCount, sessionPeakViewerCount } = serverStatusData;\n\n const streamAudioDetailString = `${streamDetails.audioCodec}, ${\n streamDetails.audioBitrate || 'Unknown'\n } kbps`;\n\n const broadcastDate = new Date(broadcaster.time);\n\n return (\n
\n
\n
\n \n \n \n }\n />\n \n \n } />\n \n \n }\n />\n \n \n \n \n
\n\n \n \n \n {videoQualitySettings}\n \n\n \n \n \n \n \n \n\n \n \n \n \n
\n
\n \n
\n );\n}\n\nHome.getLayout = function getLayout(page: ReactElement) {\n return ;\n};\n"],"names":["PanelContent","react","forwardRef","props","ref","_classnames","prefixCls","forceRender","className","style","children","isActive","role","_React$useState","useState","_React$useState2","slicedToArray","Z","rendered","setRendered","useEffect","createElement","classnames_default","concat","defineProperty","displayName","_excluded","CollapsePanel","_React$Component","inherits","_super","createSuper","_this","classCallCheck","_len","arguments","length","args","_key","call","apply","onItemClick","_this$props","panelKey","handleKeyPress","e","key","keyCode","which","renderIcon","_this$props2","showArrow","expandIcon","collapsible","iconNode","onClick","renderTitle","_this$props3","header","createClass","value","nextProps","shallowequal_default","_classNames","_classNames2","_this$props4","id","headerClass","destroyInactivePanel","accordion","openMotion","extra","rest","objectWithoutProperties","disabled","collapsibleHeader","collapsibleIcon","itemCls","headerProps","onKeyPress","tabIndex","esm_extends","ifExtraExist","es","visible","leavedClassName","removeOnLeave","_ref","motionClassName","motionStyle","Component","getActiveKeysArray","activeKey","currentActiveKey","Array","isArray","activeKeyType","esm_typeof","map","String","defaultProps","Collapse","_props","onClickItem","state","index","toConsumableArray","indexOf","splice","push","setActiveKey","getNewChild","child","rootDestroyInactivePanel","_child$props","childCollapsible","mergeCollapsible","type","Object","keys","forEach","propName","cloneElement","getItems","toArray","setState","onChange","_activeKey","defaultActiveKey","nextState","collapseClassName","newState","Panel","es_Collapse","Collapse_Collapse","_React$useContext","useContext","context","E_","getPrefixCls","direction","customizePrefixCls","_props$className","_props$bordered","bordered","ghost","_props$expandIconPosi","expandIconPosition","mergedExpandIconPosition","useMemo","motion","ZP","motionAppear","panelProps","undefined","icon","RightOutlined","rotate","reactNode","Tm","_a","childProps","omit","_props$showArrow","collapsePanelClassName","rc_collapse_es","collapse","skeleton_Element","size","shape","sizeCls","shapeCls","sizeStyle","width","height","lineHeight","asn_DotChartOutlined","DotChartOutlined_DotChartOutlined","AntdIcon","objectSpread2","icons_DotChartOutlined","skeleton_Paragraph","getWidth","_props$rows","rows","rowList","_","skeleton_Title","getComponentProps","prop","Skeleton","loading","_props$avatar","avatar","_props$title","title","_props$paragraph","paragraph","active","round","hasAvatar","hasTitle","hasParagraph","avatarProps","avatarNode","contentNode","$title","paragraphNode","titleProps","basicProps","paragraphProps","cls","Button","_props$block","block","_props$size","otherProps","Avatar","_props$shape","Input","Image","viewBox","xmlns","d","Node","content","skeleton","startOfDay","dirtyDate","requiredArgs","date","toDate","setHours","differenceInCalendarDays","dirtyDateLeft","dirtyDateRight","startOfDayLeft","startOfDayRight","Math","timestampLeft","getTime","getTimezoneOffsetInMilliseconds","window","__NEXT_P","__webpack_require__","Title","Typography","renderColumnLevel","text","entry","color","level","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Tag","renderMessage","Linkify","LogTable","logs","pageSize","param","jsxs","div","Table","dataSource","columns","dataIndex","filters","onFilter","row","render","timestamp","dateObject","Date","format","sorter","a","b","time","sortDirections","defaultSortOrder","rowKey","pagination","CheckCircleOutlined","dynamic","Promise","all","then","t","bind","ssr","ExclamationCircleOutlined","StreamHealthOverview","showTroubleshootButton","serverStatusData","ServerStatusContext","health","healthy","healthPercentage","message","representation","Row","gutter","Col","span","Statistic","valueStyle","prefix","suffix","display","textAlign","fontSize","opacity","marginTop","Alert","showIcon","action","Link","passHref","href","ArticleItem","url","content_html","date_published","dateString","jsx_runtime","article","p","target","rel","dangerouslySetInnerHTML","__html","NewsFeed","feed","setFeed","setLoading","getFeed","result","fetchExternalData","items","error","console","log","loadingSpinner","noNews","section","item","Paragraph","Text","Meta","Card","BookTwoTone","MessageTwoTone","PlaySquareTwoTone","ProfileTwoTone","Offline","global","config","rtmpURL","serverConfig","rtmpServerPort","instanceUrl","location","hostname","serverURL","replace","data","twoToneColor","strong","copyable","chatDisabled","yp","enabled","federation","img","alt","src","Fragment","offset","OwncastLogo","variant","xs","sm","md","lg","description","UserOutlined","ClockCircleOutlined","streamDetailsFormatter","streamDetails","ul","li","videoCodec","videoBitrate","framerate","Home","broadcaster","configData","remoteAddr","encoder","logsData","setLogs","getLogs","fetchData","LOGS_WARN","getMoreStats","intervalId","setInterval","FETCH_INTERVAL","clearInterval","isEmptyObject","videoQualitySettings","currentBroadcast","outputSettings","setting","audioPassthrough","videoPassthrough","audioBitrate","audioSetting","audioCodec","videoSetting","viewerCount","sessionPeakViewerCount","streamAudioDetailString","broadcastDate","align","formatRelative","dirtyBaseDate","options","_options$locale","_ref2","_ref3","_ref4","_options$weekStartsOn","_options$locale2","_options$locale2$opti","_defaultOptions$local","_defaultOptions$local2","baseDate","defaultOptions","_lib_defaultOptions","j","locale","defaultLocale","weekStartsOn","toInteger","localize","formatLong","diff","isNaN","utcDate","subMilliseconds","utcBaseDate","formatStr","now","formatDistanceToNow","formatIPAddress","formatter","br","getLayout","page","AdminLayout"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/admin/access-tokens-d95f0a6bb106bf40.js.map b/static/web/_next/static/chunks/pages/admin/access-tokens-d95f0a6bb106bf40.js.map deleted file mode 100644 index 8dffd86bb..000000000 --- a/static/web/_next/static/chunks/pages/admin/access-tokens-d95f0a6bb106bf40.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/pages/admin/access-tokens-d95f0a6bb106bf40.js","mappings":"2HACAA,CAAAA,EAAA,EAAeC,EAAAC,CAAG,qCCAlB,IAAAC,EAA8B,GAAAC,SAAAC,aAAA,EAAa,GAC3CL,CAAAA,EAAA,EAAeG,+HCCfG,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAP,EAAAG,IAAAF,EAAAA,EAAAO,OAAA,CAAAL,IAAAD,CAAAA,CAAA,CAAAC,EAAA,CAAAH,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,MAAOE,CAAAA,EAAAA,EAAAA,CAAAA,EAAOD,EAAY,MAC5B,CACF,EACD,CAmC2CE,WAAY1C,EAAQ2C,WAAY,KACxE,GAAAzD,EAAAC,GAAA,EAACyD,KAAAA,CAAAA,GACD,GAAA1D,EAAAC,GAAA,EAACW,EAAAA,CAAMA,CAAAA,CAACzI,KAAK,UAAUO,QAASqJ,WAAsB,wBAGtD,GAAA/B,EAAAC,GAAA,EAAChB,EAAAA,CACCG,KAAM4B,EACN9B,KAAM8C,EACN7C,SAAU8C,MAIlB,CACAtX,CAAAA,EAAA,QAAekW","sources":["webpack://_N_E/./node_modules/antd/es/col/index.js","webpack://_N_E/./node_modules/antd/es/grid/RowContext.js","webpack://_N_E/./node_modules/antd/es/grid/col.js","webpack://_N_E/./node_modules/antd/es/grid/row.js","webpack://_N_E/./node_modules/antd/es/row/index.js","webpack://_N_E/./node_modules/antd/es/spin/index.js","webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/./node_modules/lodash/_Symbol.js","webpack://_N_E/./node_modules/lodash/_baseGetTag.js","webpack://_N_E/./node_modules/lodash/_baseTrim.js","webpack://_N_E/./node_modules/lodash/_freeGlobal.js","webpack://_N_E/./node_modules/lodash/_getRawTag.js","webpack://_N_E/./node_modules/lodash/_objectToString.js","webpack://_N_E/./node_modules/lodash/_root.js","webpack://_N_E/./node_modules/lodash/_trimmedEndIndex.js","webpack://_N_E/./node_modules/lodash/debounce.js","webpack://_N_E/./node_modules/lodash/isObject.js","webpack://_N_E/./node_modules/lodash/isObjectLike.js","webpack://_N_E/./node_modules/lodash/isSymbol.js","webpack://_N_E/./node_modules/lodash/now.js","webpack://_N_E/./node_modules/lodash/toNumber.js","webpack://_N_E/?157f","webpack://_N_E/./pages/admin/access-tokens.tsx","webpack://_N_E/"],"sourcesContent":["import { Col } from '../grid';\nexport default Col;","import { createContext } from 'react';\nvar RowContext = /*#__PURE__*/createContext({});\nexport default RowContext;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return \"\".concat(flex, \" \").concat(flex, \" auto\");\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return \"0 0 \".concat(flex);\n }\n return flex;\n}\nvar sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nvar Col = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useContext2 = React.useContext(RowContext),\n gutter = _React$useContext2.gutter,\n wrap = _React$useContext2.wrap,\n supportFlexGap = _React$useContext2.supportFlexGap;\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n flex = props.flex,\n style = props.style,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n sizes.forEach(function (size) {\n var _extends2;\n var sizeProps = {};\n var propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (_typeof(propSize) === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = _extends(_extends({}, sizeClassObj), (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n var mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n var horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n var verticalGutter = gutter[1] / 2;\n mergedStyle.paddingTop = verticalGutter;\n mergedStyle.paddingBottom = verticalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n style: _extends(_extends({}, mergedStyle), style),\n className: classes,\n ref: ref\n }), children);\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nimport { tuple } from '../_util/type';\nimport RowContext from './RowContext';\nvar RowAligns = tuple('top', 'middle', 'bottom', 'stretch');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');\nfunction useMergePropByScreen(oriProp, screen) {\n var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prop = _React$useState2[0],\n setProp = _React$useState2[1];\n var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {\n if (_typeof(oriProp) !== 'object') {\n return;\n }\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen[breakpoint]) continue;\n var curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(function () {\n clacMergeAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nvar Row = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var customizePrefixCls = props.prefixCls,\n justify = props.justify,\n align = props.align,\n className = props.className,\n style = props.style,\n children = props.children,\n _props$gutter = props.gutter,\n gutter = _props$gutter === void 0 ? 0 : _props$gutter,\n wrap = props.wrap,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState3 = React.useState({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n screens = _React$useState4[0],\n setScreens = _React$useState4[1];\n // to save screens info when responsiveObserve callback had been call\n var _React$useState5 = React.useState({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false\n }),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n curScreens = _React$useState6[0],\n setCurScreens = _React$useState6[1];\n // ================================== calc reponsive data ==================================\n var mergeAlign = useMergePropByScreen(align, curScreens);\n var mergeJustify = useMergePropByScreen(justify, curScreens);\n var supportFlexGap = useFlexGapSupport();\n var gutterRef = React.useRef(gutter);\n // ================================== Effect ==================================\n React.useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (screen) {\n setCurScreens(screen);\n var currentGutter = gutterRef.current || 0;\n if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {\n setScreens(screen);\n }\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n // ================================== Render ==================================\n var getGutter = function getGutter() {\n var results = [undefined, undefined];\n var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];\n normalizedGutter.forEach(function (g, index) {\n if (_typeof(g) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint];\n break;\n }\n }\n } else {\n results[index] = g;\n }\n });\n return results;\n };\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n var gutters = getGutter();\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-no-wrap\"), wrap === false), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeJustify), mergeJustify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergeAlign), mergeAlign), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // Add gutter related style\n var rowStyle = {};\n var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n var _gutters = _slicedToArray(gutters, 2);\n rowStyle.rowGap = _gutters[1];\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter;\n rowStyle.marginBottom = verticalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n var _gutters2 = _slicedToArray(gutters, 2),\n gutterH = _gutters2[0],\n gutterV = _gutters2[1];\n var rowContext = React.useMemo(function () {\n return {\n gutter: [gutterH, gutterV],\n wrap: wrap,\n supportFlexGap: supportFlexGap\n };\n }, [gutterH, gutterV, wrap, supportFlexGap]);\n return /*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classes,\n style: _extends(_extends({}, rowStyle), style),\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;","import { Row } from '../grid';\nexport default Row;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport debounce from 'lodash/debounce';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigConsumer, ConfigContext } from '../config-provider';\nimport { cloneElement, isValidElement } from '../_util/reactNode';\nimport { tuple } from '../_util/type';\nvar SpinSizes = tuple('small', 'default', 'large');\n// Render indicator\nvar defaultIndicator = null;\nfunction renderIndicator(prefixCls, props) {\n var indicator = props.indicator;\n var dotClassName = \"\".concat(prefixCls, \"-dot\");\n // should not be render default indicator when indicator value is null\n if (indicator === null) {\n return null;\n }\n if (isValidElement(indicator)) {\n return cloneElement(indicator, {\n className: classNames(indicator.props.className, dotClassName)\n });\n }\n if (isValidElement(defaultIndicator)) {\n return cloneElement(defaultIndicator, {\n className: classNames(defaultIndicator.props.className, dotClassName)\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, \"\".concat(prefixCls, \"-dot-spin\"))\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }), /*#__PURE__*/React.createElement(\"i\", {\n className: \"\".concat(prefixCls, \"-dot-item\")\n }));\n}\nfunction shouldDelay(spinning, delay) {\n return !!spinning && !!delay && !isNaN(Number(delay));\n}\nvar Spin = function Spin(props) {\n var prefixCls = props.spinPrefixCls,\n _props$spinning = props.spinning,\n customSpinning = _props$spinning === void 0 ? true : _props$spinning,\n delay = props.delay,\n className = props.className,\n _props$size = props.size,\n size = _props$size === void 0 ? 'default' : _props$size,\n tip = props.tip,\n wrapperClassName = props.wrapperClassName,\n style = props.style,\n children = props.children,\n restProps = __rest(props, [\"spinPrefixCls\", \"spinning\", \"delay\", \"className\", \"size\", \"tip\", \"wrapperClassName\", \"style\", \"children\"]);\n var _React$useState = React.useState(function () {\n return customSpinning && !shouldDelay(customSpinning, delay);\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n spinning = _React$useState2[0],\n setSpinning = _React$useState2[1];\n React.useEffect(function () {\n var updateSpinning = debounce(function () {\n setSpinning(customSpinning);\n }, delay);\n updateSpinning();\n return function () {\n var _a;\n (_a = updateSpinning === null || updateSpinning === void 0 ? void 0 : updateSpinning.cancel) === null || _a === void 0 ? void 0 : _a.call(updateSpinning);\n };\n }, [delay, customSpinning]);\n var isNestedPattern = function isNestedPattern() {\n return typeof children !== 'undefined';\n };\n var renderSpin = function renderSpin(_ref) {\n var _classNames;\n var direction = _ref.direction;\n var spinClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-spinning\"), spinning), _defineProperty(_classNames, \"\".concat(prefixCls, \"-show-text\"), !!tip), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n // fix https://fb.me/react-unknown-prop\n var divProps = omit(restProps, ['indicator', 'prefixCls']);\n var spinElement = /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n style: style,\n className: spinClassName,\n \"aria-live\": \"polite\",\n \"aria-busy\": spinning\n }), renderIndicator(prefixCls, props), tip ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-text\")\n }, tip) : null);\n if (isNestedPattern()) {\n var containerClassName = classNames(\"\".concat(prefixCls, \"-container\"), _defineProperty({}, \"\".concat(prefixCls, \"-blur\"), spinning));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classNames(\"\".concat(prefixCls, \"-nested-loading\"), wrapperClassName)\n }), spinning && /*#__PURE__*/React.createElement(\"div\", {\n key: \"loading\"\n }, spinElement), /*#__PURE__*/React.createElement(\"div\", {\n className: containerClassName,\n key: \"container\"\n }, children));\n }\n return spinElement;\n };\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSpin);\n};\nvar SpinFC = function SpinFC(props) {\n var customizePrefixCls = props.prefixCls;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var spinPrefixCls = getPrefixCls('spin', customizePrefixCls);\n var spinClassProps = _extends(_extends({}, props), {\n spinPrefixCls: spinPrefixCls\n });\n return /*#__PURE__*/React.createElement(Spin, _extends({}, spinClassProps));\n};\nSpinFC.setDefaultIndicator = function (indicator) {\n defaultIndicator = indicator;\n};\nif (process.env.NODE_ENV !== 'production') {\n SpinFC.displayName = 'Spin';\n}\nexport default SpinFC;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/admin/access-tokens\",\n function () {\n return require(\"private-next-pages/admin/access-tokens.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/admin/access-tokens\"])\n });\n }\n ","import React, { useState, useEffect } from 'react';\nimport {\n Table,\n Tag,\n Space,\n Button,\n Modal,\n Checkbox,\n Input,\n Typography,\n Row,\n Col,\n Tooltip,\n} from 'antd';\n\nimport format from 'date-fns/format';\n\nimport dynamic from 'next/dynamic';\nimport {\n fetchData,\n ACCESS_TOKENS,\n DELETE_ACCESS_TOKEN,\n CREATE_ACCESS_TOKEN,\n} from '../../utils/apis';\n\nconst { Title, Paragraph } = Typography;\n\n// Lazy loaded components\n\nconst DeleteOutlined = dynamic(() => import('@ant-design/icons/DeleteOutlined'), {\n ssr: false,\n});\n\nconst availableScopes = {\n CAN_SEND_SYSTEM_MESSAGES: {\n name: 'System messages',\n description: 'Can send official messages on behalf of the system.',\n color: 'purple',\n },\n CAN_SEND_MESSAGES: {\n name: 'User chat messages',\n description: 'Can send chat messages on behalf of the owner of this token.',\n color: 'green',\n },\n HAS_ADMIN_ACCESS: {\n name: 'Has admin access',\n description: 'Can perform administrative actions such as moderation, get server statuses, etc.',\n color: 'red',\n },\n};\n\nfunction convertScopeStringToTag(scopeString: string) {\n if (!scopeString || !availableScopes[scopeString]) {\n return null;\n }\n\n const scope = availableScopes[scopeString];\n\n return (\n \n {scope.name}\n \n );\n}\n\ninterface Props {\n onCancel: () => void;\n onOk: any; // todo: make better type\n open: boolean;\n}\nconst NewTokenModal = (props: Props) => {\n const { onOk, onCancel, open } = props;\n const [selectedScopes, setSelectedScopes] = useState([]);\n const [name, setName] = useState('');\n\n const scopes = Object.keys(availableScopes).map(key => ({\n value: key,\n label: availableScopes[key].description,\n }));\n\n function onChange(checkedValues) {\n setSelectedScopes(checkedValues);\n }\n\n function saveToken() {\n onOk(name, selectedScopes);\n\n // Clear the modal\n setSelectedScopes([]);\n setName('');\n }\n\n const okButtonProps = {\n disabled: selectedScopes.length === 0 || name === '',\n };\n\n function selectAll() {\n setSelectedScopes(Object.keys(availableScopes));\n }\n const checkboxes = scopes.map(singleEvent => (\n \n {singleEvent.label}\n \n ));\n\n return (\n \n

\n

\n The name will be displayed as the chat user when sending messages with this access token.\n

\n setName(input.currentTarget.value)}\n />\n

\n\n

\n Select the permissions this access token will have. It cannot be edited after it's\n created.\n

\n \n {checkboxes}\n \n\n

\n \n

\n \n );\n};\n\nconst AccessTokens = () => {\n const [tokens, setTokens] = useState([]);\n const [isTokenModalOpen, setIsTokenModalOpen] = useState(false);\n\n function handleError(error) {\n console.error('error', error);\n }\n\n async function getAccessTokens() {\n try {\n const result = await fetchData(ACCESS_TOKENS);\n setTokens(result);\n } catch (error) {\n handleError(error);\n }\n }\n useEffect(() => {\n getAccessTokens();\n }, []);\n\n async function handleDeleteToken(token) {\n try {\n await fetchData(DELETE_ACCESS_TOKEN, {\n method: 'POST',\n data: { token },\n });\n getAccessTokens();\n } catch (error) {\n handleError(error);\n }\n }\n\n async function handleSaveToken(name: string, scopes: string[]) {\n try {\n const newToken = await fetchData(CREATE_ACCESS_TOKEN, {\n method: 'POST',\n data: { name, scopes },\n });\n setTokens(tokens.concat(newToken));\n } catch (error) {\n handleError(error);\n }\n }\n\n const columns = [\n {\n title: '',\n key: 'delete',\n render: (text, record) => (\n \n

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No data

diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index 2944ffdb0..16c64f489 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

diff --git a/static/web/admin/chat/emojis/index.html b/static/web/admin/chat/emojis/index.html index 701214d5c..beeaac3af 100644 --- a/static/web/admin/chat/emojis/index.html +++ b/static/web/admin/chat/emojis/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index 4f1a5051c..066c2d340 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index d169d034e..a6460509a 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index d4bfa399b..5c4fa8ddc 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index cb5c8634e..bf9538da7 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index 70413b6dc..e9c6931a0 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index 4eb474898..4807a9ef3 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Social Items

diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index 327b3b94f..8f9475c2b 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

diff --git a/static/web/admin/config/general/index.html b/static/web/admin/config/general/index.html index 9b07657f8..f9743322b 100644 --- a/static/web/admin/config/general/index.html +++ b/static/web/admin/config/general/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


diff --git a/static/web/admin/config/server/index.html b/static/web/admin/config/server/index.html index 733d5a47b..3bb80d806 100644 --- a/static/web/admin/config/server/index.html +++ b/static/web/admin/config/server/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

You should change your admin password from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

You should change your admin password from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index e00c82281..112a8f23e 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index 1ccf547e9..cead73991 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 37fcb2cc3..21a17b30a 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index 2f9fec1d1..24fd0c8eb 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
diff --git a/static/web/admin/index.html b/static/web/admin/index.html index 6bd38130b..ecb7d77a6 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 8a0ddfde9..18157567b 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index 2690235ca..1c9821d6d 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index bb77f2c3d..2b4bfdf4d 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index c401a0eda..c9123179f 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 0389954c2..ee227944a 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 9c99f4710..b5a0d600c 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1,4 +1,4 @@ -
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/
diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index c0c89b6b5..209dc121e 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1,4 +1,4 @@ -
+ /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7a5cf3}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:var(--theme-color-background-main);border:1px dashed #d9d9d9;border-radius:var(--theme-rounded-corners);cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5d38f3}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#7a5cf3}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#7a5cf3;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:22.001px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45);transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:rgba(0,0,0,.85)}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:var(--theme-rounded-corners)}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:var(--theme-color-background-main)}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;margin:0;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:forwards}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-ext-300-normal.dd767a43.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-cyrillic-300-normal.4257dcdd.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-ext-300-normal.00c84111.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-greek-300-normal.1b19c167.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-hebrew-300-normal.62eb227b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-vietnamese-300-normal.a7a937b7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-ext-300-normal.32c17799.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:300;src:url(/_next/static/media/open-sans-latin-300-normal.baf352cb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-300-normal.7ee52f83.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-ext-400-normal.6a6d236f.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-cyrillic-400-normal.78c382a3.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-ext-400-normal.46d1f7b1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-greek-400-normal.6cfbac38.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-hebrew-400-normal.ee3553a7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-vietnamese-400-normal.ecb2bf2b.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-ext-400-normal.68046e27.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/open-sans-latin-400-normal.55ee70a1.woff2) format("woff2"),url(/_next/static/media/open-sans-all-400-normal.f45bbf0e.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-ext-600-normal.54ca7aeb.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-cyrillic-600-normal.fb4e167c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-ext-600-normal.7e1ed1f7.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-greek-600-normal.1f5152c2.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-hebrew-600-normal.620af147.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-vietnamese-600-normal.a6824e10.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-ext-600-normal.5bdbb06a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/open-sans-latin-600-normal.07f9d4a5.woff2) format("woff2"),url(/_next/static/media/open-sans-all-600-normal.88155beb.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-ext-800-normal.07586f8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-cyrillic-800-normal.56f5e1ed.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-ext-800-normal.ee1cb7d6.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-greek-800-normal.203d191a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-hebrew-800-normal.a63b5b8a.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0590-05ff,U+200c-2010,U+20aa,U+25cc,U+fb1d-fb4f}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-vietnamese-800-normal.ca78a63c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-ext-800-normal.22bb2e3c.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_next/static/media/open-sans-latin-800-normal.70723044.woff2) format("woff2"),url(/_next/static/media/open-sans-all-800-normal.68ac9b0d.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-devanagari-400-normal.87c72f23.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-ext-400-normal.591327bf.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/poppins-latin-400-normal.916d3686.woff2) format("woff2"),url(/_next/static/media/poppins-all-400-normal.268c923b.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-devanagari-600-normal.3828f203.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0900-097f,U+1cd0-1cf6,U+1cf8-1cf9,U+200c-200d,U+20a8,U+20b9,U+25cc,U+a830-a839,U+a8e0-a8fb}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-ext-600-normal.10939fee.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/poppins-latin-600-normal.d8692086.woff2) format("woff2"),url(/_next/static/media/poppins-all-600-normal.0e22e091.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}:root{--content-padding:12px;--module-spacing:12px;--header-height:5.375rem;--footer-height:2.5rem;--content-height:calc(100vh - var(--header-height));--replacement-bar-height:46px}::-moz-selection{background-color:var(--theme-color-palette-12)}::selection{background-color:var(--theme-color-palette-12)}html{font-size:clamp(15px,1.35vw,16px)}body{font-family:var(--theme-text-body-font-family);line-height:1.5em;margin:0;background-color:var(--theme-color-background-main)}body div,body h1,body h2,body h3,body h4,body h5,body h6,body p{padding:0}body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--theme-text-display-font-family);color:unset}body h1{font-size:2em}body h2{font-size:1.5em;font-weight:400}body h3{font-family:var(--theme-text-body-font-family);font-size:1.25em;font-weight:500}body h4{font-size:1em}body ul{list-style:square}body ol,body ul{margin:.7em 0 0;padding:0 1em}body ol ol,body ol ul,body ul ol,body ul ul{margin:0}body ol li,body ul li{margin:.175em 0 0}body a{color:var(--theme-color-action);word-break:break-word}body a:hover{color:var(--theme-color-palette-12)}body b,body strong{font-weight:700}.emoji{height:30px;margin-left:5px;margin-right:5px}.ant-layout-header{line-height:unset;height:auto}.ant-btn[disabled],.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{background-color:var(--theme-color-components-secondary-button-background-disabled);color:var(--theme-color-components-secondary-button-text-disabled);border-color:var(--theme-color-components-secondary-button-border-disabled)}.ant-btn-default{color:currentColor;border-width:2px;border-color:transparent;border-radius:var(--theme-rounded-corners);background-color:rgba(0,0,0,.1)}.ant-btn-default:focus,.ant-btn-default:hover{color:currentColor;border-color:rgba(0,0,0,.55);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary{height:2rem;font-size:.85rem;font-weight:700;border-width:2px;border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-primary-button-background);color:var(--theme-color-components-primary-button-text);border-color:var(--theme-color-components-primary-button-background)}.ant-btn-primary:focus,.ant-btn-primary:hover{border-color:var(--theme-color-action-hover);color:var(--theme-color-action-hover);background-color:var(--theme-color-components-secondary-button-background)}.ant-btn-primary:focus{border-color:var(--theme-color-components-secondary-button-text)}.ant-btn-primary[ant-click-animating-without-extra-node]:after{animation:0s!important}.ant-btn-primary:hover{border-color:var(--theme-color-action-hover)}.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:var(--theme-color-action-hover);color:var(--theme-color-components-primary-button-text)}.ant-btn-primary:focus{border-color:var(--theme-color-components-primary-button-text)}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{background-color:var(--theme-color-components-primary-button-background-disabled);border-color:var(--theme-color-components-primary-button-border-disabled);color:var(--theme-color-components-primary-button-text-disabled)}.ant-btn-background-ghost{border:0;box-shadow:none!important}.ant-btn-background-ghost:focus,.ant-btn-background-ghost:hover{background-color:var(--theme-unknown)}.ant-dropdown-menu{border-radius:var(--theme-rounded-corners);background-color:var(--theme-color-components-menu-background)}.ant-dropdown-menu-item{color:var(--theme-color-components-menu-item-text)}.ant-dropdown-menu-item:hover{background-color:var(--theme-color-components-menu-item-hover-bg)}.ant-dropdown-menu-item:focus{background-color:var(--theme-color-components-menu-item-focus-bg)}.ant-modal-header{font-family:var(--theme-text-display-font-family)}.ant-modal-header,.ant-modal-title{color:var(--theme-color-components-modal-header-text)}.ant-modal-body{overflow:auto;border-radius:0 0 var(--theme-rounded-corners) var(--theme-rounded-corners)}.ant-modal,.ant-modal h1{color:var(--theme-color-components-text-on-light)}.ant-modal-content{box-shadow:3px 15px 15px -3px rgba(0,0,0,.15),0 4px 6px -2px rgba(0,0,0,.08)}.ant-input-affix-wrapper{padding:4px 5px}.ant-input,.ant-input-affix-wrapper{background-color:var(--theme-color-components-form-field-background)}.ant-input{color:var(--theme-color-components-form-field-text)}.ant-input::-moz-placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-input::placeholder{color:var(--theme-color-components-form-field-placeholder)}.ant-alert-error .ant-alert-icon,.ant-alert-error .ant-alert-message{color:var(--theme-color-palette-error)}.ant-tabs-tab{padding:var(--content-padding);background-color:transparent;border-radius:var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;font-weight:700}.ant-tabs-tab+.ant-tabs-tab{margin-left:var(--module-spacing)}.ant-tabs-tab.ant-tabs-tab-active{background-color:var(--theme-color-palette-4)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--theme-color-action)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn:hover{color:var(--theme-color-action-hover)}.ant-tabs,.ant-tabs .ant-tabs-content-holder{height:100%}.ant-tabs .ant-tabs-content{height:100%!important;overflow:auto}.ant-tabs .ant-tabs-content .ant-tabs-tabpane-active{height:100%}.ant-tabs-ink-bar{background-color:var(--theme-color-action)}.ant-tabs-nav:before{border-bottom-color:var(--theme-color-components-menu-item-focus-bg)!important}.ant-modal-close:hover{color:var(--theme-color-components-modal-header-text)}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected,.ant-table-thead th.ant-table-column-sort,td.ant-table-column-sort{background-color:unset}th{color:var(--theme-color-components-modal-header-text);font-family:var(--theme-text-display-font-family);font-weight:700!important}.vjs-owncast .video-js{color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-menu li{color:var(--theme-color-components-text-on-dark)}.vjs-owncast .vjs-big-play-button{z-index:10;color:var(--theme-color-action);font-size:8rem!important;border-color:transparent!important;border-radius:var(--theme-rounded-corners)!important;background-color:transparent!important;text-shadow:2px 3px 4px rgba(0,0,0,.373);-webkit-text-stroke:2px #fff;text-stroke:2px #fff}.vjs-owncast .vjs-big-play-button :hover{transition:all .2s ease-in-out;font-size:10rem;text-shadow:2px 5px 4px rgba(0,0,0,.576)}.vjs-owncast .vjs-loading-spinner{z-index:10;display:block;color:var(--theme-color-components-text-on-light)}.vjs-owncast .vjs-control-bar{background-color:var(--theme-color-background-main)!important}.vjs-owncast .vjs-control,.vjs-owncast .vjs-control-bar{color:var(--theme-color-components-text-on-light)}.vjs-airplay .vjs-icon-placeholder:before{content:url(/_next/static/media/airplay.1a413e9c.svg);width:50%!important;height:50%!important;top:15%!important;left:15%!important}.vjs-quality-selector .vjs-icon-placeholder{font-family:VideoJS,serif;font-weight:400;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:""}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:var(--theme-color-components-video-live-indicator)!important} +/*# sourceMappingURL=c2a7b96663668bc1.css.map*/
diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index f343decf5..8af8a795f 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1,4 +1,4 @@ -
This stream is offline. Check back soon!
+/*# sourceMappingURL=6037fa87da2bd61f.css.map*/
This stream is offline. Check back soon!
diff --git a/static/web/index.html b/static/web/index.html index b9a0bac3d..7e5782aee 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -5,7 +5,7 @@ body { overflow: hidden; } -{{.Name}}{{.Name}}
+